From 138e2f81cb0a37b723e1f8d68d894ebda98bc1dd Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Thu, 3 Sep 2015 17:30:21 +0200 Subject: First version of the EEF 2.0 metamodel Change-Id: Ic1bfaf0efdee386815a81966368693ce8ee61add Signed-off-by: Mélanie Bats --- plugins/org.eclipse.eef.documentation/.classpath | 7 + plugins/org.eclipse.eef.documentation/.project | 28 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 10 + .../org.eclipse.eef.documentation/build.properties | 4 + .../sketches/US-1.screen | 10 + .../sketches/US-10.screen | 45 + .../sketches/US-11.screen | 54 + .../sketches/US-12.screen | 23 + .../sketches/US-13.screen | 26 + .../sketches/US-14.screen | 28 + .../sketches/US-15.screen | 47 + .../sketches/US-16.screen | 23 + .../sketches/US-2.screen | 14 + .../sketches/US-3.screen | 17 + .../sketches/US-4.screen | 20 + .../sketches/US-5.screen | 26 + .../sketches/US-6.screen | 29 + .../sketches/US-7.screen | 32 + .../sketches/US-8.screen | 35 + .../sketches/US-9.screen | 38 + .../org/eclipse/eef/documentation/Activator.java | 50 + .../userstories/US-1.xmi | 11 + .../userstories/US-10.xmi | 66 + .../userstories/US-11.xmi | 75 + .../userstories/US-12.xmi | 29 + .../userstories/US-13.xmi | 32 + .../userstories/US-14.xmi | 37 + .../userstories/US-15.xmi | 42 + .../userstories/US-16.xmi | 68 + .../userstories/US-2.xmi | 14 + .../userstories/US-3.xmi | 18 + .../userstories/US-4.xmi | 22 + .../userstories/US-5.xmi | 33 + .../userstories/US-6.xmi | 43 + .../userstories/US-7.xmi | 49 + .../userstories/US-8.xmi | 55 + .../userstories/US-9.xmi | 58 + plugins/org.eclipse.eef.edit/.classpath | 7 + plugins/org.eclipse.eef.edit/.project | 28 + plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF | 17 + plugins/org.eclipse.eef.edit/build.properties | 15 + .../EEFAdapterFactoryTableStructureDescription.gif | Bin 0 -> 129 bytes .../EEFAdapterFactoryTreeStructureDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFCellWidgetDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFCheckboxDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFColumnDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFContainerDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFGroupDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFImageDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFImagePickerDescription.gif | Bin 0 -> 129 bytes .../EEFInterpretedTableStructureDescription.gif | Bin 0 -> 129 bytes .../EEFInterpretedTreeStructureDescription.gif | Bin 0 -> 129 bytes .../full/obj16/EEFJavaExtensionDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFLabelDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFLineDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFLinkDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFPageDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFRadioDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFSelectDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFTableDescription.gif | Bin 0 -> 129 bytes .../full/obj16/EEFTableStructureDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFTextDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFTreeDescription.gif | Bin 0 -> 129 bytes .../full/obj16/EEFTreeDialogSelectDescription.gif | Bin 0 -> 129 bytes .../full/obj16/EEFTreeStructureDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFViewDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFWidgetDescription.gif | Bin 0 -> 129 bytes plugins/org.eclipse.eef.edit/plugin.properties | 134 + plugins/org.eclipse.eef.edit/plugin.xml | 28 + .../provider/ContextableElementItemProvider.java | 192 + ...ctoryTableStructureDescriptionItemProvider.java | 141 + ...actoryTreeStructureDescriptionItemProvider.java | 142 + .../EEFCellWidgetDescriptionItemProvider.java | 135 + .../EEFCheckboxDescriptionItemProvider.java | 179 + .../provider/EEFColumnDescriptionItemProvider.java | 211 + .../EEFContainerDescriptionItemProvider.java | 290 + .../provider/EEFGroupDescriptionItemProvider.java | 254 + .../provider/EEFImageDescriptionItemProvider.java | 161 + .../EEFImagePickerDescriptionItemProvider.java | 198 + ...retedTableStructureDescriptionItemProvider.java | 164 + ...pretedTreeStructureDescriptionItemProvider.java | 198 + .../EEFJavaExtensionDescriptionItemProvider.java | 160 + .../provider/EEFLabelDescriptionItemProvider.java | 161 + .../provider/EEFLineDescriptionItemProvider.java | 235 + .../provider/EEFLinkDescriptionItemProvider.java | 161 + .../provider/EEFPageDescriptionItemProvider.java | 247 + .../provider/EEFRadioDescriptionItemProvider.java | 215 + .../provider/EEFSelectDescriptionItemProvider.java | 233 + .../provider/EEFTableDescriptionItemProvider.java | 195 + .../EEFTableStructureDescriptionItemProvider.java | 176 + .../provider/EEFTextDescriptionItemProvider.java | 197 + .../provider/EEFTreeDescriptionItemProvider.java | 195 + ...EEFTreeDialogSelectDescriptionItemProvider.java | 216 + .../EEFTreeStructureDescriptionItemProvider.java | 178 + .../provider/EEFViewDescriptionItemProvider.java | 278 + .../provider/EEFWidgetDescriptionItemProvider.java | 198 + .../eclipse/eef/eef/provider/EefEditPlugin.java | 95 + .../provider/EefItemProviderAdapterFactory.java | 742 + plugins/org.eclipse.eef/.classpath | 7 + plugins/org.eclipse.eef/.project | 29 + .../.settings/org.eclipse.jdt.core.prefs | 297 + .../.settings/org.eclipse.jdt.ui.prefs | 68 + plugins/org.eclipse.eef/META-INF/MANIFEST.MF | 16 + plugins/org.eclipse.eef/build.properties | 15 + plugins/org.eclipse.eef/model/EEFExpression.xmi | 969 ++ plugins/org.eclipse.eef/model/eef.aird | 16988 +++++++++++++++++++ plugins/org.eclipse.eef/model/eef.ecore | 602 + plugins/org.eclipse.eef/model/eef.genmodel | 151 + plugins/org.eclipse.eef/plugin.properties | 9 + plugins/org.eclipse.eef/plugin.xml | 23 + .../org/eclipse/eef/eef/ContextableElement.java | 69 + ...EEFAdapterFactoryTableStructureDescription.java | 57 + .../EEFAdapterFactoryTreeStructureDescription.java | 57 + .../eclipse/eef/eef/EEFCellWidgetDescription.java | 26 + .../eclipse/eef/eef/EEFCheckboxDescription.java | 83 + .../org/eclipse/eef/eef/EEFColumnDescription.java | 138 + .../eclipse/eef/eef/EEFContainerDescription.java | 170 + .../org/eclipse/eef/eef/EEFGroupDescription.java | 161 + .../org/eclipse/eef/eef/EEFImageDescription.java | 57 + .../eclipse/eef/eef/EEFImagePickerDescription.java | 109 + .../EEFInterpretedTableStructureDescription.java | 75 + .../EEFInterpretedTreeStructureDescription.java | 135 + .../eef/eef/EEFJavaExtensionDescription.java | 59 + .../org/eclipse/eef/eef/EEFLabelDescription.java | 57 + .../org/eclipse/eef/eef/EEFLineDescription.java | 129 + .../org/eclipse/eef/eef/EEFLinkDescription.java | 57 + .../org/eclipse/eef/eef/EEFPageDescription.java | 180 + .../org/eclipse/eef/eef/EEFRadioDescription.java | 135 + .../org/eclipse/eef/eef/EEFSelectDescription.java | 161 + .../org/eclipse/eef/eef/EEFTableDescription.java | 109 + .../eef/eef/EEFTableStructureDescription.java | 85 + .../org/eclipse/eef/eef/EEFTextDescription.java | 110 + .../org/eclipse/eef/eef/EEFTreeDescription.java | 109 + .../eef/eef/EEFTreeDialogSelectDescription.java | 136 + .../eef/eef/EEFTreeStructureDescription.java | 85 + .../org/eclipse/eef/eef/EEFViewDescription.java | 197 + .../org/eclipse/eef/eef/EEFWidgetDescription.java | 109 + .../src-gen/org/eclipse/eef/eef/EefFactory.java | 237 + .../src-gen/org/eclipse/eef/eef/EefPackage.java | 4239 +++++ .../eef/eef/impl/ContextableElementImpl.java | 199 + ...dapterFactoryTableStructureDescriptionImpl.java | 175 + ...AdapterFactoryTreeStructureDescriptionImpl.java | 175 + .../eef/eef/impl/EEFCellWidgetDescriptionImpl.java | 44 + .../eef/eef/impl/EEFCheckboxDescriptionImpl.java | 231 + .../eef/eef/impl/EEFColumnDescriptionImpl.java | 357 + .../eef/eef/impl/EEFContainerDescriptionImpl.java | 445 + .../eef/eef/impl/EEFGroupDescriptionImpl.java | 465 + .../eef/eef/impl/EEFImageDescriptionImpl.java | 173 + .../eef/impl/EEFImagePickerDescriptionImpl.java | 290 + ...EFInterpretedTableStructureDescriptionImpl.java | 271 + ...EEFInterpretedTreeStructureDescriptionImpl.java | 352 + .../eef/impl/EEFJavaExtensionDescriptionImpl.java | 175 + .../eef/eef/impl/EEFLabelDescriptionImpl.java | 173 + .../eef/eef/impl/EEFLineDescriptionImpl.java | 350 + .../eef/eef/impl/EEFLinkDescriptionImpl.java | 173 + .../eef/eef/impl/EEFPageDescriptionImpl.java | 456 + .../eef/eef/impl/EEFRadioDescriptionImpl.java | 349 + .../eef/eef/impl/EEFSelectDescriptionImpl.java | 406 + .../eef/eef/impl/EEFTableDescriptionImpl.java | 298 + .../eef/impl/EEFTableStructureDescriptionImpl.java | 231 + .../eef/eef/impl/EEFTextDescriptionImpl.java | 288 + .../eef/eef/impl/EEFTreeDescriptionImpl.java | 298 + .../impl/EEFTreeDialogSelectDescriptionImpl.java | 357 + .../eef/impl/EEFTreeStructureDescriptionImpl.java | 231 + .../eef/eef/impl/EEFViewDescriptionImpl.java | 523 + .../eef/eef/impl/EEFWidgetDescriptionImpl.java | 289 + .../org/eclipse/eef/eef/impl/EefFactoryImpl.java | 447 + .../org/eclipse/eef/eef/impl/EefPackageImpl.java | 2010 +++ .../eclipse/eef/eef/util/EefAdapterFactory.java | 620 + .../org/eclipse/eef/eef/util/EefSwitch.java | 772 + plugins/org.eclipse.sirius.context.edit/.classpath | 7 + plugins/org.eclipse.sirius.context.edit/.project | 28 + .../META-INF/MANIFEST.MF | 15 + .../build.properties | 14 + .../icons/full/obj16/Context.gif | Bin 0 -> 129 bytes .../icons/full/obj16/ContextVariable.gif | Bin 0 -> 129 bytes .../plugin.properties | 29 + plugins/org.eclipse.sirius.context.edit/plugin.xml | 27 + .../context/provider/ContextEditPlugin.java | 92 + .../context/provider/ContextItemProvider.java | 127 + .../ContextItemProviderAdapterFactory.java | 237 + .../provider/ContextVariableItemProvider.java | 193 + plugins/org.eclipse.sirius.context/.classpath | 8 + plugins/org.eclipse.sirius.context/.project | 29 + .../META-INF/MANIFEST.MF | 15 + .../org.eclipse.sirius.context/build.properties | 14 + .../org.eclipse.sirius.context/model/context.aird | 204 + .../org.eclipse.sirius.context/model/context.ecore | 30 + .../model/context.genmodel | 20 + .../org.eclipse.sirius.context/plugin.properties | 8 + plugins/org.eclipse.sirius.context/plugin.xml | 22 + .../eclipse/sirius/context/context/Context.java | 27 + .../sirius/context/context/ContextFactory.java | 56 + .../sirius/context/context/ContextPackage.java | 269 + .../sirius/context/context/ContextVariable.java | 110 + .../context/context/impl/ContextFactoryImpl.java | 116 + .../sirius/context/context/impl/ContextImpl.java | 44 + .../context/context/impl/ContextPackageImpl.java | 242 + .../context/context/impl/ContextVariableImpl.java | 297 + .../context/util/ContextAdapterFactory.java | 143 + .../sirius/context/context/util/ContextSwitch.java | 139 + .../.classpath | 7 + .../org.eclipse.sirius.expression.design/.project | 35 + .../META-INF/MANIFEST.MF | 13 + .../build.properties | 7 + .../description/expression.odesign | 192 + .../plugin.xml | 10 + .../sirius/expression/design/Activator.java | 66 + .../org.eclipse.sirius.expression.edit/.classpath | 7 + .../org.eclipse.sirius.expression.edit/.project | 28 + .../META-INF/MANIFEST.MF | 15 + .../build.properties | 14 + .../icons/full/obj16/ExpressionDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/SiriusExpressionClass.gif | Bin 0 -> 129 bytes .../icons/full/obj16/SiriusExpressionPackage.gif | Bin 0 -> 129 bytes .../icons/full/obj16/Variable.gif | Bin 0 -> 129 bytes .../plugin.properties | 42 + .../org.eclipse.sirius.expression.edit/plugin.xml | 27 + .../ExpressionDescriptionItemProvider.java | 311 + .../expression/provider/ExpressionEditPlugin.java | 94 + .../ExpressionItemProviderAdapterFactory.java | 276 + .../SiriusExpressionClassItemProvider.java | 221 + .../SiriusExpressionPackageItemProvider.java | 207 + .../expression/provider/VariableItemProvider.java | 197 + plugins/org.eclipse.sirius.expression/.classpath | 7 + plugins/org.eclipse.sirius.expression/.project | 29 + .../META-INF/MANIFEST.MF | 16 + .../org.eclipse.sirius.expression/build.properties | 14 + .../model/expression.aird | 928 + .../model/expression.ecore | 116 + .../model/expression.genmodel | 39 + .../plugin.properties | 8 + plugins/org.eclipse.sirius.expression/plugin.xml | 22 + .../expression/ExpressionDescription.java | 200 + .../expression/expression/ExpressionFactory.java | 74 + .../expression/expression/ExpressionPackage.java | 768 + .../expression/SiriusExpressionClass.java | 92 + .../expression/SiriusExpressionPackage.java | 77 + .../sirius/expression/expression/Variable.java | 84 + .../expression/impl/ExpressionDescriptionImpl.java | 475 + .../expression/impl/ExpressionFactoryImpl.java | 226 + .../expression/impl/ExpressionPackageImpl.java | 448 + .../expression/impl/SiriusExpressionClassImpl.java | 264 + .../impl/SiriusExpressionPackageImpl.java | 220 + .../expression/expression/impl/VariableImpl.java | 222 + .../expression/util/ExpressionAdapterFactory.java | 179 + .../expression/util/ExpressionSwitch.java | 178 + 248 files changed, 54746 insertions(+) create mode 100644 plugins/org.eclipse.eef.documentation/.classpath create mode 100644 plugins/org.eclipse.eef.documentation/.project create mode 100644 plugins/org.eclipse.eef.documentation/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.eef.documentation/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.eef.documentation/build.properties create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-1.screen create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-10.screen create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-11.screen create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-12.screen create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-13.screen create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-14.screen create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-15.screen create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-16.screen create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-2.screen create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-3.screen create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-4.screen create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-5.screen create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-6.screen create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-7.screen create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-8.screen create mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-9.screen create mode 100644 plugins/org.eclipse.eef.documentation/src/org/eclipse/eef/documentation/Activator.java create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-1.xmi create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-10.xmi create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-11.xmi create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-12.xmi create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-13.xmi create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-14.xmi create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-15.xmi create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-16.xmi create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-2.xmi create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-3.xmi create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-4.xmi create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-5.xmi create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-6.xmi create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-7.xmi create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-8.xmi create mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-9.xmi create mode 100644 plugins/org.eclipse.eef.edit/.classpath create mode 100644 plugins/org.eclipse.eef.edit/.project create mode 100644 plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.eef.edit/build.properties create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTableStructureDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTreeStructureDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCellWidgetDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFContainerDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImageDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImagePickerDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTableStructureDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTreeStructureDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFJavaExtensionDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFPageDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStructureDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDialogSelectDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStructureDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFViewDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFWidgetDescription.gif create mode 100644 plugins/org.eclipse.eef.edit/plugin.properties create mode 100644 plugins/org.eclipse.eef.edit/plugin.xml create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/ContextableElementItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCellWidgetDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCheckboxDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFColumnDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFContainerDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFGroupDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImageDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImagePickerDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFJavaExtensionDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLabelDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLineDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLinkDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFPageDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFRadioDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFSelectDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableStructureDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTextDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeStructureDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFViewDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFWidgetDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefEditPlugin.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefItemProviderAdapterFactory.java create mode 100644 plugins/org.eclipse.eef/.classpath create mode 100644 plugins/org.eclipse.eef/.project create mode 100644 plugins/org.eclipse.eef/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.eef/.settings/org.eclipse.jdt.ui.prefs create mode 100644 plugins/org.eclipse.eef/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.eef/build.properties create mode 100644 plugins/org.eclipse.eef/model/EEFExpression.xmi create mode 100644 plugins/org.eclipse.eef/model/eef.aird create mode 100644 plugins/org.eclipse.eef/model/eef.ecore create mode 100644 plugins/org.eclipse.eef/model/eef.genmodel create mode 100644 plugins/org.eclipse.eef/plugin.properties create mode 100644 plugins/org.eclipse.eef/plugin.xml create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/ContextableElement.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTableStructureDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTreeStructureDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCellWidgetDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCheckboxDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFColumnDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFContainerDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFGroupDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImageDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImagePickerDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTableStructureDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTreeStructureDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFJavaExtensionDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLabelDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLineDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLinkDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFPageDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFRadioDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFSelectDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableStructureDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTextDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDialogSelectDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeStructureDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFViewDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFWidgetDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefFactory.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefPackage.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/ContextableElementImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCellWidgetDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCheckboxDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFColumnDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFContainerDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFGroupDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImageDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImagePickerDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFJavaExtensionDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLabelDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLineDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLinkDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFPageDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFRadioDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFSelectDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableStructureDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTextDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDialogSelectDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeStructureDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFViewDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFWidgetDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefFactoryImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefPackageImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefAdapterFactory.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefSwitch.java create mode 100644 plugins/org.eclipse.sirius.context.edit/.classpath create mode 100644 plugins/org.eclipse.sirius.context.edit/.project create mode 100644 plugins/org.eclipse.sirius.context.edit/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.sirius.context.edit/build.properties create mode 100644 plugins/org.eclipse.sirius.context.edit/icons/full/obj16/Context.gif create mode 100644 plugins/org.eclipse.sirius.context.edit/icons/full/obj16/ContextVariable.gif create mode 100644 plugins/org.eclipse.sirius.context.edit/plugin.properties create mode 100644 plugins/org.eclipse.sirius.context.edit/plugin.xml create mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextEditPlugin.java create mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextItemProvider.java create mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextItemProviderAdapterFactory.java create mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextVariableItemProvider.java create mode 100644 plugins/org.eclipse.sirius.context/.classpath create mode 100644 plugins/org.eclipse.sirius.context/.project create mode 100644 plugins/org.eclipse.sirius.context/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.sirius.context/build.properties create mode 100644 plugins/org.eclipse.sirius.context/model/context.aird create mode 100644 plugins/org.eclipse.sirius.context/model/context.ecore create mode 100644 plugins/org.eclipse.sirius.context/model/context.genmodel create mode 100644 plugins/org.eclipse.sirius.context/plugin.properties create mode 100644 plugins/org.eclipse.sirius.context/plugin.xml create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/Context.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextFactory.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextPackage.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextVariable.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextFactoryImpl.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextImpl.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextPackageImpl.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextVariableImpl.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextAdapterFactory.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextSwitch.java create mode 100644 plugins/org.eclipse.sirius.expression.design/.classpath create mode 100644 plugins/org.eclipse.sirius.expression.design/.project create mode 100644 plugins/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.sirius.expression.design/build.properties create mode 100644 plugins/org.eclipse.sirius.expression.design/description/expression.odesign create mode 100644 plugins/org.eclipse.sirius.expression.design/plugin.xml create mode 100644 plugins/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/.classpath create mode 100644 plugins/org.eclipse.sirius.expression.edit/.project create mode 100644 plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.sirius.expression.edit/build.properties create mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/ExpressionDescription.gif create mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionClass.gif create mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionPackage.gif create mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/Variable.gif create mode 100644 plugins/org.eclipse.sirius.expression.edit/plugin.properties create mode 100644 plugins/org.eclipse.sirius.expression.edit/plugin.xml create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionEditPlugin.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionItemProviderAdapterFactory.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionClassItemProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionPackageItemProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/VariableItemProvider.java create mode 100644 plugins/org.eclipse.sirius.expression/.classpath create mode 100644 plugins/org.eclipse.sirius.expression/.project create mode 100644 plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.sirius.expression/build.properties create mode 100644 plugins/org.eclipse.sirius.expression/model/expression.aird create mode 100644 plugins/org.eclipse.sirius.expression/model/expression.ecore create mode 100644 plugins/org.eclipse.sirius.expression/model/expression.genmodel create mode 100644 plugins/org.eclipse.sirius.expression/plugin.properties create mode 100644 plugins/org.eclipse.sirius.expression/plugin.xml create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionDescription.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionFactory.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionPackage.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionClass.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionPackage.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/Variable.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionDescriptionImpl.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionFactoryImpl.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionPackageImpl.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionClassImpl.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionPackageImpl.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/VariableImpl.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionAdapterFactory.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionSwitch.java diff --git a/plugins/org.eclipse.eef.documentation/.classpath b/plugins/org.eclipse.eef.documentation/.classpath new file mode 100644 index 000000000..098194ca4 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/.project b/plugins/org.eclipse.eef.documentation/.project new file mode 100644 index 000000000..016e70aed --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/.project @@ -0,0 +1,28 @@ + + + org.eclipse.eef.documentation + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/plugins/org.eclipse.eef.documentation/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.eef.documentation/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..f42de363a --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/plugins/org.eclipse.eef.documentation/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.documentation/META-INF/MANIFEST.MF new file mode 100644 index 000000000..3f2ee55ed --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/META-INF/MANIFEST.MF @@ -0,0 +1,10 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: EEF Documentation +Bundle-SymbolicName: org.eclipse.eef.documentation +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: org.eclipse.eef.documentation.Activator +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.eef.documentation/build.properties b/plugins/org.eclipse.eef.documentation/build.properties new file mode 100644 index 000000000..34d2e4d2d --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/build.properties @@ -0,0 +1,4 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-1.screen b/plugins/org.eclipse.eef.documentation/sketches/US-1.screen new file mode 100644 index 000000000..51f3a0042 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-1.screen @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-10.screen b/plugins/org.eclipse.eef.documentation/sketches/US-10.screen new file mode 100644 index 000000000..9a4f409f5 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-10.screen @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-11.screen b/plugins/org.eclipse.eef.documentation/sketches/US-11.screen new file mode 100644 index 000000000..3a7090013 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-11.screen @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-12.screen b/plugins/org.eclipse.eef.documentation/sketches/US-12.screen new file mode 100644 index 000000000..e96ac778a --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-12.screen @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-13.screen b/plugins/org.eclipse.eef.documentation/sketches/US-13.screen new file mode 100644 index 000000000..86037936b --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-13.screen @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-14.screen b/plugins/org.eclipse.eef.documentation/sketches/US-14.screen new file mode 100644 index 000000000..a72646020 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-14.screen @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-15.screen b/plugins/org.eclipse.eef.documentation/sketches/US-15.screen new file mode 100644 index 000000000..3123e582f --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-15.screen @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-16.screen b/plugins/org.eclipse.eef.documentation/sketches/US-16.screen new file mode 100644 index 000000000..dd8a87bc1 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-16.screen @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-2.screen b/plugins/org.eclipse.eef.documentation/sketches/US-2.screen new file mode 100644 index 000000000..5f85ffe06 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-2.screen @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-3.screen b/plugins/org.eclipse.eef.documentation/sketches/US-3.screen new file mode 100644 index 000000000..55300e895 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-3.screen @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-4.screen b/plugins/org.eclipse.eef.documentation/sketches/US-4.screen new file mode 100644 index 000000000..88a766d3f --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-4.screen @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-5.screen b/plugins/org.eclipse.eef.documentation/sketches/US-5.screen new file mode 100644 index 000000000..2fb6e12db --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-5.screen @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-6.screen b/plugins/org.eclipse.eef.documentation/sketches/US-6.screen new file mode 100644 index 000000000..600859c81 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-6.screen @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-7.screen b/plugins/org.eclipse.eef.documentation/sketches/US-7.screen new file mode 100644 index 000000000..98f3e184d --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-7.screen @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-8.screen b/plugins/org.eclipse.eef.documentation/sketches/US-8.screen new file mode 100644 index 000000000..ad176e324 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-8.screen @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-9.screen b/plugins/org.eclipse.eef.documentation/sketches/US-9.screen new file mode 100644 index 000000000..f8b0d43d5 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/sketches/US-9.screen @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/src/org/eclipse/eef/documentation/Activator.java b/plugins/org.eclipse.eef.documentation/src/org/eclipse/eef/documentation/Activator.java new file mode 100644 index 000000000..fdda1249d --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/src/org/eclipse/eef/documentation/Activator.java @@ -0,0 +1,50 @@ +package org.eclipse.eef.documentation; + +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends AbstractUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID = "org.eclipse.eef.documentation"; //$NON-NLS-1$ + + // The shared instance + private static Activator plugin; + + /** + * The constructor + */ + public Activator() { + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-1.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-1.xmi new file mode 100644 index 000000000..efa29d111 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-1.xmi @@ -0,0 +1,11 @@ + + + http://www.eclipse.org/emf/2002/Ecore + diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-10.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-10.xmi new file mode 100644 index 000000000..8ddfe1d2f --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-10.xmi @@ -0,0 +1,66 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-11.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-11.xmi new file mode 100644 index 000000000..4b1242e04 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-11.xmi @@ -0,0 +1,75 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-12.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-12.xmi new file mode 100644 index 000000000..8e7b20761 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-12.xmi @@ -0,0 +1,29 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-13.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-13.xmi new file mode 100644 index 000000000..7e307d248 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-13.xmi @@ -0,0 +1,32 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-14.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-14.xmi new file mode 100644 index 000000000..bdaf23dcd --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-14.xmi @@ -0,0 +1,37 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-15.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-15.xmi new file mode 100644 index 000000000..f70acf7c6 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-15.xmi @@ -0,0 +1,42 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-16.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-16.xmi new file mode 100644 index 000000000..85a9f14c1 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-16.xmi @@ -0,0 +1,68 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-2.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-2.xmi new file mode 100644 index 000000000..d4ba96239 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-2.xmi @@ -0,0 +1,14 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-3.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-3.xmi new file mode 100644 index 000000000..b7857354a --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-3.xmi @@ -0,0 +1,18 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-4.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-4.xmi new file mode 100644 index 000000000..56f6d07ae --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-4.xmi @@ -0,0 +1,22 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-5.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-5.xmi new file mode 100644 index 000000000..9fbd0ec85 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-5.xmi @@ -0,0 +1,33 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-6.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-6.xmi new file mode 100644 index 000000000..3b8359959 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-6.xmi @@ -0,0 +1,43 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-7.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-7.xmi new file mode 100644 index 000000000..c8143fcee --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-7.xmi @@ -0,0 +1,49 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-8.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-8.xmi new file mode 100644 index 000000000..a3344fe3b --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-8.xmi @@ -0,0 +1,55 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-9.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-9.xmi new file mode 100644 index 000000000..b42ebd500 --- /dev/null +++ b/plugins/org.eclipse.eef.documentation/userstories/US-9.xmi @@ -0,0 +1,58 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.edit/.classpath b/plugins/org.eclipse.eef.edit/.classpath new file mode 100644 index 000000000..75556083f --- /dev/null +++ b/plugins/org.eclipse.eef.edit/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/org.eclipse.eef.edit/.project b/plugins/org.eclipse.eef.edit/.project new file mode 100644 index 000000000..42f0b4306 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/.project @@ -0,0 +1,28 @@ + + + org.eclipse.eef.edit + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF new file mode 100644 index 000000000..858c98db5 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF @@ -0,0 +1,17 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.eef.edit;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-ClassPath: . +Bundle-Activator: org.eclipse.eef.eef.provider.EefEditPlugin$Implementation +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Export-Package: org.eclipse.eef.eef.provider +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.eef;visibility:=reexport, + org.eclipse.emf.edit;visibility:=reexport, + org.eclipse.sirius.context;visibility:=reexport, + org.eclipse.sirius.context.edit;visibility:=reexport +Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.eef.edit/build.properties b/plugins/org.eclipse.eef.edit/build.properties new file mode 100644 index 000000000..520629220 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/build.properties @@ -0,0 +1,15 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +bin.includes = .,\ + icons/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties +jars.compile.order = . +source.. = src-gen/ +output.. = bin/ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTableStructureDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTableStructureDescription.gif new file mode 100644 index 000000000..134551bff Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTableStructureDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTreeStructureDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTreeStructureDescription.gif new file mode 100644 index 000000000..c414fe9f7 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTreeStructureDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCellWidgetDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCellWidgetDescription.gif new file mode 100644 index 000000000..106881e5d Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCellWidgetDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxDescription.gif new file mode 100644 index 000000000..136e3b272 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnDescription.gif new file mode 100644 index 000000000..b3643da04 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFContainerDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFContainerDescription.gif new file mode 100644 index 000000000..5a9bc7514 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFContainerDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupDescription.gif new file mode 100644 index 000000000..9250fecbf Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImageDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImageDescription.gif new file mode 100644 index 000000000..8a5c70cbd Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImageDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImagePickerDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImagePickerDescription.gif new file mode 100644 index 000000000..106881e5d Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImagePickerDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTableStructureDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTableStructureDescription.gif new file mode 100644 index 000000000..c8d381f0b Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTableStructureDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTreeStructureDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTreeStructureDescription.gif new file mode 100644 index 000000000..90d10f947 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTreeStructureDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFJavaExtensionDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFJavaExtensionDescription.gif new file mode 100644 index 000000000..739ebbfa6 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFJavaExtensionDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelDescription.gif new file mode 100644 index 000000000..98b351f1c Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineDescription.gif new file mode 100644 index 000000000..591559182 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkDescription.gif new file mode 100644 index 000000000..1e5345fb3 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFPageDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFPageDescription.gif new file mode 100644 index 000000000..afb82ea48 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFPageDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioDescription.gif new file mode 100644 index 000000000..a3908bcf7 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectDescription.gif new file mode 100644 index 000000000..134551bff Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableDescription.gif new file mode 100644 index 000000000..94c953e01 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStructureDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStructureDescription.gif new file mode 100644 index 000000000..c4a8af418 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStructureDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextDescription.gif new file mode 100644 index 000000000..7b7c428c7 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDescription.gif new file mode 100644 index 000000000..badaab066 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDialogSelectDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDialogSelectDescription.gif new file mode 100644 index 000000000..904159880 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDialogSelectDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStructureDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStructureDescription.gif new file mode 100644 index 000000000..420eee177 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStructureDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFViewDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFViewDescription.gif new file mode 100644 index 000000000..35ef84e20 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFViewDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFWidgetDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFWidgetDescription.gif new file mode 100644 index 000000000..c8d381f0b Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFWidgetDescription.gif differ diff --git a/plugins/org.eclipse.eef.edit/plugin.properties b/plugins/org.eclipse.eef.edit/plugin.properties new file mode 100644 index 000000000..ed2c58a0f --- /dev/null +++ b/plugins/org.eclipse.eef.edit/plugin.properties @@ -0,0 +1,134 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +pluginName = Eef Edit Support +providerName = www.example.org + +_UI_CreateChild_text = {0} +_UI_CreateChild_text2 = {1} {0} +_UI_CreateChild_text3 = {1} +_UI_CreateChild_tooltip = Create New {0} Under {1} Feature +_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. +_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. + +_UI_PropertyDescriptor_description = The {0} of the {1} + +_UI_EEFViewDescription_type = EEF View Description +_UI_EEFPageDescription_type = EEF Page Description +_UI_EEFGroupDescription_type = EEF Group Description +_UI_EEFContainerDescription_type = EEF Container Description +_UI_EEFWidgetDescription_type = EEF Widget Description +_UI_EEFJavaExtensionDescription_type = EEF Java Extension Description +_UI_EEFTreeStructureDescription_type = EEF Tree Structure Description +_UI_EEFInterpretedTableStructureDescription_type = EEF Interpreted Table Structure Description +_UI_EEFCellWidgetDescription_type = EEF Cell Widget Description +_UI_EEFAdapterFactoryTreeStructureDescription_type = EEF Adapter Factory Tree Structure Description +_UI_EEFInterpretedTreeStructureDescription_type = EEF Interpreted Tree Structure Description +_UI_EEFTextDescription_type = EEF Text Description +_UI_EEFCheckboxDescription_type = EEF Checkbox Description +_UI_EEFSelectDescription_type = EEF Select Description +_UI_EEFLabelDescription_type = EEF Label Description +_UI_EEFRadioDescription_type = EEF Radio Description +_UI_EEFTreeDialogSelectDescription_type = EEF Tree Dialog Select Description +_UI_EEFLinkDescription_type = EEF Link Description +_UI_EEFImageDescription_type = EEF Image Description +_UI_EEFTreeDescription_type = EEF Tree Description +_UI_EEFImagePickerDescription_type = EEF Image Picker Description +_UI_EEFTableDescription_type = EEF Table Description +_UI_EEFColumnDescription_type = EEF Column Description +_UI_EEFLineDescription_type = EEF Line Description +_UI_EEFTableStructureDescription_type = EEF Table Structure Description +_UI_EEFAdapterFactoryTableStructureDescription_type = EEF Adapter Factory Table Structure Description +_UI_ContextableElement_type = Contextable Element +_UI_Unknown_type = Object + +_UI_Unknown_datatype= Value + +_UI_EEFViewDescription_identifier_feature = Identifier +_UI_EEFViewDescription_labelExpression_feature = Label Expression +_UI_EEFViewDescription_ePackageNsUris_feature = EPackage Ns Uris +_UI_EEFViewDescription_groups_feature = Groups +_UI_EEFViewDescription_pages_feature = Pages +_UI_EEFViewDescription_javaExtensions_feature = Java Extensions +_UI_EEFViewDescription_importedViews_feature = Imported Views +_UI_EEFViewDescription_treeStructures_feature = Tree Structures +_UI_EEFViewDescription_tableStructures_feature = Table Structures +_UI_EEFPageDescription_identifier_feature = Identifier +_UI_EEFPageDescription_labelExpression_feature = Label Expression +_UI_EEFPageDescription_domainClass_feature = Domain Class +_UI_EEFPageDescription_semanticCandidateExpression_feature = Semantic Candidate Expression +_UI_EEFPageDescription_groups_feature = Groups +_UI_EEFPageDescription_extendedPage_feature = Extended Page +_UI_EEFGroupDescription_identifier_feature = Identifier +_UI_EEFGroupDescription_labelExpression_feature = Label Expression +_UI_EEFGroupDescription_domainClass_feature = Domain Class +_UI_EEFGroupDescription_semanticCandidatesExpression_feature = Semantic Candidates Expression +_UI_EEFGroupDescription_container_feature = Container +_UI_EEFContainerDescription_identifier_feature = Identifier +_UI_EEFContainerDescription_semanticCandidatesExpression_feature = Semantic Candidates Expression +_UI_EEFContainerDescription_domainClass_feature = Domain Class +_UI_EEFContainerDescription_layoutColumnCount_feature = Layout Column Count +_UI_EEFContainerDescription_containers_feature = Containers +_UI_EEFContainerDescription_widgets_feature = Widgets +_UI_EEFWidgetDescription_identifier_feature = Identifier +_UI_EEFWidgetDescription_labelExpression_feature = Label Expression +_UI_EEFWidgetDescription_featureCandidatesExpression_feature = Feature Candidates Expression +_UI_EEFJavaExtensionDescription_qualifiedName_feature = Qualified Name +_UI_EEFTreeStructureDescription_identifier_feature = Identifier +_UI_EEFTreeStructureDescription_multiple_feature = Multiple +_UI_EEFInterpretedTableStructureDescription_columns_feature = Columns +_UI_EEFInterpretedTableStructureDescription_line_feature = Line +_UI_EEFAdapterFactoryTreeStructureDescription_adapterFactoryProvider_feature = Adapter Factory Provider +_UI_EEFInterpretedTreeStructureDescription_rootsExpression_feature = Roots Expression +_UI_EEFInterpretedTreeStructureDescription_childrenExpression_feature = Children Expression +_UI_EEFInterpretedTreeStructureDescription_selectablePredicateExpression_feature = Selectable Predicate Expression +_UI_EEFInterpretedTreeStructureDescription_candidateDisplayExpression_feature = Candidate Display Expression +_UI_EEFTextDescription_valueExpression_feature = Value Expression +_UI_EEFTextDescription_editExpression_feature = Edit Expression +_UI_EEFTextDescription_lineCount_feature = Line Count +_UI_EEFCheckboxDescription_valueExpression_feature = Value Expression +_UI_EEFCheckboxDescription_editExpression_feature = Edit Expression +_UI_EEFSelectDescription_valueExpression_feature = Value Expression +_UI_EEFSelectDescription_editExpression_feature = Edit Expression +_UI_EEFSelectDescription_candidatesExpression_feature = Candidates Expression +_UI_EEFSelectDescription_multiple_feature = Multiple +_UI_EEFSelectDescription_candidateDisplayExpression_feature = Candidate Display Expression +_UI_EEFLabelDescription_valueExpression_feature = Value Expression +_UI_EEFRadioDescription_valueExpression_feature = Value Expression +_UI_EEFRadioDescription_editExpression_feature = Edit Expression +_UI_EEFRadioDescription_candidatesExpression_feature = Candidates Expression +_UI_EEFRadioDescription_candidateDisplayExpression_feature = Candidate Display Expression +_UI_EEFTreeDialogSelectDescription_semanticCandidateExpression_feature = Semantic Candidate Expression +_UI_EEFTreeDialogSelectDescription_defaultFilter_feature = Default Filter +_UI_EEFTreeDialogSelectDescription_domainClass_feature = Domain Class +_UI_EEFTreeDialogSelectDescription_tree_feature = Tree +_UI_EEFLinkDescription_onClickExpression_feature = On Click Expression +_UI_EEFImageDescription_valueExpression_feature = Value Expression +_UI_EEFTreeDescription_valueExpression_feature = Value Expression +_UI_EEFTreeDescription_treeStructure_feature = Tree Structure +_UI_EEFTreeDescription_editExpression_feature = Edit Expression +_UI_EEFImagePickerDescription_valueExpression_feature = Value Expression +_UI_EEFImagePickerDescription_editExpression_feature = Edit Expression +_UI_EEFImagePickerDescription_candidatesExpression_feature = Candidates Expression +_UI_EEFTableDescription_valueExpression_feature = Value Expression +_UI_EEFTableDescription_editExpression_feature = Edit Expression +_UI_EEFTableDescription_tableStructure_feature = Table Structure +_UI_EEFColumnDescription_width_feature = Width +_UI_EEFColumnDescription_headerExpression_feature = Header Expression +_UI_EEFColumnDescription_cellWidget_feature = Cell Widget +_UI_EEFColumnDescription_contextCandidatesExpression_feature = Context Candidates Expression +_UI_EEFLineDescription_headerExpression_feature = Header Expression +_UI_EEFLineDescription_semanticCandidatesExpression_feature = Semantic Candidates Expression +_UI_EEFLineDescription_domainClass_feature = Domain Class +_UI_EEFLineDescription_subLines_feature = Sub Lines +_UI_EEFTableStructureDescription_multiple_feature = Multiple +_UI_EEFTableStructureDescription_identifier_feature = Identifier +_UI_EEFAdapterFactoryTableStructureDescription_adapterFactoryProvider_feature = Adapter Factory Provider +_UI_ContextableElement_requiredContextVariables_feature = Required Context Variables +_UI_ContextableElement_excludedContextVariables_feature = Excluded Context Variables +_UI_Unknown_feature = Unspecified + diff --git a/plugins/org.eclipse.eef.edit/plugin.xml b/plugins/org.eclipse.eef.edit/plugin.xml new file mode 100644 index 000000000..769a2fd27 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/plugin.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/ContextableElementItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/ContextableElementItemProvider.java new file mode 100644 index 000000000..a305deb01 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/ContextableElementItemProvider.java @@ -0,0 +1,192 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.ContextableElement; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.context.context.ContextFactory; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.ContextableElement} object. + * + * + * @generated + */ +public class ContextableElementItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, + IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public ContextableElementItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES); + childrenFeatures.add(EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_ContextableElement_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(ContextableElement.class)) { + case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: + case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES, + ContextFactory.eINSTANCE.createContextVariable())); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES, + ContextFactory.eINSTANCE.createContextVariable())); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java new file mode 100644 index 000000000..8ab40e4a8 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java @@ -0,0 +1,141 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription} object. + * + * + * @generated + */ +public class EEFAdapterFactoryTableStructureDescriptionItemProvider extends EEFTableStructureDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFAdapterFactoryTableStructureDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addAdapterFactoryProviderPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Adapter Factory Provider feature. + * + * + * @generated + */ + protected void addAdapterFactoryProviderPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFAdapterFactoryTableStructureDescription_adapterFactoryProvider_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFAdapterFactoryTableStructureDescription_adapterFactoryProvider_feature", //$NON-NLS-1$ + "_UI_EEFAdapterFactoryTableStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, true, + false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFAdapterFactoryTableStructureDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, + getResourceLocator().getImage("full/obj16/EEFAdapterFactoryTableStructureDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + EEFAdapterFactoryTableStructureDescription eefAdapterFactoryTableStructureDescription = (EEFAdapterFactoryTableStructureDescription) object; + return getString("_UI_EEFAdapterFactoryTableStructureDescription_type") + " " //$NON-NLS-1$//$NON-NLS-2$ + + eefAdapterFactoryTableStructureDescription.isMultiple(); + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFAdapterFactoryTableStructureDescription.class)) { + case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java new file mode 100644 index 000000000..ffb533e27 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java @@ -0,0 +1,142 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription} object. + * + * + * @generated + */ +public class EEFAdapterFactoryTreeStructureDescriptionItemProvider extends EEFTreeStructureDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFAdapterFactoryTreeStructureDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addAdapterFactoryProviderPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Adapter Factory Provider feature. + * + * + * @generated + */ + protected void addAdapterFactoryProviderPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFAdapterFactoryTreeStructureDescription_adapterFactoryProvider_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFAdapterFactoryTreeStructureDescription_adapterFactoryProvider_feature", //$NON-NLS-1$ + "_UI_EEFAdapterFactoryTreeStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, true, + false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFAdapterFactoryTreeStructureDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, + getResourceLocator().getImage("full/obj16/EEFAdapterFactoryTreeStructureDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFAdapterFactoryTreeStructureDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFAdapterFactoryTreeStructureDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFAdapterFactoryTreeStructureDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFAdapterFactoryTreeStructureDescription.class)) { + case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCellWidgetDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCellWidgetDescriptionItemProvider.java new file mode 100644 index 000000000..43a5d9d9d --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCellWidgetDescriptionItemProvider.java @@ -0,0 +1,135 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFCellWidgetDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFCellWidgetDescription} object. + * + * + * @generated + */ +public class EEFCellWidgetDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFCellWidgetDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * This returns EEFCellWidgetDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFCellWidgetDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFCellWidgetDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFCellWidgetDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFCellWidgetDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCheckboxDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCheckboxDescriptionItemProvider.java new file mode 100644 index 000000000..c261d4ec0 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCheckboxDescriptionItemProvider.java @@ -0,0 +1,179 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFCheckboxDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFCheckboxDescription} object. + * + * + * @generated + */ +public class EEFCheckboxDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFCheckboxDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + addEditExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFCheckboxDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFCheckboxDescription_valueExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFCheckboxDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Edit Expression feature. + * + * + * @generated + */ + protected void addEditExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFCheckboxDescription_editExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFCheckboxDescription_editExpression_feature", "_UI_EEFCheckboxDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFCheckboxDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFCheckboxDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFCheckboxDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFCheckboxDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFCheckboxDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFCheckboxDescription.class)) { + case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: + case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFColumnDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFColumnDescriptionItemProvider.java new file mode 100644 index 000000000..755da6d53 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFColumnDescriptionItemProvider.java @@ -0,0 +1,211 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFColumnDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFColumnDescription} object. + * + * + * @generated + */ +public class EEFColumnDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, + IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFColumnDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addWidthPropertyDescriptor(object); + addHeaderExpressionPropertyDescriptor(object); + addCellWidgetPropertyDescriptor(object); + addContextCandidatesExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Width feature. + * + * + * @generated + */ + protected void addWidthPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFColumnDescription_width_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnDescription_width_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_COLUMN_DESCRIPTION__WIDTH, true, false, false, + ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Header Expression feature. + * + * + * @generated + */ + protected void addHeaderExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFColumnDescription_headerExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFColumnDescription_headerExpression_feature", "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Cell Widget feature. + * + * + * @generated + */ + protected void addCellWidgetPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFColumnDescription_cellWidget_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnDescription_cellWidget_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_COLUMN_DESCRIPTION__CELL_WIDGET, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Context Candidates Expression feature. + * + * + * @generated + */ + protected void addContextCandidatesExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFColumnDescription_contextCandidatesExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFColumnDescription_contextCandidatesExpression_feature", //$NON-NLS-1$ + "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFColumnDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFColumnDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + EEFColumnDescription eefColumnDescription = (EEFColumnDescription) object; + return getString("_UI_EEFColumnDescription_type") + " " + eefColumnDescription.getWidth(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFColumnDescription.class)) { + case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: + case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: + case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFContainerDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFContainerDescriptionItemProvider.java new file mode 100644 index 000000000..233eb0407 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFContainerDescriptionItemProvider.java @@ -0,0 +1,290 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFContainerDescription; +import org.eclipse.eef.eef.EefFactory; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFContainerDescription} object. + * + * + * @generated + */ +public class EEFContainerDescriptionItemProvider extends ContextableElementItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFContainerDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addIdentifierPropertyDescriptor(object); + addSemanticCandidatesExpressionPropertyDescriptor(object); + addDomainClassPropertyDescriptor(object); + addLayoutColumnCountPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Identifier feature. + * + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFContainerDescription_identifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFContainerDescription_identifier_feature", "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__IDENTIFIER, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Semantic Candidates Expression feature. + * + * + * @generated + */ + protected void addSemanticCandidatesExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFContainerDescription_semanticCandidatesExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFContainerDescription_semanticCandidatesExpression_feature", //$NON-NLS-1$ + "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Domain Class feature. + * + * + * @generated + */ + protected void addDomainClassPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFContainerDescription_domainClass_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFContainerDescription_domainClass_feature", "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Layout Column Count feature. + * + * + * @generated + */ + protected void addLayoutColumnCountPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFContainerDescription_layoutColumnCount_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFContainerDescription_layoutColumnCount_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT, true, false, false, + ItemPropertyDescriptor.INTEGRAL_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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__CONTAINERS); + childrenFeatures.add(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFContainerDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFContainerDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFContainerDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFContainerDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFContainerDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFContainerDescription.class)) { + case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: + case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: + case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__CONTAINERS, + EefFactory.eINSTANCE.createEEFContainerDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, + EefFactory.eINSTANCE.createEEFTextDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, + EefFactory.eINSTANCE.createEEFCheckboxDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, + EefFactory.eINSTANCE.createEEFSelectDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, + EefFactory.eINSTANCE.createEEFLabelDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, + EefFactory.eINSTANCE.createEEFRadioDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, + EefFactory.eINSTANCE.createEEFTreeDialogSelectDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, + EefFactory.eINSTANCE.createEEFLinkDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, + EefFactory.eINSTANCE.createEEFImageDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, + EefFactory.eINSTANCE.createEEFTreeDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, + EefFactory.eINSTANCE.createEEFImagePickerDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, + EefFactory.eINSTANCE.createEEFTableDescription())); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFGroupDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFGroupDescriptionItemProvider.java new file mode 100644 index 000000000..b9f9fd8e8 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFGroupDescriptionItemProvider.java @@ -0,0 +1,254 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFGroupDescription; +import org.eclipse.eef.eef.EefFactory; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFGroupDescription} object. + * + * + * @generated + */ +public class EEFGroupDescriptionItemProvider extends ContextableElementItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFGroupDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addIdentifierPropertyDescriptor(object); + addLabelExpressionPropertyDescriptor(object); + addDomainClassPropertyDescriptor(object); + addSemanticCandidatesExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Identifier feature. + * + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFGroupDescription_identifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_GROUP_DESCRIPTION__IDENTIFIER, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Label Expression feature. + * + * + * @generated + */ + protected void addLabelExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFGroupDescription_labelExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFGroupDescription_labelExpression_feature", "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Domain Class feature. + * + * + * @generated + */ + protected void addDomainClassPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFGroupDescription_domainClass_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_domainClass_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Semantic Candidates Expression feature. + * + * + * @generated + */ + protected void addSemanticCandidatesExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFGroupDescription_semanticCandidatesExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFGroupDescription_semanticCandidatesExpression_feature", "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_GROUP_DESCRIPTION__CONTAINER); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFGroupDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFGroupDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFGroupDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFGroupDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFGroupDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFGroupDescription.class)) { + case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: + case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: + case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_GROUP_DESCRIPTION__CONTAINER, + EefFactory.eINSTANCE.createEEFContainerDescription())); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImageDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImageDescriptionItemProvider.java new file mode 100644 index 000000000..978718b47 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImageDescriptionItemProvider.java @@ -0,0 +1,161 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFImageDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFImageDescription} object. + * + * + * @generated + */ +public class EEFImageDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFImageDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFImageDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFImageDescription_valueExpression_feature", "_UI_EEFImageDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFImageDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFImageDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFImageDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFImageDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFImageDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFImageDescription.class)) { + case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImagePickerDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImagePickerDescriptionItemProvider.java new file mode 100644 index 000000000..d2d51aef6 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImagePickerDescriptionItemProvider.java @@ -0,0 +1,198 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFImagePickerDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFImagePickerDescription} object. + * + * + * @generated + */ +public class EEFImagePickerDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFImagePickerDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + addEditExpressionPropertyDescriptor(object); + addCandidatesExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFImagePickerDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFImagePickerDescription_valueExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFImagePickerDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Edit Expression feature. + * + * + * @generated + */ + protected void addEditExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFImagePickerDescription_editExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFImagePickerDescription_editExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFImagePickerDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Candidates Expression feature. + * + * + * @generated + */ + protected void addCandidatesExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFImagePickerDescription_candidatesExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFImagePickerDescription_candidatesExpression_feature", //$NON-NLS-1$ + "_UI_EEFImagePickerDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFImagePickerDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFImagePickerDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFImagePickerDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFImagePickerDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFImagePickerDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFImagePickerDescription.class)) { + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java new file mode 100644 index 000000000..d52b746d0 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java @@ -0,0 +1,164 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFInterpretedTableStructureDescription; +import org.eclipse.eef.eef.EefFactory; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription} object. + * + * + * @generated + */ +public class EEFInterpretedTableStructureDescriptionItemProvider extends EEFTableStructureDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFInterpretedTableStructureDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS); + childrenFeatures.add(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFInterpretedTableStructureDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, + getResourceLocator().getImage("full/obj16/EEFInterpretedTableStructureDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + EEFInterpretedTableStructureDescription eefInterpretedTableStructureDescription = (EEFInterpretedTableStructureDescription) object; + return getString("_UI_EEFInterpretedTableStructureDescription_type") + " " //$NON-NLS-1$//$NON-NLS-2$ + + eefInterpretedTableStructureDescription.isMultiple(); + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFInterpretedTableStructureDescription.class)) { + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS, + EefFactory.eINSTANCE.createEEFColumnDescription())); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, + EefFactory.eINSTANCE.createEEFLineDescription())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java new file mode 100644 index 000000000..e3e49758a --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java @@ -0,0 +1,198 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription} object. + * + * + * @generated + */ +public class EEFInterpretedTreeStructureDescriptionItemProvider extends EEFTreeStructureDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFInterpretedTreeStructureDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addRootsExpressionPropertyDescriptor(object); + addChildrenExpressionPropertyDescriptor(object); + addSelectablePredicateExpressionPropertyDescriptor(object); + addCandidateDisplayExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Roots Expression feature. + * + * + * @generated + */ + protected void addRootsExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFInterpretedTreeStructureDescription_rootsExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFInterpretedTreeStructureDescription_rootsExpression_feature", //$NON-NLS-1$ + "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Children Expression feature. + * + * + * @generated + */ + protected void addChildrenExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFInterpretedTreeStructureDescription_childrenExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFInterpretedTreeStructureDescription_childrenExpression_feature", //$NON-NLS-1$ + "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Selectable Predicate Expression feature. + * + * + * @generated + */ + protected void addSelectablePredicateExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFInterpretedTreeStructureDescription_selectablePredicateExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFInterpretedTreeStructureDescription_selectablePredicateExpression_feature", //$NON-NLS-1$ + "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION, true, + false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Candidate Display Expression feature. + * + * + * @generated + */ + protected void addCandidateDisplayExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFInterpretedTreeStructureDescription_candidateDisplayExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFInterpretedTreeStructureDescription_candidateDisplayExpression_feature", //$NON-NLS-1$ + "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, true, + false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFInterpretedTreeStructureDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFInterpretedTreeStructureDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFInterpretedTreeStructureDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFInterpretedTreeStructureDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFInterpretedTreeStructureDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFInterpretedTreeStructureDescription.class)) { + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFJavaExtensionDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFJavaExtensionDescriptionItemProvider.java new file mode 100644 index 000000000..6a0234717 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFJavaExtensionDescriptionItemProvider.java @@ -0,0 +1,160 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFJavaExtensionDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFJavaExtensionDescription} object. + * + * + * @generated + */ +public class EEFJavaExtensionDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, + IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFJavaExtensionDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addQualifiedNamePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Qualified Name feature. + * + * + * @generated + */ + protected void addQualifiedNamePropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFJavaExtensionDescription_qualifiedName_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFJavaExtensionDescription_qualifiedName_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFJavaExtensionDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFJavaExtensionDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFJavaExtensionDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFJavaExtensionDescription) object).getQualifiedName(); + return label == null || label.length() == 0 ? getString("_UI_EEFJavaExtensionDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFJavaExtensionDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFJavaExtensionDescription.class)) { + case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLabelDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLabelDescriptionItemProvider.java new file mode 100644 index 000000000..3e4b4e137 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLabelDescriptionItemProvider.java @@ -0,0 +1,161 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFLabelDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFLabelDescription} object. + * + * + * @generated + */ +public class EEFLabelDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFLabelDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLabelDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFLabelDescription_valueExpression_feature", "_UI_EEFLabelDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFLabelDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLabelDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFLabelDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFLabelDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFLabelDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFLabelDescription.class)) { + case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLineDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLineDescriptionItemProvider.java new file mode 100644 index 000000000..82fe4466f --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLineDescriptionItemProvider.java @@ -0,0 +1,235 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFLineDescription; +import org.eclipse.eef.eef.EefFactory; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFLineDescription} object. + * + * + * @generated + */ +public class EEFLineDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, + IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFLineDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addHeaderExpressionPropertyDescriptor(object); + addSemanticCandidatesExpressionPropertyDescriptor(object); + addDomainClassPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Header Expression feature. + * + * + * @generated + */ + protected void addHeaderExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLineDescription_headerExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFLineDescription_headerExpression_feature", "_UI_EEFLineDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Semantic Candidates Expression feature. + * + * + * @generated + */ + protected void addSemanticCandidatesExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFLineDescription_semanticCandidatesExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFLineDescription_semanticCandidatesExpression_feature", "_UI_EEFLineDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Domain Class feature. + * + * + * @generated + */ + protected void addDomainClassPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLineDescription_domainClass_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFLineDescription_domainClass_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFLineDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_LINE_DESCRIPTION__DOMAIN_CLASS, 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_LINE_DESCRIPTION__SUB_LINES); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFLineDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLineDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFLineDescription) object).getHeaderExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFLineDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFLineDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFLineDescription.class)) { + case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: + case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_LINE_DESCRIPTION__SUB_LINES, + EefFactory.eINSTANCE.createEEFLineDescription())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLinkDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLinkDescriptionItemProvider.java new file mode 100644 index 000000000..43e0dfd6b --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLinkDescriptionItemProvider.java @@ -0,0 +1,161 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFLinkDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFLinkDescription} object. + * + * + * @generated + */ +public class EEFLinkDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFLinkDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addOnClickExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the On Click Expression feature. + * + * + * @generated + */ + protected void addOnClickExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLinkDescription_onClickExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFLinkDescription_onClickExpression_feature", "_UI_EEFLinkDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFLinkDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLinkDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFLinkDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFLinkDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFLinkDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFLinkDescription.class)) { + case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFPageDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFPageDescriptionItemProvider.java new file mode 100644 index 000000000..e48698260 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFPageDescriptionItemProvider.java @@ -0,0 +1,247 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFPageDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFPageDescription} object. + * + * + * @generated + */ +public class EEFPageDescriptionItemProvider extends ContextableElementItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFPageDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addIdentifierPropertyDescriptor(object); + addLabelExpressionPropertyDescriptor(object); + addDomainClassPropertyDescriptor(object); + addSemanticCandidateExpressionPropertyDescriptor(object); + addGroupsPropertyDescriptor(object); + addExtendedPagePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Identifier feature. + * + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFPageDescription_identifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFPageDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_PAGE_DESCRIPTION__IDENTIFIER, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Label Expression feature. + * + * + * @generated + */ + protected void addLabelExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFPageDescription_labelExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFPageDescription_labelExpression_feature", "_UI_EEFPageDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Domain Class feature. + * + * + * @generated + */ + protected void addDomainClassPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFPageDescription_domainClass_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_domainClass_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFPageDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Semantic Candidate Expression feature. + * + * + * @generated + */ + protected void addSemanticCandidateExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFPageDescription_semanticCandidateExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFPageDescription_semanticCandidateExpression_feature", "_UI_EEFPageDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Groups feature. + * + * + * @generated + */ + protected void addGroupsPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFPageDescription_groups_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_groups_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFPageDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_PAGE_DESCRIPTION__GROUPS, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Extended Page feature. + * + * + * @generated + */ + protected void addExtendedPagePropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFPageDescription_extendedPage_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_extendedPage_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFPageDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE, true, false, true, null, null, null)); + } + + /** + * This returns EEFPageDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFPageDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFPageDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFPageDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFPageDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFPageDescription.class)) { + case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: + case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: + case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFRadioDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFRadioDescriptionItemProvider.java new file mode 100644 index 000000000..5fd0ff33c --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFRadioDescriptionItemProvider.java @@ -0,0 +1,215 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFRadioDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFRadioDescription} object. + * + * + * @generated + */ +public class EEFRadioDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFRadioDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + addEditExpressionPropertyDescriptor(object); + addCandidatesExpressionPropertyDescriptor(object); + addCandidateDisplayExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFRadioDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFRadioDescription_valueExpression_feature", "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Edit Expression feature. + * + * + * @generated + */ + protected void addEditExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFRadioDescription_editExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFRadioDescription_editExpression_feature", "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Candidates Expression feature. + * + * + * @generated + */ + protected void addCandidatesExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFRadioDescription_candidatesExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFRadioDescription_candidatesExpression_feature", "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Candidate Display Expression feature. + * + * + * @generated + */ + protected void addCandidateDisplayExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFRadioDescription_candidateDisplayExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFRadioDescription_candidateDisplayExpression_feature", "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFRadioDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFRadioDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFRadioDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFRadioDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFRadioDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFRadioDescription.class)) { + case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: + case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFSelectDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFSelectDescriptionItemProvider.java new file mode 100644 index 000000000..978820ad9 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFSelectDescriptionItemProvider.java @@ -0,0 +1,233 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFSelectDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFSelectDescription} object. + * + * + * @generated + */ +public class EEFSelectDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFSelectDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + addEditExpressionPropertyDescriptor(object); + addCandidatesExpressionPropertyDescriptor(object); + addMultiplePropertyDescriptor(object); + addCandidateDisplayExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFSelectDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFSelectDescription_valueExpression_feature", "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Edit Expression feature. + * + * + * @generated + */ + protected void addEditExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFSelectDescription_editExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFSelectDescription_editExpression_feature", "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Candidates Expression feature. + * + * + * @generated + */ + protected void addCandidatesExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFSelectDescription_candidatesExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectDescription_candidatesExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Multiple feature. + * + * + * @generated + */ + protected void addMultiplePropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFSelectDescription_multiple_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectDescription_multiple_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_SELECT_DESCRIPTION__MULTIPLE, true, false, false, + ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Candidate Display Expression feature. + * + * + * @generated + */ + protected void addCandidateDisplayExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFSelectDescription_candidateDisplayExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFSelectDescription_candidateDisplayExpression_feature", "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFSelectDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFSelectDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFSelectDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFSelectDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFSelectDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFSelectDescription.class)) { + case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: + case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: + case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableDescriptionItemProvider.java new file mode 100644 index 000000000..b5250e8d4 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableDescriptionItemProvider.java @@ -0,0 +1,195 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFTableDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFTableDescription} object. + * + * + * @generated + */ +public class EEFTableDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTableDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + addEditExpressionPropertyDescriptor(object); + addTableStructurePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTableDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFTableDescription_valueExpression_feature", "_UI_EEFTableDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Edit Expression feature. + * + * + * @generated + */ + protected void addEditExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTableDescription_editExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFTableDescription_editExpression_feature", "_UI_EEFTableDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Table Structure feature. + * + * + * @generated + */ + protected void addTableStructurePropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFTableDescription_tableStructure_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTableDescription_tableStructure_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTableDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE, true, false, true, null, null, null)); + } + + /** + * This returns EEFTableDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTableDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTableDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFTableDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFTableDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTableDescription.class)) { + case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: + case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableStructureDescriptionItemProvider.java new file mode 100644 index 000000000..c8217f59f --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableStructureDescriptionItemProvider.java @@ -0,0 +1,176 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFTableStructureDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFTableStructureDescription} object. + * + * + * @generated + */ +public class EEFTableStructureDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, + IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTableStructureDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addMultiplePropertyDescriptor(object); + addIdentifierPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Multiple feature. + * + * + * @generated + */ + protected void addMultiplePropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFTableStructureDescription_multiple_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_multiple_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE, true, false, false, + ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Identifier feature. + * + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFTableStructureDescription_identifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFTableStructureDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTableStructureDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + EEFTableStructureDescription eefTableStructureDescription = (EEFTableStructureDescription) object; + return getString("_UI_EEFTableStructureDescription_type") + " " + eefTableStructureDescription.isMultiple(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTableStructureDescription.class)) { + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTextDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTextDescriptionItemProvider.java new file mode 100644 index 000000000..0dbb198e7 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTextDescriptionItemProvider.java @@ -0,0 +1,197 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFTextDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFTextDescription} object. + * + * + * @generated + */ +public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTextDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + addEditExpressionPropertyDescriptor(object); + addLineCountPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTextDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFTextDescription_valueExpression_feature", "_UI_EEFTextDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Edit Expression feature. + * + * + * @generated + */ + protected void addEditExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTextDescription_editExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTextDescription_editExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTextDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Line Count feature. + * + * + * @generated + */ + protected void addLineCountPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTextDescription_lineCount_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTextDescription_lineCount_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTextDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TEXT_DESCRIPTION__LINE_COUNT, true, false, false, + ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFTextDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTextDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTextDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFTextDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFTextDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTextDescription.class)) { + case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: + case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: + case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDescriptionItemProvider.java new file mode 100644 index 000000000..0e72ad82a --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDescriptionItemProvider.java @@ -0,0 +1,195 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFTreeDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFTreeDescription} object. + * + * + * @generated + */ +public class EEFTreeDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTreeDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + addTreeStructurePropertyDescriptor(object); + addEditExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTreeDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFTreeDescription_valueExpression_feature", "_UI_EEFTreeDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Tree Structure feature. + * + * + * @generated + */ + protected void addTreeStructurePropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTreeDescription_treeStructure_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDescription_treeStructure_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTreeDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TREE_DESCRIPTION__TREE_STRUCTURE, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Edit Expression feature. + * + * + * @generated + */ + protected void addEditExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTreeDescription_editExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDescription_editExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTreeDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFTreeDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTreeDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFTreeDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFTreeDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTreeDescription.class)) { + case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: + case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java new file mode 100644 index 000000000..f611360b6 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFTreeDialogSelectDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription} object. + * + * + * @generated + */ +public class EEFTreeDialogSelectDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTreeDialogSelectDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addSemanticCandidateExpressionPropertyDescriptor(object); + addDefaultFilterPropertyDescriptor(object); + addDomainClassPropertyDescriptor(object); + addTreePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Semantic Candidate Expression feature. + * + * + * @generated + */ + protected void addSemanticCandidateExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFTreeDialogSelectDescription_semanticCandidateExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFTreeDialogSelectDescription_semanticCandidateExpression_feature", //$NON-NLS-1$ + "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, true, false, + false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Default Filter feature. + * + * + * @generated + */ + protected void addDefaultFilterPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTreeDialogSelectDescription_defaultFilter_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFTreeDialogSelectDescription_defaultFilter_feature", //$NON-NLS-1$ + "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Domain Class feature. + * + * + * @generated + */ + protected void addDomainClassPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTreeDialogSelectDescription_domainClass_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFTreeDialogSelectDescription_domainClass_feature", //$NON-NLS-1$ + "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Tree feature. + * + * + * @generated + */ + protected void addTreePropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFTreeDialogSelectDescription_tree_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDialogSelectDescription_tree_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE, true, false, true, null, null, null)); + } + + /** + * This returns EEFTreeDialogSelectDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeDialogSelectDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTreeDialogSelectDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFTreeDialogSelectDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFTreeDialogSelectDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTreeDialogSelectDescription.class)) { + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeStructureDescriptionItemProvider.java new file mode 100644 index 000000000..38b696324 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeStructureDescriptionItemProvider.java @@ -0,0 +1,178 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFTreeStructureDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFTreeStructureDescription} object. + * + * + * @generated + */ +public class EEFTreeStructureDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, + IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTreeStructureDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addIdentifierPropertyDescriptor(object); + addMultiplePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Identifier feature. + * + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFTreeStructureDescription_identifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeStructureDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTreeStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Multiple feature. + * + * + * @generated + */ + protected void addMultiplePropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_EEFTreeStructureDescription_multiple_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeStructureDescription_multiple_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTreeStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE, true, false, false, + ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFTreeStructureDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeStructureDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTreeStructureDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFTreeStructureDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFTreeStructureDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTreeStructureDescription.class)) { + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFViewDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFViewDescriptionItemProvider.java new file mode 100644 index 000000000..5a64ce9f1 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFViewDescriptionItemProvider.java @@ -0,0 +1,278 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFViewDescription; +import org.eclipse.eef.eef.EefFactory; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFViewDescription} object. + * + * + * @generated + */ +public class EEFViewDescriptionItemProvider extends ContextableElementItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFViewDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addIdentifierPropertyDescriptor(object); + addLabelExpressionPropertyDescriptor(object); + addEPackageNsUrisPropertyDescriptor(object); + addImportedViewsPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Identifier feature. + * + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFViewDescription_identifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFViewDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_VIEW_DESCRIPTION__IDENTIFIER, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Label Expression feature. + * + * + * @generated + */ + protected void addLabelExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFViewDescription_labelExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFViewDescription_labelExpression_feature", "_UI_EEFViewDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the EPackage Ns Uris feature. + * + * + * @generated + */ + protected void addEPackageNsUrisPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFViewDescription_ePackageNsUris_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_ePackageNsUris_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFViewDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Imported Views feature. + * + * + * @generated + */ + protected void addImportedViewsPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFViewDescription_importedViews_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_importedViews_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFViewDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS, true, false, true, null, 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__GROUPS); + childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__PAGES); + childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS); + childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES); + childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFViewDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFViewDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFViewDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFViewDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFViewDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFViewDescription.class)) { + case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: + case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: + case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: + case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: + case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: + case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__GROUPS, + EefFactory.eINSTANCE.createEEFGroupDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__PAGES, + EefFactory.eINSTANCE.createEEFPageDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS, + EefFactory.eINSTANCE.createEEFJavaExtensionDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES, + EefFactory.eINSTANCE.createEEFAdapterFactoryTreeStructureDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES, + EefFactory.eINSTANCE.createEEFInterpretedTreeStructureDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES, + EefFactory.eINSTANCE.createEEFInterpretedTableStructureDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES, + EefFactory.eINSTANCE.createEEFAdapterFactoryTableStructureDescription())); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFWidgetDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFWidgetDescriptionItemProvider.java new file mode 100644 index 000000000..170879390 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFWidgetDescriptionItemProvider.java @@ -0,0 +1,198 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.eef.EEFWidgetDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFWidgetDescription} object. + * + * + * @generated + */ +public class EEFWidgetDescriptionItemProvider extends ContextableElementItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFWidgetDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addIdentifierPropertyDescriptor(object); + addLabelExpressionPropertyDescriptor(object); + addFeatureCandidatesExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Identifier feature. + * + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFWidgetDescription_identifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFWidgetDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_WIDGET_DESCRIPTION__IDENTIFIER, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Label Expression feature. + * + * + * @generated + */ + protected void addLabelExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFWidgetDescription_labelExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFWidgetDescription_labelExpression_feature", "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ + EefPackage.Literals.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Feature Candidates Expression feature. + * + * + * @generated + */ + protected void addFeatureCandidatesExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFWidgetDescription_featureCandidatesExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ + "_UI_EEFWidgetDescription_featureCandidatesExpression_feature", //$NON-NLS-1$ + "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFWidgetDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFWidgetDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFWidgetDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFWidgetDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFWidgetDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFWidgetDescription.class)) { + case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: + case EefPackage.EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefEditPlugin.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefEditPlugin.java new file mode 100644 index 000000000..9e858d731 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefEditPlugin.java @@ -0,0 +1,95 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import org.eclipse.emf.common.EMFPlugin; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.sirius.context.context.provider.ContextEditPlugin; + +/** + * This is the central singleton for the Eef edit plugin. + * + * + * @generated + */ +public final class EefEditPlugin extends EMFPlugin { + /** + * Keep track of the singleton. + * + * + * @generated + */ + public static final EefEditPlugin INSTANCE = new EefEditPlugin(); + + /** + * Keep track of the singleton. + * + * + * @generated + */ + private static Implementation plugin; + + /** + * Create the instance. + * + * + * @generated + */ + public EefEditPlugin() { + super(new ResourceLocator[] { ContextEditPlugin.INSTANCE, }); + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + @Override + public ResourceLocator getPluginResourceLocator() { + return plugin; + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + public static Implementation getPlugin() { + return plugin; + } + + /** + * The actual implementation of the Eclipse Plugin. + * + * + * @generated + */ + public static class Implementation extends EclipsePlugin { + /** + * Creates an instance. + * + * + * @generated + */ + public Implementation() { + super(); + + // Remember the static instance. + // + plugin = this; + } + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefItemProviderAdapterFactory.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefItemProviderAdapterFactory.java new file mode 100644 index 000000000..cca84b8f4 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefItemProviderAdapterFactory.java @@ -0,0 +1,742 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.eef.eef.util.EefAdapterFactory; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. + * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. + * The adapters also support Eclipse property sheets. + * Note that most of the adapters are shared among multiple instances. + * + * + * @generated + */ +public class EefItemProviderAdapterFactory extends EefAdapterFactory + implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * + * + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * + * + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * + * + * @generated + */ + protected Collection supportedTypes = new ArrayList(); + + /** + * This constructs an instance. + * + * + * @generated + */ + public EefItemProviderAdapterFactory() { + supportedTypes.add(IEditingDomainItemProvider.class); + supportedTypes.add(IStructuredItemContentProvider.class); + supportedTypes.add(ITreeItemContentProvider.class); + supportedTypes.add(IItemLabelProvider.class); + supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFViewDescription} instances. + * + * + * @generated + */ + protected EEFViewDescriptionItemProvider eefViewDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFViewDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFViewDescriptionAdapter() { + if (eefViewDescriptionItemProvider == null) { + eefViewDescriptionItemProvider = new EEFViewDescriptionItemProvider(this); + } + + return eefViewDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFPageDescription} instances. + * + * + * @generated + */ + protected EEFPageDescriptionItemProvider eefPageDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFPageDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFPageDescriptionAdapter() { + if (eefPageDescriptionItemProvider == null) { + eefPageDescriptionItemProvider = new EEFPageDescriptionItemProvider(this); + } + + return eefPageDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFGroupDescription} instances. + * + * + * @generated + */ + protected EEFGroupDescriptionItemProvider eefGroupDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFGroupDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFGroupDescriptionAdapter() { + if (eefGroupDescriptionItemProvider == null) { + eefGroupDescriptionItemProvider = new EEFGroupDescriptionItemProvider(this); + } + + return eefGroupDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFContainerDescription} instances. + * + * + * @generated + */ + protected EEFContainerDescriptionItemProvider eefContainerDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFContainerDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFContainerDescriptionAdapter() { + if (eefContainerDescriptionItemProvider == null) { + eefContainerDescriptionItemProvider = new EEFContainerDescriptionItemProvider(this); + } + + return eefContainerDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFJavaExtensionDescription} instances. + * + * + * @generated + */ + protected EEFJavaExtensionDescriptionItemProvider eefJavaExtensionDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFJavaExtensionDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFJavaExtensionDescriptionAdapter() { + if (eefJavaExtensionDescriptionItemProvider == null) { + eefJavaExtensionDescriptionItemProvider = new EEFJavaExtensionDescriptionItemProvider(this); + } + + return eefJavaExtensionDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription} instances. + * + * + * @generated + */ + protected EEFInterpretedTableStructureDescriptionItemProvider eefInterpretedTableStructureDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFInterpretedTableStructureDescriptionAdapter() { + if (eefInterpretedTableStructureDescriptionItemProvider == null) { + eefInterpretedTableStructureDescriptionItemProvider = new EEFInterpretedTableStructureDescriptionItemProvider( + this); + } + + return eefInterpretedTableStructureDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription} instances. + * + * + * @generated + */ + protected EEFAdapterFactoryTreeStructureDescriptionItemProvider eefAdapterFactoryTreeStructureDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFAdapterFactoryTreeStructureDescriptionAdapter() { + if (eefAdapterFactoryTreeStructureDescriptionItemProvider == null) { + eefAdapterFactoryTreeStructureDescriptionItemProvider = new EEFAdapterFactoryTreeStructureDescriptionItemProvider( + this); + } + + return eefAdapterFactoryTreeStructureDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription} instances. + * + * + * @generated + */ + protected EEFInterpretedTreeStructureDescriptionItemProvider eefInterpretedTreeStructureDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFInterpretedTreeStructureDescriptionAdapter() { + if (eefInterpretedTreeStructureDescriptionItemProvider == null) { + eefInterpretedTreeStructureDescriptionItemProvider = new EEFInterpretedTreeStructureDescriptionItemProvider( + this); + } + + return eefInterpretedTreeStructureDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFTextDescription} instances. + * + * + * @generated + */ + protected EEFTextDescriptionItemProvider eefTextDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFTextDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFTextDescriptionAdapter() { + if (eefTextDescriptionItemProvider == null) { + eefTextDescriptionItemProvider = new EEFTextDescriptionItemProvider(this); + } + + return eefTextDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFCheckboxDescription} instances. + * + * + * @generated + */ + protected EEFCheckboxDescriptionItemProvider eefCheckboxDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFCheckboxDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFCheckboxDescriptionAdapter() { + if (eefCheckboxDescriptionItemProvider == null) { + eefCheckboxDescriptionItemProvider = new EEFCheckboxDescriptionItemProvider(this); + } + + return eefCheckboxDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFSelectDescription} instances. + * + * + * @generated + */ + protected EEFSelectDescriptionItemProvider eefSelectDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFSelectDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFSelectDescriptionAdapter() { + if (eefSelectDescriptionItemProvider == null) { + eefSelectDescriptionItemProvider = new EEFSelectDescriptionItemProvider(this); + } + + return eefSelectDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFLabelDescription} instances. + * + * + * @generated + */ + protected EEFLabelDescriptionItemProvider eefLabelDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFLabelDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFLabelDescriptionAdapter() { + if (eefLabelDescriptionItemProvider == null) { + eefLabelDescriptionItemProvider = new EEFLabelDescriptionItemProvider(this); + } + + return eefLabelDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFRadioDescription} instances. + * + * + * @generated + */ + protected EEFRadioDescriptionItemProvider eefRadioDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFRadioDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFRadioDescriptionAdapter() { + if (eefRadioDescriptionItemProvider == null) { + eefRadioDescriptionItemProvider = new EEFRadioDescriptionItemProvider(this); + } + + return eefRadioDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription} instances. + * + * + * @generated + */ + protected EEFTreeDialogSelectDescriptionItemProvider eefTreeDialogSelectDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFTreeDialogSelectDescriptionAdapter() { + if (eefTreeDialogSelectDescriptionItemProvider == null) { + eefTreeDialogSelectDescriptionItemProvider = new EEFTreeDialogSelectDescriptionItemProvider(this); + } + + return eefTreeDialogSelectDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFLinkDescription} instances. + * + * + * @generated + */ + protected EEFLinkDescriptionItemProvider eefLinkDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFLinkDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFLinkDescriptionAdapter() { + if (eefLinkDescriptionItemProvider == null) { + eefLinkDescriptionItemProvider = new EEFLinkDescriptionItemProvider(this); + } + + return eefLinkDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFImageDescription} instances. + * + * + * @generated + */ + protected EEFImageDescriptionItemProvider eefImageDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFImageDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFImageDescriptionAdapter() { + if (eefImageDescriptionItemProvider == null) { + eefImageDescriptionItemProvider = new EEFImageDescriptionItemProvider(this); + } + + return eefImageDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFTreeDescription} instances. + * + * + * @generated + */ + protected EEFTreeDescriptionItemProvider eefTreeDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFTreeDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFTreeDescriptionAdapter() { + if (eefTreeDescriptionItemProvider == null) { + eefTreeDescriptionItemProvider = new EEFTreeDescriptionItemProvider(this); + } + + return eefTreeDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFImagePickerDescription} instances. + * + * + * @generated + */ + protected EEFImagePickerDescriptionItemProvider eefImagePickerDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFImagePickerDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFImagePickerDescriptionAdapter() { + if (eefImagePickerDescriptionItemProvider == null) { + eefImagePickerDescriptionItemProvider = new EEFImagePickerDescriptionItemProvider(this); + } + + return eefImagePickerDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFTableDescription} instances. + * + * + * @generated + */ + protected EEFTableDescriptionItemProvider eefTableDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFTableDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFTableDescriptionAdapter() { + if (eefTableDescriptionItemProvider == null) { + eefTableDescriptionItemProvider = new EEFTableDescriptionItemProvider(this); + } + + return eefTableDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFColumnDescription} instances. + * + * + * @generated + */ + protected EEFColumnDescriptionItemProvider eefColumnDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFColumnDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFColumnDescriptionAdapter() { + if (eefColumnDescriptionItemProvider == null) { + eefColumnDescriptionItemProvider = new EEFColumnDescriptionItemProvider(this); + } + + return eefColumnDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFLineDescription} instances. + * + * + * @generated + */ + protected EEFLineDescriptionItemProvider eefLineDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFLineDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFLineDescriptionAdapter() { + if (eefLineDescriptionItemProvider == null) { + eefLineDescriptionItemProvider = new EEFLineDescriptionItemProvider(this); + } + + return eefLineDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription} instances. + * + * + * @generated + */ + protected EEFAdapterFactoryTableStructureDescriptionItemProvider eefAdapterFactoryTableStructureDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFAdapterFactoryTableStructureDescriptionAdapter() { + if (eefAdapterFactoryTableStructureDescriptionItemProvider == null) { + eefAdapterFactoryTableStructureDescriptionItemProvider = new EEFAdapterFactoryTableStructureDescriptionItemProvider( + this); + } + + return eefAdapterFactoryTableStructureDescriptionItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * + * + * @generated + */ + @Override + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * + * + * @generated + */ + @Override + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * + * + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * + * + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * + * + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class) || (((Class) type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * + * + * @generated + */ + @Override + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * + * + * @generated + */ + @Override + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * + * + * @generated + */ + @Override + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); + + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * + * + * @generated + */ + @Override + public void dispose() { + if (eefViewDescriptionItemProvider != null) + eefViewDescriptionItemProvider.dispose(); + if (eefPageDescriptionItemProvider != null) + eefPageDescriptionItemProvider.dispose(); + if (eefGroupDescriptionItemProvider != null) + eefGroupDescriptionItemProvider.dispose(); + if (eefContainerDescriptionItemProvider != null) + eefContainerDescriptionItemProvider.dispose(); + if (eefJavaExtensionDescriptionItemProvider != null) + eefJavaExtensionDescriptionItemProvider.dispose(); + if (eefInterpretedTableStructureDescriptionItemProvider != null) + eefInterpretedTableStructureDescriptionItemProvider.dispose(); + if (eefAdapterFactoryTreeStructureDescriptionItemProvider != null) + eefAdapterFactoryTreeStructureDescriptionItemProvider.dispose(); + if (eefInterpretedTreeStructureDescriptionItemProvider != null) + eefInterpretedTreeStructureDescriptionItemProvider.dispose(); + if (eefTextDescriptionItemProvider != null) + eefTextDescriptionItemProvider.dispose(); + if (eefCheckboxDescriptionItemProvider != null) + eefCheckboxDescriptionItemProvider.dispose(); + if (eefSelectDescriptionItemProvider != null) + eefSelectDescriptionItemProvider.dispose(); + if (eefLabelDescriptionItemProvider != null) + eefLabelDescriptionItemProvider.dispose(); + if (eefRadioDescriptionItemProvider != null) + eefRadioDescriptionItemProvider.dispose(); + if (eefTreeDialogSelectDescriptionItemProvider != null) + eefTreeDialogSelectDescriptionItemProvider.dispose(); + if (eefLinkDescriptionItemProvider != null) + eefLinkDescriptionItemProvider.dispose(); + if (eefImageDescriptionItemProvider != null) + eefImageDescriptionItemProvider.dispose(); + if (eefTreeDescriptionItemProvider != null) + eefTreeDescriptionItemProvider.dispose(); + if (eefImagePickerDescriptionItemProvider != null) + eefImagePickerDescriptionItemProvider.dispose(); + if (eefTableDescriptionItemProvider != null) + eefTableDescriptionItemProvider.dispose(); + if (eefColumnDescriptionItemProvider != null) + eefColumnDescriptionItemProvider.dispose(); + if (eefLineDescriptionItemProvider != null) + eefLineDescriptionItemProvider.dispose(); + if (eefAdapterFactoryTableStructureDescriptionItemProvider != null) + eefAdapterFactoryTableStructureDescriptionItemProvider.dispose(); + } + +} diff --git a/plugins/org.eclipse.eef/.classpath b/plugins/org.eclipse.eef/.classpath new file mode 100644 index 000000000..75556083f --- /dev/null +++ b/plugins/org.eclipse.eef/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/org.eclipse.eef/.project b/plugins/org.eclipse.eef/.project new file mode 100644 index 000000000..24868d6b1 --- /dev/null +++ b/plugins/org.eclipse.eef/.project @@ -0,0 +1,29 @@ + + + org.eclipse.eef + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.sirius.nature.modelingproject + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..5114a7f42 --- /dev/null +++ b/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,297 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.7 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=80 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=120 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=false +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..806bfa255 --- /dev/null +++ b/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,68 @@ +cleanup.add_default_serial_version_id=true +cleanup.add_generated_serial_version_id=false +cleanup.add_missing_annotations=true +cleanup.add_missing_deprecated_annotations=true +cleanup.add_missing_methods=false +cleanup.add_missing_nls_tags=false +cleanup.add_missing_override_annotations=true +cleanup.add_missing_override_annotations_interface_methods=true +cleanup.add_serial_version_id=false +cleanup.always_use_blocks=true +cleanup.always_use_parentheses_in_expressions=false +cleanup.always_use_this_for_non_static_field_access=false +cleanup.always_use_this_for_non_static_method_access=false +cleanup.convert_functional_interfaces=false +cleanup.convert_to_enhanced_for_loop=false +cleanup.correct_indentation=false +cleanup.format_source_code=false +cleanup.format_source_code_changes_only=false +cleanup.insert_inferred_type_arguments=false +cleanup.make_local_variable_final=true +cleanup.make_parameters_final=false +cleanup.make_private_fields_final=true +cleanup.make_type_abstract_if_missing_method=false +cleanup.make_variable_declarations_final=false +cleanup.never_use_blocks=false +cleanup.never_use_parentheses_in_expressions=true +cleanup.organize_imports=false +cleanup.qualify_static_field_accesses_with_declaring_class=false +cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true +cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true +cleanup.qualify_static_member_accesses_with_declaring_class=true +cleanup.qualify_static_method_accesses_with_declaring_class=false +cleanup.remove_private_constructors=true +cleanup.remove_redundant_type_arguments=true +cleanup.remove_trailing_whitespaces=false +cleanup.remove_trailing_whitespaces_all=true +cleanup.remove_trailing_whitespaces_ignore_empty=false +cleanup.remove_unnecessary_casts=true +cleanup.remove_unnecessary_nls_tags=true +cleanup.remove_unused_imports=true +cleanup.remove_unused_local_variables=false +cleanup.remove_unused_private_fields=true +cleanup.remove_unused_private_members=false +cleanup.remove_unused_private_methods=true +cleanup.remove_unused_private_types=true +cleanup.sort_members=false +cleanup.sort_members_all=false +cleanup.use_anonymous_class_creation=false +cleanup.use_blocks=false +cleanup.use_blocks_only_for_return_and_throw=false +cleanup.use_lambda=true +cleanup.use_parentheses_in_expressions=false +cleanup.use_this_for_non_static_field_access=false +cleanup.use_this_for_non_static_field_access_only_if_necessary=true +cleanup.use_this_for_non_static_method_access=false +cleanup.use_this_for_non_static_method_access_only_if_necessary=true +cleanup.use_type_arguments=false +cleanup_profile=org.eclipse.jdt.ui.default.eclipse_clean_up_profile +cleanup_settings_version=2 +eclipse.preferences.version=1 +formatter_profile=org.eclipse.jdt.ui.default.eclipse_profile +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=java;javax;org;com; +org.eclipse.jdt.ui.javadoc=false +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates= diff --git a/plugins/org.eclipse.eef/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef/META-INF/MANIFEST.MF new file mode 100644 index 000000000..30068c0b6 --- /dev/null +++ b/plugins/org.eclipse.eef/META-INF/MANIFEST.MF @@ -0,0 +1,16 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.eef;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-ClassPath: . +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Export-Package: org.eclipse.eef.eef, + org.eclipse.eef.eef.impl, + org.eclipse.eef.eef.util +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.emf.ecore;visibility:=reexport, + org.eclipse.sirius.context;visibility:=reexport +Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.eef/build.properties b/plugins/org.eclipse.eef/build.properties new file mode 100644 index 000000000..7d34bdaed --- /dev/null +++ b/plugins/org.eclipse.eef/build.properties @@ -0,0 +1,15 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +bin.includes = .,\ + model/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties +jars.compile.order = . +source.. = src-gen/ +output.. = bin/ diff --git a/plugins/org.eclipse.eef/model/EEFExpression.xmi b/plugins/org.eclipse.eef/model/EEFExpression.xmi new file mode 100644 index 000000000..e07a98cb8 --- /dev/null +++ b/plugins/org.eclipse.eef/model/EEFExpression.xmi @@ -0,0 +1,969 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef/model/eef.aird b/plugins/org.eclipse.eef/model/eef.aird new file mode 100644 index 000000000..e3fbf24a8 --- /dev/null +++ b/plugins/org.eclipse.eef/model/eef.aird @@ -0,0 +1,16988 @@ + + + eef.ecore + eef.genmodel + EEFInterpretedExpression.xmi + EEFExpression.xmi + platform:/resource/org.eclipse.sirius.context/model/context.ecore + platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore + platform:/resource/org.eclipse.sirius.context/model/context.genmodel + http://www.eclipse.org/emf/2002/Ecore + + + + + + + bold + + + + + + + + + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + + + + + bold + + + + + + + + + + + italic + + + + + + + + + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef/model/eef.ecore b/plugins/org.eclipse.eef/model/eef.ecore new file mode 100644 index 000000000..321e7d3a3 --- /dev/null +++ b/plugins/org.eclipse.eef/model/eef.ecore @@ -0,0 +1,602 @@ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + + +
+ + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + + +
+ + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + diff --git a/plugins/org.eclipse.eef/model/eef.genmodel b/plugins/org.eclipse.eef/model/eef.genmodel new file mode 100644 index 000000000..1897b0f4c --- /dev/null +++ b/plugins/org.eclipse.eef/model/eef.genmodel @@ -0,0 +1,151 @@ + + + eef.ecore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef/plugin.properties b/plugins/org.eclipse.eef/plugin.properties new file mode 100644 index 000000000..d77686d53 --- /dev/null +++ b/plugins/org.eclipse.eef/plugin.properties @@ -0,0 +1,9 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +pluginName = Eef Model +providerName = www.example.org diff --git a/plugins/org.eclipse.eef/plugin.xml b/plugins/org.eclipse.eef/plugin.xml new file mode 100644 index 000000000..148f29b1e --- /dev/null +++ b/plugins/org.eclipse.eef/plugin.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/ContextableElement.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/ContextableElement.java new file mode 100644 index 000000000..443f338c0 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/ContextableElement.java @@ -0,0 +1,69 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.context.context.ContextVariable; + +/** + * + * A representation of the model object 'Contextable Element'. + * + * + * + * Represents an element which can provide a context. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.ContextableElement#getRequiredContextVariables Required Context Variables}
  • + *
  • {@link org.eclipse.eef.eef.ContextableElement#getExcludedContextVariables Excluded Context Variables}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getContextableElement() + * @model abstract="true" + * @generated + */ +public interface ContextableElement extends EObject { + /** + * Returns the value of the 'Required Context Variables' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.context.context.ContextVariable}. + * + * + * + * Defines variables associated to the required contexts. + * + * @return the value of the 'Required Context Variables' containment reference list. + * @see org.eclipse.eef.eef.EefPackage#getContextableElement_RequiredContextVariables() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getRequiredContextVariables(); + + /** + * Returns the value of the 'Excluded Context Variables' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.context.context.ContextVariable}. + * + * + * + * Defines variables associated to the excluded contexts. + * + * @return the value of the 'Excluded Context Variables' containment reference list. + * @see org.eclipse.eef.eef.EefPackage#getContextableElement_ExcludedContextVariables() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getExcludedContextVariables(); + +} // ContextableElement diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTableStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTableStructureDescription.java new file mode 100644 index 000000000..1946cf607 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTableStructureDescription.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Adapter Factory Table Structure Description'. + * + * + * + * Defines the structure of a Tree from an AdapterFactory. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFAdapterFactoryTableStructureDescription() + * @model + * @generated + */ +public interface EEFAdapterFactoryTableStructureDescription extends EEFTableStructureDescription { + /** + * Returns the value of the 'Adapter Factory Provider' attribute. + * + * + * + * The qualified name of the adapter factory Java class. + * + * @return the value of the 'Adapter Factory Provider' attribute. + * @see #setAdapterFactoryProvider(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider() + * @model + * @generated + */ + String getAdapterFactoryProvider(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}' attribute. + * + * + * @param value the new value of the 'Adapter Factory Provider' attribute. + * @see #getAdapterFactoryProvider() + * @generated + */ + void setAdapterFactoryProvider(String value); + +} // EEFAdapterFactoryTableStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTreeStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTreeStructureDescription.java new file mode 100644 index 000000000..de2fce959 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTreeStructureDescription.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Adapter Factory Tree Structure Description'. + * + * + * + * Defines the structure of a Tree from an AdapterFactory. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFAdapterFactoryTreeStructureDescription() + * @model + * @generated + */ +public interface EEFAdapterFactoryTreeStructureDescription extends EEFTreeStructureDescription { + /** + * Returns the value of the 'Adapter Factory Provider' attribute. + * + * + * + * The qualified name of the adapter factory Java class. + * + * @return the value of the 'Adapter Factory Provider' attribute. + * @see #setAdapterFactoryProvider(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider() + * @model + * @generated + */ + String getAdapterFactoryProvider(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}' attribute. + * + * + * @param value the new value of the 'Adapter Factory Provider' attribute. + * @see #getAdapterFactoryProvider() + * @generated + */ + void setAdapterFactoryProvider(String value); + +} // EEFAdapterFactoryTreeStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCellWidgetDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCellWidgetDescription.java new file mode 100644 index 000000000..f6edd3357 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCellWidgetDescription.java @@ -0,0 +1,26 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Cell Widget Description'. + * + * + * + * Defines widget which is visible in a table cell. + * + * + * + * @see org.eclipse.eef.eef.EefPackage#getEEFCellWidgetDescription() + * @model abstract="true" + * @generated + */ +public interface EEFCellWidgetDescription extends EEFWidgetDescription { +} // EEFCellWidgetDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCheckboxDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCheckboxDescription.java new file mode 100644 index 000000000..6bd10622f --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCheckboxDescription.java @@ -0,0 +1,83 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Checkbox Description'. + * + * + * + * Represents a checkbox in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFCheckboxDescription#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFCheckboxDescription#getEditExpression Edit Expression}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFCheckboxDescription() + * @model + * @generated + */ +public interface EEFCheckboxDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * Indicates how to display the input value. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFCheckboxDescription_ValueExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFCheckboxDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + + /** + * Returns the value of the 'Edit Expression' attribute. + * + * + * + * Defines the behavior executed when the end-user updates the value of the checkbox. + * + * @return the value of the 'Edit Expression' attribute. + * @see #setEditExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFCheckboxDescription_EditExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getEditExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFCheckboxDescription#getEditExpression Edit Expression}' attribute. + * + * + * @param value the new value of the 'Edit Expression' attribute. + * @see #getEditExpression() + * @generated + */ + void setEditExpression(String value); + +} // EEFCheckboxDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFColumnDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFColumnDescription.java new file mode 100644 index 000000000..08512c4ca --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFColumnDescription.java @@ -0,0 +1,138 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Column Description'. + * + * + * + * Represents a Column in a Table in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFColumnDescription#getWidth Width}
  • + *
  • {@link org.eclipse.eef.eef.EEFColumnDescription#getHeaderExpression Header Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFColumnDescription#getCellWidget Cell Widget}
  • + *
  • {@link org.eclipse.eef.eef.EEFColumnDescription#getContextCandidatesExpression Context Candidates Expression}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFColumnDescription() + * @model + * @generated + */ +public interface EEFColumnDescription extends EObject { + /** + * Returns the value of the 'Width' attribute. + * + * + * + * Defines the initial width of a column. It is a percentage of the total + * + * @return the value of the 'Width' attribute. + * @see #setWidth(int) + * @see org.eclipse.eef.eef.EefPackage#getEEFColumnDescription_Width() + * @model + * @generated + */ + int getWidth(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFColumnDescription#getWidth Width}' attribute. + * + * + * @param value the new value of the 'Width' attribute. + * @see #getWidth() + * @generated + */ + void setWidth(int value); + + /** + * Returns the value of the 'Header Expression' attribute. + * + * + * + * Indicates how to display the column table header. + * + * @return the value of the 'Header Expression' attribute. + * @see #setHeaderExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFColumnDescription_HeaderExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getHeaderExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFColumnDescription#getHeaderExpression Header Expression}' attribute. + * + * + * @param value the new value of the 'Header Expression' attribute. + * @see #getHeaderExpression() + * @generated + */ + void setHeaderExpression(String value); + + /** + * Returns the value of the 'Cell Widget' reference. + * + * + * + * References the widget to represent in the cell. + * + * @return the value of the 'Cell Widget' reference. + * @see #setCellWidget(EEFCellWidgetDescription) + * @see org.eclipse.eef.eef.EefPackage#getEEFColumnDescription_CellWidget() + * @model + * @generated + */ + EEFCellWidgetDescription getCellWidget(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFColumnDescription#getCellWidget Cell Widget}' reference. + * + * + * @param value the new value of the 'Cell Widget' reference. + * @see #getCellWidget() + * @generated + */ + void setCellWidget(EEFCellWidgetDescription value); + + /** + * Returns the value of the 'Context Candidates Expression' attribute. + * + *

+ * If the meaning of the 'Context Candidates Expression' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Context Candidates Expression' attribute. + * @see #setContextCandidatesExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFColumnDescription_ContextCandidatesExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getContextCandidatesExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFColumnDescription#getContextCandidatesExpression Context Candidates Expression}' attribute. + * + * + * @param value the new value of the 'Context Candidates Expression' attribute. + * @see #getContextCandidatesExpression() + * @generated + */ + void setContextCandidatesExpression(String value); + +} // EEFColumnDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFContainerDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFContainerDescription.java new file mode 100644 index 000000000..9b0f7ebb0 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFContainerDescription.java @@ -0,0 +1,170 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'EEF Container Description'. + * + * + * + * Holds the widgets of a Group. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFContainerDescription#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.eef.EEFContainerDescription#getSemanticCandidatesExpression Semantic Candidates Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFContainerDescription#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.eef.EEFContainerDescription#getLayoutColumnCount Layout Column Count}
  • + *
  • {@link org.eclipse.eef.eef.EEFContainerDescription#getContainers Containers}
  • + *
  • {@link org.eclipse.eef.eef.EEFContainerDescription#getWidgets Widgets}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFContainerDescription() + * @model + * @generated + */ +public interface EEFContainerDescription extends ContextableElement { + /** + * Returns the value of the 'Identifier' attribute. + * + * + * + * Used to identify a specific Container in a Group. + * + * @return the value of the 'Identifier' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFContainerDescription_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFContainerDescription#getIdentifier Identifier}' attribute. + * + * + * @param value the new value of the 'Identifier' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + + /** + * Returns the value of the 'Semantic Candidates Expression' attribute. + * + * + * + * The elements that are represented. + * + * @return the value of the 'Semantic Candidates Expression' attribute. + * @see #setSemanticCandidatesExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFContainerDescription_SemanticCandidatesExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getSemanticCandidatesExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFContainerDescription#getSemanticCandidatesExpression Semantic Candidates Expression}' attribute. + * + * + * @param value the new value of the 'Semantic Candidates Expression' attribute. + * @see #getSemanticCandidatesExpression() + * @generated + */ + void setSemanticCandidatesExpression(String value); + + /** + * Returns the value of the 'Domain Class' attribute. + * + * + * + * Defines the context in which the Container is used. + * + * @return the value of the 'Domain Class' attribute. + * @see #setDomainClass(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFContainerDescription_DomainClass() + * @model dataType="org.eclipse.eef.eef.TypeName" + * @generated + */ + String getDomainClass(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFContainerDescription#getDomainClass Domain Class}' attribute. + * + * + * @param value the new value of the 'Domain Class' attribute. + * @see #getDomainClass() + * @generated + */ + void setDomainClass(String value); + + /** + * Returns the value of the 'Layout Column Count' attribute. + * The default value is "1". + * + * + * + * Number of available columns. If the number of elements is higher than the number of columns then the elements are represented on the next line. + * + * @return the value of the 'Layout Column Count' attribute. + * @see #setLayoutColumnCount(int) + * @see org.eclipse.eef.eef.EefPackage#getEEFContainerDescription_LayoutColumnCount() + * @model default="1" + * @generated + */ + int getLayoutColumnCount(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFContainerDescription#getLayoutColumnCount Layout Column Count}' attribute. + * + * + * @param value the new value of the 'Layout Column Count' attribute. + * @see #getLayoutColumnCount() + * @generated + */ + void setLayoutColumnCount(int value); + + /** + * Returns the value of the 'Containers' containment reference list. + * The list contents are of type {@link org.eclipse.eef.eef.EEFContainerDescription}. + * + * + * + * Defines sub-containers. + * + * @return the value of the 'Containers' containment reference list. + * @see org.eclipse.eef.eef.EefPackage#getEEFContainerDescription_Containers() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getContainers(); + + /** + * Returns the value of the 'Widgets' containment reference list. + * The list contents are of type {@link org.eclipse.eef.eef.EEFWidgetDescription}. + * + * + * + * References the widgets to hold. + * + * @return the value of the 'Widgets' containment reference list. + * @see org.eclipse.eef.eef.EefPackage#getEEFContainerDescription_Widgets() + * @model containment="true" resolveProxies="true" required="true" + * @generated + */ + EList getWidgets(); + +} // EEFContainerDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFGroupDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFGroupDescription.java new file mode 100644 index 000000000..6fbddc656 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFGroupDescription.java @@ -0,0 +1,161 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Group Description'. + * + * + * + * A Group is used to structure the user interface within a Page. It groups multiple widgets together. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFGroupDescription#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.eef.EEFGroupDescription#getLabelExpression Label Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFGroupDescription#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.eef.EEFGroupDescription#getSemanticCandidatesExpression Semantic Candidates Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFGroupDescription#getContainer Container}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFGroupDescription() + * @model + * @generated + */ +public interface EEFGroupDescription extends ContextableElement { + /** + * Returns the value of the 'Identifier' attribute. + * + * + * + * Used to identify a specific Group in a Page. + * + * @return the value of the 'Identifier' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFGroupDescription_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFGroupDescription#getIdentifier Identifier}' attribute. + * + * + * @param value the new value of the 'Identifier' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + + /** + * Returns the value of the 'Label Expression' attribute. + * + * + * + * The label of the Group visible by the end users. If not specified, the Group is not drawn only its contained widgets are shown, else it is visible as a section. + * + * @return the value of the 'Label Expression' attribute. + * @see #setLabelExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFGroupDescription_LabelExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getLabelExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFGroupDescription#getLabelExpression Label Expression}' attribute. + * + * + * @param value the new value of the 'Label Expression' attribute. + * @see #getLabelExpression() + * @generated + */ + void setLabelExpression(String value); + + /** + * Returns the value of the 'Domain Class' attribute. + * + * + * + * Defines the context in which the Group is used. + * + * @return the value of the 'Domain Class' attribute. + * @see #setDomainClass(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFGroupDescription_DomainClass() + * @model dataType="org.eclipse.eef.eef.TypeName" + * @generated + */ + String getDomainClass(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFGroupDescription#getDomainClass Domain Class}' attribute. + * + * + * @param value the new value of the 'Domain Class' attribute. + * @see #getDomainClass() + * @generated + */ + void setDomainClass(String value); + + /** + * Returns the value of the 'Semantic Candidates Expression' attribute. + * + * + * + * The elements that are represented. If not specified, the EEF runtime reuses the context of the Page for the Group. + * + * @return the value of the 'Semantic Candidates Expression' attribute. + * @see #setSemanticCandidatesExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFGroupDescription_SemanticCandidatesExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getSemanticCandidatesExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFGroupDescription#getSemanticCandidatesExpression Semantic Candidates Expression}' attribute. + * + * + * @param value the new value of the 'Semantic Candidates Expression' attribute. + * @see #getSemanticCandidatesExpression() + * @generated + */ + void setSemanticCandidatesExpression(String value); + + /** + * Returns the value of the 'Container' containment reference. + * + * + * + * Contains the container related to a group. + * + * @return the value of the 'Container' containment reference. + * @see #setContainer(EEFContainerDescription) + * @see org.eclipse.eef.eef.EefPackage#getEEFGroupDescription_Container() + * @model containment="true" resolveProxies="true" required="true" + * @generated + */ + EEFContainerDescription getContainer(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFGroupDescription#getContainer Container}' containment reference. + * + * + * @param value the new value of the 'Container' containment reference. + * @see #getContainer() + * @generated + */ + void setContainer(EEFContainerDescription value); + +} // EEFGroupDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImageDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImageDescription.java new file mode 100644 index 000000000..84fa6a5d7 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImageDescription.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Image Description'. + * + * + * + * Represents an image in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFImageDescription#getValueExpression Value Expression}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFImageDescription() + * @model + * @generated + */ +public interface EEFImageDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * URI of the image to display. The URI requires a scheme and is considered by the EEF runtime as an EMF URI. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFImageDescription_ValueExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFImageDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + +} // EEFImageDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImagePickerDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImagePickerDescription.java new file mode 100644 index 000000000..9f18bac0c --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImagePickerDescription.java @@ -0,0 +1,109 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Image Picker Description'. + * + * + * + * Represents an image and a way for the end-user to modify it. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFImagePickerDescription#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFImagePickerDescription#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFImagePickerDescription#getCandidatesExpression Candidates Expression}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFImagePickerDescription() + * @model + * @generated + */ +public interface EEFImagePickerDescription extends EEFWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * URI of the image to display. The URI requires a scheme and is considered by the EEF runtime as an EMF URI. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFImagePickerDescription_ValueExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFImagePickerDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + + /** + * Returns the value of the 'Edit Expression' attribute. + * + * + * + * Defines the behavior executed when the end-user updates the value of the image. + * + * @return the value of the 'Edit Expression' attribute. + * @see #setEditExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFImagePickerDescription_EditExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getEditExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFImagePickerDescription#getEditExpression Edit Expression}' attribute. + * + * + * @param value the new value of the 'Edit Expression' attribute. + * @see #getEditExpression() + * @generated + */ + void setEditExpression(String value); + + /** + * Returns the value of the 'Candidates Expression' attribute. + * + * + * + * List of URIs to compute the selectable images. + * + * @return the value of the 'Candidates Expression' attribute. + * @see #setCandidatesExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFImagePickerDescription_CandidatesExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getCandidatesExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFImagePickerDescription#getCandidatesExpression Candidates Expression}' attribute. + * + * + * @param value the new value of the 'Candidates Expression' attribute. + * @see #getCandidatesExpression() + * @generated + */ + void setCandidatesExpression(String value); + +} // EEFImagePickerDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTableStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTableStructureDescription.java new file mode 100644 index 000000000..cce875f25 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTableStructureDescription.java @@ -0,0 +1,75 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'EEF Interpreted Table Structure Description'. + * + * + * + * Defines the structure of a Table based on expressions and variables interpreted by the EEF runtime. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription#getColumns Columns}
  • + *
  • {@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription#getLine Line}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTableStructureDescription() + * @model + * @generated + */ +public interface EEFInterpretedTableStructureDescription extends EEFTableStructureDescription { + /** + * Returns the value of the 'Columns' containment reference list. + * The list contents are of type {@link org.eclipse.eef.eef.EEFColumnDescription}. + * + * + * + * References the table columns. + * + * @return the value of the 'Columns' containment reference list. + * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTableStructureDescription_Columns() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getColumns(); + + /** + * Returns the value of the 'Line' containment reference. + * + * + * + * References the table lines. + * + * @return the value of the 'Line' containment reference. + * @see #setLine(EEFLineDescription) + * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTableStructureDescription_Line() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFLineDescription getLine(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription#getLine Line}' containment reference. + * + * + * @param value the new value of the 'Line' containment reference. + * @see #getLine() + * @generated + */ + void setLine(EEFLineDescription value); + +} // EEFInterpretedTableStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTreeStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTreeStructureDescription.java new file mode 100644 index 000000000..167ff13c2 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTreeStructureDescription.java @@ -0,0 +1,135 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Interpreted Tree Structure Description'. + * + * + * + * Defines the structure of a Tree based on expressions and variables interpreted by the EEF runtime. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getRootsExpression Roots Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression Children Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression Selectable Predicate Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression Candidate Display Expression}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTreeStructureDescription() + * @model + * @generated + */ +public interface EEFInterpretedTreeStructureDescription extends EEFTreeStructureDescription { + /** + * Returns the value of the 'Roots Expression' attribute. + * + * + * + * Defines the collection of elements that could be roots of the Tree. + * + * @return the value of the 'Roots Expression' attribute. + * @see #setRootsExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTreeStructureDescription_RootsExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getRootsExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getRootsExpression Roots Expression}' attribute. + * + * + * @param value the new value of the 'Roots Expression' attribute. + * @see #getRootsExpression() + * @generated + */ + void setRootsExpression(String value); + + /** + * Returns the value of the 'Children Expression' attribute. + * + * + * + * Defines how to compute the children. + * + * @return the value of the 'Children Expression' attribute. + * @see #setChildrenExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTreeStructureDescription_ChildrenExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getChildrenExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression Children Expression}' attribute. + * + * + * @param value the new value of the 'Children Expression' attribute. + * @see #getChildrenExpression() + * @generated + */ + void setChildrenExpression(String value); + + /** + * Returns the value of the 'Selectable Predicate Expression' attribute. + * + * + * + * Defines the elements of the Tree that can be selected. + * + * @return the value of the 'Selectable Predicate Expression' attribute. + * @see #setSelectablePredicateExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getSelectablePredicateExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression Selectable Predicate Expression}' attribute. + * + * + * @param value the new value of the 'Selectable Predicate Expression' attribute. + * @see #getSelectablePredicateExpression() + * @generated + */ + void setSelectablePredicateExpression(String value); + + /** + * Returns the value of the 'Candidate Display Expression' attribute. + * + * + * + * Indicates how to display the input value. + * + * @return the value of the 'Candidate Display Expression' attribute. + * @see #setCandidateDisplayExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getCandidateDisplayExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression Candidate Display Expression}' attribute. + * + * + * @param value the new value of the 'Candidate Display Expression' attribute. + * @see #getCandidateDisplayExpression() + * @generated + */ + void setCandidateDisplayExpression(String value); + +} // EEFInterpretedTreeStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFJavaExtensionDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFJavaExtensionDescription.java new file mode 100644 index 000000000..3f7306724 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFJavaExtensionDescription.java @@ -0,0 +1,59 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Java Extension Description'. + * + * + * + * Contributes the referenced Java class as a service for the EEF runtime interpreters. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFJavaExtensionDescription#getQualifiedName Qualified Name}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFJavaExtensionDescription() + * @model + * @generated + */ +public interface EEFJavaExtensionDescription extends EObject { + /** + * Returns the value of the 'Qualified Name' attribute. + * + * + * + * The qualified name of the Java class to reference. + * + * @return the value of the 'Qualified Name' attribute. + * @see #setQualifiedName(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFJavaExtensionDescription_QualifiedName() + * @model + * @generated + */ + String getQualifiedName(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFJavaExtensionDescription#getQualifiedName Qualified Name}' attribute. + * + * + * @param value the new value of the 'Qualified Name' attribute. + * @see #getQualifiedName() + * @generated + */ + void setQualifiedName(String value); + +} // EEFJavaExtensionDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLabelDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLabelDescription.java new file mode 100644 index 000000000..d915b4f2a --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLabelDescription.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Label Description'. + * + * + * + * Represents a label in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFLabelDescription#getValueExpression Value Expression}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFLabelDescription() + * @model + * @generated + */ +public interface EEFLabelDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * Indicates how to display the input value. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFLabelDescription_ValueExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFLabelDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + +} // EEFLabelDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLineDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLineDescription.java new file mode 100644 index 000000000..631c08a45 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLineDescription.java @@ -0,0 +1,129 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Line Description'. + * + * + * + * Represents a Line in a Table in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFLineDescription#getHeaderExpression Header Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFLineDescription#getSemanticCandidatesExpression Semantic Candidates Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFLineDescription#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.eef.EEFLineDescription#getSubLines Sub Lines}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFLineDescription() + * @model + * @generated + */ +public interface EEFLineDescription extends EObject { + /** + * Returns the value of the 'Header Expression' attribute. + * + * + * + * Indicates how to display the line table header. If not set, the default column will not be visible. + * + * @return the value of the 'Header Expression' attribute. + * @see #setHeaderExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFLineDescription_HeaderExpression() + * @model + * @generated + */ + String getHeaderExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFLineDescription#getHeaderExpression Header Expression}' attribute. + * + * + * @param value the new value of the 'Header Expression' attribute. + * @see #getHeaderExpression() + * @generated + */ + void setHeaderExpression(String value); + + /** + * Returns the value of the 'Semantic Candidates Expression' attribute. + * + * + * + * The elements that are represented. + * + * @return the value of the 'Semantic Candidates Expression' attribute. + * @see #setSemanticCandidatesExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFLineDescription_SemanticCandidatesExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getSemanticCandidatesExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFLineDescription#getSemanticCandidatesExpression Semantic Candidates Expression}' attribute. + * + * + * @param value the new value of the 'Semantic Candidates Expression' attribute. + * @see #getSemanticCandidatesExpression() + * @generated + */ + void setSemanticCandidatesExpression(String value); + + /** + * Returns the value of the 'Domain Class' attribute. + * + * + * + * Defines the context in which the Line is used. + * + * @return the value of the 'Domain Class' attribute. + * @see #setDomainClass(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFLineDescription_DomainClass() + * @model dataType="org.eclipse.eef.eef.TypeName" + * @generated + */ + String getDomainClass(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFLineDescription#getDomainClass Domain Class}' attribute. + * + * + * @param value the new value of the 'Domain Class' attribute. + * @see #getDomainClass() + * @generated + */ + void setDomainClass(String value); + + /** + * Returns the value of the 'Sub Lines' containment reference list. + * The list contents are of type {@link org.eclipse.eef.eef.EEFLineDescription}. + * + * + * + * References lines that will be represented as sub lines in the table, this allows to get a kind of tree inside a table. + * + * @return the value of the 'Sub Lines' containment reference list. + * @see org.eclipse.eef.eef.EefPackage#getEEFLineDescription_SubLines() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getSubLines(); + +} // EEFLineDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLinkDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLinkDescription.java new file mode 100644 index 000000000..7aedaf4a3 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLinkDescription.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Link Description'. + * + * + * + * Represents an hyperlink in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFLinkDescription#getOnClickExpression On Click Expression}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFLinkDescription() + * @model + * @generated + */ +public interface EEFLinkDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'On Click Expression' attribute. + * + * + * + * Defines the behavior executed when the link is clicked. + * + * @return the value of the 'On Click Expression' attribute. + * @see #setOnClickExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFLinkDescription_OnClickExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getOnClickExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFLinkDescription#getOnClickExpression On Click Expression}' attribute. + * + * + * @param value the new value of the 'On Click Expression' attribute. + * @see #getOnClickExpression() + * @generated + */ + void setOnClickExpression(String value); + +} // EEFLinkDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFPageDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFPageDescription.java new file mode 100644 index 000000000..24cbe589f --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFPageDescription.java @@ -0,0 +1,180 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'EEF Page Description'. + * + * + * + * A Page is a tab represented in a View. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFPageDescription#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.eef.EEFPageDescription#getLabelExpression Label Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFPageDescription#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFPageDescription#getGroups Groups}
  • + *
  • {@link org.eclipse.eef.eef.EEFPageDescription#getExtendedPage Extended Page}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFPageDescription() + * @model + * @generated + */ +public interface EEFPageDescription extends ContextableElement { + /** + * Returns the value of the 'Identifier' attribute. + * + * + * + * Used to identify a specific Page instance. + * + * @return the value of the 'Identifier' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFPageDescription_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFPageDescription#getIdentifier Identifier}' attribute. + * + * + * @param value the new value of the 'Identifier' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + + /** + * Returns the value of the 'Label Expression' attribute. + * + * + * + * The label of the Page visible by the end-users. + * + * @return the value of the 'Label Expression' attribute. + * @see #setLabelExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFPageDescription_LabelExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getLabelExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFPageDescription#getLabelExpression Label Expression}' attribute. + * + * + * @param value the new value of the 'Label Expression' attribute. + * @see #getLabelExpression() + * @generated + */ + void setLabelExpression(String value); + + /** + * Returns the value of the 'Domain Class' attribute. + * + * + * + * Defines the context of the Page. + * + * @return the value of the 'Domain Class' attribute. + * @see #setDomainClass(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFPageDescription_DomainClass() + * @model dataType="org.eclipse.eef.eef.TypeName" + * @generated + */ + String getDomainClass(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFPageDescription#getDomainClass Domain Class}' attribute. + * + * + * @param value the new value of the 'Domain Class' attribute. + * @see #getDomainClass() + * @generated + */ + void setDomainClass(String value); + + /** + * Returns the value of the 'Semantic Candidate Expression' attribute. + * The default value is "". + * + * + * + * The elements that are represented. If not specified, the EEF runtime reuses the context of the View for the Page. + * + * @return the value of the 'Semantic Candidate Expression' attribute. + * @see #setSemanticCandidateExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFPageDescription_SemanticCandidateExpression() + * @model default="" dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getSemanticCandidateExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression}' attribute. + * + * + * @param value the new value of the 'Semantic Candidate Expression' attribute. + * @see #getSemanticCandidateExpression() + * @generated + */ + void setSemanticCandidateExpression(String value); + + /** + * Returns the value of the 'Groups' reference list. + * The list contents are of type {@link org.eclipse.eef.eef.EEFGroupDescription}. + * + * + * + * References the Groups which are visible in a Page. If not specified, the EEF runtime looks for all the Groups defined under the View containing the Page that have a domainClass which is equal or a super class of the domainClass of the Page and use them following the order of the inheritance tree of the EObject. + * + * @return the value of the 'Groups' reference list. + * @see org.eclipse.eef.eef.EefPackage#getEEFPageDescription_Groups() + * @model + * @generated + */ + EList getGroups(); + + /** + * Returns the value of the 'Extended Page' reference. + * + * + * + * References existing pages in order to extend their contents by adding/hiding groups and widgets. + * + * @return the value of the 'Extended Page' reference. + * @see #setExtendedPage(EEFPageDescription) + * @see org.eclipse.eef.eef.EefPackage#getEEFPageDescription_ExtendedPage() + * @model + * @generated + */ + EEFPageDescription getExtendedPage(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFPageDescription#getExtendedPage Extended Page}' reference. + * + * + * @param value the new value of the 'Extended Page' reference. + * @see #getExtendedPage() + * @generated + */ + void setExtendedPage(EEFPageDescription value); + +} // EEFPageDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFRadioDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFRadioDescription.java new file mode 100644 index 000000000..99bb1ac3e --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFRadioDescription.java @@ -0,0 +1,135 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Radio Description'. + * + * + * + * Represents a radio button in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFRadioDescription#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFRadioDescription#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFRadioDescription#getCandidatesExpression Candidates Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFRadioDescription#getCandidateDisplayExpression Candidate Display Expression}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFRadioDescription() + * @model + * @generated + */ +public interface EEFRadioDescription extends EEFWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * The initial selected value of the radio. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFRadioDescription_ValueExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFRadioDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + + /** + * Returns the value of the 'Edit Expression' attribute. + * + * + * + * Defines the behavior executed when the end-user updates the value of the radio. + * + * @return the value of the 'Edit Expression' attribute. + * @see #setEditExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFRadioDescription_EditExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getEditExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFRadioDescription#getEditExpression Edit Expression}' attribute. + * + * + * @param value the new value of the 'Edit Expression' attribute. + * @see #getEditExpression() + * @generated + */ + void setEditExpression(String value); + + /** + * Returns the value of the 'Candidates Expression' attribute. + * + * + * + * Defines the various proposals available. + * + * @return the value of the 'Candidates Expression' attribute. + * @see #setCandidatesExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFRadioDescription_CandidatesExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getCandidatesExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFRadioDescription#getCandidatesExpression Candidates Expression}' attribute. + * + * + * @param value the new value of the 'Candidates Expression' attribute. + * @see #getCandidatesExpression() + * @generated + */ + void setCandidatesExpression(String value); + + /** + * Returns the value of the 'Candidate Display Expression' attribute. + * + * + * + * Indicates how to display the input value. + * + * @return the value of the 'Candidate Display Expression' attribute. + * @see #setCandidateDisplayExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFRadioDescription_CandidateDisplayExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getCandidateDisplayExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFRadioDescription#getCandidateDisplayExpression Candidate Display Expression}' attribute. + * + * + * @param value the new value of the 'Candidate Display Expression' attribute. + * @see #getCandidateDisplayExpression() + * @generated + */ + void setCandidateDisplayExpression(String value); + +} // EEFRadioDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFSelectDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFSelectDescription.java new file mode 100644 index 000000000..64b38241e --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFSelectDescription.java @@ -0,0 +1,161 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Select Description'. + * + * + * + * Represents a collection of candidates used to edit a single or multi-valued property. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFSelectDescription#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFSelectDescription#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFSelectDescription#getCandidatesExpression Candidates Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFSelectDescription#isMultiple Multiple}
  • + *
  • {@link org.eclipse.eef.eef.EEFSelectDescription#getCandidateDisplayExpression Candidate Display Expression}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFSelectDescription() + * @model + * @generated + */ +public interface EEFSelectDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * The initial selected values of the radio. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFSelectDescription_ValueExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFSelectDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + + /** + * Returns the value of the 'Edit Expression' attribute. + * + * + * + * Defines the behavior executed when the end-user updates the value of the select. + * + * @return the value of the 'Edit Expression' attribute. + * @see #setEditExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFSelectDescription_EditExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getEditExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFSelectDescription#getEditExpression Edit Expression}' attribute. + * + * + * @param value the new value of the 'Edit Expression' attribute. + * @see #getEditExpression() + * @generated + */ + void setEditExpression(String value); + + /** + * Returns the value of the 'Candidates Expression' attribute. + * + * + * + * Defines the various proposals available. + * + * @return the value of the 'Candidates Expression' attribute. + * @see #setCandidatesExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFSelectDescription_CandidatesExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getCandidatesExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFSelectDescription#getCandidatesExpression Candidates Expression}' attribute. + * + * + * @param value the new value of the 'Candidates Expression' attribute. + * @see #getCandidatesExpression() + * @generated + */ + void setCandidatesExpression(String value); + + /** + * Returns the value of the 'Multiple' attribute. + * + * + * + * If set to true several values can be selected at same time otherwise one selection is possible. + * + * @return the value of the 'Multiple' attribute. + * @see #setMultiple(boolean) + * @see org.eclipse.eef.eef.EefPackage#getEEFSelectDescription_Multiple() + * @model + * @generated + */ + boolean isMultiple(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFSelectDescription#isMultiple Multiple}' attribute. + * + * + * @param value the new value of the 'Multiple' attribute. + * @see #isMultiple() + * @generated + */ + void setMultiple(boolean value); + + /** + * Returns the value of the 'Candidate Display Expression' attribute. + * + * + * + * Indicates how to display the input value. + * + * @return the value of the 'Candidate Display Expression' attribute. + * @see #setCandidateDisplayExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFSelectDescription_CandidateDisplayExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getCandidateDisplayExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFSelectDescription#getCandidateDisplayExpression Candidate Display Expression}' attribute. + * + * + * @param value the new value of the 'Candidate Display Expression' attribute. + * @see #getCandidateDisplayExpression() + * @generated + */ + void setCandidateDisplayExpression(String value); + +} // EEFSelectDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableDescription.java new file mode 100644 index 000000000..1dc8ab301 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableDescription.java @@ -0,0 +1,109 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Table Description'. + * + * + * + * Represents a Table in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFTableDescription#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFTableDescription#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFTableDescription#getTableStructure Table Structure}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFTableDescription() + * @model + * @generated + */ +public interface EEFTableDescription extends EEFWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * Indicates how to display the input values. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFTableDescription_ValueExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTableDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + + /** + * Returns the value of the 'Edit Expression' attribute. + * + * + * + * Defines the behavior executed when the end-user updates the table cell elements. + * + * @return the value of the 'Edit Expression' attribute. + * @see #setEditExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFTableDescription_EditExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getEditExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTableDescription#getEditExpression Edit Expression}' attribute. + * + * + * @param value the new value of the 'Edit Expression' attribute. + * @see #getEditExpression() + * @generated + */ + void setEditExpression(String value); + + /** + * Returns the value of the 'Table Structure' reference. + * + * + * + * References a table structure. + * + * @return the value of the 'Table Structure' reference. + * @see #setTableStructure(EEFTableStructureDescription) + * @see org.eclipse.eef.eef.EefPackage#getEEFTableDescription_TableStructure() + * @model + * @generated + */ + EEFTableStructureDescription getTableStructure(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTableDescription#getTableStructure Table Structure}' reference. + * + * + * @param value the new value of the 'Table Structure' reference. + * @see #getTableStructure() + * @generated + */ + void setTableStructure(EEFTableStructureDescription value); + +} // EEFTableDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableStructureDescription.java new file mode 100644 index 000000000..cc8ac56ad --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableStructureDescription.java @@ -0,0 +1,85 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Table Structure Description'. + * + * + * + * Describes a table as a set of elements related to an input. This description is reusable by Table widgets. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFTableStructureDescription#isMultiple Multiple}
  • + *
  • {@link org.eclipse.eef.eef.EEFTableStructureDescription#getIdentifier Identifier}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFTableStructureDescription() + * @model abstract="true" + * @generated + */ +public interface EEFTableStructureDescription extends EObject { + /** + * Returns the value of the 'Multiple' attribute. + * + * + * + * If set to true several values can be selected at same time otherwise one selection is possible. + * + * @return the value of the 'Multiple' attribute. + * @see #setMultiple(boolean) + * @see org.eclipse.eef.eef.EefPackage#getEEFTableStructureDescription_Multiple() + * @model + * @generated + */ + boolean isMultiple(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTableStructureDescription#isMultiple Multiple}' attribute. + * + * + * @param value the new value of the 'Multiple' attribute. + * @see #isMultiple() + * @generated + */ + void setMultiple(boolean value); + + /** + * Returns the value of the 'Identifier' attribute. + * + * + * + * Used to identify a specific table structure. + * + * @return the value of the 'Identifier' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFTableStructureDescription_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTableStructureDescription#getIdentifier Identifier}' attribute. + * + * + * @param value the new value of the 'Identifier' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + +} // EEFTableStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTextDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTextDescription.java new file mode 100644 index 000000000..3bff3250e --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTextDescription.java @@ -0,0 +1,110 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Text Description'. + * + * + * + * Represents a text field in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFTextDescription#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFTextDescription#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFTextDescription#getLineCount Line Count}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFTextDescription() + * @model + * @generated + */ +public interface EEFTextDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * Indicates how to display the input value. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFTextDescription_ValueExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTextDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + + /** + * Returns the value of the 'Edit Expression' attribute. + * + * + * + * Defines the behavior executed when the end-user updates the value of the text field. + * + * @return the value of the 'Edit Expression' attribute. + * @see #setEditExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFTextDescription_EditExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getEditExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTextDescription#getEditExpression Edit Expression}' attribute. + * + * + * @param value the new value of the 'Edit Expression' attribute. + * @see #getEditExpression() + * @generated + */ + void setEditExpression(String value); + + /** + * Returns the value of the 'Line Count' attribute. + * The default value is "1". + * + * + * + * Must be upper or equal to 1. If lineCount > 1, the text field is represented thanks to a text area. + * + * @return the value of the 'Line Count' attribute. + * @see #setLineCount(int) + * @see org.eclipse.eef.eef.EefPackage#getEEFTextDescription_LineCount() + * @model default="1" + * @generated + */ + int getLineCount(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTextDescription#getLineCount Line Count}' attribute. + * + * + * @param value the new value of the 'Line Count' attribute. + * @see #getLineCount() + * @generated + */ + void setLineCount(int value); + +} // EEFTextDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDescription.java new file mode 100644 index 000000000..7877edabe --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDescription.java @@ -0,0 +1,109 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Tree Description'. + * + * + * + * Represents a tree in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFTreeDescription#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFTreeDescription#getTreeStructure Tree Structure}
  • + *
  • {@link org.eclipse.eef.eef.EEFTreeDescription#getEditExpression Edit Expression}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDescription() + * @model + * @generated + */ +public interface EEFTreeDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * The initial selected values in the tree. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDescription_ValueExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + + /** + * Returns the value of the 'Tree Structure' reference. + * + * + * + * References a tree structure. + * + * @return the value of the 'Tree Structure' reference. + * @see #setTreeStructure(EEFTreeStructureDescription) + * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDescription_TreeStructure() + * @model + * @generated + */ + EEFTreeStructureDescription getTreeStructure(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeDescription#getTreeStructure Tree Structure}' reference. + * + * + * @param value the new value of the 'Tree Structure' reference. + * @see #getTreeStructure() + * @generated + */ + void setTreeStructure(EEFTreeStructureDescription value); + + /** + * Returns the value of the 'Edit Expression' attribute. + * + * + * + * Defines the behavior executed when the end-user updates the selection in the tree. + * + * @return the value of the 'Edit Expression' attribute. + * @see #setEditExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDescription_EditExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getEditExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeDescription#getEditExpression Edit Expression}' attribute. + * + * + * @param value the new value of the 'Edit Expression' attribute. + * @see #getEditExpression() + * @generated + */ + void setEditExpression(String value); + +} // EEFTreeDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDialogSelectDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDialogSelectDescription.java new file mode 100644 index 000000000..f9da6c60e --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDialogSelectDescription.java @@ -0,0 +1,136 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Tree Dialog Select Description'. + * + * + * + * Represents a dialog showing a tree in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression Semantic Candidate Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDefaultFilter Default Filter}
  • + *
  • {@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getTree Tree}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDialogSelectDescription() + * @model + * @generated + */ +public interface EEFTreeDialogSelectDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'Semantic Candidate Expression' attribute. + * + * + * + * The elements that are represented. + * + * @return the value of the 'Semantic Candidate Expression' attribute. + * @see #setSemanticCandidateExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDialogSelectDescription_SemanticCandidateExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getSemanticCandidateExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression Semantic Candidate Expression}' attribute. + * + * + * @param value the new value of the 'Semantic Candidate Expression' attribute. + * @see #getSemanticCandidateExpression() + * @generated + */ + void setSemanticCandidateExpression(String value); + + /** + * Returns the value of the 'Default Filter' attribute. + * The default value is "*". + * + * + * + * Defins the default value for filtering field. + * + * @return the value of the 'Default Filter' attribute. + * @see #setDefaultFilter(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDialogSelectDescription_DefaultFilter() + * @model default="*" + * @generated + */ + String getDefaultFilter(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDefaultFilter Default Filter}' attribute. + * + * + * @param value the new value of the 'Default Filter' attribute. + * @see #getDefaultFilter() + * @generated + */ + void setDefaultFilter(String value); + + /** + * Returns the value of the 'Domain Class' attribute. + * + * + * + * Defines the context in which the Tree Dialog Select is used. + * + * @return the value of the 'Domain Class' attribute. + * @see #setDomainClass(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDialogSelectDescription_DomainClass() + * @model dataType="org.eclipse.eef.eef.TypeName" + * @generated + */ + String getDomainClass(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDomainClass Domain Class}' attribute. + * + * + * @param value the new value of the 'Domain Class' attribute. + * @see #getDomainClass() + * @generated + */ + void setDomainClass(String value); + + /** + * Returns the value of the 'Tree' reference. + * + * + * + * References the Tree widget displayed in the select dialog. + * + * @return the value of the 'Tree' reference. + * @see #setTree(EEFTreeDescription) + * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDialogSelectDescription_Tree() + * @model + * @generated + */ + EEFTreeDescription getTree(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getTree Tree}' reference. + * + * + * @param value the new value of the 'Tree' reference. + * @see #getTree() + * @generated + */ + void setTree(EEFTreeDescription value); + +} // EEFTreeDialogSelectDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeStructureDescription.java new file mode 100644 index 000000000..aa05b1f38 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeStructureDescription.java @@ -0,0 +1,85 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Tree Structure Description'. + * + * + * + * Describes a tree as a set of elements related to an input. This description is reusable by Tree widgets. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFTreeStructureDescription#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.eef.EEFTreeStructureDescription#isMultiple Multiple}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFTreeStructureDescription() + * @model abstract="true" + * @generated + */ +public interface EEFTreeStructureDescription extends EObject { + /** + * Returns the value of the 'Identifier' attribute. + * + * + * + * Used to identify a specific tree structure. + * + * @return the value of the 'Identifier' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFTreeStructureDescription_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeStructureDescription#getIdentifier Identifier}' attribute. + * + * + * @param value the new value of the 'Identifier' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + + /** + * Returns the value of the 'Multiple' attribute. + * + * + * + * If set to true several values can be selected at same time otherwise one selection is possible. + * + * @return the value of the 'Multiple' attribute. + * @see #setMultiple(boolean) + * @see org.eclipse.eef.eef.EefPackage#getEEFTreeStructureDescription_Multiple() + * @model + * @generated + */ + boolean isMultiple(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeStructureDescription#isMultiple Multiple}' attribute. + * + * + * @param value the new value of the 'Multiple' attribute. + * @see #isMultiple() + * @generated + */ + void setMultiple(boolean value); + +} // EEFTreeStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFViewDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFViewDescription.java new file mode 100644 index 000000000..072a22cac --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFViewDescription.java @@ -0,0 +1,197 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'EEF View Description'. + * + * + * + * A View is the root concept of the EEF metamodel. A View defines groups of widgets, semantic mappings and related metamodels. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getLabelExpression Label Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getEPackageNsUris EPackage Ns Uris}
  • + *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getGroups Groups}
  • + *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getPages Pages}
  • + *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getJavaExtensions Java Extensions}
  • + *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getImportedViews Imported Views}
  • + *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getTreeStructures Tree Structures}
  • + *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getTableStructures Table Structures}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription() + * @model + * @generated + */ +public interface EEFViewDescription extends ContextableElement { + /** + * Returns the value of the 'Identifier' attribute. + * + * + * + * Used to identify a specific View instance. + * + * @return the value of the 'Identifier' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFViewDescription#getIdentifier Identifier}' attribute. + * + * + * @param value the new value of the 'Identifier' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + + /** + * Returns the value of the 'Label Expression' attribute. + * + * + * + * The label of the View visible by the end-users. + * + * @return the value of the 'Label Expression' attribute. + * @see #setLabelExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_LabelExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getLabelExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFViewDescription#getLabelExpression Label Expression}' attribute. + * + * + * @param value the new value of the 'Label Expression' attribute. + * @see #getLabelExpression() + * @generated + */ + void setLabelExpression(String value); + + /** + * Returns the value of the 'EPackage Ns Uris' attribute list. + * The list contents are of type {@link java.lang.String}. + * + * + * + * References the metamodels to use thanks to their NsURIs. + * + * @return the value of the 'EPackage Ns Uris' attribute list. + * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_EPackageNsUris() + * @model + * @generated + */ + EList getEPackageNsUris(); + + /** + * Returns the value of the 'Groups' containment reference list. + * The list contents are of type {@link org.eclipse.eef.eef.EEFGroupDescription}. + * + * + * + * Contains all the defined Groups. It is defined under the View for reuasability reason and to be referenced easily from any Page. + * + * @return the value of the 'Groups' containment reference list. + * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_Groups() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getGroups(); + + /** + * Returns the value of the 'Pages' containment reference list. + * The list contents are of type {@link org.eclipse.eef.eef.EEFPageDescription}. + * + * + * + * Defines the tabs that are represented in the View. + * + * @return the value of the 'Pages' containment reference list. + * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_Pages() + * @model containment="true" resolveProxies="true" required="true" + * @generated + */ + EList getPages(); + + /** + * Returns the value of the 'Java Extensions' containment reference list. + * The list contents are of type {@link org.eclipse.eef.eef.EEFJavaExtensionDescription}. + * + * + * + * References Java classes to contribute them as services for EEF runtime interpreters. + * + * @return the value of the 'Java Extensions' containment reference list. + * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_JavaExtensions() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getJavaExtensions(); + + /** + * Returns the value of the 'Imported Views' reference list. + * The list contents are of type {@link org.eclipse.eef.eef.EEFViewDescription}. + * + * + * + * Imports other existing views to reuse groups and widgets. + * + * @return the value of the 'Imported Views' reference list. + * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_ImportedViews() + * @model + * @generated + */ + EList getImportedViews(); + + /** + * Returns the value of the 'Tree Structures' containment reference list. + * The list contents are of type {@link org.eclipse.eef.eef.EEFTreeStructureDescription}. + * + * + * + * Contains all the defined TreeDescription. It is defined under the View for reusability reason and to be referenced easily from any Tree widget. + * + * @return the value of the 'Tree Structures' containment reference list. + * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_TreeStructures() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getTreeStructures(); + + /** + * Returns the value of the 'Table Structures' containment reference list. + * The list contents are of type {@link org.eclipse.eef.eef.EEFTableStructureDescription}. + * + * + * + * Contains all the defined TableDescription. It is defined under the View for reusability reason and to be referenced easily from any Tree widget. + * + * @return the value of the 'Table Structures' containment reference list. + * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_TableStructures() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getTableStructures(); + +} // EEFViewDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFWidgetDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFWidgetDescription.java new file mode 100644 index 000000000..5c7cd2e32 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFWidgetDescription.java @@ -0,0 +1,109 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +/** + * + * A representation of the model object 'EEF Widget Description'. + * + * + * + * Graphical element. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.EEFWidgetDescription#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.eef.EEFWidgetDescription#getLabelExpression Label Expression}
  • + *
  • {@link org.eclipse.eef.eef.EEFWidgetDescription#getFeatureCandidatesExpression Feature Candidates Expression}
  • + *
+ * + * @see org.eclipse.eef.eef.EefPackage#getEEFWidgetDescription() + * @model abstract="true" + * @generated + */ +public interface EEFWidgetDescription extends ContextableElement { + /** + * Returns the value of the 'Identifier' attribute. + * + * + * + * Used to identify a specific widget. + * + * @return the value of the 'Identifier' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFWidgetDescription_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFWidgetDescription#getIdentifier Identifier}' attribute. + * + * + * @param value the new value of the 'Identifier' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + + /** + * Returns the value of the 'Label Expression' attribute. + * + * + * + * The label of the Widget visible by the end-users. + * + * @return the value of the 'Label Expression' attribute. + * @see #setLabelExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFWidgetDescription_LabelExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getLabelExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFWidgetDescription#getLabelExpression Label Expression}' attribute. + * + * + * @param value the new value of the 'Label Expression' attribute. + * @see #getLabelExpression() + * @generated + */ + void setLabelExpression(String value); + + /** + * Returns the value of the 'Feature Candidates Expression' attribute. + * + * + * + * Represents the structural feature associated to a widget. + * + * @return the value of the 'Feature Candidates Expression' attribute. + * @see #setFeatureCandidatesExpression(String) + * @see org.eclipse.eef.eef.EefPackage#getEEFWidgetDescription_FeatureCandidatesExpression() + * @model dataType="org.eclipse.eef.eef.Expression" + * @generated + */ + String getFeatureCandidatesExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.eef.EEFWidgetDescription#getFeatureCandidatesExpression Feature Candidates Expression}' attribute. + * + * + * @param value the new value of the 'Feature Candidates Expression' attribute. + * @see #getFeatureCandidatesExpression() + * @generated + */ + void setFeatureCandidatesExpression(String value); + +} // EEFWidgetDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefFactory.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefFactory.java new file mode 100644 index 000000000..b19746e8c --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefFactory.java @@ -0,0 +1,237 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.eef.eef.EefPackage + * @generated + */ +public interface EefFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + EefFactory eINSTANCE = org.eclipse.eef.eef.impl.EefFactoryImpl.init(); + + /** + * Returns a new object of class 'EEF View Description'. + * + * + * @return a new object of class 'EEF View Description'. + * @generated + */ + EEFViewDescription createEEFViewDescription(); + + /** + * Returns a new object of class 'EEF Page Description'. + * + * + * @return a new object of class 'EEF Page Description'. + * @generated + */ + EEFPageDescription createEEFPageDescription(); + + /** + * Returns a new object of class 'EEF Group Description'. + * + * + * @return a new object of class 'EEF Group Description'. + * @generated + */ + EEFGroupDescription createEEFGroupDescription(); + + /** + * Returns a new object of class 'EEF Container Description'. + * + * + * @return a new object of class 'EEF Container Description'. + * @generated + */ + EEFContainerDescription createEEFContainerDescription(); + + /** + * Returns a new object of class 'EEF Java Extension Description'. + * + * + * @return a new object of class 'EEF Java Extension Description'. + * @generated + */ + EEFJavaExtensionDescription createEEFJavaExtensionDescription(); + + /** + * Returns a new object of class 'EEF Interpreted Table Structure Description'. + * + * + * @return a new object of class 'EEF Interpreted Table Structure Description'. + * @generated + */ + EEFInterpretedTableStructureDescription createEEFInterpretedTableStructureDescription(); + + /** + * Returns a new object of class 'EEF Adapter Factory Tree Structure Description'. + * + * + * @return a new object of class 'EEF Adapter Factory Tree Structure Description'. + * @generated + */ + EEFAdapterFactoryTreeStructureDescription createEEFAdapterFactoryTreeStructureDescription(); + + /** + * Returns a new object of class 'EEF Interpreted Tree Structure Description'. + * + * + * @return a new object of class 'EEF Interpreted Tree Structure Description'. + * @generated + */ + EEFInterpretedTreeStructureDescription createEEFInterpretedTreeStructureDescription(); + + /** + * Returns a new object of class 'EEF Text Description'. + * + * + * @return a new object of class 'EEF Text Description'. + * @generated + */ + EEFTextDescription createEEFTextDescription(); + + /** + * Returns a new object of class 'EEF Checkbox Description'. + * + * + * @return a new object of class 'EEF Checkbox Description'. + * @generated + */ + EEFCheckboxDescription createEEFCheckboxDescription(); + + /** + * Returns a new object of class 'EEF Select Description'. + * + * + * @return a new object of class 'EEF Select Description'. + * @generated + */ + EEFSelectDescription createEEFSelectDescription(); + + /** + * Returns a new object of class 'EEF Label Description'. + * + * + * @return a new object of class 'EEF Label Description'. + * @generated + */ + EEFLabelDescription createEEFLabelDescription(); + + /** + * Returns a new object of class 'EEF Radio Description'. + * + * + * @return a new object of class 'EEF Radio Description'. + * @generated + */ + EEFRadioDescription createEEFRadioDescription(); + + /** + * Returns a new object of class 'EEF Tree Dialog Select Description'. + * + * + * @return a new object of class 'EEF Tree Dialog Select Description'. + * @generated + */ + EEFTreeDialogSelectDescription createEEFTreeDialogSelectDescription(); + + /** + * Returns a new object of class 'EEF Link Description'. + * + * + * @return a new object of class 'EEF Link Description'. + * @generated + */ + EEFLinkDescription createEEFLinkDescription(); + + /** + * Returns a new object of class 'EEF Image Description'. + * + * + * @return a new object of class 'EEF Image Description'. + * @generated + */ + EEFImageDescription createEEFImageDescription(); + + /** + * Returns a new object of class 'EEF Tree Description'. + * + * + * @return a new object of class 'EEF Tree Description'. + * @generated + */ + EEFTreeDescription createEEFTreeDescription(); + + /** + * Returns a new object of class 'EEF Image Picker Description'. + * + * + * @return a new object of class 'EEF Image Picker Description'. + * @generated + */ + EEFImagePickerDescription createEEFImagePickerDescription(); + + /** + * Returns a new object of class 'EEF Table Description'. + * + * + * @return a new object of class 'EEF Table Description'. + * @generated + */ + EEFTableDescription createEEFTableDescription(); + + /** + * Returns a new object of class 'EEF Column Description'. + * + * + * @return a new object of class 'EEF Column Description'. + * @generated + */ + EEFColumnDescription createEEFColumnDescription(); + + /** + * Returns a new object of class 'EEF Line Description'. + * + * + * @return a new object of class 'EEF Line Description'. + * @generated + */ + EEFLineDescription createEEFLineDescription(); + + /** + * Returns a new object of class 'EEF Adapter Factory Table Structure Description'. + * + * + * @return a new object of class 'EEF Adapter Factory Table Structure Description'. + * @generated + */ + EEFAdapterFactoryTableStructureDescription createEEFAdapterFactoryTableStructureDescription(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + EefPackage getEefPackage(); + +} //EefFactory diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefPackage.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefPackage.java new file mode 100644 index 000000000..b25975498 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefPackage.java @@ -0,0 +1,4239 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @see org.eclipse.eef.eef.EefFactory + * @model kind="package" + * @generated + */ +public interface EefPackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "eef"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.eclipse.org/eef"; //$NON-NLS-1$ + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "eef"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * + * + * @generated + */ + EefPackage eINSTANCE = org.eclipse.eef.eef.impl.EefPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.ContextableElementImpl Contextable Element}' class. + * + * + * @see org.eclipse.eef.eef.impl.ContextableElementImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getContextableElement() + * @generated + */ + int CONTEXTABLE_ELEMENT = 26; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES = 0; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES = 1; + + /** + * The number of structural features of the 'Contextable Element' class. + * + * + * @generated + * @ordered + */ + int CONTEXTABLE_ELEMENT_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl EEF View Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFViewDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFViewDescription() + * @generated + */ + int EEF_VIEW_DESCRIPTION = 0; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'EPackage Ns Uris' attribute list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Groups' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__GROUPS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Pages' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__PAGES = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; + + /** + * The feature id for the 'Java Extensions' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + + /** + * The feature id for the 'Imported Views' reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; + + /** + * The feature id for the 'Tree Structures' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__TREE_STRUCTURES = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 7; + + /** + * The feature id for the 'Table Structures' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 8; + + /** + * The number of structural features of the 'EEF View Description' class. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 9; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl EEF Page Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFPageDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFPageDescription() + * @generated + */ + int EEF_PAGE_DESCRIPTION = 1; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Domain Class' attribute. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__DOMAIN_CLASS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Semantic Candidate Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Groups' reference list. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__GROUPS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; + + /** + * The feature id for the 'Extended Page' reference. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__EXTENDED_PAGE = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + + /** + * The number of structural features of the 'EEF Page Description' class. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl EEF Group Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFGroupDescription() + * @generated + */ + int EEF_GROUP_DESCRIPTION = 2; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Domain Class' attribute. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__DOMAIN_CLASS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Semantic Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Container' containment reference. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__CONTAINER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; + + /** + * The number of structural features of the 'EEF Group Description' class. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl EEF Container Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFContainerDescription() + * @generated + */ + int EEF_CONTAINER_DESCRIPTION = 3; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Semantic Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Domain Class' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Layout Column Count' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Containers' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__CONTAINERS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; + + /** + * The feature id for the 'Widgets' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__WIDGETS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + + /** + * The number of structural features of the 'EEF Container Description' class. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFWidgetDescriptionImpl EEF Widget Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFWidgetDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFWidgetDescription() + * @generated + */ + int EEF_WIDGET_DESCRIPTION = 4; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_WIDGET_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Feature Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'EEF Widget Description' class. + * + * + * @generated + * @ordered + */ + int EEF_WIDGET_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFJavaExtensionDescriptionImpl EEF Java Extension Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFJavaExtensionDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFJavaExtensionDescription() + * @generated + */ + int EEF_JAVA_EXTENSION_DESCRIPTION = 5; + + /** + * The feature id for the 'Qualified Name' attribute. + * + * + * @generated + * @ordered + */ + int EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME = 0; + + /** + * The number of structural features of the 'EEF Java Extension Description' class. + * + * + * @generated + * @ordered + */ + int EEF_JAVA_EXTENSION_DESCRIPTION_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFTreeStructureDescriptionImpl EEF Tree Structure Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFTreeStructureDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTreeStructureDescription() + * @generated + */ + int EEF_TREE_STRUCTURE_DESCRIPTION = 6; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = 0; + + /** + * The feature id for the 'Multiple' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = 1; + + /** + * The number of structural features of the 'EEF Tree Structure Description' class. + * + * + * @generated + * @ordered + */ + int EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFTableStructureDescriptionImpl EEF Table Structure Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFTableStructureDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTableStructureDescription() + * @generated + */ + int EEF_TABLE_STRUCTURE_DESCRIPTION = 24; + + /** + * The feature id for the 'Multiple' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = 0; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = 1; + + /** + * The number of structural features of the 'EEF Table Structure Description' class. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFInterpretedTableStructureDescriptionImpl EEF Interpreted Table Structure Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFInterpretedTableStructureDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFInterpretedTableStructureDescription() + * @generated + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION = 7; + + /** + * The feature id for the 'Multiple' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Columns' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Line' containment reference. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'EEF Interpreted Table Structure Description' class. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFCellWidgetDescriptionImpl EEF Cell Widget Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFCellWidgetDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFCellWidgetDescription() + * @generated + */ + int EEF_CELL_WIDGET_DESCRIPTION = 8; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Feature Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; + + /** + * The number of structural features of the 'EEF Cell Widget Description' class. + * + * + * @generated + * @ordered + */ + int EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl EEF Adapter Factory Tree Structure Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFAdapterFactoryTreeStructureDescription() + * @generated + */ + int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION = 9; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Multiple' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE; + + /** + * The feature id for the 'Adapter Factory Provider' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + + 0; + + /** + * The number of structural features of the 'EEF Adapter Factory Tree Structure Description' class. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl EEF Interpreted Tree Structure Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFInterpretedTreeStructureDescription() + * @generated + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION = 10; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Multiple' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE; + + /** + * The feature id for the 'Roots Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Children Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + + 1; + + /** + * The feature id for the 'Selectable Predicate Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + + 2; + + /** + * The feature id for the 'Candidate Display Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + + 3; + + /** + * The number of structural features of the 'EEF Interpreted Tree Structure Description' class. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 4; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFTextDescriptionImpl EEF Text Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFTextDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTextDescription() + * @generated + */ + int EEF_TEXT_DESCRIPTION = 11; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Feature Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Edit Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Line Count' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__LINE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'EEF Text Description' class. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFCheckboxDescriptionImpl EEF Checkbox Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFCheckboxDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFCheckboxDescription() + * @generated + */ + int EEF_CHECKBOX_DESCRIPTION = 12; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Feature Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Edit Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'EEF Checkbox Description' class. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl EEF Select Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFSelectDescription() + * @generated + */ + int EEF_SELECT_DESCRIPTION = 13; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Feature Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Edit Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Multiple' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__MULTIPLE = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Candidate Display Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; + + /** + * The number of structural features of the 'EEF Select Description' class. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 5; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFLabelDescriptionImpl EEF Label Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFLabelDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFLabelDescription() + * @generated + */ + int EEF_LABEL_DESCRIPTION = 14; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Feature Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'EEF Label Description' class. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl EEF Radio Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFRadioDescription() + * @generated + */ + int EEF_RADIO_DESCRIPTION = 15; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Feature Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Edit Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Candidate Display Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The number of structural features of the 'EEF Radio Description' class. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl EEF Tree Dialog Select Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTreeDialogSelectDescription() + * @generated + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION = 16; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Feature Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; + + /** + * The feature id for the 'Semantic Candidate Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + + 0; + + /** + * The feature id for the 'Default Filter' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Domain Class' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Tree' reference. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The number of structural features of the 'EEF Tree Dialog Select Description' class. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFLinkDescriptionImpl EEF Link Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFLinkDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFLinkDescription() + * @generated + */ + int EEF_LINK_DESCRIPTION = 17; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Feature Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; + + /** + * The feature id for the 'On Click Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'EEF Link Description' class. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFImageDescriptionImpl EEF Image Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFImageDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFImageDescription() + * @generated + */ + int EEF_IMAGE_DESCRIPTION = 18; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Feature Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'EEF Image Description' class. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFTreeDescriptionImpl EEF Tree Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFTreeDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTreeDescription() + * @generated + */ + int EEF_TREE_DESCRIPTION = 19; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Feature Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Tree Structure' reference. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__TREE_STRUCTURE = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Edit Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'EEF Tree Description' class. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFImagePickerDescriptionImpl EEF Image Picker Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFImagePickerDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFImagePickerDescription() + * @generated + */ + int EEF_IMAGE_PICKER_DESCRIPTION = 20; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Feature Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Edit Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'EEF Image Picker Description' class. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFTableDescriptionImpl EEF Table Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFTableDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTableDescription() + * @generated + */ + int EEF_TABLE_DESCRIPTION = 21; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Feature Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Edit Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Table Structure' reference. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'EEF Table Description' class. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl EEF Column Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFColumnDescription() + * @generated + */ + int EEF_COLUMN_DESCRIPTION = 22; + + /** + * The feature id for the 'Width' attribute. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_DESCRIPTION__WIDTH = 0; + + /** + * The feature id for the 'Header Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION = 1; + + /** + * The feature id for the 'Cell Widget' reference. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_DESCRIPTION__CELL_WIDGET = 2; + + /** + * The feature id for the 'Context Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION = 3; + + /** + * The number of structural features of the 'EEF Column Description' class. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_DESCRIPTION_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFLineDescriptionImpl EEF Line Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFLineDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFLineDescription() + * @generated + */ + int EEF_LINE_DESCRIPTION = 23; + + /** + * The feature id for the 'Header Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINE_DESCRIPTION__HEADER_EXPRESSION = 0; + + /** + * The feature id for the 'Semantic Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = 1; + + /** + * The feature id for the 'Domain Class' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINE_DESCRIPTION__DOMAIN_CLASS = 2; + + /** + * The feature id for the 'Sub Lines' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_LINE_DESCRIPTION__SUB_LINES = 3; + + /** + * The number of structural features of the 'EEF Line Description' class. + * + * + * @generated + * @ordered + */ + int EEF_LINE_DESCRIPTION_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl EEF Adapter Factory Table Structure Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFAdapterFactoryTableStructureDescription() + * @generated + */ + int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION = 25; + + /** + * The feature id for the 'Multiple' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Adapter Factory Provider' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + + 0; + + /** + * The number of structural features of the 'EEF Adapter Factory Table Structure Description' class. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + + 1; + + /** + * The meta object id for the 'Expression' data type. + * + * + * @see java.lang.String + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getExpression() + * @generated + */ + int EXPRESSION = 27; + + /** + * The meta object id for the 'Type Name' data type. + * + * + * @see java.lang.String + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getTypeName() + * @generated + */ + int TYPE_NAME = 28; + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFViewDescription EEF View Description}'. + * + * + * @return the meta object for class 'EEF View Description'. + * @see org.eclipse.eef.eef.EEFViewDescription + * @generated + */ + EClass getEEFViewDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFViewDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.eef.EEFViewDescription#getIdentifier() + * @see #getEEFViewDescription() + * @generated + */ + EAttribute getEEFViewDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFViewDescription#getLabelExpression Label Expression}'. + * + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.eef.EEFViewDescription#getLabelExpression() + * @see #getEEFViewDescription() + * @generated + */ + EAttribute getEEFViewDescription_LabelExpression(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.eef.eef.EEFViewDescription#getEPackageNsUris EPackage Ns Uris}'. + * + * + * @return the meta object for the attribute list 'EPackage Ns Uris'. + * @see org.eclipse.eef.eef.EEFViewDescription#getEPackageNsUris() + * @see #getEEFViewDescription() + * @generated + */ + EAttribute getEEFViewDescription_EPackageNsUris(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFViewDescription#getGroups Groups}'. + * + * + * @return the meta object for the containment reference list 'Groups'. + * @see org.eclipse.eef.eef.EEFViewDescription#getGroups() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_Groups(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFViewDescription#getPages Pages}'. + * + * + * @return the meta object for the containment reference list 'Pages'. + * @see org.eclipse.eef.eef.EEFViewDescription#getPages() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_Pages(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFViewDescription#getJavaExtensions Java Extensions}'. + * + * + * @return the meta object for the containment reference list 'Java Extensions'. + * @see org.eclipse.eef.eef.EEFViewDescription#getJavaExtensions() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_JavaExtensions(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.eef.eef.EEFViewDescription#getImportedViews Imported Views}'. + * + * + * @return the meta object for the reference list 'Imported Views'. + * @see org.eclipse.eef.eef.EEFViewDescription#getImportedViews() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_ImportedViews(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFViewDescription#getTreeStructures Tree Structures}'. + * + * + * @return the meta object for the containment reference list 'Tree Structures'. + * @see org.eclipse.eef.eef.EEFViewDescription#getTreeStructures() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_TreeStructures(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFViewDescription#getTableStructures Table Structures}'. + * + * + * @return the meta object for the containment reference list 'Table Structures'. + * @see org.eclipse.eef.eef.EEFViewDescription#getTableStructures() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_TableStructures(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFPageDescription EEF Page Description}'. + * + * + * @return the meta object for class 'EEF Page Description'. + * @see org.eclipse.eef.eef.EEFPageDescription + * @generated + */ + EClass getEEFPageDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFPageDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.eef.EEFPageDescription#getIdentifier() + * @see #getEEFPageDescription() + * @generated + */ + EAttribute getEEFPageDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFPageDescription#getLabelExpression Label Expression}'. + * + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.eef.EEFPageDescription#getLabelExpression() + * @see #getEEFPageDescription() + * @generated + */ + EAttribute getEEFPageDescription_LabelExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFPageDescription#getDomainClass Domain Class}'. + * + * + * @return the meta object for the attribute 'Domain Class'. + * @see org.eclipse.eef.eef.EEFPageDescription#getDomainClass() + * @see #getEEFPageDescription() + * @generated + */ + EAttribute getEEFPageDescription_DomainClass(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. + * + * + * @return the meta object for the attribute 'Semantic Candidate Expression'. + * @see org.eclipse.eef.eef.EEFPageDescription#getSemanticCandidateExpression() + * @see #getEEFPageDescription() + * @generated + */ + EAttribute getEEFPageDescription_SemanticCandidateExpression(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.eef.eef.EEFPageDescription#getGroups Groups}'. + * + * + * @return the meta object for the reference list 'Groups'. + * @see org.eclipse.eef.eef.EEFPageDescription#getGroups() + * @see #getEEFPageDescription() + * @generated + */ + EReference getEEFPageDescription_Groups(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.eef.EEFPageDescription#getExtendedPage Extended Page}'. + * + * + * @return the meta object for the reference 'Extended Page'. + * @see org.eclipse.eef.eef.EEFPageDescription#getExtendedPage() + * @see #getEEFPageDescription() + * @generated + */ + EReference getEEFPageDescription_ExtendedPage(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFGroupDescription EEF Group Description}'. + * + * + * @return the meta object for class 'EEF Group Description'. + * @see org.eclipse.eef.eef.EEFGroupDescription + * @generated + */ + EClass getEEFGroupDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFGroupDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.eef.EEFGroupDescription#getIdentifier() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFGroupDescription#getLabelExpression Label Expression}'. + * + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.eef.EEFGroupDescription#getLabelExpression() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_LabelExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFGroupDescription#getDomainClass Domain Class}'. + * + * + * @return the meta object for the attribute 'Domain Class'. + * @see org.eclipse.eef.eef.EEFGroupDescription#getDomainClass() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_DomainClass(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFGroupDescription#getSemanticCandidatesExpression Semantic Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Semantic Candidates Expression'. + * @see org.eclipse.eef.eef.EEFGroupDescription#getSemanticCandidatesExpression() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_SemanticCandidatesExpression(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.eef.EEFGroupDescription#getContainer Container}'. + * + * + * @return the meta object for the containment reference 'Container'. + * @see org.eclipse.eef.eef.EEFGroupDescription#getContainer() + * @see #getEEFGroupDescription() + * @generated + */ + EReference getEEFGroupDescription_Container(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFContainerDescription EEF Container Description}'. + * + * + * @return the meta object for class 'EEF Container Description'. + * @see org.eclipse.eef.eef.EEFContainerDescription + * @generated + */ + EClass getEEFContainerDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFContainerDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.eef.EEFContainerDescription#getIdentifier() + * @see #getEEFContainerDescription() + * @generated + */ + EAttribute getEEFContainerDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFContainerDescription#getSemanticCandidatesExpression Semantic Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Semantic Candidates Expression'. + * @see org.eclipse.eef.eef.EEFContainerDescription#getSemanticCandidatesExpression() + * @see #getEEFContainerDescription() + * @generated + */ + EAttribute getEEFContainerDescription_SemanticCandidatesExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFContainerDescription#getDomainClass Domain Class}'. + * + * + * @return the meta object for the attribute 'Domain Class'. + * @see org.eclipse.eef.eef.EEFContainerDescription#getDomainClass() + * @see #getEEFContainerDescription() + * @generated + */ + EAttribute getEEFContainerDescription_DomainClass(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFContainerDescription#getLayoutColumnCount Layout Column Count}'. + * + * + * @return the meta object for the attribute 'Layout Column Count'. + * @see org.eclipse.eef.eef.EEFContainerDescription#getLayoutColumnCount() + * @see #getEEFContainerDescription() + * @generated + */ + EAttribute getEEFContainerDescription_LayoutColumnCount(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFContainerDescription#getContainers Containers}'. + * + * + * @return the meta object for the containment reference list 'Containers'. + * @see org.eclipse.eef.eef.EEFContainerDescription#getContainers() + * @see #getEEFContainerDescription() + * @generated + */ + EReference getEEFContainerDescription_Containers(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFContainerDescription#getWidgets Widgets}'. + * + * + * @return the meta object for the containment reference list 'Widgets'. + * @see org.eclipse.eef.eef.EEFContainerDescription#getWidgets() + * @see #getEEFContainerDescription() + * @generated + */ + EReference getEEFContainerDescription_Widgets(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFWidgetDescription EEF Widget Description}'. + * + * + * @return the meta object for class 'EEF Widget Description'. + * @see org.eclipse.eef.eef.EEFWidgetDescription + * @generated + */ + EClass getEEFWidgetDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFWidgetDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.eef.EEFWidgetDescription#getIdentifier() + * @see #getEEFWidgetDescription() + * @generated + */ + EAttribute getEEFWidgetDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFWidgetDescription#getLabelExpression Label Expression}'. + * + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.eef.EEFWidgetDescription#getLabelExpression() + * @see #getEEFWidgetDescription() + * @generated + */ + EAttribute getEEFWidgetDescription_LabelExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFWidgetDescription#getFeatureCandidatesExpression Feature Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Feature Candidates Expression'. + * @see org.eclipse.eef.eef.EEFWidgetDescription#getFeatureCandidatesExpression() + * @see #getEEFWidgetDescription() + * @generated + */ + EAttribute getEEFWidgetDescription_FeatureCandidatesExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFJavaExtensionDescription EEF Java Extension Description}'. + * + * + * @return the meta object for class 'EEF Java Extension Description'. + * @see org.eclipse.eef.eef.EEFJavaExtensionDescription + * @generated + */ + EClass getEEFJavaExtensionDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFJavaExtensionDescription#getQualifiedName Qualified Name}'. + * + * + * @return the meta object for the attribute 'Qualified Name'. + * @see org.eclipse.eef.eef.EEFJavaExtensionDescription#getQualifiedName() + * @see #getEEFJavaExtensionDescription() + * @generated + */ + EAttribute getEEFJavaExtensionDescription_QualifiedName(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFTreeStructureDescription EEF Tree Structure Description}'. + * + * + * @return the meta object for class 'EEF Tree Structure Description'. + * @see org.eclipse.eef.eef.EEFTreeStructureDescription + * @generated + */ + EClass getEEFTreeStructureDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTreeStructureDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.eef.EEFTreeStructureDescription#getIdentifier() + * @see #getEEFTreeStructureDescription() + * @generated + */ + EAttribute getEEFTreeStructureDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTreeStructureDescription#isMultiple Multiple}'. + * + * + * @return the meta object for the attribute 'Multiple'. + * @see org.eclipse.eef.eef.EEFTreeStructureDescription#isMultiple() + * @see #getEEFTreeStructureDescription() + * @generated + */ + EAttribute getEEFTreeStructureDescription_Multiple(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription EEF Interpreted Table Structure Description}'. + * + * + * @return the meta object for class 'EEF Interpreted Table Structure Description'. + * @see org.eclipse.eef.eef.EEFInterpretedTableStructureDescription + * @generated + */ + EClass getEEFInterpretedTableStructureDescription(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription#getColumns Columns}'. + * + * + * @return the meta object for the containment reference list 'Columns'. + * @see org.eclipse.eef.eef.EEFInterpretedTableStructureDescription#getColumns() + * @see #getEEFInterpretedTableStructureDescription() + * @generated + */ + EReference getEEFInterpretedTableStructureDescription_Columns(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription#getLine Line}'. + * + * + * @return the meta object for the containment reference 'Line'. + * @see org.eclipse.eef.eef.EEFInterpretedTableStructureDescription#getLine() + * @see #getEEFInterpretedTableStructureDescription() + * @generated + */ + EReference getEEFInterpretedTableStructureDescription_Line(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFCellWidgetDescription EEF Cell Widget Description}'. + * + * + * @return the meta object for class 'EEF Cell Widget Description'. + * @see org.eclipse.eef.eef.EEFCellWidgetDescription + * @generated + */ + EClass getEEFCellWidgetDescription(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription EEF Adapter Factory Tree Structure Description}'. + * + * + * @return the meta object for class 'EEF Adapter Factory Tree Structure Description'. + * @see org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription + * @generated + */ + EClass getEEFAdapterFactoryTreeStructureDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}'. + * + * + * @return the meta object for the attribute 'Adapter Factory Provider'. + * @see org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider() + * @see #getEEFAdapterFactoryTreeStructureDescription() + * @generated + */ + EAttribute getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription EEF Interpreted Tree Structure Description}'. + * + * + * @return the meta object for class 'EEF Interpreted Tree Structure Description'. + * @see org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription + * @generated + */ + EClass getEEFInterpretedTreeStructureDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getRootsExpression Roots Expression}'. + * + * + * @return the meta object for the attribute 'Roots Expression'. + * @see org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getRootsExpression() + * @see #getEEFInterpretedTreeStructureDescription() + * @generated + */ + EAttribute getEEFInterpretedTreeStructureDescription_RootsExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression Children Expression}'. + * + * + * @return the meta object for the attribute 'Children Expression'. + * @see org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression() + * @see #getEEFInterpretedTreeStructureDescription() + * @generated + */ + EAttribute getEEFInterpretedTreeStructureDescription_ChildrenExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression Selectable Predicate Expression}'. + * + * + * @return the meta object for the attribute 'Selectable Predicate Expression'. + * @see org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression() + * @see #getEEFInterpretedTreeStructureDescription() + * @generated + */ + EAttribute getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression Candidate Display Expression}'. + * + * + * @return the meta object for the attribute 'Candidate Display Expression'. + * @see org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression() + * @see #getEEFInterpretedTreeStructureDescription() + * @generated + */ + EAttribute getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFTextDescription EEF Text Description}'. + * + * + * @return the meta object for class 'EEF Text Description'. + * @see org.eclipse.eef.eef.EEFTextDescription + * @generated + */ + EClass getEEFTextDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTextDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.eef.EEFTextDescription#getValueExpression() + * @see #getEEFTextDescription() + * @generated + */ + EAttribute getEEFTextDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTextDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.eef.EEFTextDescription#getEditExpression() + * @see #getEEFTextDescription() + * @generated + */ + EAttribute getEEFTextDescription_EditExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTextDescription#getLineCount Line Count}'. + * + * + * @return the meta object for the attribute 'Line Count'. + * @see org.eclipse.eef.eef.EEFTextDescription#getLineCount() + * @see #getEEFTextDescription() + * @generated + */ + EAttribute getEEFTextDescription_LineCount(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFCheckboxDescription EEF Checkbox Description}'. + * + * + * @return the meta object for class 'EEF Checkbox Description'. + * @see org.eclipse.eef.eef.EEFCheckboxDescription + * @generated + */ + EClass getEEFCheckboxDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFCheckboxDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.eef.EEFCheckboxDescription#getValueExpression() + * @see #getEEFCheckboxDescription() + * @generated + */ + EAttribute getEEFCheckboxDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFCheckboxDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.eef.EEFCheckboxDescription#getEditExpression() + * @see #getEEFCheckboxDescription() + * @generated + */ + EAttribute getEEFCheckboxDescription_EditExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFSelectDescription EEF Select Description}'. + * + * + * @return the meta object for class 'EEF Select Description'. + * @see org.eclipse.eef.eef.EEFSelectDescription + * @generated + */ + EClass getEEFSelectDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFSelectDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.eef.EEFSelectDescription#getValueExpression() + * @see #getEEFSelectDescription() + * @generated + */ + EAttribute getEEFSelectDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFSelectDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.eef.EEFSelectDescription#getEditExpression() + * @see #getEEFSelectDescription() + * @generated + */ + EAttribute getEEFSelectDescription_EditExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFSelectDescription#getCandidatesExpression Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Candidates Expression'. + * @see org.eclipse.eef.eef.EEFSelectDescription#getCandidatesExpression() + * @see #getEEFSelectDescription() + * @generated + */ + EAttribute getEEFSelectDescription_CandidatesExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFSelectDescription#isMultiple Multiple}'. + * + * + * @return the meta object for the attribute 'Multiple'. + * @see org.eclipse.eef.eef.EEFSelectDescription#isMultiple() + * @see #getEEFSelectDescription() + * @generated + */ + EAttribute getEEFSelectDescription_Multiple(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFSelectDescription#getCandidateDisplayExpression Candidate Display Expression}'. + * + * + * @return the meta object for the attribute 'Candidate Display Expression'. + * @see org.eclipse.eef.eef.EEFSelectDescription#getCandidateDisplayExpression() + * @see #getEEFSelectDescription() + * @generated + */ + EAttribute getEEFSelectDescription_CandidateDisplayExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFLabelDescription EEF Label Description}'. + * + * + * @return the meta object for class 'EEF Label Description'. + * @see org.eclipse.eef.eef.EEFLabelDescription + * @generated + */ + EClass getEEFLabelDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFLabelDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.eef.EEFLabelDescription#getValueExpression() + * @see #getEEFLabelDescription() + * @generated + */ + EAttribute getEEFLabelDescription_ValueExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFRadioDescription EEF Radio Description}'. + * + * + * @return the meta object for class 'EEF Radio Description'. + * @see org.eclipse.eef.eef.EEFRadioDescription + * @generated + */ + EClass getEEFRadioDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFRadioDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.eef.EEFRadioDescription#getValueExpression() + * @see #getEEFRadioDescription() + * @generated + */ + EAttribute getEEFRadioDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFRadioDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.eef.EEFRadioDescription#getEditExpression() + * @see #getEEFRadioDescription() + * @generated + */ + EAttribute getEEFRadioDescription_EditExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFRadioDescription#getCandidatesExpression Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Candidates Expression'. + * @see org.eclipse.eef.eef.EEFRadioDescription#getCandidatesExpression() + * @see #getEEFRadioDescription() + * @generated + */ + EAttribute getEEFRadioDescription_CandidatesExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFRadioDescription#getCandidateDisplayExpression Candidate Display Expression}'. + * + * + * @return the meta object for the attribute 'Candidate Display Expression'. + * @see org.eclipse.eef.eef.EEFRadioDescription#getCandidateDisplayExpression() + * @see #getEEFRadioDescription() + * @generated + */ + EAttribute getEEFRadioDescription_CandidateDisplayExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription EEF Tree Dialog Select Description}'. + * + * + * @return the meta object for class 'EEF Tree Dialog Select Description'. + * @see org.eclipse.eef.eef.EEFTreeDialogSelectDescription + * @generated + */ + EClass getEEFTreeDialogSelectDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. + * + * + * @return the meta object for the attribute 'Semantic Candidate Expression'. + * @see org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression() + * @see #getEEFTreeDialogSelectDescription() + * @generated + */ + EAttribute getEEFTreeDialogSelectDescription_SemanticCandidateExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDefaultFilter Default Filter}'. + * + * + * @return the meta object for the attribute 'Default Filter'. + * @see org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDefaultFilter() + * @see #getEEFTreeDialogSelectDescription() + * @generated + */ + EAttribute getEEFTreeDialogSelectDescription_DefaultFilter(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDomainClass Domain Class}'. + * + * + * @return the meta object for the attribute 'Domain Class'. + * @see org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDomainClass() + * @see #getEEFTreeDialogSelectDescription() + * @generated + */ + EAttribute getEEFTreeDialogSelectDescription_DomainClass(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getTree Tree}'. + * + * + * @return the meta object for the reference 'Tree'. + * @see org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getTree() + * @see #getEEFTreeDialogSelectDescription() + * @generated + */ + EReference getEEFTreeDialogSelectDescription_Tree(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFLinkDescription EEF Link Description}'. + * + * + * @return the meta object for class 'EEF Link Description'. + * @see org.eclipse.eef.eef.EEFLinkDescription + * @generated + */ + EClass getEEFLinkDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFLinkDescription#getOnClickExpression On Click Expression}'. + * + * + * @return the meta object for the attribute 'On Click Expression'. + * @see org.eclipse.eef.eef.EEFLinkDescription#getOnClickExpression() + * @see #getEEFLinkDescription() + * @generated + */ + EAttribute getEEFLinkDescription_OnClickExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFImageDescription EEF Image Description}'. + * + * + * @return the meta object for class 'EEF Image Description'. + * @see org.eclipse.eef.eef.EEFImageDescription + * @generated + */ + EClass getEEFImageDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFImageDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.eef.EEFImageDescription#getValueExpression() + * @see #getEEFImageDescription() + * @generated + */ + EAttribute getEEFImageDescription_ValueExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFTreeDescription EEF Tree Description}'. + * + * + * @return the meta object for class 'EEF Tree Description'. + * @see org.eclipse.eef.eef.EEFTreeDescription + * @generated + */ + EClass getEEFTreeDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTreeDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.eef.EEFTreeDescription#getValueExpression() + * @see #getEEFTreeDescription() + * @generated + */ + EAttribute getEEFTreeDescription_ValueExpression(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.eef.EEFTreeDescription#getTreeStructure Tree Structure}'. + * + * + * @return the meta object for the reference 'Tree Structure'. + * @see org.eclipse.eef.eef.EEFTreeDescription#getTreeStructure() + * @see #getEEFTreeDescription() + * @generated + */ + EReference getEEFTreeDescription_TreeStructure(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTreeDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.eef.EEFTreeDescription#getEditExpression() + * @see #getEEFTreeDescription() + * @generated + */ + EAttribute getEEFTreeDescription_EditExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFImagePickerDescription EEF Image Picker Description}'. + * + * + * @return the meta object for class 'EEF Image Picker Description'. + * @see org.eclipse.eef.eef.EEFImagePickerDescription + * @generated + */ + EClass getEEFImagePickerDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFImagePickerDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.eef.EEFImagePickerDescription#getValueExpression() + * @see #getEEFImagePickerDescription() + * @generated + */ + EAttribute getEEFImagePickerDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFImagePickerDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.eef.EEFImagePickerDescription#getEditExpression() + * @see #getEEFImagePickerDescription() + * @generated + */ + EAttribute getEEFImagePickerDescription_EditExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFImagePickerDescription#getCandidatesExpression Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Candidates Expression'. + * @see org.eclipse.eef.eef.EEFImagePickerDescription#getCandidatesExpression() + * @see #getEEFImagePickerDescription() + * @generated + */ + EAttribute getEEFImagePickerDescription_CandidatesExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFTableDescription EEF Table Description}'. + * + * + * @return the meta object for class 'EEF Table Description'. + * @see org.eclipse.eef.eef.EEFTableDescription + * @generated + */ + EClass getEEFTableDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTableDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.eef.EEFTableDescription#getValueExpression() + * @see #getEEFTableDescription() + * @generated + */ + EAttribute getEEFTableDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTableDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.eef.EEFTableDescription#getEditExpression() + * @see #getEEFTableDescription() + * @generated + */ + EAttribute getEEFTableDescription_EditExpression(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.eef.EEFTableDescription#getTableStructure Table Structure}'. + * + * + * @return the meta object for the reference 'Table Structure'. + * @see org.eclipse.eef.eef.EEFTableDescription#getTableStructure() + * @see #getEEFTableDescription() + * @generated + */ + EReference getEEFTableDescription_TableStructure(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFColumnDescription EEF Column Description}'. + * + * + * @return the meta object for class 'EEF Column Description'. + * @see org.eclipse.eef.eef.EEFColumnDescription + * @generated + */ + EClass getEEFColumnDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFColumnDescription#getWidth Width}'. + * + * + * @return the meta object for the attribute 'Width'. + * @see org.eclipse.eef.eef.EEFColumnDescription#getWidth() + * @see #getEEFColumnDescription() + * @generated + */ + EAttribute getEEFColumnDescription_Width(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFColumnDescription#getHeaderExpression Header Expression}'. + * + * + * @return the meta object for the attribute 'Header Expression'. + * @see org.eclipse.eef.eef.EEFColumnDescription#getHeaderExpression() + * @see #getEEFColumnDescription() + * @generated + */ + EAttribute getEEFColumnDescription_HeaderExpression(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.eef.EEFColumnDescription#getCellWidget Cell Widget}'. + * + * + * @return the meta object for the reference 'Cell Widget'. + * @see org.eclipse.eef.eef.EEFColumnDescription#getCellWidget() + * @see #getEEFColumnDescription() + * @generated + */ + EReference getEEFColumnDescription_CellWidget(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFColumnDescription#getContextCandidatesExpression Context Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Context Candidates Expression'. + * @see org.eclipse.eef.eef.EEFColumnDescription#getContextCandidatesExpression() + * @see #getEEFColumnDescription() + * @generated + */ + EAttribute getEEFColumnDescription_ContextCandidatesExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFLineDescription EEF Line Description}'. + * + * + * @return the meta object for class 'EEF Line Description'. + * @see org.eclipse.eef.eef.EEFLineDescription + * @generated + */ + EClass getEEFLineDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFLineDescription#getHeaderExpression Header Expression}'. + * + * + * @return the meta object for the attribute 'Header Expression'. + * @see org.eclipse.eef.eef.EEFLineDescription#getHeaderExpression() + * @see #getEEFLineDescription() + * @generated + */ + EAttribute getEEFLineDescription_HeaderExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFLineDescription#getSemanticCandidatesExpression Semantic Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Semantic Candidates Expression'. + * @see org.eclipse.eef.eef.EEFLineDescription#getSemanticCandidatesExpression() + * @see #getEEFLineDescription() + * @generated + */ + EAttribute getEEFLineDescription_SemanticCandidatesExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFLineDescription#getDomainClass Domain Class}'. + * + * + * @return the meta object for the attribute 'Domain Class'. + * @see org.eclipse.eef.eef.EEFLineDescription#getDomainClass() + * @see #getEEFLineDescription() + * @generated + */ + EAttribute getEEFLineDescription_DomainClass(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFLineDescription#getSubLines Sub Lines}'. + * + * + * @return the meta object for the containment reference list 'Sub Lines'. + * @see org.eclipse.eef.eef.EEFLineDescription#getSubLines() + * @see #getEEFLineDescription() + * @generated + */ + EReference getEEFLineDescription_SubLines(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFTableStructureDescription EEF Table Structure Description}'. + * + * + * @return the meta object for class 'EEF Table Structure Description'. + * @see org.eclipse.eef.eef.EEFTableStructureDescription + * @generated + */ + EClass getEEFTableStructureDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTableStructureDescription#isMultiple Multiple}'. + * + * + * @return the meta object for the attribute 'Multiple'. + * @see org.eclipse.eef.eef.EEFTableStructureDescription#isMultiple() + * @see #getEEFTableStructureDescription() + * @generated + */ + EAttribute getEEFTableStructureDescription_Multiple(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTableStructureDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.eef.EEFTableStructureDescription#getIdentifier() + * @see #getEEFTableStructureDescription() + * @generated + */ + EAttribute getEEFTableStructureDescription_Identifier(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription EEF Adapter Factory Table Structure Description}'. + * + * + * @return the meta object for class 'EEF Adapter Factory Table Structure Description'. + * @see org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription + * @generated + */ + EClass getEEFAdapterFactoryTableStructureDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}'. + * + * + * @return the meta object for the attribute 'Adapter Factory Provider'. + * @see org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider() + * @see #getEEFAdapterFactoryTableStructureDescription() + * @generated + */ + EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.eef.ContextableElement Contextable Element}'. + * + * + * @return the meta object for class 'Contextable Element'. + * @see org.eclipse.eef.eef.ContextableElement + * @generated + */ + EClass getContextableElement(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.ContextableElement#getRequiredContextVariables Required Context Variables}'. + * + * + * @return the meta object for the containment reference list 'Required Context Variables'. + * @see org.eclipse.eef.eef.ContextableElement#getRequiredContextVariables() + * @see #getContextableElement() + * @generated + */ + EReference getContextableElement_RequiredContextVariables(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.ContextableElement#getExcludedContextVariables Excluded Context Variables}'. + * + * + * @return the meta object for the containment reference list 'Excluded Context Variables'. + * @see org.eclipse.eef.eef.ContextableElement#getExcludedContextVariables() + * @see #getContextableElement() + * @generated + */ + EReference getContextableElement_ExcludedContextVariables(); + + /** + * Returns the meta object for data type '{@link java.lang.String Expression}'. + * + * + * @return the meta object for data type 'Expression'. + * @see java.lang.String + * @model instanceClass="java.lang.String" + * @generated + */ + EDataType getExpression(); + + /** + * Returns the meta object for data type '{@link java.lang.String Type Name}'. + * + * + * @return the meta object for data type 'Type Name'. + * @see java.lang.String + * @model instanceClass="java.lang.String" + * @generated + */ + EDataType getTypeName(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + EefFactory getEefFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl EEF View Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFViewDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFViewDescription() + * @generated + */ + EClass EEF_VIEW_DESCRIPTION = eINSTANCE.getEEFViewDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_VIEW_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFViewDescription_Identifier(); + + /** + * The meta object literal for the 'Label Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFViewDescription_LabelExpression(); + + /** + * The meta object literal for the 'EPackage Ns Uris' attribute list feature. + * + * + * @generated + */ + EAttribute EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS = eINSTANCE.getEEFViewDescription_EPackageNsUris(); + + /** + * The meta object literal for the 'Groups' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__GROUPS = eINSTANCE.getEEFViewDescription_Groups(); + + /** + * The meta object literal for the 'Pages' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__PAGES = eINSTANCE.getEEFViewDescription_Pages(); + + /** + * The meta object literal for the 'Java Extensions' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS = eINSTANCE.getEEFViewDescription_JavaExtensions(); + + /** + * The meta object literal for the 'Imported Views' reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS = eINSTANCE.getEEFViewDescription_ImportedViews(); + + /** + * The meta object literal for the 'Tree Structures' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__TREE_STRUCTURES = eINSTANCE.getEEFViewDescription_TreeStructures(); + + /** + * The meta object literal for the 'Table Structures' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES = eINSTANCE.getEEFViewDescription_TableStructures(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl EEF Page Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFPageDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFPageDescription() + * @generated + */ + EClass EEF_PAGE_DESCRIPTION = eINSTANCE.getEEFPageDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_PAGE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFPageDescription_Identifier(); + + /** + * The meta object literal for the 'Label Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFPageDescription_LabelExpression(); + + /** + * The meta object literal for the 'Domain Class' attribute feature. + * + * + * @generated + */ + EAttribute EEF_PAGE_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFPageDescription_DomainClass(); + + /** + * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE + .getEEFPageDescription_SemanticCandidateExpression(); + + /** + * The meta object literal for the 'Groups' reference list feature. + * + * + * @generated + */ + EReference EEF_PAGE_DESCRIPTION__GROUPS = eINSTANCE.getEEFPageDescription_Groups(); + + /** + * The meta object literal for the 'Extended Page' reference feature. + * + * + * @generated + */ + EReference EEF_PAGE_DESCRIPTION__EXTENDED_PAGE = eINSTANCE.getEEFPageDescription_ExtendedPage(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl EEF Group Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFGroupDescription() + * @generated + */ + EClass EEF_GROUP_DESCRIPTION = eINSTANCE.getEEFGroupDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFGroupDescription_Identifier(); + + /** + * The meta object literal for the 'Label Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFGroupDescription_LabelExpression(); + + /** + * The meta object literal for the 'Domain Class' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFGroupDescription_DomainClass(); + + /** + * The meta object literal for the 'Semantic Candidates Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = eINSTANCE + .getEEFGroupDescription_SemanticCandidatesExpression(); + + /** + * The meta object literal for the 'Container' containment reference feature. + * + * + * @generated + */ + EReference EEF_GROUP_DESCRIPTION__CONTAINER = eINSTANCE.getEEFGroupDescription_Container(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl EEF Container Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFContainerDescription() + * @generated + */ + EClass EEF_CONTAINER_DESCRIPTION = eINSTANCE.getEEFContainerDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CONTAINER_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFContainerDescription_Identifier(); + + /** + * The meta object literal for the 'Semantic Candidates Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = eINSTANCE + .getEEFContainerDescription_SemanticCandidatesExpression(); + + /** + * The meta object literal for the 'Domain Class' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFContainerDescription_DomainClass(); + + /** + * The meta object literal for the 'Layout Column Count' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT = eINSTANCE + .getEEFContainerDescription_LayoutColumnCount(); + + /** + * The meta object literal for the 'Containers' containment reference list feature. + * + * + * @generated + */ + EReference EEF_CONTAINER_DESCRIPTION__CONTAINERS = eINSTANCE.getEEFContainerDescription_Containers(); + + /** + * The meta object literal for the 'Widgets' containment reference list feature. + * + * + * @generated + */ + EReference EEF_CONTAINER_DESCRIPTION__WIDGETS = eINSTANCE.getEEFContainerDescription_Widgets(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFWidgetDescriptionImpl EEF Widget Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFWidgetDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFWidgetDescription() + * @generated + */ + EClass EEF_WIDGET_DESCRIPTION = eINSTANCE.getEEFWidgetDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_WIDGET_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFWidgetDescription_Identifier(); + + /** + * The meta object literal for the 'Label Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFWidgetDescription_LabelExpression(); + + /** + * The meta object literal for the 'Feature Candidates Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = eINSTANCE + .getEEFWidgetDescription_FeatureCandidatesExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFJavaExtensionDescriptionImpl EEF Java Extension Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFJavaExtensionDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFJavaExtensionDescription() + * @generated + */ + EClass EEF_JAVA_EXTENSION_DESCRIPTION = eINSTANCE.getEEFJavaExtensionDescription(); + + /** + * The meta object literal for the 'Qualified Name' attribute feature. + * + * + * @generated + */ + EAttribute EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME = eINSTANCE + .getEEFJavaExtensionDescription_QualifiedName(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFTreeStructureDescriptionImpl EEF Tree Structure Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFTreeStructureDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTreeStructureDescription() + * @generated + */ + EClass EEF_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFTreeStructureDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFTreeStructureDescription_Identifier(); + + /** + * The meta object literal for the 'Multiple' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFTreeStructureDescription_Multiple(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFInterpretedTableStructureDescriptionImpl EEF Interpreted Table Structure Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFInterpretedTableStructureDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFInterpretedTableStructureDescription() + * @generated + */ + EClass EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFInterpretedTableStructureDescription(); + + /** + * The meta object literal for the 'Columns' containment reference list feature. + * + * + * @generated + */ + EReference EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS = eINSTANCE + .getEEFInterpretedTableStructureDescription_Columns(); + + /** + * The meta object literal for the 'Line' containment reference feature. + * + * + * @generated + */ + EReference EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE = eINSTANCE + .getEEFInterpretedTableStructureDescription_Line(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFCellWidgetDescriptionImpl EEF Cell Widget Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFCellWidgetDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFCellWidgetDescription() + * @generated + */ + EClass EEF_CELL_WIDGET_DESCRIPTION = eINSTANCE.getEEFCellWidgetDescription(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl EEF Adapter Factory Tree Structure Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFAdapterFactoryTreeStructureDescription() + * @generated + */ + EClass EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION = eINSTANCE + .getEEFAdapterFactoryTreeStructureDescription(); + + /** + * The meta object literal for the 'Adapter Factory Provider' attribute feature. + * + * + * @generated + */ + EAttribute EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = eINSTANCE + .getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl EEF Interpreted Tree Structure Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFInterpretedTreeStructureDescription() + * @generated + */ + EClass EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFInterpretedTreeStructureDescription(); + + /** + * The meta object literal for the 'Roots Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION = eINSTANCE + .getEEFInterpretedTreeStructureDescription_RootsExpression(); + + /** + * The meta object literal for the 'Children Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION = eINSTANCE + .getEEFInterpretedTreeStructureDescription_ChildrenExpression(); + + /** + * The meta object literal for the 'Selectable Predicate Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION = eINSTANCE + .getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(); + + /** + * The meta object literal for the 'Candidate Display Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE + .getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFTextDescriptionImpl EEF Text Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFTextDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTextDescription() + * @generated + */ + EClass EEF_TEXT_DESCRIPTION = eINSTANCE.getEEFTextDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTextDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTextDescription_EditExpression(); + + /** + * The meta object literal for the 'Line Count' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TEXT_DESCRIPTION__LINE_COUNT = eINSTANCE.getEEFTextDescription_LineCount(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFCheckboxDescriptionImpl EEF Checkbox Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFCheckboxDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFCheckboxDescription() + * @generated + */ + EClass EEF_CHECKBOX_DESCRIPTION = eINSTANCE.getEEFCheckboxDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFCheckboxDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFCheckboxDescription_EditExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl EEF Select Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFSelectDescription() + * @generated + */ + EClass EEF_SELECT_DESCRIPTION = eINSTANCE.getEEFSelectDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFSelectDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFSelectDescription_EditExpression(); + + /** + * The meta object literal for the 'Candidates Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE + .getEEFSelectDescription_CandidatesExpression(); + + /** + * The meta object literal for the 'Multiple' attribute feature. + * + * + * @generated + */ + EAttribute EEF_SELECT_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFSelectDescription_Multiple(); + + /** + * The meta object literal for the 'Candidate Display Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE + .getEEFSelectDescription_CandidateDisplayExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFLabelDescriptionImpl EEF Label Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFLabelDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFLabelDescription() + * @generated + */ + EClass EEF_LABEL_DESCRIPTION = eINSTANCE.getEEFLabelDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFLabelDescription_ValueExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl EEF Radio Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFRadioDescription() + * @generated + */ + EClass EEF_RADIO_DESCRIPTION = eINSTANCE.getEEFRadioDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFRadioDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFRadioDescription_EditExpression(); + + /** + * The meta object literal for the 'Candidates Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE + .getEEFRadioDescription_CandidatesExpression(); + + /** + * The meta object literal for the 'Candidate Display Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE + .getEEFRadioDescription_CandidateDisplayExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl EEF Tree Dialog Select Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTreeDialogSelectDescription() + * @generated + */ + EClass EEF_TREE_DIALOG_SELECT_DESCRIPTION = eINSTANCE.getEEFTreeDialogSelectDescription(); + + /** + * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE + .getEEFTreeDialogSelectDescription_SemanticCandidateExpression(); + + /** + * The meta object literal for the 'Default Filter' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER = eINSTANCE + .getEEFTreeDialogSelectDescription_DefaultFilter(); + + /** + * The meta object literal for the 'Domain Class' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS = eINSTANCE + .getEEFTreeDialogSelectDescription_DomainClass(); + + /** + * The meta object literal for the 'Tree' reference feature. + * + * + * @generated + */ + EReference EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE = eINSTANCE.getEEFTreeDialogSelectDescription_Tree(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFLinkDescriptionImpl EEF Link Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFLinkDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFLinkDescription() + * @generated + */ + EClass EEF_LINK_DESCRIPTION = eINSTANCE.getEEFLinkDescription(); + + /** + * The meta object literal for the 'On Click Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION = eINSTANCE.getEEFLinkDescription_OnClickExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFImageDescriptionImpl EEF Image Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFImageDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFImageDescription() + * @generated + */ + EClass EEF_IMAGE_DESCRIPTION = eINSTANCE.getEEFImageDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFImageDescription_ValueExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFTreeDescriptionImpl EEF Tree Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFTreeDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTreeDescription() + * @generated + */ + EClass EEF_TREE_DESCRIPTION = eINSTANCE.getEEFTreeDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTreeDescription_ValueExpression(); + + /** + * The meta object literal for the 'Tree Structure' reference feature. + * + * + * @generated + */ + EReference EEF_TREE_DESCRIPTION__TREE_STRUCTURE = eINSTANCE.getEEFTreeDescription_TreeStructure(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTreeDescription_EditExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFImagePickerDescriptionImpl EEF Image Picker Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFImagePickerDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFImagePickerDescription() + * @generated + */ + EClass EEF_IMAGE_PICKER_DESCRIPTION = eINSTANCE.getEEFImagePickerDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE + .getEEFImagePickerDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE + .getEEFImagePickerDescription_EditExpression(); + + /** + * The meta object literal for the 'Candidates Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE + .getEEFImagePickerDescription_CandidatesExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFTableDescriptionImpl EEF Table Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFTableDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTableDescription() + * @generated + */ + EClass EEF_TABLE_DESCRIPTION = eINSTANCE.getEEFTableDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTableDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTableDescription_EditExpression(); + + /** + * The meta object literal for the 'Table Structure' reference feature. + * + * + * @generated + */ + EReference EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE = eINSTANCE.getEEFTableDescription_TableStructure(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl EEF Column Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFColumnDescription() + * @generated + */ + EClass EEF_COLUMN_DESCRIPTION = eINSTANCE.getEEFColumnDescription(); + + /** + * The meta object literal for the 'Width' attribute feature. + * + * + * @generated + */ + EAttribute EEF_COLUMN_DESCRIPTION__WIDTH = eINSTANCE.getEEFColumnDescription_Width(); + + /** + * The meta object literal for the 'Header Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION = eINSTANCE.getEEFColumnDescription_HeaderExpression(); + + /** + * The meta object literal for the 'Cell Widget' reference feature. + * + * + * @generated + */ + EReference EEF_COLUMN_DESCRIPTION__CELL_WIDGET = eINSTANCE.getEEFColumnDescription_CellWidget(); + + /** + * The meta object literal for the 'Context Candidates Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION = eINSTANCE + .getEEFColumnDescription_ContextCandidatesExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFLineDescriptionImpl EEF Line Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFLineDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFLineDescription() + * @generated + */ + EClass EEF_LINE_DESCRIPTION = eINSTANCE.getEEFLineDescription(); + + /** + * The meta object literal for the 'Header Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_LINE_DESCRIPTION__HEADER_EXPRESSION = eINSTANCE.getEEFLineDescription_HeaderExpression(); + + /** + * The meta object literal for the 'Semantic Candidates Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = eINSTANCE + .getEEFLineDescription_SemanticCandidatesExpression(); + + /** + * The meta object literal for the 'Domain Class' attribute feature. + * + * + * @generated + */ + EAttribute EEF_LINE_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFLineDescription_DomainClass(); + + /** + * The meta object literal for the 'Sub Lines' containment reference list feature. + * + * + * @generated + */ + EReference EEF_LINE_DESCRIPTION__SUB_LINES = eINSTANCE.getEEFLineDescription_SubLines(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFTableStructureDescriptionImpl EEF Table Structure Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFTableStructureDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTableStructureDescription() + * @generated + */ + EClass EEF_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFTableStructureDescription(); + + /** + * The meta object literal for the 'Multiple' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFTableStructureDescription_Multiple(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFTableStructureDescription_Identifier(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl EEF Adapter Factory Table Structure Description}' class. + * + * + * @see org.eclipse.eef.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFAdapterFactoryTableStructureDescription() + * @generated + */ + EClass EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE + .getEEFAdapterFactoryTableStructureDescription(); + + /** + * The meta object literal for the 'Adapter Factory Provider' attribute feature. + * + * + * @generated + */ + EAttribute EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = eINSTANCE + .getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.eef.impl.ContextableElementImpl Contextable Element}' class. + * + * + * @see org.eclipse.eef.eef.impl.ContextableElementImpl + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getContextableElement() + * @generated + */ + EClass CONTEXTABLE_ELEMENT = eINSTANCE.getContextableElement(); + + /** + * The meta object literal for the 'Required Context Variables' containment reference list feature. + * + * + * @generated + */ + EReference CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES = eINSTANCE + .getContextableElement_RequiredContextVariables(); + + /** + * The meta object literal for the 'Excluded Context Variables' containment reference list feature. + * + * + * @generated + */ + EReference CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES = eINSTANCE + .getContextableElement_ExcludedContextVariables(); + + /** + * The meta object literal for the 'Expression' data type. + * + * + * @see java.lang.String + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getExpression() + * @generated + */ + EDataType EXPRESSION = eINSTANCE.getExpression(); + + /** + * The meta object literal for the 'Type Name' data type. + * + * + * @see java.lang.String + * @see org.eclipse.eef.eef.impl.EefPackageImpl#getTypeName() + * @generated + */ + EDataType TYPE_NAME = eINSTANCE.getTypeName(); + + } + +} //EefPackage diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/ContextableElementImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/ContextableElementImpl.java new file mode 100644 index 000000000..19f0a8e03 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/ContextableElementImpl.java @@ -0,0 +1,199 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import java.util.Collection; + +import org.eclipse.eef.eef.ContextableElement; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.sirius.context.context.ContextVariable; + +/** + * + * An implementation of the model object 'Contextable Element'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.ContextableElementImpl#getRequiredContextVariables Required Context Variables}
  • + *
  • {@link org.eclipse.eef.eef.impl.ContextableElementImpl#getExcludedContextVariables Excluded Context Variables}
  • + *
+ * + * @generated + */ +public abstract class ContextableElementImpl extends MinimalEObjectImpl.Container implements ContextableElement { + /** + * The cached value of the '{@link #getRequiredContextVariables() Required Context Variables}' containment reference list. + * + * + * @see #getRequiredContextVariables() + * @generated + * @ordered + */ + protected EList requiredContextVariables; + + /** + * The cached value of the '{@link #getExcludedContextVariables() Excluded Context Variables}' containment reference list. + * + * + * @see #getExcludedContextVariables() + * @generated + * @ordered + */ + protected EList excludedContextVariables; + + /** + * + * + * @generated + */ + protected ContextableElementImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.CONTEXTABLE_ELEMENT; + } + + /** + * + * + * @generated + */ + @Override + public EList getRequiredContextVariables() { + if (requiredContextVariables == null) { + requiredContextVariables = new EObjectContainmentEList.Resolving(ContextVariable.class, + this, EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES); + } + return requiredContextVariables; + } + + /** + * + * + * @generated + */ + @Override + public EList getExcludedContextVariables() { + if (excludedContextVariables == null) { + excludedContextVariables = new EObjectContainmentEList.Resolving(ContextVariable.class, + this, EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES); + } + return excludedContextVariables; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: + return ((InternalEList) getRequiredContextVariables()).basicRemove(otherEnd, msgs); + case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: + return ((InternalEList) getExcludedContextVariables()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: + return getRequiredContextVariables(); + case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: + return getExcludedContextVariables(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: + getRequiredContextVariables().clear(); + getRequiredContextVariables().addAll((Collection) newValue); + return; + case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: + getExcludedContextVariables().clear(); + getExcludedContextVariables().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: + getRequiredContextVariables().clear(); + return; + case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: + getExcludedContextVariables().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: + return requiredContextVariables != null && !requiredContextVariables.isEmpty(); + case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: + return excludedContextVariables != null && !excludedContextVariables.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ContextableElementImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java new file mode 100644 index 000000000..e256a04f2 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java @@ -0,0 +1,175 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Adapter Factory Table Structure Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl#getAdapterFactoryProvider Adapter Factory Provider}
  • + *
+ * + * @generated + */ +public class EEFAdapterFactoryTableStructureDescriptionImpl extends EEFTableStructureDescriptionImpl + implements EEFAdapterFactoryTableStructureDescription { + /** + * The default value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. + * + * + * @see #getAdapterFactoryProvider() + * @generated + * @ordered + */ + protected static final String ADAPTER_FACTORY_PROVIDER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. + * + * + * @see #getAdapterFactoryProvider() + * @generated + * @ordered + */ + protected String adapterFactoryProvider = ADAPTER_FACTORY_PROVIDER_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFAdapterFactoryTableStructureDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getAdapterFactoryProvider() { + return adapterFactoryProvider; + } + + /** + * + * + * @generated + */ + @Override + public void setAdapterFactoryProvider(String newAdapterFactoryProvider) { + String oldAdapterFactoryProvider = adapterFactoryProvider; + adapterFactoryProvider = newAdapterFactoryProvider; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, + oldAdapterFactoryProvider, adapterFactoryProvider)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + return getAdapterFactoryProvider(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + setAdapterFactoryProvider((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + setAdapterFactoryProvider(ADAPTER_FACTORY_PROVIDER_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + return ADAPTER_FACTORY_PROVIDER_EDEFAULT == null ? adapterFactoryProvider != null + : !ADAPTER_FACTORY_PROVIDER_EDEFAULT.equals(adapterFactoryProvider); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (adapterFactoryProvider: "); //$NON-NLS-1$ + result.append(adapterFactoryProvider); + result.append(')'); + return result.toString(); + } + +} //EEFAdapterFactoryTableStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java new file mode 100644 index 000000000..d4f97c8f1 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java @@ -0,0 +1,175 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Adapter Factory Tree Structure Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl#getAdapterFactoryProvider Adapter Factory Provider}
  • + *
+ * + * @generated + */ +public class EEFAdapterFactoryTreeStructureDescriptionImpl extends EEFTreeStructureDescriptionImpl + implements EEFAdapterFactoryTreeStructureDescription { + /** + * The default value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. + * + * + * @see #getAdapterFactoryProvider() + * @generated + * @ordered + */ + protected static final String ADAPTER_FACTORY_PROVIDER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. + * + * + * @see #getAdapterFactoryProvider() + * @generated + * @ordered + */ + protected String adapterFactoryProvider = ADAPTER_FACTORY_PROVIDER_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFAdapterFactoryTreeStructureDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getAdapterFactoryProvider() { + return adapterFactoryProvider; + } + + /** + * + * + * @generated + */ + @Override + public void setAdapterFactoryProvider(String newAdapterFactoryProvider) { + String oldAdapterFactoryProvider = adapterFactoryProvider; + adapterFactoryProvider = newAdapterFactoryProvider; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, + oldAdapterFactoryProvider, adapterFactoryProvider)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + return getAdapterFactoryProvider(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + setAdapterFactoryProvider((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + setAdapterFactoryProvider(ADAPTER_FACTORY_PROVIDER_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + return ADAPTER_FACTORY_PROVIDER_EDEFAULT == null ? adapterFactoryProvider != null + : !ADAPTER_FACTORY_PROVIDER_EDEFAULT.equals(adapterFactoryProvider); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (adapterFactoryProvider: "); //$NON-NLS-1$ + result.append(adapterFactoryProvider); + result.append(')'); + return result.toString(); + } + +} //EEFAdapterFactoryTreeStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCellWidgetDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCellWidgetDescriptionImpl.java new file mode 100644 index 000000000..323f873ef --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCellWidgetDescriptionImpl.java @@ -0,0 +1,44 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFCellWidgetDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'EEF Cell Widget Description'. + * + * + * @generated + */ +public abstract class EEFCellWidgetDescriptionImpl extends EEFWidgetDescriptionImpl + implements EEFCellWidgetDescription { + /** + * + * + * @generated + */ + protected EEFCellWidgetDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_CELL_WIDGET_DESCRIPTION; + } + +} //EEFCellWidgetDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCheckboxDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCheckboxDescriptionImpl.java new file mode 100644 index 000000000..54f203fd0 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCheckboxDescriptionImpl.java @@ -0,0 +1,231 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFCheckboxDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Checkbox Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFCheckboxDescriptionImpl#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFCheckboxDescriptionImpl#getEditExpression Edit Expression}
  • + *
+ * + * @generated + */ +public class EEFCheckboxDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFCheckboxDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected static final String EDIT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected String editExpression = EDIT_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFCheckboxDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_CHECKBOX_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION, + oldValueExpression, valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getEditExpression() { + return editExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setEditExpression(String newEditExpression) { + String oldEditExpression = editExpression; + editExpression = newEditExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION, + oldEditExpression, editExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: + return getEditExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression(EDIT_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null + : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: + return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null + : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(", editExpression: "); //$NON-NLS-1$ + result.append(editExpression); + result.append(')'); + return result.toString(); + } + +} //EEFCheckboxDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFColumnDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFColumnDescriptionImpl.java new file mode 100644 index 000000000..89b40c360 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFColumnDescriptionImpl.java @@ -0,0 +1,357 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFCellWidgetDescription; +import org.eclipse.eef.eef.EEFColumnDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'EEF Column Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl#getWidth Width}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl#getHeaderExpression Header Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl#getCellWidget Cell Widget}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl#getContextCandidatesExpression Context Candidates Expression}
  • + *
+ * + * @generated + */ +public class EEFColumnDescriptionImpl extends MinimalEObjectImpl.Container implements EEFColumnDescription { + /** + * The default value of the '{@link #getWidth() Width}' attribute. + * + * + * @see #getWidth() + * @generated + * @ordered + */ + protected static final int WIDTH_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getWidth() Width}' attribute. + * + * + * @see #getWidth() + * @generated + * @ordered + */ + protected int width = WIDTH_EDEFAULT; + + /** + * The default value of the '{@link #getHeaderExpression() Header Expression}' attribute. + * + * + * @see #getHeaderExpression() + * @generated + * @ordered + */ + protected static final String HEADER_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getHeaderExpression() Header Expression}' attribute. + * + * + * @see #getHeaderExpression() + * @generated + * @ordered + */ + protected String headerExpression = HEADER_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getCellWidget() Cell Widget}' reference. + * + * + * @see #getCellWidget() + * @generated + * @ordered + */ + protected EEFCellWidgetDescription cellWidget; + + /** + * The default value of the '{@link #getContextCandidatesExpression() Context Candidates Expression}' attribute. + * + * + * @see #getContextCandidatesExpression() + * @generated + * @ordered + */ + protected static final String CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getContextCandidatesExpression() Context Candidates Expression}' attribute. + * + * + * @see #getContextCandidatesExpression() + * @generated + * @ordered + */ + protected String contextCandidatesExpression = CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFColumnDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_COLUMN_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public int getWidth() { + return width; + } + + /** + * + * + * @generated + */ + @Override + public void setWidth(int newWidth) { + int oldWidth = width; + width = newWidth; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH, oldWidth, + width)); + } + + /** + * + * + * @generated + */ + @Override + public String getHeaderExpression() { + return headerExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setHeaderExpression(String newHeaderExpression) { + String oldHeaderExpression = headerExpression; + headerExpression = newHeaderExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION, + oldHeaderExpression, headerExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EEFCellWidgetDescription getCellWidget() { + if (cellWidget != null && cellWidget.eIsProxy()) { + InternalEObject oldCellWidget = (InternalEObject) cellWidget; + cellWidget = (EEFCellWidgetDescription) eResolveProxy(oldCellWidget); + if (cellWidget != oldCellWidget) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET, oldCellWidget, cellWidget)); + } + } + return cellWidget; + } + + /** + * + * + * @generated + */ + public EEFCellWidgetDescription basicGetCellWidget() { + return cellWidget; + } + + /** + * + * + * @generated + */ + @Override + public void setCellWidget(EEFCellWidgetDescription newCellWidget) { + EEFCellWidgetDescription oldCellWidget = cellWidget; + cellWidget = newCellWidget; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET, + oldCellWidget, cellWidget)); + } + + /** + * + * + * @generated + */ + @Override + public String getContextCandidatesExpression() { + return contextCandidatesExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setContextCandidatesExpression(String newContextCandidatesExpression) { + String oldContextCandidatesExpression = contextCandidatesExpression; + contextCandidatesExpression = newContextCandidatesExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION, oldContextCandidatesExpression, + contextCandidatesExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: + return getWidth(); + case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: + return getHeaderExpression(); + case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: + if (resolve) + return getCellWidget(); + return basicGetCellWidget(); + case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: + return getContextCandidatesExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: + setWidth((Integer) newValue); + return; + case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: + setHeaderExpression((String) newValue); + return; + case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: + setCellWidget((EEFCellWidgetDescription) newValue); + return; + case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: + setContextCandidatesExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: + setWidth(WIDTH_EDEFAULT); + return; + case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: + setHeaderExpression(HEADER_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: + setCellWidget((EEFCellWidgetDescription) null); + return; + case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: + setContextCandidatesExpression(CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: + return width != WIDTH_EDEFAULT; + case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: + return HEADER_EXPRESSION_EDEFAULT == null ? headerExpression != null + : !HEADER_EXPRESSION_EDEFAULT.equals(headerExpression); + case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: + return cellWidget != null; + case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: + return CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT == null ? contextCandidatesExpression != null + : !CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT.equals(contextCandidatesExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (width: "); //$NON-NLS-1$ + result.append(width); + result.append(", headerExpression: "); //$NON-NLS-1$ + result.append(headerExpression); + result.append(", contextCandidatesExpression: "); //$NON-NLS-1$ + result.append(contextCandidatesExpression); + result.append(')'); + return result.toString(); + } + +} //EEFColumnDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFContainerDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFContainerDescriptionImpl.java new file mode 100644 index 000000000..758b26dfa --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFContainerDescriptionImpl.java @@ -0,0 +1,445 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import java.util.Collection; + +import org.eclipse.eef.eef.EEFContainerDescription; +import org.eclipse.eef.eef.EEFWidgetDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'EEF Container Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl#getSemanticCandidatesExpression Semantic Candidates Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl#getLayoutColumnCount Layout Column Count}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl#getContainers Containers}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl#getWidgets Widgets}
  • + *
+ * + * @generated + */ +public class EEFContainerDescriptionImpl extends ContextableElementImpl implements EEFContainerDescription { + /** + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. + * + * + * @see #getSemanticCandidatesExpression() + * @generated + * @ordered + */ + protected static final String SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. + * + * + * @see #getSemanticCandidatesExpression() + * @generated + * @ordered + */ + protected String semanticCandidatesExpression = SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected static final String DOMAIN_CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected String domainClass = DOMAIN_CLASS_EDEFAULT; + + /** + * The default value of the '{@link #getLayoutColumnCount() Layout Column Count}' attribute. + * + * + * @see #getLayoutColumnCount() + * @generated + * @ordered + */ + protected static final int LAYOUT_COLUMN_COUNT_EDEFAULT = 1; + + /** + * The cached value of the '{@link #getLayoutColumnCount() Layout Column Count}' attribute. + * + * + * @see #getLayoutColumnCount() + * @generated + * @ordered + */ + protected int layoutColumnCount = LAYOUT_COLUMN_COUNT_EDEFAULT; + + /** + * The cached value of the '{@link #getContainers() Containers}' containment reference list. + * + * + * @see #getContainers() + * @generated + * @ordered + */ + protected EList containers; + + /** + * The cached value of the '{@link #getWidgets() Widgets}' containment reference list. + * + * + * @see #getWidgets() + * @generated + * @ordered + */ + protected EList widgets; + + /** + * + * + * @generated + */ + protected EEFContainerDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_CONTAINER_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER, + oldIdentifier, identifier)); + } + + /** + * + * + * @generated + */ + @Override + public String getSemanticCandidatesExpression() { + return semanticCandidatesExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setSemanticCandidatesExpression(String newSemanticCandidatesExpression) { + String oldSemanticCandidatesExpression = semanticCandidatesExpression; + semanticCandidatesExpression = newSemanticCandidatesExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, + oldSemanticCandidatesExpression, semanticCandidatesExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getDomainClass() { + return domainClass; + } + + /** + * + * + * @generated + */ + @Override + public void setDomainClass(String newDomainClass) { + String oldDomainClass = domainClass; + domainClass = newDomainClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS, + oldDomainClass, domainClass)); + } + + /** + * + * + * @generated + */ + @Override + public int getLayoutColumnCount() { + return layoutColumnCount; + } + + /** + * + * + * @generated + */ + @Override + public void setLayoutColumnCount(int newLayoutColumnCount) { + int oldLayoutColumnCount = layoutColumnCount; + layoutColumnCount = newLayoutColumnCount; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT, oldLayoutColumnCount, + layoutColumnCount)); + } + + /** + * + * + * @generated + */ + @Override + public EList getContainers() { + if (containers == null) { + containers = new EObjectContainmentEList.Resolving(EEFContainerDescription.class, + this, EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS); + } + return containers; + } + + /** + * + * + * @generated + */ + @Override + public EList getWidgets() { + if (widgets == null) { + widgets = new EObjectContainmentEList.Resolving(EEFWidgetDescription.class, this, + EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS); + } + return widgets; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: + return ((InternalEList) getContainers()).basicRemove(otherEnd, msgs); + case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: + return ((InternalEList) getWidgets()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: + return getIdentifier(); + case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + return getSemanticCandidatesExpression(); + case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: + return getDomainClass(); + case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: + return getLayoutColumnCount(); + case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: + return getContainers(); + case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: + return getWidgets(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: + setIdentifier((String) newValue); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + setSemanticCandidatesExpression((String) newValue); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: + setDomainClass((String) newValue); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: + setLayoutColumnCount((Integer) newValue); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: + getContainers().clear(); + getContainers().addAll((Collection) newValue); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: + getWidgets().clear(); + getWidgets().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + setSemanticCandidatesExpression(SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: + setDomainClass(DOMAIN_CLASS_EDEFAULT); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: + setLayoutColumnCount(LAYOUT_COLUMN_COUNT_EDEFAULT); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: + getContainers().clear(); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: + getWidgets().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + return SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT == null ? semanticCandidatesExpression != null + : !SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT.equals(semanticCandidatesExpression); + case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: + return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); + case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: + return layoutColumnCount != LAYOUT_COLUMN_COUNT_EDEFAULT; + case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: + return containers != null && !containers.isEmpty(); + case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: + return widgets != null && !widgets.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (identifier: "); //$NON-NLS-1$ + result.append(identifier); + result.append(", semanticCandidatesExpression: "); //$NON-NLS-1$ + result.append(semanticCandidatesExpression); + result.append(", domainClass: "); //$NON-NLS-1$ + result.append(domainClass); + result.append(", layoutColumnCount: "); //$NON-NLS-1$ + result.append(layoutColumnCount); + result.append(')'); + return result.toString(); + } + +} //EEFContainerDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFGroupDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFGroupDescriptionImpl.java new file mode 100644 index 000000000..d575b5541 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFGroupDescriptionImpl.java @@ -0,0 +1,465 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFContainerDescription; +import org.eclipse.eef.eef.EEFGroupDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Group Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl#getLabelExpression Label Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl#getSemanticCandidatesExpression Semantic Candidates Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl#getContainer Container}
  • + *
+ * + * @generated + */ +public class EEFGroupDescriptionImpl extends ContextableElementImpl implements EEFGroupDescription { + /** + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected static final String LABEL_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected static final String DOMAIN_CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected String domainClass = DOMAIN_CLASS_EDEFAULT; + + /** + * The default value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. + * + * + * @see #getSemanticCandidatesExpression() + * @generated + * @ordered + */ + protected static final String SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. + * + * + * @see #getSemanticCandidatesExpression() + * @generated + * @ordered + */ + protected String semanticCandidatesExpression = SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getContainer() Container}' containment reference. + * + * + * @see #getContainer() + * @generated + * @ordered + */ + protected EEFContainerDescription container; + + /** + * + * + * @generated + */ + protected EEFGroupDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_GROUP_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER, + oldIdentifier, identifier)); + } + + /** + * + * + * @generated + */ + @Override + public String getLabelExpression() { + return labelExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setLabelExpression(String newLabelExpression) { + String oldLabelExpression = labelExpression; + labelExpression = newLabelExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION, + oldLabelExpression, labelExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getDomainClass() { + return domainClass; + } + + /** + * + * + * @generated + */ + @Override + public void setDomainClass(String newDomainClass) { + String oldDomainClass = domainClass; + domainClass = newDomainClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS, + oldDomainClass, domainClass)); + } + + /** + * + * + * @generated + */ + @Override + public String getSemanticCandidatesExpression() { + return semanticCandidatesExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setSemanticCandidatesExpression(String newSemanticCandidatesExpression) { + String oldSemanticCandidatesExpression = semanticCandidatesExpression; + semanticCandidatesExpression = newSemanticCandidatesExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, oldSemanticCandidatesExpression, + semanticCandidatesExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EEFContainerDescription getContainer() { + if (container != null && container.eIsProxy()) { + InternalEObject oldContainer = (InternalEObject) container; + container = (EEFContainerDescription) eResolveProxy(oldContainer); + if (container != oldContainer) { + InternalEObject newContainer = (InternalEObject) container; + NotificationChain msgs = oldContainer.eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, null); + if (newContainer.eInternalContainer() == null) { + msgs = newContainer.eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, oldContainer, container)); + } + } + return container; + } + + /** + * + * + * @generated + */ + public EEFContainerDescription basicGetContainer() { + return container; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetContainer(EEFContainerDescription newContainer, NotificationChain msgs) { + EEFContainerDescription oldContainer = container; + container = newContainer; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, oldContainer, newContainer); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setContainer(EEFContainerDescription newContainer) { + if (newContainer != container) { + NotificationChain msgs = null; + if (container != null) + msgs = ((InternalEObject) container).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, msgs); + if (newContainer != null) + msgs = ((InternalEObject) newContainer).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, msgs); + msgs = basicSetContainer(newContainer, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, + newContainer, newContainer)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: + return basicSetContainer(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: + return getIdentifier(); + case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: + return getLabelExpression(); + case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: + return getDomainClass(); + case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + return getSemanticCandidatesExpression(); + case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: + if (resolve) + return getContainer(); + return basicGetContainer(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: + setIdentifier((String) newValue); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression((String) newValue); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: + setDomainClass((String) newValue); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + setSemanticCandidatesExpression((String) newValue); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: + setContainer((EEFContainerDescription) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression(LABEL_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: + setDomainClass(DOMAIN_CLASS_EDEFAULT); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + setSemanticCandidatesExpression(SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: + setContainer((EEFContainerDescription) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: + return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null + : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); + case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: + return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); + case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + return SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT == null ? semanticCandidatesExpression != null + : !SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT.equals(semanticCandidatesExpression); + case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: + return container != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (identifier: "); //$NON-NLS-1$ + result.append(identifier); + result.append(", labelExpression: "); //$NON-NLS-1$ + result.append(labelExpression); + result.append(", domainClass: "); //$NON-NLS-1$ + result.append(domainClass); + result.append(", semanticCandidatesExpression: "); //$NON-NLS-1$ + result.append(semanticCandidatesExpression); + result.append(')'); + return result.toString(); + } + +} //EEFGroupDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImageDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImageDescriptionImpl.java new file mode 100644 index 000000000..3ec099b29 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImageDescriptionImpl.java @@ -0,0 +1,173 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFImageDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Image Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFImageDescriptionImpl#getValueExpression Value Expression}
  • + *
+ * + * @generated + */ +public class EEFImageDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFImageDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFImageDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_IMAGE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION, + oldValueExpression, valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null + : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(')'); + return result.toString(); + } + +} //EEFImageDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImagePickerDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImagePickerDescriptionImpl.java new file mode 100644 index 000000000..f337f47b8 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImagePickerDescriptionImpl.java @@ -0,0 +1,290 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFImagePickerDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Image Picker Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFImagePickerDescriptionImpl#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFImagePickerDescriptionImpl#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFImagePickerDescriptionImpl#getCandidatesExpression Candidates Expression}
  • + *
+ * + * @generated + */ +public class EEFImagePickerDescriptionImpl extends EEFWidgetDescriptionImpl implements EEFImagePickerDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected static final String EDIT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected String editExpression = EDIT_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. + * + * + * @see #getCandidatesExpression() + * @generated + * @ordered + */ + protected static final String CANDIDATES_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. + * + * + * @see #getCandidatesExpression() + * @generated + * @ordered + */ + protected String candidatesExpression = CANDIDATES_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFImagePickerDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getEditExpression() { + return editExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setEditExpression(String newEditExpression) { + String oldEditExpression = editExpression; + editExpression = newEditExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, editExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getCandidatesExpression() { + return candidatesExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setCandidatesExpression(String newCandidatesExpression) { + String oldCandidatesExpression = candidatesExpression; + candidatesExpression = newCandidatesExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION, oldCandidatesExpression, + candidatesExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: + return getEditExpression(); + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: + return getCandidatesExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression((String) newValue); + return; + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: + setCandidatesExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression(EDIT_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: + setCandidatesExpression(CANDIDATES_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null + : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: + return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null + : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: + return CANDIDATES_EXPRESSION_EDEFAULT == null ? candidatesExpression != null + : !CANDIDATES_EXPRESSION_EDEFAULT.equals(candidatesExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(", editExpression: "); //$NON-NLS-1$ + result.append(editExpression); + result.append(", candidatesExpression: "); //$NON-NLS-1$ + result.append(candidatesExpression); + result.append(')'); + return result.toString(); + } + +} //EEFImagePickerDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java new file mode 100644 index 000000000..694bbc94e --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java @@ -0,0 +1,271 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import java.util.Collection; + +import org.eclipse.eef.eef.EEFColumnDescription; +import org.eclipse.eef.eef.EEFInterpretedTableStructureDescription; +import org.eclipse.eef.eef.EEFLineDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'EEF Interpreted Table Structure Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFInterpretedTableStructureDescriptionImpl#getColumns Columns}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFInterpretedTableStructureDescriptionImpl#getLine Line}
  • + *
+ * + * @generated + */ +public class EEFInterpretedTableStructureDescriptionImpl extends EEFTableStructureDescriptionImpl + implements EEFInterpretedTableStructureDescription { + /** + * The cached value of the '{@link #getColumns() Columns}' containment reference list. + * + * + * @see #getColumns() + * @generated + * @ordered + */ + protected EList columns; + + /** + * The cached value of the '{@link #getLine() Line}' containment reference. + * + * + * @see #getLine() + * @generated + * @ordered + */ + protected EEFLineDescription line; + + /** + * + * + * @generated + */ + protected EEFInterpretedTableStructureDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public EList getColumns() { + if (columns == null) { + columns = new EObjectContainmentEList.Resolving(EEFColumnDescription.class, this, + EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS); + } + return columns; + } + + /** + * + * + * @generated + */ + @Override + public EEFLineDescription getLine() { + if (line != null && line.eIsProxy()) { + InternalEObject oldLine = (InternalEObject) line; + line = (EEFLineDescription) eResolveProxy(oldLine); + if (line != oldLine) { + InternalEObject newLine = (InternalEObject) line; + NotificationChain msgs = oldLine.eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, + null); + if (newLine.eInternalContainer() == null) { + msgs = newLine.eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, + msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, oldLine, line)); + } + } + return line; + } + + /** + * + * + * @generated + */ + public EEFLineDescription basicGetLine() { + return line; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLine(EEFLineDescription newLine, NotificationChain msgs) { + EEFLineDescription oldLine = line; + line = newLine; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, oldLine, newLine); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setLine(EEFLineDescription newLine) { + if (newLine != line) { + NotificationChain msgs = null; + if (line != null) + msgs = ((InternalEObject) line).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, + msgs); + if (newLine != null) + msgs = ((InternalEObject) newLine).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, + msgs); + msgs = basicSetLine(newLine, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, newLine, newLine)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: + return ((InternalEList) getColumns()).basicRemove(otherEnd, msgs); + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: + return basicSetLine(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: + return getColumns(); + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: + if (resolve) + return getLine(); + return basicGetLine(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: + getColumns().clear(); + getColumns().addAll((Collection) newValue); + return; + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: + setLine((EEFLineDescription) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: + getColumns().clear(); + return; + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: + setLine((EEFLineDescription) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: + return columns != null && !columns.isEmpty(); + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: + return line != null; + } + return super.eIsSet(featureID); + } + +} //EEFInterpretedTableStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java new file mode 100644 index 000000000..3542e74b4 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java @@ -0,0 +1,352 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Interpreted Tree Structure Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getRootsExpression Roots Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getChildrenExpression Children Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getSelectablePredicateExpression Selectable Predicate Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getCandidateDisplayExpression Candidate Display Expression}
  • + *
+ * + * @generated + */ +public class EEFInterpretedTreeStructureDescriptionImpl extends EEFTreeStructureDescriptionImpl + implements EEFInterpretedTreeStructureDescription { + /** + * The default value of the '{@link #getRootsExpression() Roots Expression}' attribute. + * + * + * @see #getRootsExpression() + * @generated + * @ordered + */ + protected static final String ROOTS_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getRootsExpression() Roots Expression}' attribute. + * + * + * @see #getRootsExpression() + * @generated + * @ordered + */ + protected String rootsExpression = ROOTS_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getChildrenExpression() Children Expression}' attribute. + * + * + * @see #getChildrenExpression() + * @generated + * @ordered + */ + protected static final String CHILDREN_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getChildrenExpression() Children Expression}' attribute. + * + * + * @see #getChildrenExpression() + * @generated + * @ordered + */ + protected String childrenExpression = CHILDREN_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getSelectablePredicateExpression() Selectable Predicate Expression}' attribute. + * + * + * @see #getSelectablePredicateExpression() + * @generated + * @ordered + */ + protected static final String SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSelectablePredicateExpression() Selectable Predicate Expression}' attribute. + * + * + * @see #getSelectablePredicateExpression() + * @generated + * @ordered + */ + protected String selectablePredicateExpression = SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. + * + * + * @see #getCandidateDisplayExpression() + * @generated + * @ordered + */ + protected static final String CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. + * + * + * @see #getCandidateDisplayExpression() + * @generated + * @ordered + */ + protected String candidateDisplayExpression = CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFInterpretedTreeStructureDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getRootsExpression() { + return rootsExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setRootsExpression(String newRootsExpression) { + String oldRootsExpression = rootsExpression; + rootsExpression = newRootsExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION, oldRootsExpression, + rootsExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getChildrenExpression() { + return childrenExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setChildrenExpression(String newChildrenExpression) { + String oldChildrenExpression = childrenExpression; + childrenExpression = newChildrenExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION, oldChildrenExpression, + childrenExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getSelectablePredicateExpression() { + return selectablePredicateExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setSelectablePredicateExpression(String newSelectablePredicateExpression) { + String oldSelectablePredicateExpression = selectablePredicateExpression; + selectablePredicateExpression = newSelectablePredicateExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION, + oldSelectablePredicateExpression, selectablePredicateExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getCandidateDisplayExpression() { + return candidateDisplayExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setCandidateDisplayExpression(String newCandidateDisplayExpression) { + String oldCandidateDisplayExpression = candidateDisplayExpression; + candidateDisplayExpression = newCandidateDisplayExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, + oldCandidateDisplayExpression, candidateDisplayExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: + return getRootsExpression(); + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: + return getChildrenExpression(); + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: + return getSelectablePredicateExpression(); + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + return getCandidateDisplayExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: + setRootsExpression((String) newValue); + return; + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: + setChildrenExpression((String) newValue); + return; + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: + setSelectablePredicateExpression((String) newValue); + return; + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + setCandidateDisplayExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: + setRootsExpression(ROOTS_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: + setChildrenExpression(CHILDREN_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: + setSelectablePredicateExpression(SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + setCandidateDisplayExpression(CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: + return ROOTS_EXPRESSION_EDEFAULT == null ? rootsExpression != null + : !ROOTS_EXPRESSION_EDEFAULT.equals(rootsExpression); + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: + return CHILDREN_EXPRESSION_EDEFAULT == null ? childrenExpression != null + : !CHILDREN_EXPRESSION_EDEFAULT.equals(childrenExpression); + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: + return SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT == null ? selectablePredicateExpression != null + : !SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT.equals(selectablePredicateExpression); + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + return CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT == null ? candidateDisplayExpression != null + : !CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT.equals(candidateDisplayExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (rootsExpression: "); //$NON-NLS-1$ + result.append(rootsExpression); + result.append(", childrenExpression: "); //$NON-NLS-1$ + result.append(childrenExpression); + result.append(", selectablePredicateExpression: "); //$NON-NLS-1$ + result.append(selectablePredicateExpression); + result.append(", candidateDisplayExpression: "); //$NON-NLS-1$ + result.append(candidateDisplayExpression); + result.append(')'); + return result.toString(); + } + +} //EEFInterpretedTreeStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFJavaExtensionDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFJavaExtensionDescriptionImpl.java new file mode 100644 index 000000000..c5baf2a9a --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFJavaExtensionDescriptionImpl.java @@ -0,0 +1,175 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFJavaExtensionDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'EEF Java Extension Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFJavaExtensionDescriptionImpl#getQualifiedName Qualified Name}
  • + *
+ * + * @generated + */ +public class EEFJavaExtensionDescriptionImpl extends MinimalEObjectImpl.Container + implements EEFJavaExtensionDescription { + /** + * The default value of the '{@link #getQualifiedName() Qualified Name}' attribute. + * + * + * @see #getQualifiedName() + * @generated + * @ordered + */ + protected static final String QUALIFIED_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getQualifiedName() Qualified Name}' attribute. + * + * + * @see #getQualifiedName() + * @generated + * @ordered + */ + protected String qualifiedName = QUALIFIED_NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFJavaExtensionDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_JAVA_EXTENSION_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getQualifiedName() { + return qualifiedName; + } + + /** + * + * + * @generated + */ + @Override + public void setQualifiedName(String newQualifiedName) { + String oldQualifiedName = qualifiedName; + qualifiedName = newQualifiedName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME, oldQualifiedName, qualifiedName)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: + return getQualifiedName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: + setQualifiedName((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: + setQualifiedName(QUALIFIED_NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: + return QUALIFIED_NAME_EDEFAULT == null ? qualifiedName != null + : !QUALIFIED_NAME_EDEFAULT.equals(qualifiedName); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (qualifiedName: "); //$NON-NLS-1$ + result.append(qualifiedName); + result.append(')'); + return result.toString(); + } + +} //EEFJavaExtensionDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLabelDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLabelDescriptionImpl.java new file mode 100644 index 000000000..03bef75c4 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLabelDescriptionImpl.java @@ -0,0 +1,173 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFLabelDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Label Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFLabelDescriptionImpl#getValueExpression Value Expression}
  • + *
+ * + * @generated + */ +public class EEFLabelDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFLabelDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFLabelDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_LABEL_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION, + oldValueExpression, valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null + : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(')'); + return result.toString(); + } + +} //EEFLabelDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLineDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLineDescriptionImpl.java new file mode 100644 index 000000000..398ffbbd7 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLineDescriptionImpl.java @@ -0,0 +1,350 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import java.util.Collection; + +import org.eclipse.eef.eef.EEFLineDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'EEF Line Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFLineDescriptionImpl#getHeaderExpression Header Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFLineDescriptionImpl#getSemanticCandidatesExpression Semantic Candidates Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFLineDescriptionImpl#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFLineDescriptionImpl#getSubLines Sub Lines}
  • + *
+ * + * @generated + */ +public class EEFLineDescriptionImpl extends MinimalEObjectImpl.Container implements EEFLineDescription { + /** + * The default value of the '{@link #getHeaderExpression() Header Expression}' attribute. + * + * + * @see #getHeaderExpression() + * @generated + * @ordered + */ + protected static final String HEADER_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getHeaderExpression() Header Expression}' attribute. + * + * + * @see #getHeaderExpression() + * @generated + * @ordered + */ + protected String headerExpression = HEADER_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. + * + * + * @see #getSemanticCandidatesExpression() + * @generated + * @ordered + */ + protected static final String SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. + * + * + * @see #getSemanticCandidatesExpression() + * @generated + * @ordered + */ + protected String semanticCandidatesExpression = SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected static final String DOMAIN_CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected String domainClass = DOMAIN_CLASS_EDEFAULT; + + /** + * The cached value of the '{@link #getSubLines() Sub Lines}' containment reference list. + * + * + * @see #getSubLines() + * @generated + * @ordered + */ + protected EList subLines; + + /** + * + * + * @generated + */ + protected EEFLineDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_LINE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getHeaderExpression() { + return headerExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setHeaderExpression(String newHeaderExpression) { + String oldHeaderExpression = headerExpression; + headerExpression = newHeaderExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION, + oldHeaderExpression, headerExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getSemanticCandidatesExpression() { + return semanticCandidatesExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setSemanticCandidatesExpression(String newSemanticCandidatesExpression) { + String oldSemanticCandidatesExpression = semanticCandidatesExpression; + semanticCandidatesExpression = newSemanticCandidatesExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, oldSemanticCandidatesExpression, + semanticCandidatesExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getDomainClass() { + return domainClass; + } + + /** + * + * + * @generated + */ + @Override + public void setDomainClass(String newDomainClass) { + String oldDomainClass = domainClass; + domainClass = newDomainClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS, + oldDomainClass, domainClass)); + } + + /** + * + * + * @generated + */ + @Override + public EList getSubLines() { + if (subLines == null) { + subLines = new EObjectContainmentEList.Resolving(EEFLineDescription.class, this, + EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES); + } + return subLines; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: + return ((InternalEList) getSubLines()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: + return getHeaderExpression(); + case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + return getSemanticCandidatesExpression(); + case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: + return getDomainClass(); + case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: + return getSubLines(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: + setHeaderExpression((String) newValue); + return; + case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + setSemanticCandidatesExpression((String) newValue); + return; + case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: + setDomainClass((String) newValue); + return; + case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: + getSubLines().clear(); + getSubLines().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: + setHeaderExpression(HEADER_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + setSemanticCandidatesExpression(SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: + setDomainClass(DOMAIN_CLASS_EDEFAULT); + return; + case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: + getSubLines().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: + return HEADER_EXPRESSION_EDEFAULT == null ? headerExpression != null + : !HEADER_EXPRESSION_EDEFAULT.equals(headerExpression); + case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + return SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT == null ? semanticCandidatesExpression != null + : !SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT.equals(semanticCandidatesExpression); + case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: + return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); + case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: + return subLines != null && !subLines.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (headerExpression: "); //$NON-NLS-1$ + result.append(headerExpression); + result.append(", semanticCandidatesExpression: "); //$NON-NLS-1$ + result.append(semanticCandidatesExpression); + result.append(", domainClass: "); //$NON-NLS-1$ + result.append(domainClass); + result.append(')'); + return result.toString(); + } + +} //EEFLineDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLinkDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLinkDescriptionImpl.java new file mode 100644 index 000000000..4b0ac0d05 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLinkDescriptionImpl.java @@ -0,0 +1,173 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFLinkDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Link Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFLinkDescriptionImpl#getOnClickExpression On Click Expression}
  • + *
+ * + * @generated + */ +public class EEFLinkDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFLinkDescription { + /** + * The default value of the '{@link #getOnClickExpression() On Click Expression}' attribute. + * + * + * @see #getOnClickExpression() + * @generated + * @ordered + */ + protected static final String ON_CLICK_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getOnClickExpression() On Click Expression}' attribute. + * + * + * @see #getOnClickExpression() + * @generated + * @ordered + */ + protected String onClickExpression = ON_CLICK_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFLinkDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_LINK_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getOnClickExpression() { + return onClickExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setOnClickExpression(String newOnClickExpression) { + String oldOnClickExpression = onClickExpression; + onClickExpression = newOnClickExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION, + oldOnClickExpression, onClickExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: + return getOnClickExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: + setOnClickExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: + setOnClickExpression(ON_CLICK_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: + return ON_CLICK_EXPRESSION_EDEFAULT == null ? onClickExpression != null + : !ON_CLICK_EXPRESSION_EDEFAULT.equals(onClickExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (onClickExpression: "); //$NON-NLS-1$ + result.append(onClickExpression); + result.append(')'); + return result.toString(); + } + +} //EEFLinkDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFPageDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFPageDescriptionImpl.java new file mode 100644 index 000000000..727d52b84 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFPageDescriptionImpl.java @@ -0,0 +1,456 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import java.util.Collection; + +import org.eclipse.eef.eef.EEFGroupDescription; +import org.eclipse.eef.eef.EEFPageDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +/** + * + * An implementation of the model object 'EEF Page Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl#getLabelExpression Label Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl#getGroups Groups}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl#getExtendedPage Extended Page}
  • + *
+ * + * @generated + */ +public class EEFPageDescriptionImpl extends ContextableElementImpl implements EEFPageDescription { + /** + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected static final String LABEL_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected static final String DOMAIN_CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected String domainClass = DOMAIN_CLASS_EDEFAULT; + + /** + * The default value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. + * + * + * @see #getSemanticCandidateExpression() + * @generated + * @ordered + */ + protected static final String SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT = ""; //$NON-NLS-1$ + + /** + * The cached value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. + * + * + * @see #getSemanticCandidateExpression() + * @generated + * @ordered + */ + protected String semanticCandidateExpression = SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getGroups() Groups}' reference list. + * + * + * @see #getGroups() + * @generated + * @ordered + */ + protected EList groups; + + /** + * The cached value of the '{@link #getExtendedPage() Extended Page}' reference. + * + * + * @see #getExtendedPage() + * @generated + * @ordered + */ + protected EEFPageDescription extendedPage; + + /** + * + * + * @generated + */ + protected EEFPageDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_PAGE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER, + oldIdentifier, identifier)); + } + + /** + * + * + * @generated + */ + @Override + public String getLabelExpression() { + return labelExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setLabelExpression(String newLabelExpression) { + String oldLabelExpression = labelExpression; + labelExpression = newLabelExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION, + oldLabelExpression, labelExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getDomainClass() { + return domainClass; + } + + /** + * + * + * @generated + */ + @Override + public void setDomainClass(String newDomainClass) { + String oldDomainClass = domainClass; + domainClass = newDomainClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS, + oldDomainClass, domainClass)); + } + + /** + * + * + * @generated + */ + @Override + public String getSemanticCandidateExpression() { + return semanticCandidateExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setSemanticCandidateExpression(String newSemanticCandidateExpression) { + String oldSemanticCandidateExpression = semanticCandidateExpression; + semanticCandidateExpression = newSemanticCandidateExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, oldSemanticCandidateExpression, + semanticCandidateExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EList getGroups() { + if (groups == null) { + groups = new EObjectResolvingEList(EEFGroupDescription.class, this, + EefPackage.EEF_PAGE_DESCRIPTION__GROUPS); + } + return groups; + } + + /** + * + * + * @generated + */ + @Override + public EEFPageDescription getExtendedPage() { + if (extendedPage != null && extendedPage.eIsProxy()) { + InternalEObject oldExtendedPage = (InternalEObject) extendedPage; + extendedPage = (EEFPageDescription) eResolveProxy(oldExtendedPage); + if (extendedPage != oldExtendedPage) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE, oldExtendedPage, extendedPage)); + } + } + return extendedPage; + } + + /** + * + * + * @generated + */ + public EEFPageDescription basicGetExtendedPage() { + return extendedPage; + } + + /** + * + * + * @generated + */ + @Override + public void setExtendedPage(EEFPageDescription newExtendedPage) { + EEFPageDescription oldExtendedPage = extendedPage; + extendedPage = newExtendedPage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE, + oldExtendedPage, extendedPage)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: + return getIdentifier(); + case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: + return getLabelExpression(); + case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: + return getDomainClass(); + case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + return getSemanticCandidateExpression(); + case EefPackage.EEF_PAGE_DESCRIPTION__GROUPS: + return getGroups(); + case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: + if (resolve) + return getExtendedPage(); + return basicGetExtendedPage(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: + setIdentifier((String) newValue); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression((String) newValue); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: + setDomainClass((String) newValue); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + setSemanticCandidateExpression((String) newValue); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__GROUPS: + getGroups().clear(); + getGroups().addAll((Collection) newValue); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: + setExtendedPage((EEFPageDescription) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression(LABEL_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: + setDomainClass(DOMAIN_CLASS_EDEFAULT); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + setSemanticCandidateExpression(SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__GROUPS: + getGroups().clear(); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: + setExtendedPage((EEFPageDescription) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: + return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null + : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); + case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: + return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); + case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + return SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null + : !SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); + case EefPackage.EEF_PAGE_DESCRIPTION__GROUPS: + return groups != null && !groups.isEmpty(); + case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: + return extendedPage != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (identifier: "); //$NON-NLS-1$ + result.append(identifier); + result.append(", labelExpression: "); //$NON-NLS-1$ + result.append(labelExpression); + result.append(", domainClass: "); //$NON-NLS-1$ + result.append(domainClass); + result.append(", semanticCandidateExpression: "); //$NON-NLS-1$ + result.append(semanticCandidateExpression); + result.append(')'); + return result.toString(); + } + +} //EEFPageDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFRadioDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFRadioDescriptionImpl.java new file mode 100644 index 000000000..80fd5c491 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFRadioDescriptionImpl.java @@ -0,0 +1,349 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFRadioDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Radio Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl#getCandidatesExpression Candidates Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl#getCandidateDisplayExpression Candidate Display Expression}
  • + *
+ * + * @generated + */ +public class EEFRadioDescriptionImpl extends EEFWidgetDescriptionImpl implements EEFRadioDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected static final String EDIT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected String editExpression = EDIT_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. + * + * + * @see #getCandidatesExpression() + * @generated + * @ordered + */ + protected static final String CANDIDATES_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. + * + * + * @see #getCandidatesExpression() + * @generated + * @ordered + */ + protected String candidatesExpression = CANDIDATES_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. + * + * + * @see #getCandidateDisplayExpression() + * @generated + * @ordered + */ + protected static final String CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. + * + * + * @see #getCandidateDisplayExpression() + * @generated + * @ordered + */ + protected String candidateDisplayExpression = CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFRadioDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_RADIO_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION, + oldValueExpression, valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getEditExpression() { + return editExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setEditExpression(String newEditExpression) { + String oldEditExpression = editExpression; + editExpression = newEditExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION, + oldEditExpression, editExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getCandidatesExpression() { + return candidatesExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setCandidatesExpression(String newCandidatesExpression) { + String oldCandidatesExpression = candidatesExpression; + candidatesExpression = newCandidatesExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION, oldCandidatesExpression, + candidatesExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getCandidateDisplayExpression() { + return candidateDisplayExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setCandidateDisplayExpression(String newCandidateDisplayExpression) { + String oldCandidateDisplayExpression = candidateDisplayExpression; + candidateDisplayExpression = newCandidateDisplayExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, oldCandidateDisplayExpression, + candidateDisplayExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: + return getEditExpression(); + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: + return getCandidatesExpression(); + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + return getCandidateDisplayExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression((String) newValue); + return; + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: + setCandidatesExpression((String) newValue); + return; + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + setCandidateDisplayExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression(EDIT_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: + setCandidatesExpression(CANDIDATES_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + setCandidateDisplayExpression(CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null + : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: + return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null + : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: + return CANDIDATES_EXPRESSION_EDEFAULT == null ? candidatesExpression != null + : !CANDIDATES_EXPRESSION_EDEFAULT.equals(candidatesExpression); + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + return CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT == null ? candidateDisplayExpression != null + : !CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT.equals(candidateDisplayExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(", editExpression: "); //$NON-NLS-1$ + result.append(editExpression); + result.append(", candidatesExpression: "); //$NON-NLS-1$ + result.append(candidatesExpression); + result.append(", candidateDisplayExpression: "); //$NON-NLS-1$ + result.append(candidateDisplayExpression); + result.append(')'); + return result.toString(); + } + +} //EEFRadioDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFSelectDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFSelectDescriptionImpl.java new file mode 100644 index 000000000..955a1d4e5 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFSelectDescriptionImpl.java @@ -0,0 +1,406 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFSelectDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Select Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl#getCandidatesExpression Candidates Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl#isMultiple Multiple}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl#getCandidateDisplayExpression Candidate Display Expression}
  • + *
+ * + * @generated + */ +public class EEFSelectDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFSelectDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected static final String EDIT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected String editExpression = EDIT_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. + * + * + * @see #getCandidatesExpression() + * @generated + * @ordered + */ + protected static final String CANDIDATES_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. + * + * + * @see #getCandidatesExpression() + * @generated + * @ordered + */ + protected String candidatesExpression = CANDIDATES_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #isMultiple() Multiple}' attribute. + * + * + * @see #isMultiple() + * @generated + * @ordered + */ + protected static final boolean MULTIPLE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isMultiple() Multiple}' attribute. + * + * + * @see #isMultiple() + * @generated + * @ordered + */ + protected boolean multiple = MULTIPLE_EDEFAULT; + + /** + * The default value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. + * + * + * @see #getCandidateDisplayExpression() + * @generated + * @ordered + */ + protected static final String CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. + * + * + * @see #getCandidateDisplayExpression() + * @generated + * @ordered + */ + protected String candidateDisplayExpression = CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFSelectDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_SELECT_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION, + oldValueExpression, valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getEditExpression() { + return editExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setEditExpression(String newEditExpression) { + String oldEditExpression = editExpression; + editExpression = newEditExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION, + oldEditExpression, editExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getCandidatesExpression() { + return candidatesExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setCandidatesExpression(String newCandidatesExpression) { + String oldCandidatesExpression = candidatesExpression; + candidatesExpression = newCandidatesExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION, oldCandidatesExpression, + candidatesExpression)); + } + + /** + * + * + * @generated + */ + @Override + public boolean isMultiple() { + return multiple; + } + + /** + * + * + * @generated + */ + @Override + public void setMultiple(boolean newMultiple) { + boolean oldMultiple = multiple; + multiple = newMultiple; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE, + oldMultiple, multiple)); + } + + /** + * + * + * @generated + */ + @Override + public String getCandidateDisplayExpression() { + return candidateDisplayExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setCandidateDisplayExpression(String newCandidateDisplayExpression) { + String oldCandidateDisplayExpression = candidateDisplayExpression; + candidateDisplayExpression = newCandidateDisplayExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, oldCandidateDisplayExpression, + candidateDisplayExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: + return getEditExpression(); + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: + return getCandidatesExpression(); + case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: + return isMultiple(); + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + return getCandidateDisplayExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression((String) newValue); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: + setCandidatesExpression((String) newValue); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: + setMultiple((Boolean) newValue); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + setCandidateDisplayExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression(EDIT_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: + setCandidatesExpression(CANDIDATES_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: + setMultiple(MULTIPLE_EDEFAULT); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + setCandidateDisplayExpression(CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null + : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: + return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null + : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: + return CANDIDATES_EXPRESSION_EDEFAULT == null ? candidatesExpression != null + : !CANDIDATES_EXPRESSION_EDEFAULT.equals(candidatesExpression); + case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: + return multiple != MULTIPLE_EDEFAULT; + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + return CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT == null ? candidateDisplayExpression != null + : !CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT.equals(candidateDisplayExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(", editExpression: "); //$NON-NLS-1$ + result.append(editExpression); + result.append(", candidatesExpression: "); //$NON-NLS-1$ + result.append(candidatesExpression); + result.append(", multiple: "); //$NON-NLS-1$ + result.append(multiple); + result.append(", candidateDisplayExpression: "); //$NON-NLS-1$ + result.append(candidateDisplayExpression); + result.append(')'); + return result.toString(); + } + +} //EEFSelectDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableDescriptionImpl.java new file mode 100644 index 000000000..f1a98ab24 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableDescriptionImpl.java @@ -0,0 +1,298 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFTableDescription; +import org.eclipse.eef.eef.EEFTableStructureDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Table Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFTableDescriptionImpl#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFTableDescriptionImpl#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFTableDescriptionImpl#getTableStructure Table Structure}
  • + *
+ * + * @generated + */ +public class EEFTableDescriptionImpl extends EEFWidgetDescriptionImpl implements EEFTableDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected static final String EDIT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected String editExpression = EDIT_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getTableStructure() Table Structure}' reference. + * + * + * @see #getTableStructure() + * @generated + * @ordered + */ + protected EEFTableStructureDescription tableStructure; + + /** + * + * + * @generated + */ + protected EEFTableDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TABLE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION, + oldValueExpression, valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getEditExpression() { + return editExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setEditExpression(String newEditExpression) { + String oldEditExpression = editExpression; + editExpression = newEditExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION, + oldEditExpression, editExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EEFTableStructureDescription getTableStructure() { + if (tableStructure != null && tableStructure.eIsProxy()) { + InternalEObject oldTableStructure = (InternalEObject) tableStructure; + tableStructure = (EEFTableStructureDescription) eResolveProxy(oldTableStructure); + if (tableStructure != oldTableStructure) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE, oldTableStructure, tableStructure)); + } + } + return tableStructure; + } + + /** + * + * + * @generated + */ + public EEFTableStructureDescription basicGetTableStructure() { + return tableStructure; + } + + /** + * + * + * @generated + */ + @Override + public void setTableStructure(EEFTableStructureDescription newTableStructure) { + EEFTableStructureDescription oldTableStructure = tableStructure; + tableStructure = newTableStructure; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE, + oldTableStructure, tableStructure)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: + return getEditExpression(); + case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: + if (resolve) + return getTableStructure(); + return basicGetTableStructure(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression((String) newValue); + return; + case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: + setTableStructure((EEFTableStructureDescription) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression(EDIT_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: + setTableStructure((EEFTableStructureDescription) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null + : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: + return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null + : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); + case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: + return tableStructure != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(", editExpression: "); //$NON-NLS-1$ + result.append(editExpression); + result.append(')'); + return result.toString(); + } + +} //EEFTableDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableStructureDescriptionImpl.java new file mode 100644 index 000000000..3c6850163 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableStructureDescriptionImpl.java @@ -0,0 +1,231 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFTableStructureDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'EEF Table Structure Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFTableStructureDescriptionImpl#isMultiple Multiple}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFTableStructureDescriptionImpl#getIdentifier Identifier}
  • + *
+ * + * @generated + */ +public abstract class EEFTableStructureDescriptionImpl extends MinimalEObjectImpl.Container + implements EEFTableStructureDescription { + /** + * The default value of the '{@link #isMultiple() Multiple}' attribute. + * + * + * @see #isMultiple() + * @generated + * @ordered + */ + protected static final boolean MULTIPLE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isMultiple() Multiple}' attribute. + * + * + * @see #isMultiple() + * @generated + * @ordered + */ + protected boolean multiple = MULTIPLE_EDEFAULT; + + /** + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFTableStructureDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public boolean isMultiple() { + return multiple; + } + + /** + * + * + * @generated + */ + @Override + public void setMultiple(boolean newMultiple) { + boolean oldMultiple = multiple; + multiple = newMultiple; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE, + oldMultiple, multiple)); + } + + /** + * + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: + return isMultiple(); + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: + return getIdentifier(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: + setMultiple((Boolean) newValue); + return; + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: + setIdentifier((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: + setMultiple(MULTIPLE_EDEFAULT); + return; + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: + return multiple != MULTIPLE_EDEFAULT; + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (multiple: "); //$NON-NLS-1$ + result.append(multiple); + result.append(", identifier: "); //$NON-NLS-1$ + result.append(identifier); + result.append(')'); + return result.toString(); + } + +} //EEFTableStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTextDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTextDescriptionImpl.java new file mode 100644 index 000000000..26ea336b0 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTextDescriptionImpl.java @@ -0,0 +1,288 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFTextDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Text Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFTextDescriptionImpl#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFTextDescriptionImpl#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFTextDescriptionImpl#getLineCount Line Count}
  • + *
+ * + * @generated + */ +public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFTextDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected static final String EDIT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected String editExpression = EDIT_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getLineCount() Line Count}' attribute. + * + * + * @see #getLineCount() + * @generated + * @ordered + */ + protected static final int LINE_COUNT_EDEFAULT = 1; + + /** + * The cached value of the '{@link #getLineCount() Line Count}' attribute. + * + * + * @see #getLineCount() + * @generated + * @ordered + */ + protected int lineCount = LINE_COUNT_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFTextDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TEXT_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION, + oldValueExpression, valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getEditExpression() { + return editExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setEditExpression(String newEditExpression) { + String oldEditExpression = editExpression; + editExpression = newEditExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION, + oldEditExpression, editExpression)); + } + + /** + * + * + * @generated + */ + @Override + public int getLineCount() { + return lineCount; + } + + /** + * + * + * @generated + */ + @Override + public void setLineCount(int newLineCount) { + int oldLineCount = lineCount; + lineCount = newLineCount; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT, + oldLineCount, lineCount)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: + return getEditExpression(); + case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: + return getLineCount(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression((String) newValue); + return; + case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: + setLineCount((Integer) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression(EDIT_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: + setLineCount(LINE_COUNT_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null + : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: + return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null + : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); + case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: + return lineCount != LINE_COUNT_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(", editExpression: "); //$NON-NLS-1$ + result.append(editExpression); + result.append(", lineCount: "); //$NON-NLS-1$ + result.append(lineCount); + result.append(')'); + return result.toString(); + } + +} //EEFTextDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDescriptionImpl.java new file mode 100644 index 000000000..9aeebd310 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDescriptionImpl.java @@ -0,0 +1,298 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFTreeDescription; +import org.eclipse.eef.eef.EEFTreeStructureDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Tree Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFTreeDescriptionImpl#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFTreeDescriptionImpl#getTreeStructure Tree Structure}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFTreeDescriptionImpl#getEditExpression Edit Expression}
  • + *
+ * + * @generated + */ +public class EEFTreeDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFTreeDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getTreeStructure() Tree Structure}' reference. + * + * + * @see #getTreeStructure() + * @generated + * @ordered + */ + protected EEFTreeStructureDescription treeStructure; + + /** + * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected static final String EDIT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected String editExpression = EDIT_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFTreeDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TREE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION, + oldValueExpression, valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EEFTreeStructureDescription getTreeStructure() { + if (treeStructure != null && treeStructure.eIsProxy()) { + InternalEObject oldTreeStructure = (InternalEObject) treeStructure; + treeStructure = (EEFTreeStructureDescription) eResolveProxy(oldTreeStructure); + if (treeStructure != oldTreeStructure) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE, oldTreeStructure, treeStructure)); + } + } + return treeStructure; + } + + /** + * + * + * @generated + */ + public EEFTreeStructureDescription basicGetTreeStructure() { + return treeStructure; + } + + /** + * + * + * @generated + */ + @Override + public void setTreeStructure(EEFTreeStructureDescription newTreeStructure) { + EEFTreeStructureDescription oldTreeStructure = treeStructure; + treeStructure = newTreeStructure; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE, + oldTreeStructure, treeStructure)); + } + + /** + * + * + * @generated + */ + @Override + public String getEditExpression() { + return editExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setEditExpression(String newEditExpression) { + String oldEditExpression = editExpression; + editExpression = newEditExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION, + oldEditExpression, editExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: + if (resolve) + return getTreeStructure(); + return basicGetTreeStructure(); + case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: + return getEditExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: + setTreeStructure((EEFTreeStructureDescription) newValue); + return; + case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: + setTreeStructure((EEFTreeStructureDescription) null); + return; + case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression(EDIT_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null + : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: + return treeStructure != null; + case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: + return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null + : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(", editExpression: "); //$NON-NLS-1$ + result.append(editExpression); + result.append(')'); + return result.toString(); + } + +} //EEFTreeDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDialogSelectDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDialogSelectDescriptionImpl.java new file mode 100644 index 000000000..83a7493ca --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDialogSelectDescriptionImpl.java @@ -0,0 +1,357 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFTreeDescription; +import org.eclipse.eef.eef.EEFTreeDialogSelectDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Tree Dialog Select Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl#getDefaultFilter Default Filter}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl#getTree Tree}
  • + *
+ * + * @generated + */ +public class EEFTreeDialogSelectDescriptionImpl extends EEFCellWidgetDescriptionImpl + implements EEFTreeDialogSelectDescription { + /** + * The default value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. + * + * + * @see #getSemanticCandidateExpression() + * @generated + * @ordered + */ + protected static final String SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. + * + * + * @see #getSemanticCandidateExpression() + * @generated + * @ordered + */ + protected String semanticCandidateExpression = SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getDefaultFilter() Default Filter}' attribute. + * + * + * @see #getDefaultFilter() + * @generated + * @ordered + */ + protected static final String DEFAULT_FILTER_EDEFAULT = "*"; //$NON-NLS-1$ + + /** + * The cached value of the '{@link #getDefaultFilter() Default Filter}' attribute. + * + * + * @see #getDefaultFilter() + * @generated + * @ordered + */ + protected String defaultFilter = DEFAULT_FILTER_EDEFAULT; + + /** + * The default value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected static final String DOMAIN_CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected String domainClass = DOMAIN_CLASS_EDEFAULT; + + /** + * The cached value of the '{@link #getTree() Tree}' reference. + * + * + * @see #getTree() + * @generated + * @ordered + */ + protected EEFTreeDescription tree; + + /** + * + * + * @generated + */ + protected EEFTreeDialogSelectDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getSemanticCandidateExpression() { + return semanticCandidateExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setSemanticCandidateExpression(String newSemanticCandidateExpression) { + String oldSemanticCandidateExpression = semanticCandidateExpression; + semanticCandidateExpression = newSemanticCandidateExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, + oldSemanticCandidateExpression, semanticCandidateExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getDefaultFilter() { + return defaultFilter; + } + + /** + * + * + * @generated + */ + @Override + public void setDefaultFilter(String newDefaultFilter) { + String oldDefaultFilter = defaultFilter; + defaultFilter = newDefaultFilter; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER, oldDefaultFilter, defaultFilter)); + } + + /** + * + * + * @generated + */ + @Override + public String getDomainClass() { + return domainClass; + } + + /** + * + * + * @generated + */ + @Override + public void setDomainClass(String newDomainClass) { + String oldDomainClass = domainClass; + domainClass = newDomainClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS, oldDomainClass, domainClass)); + } + + /** + * + * + * @generated + */ + @Override + public EEFTreeDescription getTree() { + if (tree != null && tree.eIsProxy()) { + InternalEObject oldTree = (InternalEObject) tree; + tree = (EEFTreeDescription) eResolveProxy(oldTree); + if (tree != oldTree) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE, oldTree, tree)); + } + } + return tree; + } + + /** + * + * + * @generated + */ + public EEFTreeDescription basicGetTree() { + return tree; + } + + /** + * + * + * @generated + */ + @Override + public void setTree(EEFTreeDescription newTree) { + EEFTreeDescription oldTree = tree; + tree = newTree; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE, + oldTree, tree)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + return getSemanticCandidateExpression(); + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: + return getDefaultFilter(); + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: + return getDomainClass(); + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: + if (resolve) + return getTree(); + return basicGetTree(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + setSemanticCandidateExpression((String) newValue); + return; + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: + setDefaultFilter((String) newValue); + return; + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: + setDomainClass((String) newValue); + return; + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: + setTree((EEFTreeDescription) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + setSemanticCandidateExpression(SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: + setDefaultFilter(DEFAULT_FILTER_EDEFAULT); + return; + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: + setDomainClass(DOMAIN_CLASS_EDEFAULT); + return; + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: + setTree((EEFTreeDescription) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + return SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null + : !SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: + return DEFAULT_FILTER_EDEFAULT == null ? defaultFilter != null + : !DEFAULT_FILTER_EDEFAULT.equals(defaultFilter); + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: + return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: + return tree != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (semanticCandidateExpression: "); //$NON-NLS-1$ + result.append(semanticCandidateExpression); + result.append(", defaultFilter: "); //$NON-NLS-1$ + result.append(defaultFilter); + result.append(", domainClass: "); //$NON-NLS-1$ + result.append(domainClass); + result.append(')'); + return result.toString(); + } + +} //EEFTreeDialogSelectDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeStructureDescriptionImpl.java new file mode 100644 index 000000000..63b07e858 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeStructureDescriptionImpl.java @@ -0,0 +1,231 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFTreeStructureDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'EEF Tree Structure Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFTreeStructureDescriptionImpl#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFTreeStructureDescriptionImpl#isMultiple Multiple}
  • + *
+ * + * @generated + */ +public abstract class EEFTreeStructureDescriptionImpl extends MinimalEObjectImpl.Container + implements EEFTreeStructureDescription { + /** + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #isMultiple() Multiple}' attribute. + * + * + * @see #isMultiple() + * @generated + * @ordered + */ + protected static final boolean MULTIPLE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isMultiple() Multiple}' attribute. + * + * + * @see #isMultiple() + * @generated + * @ordered + */ + protected boolean multiple = MULTIPLE_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFTreeStructureDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TREE_STRUCTURE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER, + oldIdentifier, identifier)); + } + + /** + * + * + * @generated + */ + @Override + public boolean isMultiple() { + return multiple; + } + + /** + * + * + * @generated + */ + @Override + public void setMultiple(boolean newMultiple) { + boolean oldMultiple = multiple; + multiple = newMultiple; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE, + oldMultiple, multiple)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: + return getIdentifier(); + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: + return isMultiple(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: + setIdentifier((String) newValue); + return; + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: + setMultiple((Boolean) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: + setMultiple(MULTIPLE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: + return multiple != MULTIPLE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (identifier: "); //$NON-NLS-1$ + result.append(identifier); + result.append(", multiple: "); //$NON-NLS-1$ + result.append(multiple); + result.append(')'); + return result.toString(); + } + +} //EEFTreeStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFViewDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFViewDescriptionImpl.java new file mode 100644 index 000000000..4f3395b10 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFViewDescriptionImpl.java @@ -0,0 +1,523 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import java.util.Collection; + +import org.eclipse.eef.eef.EEFGroupDescription; +import org.eclipse.eef.eef.EEFJavaExtensionDescription; +import org.eclipse.eef.eef.EEFPageDescription; +import org.eclipse.eef.eef.EEFTableStructureDescription; +import org.eclipse.eef.eef.EEFTreeStructureDescription; +import org.eclipse.eef.eef.EEFViewDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EDataTypeUniqueEList; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.EObjectResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'EEF View Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getLabelExpression Label Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getEPackageNsUris EPackage Ns Uris}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getGroups Groups}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getPages Pages}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getJavaExtensions Java Extensions}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getImportedViews Imported Views}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getTreeStructures Tree Structures}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getTableStructures Table Structures}
  • + *
+ * + * @generated + */ +public class EEFViewDescriptionImpl extends ContextableElementImpl implements EEFViewDescription { + /** + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected static final String LABEL_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getEPackageNsUris() EPackage Ns Uris}' attribute list. + * + * + * @see #getEPackageNsUris() + * @generated + * @ordered + */ + protected EList ePackageNsUris; + + /** + * The cached value of the '{@link #getGroups() Groups}' containment reference list. + * + * + * @see #getGroups() + * @generated + * @ordered + */ + protected EList groups; + + /** + * The cached value of the '{@link #getPages() Pages}' containment reference list. + * + * + * @see #getPages() + * @generated + * @ordered + */ + protected EList pages; + + /** + * The cached value of the '{@link #getJavaExtensions() Java Extensions}' containment reference list. + * + * + * @see #getJavaExtensions() + * @generated + * @ordered + */ + protected EList javaExtensions; + + /** + * The cached value of the '{@link #getImportedViews() Imported Views}' reference list. + * + * + * @see #getImportedViews() + * @generated + * @ordered + */ + protected EList importedViews; + + /** + * The cached value of the '{@link #getTreeStructures() Tree Structures}' containment reference list. + * + * + * @see #getTreeStructures() + * @generated + * @ordered + */ + protected EList treeStructures; + + /** + * The cached value of the '{@link #getTableStructures() Table Structures}' containment reference list. + * + * + * @see #getTableStructures() + * @generated + * @ordered + */ + protected EList tableStructures; + + /** + * + * + * @generated + */ + protected EEFViewDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_VIEW_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER, + oldIdentifier, identifier)); + } + + /** + * + * + * @generated + */ + @Override + public String getLabelExpression() { + return labelExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setLabelExpression(String newLabelExpression) { + String oldLabelExpression = labelExpression; + labelExpression = newLabelExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION, + oldLabelExpression, labelExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EList getEPackageNsUris() { + if (ePackageNsUris == null) { + ePackageNsUris = new EDataTypeUniqueEList(String.class, this, + EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS); + } + return ePackageNsUris; + } + + /** + * + * + * @generated + */ + @Override + public EList getGroups() { + if (groups == null) { + groups = new EObjectContainmentEList.Resolving(EEFGroupDescription.class, this, + EefPackage.EEF_VIEW_DESCRIPTION__GROUPS); + } + return groups; + } + + /** + * + * + * @generated + */ + @Override + public EList getPages() { + if (pages == null) { + pages = new EObjectContainmentEList.Resolving(EEFPageDescription.class, this, + EefPackage.EEF_VIEW_DESCRIPTION__PAGES); + } + return pages; + } + + /** + * + * + * @generated + */ + @Override + public EList getJavaExtensions() { + if (javaExtensions == null) { + javaExtensions = new EObjectContainmentEList.Resolving( + EEFJavaExtensionDescription.class, this, EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS); + } + return javaExtensions; + } + + /** + * + * + * @generated + */ + @Override + public EList getImportedViews() { + if (importedViews == null) { + importedViews = new EObjectResolvingEList(EEFViewDescription.class, this, + EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS); + } + return importedViews; + } + + /** + * + * + * @generated + */ + @Override + public EList getTreeStructures() { + if (treeStructures == null) { + treeStructures = new EObjectContainmentEList.Resolving( + EEFTreeStructureDescription.class, this, EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES); + } + return treeStructures; + } + + /** + * + * + * @generated + */ + @Override + public EList getTableStructures() { + if (tableStructures == null) { + tableStructures = new EObjectContainmentEList.Resolving( + EEFTableStructureDescription.class, this, EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES); + } + return tableStructures; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: + return ((InternalEList) getGroups()).basicRemove(otherEnd, msgs); + case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: + return ((InternalEList) getPages()).basicRemove(otherEnd, msgs); + case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: + return ((InternalEList) getJavaExtensions()).basicRemove(otherEnd, msgs); + case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: + return ((InternalEList) getTreeStructures()).basicRemove(otherEnd, msgs); + case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: + return ((InternalEList) getTableStructures()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: + return getIdentifier(); + case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: + return getLabelExpression(); + case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: + return getEPackageNsUris(); + case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: + return getGroups(); + case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: + return getPages(); + case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: + return getJavaExtensions(); + case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: + return getImportedViews(); + case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: + return getTreeStructures(); + case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: + return getTableStructures(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: + setIdentifier((String) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression((String) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: + getEPackageNsUris().clear(); + getEPackageNsUris().addAll((Collection) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: + getGroups().clear(); + getGroups().addAll((Collection) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: + getPages().clear(); + getPages().addAll((Collection) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: + getJavaExtensions().clear(); + getJavaExtensions().addAll((Collection) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: + getImportedViews().clear(); + getImportedViews().addAll((Collection) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: + getTreeStructures().clear(); + getTreeStructures().addAll((Collection) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: + getTableStructures().clear(); + getTableStructures().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression(LABEL_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: + getEPackageNsUris().clear(); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: + getGroups().clear(); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: + getPages().clear(); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: + getJavaExtensions().clear(); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: + getImportedViews().clear(); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: + getTreeStructures().clear(); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: + getTableStructures().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: + return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null + : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); + case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: + return ePackageNsUris != null && !ePackageNsUris.isEmpty(); + case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: + return groups != null && !groups.isEmpty(); + case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: + return pages != null && !pages.isEmpty(); + case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: + return javaExtensions != null && !javaExtensions.isEmpty(); + case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: + return importedViews != null && !importedViews.isEmpty(); + case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: + return treeStructures != null && !treeStructures.isEmpty(); + case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: + return tableStructures != null && !tableStructures.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (identifier: "); //$NON-NLS-1$ + result.append(identifier); + result.append(", labelExpression: "); //$NON-NLS-1$ + result.append(labelExpression); + result.append(", ePackageNsUris: "); //$NON-NLS-1$ + result.append(ePackageNsUris); + result.append(')'); + return result.toString(); + } + +} //EEFViewDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFWidgetDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFWidgetDescriptionImpl.java new file mode 100644 index 000000000..c65a2d961 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFWidgetDescriptionImpl.java @@ -0,0 +1,289 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.EEFWidgetDescription; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Widget Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.eef.impl.EEFWidgetDescriptionImpl#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFWidgetDescriptionImpl#getLabelExpression Label Expression}
  • + *
  • {@link org.eclipse.eef.eef.impl.EEFWidgetDescriptionImpl#getFeatureCandidatesExpression Feature Candidates Expression}
  • + *
+ * + * @generated + */ +public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl implements EEFWidgetDescription { + /** + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected static final String LABEL_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getFeatureCandidatesExpression() Feature Candidates Expression}' attribute. + * + * + * @see #getFeatureCandidatesExpression() + * @generated + * @ordered + */ + protected static final String FEATURE_CANDIDATES_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getFeatureCandidatesExpression() Feature Candidates Expression}' attribute. + * + * + * @see #getFeatureCandidatesExpression() + * @generated + * @ordered + */ + protected String featureCandidatesExpression = FEATURE_CANDIDATES_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFWidgetDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_WIDGET_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER, + oldIdentifier, identifier)); + } + + /** + * + * + * @generated + */ + @Override + public String getLabelExpression() { + return labelExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setLabelExpression(String newLabelExpression) { + String oldLabelExpression = labelExpression; + labelExpression = newLabelExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION, + oldLabelExpression, labelExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getFeatureCandidatesExpression() { + return featureCandidatesExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setFeatureCandidatesExpression(String newFeatureCandidatesExpression) { + String oldFeatureCandidatesExpression = featureCandidatesExpression; + featureCandidatesExpression = newFeatureCandidatesExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION, oldFeatureCandidatesExpression, + featureCandidatesExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: + return getIdentifier(); + case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: + return getLabelExpression(); + case EefPackage.EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION: + return getFeatureCandidatesExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: + setIdentifier((String) newValue); + return; + case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression((String) newValue); + return; + case EefPackage.EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION: + setFeatureCandidatesExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression(LABEL_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION: + setFeatureCandidatesExpression(FEATURE_CANDIDATES_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: + return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null + : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); + case EefPackage.EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION: + return FEATURE_CANDIDATES_EXPRESSION_EDEFAULT == null ? featureCandidatesExpression != null + : !FEATURE_CANDIDATES_EXPRESSION_EDEFAULT.equals(featureCandidatesExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (identifier: "); //$NON-NLS-1$ + result.append(identifier); + result.append(", labelExpression: "); //$NON-NLS-1$ + result.append(labelExpression); + result.append(", featureCandidatesExpression: "); //$NON-NLS-1$ + result.append(featureCandidatesExpression); + result.append(')'); + return result.toString(); + } + +} //EEFWidgetDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefFactoryImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefFactoryImpl.java new file mode 100644 index 000000000..bf74142b5 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefFactoryImpl.java @@ -0,0 +1,447 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.*; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class EefFactoryImpl extends EFactoryImpl implements EefFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static EefFactory init() { + try { + EefFactory theEefFactory = (EefFactory) EPackage.Registry.INSTANCE.getEFactory(EefPackage.eNS_URI); + if (theEefFactory != null) { + return theEefFactory; + } + } catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new EefFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public EefFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case EefPackage.EEF_VIEW_DESCRIPTION: + return createEEFViewDescription(); + case EefPackage.EEF_PAGE_DESCRIPTION: + return createEEFPageDescription(); + case EefPackage.EEF_GROUP_DESCRIPTION: + return createEEFGroupDescription(); + case EefPackage.EEF_CONTAINER_DESCRIPTION: + return createEEFContainerDescription(); + case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION: + return createEEFJavaExtensionDescription(); + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION: + return createEEFInterpretedTableStructureDescription(); + case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION: + return createEEFAdapterFactoryTreeStructureDescription(); + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION: + return createEEFInterpretedTreeStructureDescription(); + case EefPackage.EEF_TEXT_DESCRIPTION: + return createEEFTextDescription(); + case EefPackage.EEF_CHECKBOX_DESCRIPTION: + return createEEFCheckboxDescription(); + case EefPackage.EEF_SELECT_DESCRIPTION: + return createEEFSelectDescription(); + case EefPackage.EEF_LABEL_DESCRIPTION: + return createEEFLabelDescription(); + case EefPackage.EEF_RADIO_DESCRIPTION: + return createEEFRadioDescription(); + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION: + return createEEFTreeDialogSelectDescription(); + case EefPackage.EEF_LINK_DESCRIPTION: + return createEEFLinkDescription(); + case EefPackage.EEF_IMAGE_DESCRIPTION: + return createEEFImageDescription(); + case EefPackage.EEF_TREE_DESCRIPTION: + return createEEFTreeDescription(); + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION: + return createEEFImagePickerDescription(); + case EefPackage.EEF_TABLE_DESCRIPTION: + return createEEFTableDescription(); + case EefPackage.EEF_COLUMN_DESCRIPTION: + return createEEFColumnDescription(); + case EefPackage.EEF_LINE_DESCRIPTION: + return createEEFLineDescription(); + case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION: + return createEEFAdapterFactoryTableStructureDescription(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case EefPackage.EXPRESSION: + return createExpressionFromString(eDataType, initialValue); + case EefPackage.TYPE_NAME: + return createTypeNameFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case EefPackage.EXPRESSION: + return convertExpressionToString(eDataType, instanceValue); + case EefPackage.TYPE_NAME: + return convertTypeNameToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + @Override + public EEFViewDescription createEEFViewDescription() { + EEFViewDescriptionImpl eefViewDescription = new EEFViewDescriptionImpl(); + return eefViewDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFPageDescription createEEFPageDescription() { + EEFPageDescriptionImpl eefPageDescription = new EEFPageDescriptionImpl(); + return eefPageDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFGroupDescription createEEFGroupDescription() { + EEFGroupDescriptionImpl eefGroupDescription = new EEFGroupDescriptionImpl(); + return eefGroupDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFContainerDescription createEEFContainerDescription() { + EEFContainerDescriptionImpl eefContainerDescription = new EEFContainerDescriptionImpl(); + return eefContainerDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFJavaExtensionDescription createEEFJavaExtensionDescription() { + EEFJavaExtensionDescriptionImpl eefJavaExtensionDescription = new EEFJavaExtensionDescriptionImpl(); + return eefJavaExtensionDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFInterpretedTableStructureDescription createEEFInterpretedTableStructureDescription() { + EEFInterpretedTableStructureDescriptionImpl eefInterpretedTableStructureDescription = new EEFInterpretedTableStructureDescriptionImpl(); + return eefInterpretedTableStructureDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFAdapterFactoryTreeStructureDescription createEEFAdapterFactoryTreeStructureDescription() { + EEFAdapterFactoryTreeStructureDescriptionImpl eefAdapterFactoryTreeStructureDescription = new EEFAdapterFactoryTreeStructureDescriptionImpl(); + return eefAdapterFactoryTreeStructureDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFInterpretedTreeStructureDescription createEEFInterpretedTreeStructureDescription() { + EEFInterpretedTreeStructureDescriptionImpl eefInterpretedTreeStructureDescription = new EEFInterpretedTreeStructureDescriptionImpl(); + return eefInterpretedTreeStructureDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFTextDescription createEEFTextDescription() { + EEFTextDescriptionImpl eefTextDescription = new EEFTextDescriptionImpl(); + return eefTextDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFCheckboxDescription createEEFCheckboxDescription() { + EEFCheckboxDescriptionImpl eefCheckboxDescription = new EEFCheckboxDescriptionImpl(); + return eefCheckboxDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFSelectDescription createEEFSelectDescription() { + EEFSelectDescriptionImpl eefSelectDescription = new EEFSelectDescriptionImpl(); + return eefSelectDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFLabelDescription createEEFLabelDescription() { + EEFLabelDescriptionImpl eefLabelDescription = new EEFLabelDescriptionImpl(); + return eefLabelDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFRadioDescription createEEFRadioDescription() { + EEFRadioDescriptionImpl eefRadioDescription = new EEFRadioDescriptionImpl(); + return eefRadioDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFTreeDialogSelectDescription createEEFTreeDialogSelectDescription() { + EEFTreeDialogSelectDescriptionImpl eefTreeDialogSelectDescription = new EEFTreeDialogSelectDescriptionImpl(); + return eefTreeDialogSelectDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFLinkDescription createEEFLinkDescription() { + EEFLinkDescriptionImpl eefLinkDescription = new EEFLinkDescriptionImpl(); + return eefLinkDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFImageDescription createEEFImageDescription() { + EEFImageDescriptionImpl eefImageDescription = new EEFImageDescriptionImpl(); + return eefImageDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFTreeDescription createEEFTreeDescription() { + EEFTreeDescriptionImpl eefTreeDescription = new EEFTreeDescriptionImpl(); + return eefTreeDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFImagePickerDescription createEEFImagePickerDescription() { + EEFImagePickerDescriptionImpl eefImagePickerDescription = new EEFImagePickerDescriptionImpl(); + return eefImagePickerDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFTableDescription createEEFTableDescription() { + EEFTableDescriptionImpl eefTableDescription = new EEFTableDescriptionImpl(); + return eefTableDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFColumnDescription createEEFColumnDescription() { + EEFColumnDescriptionImpl eefColumnDescription = new EEFColumnDescriptionImpl(); + return eefColumnDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFLineDescription createEEFLineDescription() { + EEFLineDescriptionImpl eefLineDescription = new EEFLineDescriptionImpl(); + return eefLineDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFAdapterFactoryTableStructureDescription createEEFAdapterFactoryTableStructureDescription() { + EEFAdapterFactoryTableStructureDescriptionImpl eefAdapterFactoryTableStructureDescription = new EEFAdapterFactoryTableStructureDescriptionImpl(); + return eefAdapterFactoryTableStructureDescription; + } + + /** + * + * + * @generated + */ + public String createExpressionFromString(EDataType eDataType, String initialValue) { + return (String) super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertExpressionToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public String createTypeNameFromString(EDataType eDataType, String initialValue) { + return (String) super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertTypeNameToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + @Override + public EefPackage getEefPackage() { + return (EefPackage) getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static EefPackage getPackage() { + return EefPackage.eINSTANCE; + } + +} //EefFactoryImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefPackageImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefPackageImpl.java new file mode 100644 index 000000000..539a3a357 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefPackageImpl.java @@ -0,0 +1,2010 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.impl; + +import org.eclipse.eef.eef.ContextableElement; +import org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription; +import org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription; +import org.eclipse.eef.eef.EEFCellWidgetDescription; +import org.eclipse.eef.eef.EEFCheckboxDescription; +import org.eclipse.eef.eef.EEFColumnDescription; +import org.eclipse.eef.eef.EEFContainerDescription; +import org.eclipse.eef.eef.EEFGroupDescription; +import org.eclipse.eef.eef.EEFImageDescription; +import org.eclipse.eef.eef.EEFImagePickerDescription; +import org.eclipse.eef.eef.EEFInterpretedTableStructureDescription; +import org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription; +import org.eclipse.eef.eef.EEFJavaExtensionDescription; +import org.eclipse.eef.eef.EEFLabelDescription; +import org.eclipse.eef.eef.EEFLineDescription; +import org.eclipse.eef.eef.EEFLinkDescription; +import org.eclipse.eef.eef.EEFPageDescription; +import org.eclipse.eef.eef.EEFRadioDescription; +import org.eclipse.eef.eef.EEFSelectDescription; +import org.eclipse.eef.eef.EEFTableDescription; +import org.eclipse.eef.eef.EEFTableStructureDescription; +import org.eclipse.eef.eef.EEFTextDescription; +import org.eclipse.eef.eef.EEFTreeDescription; +import org.eclipse.eef.eef.EEFTreeDialogSelectDescription; +import org.eclipse.eef.eef.EEFTreeStructureDescription; +import org.eclipse.eef.eef.EEFViewDescription; +import org.eclipse.eef.eef.EEFWidgetDescription; +import org.eclipse.eef.eef.EefFactory; +import org.eclipse.eef.eef.EefPackage; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.sirius.context.context.ContextPackage; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class EefPackageImpl extends EPackageImpl implements EefPackage { + /** + * + * + * @generated + */ + private EClass eefViewDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefPageDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefGroupDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefContainerDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefWidgetDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefJavaExtensionDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTreeStructureDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefInterpretedTableStructureDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefCellWidgetDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefAdapterFactoryTreeStructureDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefInterpretedTreeStructureDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTextDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefCheckboxDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefSelectDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefLabelDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefRadioDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTreeDialogSelectDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefLinkDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefImageDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTreeDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefImagePickerDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTableDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefColumnDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefLineDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTableStructureDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefAdapterFactoryTableStructureDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass contextableElementEClass = null; + + /** + * + * + * @generated + */ + private EDataType expressionEDataType = null; + + /** + * + * + * @generated + */ + private EDataType typeNameEDataType = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.eef.eef.EefPackage#eNS_URI + * @see #init() + * @generated + */ + private EefPackageImpl() { + super(eNS_URI, EefFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

This method is used to initialize {@link EefPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static EefPackage init() { + if (isInited) + return (EefPackage) EPackage.Registry.INSTANCE.getEPackage(EefPackage.eNS_URI); + + // Obtain or create and register package + EefPackageImpl theEefPackage = (EefPackageImpl) (EPackage.Registry.INSTANCE + .get(eNS_URI) instanceof EefPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) + : new EefPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + ContextPackage.eINSTANCE.eClass(); + + // Create package meta-data objects + theEefPackage.createPackageContents(); + + // Initialize created meta-data + theEefPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theEefPackage.freeze(); + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(EefPackage.eNS_URI, theEefPackage); + return theEefPackage; + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFViewDescription() { + return eefViewDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFViewDescription_Identifier() { + return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFViewDescription_LabelExpression() { + return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFViewDescription_EPackageNsUris() { + return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFViewDescription_Groups() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFViewDescription_Pages() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFViewDescription_JavaExtensions() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFViewDescription_ImportedViews() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFViewDescription_TreeStructures() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(7); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFViewDescription_TableStructures() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(8); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFPageDescription() { + return eefPageDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFPageDescription_Identifier() { + return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFPageDescription_LabelExpression() { + return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFPageDescription_DomainClass() { + return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFPageDescription_SemanticCandidateExpression() { + return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFPageDescription_Groups() { + return (EReference) eefPageDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFPageDescription_ExtendedPage() { + return (EReference) eefPageDescriptionEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFGroupDescription() { + return eefGroupDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFGroupDescription_Identifier() { + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFGroupDescription_LabelExpression() { + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFGroupDescription_DomainClass() { + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFGroupDescription_SemanticCandidatesExpression() { + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFGroupDescription_Container() { + return (EReference) eefGroupDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFContainerDescription() { + return eefContainerDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFContainerDescription_Identifier() { + return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFContainerDescription_SemanticCandidatesExpression() { + return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFContainerDescription_DomainClass() { + return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFContainerDescription_LayoutColumnCount() { + return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFContainerDescription_Containers() { + return (EReference) eefContainerDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFContainerDescription_Widgets() { + return (EReference) eefContainerDescriptionEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFWidgetDescription() { + return eefWidgetDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFWidgetDescription_Identifier() { + return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFWidgetDescription_LabelExpression() { + return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFWidgetDescription_FeatureCandidatesExpression() { + return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFJavaExtensionDescription() { + return eefJavaExtensionDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFJavaExtensionDescription_QualifiedName() { + return (EAttribute) eefJavaExtensionDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTreeStructureDescription() { + return eefTreeStructureDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeStructureDescription_Identifier() { + return (EAttribute) eefTreeStructureDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeStructureDescription_Multiple() { + return (EAttribute) eefTreeStructureDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFInterpretedTableStructureDescription() { + return eefInterpretedTableStructureDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFInterpretedTableStructureDescription_Columns() { + return (EReference) eefInterpretedTableStructureDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFInterpretedTableStructureDescription_Line() { + return (EReference) eefInterpretedTableStructureDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFCellWidgetDescription() { + return eefCellWidgetDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFAdapterFactoryTreeStructureDescription() { + return eefAdapterFactoryTreeStructureDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider() { + return (EAttribute) eefAdapterFactoryTreeStructureDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFInterpretedTreeStructureDescription() { + return eefInterpretedTreeStructureDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFInterpretedTreeStructureDescription_RootsExpression() { + return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFInterpretedTreeStructureDescription_ChildrenExpression() { + return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression() { + return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression() { + return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTextDescription() { + return eefTextDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTextDescription_ValueExpression() { + return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTextDescription_EditExpression() { + return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTextDescription_LineCount() { + return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFCheckboxDescription() { + return eefCheckboxDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFCheckboxDescription_ValueExpression() { + return (EAttribute) eefCheckboxDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFCheckboxDescription_EditExpression() { + return (EAttribute) eefCheckboxDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFSelectDescription() { + return eefSelectDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFSelectDescription_ValueExpression() { + return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFSelectDescription_EditExpression() { + return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFSelectDescription_CandidatesExpression() { + return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFSelectDescription_Multiple() { + return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFSelectDescription_CandidateDisplayExpression() { + return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFLabelDescription() { + return eefLabelDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFLabelDescription_ValueExpression() { + return (EAttribute) eefLabelDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFRadioDescription() { + return eefRadioDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFRadioDescription_ValueExpression() { + return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFRadioDescription_EditExpression() { + return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFRadioDescription_CandidatesExpression() { + return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFRadioDescription_CandidateDisplayExpression() { + return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTreeDialogSelectDescription() { + return eefTreeDialogSelectDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeDialogSelectDescription_SemanticCandidateExpression() { + return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeDialogSelectDescription_DefaultFilter() { + return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeDialogSelectDescription_DomainClass() { + return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFTreeDialogSelectDescription_Tree() { + return (EReference) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFLinkDescription() { + return eefLinkDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFLinkDescription_OnClickExpression() { + return (EAttribute) eefLinkDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFImageDescription() { + return eefImageDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFImageDescription_ValueExpression() { + return (EAttribute) eefImageDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTreeDescription() { + return eefTreeDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeDescription_ValueExpression() { + return (EAttribute) eefTreeDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFTreeDescription_TreeStructure() { + return (EReference) eefTreeDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeDescription_EditExpression() { + return (EAttribute) eefTreeDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFImagePickerDescription() { + return eefImagePickerDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFImagePickerDescription_ValueExpression() { + return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFImagePickerDescription_EditExpression() { + return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFImagePickerDescription_CandidatesExpression() { + return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTableDescription() { + return eefTableDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTableDescription_ValueExpression() { + return (EAttribute) eefTableDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTableDescription_EditExpression() { + return (EAttribute) eefTableDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFTableDescription_TableStructure() { + return (EReference) eefTableDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFColumnDescription() { + return eefColumnDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFColumnDescription_Width() { + return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFColumnDescription_HeaderExpression() { + return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFColumnDescription_CellWidget() { + return (EReference) eefColumnDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFColumnDescription_ContextCandidatesExpression() { + return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFLineDescription() { + return eefLineDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFLineDescription_HeaderExpression() { + return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFLineDescription_SemanticCandidatesExpression() { + return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFLineDescription_DomainClass() { + return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFLineDescription_SubLines() { + return (EReference) eefLineDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTableStructureDescription() { + return eefTableStructureDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTableStructureDescription_Multiple() { + return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTableStructureDescription_Identifier() { + return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFAdapterFactoryTableStructureDescription() { + return eefAdapterFactoryTableStructureDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider() { + return (EAttribute) eefAdapterFactoryTableStructureDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getContextableElement() { + return contextableElementEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getContextableElement_RequiredContextVariables() { + return (EReference) contextableElementEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getContextableElement_ExcludedContextVariables() { + return (EReference) contextableElementEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EDataType getExpression() { + return expressionEDataType; + } + + /** + * + * + * @generated + */ + @Override + public EDataType getTypeName() { + return typeNameEDataType; + } + + /** + * + * + * @generated + */ + @Override + public EefFactory getEefFactory() { + return (EefFactory) getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) + return; + isCreated = true; + + // Create classes and their features + eefViewDescriptionEClass = createEClass(EEF_VIEW_DESCRIPTION); + createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__IDENTIFIER); + createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION); + createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS); + createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__GROUPS); + createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__PAGES); + createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS); + createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS); + createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__TREE_STRUCTURES); + createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES); + + eefPageDescriptionEClass = createEClass(EEF_PAGE_DESCRIPTION); + createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__IDENTIFIER); + createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION); + createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__DOMAIN_CLASS); + createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); + createEReference(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__GROUPS); + createEReference(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__EXTENDED_PAGE); + + eefGroupDescriptionEClass = createEClass(EEF_GROUP_DESCRIPTION); + createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__IDENTIFIER); + createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION); + createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__DOMAIN_CLASS); + createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION); + createEReference(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__CONTAINER); + + eefContainerDescriptionEClass = createEClass(EEF_CONTAINER_DESCRIPTION); + createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__IDENTIFIER); + createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION); + createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS); + createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT); + createEReference(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__CONTAINERS); + createEReference(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__WIDGETS); + + eefWidgetDescriptionEClass = createEClass(EEF_WIDGET_DESCRIPTION); + createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__IDENTIFIER); + createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION); + createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION); + + eefJavaExtensionDescriptionEClass = createEClass(EEF_JAVA_EXTENSION_DESCRIPTION); + createEAttribute(eefJavaExtensionDescriptionEClass, EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME); + + eefTreeStructureDescriptionEClass = createEClass(EEF_TREE_STRUCTURE_DESCRIPTION); + createEAttribute(eefTreeStructureDescriptionEClass, EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER); + createEAttribute(eefTreeStructureDescriptionEClass, EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE); + + eefInterpretedTableStructureDescriptionEClass = createEClass(EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION); + createEReference(eefInterpretedTableStructureDescriptionEClass, + EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS); + createEReference(eefInterpretedTableStructureDescriptionEClass, + EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE); + + eefCellWidgetDescriptionEClass = createEClass(EEF_CELL_WIDGET_DESCRIPTION); + + eefAdapterFactoryTreeStructureDescriptionEClass = createEClass(EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION); + createEAttribute(eefAdapterFactoryTreeStructureDescriptionEClass, + EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER); + + eefInterpretedTreeStructureDescriptionEClass = createEClass(EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION); + createEAttribute(eefInterpretedTreeStructureDescriptionEClass, + EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION); + createEAttribute(eefInterpretedTreeStructureDescriptionEClass, + EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION); + createEAttribute(eefInterpretedTreeStructureDescriptionEClass, + EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION); + createEAttribute(eefInterpretedTreeStructureDescriptionEClass, + EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION); + + eefTextDescriptionEClass = createEClass(EEF_TEXT_DESCRIPTION); + createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION); + createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION); + createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__LINE_COUNT); + + eefCheckboxDescriptionEClass = createEClass(EEF_CHECKBOX_DESCRIPTION); + createEAttribute(eefCheckboxDescriptionEClass, EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION); + createEAttribute(eefCheckboxDescriptionEClass, EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION); + + eefSelectDescriptionEClass = createEClass(EEF_SELECT_DESCRIPTION); + createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION); + createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION); + createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION); + createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__MULTIPLE); + createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION); + + eefLabelDescriptionEClass = createEClass(EEF_LABEL_DESCRIPTION); + createEAttribute(eefLabelDescriptionEClass, EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION); + + eefRadioDescriptionEClass = createEClass(EEF_RADIO_DESCRIPTION); + createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION); + createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION); + createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION); + createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION); + + eefTreeDialogSelectDescriptionEClass = createEClass(EEF_TREE_DIALOG_SELECT_DESCRIPTION); + createEAttribute(eefTreeDialogSelectDescriptionEClass, + EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); + createEAttribute(eefTreeDialogSelectDescriptionEClass, EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER); + createEAttribute(eefTreeDialogSelectDescriptionEClass, EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS); + createEReference(eefTreeDialogSelectDescriptionEClass, EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE); + + eefLinkDescriptionEClass = createEClass(EEF_LINK_DESCRIPTION); + createEAttribute(eefLinkDescriptionEClass, EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION); + + eefImageDescriptionEClass = createEClass(EEF_IMAGE_DESCRIPTION); + createEAttribute(eefImageDescriptionEClass, EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION); + + eefTreeDescriptionEClass = createEClass(EEF_TREE_DESCRIPTION); + createEAttribute(eefTreeDescriptionEClass, EEF_TREE_DESCRIPTION__VALUE_EXPRESSION); + createEReference(eefTreeDescriptionEClass, EEF_TREE_DESCRIPTION__TREE_STRUCTURE); + createEAttribute(eefTreeDescriptionEClass, EEF_TREE_DESCRIPTION__EDIT_EXPRESSION); + + eefImagePickerDescriptionEClass = createEClass(EEF_IMAGE_PICKER_DESCRIPTION); + createEAttribute(eefImagePickerDescriptionEClass, EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION); + createEAttribute(eefImagePickerDescriptionEClass, EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION); + createEAttribute(eefImagePickerDescriptionEClass, EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION); + + eefTableDescriptionEClass = createEClass(EEF_TABLE_DESCRIPTION); + createEAttribute(eefTableDescriptionEClass, EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION); + createEAttribute(eefTableDescriptionEClass, EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION); + createEReference(eefTableDescriptionEClass, EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE); + + eefColumnDescriptionEClass = createEClass(EEF_COLUMN_DESCRIPTION); + createEAttribute(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__WIDTH); + createEAttribute(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION); + createEReference(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__CELL_WIDGET); + createEAttribute(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION); + + eefLineDescriptionEClass = createEClass(EEF_LINE_DESCRIPTION); + createEAttribute(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__HEADER_EXPRESSION); + createEAttribute(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION); + createEAttribute(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__DOMAIN_CLASS); + createEReference(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__SUB_LINES); + + eefTableStructureDescriptionEClass = createEClass(EEF_TABLE_STRUCTURE_DESCRIPTION); + createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE); + createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER); + + eefAdapterFactoryTableStructureDescriptionEClass = createEClass( + EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION); + createEAttribute(eefAdapterFactoryTableStructureDescriptionEClass, + EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER); + + contextableElementEClass = createEClass(CONTEXTABLE_ELEMENT); + createEReference(contextableElementEClass, CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES); + createEReference(contextableElementEClass, CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES); + + // Create data types + expressionEDataType = createEDataType(EXPRESSION); + typeNameEDataType = createEDataType(TYPE_NAME); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) + return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + ContextPackage theContextPackage = (ContextPackage) EPackage.Registry.INSTANCE + .getEPackage(ContextPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + eefViewDescriptionEClass.getESuperTypes().add(this.getContextableElement()); + eefPageDescriptionEClass.getESuperTypes().add(this.getContextableElement()); + eefGroupDescriptionEClass.getESuperTypes().add(this.getContextableElement()); + eefContainerDescriptionEClass.getESuperTypes().add(this.getContextableElement()); + eefWidgetDescriptionEClass.getESuperTypes().add(this.getContextableElement()); + eefInterpretedTableStructureDescriptionEClass.getESuperTypes().add(this.getEEFTableStructureDescription()); + eefCellWidgetDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); + eefAdapterFactoryTreeStructureDescriptionEClass.getESuperTypes().add(this.getEEFTreeStructureDescription()); + eefInterpretedTreeStructureDescriptionEClass.getESuperTypes().add(this.getEEFTreeStructureDescription()); + eefTextDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefCheckboxDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefSelectDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefLabelDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefRadioDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); + eefTreeDialogSelectDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefLinkDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefImageDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefTreeDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefImagePickerDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); + eefTableDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); + eefAdapterFactoryTableStructureDescriptionEClass.getESuperTypes().add(this.getEEFTableStructureDescription()); + + // Initialize classes and features; add operations and parameters + initEClass(eefViewDescriptionEClass, EEFViewDescription.class, "EEFViewDescription", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFViewDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ + EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFViewDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ + EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFViewDescription_EPackageNsUris(), ecorePackage.getEString(), "ePackageNsUris", null, 0, -1, //$NON-NLS-1$ + EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEReference(getEEFViewDescription_Groups(), this.getEEFGroupDescription(), null, "groups", null, 0, -1, //$NON-NLS-1$ + EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFViewDescription_Pages(), this.getEEFPageDescription(), null, "pages", null, 1, -1, //$NON-NLS-1$ + EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFViewDescription_JavaExtensions(), this.getEEFJavaExtensionDescription(), null, + "javaExtensions", null, 0, -1, EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ + IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFViewDescription_ImportedViews(), this.getEEFViewDescription(), null, "importedViews", null, //$NON-NLS-1$ + 0, -1, EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFViewDescription_TreeStructures(), this.getEEFTreeStructureDescription(), null, + "treeStructures", null, 0, -1, EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ + IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFViewDescription_TableStructures(), this.getEEFTableStructureDescription(), null, + "tableStructures", null, 0, -1, EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ + IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefPageDescriptionEClass, EEFPageDescription.class, "EEFPageDescription", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFPageDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ + EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFPageDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ + EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFPageDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, //$NON-NLS-1$ + EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFPageDescription_SemanticCandidateExpression(), this.getExpression(), + "semanticCandidateExpression", "", 0, 1, EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$//$NON-NLS-2$ + IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFPageDescription_Groups(), this.getEEFGroupDescription(), null, "groups", null, 0, -1, //$NON-NLS-1$ + EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFPageDescription_ExtendedPage(), this.getEEFPageDescription(), null, "extendedPage", null, //$NON-NLS-1$ + 0, 1, EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefGroupDescriptionEClass, EEFGroupDescription.class, "EEFGroupDescription", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFGroupDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ + EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFGroupDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ + EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFGroupDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, //$NON-NLS-1$ + EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFGroupDescription_SemanticCandidatesExpression(), this.getExpression(), + "semanticCandidatesExpression", null, 0, 1, EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFGroupDescription_Container(), this.getEEFContainerDescription(), null, "container", null, //$NON-NLS-1$ + 1, 1, EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefContainerDescriptionEClass, EEFContainerDescription.class, "EEFContainerDescription", //$NON-NLS-1$ + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFContainerDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ + EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFContainerDescription_SemanticCandidatesExpression(), this.getExpression(), + "semanticCandidatesExpression", null, 0, 1, EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFContainerDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, //$NON-NLS-1$ + EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFContainerDescription_LayoutColumnCount(), ecorePackage.getEInt(), "layoutColumnCount", "1", //$NON-NLS-1$//$NON-NLS-2$ + 0, 1, EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFContainerDescription_Containers(), this.getEEFContainerDescription(), null, "containers", //$NON-NLS-1$ + null, 0, -1, EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFContainerDescription_Widgets(), this.getEEFWidgetDescription(), null, "widgets", null, 1, //$NON-NLS-1$ + -1, EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefWidgetDescriptionEClass, EEFWidgetDescription.class, "EEFWidgetDescription", IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFWidgetDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ + EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFWidgetDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ + EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFWidgetDescription_FeatureCandidatesExpression(), this.getExpression(), + "featureCandidatesExpression", null, 0, 1, EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefJavaExtensionDescriptionEClass, EEFJavaExtensionDescription.class, "EEFJavaExtensionDescription", //$NON-NLS-1$ + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFJavaExtensionDescription_QualifiedName(), ecorePackage.getEString(), "qualifiedName", null, //$NON-NLS-1$ + 0, 1, EEFJavaExtensionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, + !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTreeStructureDescriptionEClass, EEFTreeStructureDescription.class, "EEFTreeStructureDescription", //$NON-NLS-1$ + IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFTreeStructureDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ + EEFTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTreeStructureDescription_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, //$NON-NLS-1$ + EEFTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefInterpretedTableStructureDescriptionEClass, EEFInterpretedTableStructureDescription.class, + "EEFInterpretedTableStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getEEFInterpretedTableStructureDescription_Columns(), this.getEEFColumnDescription(), null, + "columns", null, 0, -1, EEFInterpretedTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFInterpretedTableStructureDescription_Line(), this.getEEFLineDescription(), null, "line", //$NON-NLS-1$ + null, 0, 1, EEFInterpretedTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefCellWidgetDescriptionEClass, EEFCellWidgetDescription.class, "EEFCellWidgetDescription", //$NON-NLS-1$ + IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(eefAdapterFactoryTreeStructureDescriptionEClass, EEFAdapterFactoryTreeStructureDescription.class, + "EEFAdapterFactoryTreeStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(), ecorePackage.getEString(), + "adapterFactoryProvider", null, 0, 1, EEFAdapterFactoryTreeStructureDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefInterpretedTreeStructureDescriptionEClass, EEFInterpretedTreeStructureDescription.class, + "EEFInterpretedTreeStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFInterpretedTreeStructureDescription_RootsExpression(), this.getExpression(), + "rootsExpression", null, 0, 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFInterpretedTreeStructureDescription_ChildrenExpression(), this.getExpression(), + "childrenExpression", null, 0, 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(), this.getExpression(), + "selectablePredicateExpression", null, 0, 1, EEFInterpretedTreeStructureDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(), this.getExpression(), + "candidateDisplayExpression", null, 0, 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTextDescriptionEClass, EEFTextDescription.class, "EEFTextDescription", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFTextDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTextDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ + EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTextDescription_LineCount(), ecorePackage.getEInt(), "lineCount", "1", 0, 1, //$NON-NLS-1$//$NON-NLS-2$ + EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + initEClass(eefCheckboxDescriptionEClass, EEFCheckboxDescription.class, "EEFCheckboxDescription", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFCheckboxDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFCheckboxDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFCheckboxDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ + EEFCheckboxDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefSelectDescriptionEClass, EEFSelectDescription.class, "EEFSelectDescription", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFSelectDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFSelectDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ + EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFSelectDescription_CandidatesExpression(), this.getExpression(), "candidatesExpression", //$NON-NLS-1$ + null, 0, 1, EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, + !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFSelectDescription_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, //$NON-NLS-1$ + EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFSelectDescription_CandidateDisplayExpression(), this.getExpression(), + "candidateDisplayExpression", null, 0, 1, EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefLabelDescriptionEClass, EEFLabelDescription.class, "EEFLabelDescription", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFLabelDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFLabelDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefRadioDescriptionEClass, EEFRadioDescription.class, "EEFRadioDescription", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFRadioDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFRadioDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ + EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFRadioDescription_CandidatesExpression(), this.getExpression(), "candidatesExpression", //$NON-NLS-1$ + null, 0, 1, EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, + !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFRadioDescription_CandidateDisplayExpression(), this.getExpression(), + "candidateDisplayExpression", null, 0, 1, EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTreeDialogSelectDescriptionEClass, EEFTreeDialogSelectDescription.class, + "EEFTreeDialogSelectDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFTreeDialogSelectDescription_SemanticCandidateExpression(), this.getExpression(), + "semanticCandidateExpression", null, 0, 1, EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTreeDialogSelectDescription_DefaultFilter(), ecorePackage.getEString(), "defaultFilter", //$NON-NLS-1$ + "*", 0, 1, EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ + !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTreeDialogSelectDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, //$NON-NLS-1$ + EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, + !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFTreeDialogSelectDescription_Tree(), this.getEEFTreeDescription(), null, "tree", null, 0, 1, //$NON-NLS-1$ + EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefLinkDescriptionEClass, EEFLinkDescription.class, "EEFLinkDescription", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFLinkDescription_OnClickExpression(), this.getExpression(), "onClickExpression", null, 0, 1, //$NON-NLS-1$ + EEFLinkDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + initEClass(eefImageDescriptionEClass, EEFImageDescription.class, "EEFImageDescription", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFImageDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFImageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTreeDescriptionEClass, EEFTreeDescription.class, "EEFTreeDescription", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFTreeDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEReference(getEEFTreeDescription_TreeStructure(), this.getEEFTreeStructureDescription(), null, + "treeStructure", null, 0, 1, EEFTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTreeDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ + EEFTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + initEClass(eefImagePickerDescriptionEClass, EEFImagePickerDescription.class, "EEFImagePickerDescription", //$NON-NLS-1$ + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFImagePickerDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, //$NON-NLS-1$ + 1, EEFImagePickerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFImagePickerDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, //$NON-NLS-1$ + 1, EEFImagePickerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFImagePickerDescription_CandidatesExpression(), this.getExpression(), + "candidatesExpression", null, 0, 1, EEFImagePickerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTableDescriptionEClass, EEFTableDescription.class, "EEFTableDescription", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFTableDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFTableDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTableDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ + EEFTableDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFTableDescription_TableStructure(), this.getEEFTableStructureDescription(), null, + "tableStructure", null, 0, 1, EEFTableDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefColumnDescriptionEClass, EEFColumnDescription.class, "EEFColumnDescription", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFColumnDescription_Width(), ecorePackage.getEInt(), "width", null, 0, 1, //$NON-NLS-1$ + EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFColumnDescription_HeaderExpression(), this.getExpression(), "headerExpression", null, 0, 1, //$NON-NLS-1$ + EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFColumnDescription_CellWidget(), this.getEEFCellWidgetDescription(), null, "cellWidget", //$NON-NLS-1$ + null, 0, 1, EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFColumnDescription_ContextCandidatesExpression(), this.getExpression(), + "contextCandidatesExpression", null, 0, 1, EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefLineDescriptionEClass, EEFLineDescription.class, "EEFLineDescription", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFLineDescription_HeaderExpression(), ecorePackage.getEString(), "headerExpression", null, 0, //$NON-NLS-1$ + 1, EEFLineDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLineDescription_SemanticCandidatesExpression(), this.getExpression(), + "semanticCandidatesExpression", null, 0, 1, EEFLineDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLineDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, //$NON-NLS-1$ + EEFLineDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEReference(getEEFLineDescription_SubLines(), this.getEEFLineDescription(), null, "subLines", null, 0, -1, //$NON-NLS-1$ + EEFLineDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTableStructureDescriptionEClass, EEFTableStructureDescription.class, + "EEFTableStructureDescription", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFTableStructureDescription_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, //$NON-NLS-1$ + EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTableStructureDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, //$NON-NLS-1$ + 1, EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, + !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefAdapterFactoryTableStructureDescriptionEClass, EEFAdapterFactoryTableStructureDescription.class, + "EEFAdapterFactoryTableStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(), + ecorePackage.getEString(), "adapterFactoryProvider", null, 0, 1, //$NON-NLS-1$ + EEFAdapterFactoryTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(contextableElementEClass, ContextableElement.class, "ContextableElement", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getContextableElement_RequiredContextVariables(), theContextPackage.getContextVariable(), null, + "requiredContextVariables", null, 0, -1, ContextableElement.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getContextableElement_ExcludedContextVariables(), theContextPackage.getContextVariable(), null, + "excludedContextVariables", null, 0, -1, ContextableElement.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize data types + initEDataType(expressionEDataType, String.class, "Expression", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEDataType(typeNameEDataType, String.class, "TypeName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + // Create resource + createResource(eNS_URI); + } + +} //EefPackageImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefAdapterFactory.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefAdapterFactory.java new file mode 100644 index 000000000..3289464e7 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefAdapterFactory.java @@ -0,0 +1,620 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.util; + +import org.eclipse.eef.eef.*; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see org.eclipse.eef.eef.EefPackage + * @generated + */ +public class EefAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static EefPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public EefAdapterFactory() { + if (modelPackage == null) { + modelPackage = EefPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject) object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected EefSwitch modelSwitch = new EefSwitch() { + @Override + public Adapter caseEEFViewDescription(EEFViewDescription object) { + return createEEFViewDescriptionAdapter(); + } + + @Override + public Adapter caseEEFPageDescription(EEFPageDescription object) { + return createEEFPageDescriptionAdapter(); + } + + @Override + public Adapter caseEEFGroupDescription(EEFGroupDescription object) { + return createEEFGroupDescriptionAdapter(); + } + + @Override + public Adapter caseEEFContainerDescription(EEFContainerDescription object) { + return createEEFContainerDescriptionAdapter(); + } + + @Override + public Adapter caseEEFWidgetDescription(EEFWidgetDescription object) { + return createEEFWidgetDescriptionAdapter(); + } + + @Override + public Adapter caseEEFJavaExtensionDescription(EEFJavaExtensionDescription object) { + return createEEFJavaExtensionDescriptionAdapter(); + } + + @Override + public Adapter caseEEFTreeStructureDescription(EEFTreeStructureDescription object) { + return createEEFTreeStructureDescriptionAdapter(); + } + + @Override + public Adapter caseEEFInterpretedTableStructureDescription(EEFInterpretedTableStructureDescription object) { + return createEEFInterpretedTableStructureDescriptionAdapter(); + } + + @Override + public Adapter caseEEFCellWidgetDescription(EEFCellWidgetDescription object) { + return createEEFCellWidgetDescriptionAdapter(); + } + + @Override + public Adapter caseEEFAdapterFactoryTreeStructureDescription(EEFAdapterFactoryTreeStructureDescription object) { + return createEEFAdapterFactoryTreeStructureDescriptionAdapter(); + } + + @Override + public Adapter caseEEFInterpretedTreeStructureDescription(EEFInterpretedTreeStructureDescription object) { + return createEEFInterpretedTreeStructureDescriptionAdapter(); + } + + @Override + public Adapter caseEEFTextDescription(EEFTextDescription object) { + return createEEFTextDescriptionAdapter(); + } + + @Override + public Adapter caseEEFCheckboxDescription(EEFCheckboxDescription object) { + return createEEFCheckboxDescriptionAdapter(); + } + + @Override + public Adapter caseEEFSelectDescription(EEFSelectDescription object) { + return createEEFSelectDescriptionAdapter(); + } + + @Override + public Adapter caseEEFLabelDescription(EEFLabelDescription object) { + return createEEFLabelDescriptionAdapter(); + } + + @Override + public Adapter caseEEFRadioDescription(EEFRadioDescription object) { + return createEEFRadioDescriptionAdapter(); + } + + @Override + public Adapter caseEEFTreeDialogSelectDescription(EEFTreeDialogSelectDescription object) { + return createEEFTreeDialogSelectDescriptionAdapter(); + } + + @Override + public Adapter caseEEFLinkDescription(EEFLinkDescription object) { + return createEEFLinkDescriptionAdapter(); + } + + @Override + public Adapter caseEEFImageDescription(EEFImageDescription object) { + return createEEFImageDescriptionAdapter(); + } + + @Override + public Adapter caseEEFTreeDescription(EEFTreeDescription object) { + return createEEFTreeDescriptionAdapter(); + } + + @Override + public Adapter caseEEFImagePickerDescription(EEFImagePickerDescription object) { + return createEEFImagePickerDescriptionAdapter(); + } + + @Override + public Adapter caseEEFTableDescription(EEFTableDescription object) { + return createEEFTableDescriptionAdapter(); + } + + @Override + public Adapter caseEEFColumnDescription(EEFColumnDescription object) { + return createEEFColumnDescriptionAdapter(); + } + + @Override + public Adapter caseEEFLineDescription(EEFLineDescription object) { + return createEEFLineDescriptionAdapter(); + } + + @Override + public Adapter caseEEFTableStructureDescription(EEFTableStructureDescription object) { + return createEEFTableStructureDescriptionAdapter(); + } + + @Override + public Adapter caseEEFAdapterFactoryTableStructureDescription( + EEFAdapterFactoryTableStructureDescription object) { + return createEEFAdapterFactoryTableStructureDescriptionAdapter(); + } + + @Override + public Adapter caseContextableElement(ContextableElement object) { + return createContextableElementAdapter(); + } + + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject) target); + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFViewDescription EEF View Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFViewDescription + * @generated + */ + public Adapter createEEFViewDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFPageDescription EEF Page Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFPageDescription + * @generated + */ + public Adapter createEEFPageDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFGroupDescription EEF Group Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFGroupDescription + * @generated + */ + public Adapter createEEFGroupDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFContainerDescription EEF Container Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFContainerDescription + * @generated + */ + public Adapter createEEFContainerDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFWidgetDescription EEF Widget Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFWidgetDescription + * @generated + */ + public Adapter createEEFWidgetDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFJavaExtensionDescription EEF Java Extension Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFJavaExtensionDescription + * @generated + */ + public Adapter createEEFJavaExtensionDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFTreeStructureDescription EEF Tree Structure Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFTreeStructureDescription + * @generated + */ + public Adapter createEEFTreeStructureDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription EEF Interpreted Table Structure Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFInterpretedTableStructureDescription + * @generated + */ + public Adapter createEEFInterpretedTableStructureDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFCellWidgetDescription EEF Cell Widget Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFCellWidgetDescription + * @generated + */ + public Adapter createEEFCellWidgetDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription EEF Adapter Factory Tree Structure Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription + * @generated + */ + public Adapter createEEFAdapterFactoryTreeStructureDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription EEF Interpreted Tree Structure Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription + * @generated + */ + public Adapter createEEFInterpretedTreeStructureDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFTextDescription EEF Text Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFTextDescription + * @generated + */ + public Adapter createEEFTextDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFCheckboxDescription EEF Checkbox Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFCheckboxDescription + * @generated + */ + public Adapter createEEFCheckboxDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFSelectDescription EEF Select Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFSelectDescription + * @generated + */ + public Adapter createEEFSelectDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFLabelDescription EEF Label Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFLabelDescription + * @generated + */ + public Adapter createEEFLabelDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFRadioDescription EEF Radio Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFRadioDescription + * @generated + */ + public Adapter createEEFRadioDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription EEF Tree Dialog Select Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFTreeDialogSelectDescription + * @generated + */ + public Adapter createEEFTreeDialogSelectDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFLinkDescription EEF Link Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFLinkDescription + * @generated + */ + public Adapter createEEFLinkDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFImageDescription EEF Image Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFImageDescription + * @generated + */ + public Adapter createEEFImageDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFTreeDescription EEF Tree Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFTreeDescription + * @generated + */ + public Adapter createEEFTreeDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFImagePickerDescription EEF Image Picker Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFImagePickerDescription + * @generated + */ + public Adapter createEEFImagePickerDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFTableDescription EEF Table Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFTableDescription + * @generated + */ + public Adapter createEEFTableDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFColumnDescription EEF Column Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFColumnDescription + * @generated + */ + public Adapter createEEFColumnDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFLineDescription EEF Line Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFLineDescription + * @generated + */ + public Adapter createEEFLineDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFTableStructureDescription EEF Table Structure Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFTableStructureDescription + * @generated + */ + public Adapter createEEFTableStructureDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription EEF Adapter Factory Table Structure Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription + * @generated + */ + public Adapter createEEFAdapterFactoryTableStructureDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.ContextableElement Contextable Element}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.eef.ContextableElement + * @generated + */ + public Adapter createContextableElementAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //EefAdapterFactory diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefSwitch.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefSwitch.java new file mode 100644 index 000000000..58b8a2ca4 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefSwitch.java @@ -0,0 +1,772 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.eef.util; + +import org.eclipse.eef.eef.*; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see org.eclipse.eef.eef.EefPackage + * @generated + */ +public class EefSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static EefPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public EefSwitch() { + if (modelPackage == null) { + modelPackage = EefPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case EefPackage.EEF_VIEW_DESCRIPTION: { + EEFViewDescription eefViewDescription = (EEFViewDescription) theEObject; + T result = caseEEFViewDescription(eefViewDescription); + if (result == null) + result = caseContextableElement(eefViewDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_PAGE_DESCRIPTION: { + EEFPageDescription eefPageDescription = (EEFPageDescription) theEObject; + T result = caseEEFPageDescription(eefPageDescription); + if (result == null) + result = caseContextableElement(eefPageDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_GROUP_DESCRIPTION: { + EEFGroupDescription eefGroupDescription = (EEFGroupDescription) theEObject; + T result = caseEEFGroupDescription(eefGroupDescription); + if (result == null) + result = caseContextableElement(eefGroupDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_CONTAINER_DESCRIPTION: { + EEFContainerDescription eefContainerDescription = (EEFContainerDescription) theEObject; + T result = caseEEFContainerDescription(eefContainerDescription); + if (result == null) + result = caseContextableElement(eefContainerDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_WIDGET_DESCRIPTION: { + EEFWidgetDescription eefWidgetDescription = (EEFWidgetDescription) theEObject; + T result = caseEEFWidgetDescription(eefWidgetDescription); + if (result == null) + result = caseContextableElement(eefWidgetDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION: { + EEFJavaExtensionDescription eefJavaExtensionDescription = (EEFJavaExtensionDescription) theEObject; + T result = caseEEFJavaExtensionDescription(eefJavaExtensionDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION: { + EEFTreeStructureDescription eefTreeStructureDescription = (EEFTreeStructureDescription) theEObject; + T result = caseEEFTreeStructureDescription(eefTreeStructureDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION: { + EEFInterpretedTableStructureDescription eefInterpretedTableStructureDescription = (EEFInterpretedTableStructureDescription) theEObject; + T result = caseEEFInterpretedTableStructureDescription(eefInterpretedTableStructureDescription); + if (result == null) + result = caseEEFTableStructureDescription(eefInterpretedTableStructureDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_CELL_WIDGET_DESCRIPTION: { + EEFCellWidgetDescription eefCellWidgetDescription = (EEFCellWidgetDescription) theEObject; + T result = caseEEFCellWidgetDescription(eefCellWidgetDescription); + if (result == null) + result = caseEEFWidgetDescription(eefCellWidgetDescription); + if (result == null) + result = caseContextableElement(eefCellWidgetDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION: { + EEFAdapterFactoryTreeStructureDescription eefAdapterFactoryTreeStructureDescription = (EEFAdapterFactoryTreeStructureDescription) theEObject; + T result = caseEEFAdapterFactoryTreeStructureDescription(eefAdapterFactoryTreeStructureDescription); + if (result == null) + result = caseEEFTreeStructureDescription(eefAdapterFactoryTreeStructureDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION: { + EEFInterpretedTreeStructureDescription eefInterpretedTreeStructureDescription = (EEFInterpretedTreeStructureDescription) theEObject; + T result = caseEEFInterpretedTreeStructureDescription(eefInterpretedTreeStructureDescription); + if (result == null) + result = caseEEFTreeStructureDescription(eefInterpretedTreeStructureDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TEXT_DESCRIPTION: { + EEFTextDescription eefTextDescription = (EEFTextDescription) theEObject; + T result = caseEEFTextDescription(eefTextDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefTextDescription); + if (result == null) + result = caseEEFWidgetDescription(eefTextDescription); + if (result == null) + result = caseContextableElement(eefTextDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_CHECKBOX_DESCRIPTION: { + EEFCheckboxDescription eefCheckboxDescription = (EEFCheckboxDescription) theEObject; + T result = caseEEFCheckboxDescription(eefCheckboxDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefCheckboxDescription); + if (result == null) + result = caseEEFWidgetDescription(eefCheckboxDescription); + if (result == null) + result = caseContextableElement(eefCheckboxDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_SELECT_DESCRIPTION: { + EEFSelectDescription eefSelectDescription = (EEFSelectDescription) theEObject; + T result = caseEEFSelectDescription(eefSelectDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefSelectDescription); + if (result == null) + result = caseEEFWidgetDescription(eefSelectDescription); + if (result == null) + result = caseContextableElement(eefSelectDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_LABEL_DESCRIPTION: { + EEFLabelDescription eefLabelDescription = (EEFLabelDescription) theEObject; + T result = caseEEFLabelDescription(eefLabelDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefLabelDescription); + if (result == null) + result = caseEEFWidgetDescription(eefLabelDescription); + if (result == null) + result = caseContextableElement(eefLabelDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_RADIO_DESCRIPTION: { + EEFRadioDescription eefRadioDescription = (EEFRadioDescription) theEObject; + T result = caseEEFRadioDescription(eefRadioDescription); + if (result == null) + result = caseEEFWidgetDescription(eefRadioDescription); + if (result == null) + result = caseContextableElement(eefRadioDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION: { + EEFTreeDialogSelectDescription eefTreeDialogSelectDescription = (EEFTreeDialogSelectDescription) theEObject; + T result = caseEEFTreeDialogSelectDescription(eefTreeDialogSelectDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefTreeDialogSelectDescription); + if (result == null) + result = caseEEFWidgetDescription(eefTreeDialogSelectDescription); + if (result == null) + result = caseContextableElement(eefTreeDialogSelectDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_LINK_DESCRIPTION: { + EEFLinkDescription eefLinkDescription = (EEFLinkDescription) theEObject; + T result = caseEEFLinkDescription(eefLinkDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefLinkDescription); + if (result == null) + result = caseEEFWidgetDescription(eefLinkDescription); + if (result == null) + result = caseContextableElement(eefLinkDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_IMAGE_DESCRIPTION: { + EEFImageDescription eefImageDescription = (EEFImageDescription) theEObject; + T result = caseEEFImageDescription(eefImageDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefImageDescription); + if (result == null) + result = caseEEFWidgetDescription(eefImageDescription); + if (result == null) + result = caseContextableElement(eefImageDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TREE_DESCRIPTION: { + EEFTreeDescription eefTreeDescription = (EEFTreeDescription) theEObject; + T result = caseEEFTreeDescription(eefTreeDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefTreeDescription); + if (result == null) + result = caseEEFWidgetDescription(eefTreeDescription); + if (result == null) + result = caseContextableElement(eefTreeDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION: { + EEFImagePickerDescription eefImagePickerDescription = (EEFImagePickerDescription) theEObject; + T result = caseEEFImagePickerDescription(eefImagePickerDescription); + if (result == null) + result = caseEEFWidgetDescription(eefImagePickerDescription); + if (result == null) + result = caseContextableElement(eefImagePickerDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TABLE_DESCRIPTION: { + EEFTableDescription eefTableDescription = (EEFTableDescription) theEObject; + T result = caseEEFTableDescription(eefTableDescription); + if (result == null) + result = caseEEFWidgetDescription(eefTableDescription); + if (result == null) + result = caseContextableElement(eefTableDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_COLUMN_DESCRIPTION: { + EEFColumnDescription eefColumnDescription = (EEFColumnDescription) theEObject; + T result = caseEEFColumnDescription(eefColumnDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_LINE_DESCRIPTION: { + EEFLineDescription eefLineDescription = (EEFLineDescription) theEObject; + T result = caseEEFLineDescription(eefLineDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION: { + EEFTableStructureDescription eefTableStructureDescription = (EEFTableStructureDescription) theEObject; + T result = caseEEFTableStructureDescription(eefTableStructureDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION: { + EEFAdapterFactoryTableStructureDescription eefAdapterFactoryTableStructureDescription = (EEFAdapterFactoryTableStructureDescription) theEObject; + T result = caseEEFAdapterFactoryTableStructureDescription(eefAdapterFactoryTableStructureDescription); + if (result == null) + result = caseEEFTableStructureDescription(eefAdapterFactoryTableStructureDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.CONTEXTABLE_ELEMENT: { + ContextableElement contextableElement = (ContextableElement) theEObject; + T result = caseContextableElement(contextableElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + default: + return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF View Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF View Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFViewDescription(EEFViewDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Page Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Page Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFPageDescription(EEFPageDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Group Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Group Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFGroupDescription(EEFGroupDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Container Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Container Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFContainerDescription(EEFContainerDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Widget Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Widget Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFWidgetDescription(EEFWidgetDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Java Extension Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Java Extension Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFJavaExtensionDescription(EEFJavaExtensionDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Tree Structure Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Tree Structure Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTreeStructureDescription(EEFTreeStructureDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Interpreted Table Structure Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Interpreted Table Structure Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFInterpretedTableStructureDescription(EEFInterpretedTableStructureDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Cell Widget Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Cell Widget Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFCellWidgetDescription(EEFCellWidgetDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Adapter Factory Tree Structure Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Adapter Factory Tree Structure Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFAdapterFactoryTreeStructureDescription(EEFAdapterFactoryTreeStructureDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Interpreted Tree Structure Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Interpreted Tree Structure Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFInterpretedTreeStructureDescription(EEFInterpretedTreeStructureDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Text Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Text Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTextDescription(EEFTextDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Checkbox Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Checkbox Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFCheckboxDescription(EEFCheckboxDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Select Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Select Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFSelectDescription(EEFSelectDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Label Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Label Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFLabelDescription(EEFLabelDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Radio Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Radio Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFRadioDescription(EEFRadioDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Tree Dialog Select Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Tree Dialog Select Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTreeDialogSelectDescription(EEFTreeDialogSelectDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Link Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Link Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFLinkDescription(EEFLinkDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Image Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Image Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFImageDescription(EEFImageDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Tree Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Tree Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTreeDescription(EEFTreeDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Image Picker Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Image Picker Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFImagePickerDescription(EEFImagePickerDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Table Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Table Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTableDescription(EEFTableDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Column Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Column Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFColumnDescription(EEFColumnDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Line Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Line Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFLineDescription(EEFLineDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Table Structure Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Table Structure Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTableStructureDescription(EEFTableStructureDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Adapter Factory Table Structure Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Adapter Factory Table Structure Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFAdapterFactoryTableStructureDescription(EEFAdapterFactoryTableStructureDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Contextable Element'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Contextable Element'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContextableElement(ContextableElement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //EefSwitch diff --git a/plugins/org.eclipse.sirius.context.edit/.classpath b/plugins/org.eclipse.sirius.context.edit/.classpath new file mode 100644 index 000000000..75556083f --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/org.eclipse.sirius.context.edit/.project b/plugins/org.eclipse.sirius.context.edit/.project new file mode 100644 index 000000000..c4e3a4d06 --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/.project @@ -0,0 +1,28 @@ + + + org.eclipse.sirius.context.edit + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/plugins/org.eclipse.sirius.context.edit/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.context.edit/META-INF/MANIFEST.MF new file mode 100644 index 000000000..48b8a3aec --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/META-INF/MANIFEST.MF @@ -0,0 +1,15 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.sirius.context.edit;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-ClassPath: . +Bundle-Activator: org.eclipse.sirius.context.context.provider.ContextEditPlugin$Implementation +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Export-Package: org.eclipse.sirius.context.context.provider +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.sirius.context;visibility:=reexport, + org.eclipse.emf.edit;visibility:=reexport +Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.context.edit/build.properties b/plugins/org.eclipse.sirius.context.edit/build.properties new file mode 100644 index 000000000..32b94f088 --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/build.properties @@ -0,0 +1,14 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +bin.includes = .,\ + icons/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties +jars.compile.order = . +source.. = src-gen/ +output.. = bin/ diff --git a/plugins/org.eclipse.sirius.context.edit/icons/full/obj16/Context.gif b/plugins/org.eclipse.sirius.context.edit/icons/full/obj16/Context.gif new file mode 100644 index 000000000..badaab066 Binary files /dev/null and b/plugins/org.eclipse.sirius.context.edit/icons/full/obj16/Context.gif differ diff --git a/plugins/org.eclipse.sirius.context.edit/icons/full/obj16/ContextVariable.gif b/plugins/org.eclipse.sirius.context.edit/icons/full/obj16/ContextVariable.gif new file mode 100644 index 000000000..be22463d2 Binary files /dev/null and b/plugins/org.eclipse.sirius.context.edit/icons/full/obj16/ContextVariable.gif differ diff --git a/plugins/org.eclipse.sirius.context.edit/plugin.properties b/plugins/org.eclipse.sirius.context.edit/plugin.properties new file mode 100644 index 000000000..923a786ba --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/plugin.properties @@ -0,0 +1,29 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +pluginName = Context Edit Support +providerName = www.example.org + +_UI_CreateChild_text = {0} +_UI_CreateChild_text2 = {1} {0} +_UI_CreateChild_text3 = {1} +_UI_CreateChild_tooltip = Create New {0} Under {1} Feature +_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. +_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. + +_UI_PropertyDescriptor_description = The {0} of the {1} + +_UI_Context_type = Context +_UI_ContextVariable_type = Variable +_UI_Unknown_type = Object + +_UI_Unknown_datatype= Value + +_UI_ContextVariable_context_feature = Context +_UI_ContextVariable_name_feature = Name +_UI_ContextVariable_documentation_feature = Documentation +_UI_Unknown_feature = Unspecified + diff --git a/plugins/org.eclipse.sirius.context.edit/plugin.xml b/plugins/org.eclipse.sirius.context.edit/plugin.xml new file mode 100644 index 000000000..3cd4e76f3 --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/plugin.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextEditPlugin.java b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextEditPlugin.java new file mode 100644 index 000000000..b960a5499 --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextEditPlugin.java @@ -0,0 +1,92 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.context.provider; + +import org.eclipse.emf.common.EMFPlugin; + +import org.eclipse.emf.common.util.ResourceLocator; + +/** + * This is the central singleton for the Context edit plugin. + * + * + * @generated + */ +public final class ContextEditPlugin extends EMFPlugin { + /** + * Keep track of the singleton. + * + * + * @generated + */ + public static final ContextEditPlugin INSTANCE = new ContextEditPlugin(); + + /** + * Keep track of the singleton. + * + * + * @generated + */ + private static Implementation plugin; + + /** + * Create the instance. + * + * + * @generated + */ + public ContextEditPlugin() { + super(new ResourceLocator[] {}); + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + @Override + public ResourceLocator getPluginResourceLocator() { + return plugin; + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + public static Implementation getPlugin() { + return plugin; + } + + /** + * The actual implementation of the Eclipse Plugin. + * + * + * @generated + */ + public static class Implementation extends EclipsePlugin { + /** + * Creates an instance. + * + * + * @generated + */ + public Implementation() { + super(); + + // Remember the static instance. + // + plugin = this; + } + } + +} diff --git a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextItemProvider.java b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextItemProvider.java new file mode 100644 index 000000000..d784f793f --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextItemProvider.java @@ -0,0 +1,127 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.context.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.context.context.Context} object. + * + * + * @generated + */ +public class ContextItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, + IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public ContextItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * This returns Context.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Context")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Context_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ContextEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextItemProviderAdapterFactory.java b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextItemProviderAdapterFactory.java new file mode 100644 index 000000000..2ce78b359 --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextItemProviderAdapterFactory.java @@ -0,0 +1,237 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.context.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +import org.eclipse.sirius.context.context.util.ContextAdapterFactory; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. + * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. + * The adapters also support Eclipse property sheets. + * Note that most of the adapters are shared among multiple instances. + * + * + * @generated + */ +public class ContextItemProviderAdapterFactory extends ContextAdapterFactory + implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * + * + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * + * + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * + * + * @generated + */ + protected Collection supportedTypes = new ArrayList(); + + /** + * This constructs an instance. + * + * + * @generated + */ + public ContextItemProviderAdapterFactory() { + supportedTypes.add(IEditingDomainItemProvider.class); + supportedTypes.add(IStructuredItemContentProvider.class); + supportedTypes.add(ITreeItemContentProvider.class); + supportedTypes.add(IItemLabelProvider.class); + supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.context.context.Context} instances. + * + * + * @generated + */ + protected ContextItemProvider contextItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.context.context.Context}. + * + * + * @generated + */ + @Override + public Adapter createContextAdapter() { + if (contextItemProvider == null) { + contextItemProvider = new ContextItemProvider(this); + } + + return contextItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.context.context.ContextVariable} instances. + * + * + * @generated + */ + protected ContextVariableItemProvider contextVariableItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.context.context.ContextVariable}. + * + * + * @generated + */ + @Override + public Adapter createContextVariableAdapter() { + if (contextVariableItemProvider == null) { + contextVariableItemProvider = new ContextVariableItemProvider(this); + } + + return contextVariableItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * + * + * @generated + */ + @Override + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * + * + * @generated + */ + @Override + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * + * + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * + * + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * + * + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class) || (((Class) type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * + * + * @generated + */ + @Override + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * + * + * @generated + */ + @Override + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * + * + * @generated + */ + @Override + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); + + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * + * + * @generated + */ + @Override + public void dispose() { + if (contextItemProvider != null) + contextItemProvider.dispose(); + if (contextVariableItemProvider != null) + contextVariableItemProvider.dispose(); + } + +} diff --git a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextVariableItemProvider.java b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextVariableItemProvider.java new file mode 100644 index 000000000..59db10785 --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextVariableItemProvider.java @@ -0,0 +1,193 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.context.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.context.context.ContextPackage; +import org.eclipse.sirius.context.context.ContextVariable; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.context.context.ContextVariable} object. + * + * + * @generated + */ +public class ContextVariableItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, + IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public ContextVariableItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addContextPropertyDescriptor(object); + addNamePropertyDescriptor(object); + addDocumentationPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Context feature. + * + * + * @generated + */ + protected void addContextPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_ContextVariable_context_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ContextVariable_context_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_ContextVariable_type"), //$NON-NLS-1$ + ContextPackage.Literals.CONTEXT_VARIABLE__CONTEXT, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Name feature. + * + * + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_ContextVariable_name_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ContextVariable_name_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_ContextVariable_type"), //$NON-NLS-1$ + ContextPackage.Literals.CONTEXT_VARIABLE__NAME, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Documentation feature. + * + * + * @generated + */ + protected void addDocumentationPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_ContextVariable_documentation_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ContextVariable_documentation_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_ContextVariable_type"), //$NON-NLS-1$ + ContextPackage.Literals.CONTEXT_VARIABLE__DOCUMENTATION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns ContextVariable.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/ContextVariable")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((ContextVariable) object).getName(); + return label == null || label.length() == 0 ? getString("_UI_ContextVariable_type") //$NON-NLS-1$ + : + getString("_UI_ContextVariable_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(ContextVariable.class)) { + case ContextPackage.CONTEXT_VARIABLE__NAME: + case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ContextEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.sirius.context/.classpath b/plugins/org.eclipse.sirius.context/.classpath new file mode 100644 index 000000000..2eb385039 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/plugins/org.eclipse.sirius.context/.project b/plugins/org.eclipse.sirius.context/.project new file mode 100644 index 000000000..5870c6907 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/.project @@ -0,0 +1,29 @@ + + + org.eclipse.sirius.context + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.sirius.nature.modelingproject + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/plugins/org.eclipse.sirius.context/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.context/META-INF/MANIFEST.MF new file mode 100644 index 000000000..5853a0aaa --- /dev/null +++ b/plugins/org.eclipse.sirius.context/META-INF/MANIFEST.MF @@ -0,0 +1,15 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.sirius.context;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-ClassPath: . +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Export-Package: org.eclipse.sirius.context.context, + org.eclipse.sirius.context.context.impl, + org.eclipse.sirius.context.context.util +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.emf.ecore;visibility:=reexport +Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.context/build.properties b/plugins/org.eclipse.sirius.context/build.properties new file mode 100644 index 000000000..d84572d37 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/build.properties @@ -0,0 +1,14 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +bin.includes = .,\ + model/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties +jars.compile.order = . +source.. = src-gen/ +output.. = bin/ diff --git a/plugins/org.eclipse.sirius.context/model/context.aird b/plugins/org.eclipse.sirius.context/model/context.aird new file mode 100644 index 000000000..cd714c3af --- /dev/null +++ b/plugins/org.eclipse.sirius.context/model/context.aird @@ -0,0 +1,204 @@ + + + context.ecore + context.genmodel + platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.context/model/context.ecore b/plugins/org.eclipse.sirius.context/model/context.ecore new file mode 100644 index 000000000..6dabd6760 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/model/context.ecore @@ -0,0 +1,30 @@ + + + + +
+ + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + diff --git a/plugins/org.eclipse.sirius.context/model/context.genmodel b/plugins/org.eclipse.sirius.context/model/context.genmodel new file mode 100644 index 000000000..3cb3953cd --- /dev/null +++ b/plugins/org.eclipse.sirius.context/model/context.genmodel @@ -0,0 +1,20 @@ + + + context.ecore + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.context/plugin.properties b/plugins/org.eclipse.sirius.context/plugin.properties new file mode 100644 index 000000000..254a17074 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/plugin.properties @@ -0,0 +1,8 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +pluginName = Context Model +providerName = www.example.org diff --git a/plugins/org.eclipse.sirius.context/plugin.xml b/plugins/org.eclipse.sirius.context/plugin.xml new file mode 100644 index 000000000..bf3863b12 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/plugin.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/Context.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/Context.java new file mode 100644 index 000000000..0facead6f --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/Context.java @@ -0,0 +1,27 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.context; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Context'. + * + * + * + * Represents a Context. + * + * + * + * @see org.eclipse.sirius.context.context.ContextPackage#getContext() + * @model + * @generated + */ +public interface Context extends EObject { +} // Context diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextFactory.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextFactory.java new file mode 100644 index 000000000..b9c74b7ee --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextFactory.java @@ -0,0 +1,56 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.context; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.sirius.context.context.ContextPackage + * @generated + */ +public interface ContextFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + ContextFactory eINSTANCE = org.eclipse.sirius.context.context.impl.ContextFactoryImpl.init(); + + /** + * Returns a new object of class 'Context'. + * + * + * @return a new object of class 'Context'. + * @generated + */ + Context createContext(); + + /** + * Returns a new object of class 'Variable'. + * + * + * @return a new object of class 'Variable'. + * @generated + */ + ContextVariable createContextVariable(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + ContextPackage getContextPackage(); + +} //ContextFactory diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextPackage.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextPackage.java new file mode 100644 index 000000000..335ac45fb --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextPackage.java @@ -0,0 +1,269 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.context; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @see org.eclipse.sirius.context.context.ContextFactory + * @model kind="package" + * @generated + */ +public interface ContextPackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "context"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.eclipse.org/sirius/context"; //$NON-NLS-1$ + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "context"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * + * + * @generated + */ + ContextPackage eINSTANCE = org.eclipse.sirius.context.context.impl.ContextPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.sirius.context.context.impl.ContextImpl Context}' class. + * + * + * @see org.eclipse.sirius.context.context.impl.ContextImpl + * @see org.eclipse.sirius.context.context.impl.ContextPackageImpl#getContext() + * @generated + */ + int CONTEXT = 0; + + /** + * The number of structural features of the 'Context' class. + * + * + * @generated + * @ordered + */ + int CONTEXT_FEATURE_COUNT = 0; + + /** + * The number of operations of the 'Context' class. + * + * + * @generated + * @ordered + */ + int CONTEXT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.sirius.context.context.impl.ContextVariableImpl Variable}' class. + * + * + * @see org.eclipse.sirius.context.context.impl.ContextVariableImpl + * @see org.eclipse.sirius.context.context.impl.ContextPackageImpl#getContextVariable() + * @generated + */ + int CONTEXT_VARIABLE = 1; + + /** + * The feature id for the 'Context' reference. + * + * + * @generated + * @ordered + */ + int CONTEXT_VARIABLE__CONTEXT = 0; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int CONTEXT_VARIABLE__NAME = 1; + + /** + * The feature id for the 'Documentation' attribute. + * + * + * @generated + * @ordered + */ + int CONTEXT_VARIABLE__DOCUMENTATION = 2; + + /** + * The number of structural features of the 'Variable' class. + * + * + * @generated + * @ordered + */ + int CONTEXT_VARIABLE_FEATURE_COUNT = 3; + + /** + * The number of operations of the 'Variable' class. + * + * + * @generated + * @ordered + */ + int CONTEXT_VARIABLE_OPERATION_COUNT = 0; + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.context.context.Context Context}'. + * + * + * @return the meta object for class 'Context'. + * @see org.eclipse.sirius.context.context.Context + * @generated + */ + EClass getContext(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.context.context.ContextVariable Variable}'. + * + * + * @return the meta object for class 'Variable'. + * @see org.eclipse.sirius.context.context.ContextVariable + * @generated + */ + EClass getContextVariable(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.context.context.ContextVariable#getContext Context}'. + * + * + * @return the meta object for the reference 'Context'. + * @see org.eclipse.sirius.context.context.ContextVariable#getContext() + * @see #getContextVariable() + * @generated + */ + EReference getContextVariable_Context(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.context.context.ContextVariable#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.sirius.context.context.ContextVariable#getName() + * @see #getContextVariable() + * @generated + */ + EAttribute getContextVariable_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.context.context.ContextVariable#getDocumentation Documentation}'. + * + * + * @return the meta object for the attribute 'Documentation'. + * @see org.eclipse.sirius.context.context.ContextVariable#getDocumentation() + * @see #getContextVariable() + * @generated + */ + EAttribute getContextVariable_Documentation(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + ContextFactory getContextFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.sirius.context.context.impl.ContextImpl Context}' class. + * + * + * @see org.eclipse.sirius.context.context.impl.ContextImpl + * @see org.eclipse.sirius.context.context.impl.ContextPackageImpl#getContext() + * @generated + */ + EClass CONTEXT = eINSTANCE.getContext(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.context.context.impl.ContextVariableImpl Variable}' class. + * + * + * @see org.eclipse.sirius.context.context.impl.ContextVariableImpl + * @see org.eclipse.sirius.context.context.impl.ContextPackageImpl#getContextVariable() + * @generated + */ + EClass CONTEXT_VARIABLE = eINSTANCE.getContextVariable(); + + /** + * The meta object literal for the 'Context' reference feature. + * + * + * @generated + */ + EReference CONTEXT_VARIABLE__CONTEXT = eINSTANCE.getContextVariable_Context(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute CONTEXT_VARIABLE__NAME = eINSTANCE.getContextVariable_Name(); + + /** + * The meta object literal for the 'Documentation' attribute feature. + * + * + * @generated + */ + EAttribute CONTEXT_VARIABLE__DOCUMENTATION = eINSTANCE.getContextVariable_Documentation(); + + } + +} //ContextPackage diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextVariable.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextVariable.java new file mode 100644 index 000000000..4e4123615 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextVariable.java @@ -0,0 +1,110 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.context; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Variable'. + * + * + * + * Represents a variable associated to a context. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.sirius.context.context.ContextVariable#getContext Context}
  • + *
  • {@link org.eclipse.sirius.context.context.ContextVariable#getName Name}
  • + *
  • {@link org.eclipse.sirius.context.context.ContextVariable#getDocumentation Documentation}
  • + *
+ * + * @see org.eclipse.sirius.context.context.ContextPackage#getContextVariable() + * @model + * @generated + */ +public interface ContextVariable extends EObject { + /** + * Returns the value of the 'Context' reference. + * + * + * + * Defines the context. + * + * @return the value of the 'Context' reference. + * @see #setContext(Context) + * @see org.eclipse.sirius.context.context.ContextPackage#getContextVariable_Context() + * @model required="true" + * @generated + */ + Context getContext(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.context.context.ContextVariable#getContext Context}' reference. + * + * + * @param value the new value of the 'Context' reference. + * @see #getContext() + * @generated + */ + void setContext(Context value); + + /** + * Returns the value of the 'Name' attribute. + * + * + * + * Defines the name of the variable. + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.sirius.context.context.ContextPackage#getContextVariable_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.context.context.ContextVariable#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Documentation' attribute. + * + * + * + * Define the documentation of the variable. + * + * @return the value of the 'Documentation' attribute. + * @see #setDocumentation(String) + * @see org.eclipse.sirius.context.context.ContextPackage#getContextVariable_Documentation() + * @model + * @generated + */ + String getDocumentation(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.context.context.ContextVariable#getDocumentation Documentation}' attribute. + * + * + * @param value the new value of the 'Documentation' attribute. + * @see #getDocumentation() + * @generated + */ + void setDocumentation(String value); + +} // ContextVariable diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextFactoryImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextFactoryImpl.java new file mode 100644 index 000000000..6008262a9 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextFactoryImpl.java @@ -0,0 +1,116 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.context.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.sirius.context.context.*; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class ContextFactoryImpl extends EFactoryImpl implements ContextFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static ContextFactory init() { + try { + ContextFactory theContextFactory = (ContextFactory) EPackage.Registry.INSTANCE + .getEFactory(ContextPackage.eNS_URI); + if (theContextFactory != null) { + return theContextFactory; + } + } catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new ContextFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public ContextFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case ContextPackage.CONTEXT: + return createContext(); + case ContextPackage.CONTEXT_VARIABLE: + return createContextVariable(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + @Override + public Context createContext() { + ContextImpl context = new ContextImpl(); + return context; + } + + /** + * + * + * @generated + */ + @Override + public ContextVariable createContextVariable() { + ContextVariableImpl contextVariable = new ContextVariableImpl(); + return contextVariable; + } + + /** + * + * + * @generated + */ + @Override + public ContextPackage getContextPackage() { + return (ContextPackage) getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static ContextPackage getPackage() { + return ContextPackage.eINSTANCE; + } + +} //ContextFactoryImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextImpl.java new file mode 100644 index 000000000..a45ba227c --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextImpl.java @@ -0,0 +1,44 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.context.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.context.context.Context; +import org.eclipse.sirius.context.context.ContextPackage; + +/** + * + * An implementation of the model object 'Context'. + * + * + * @generated + */ +public class ContextImpl extends MinimalEObjectImpl.Container implements Context { + /** + * + * + * @generated + */ + protected ContextImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ContextPackage.Literals.CONTEXT; + } + +} //ContextImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextPackageImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextPackageImpl.java new file mode 100644 index 000000000..3b4024de1 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextPackageImpl.java @@ -0,0 +1,242 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.context.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.sirius.context.context.Context; +import org.eclipse.sirius.context.context.ContextFactory; +import org.eclipse.sirius.context.context.ContextPackage; +import org.eclipse.sirius.context.context.ContextVariable; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class ContextPackageImpl extends EPackageImpl implements ContextPackage { + /** + * + * + * @generated + */ + private EClass contextEClass = null; + + /** + * + * + * @generated + */ + private EClass contextVariableEClass = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.sirius.context.context.ContextPackage#eNS_URI + * @see #init() + * @generated + */ + private ContextPackageImpl() { + super(eNS_URI, ContextFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

This method is used to initialize {@link ContextPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ContextPackage init() { + if (isInited) + return (ContextPackage) EPackage.Registry.INSTANCE.getEPackage(ContextPackage.eNS_URI); + + // Obtain or create and register package + ContextPackageImpl theContextPackage = (ContextPackageImpl) (EPackage.Registry.INSTANCE + .get(eNS_URI) instanceof ContextPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) + : new ContextPackageImpl()); + + isInited = true; + + // Create package meta-data objects + theContextPackage.createPackageContents(); + + // Initialize created meta-data + theContextPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theContextPackage.freeze(); + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ContextPackage.eNS_URI, theContextPackage); + return theContextPackage; + } + + /** + * + * + * @generated + */ + @Override + public EClass getContext() { + return contextEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getContextVariable() { + return contextVariableEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getContextVariable_Context() { + return (EReference) contextVariableEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getContextVariable_Name() { + return (EAttribute) contextVariableEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getContextVariable_Documentation() { + return (EAttribute) contextVariableEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public ContextFactory getContextFactory() { + return (ContextFactory) getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) + return; + isCreated = true; + + // Create classes and their features + contextEClass = createEClass(CONTEXT); + + contextVariableEClass = createEClass(CONTEXT_VARIABLE); + createEReference(contextVariableEClass, CONTEXT_VARIABLE__CONTEXT); + createEAttribute(contextVariableEClass, CONTEXT_VARIABLE__NAME); + createEAttribute(contextVariableEClass, CONTEXT_VARIABLE__DOCUMENTATION); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) + return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes, features, and operations; add parameters + initEClass(contextEClass, Context.class, "Context", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + initEClass(contextVariableEClass, ContextVariable.class, "ContextVariable", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getContextVariable_Context(), this.getContext(), null, "context", null, 1, 1, //$NON-NLS-1$ + ContextVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getContextVariable_Name(), ecorePackage.getEString(), "name", null, 0, 1, ContextVariable.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getContextVariable_Documentation(), ecorePackage.getEString(), "documentation", null, 0, 1, //$NON-NLS-1$ + ContextVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + // Create resource + createResource(eNS_URI); + } + +} //ContextPackageImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextVariableImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextVariableImpl.java new file mode 100644 index 000000000..30512a388 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextVariableImpl.java @@ -0,0 +1,297 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.context.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.context.context.Context; +import org.eclipse.sirius.context.context.ContextPackage; +import org.eclipse.sirius.context.context.ContextVariable; + +/** + * + * An implementation of the model object 'Variable'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.sirius.context.context.impl.ContextVariableImpl#getContext Context}
  • + *
  • {@link org.eclipse.sirius.context.context.impl.ContextVariableImpl#getName Name}
  • + *
  • {@link org.eclipse.sirius.context.context.impl.ContextVariableImpl#getDocumentation Documentation}
  • + *
+ * + * @generated + */ +public class ContextVariableImpl extends MinimalEObjectImpl.Container implements ContextVariable { + /** + * The cached value of the '{@link #getContext() Context}' reference. + * + * + * @see #getContext() + * @generated + * @ordered + */ + protected Context context; + + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected static final String DOCUMENTATION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected String documentation = DOCUMENTATION_EDEFAULT; + + /** + * + * + * @generated + */ + protected ContextVariableImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ContextPackage.Literals.CONTEXT_VARIABLE; + } + + /** + * + * + * @generated + */ + @Override + public Context getContext() { + if (context != null && context.eIsProxy()) { + InternalEObject oldContext = (InternalEObject) context; + context = (Context) eResolveProxy(oldContext); + if (context != oldContext) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ContextPackage.CONTEXT_VARIABLE__CONTEXT, + oldContext, context)); + } + } + return context; + } + + /** + * + * + * @generated + */ + public Context basicGetContext() { + return context; + } + + /** + * + * + * @generated + */ + @Override + public void setContext(Context newContext) { + Context oldContext = context; + context = newContext; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContextPackage.CONTEXT_VARIABLE__CONTEXT, oldContext, + context)); + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContextPackage.CONTEXT_VARIABLE__NAME, oldName, + name)); + } + + /** + * + * + * @generated + */ + @Override + public String getDocumentation() { + return documentation; + } + + /** + * + * + * @generated + */ + @Override + public void setDocumentation(String newDocumentation) { + String oldDocumentation = documentation; + documentation = newDocumentation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION, + oldDocumentation, documentation)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ContextPackage.CONTEXT_VARIABLE__CONTEXT: + if (resolve) + return getContext(); + return basicGetContext(); + case ContextPackage.CONTEXT_VARIABLE__NAME: + return getName(); + case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: + return getDocumentation(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ContextPackage.CONTEXT_VARIABLE__CONTEXT: + setContext((Context) newValue); + return; + case ContextPackage.CONTEXT_VARIABLE__NAME: + setName((String) newValue); + return; + case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: + setDocumentation((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ContextPackage.CONTEXT_VARIABLE__CONTEXT: + setContext((Context) null); + return; + case ContextPackage.CONTEXT_VARIABLE__NAME: + setName(NAME_EDEFAULT); + return; + case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: + setDocumentation(DOCUMENTATION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ContextPackage.CONTEXT_VARIABLE__CONTEXT: + return context != null; + case ContextPackage.CONTEXT_VARIABLE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: + return DOCUMENTATION_EDEFAULT == null ? documentation != null + : !DOCUMENTATION_EDEFAULT.equals(documentation); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); //$NON-NLS-1$ + result.append(name); + result.append(", documentation: "); //$NON-NLS-1$ + result.append(documentation); + result.append(')'); + return result.toString(); + } + +} //ContextVariableImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextAdapterFactory.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextAdapterFactory.java new file mode 100644 index 000000000..8356a206f --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextAdapterFactory.java @@ -0,0 +1,143 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.context.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.context.context.*; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see org.eclipse.sirius.context.context.ContextPackage + * @generated + */ +public class ContextAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static ContextPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public ContextAdapterFactory() { + if (modelPackage == null) { + modelPackage = ContextPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject) object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected ContextSwitch modelSwitch = new ContextSwitch() { + @Override + public Adapter caseContext(Context object) { + return createContextAdapter(); + } + + @Override + public Adapter caseContextVariable(ContextVariable object) { + return createContextVariableAdapter(); + } + + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject) target); + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.context.context.Context Context}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.context.context.Context + * @generated + */ + public Adapter createContextAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.context.context.ContextVariable Variable}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.context.context.ContextVariable + * @generated + */ + public Adapter createContextVariableAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //ContextAdapterFactory diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextSwitch.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextSwitch.java new file mode 100644 index 000000000..87d1d2614 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextSwitch.java @@ -0,0 +1,139 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.context.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.sirius.context.context.*; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see org.eclipse.sirius.context.context.ContextPackage + * @generated + */ +public class ContextSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static ContextPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public ContextSwitch() { + if (modelPackage == null) { + modelPackage = ContextPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case ContextPackage.CONTEXT: { + Context context = (Context) theEObject; + T result = caseContext(context); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case ContextPackage.CONTEXT_VARIABLE: { + ContextVariable contextVariable = (ContextVariable) theEObject; + T result = caseContextVariable(contextVariable); + if (result == null) + result = defaultCase(theEObject); + return result; + } + default: + return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Context'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Context'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContext(Context object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Variable'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Variable'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContextVariable(ContextVariable object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //ContextSwitch diff --git a/plugins/org.eclipse.sirius.expression.design/.classpath b/plugins/org.eclipse.sirius.expression.design/.classpath new file mode 100644 index 000000000..39810b7d6 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.design/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.design/.project b/plugins/org.eclipse.sirius.expression.design/.project new file mode 100644 index 000000000..ba1d71323 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.design/.project @@ -0,0 +1,35 @@ + + + org.eclipse.sirius.expression.design + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.acceleo.ide.ui.acceleoBuilder + + + + + + org.eclipse.acceleo.ide.ui.acceleoNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + + diff --git a/plugins/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF new file mode 100644 index 000000000..b9132d898 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF @@ -0,0 +1,13 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: org.eclipse.sirius.expression.design +Bundle-SymbolicName: org.eclipse.sirius.expression.design;singleton:=true +Bundle-Version: 1.0.0 +Bundle-Activator: org.eclipse.sirius.expression.design.Activator +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.eclipse.core.resources, + org.eclipse.sirius, + org.eclipse.sirius.common.acceleo.mtl +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 diff --git a/plugins/org.eclipse.sirius.expression.design/build.properties b/plugins/org.eclipse.sirius.expression.design/build.properties new file mode 100644 index 000000000..bbbc4ce49 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.design/build.properties @@ -0,0 +1,7 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + description/,\ + plugin.xml +customBuildCallbacks = build.acceleo diff --git a/plugins/org.eclipse.sirius.expression.design/description/expression.odesign b/plugins/org.eclipse.sirius.expression.design/description/expression.odesign new file mode 100644 index 000000000..e76d4b847 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.design/description/expression.odesign @@ -0,0 +1,192 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.design/plugin.xml b/plugins/org.eclipse.sirius.expression.design/plugin.xml new file mode 100644 index 000000000..5ecb2c479 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.design/plugin.xml @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java b/plugins/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java new file mode 100644 index 000000000..f4b15886c --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java @@ -0,0 +1,66 @@ +package org.eclipse.sirius.expression.design; + +import java.util.HashSet; +import java.util.Set; + +import org.eclipse.sirius.business.api.componentization.ViewpointRegistry; +import org.eclipse.sirius.viewpoint.description.Viewpoint; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends AbstractUIPlugin { + // The plug-in ID + public static final String PLUGIN_ID = "org.eclipse.sirius.expression.design"; + + // The shared instance + private static Activator plugin; + + private static Set viewpoints; + + /** + * The constructor + */ + public Activator() { + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + viewpoints = new HashSet(); + viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/expression.odesign")); + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + if (viewpoints != null) { + for (final Viewpoint viewpoint: viewpoints) { + ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint); + } + viewpoints.clear(); + viewpoints = null; + } + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } +} diff --git a/plugins/org.eclipse.sirius.expression.edit/.classpath b/plugins/org.eclipse.sirius.expression.edit/.classpath new file mode 100644 index 000000000..75556083f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.edit/.project b/plugins/org.eclipse.sirius.expression.edit/.project new file mode 100644 index 000000000..7c771e62e --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/.project @@ -0,0 +1,28 @@ + + + org.eclipse.sirius.expression.edit + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF new file mode 100644 index 000000000..04534e807 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF @@ -0,0 +1,15 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.sirius.expression.edit;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-ClassPath: . +Bundle-Activator: org.eclipse.sirius.expression.expression.provider.ExpressionEditPlugin$Implementation +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Export-Package: org.eclipse.sirius.expression.expression.provider +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.sirius.expression;visibility:=reexport, + org.eclipse.emf.edit;visibility:=reexport +Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.expression.edit/build.properties b/plugins/org.eclipse.sirius.expression.edit/build.properties new file mode 100644 index 000000000..32b94f088 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/build.properties @@ -0,0 +1,14 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +bin.includes = .,\ + icons/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties +jars.compile.order = . +source.. = src-gen/ +output.. = bin/ diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/ExpressionDescription.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/ExpressionDescription.gif new file mode 100644 index 000000000..a3908bcf7 Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/ExpressionDescription.gif differ diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionClass.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionClass.gif new file mode 100644 index 000000000..98b351f1c Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionClass.gif differ diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionPackage.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionPackage.gif new file mode 100644 index 000000000..ea58a657d Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionPackage.gif differ diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/Variable.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/Variable.gif new file mode 100644 index 000000000..83afb9b3c Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/Variable.gif differ diff --git a/plugins/org.eclipse.sirius.expression.edit/plugin.properties b/plugins/org.eclipse.sirius.expression.edit/plugin.properties new file mode 100644 index 000000000..069e2c0f4 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/plugin.properties @@ -0,0 +1,42 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +pluginName = Expression Edit Support +providerName = www.example.org + +_UI_CreateChild_text = {0} +_UI_CreateChild_text2 = {1} {0} +_UI_CreateChild_text3 = {1} +_UI_CreateChild_tooltip = Create New {0} Under {1} Feature +_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. +_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. + +_UI_PropertyDescriptor_description = The {0} of the {1} + +_UI_SiriusExpressionPackage_type = Sirius Expression Package +_UI_ExpressionDescription_type = Description +_UI_Variable_type = Variable +_UI_SiriusExpressionClass_type = Sirius Expression Class +_UI_Unknown_type = Object + +_UI_Unknown_datatype= Value + +_UI_SiriusExpressionPackage_expressionClasses_feature = Expression Classes +_UI_SiriusExpressionPackage_ePackage_feature = EPackage +_UI_ExpressionDescription_lowerBound_feature = Lower Bound +_UI_ExpressionDescription_upperBound_feature = Upper Bound +_UI_ExpressionDescription_expression_feature = Expression +_UI_ExpressionDescription_variables_feature = Variables +_UI_ExpressionDescription_returnType_feature = Return Type +_UI_ExpressionDescription_label_feature = Label +_UI_ExpressionDescription_contextableElements_feature = Contextable Elements +_UI_Variable_name_feature = Name +_UI_Variable_documentation_feature = Documentation +_UI_SiriusExpressionClass_variables_feature = Variables +_UI_SiriusExpressionClass_expressionDescriptions_feature = Expression Descriptions +_UI_SiriusExpressionClass_label_feature = Label +_UI_Unknown_feature = Unspecified + diff --git a/plugins/org.eclipse.sirius.expression.edit/plugin.xml b/plugins/org.eclipse.sirius.expression.edit/plugin.xml new file mode 100644 index 000000000..7b0672dbe --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/plugin.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionDescriptionItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionDescriptionItemProvider.java new file mode 100644 index 000000000..c22d83315 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionDescriptionItemProvider.java @@ -0,0 +1,311 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.expression.ExpressionDescription; +import org.eclipse.sirius.expression.expression.ExpressionPackage; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.expression.ExpressionDescription} object. + * + * + * @generated + */ +public class ExpressionDescriptionItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public ExpressionDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addLowerBoundPropertyDescriptor(object); + addUpperBoundPropertyDescriptor(object); + addExpressionPropertyDescriptor(object); + addVariablesPropertyDescriptor(object); + addReturnTypePropertyDescriptor(object); + addLabelPropertyDescriptor(object); + addContextableElementsPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Lower Bound feature. + * + * + * @generated + */ + protected void addLowerBoundPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ExpressionDescription_lowerBound_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_lowerBound_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__LOWER_BOUND, + true, + false, + false, + ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Upper Bound feature. + * + * + * @generated + */ + protected void addUpperBoundPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ExpressionDescription_upperBound_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_upperBound_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__UPPER_BOUND, + true, + false, + false, + ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Expression feature. + * + * + * @generated + */ + protected void addExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ExpressionDescription_expression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_expression_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__EXPRESSION, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Variables feature. + * + * + * @generated + */ + protected void addVariablesPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ExpressionDescription_variables_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_variables_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__VARIABLES, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Return Type feature. + * + * + * @generated + */ + protected void addReturnTypePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ExpressionDescription_returnType_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_returnType_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__RETURN_TYPE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Label feature. + * + * + * @generated + */ + protected void addLabelPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ExpressionDescription_label_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_label_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__LABEL, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Contextable Elements feature. + * + * + * @generated + */ + protected void addContextableElementsPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ExpressionDescription_contextableElements_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_contextableElements_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns ExpressionDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/ExpressionDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + ExpressionDescription expressionDescription = (ExpressionDescription)object; + return getString("_UI_ExpressionDescription_type") + " " + expressionDescription.getLowerBound(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(ExpressionDescription.class)) { + case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: + case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: + case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionEditPlugin.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionEditPlugin.java new file mode 100644 index 000000000..8902130f5 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionEditPlugin.java @@ -0,0 +1,94 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression.provider; + +import org.eclipse.emf.common.EMFPlugin; + +import org.eclipse.emf.common.util.ResourceLocator; + +/** + * This is the central singleton for the Expression edit plugin. + * + * + * @generated + */ +public final class ExpressionEditPlugin extends EMFPlugin { + /** + * Keep track of the singleton. + * + * + * @generated + */ + public static final ExpressionEditPlugin INSTANCE = new ExpressionEditPlugin(); + + /** + * Keep track of the singleton. + * + * + * @generated + */ + private static Implementation plugin; + + /** + * Create the instance. + * + * + * @generated + */ + public ExpressionEditPlugin() { + super + (new ResourceLocator [] { + }); + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + @Override + public ResourceLocator getPluginResourceLocator() { + return plugin; + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + public static Implementation getPlugin() { + return plugin; + } + + /** + * The actual implementation of the Eclipse Plugin. + * + * + * @generated + */ + public static class Implementation extends EclipsePlugin { + /** + * Creates an instance. + * + * + * @generated + */ + public Implementation() { + super(); + + // Remember the static instance. + // + plugin = this; + } + } + +} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionItemProviderAdapterFactory.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionItemProviderAdapterFactory.java new file mode 100644 index 000000000..8ddbf74f3 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionItemProviderAdapterFactory.java @@ -0,0 +1,276 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +import org.eclipse.sirius.expression.expression.util.ExpressionAdapterFactory; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. + * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. + * The adapters also support Eclipse property sheets. + * Note that most of the adapters are shared among multiple instances. + * + * + * @generated + */ +public class ExpressionItemProviderAdapterFactory extends ExpressionAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * + * + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * + * + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * + * + * @generated + */ + protected Collection supportedTypes = new ArrayList(); + + /** + * This constructs an instance. + * + * + * @generated + */ + public ExpressionItemProviderAdapterFactory() { + supportedTypes.add(IEditingDomainItemProvider.class); + supportedTypes.add(IStructuredItemContentProvider.class); + supportedTypes.add(ITreeItemContentProvider.class); + supportedTypes.add(IItemLabelProvider.class); + supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage} instances. + * + * + * @generated + */ + protected SiriusExpressionPackageItemProvider siriusExpressionPackageItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage}. + * + * + * @generated + */ + @Override + public Adapter createSiriusExpressionPackageAdapter() { + if (siriusExpressionPackageItemProvider == null) { + siriusExpressionPackageItemProvider = new SiriusExpressionPackageItemProvider(this); + } + + return siriusExpressionPackageItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.expression.ExpressionDescription} instances. + * + * + * @generated + */ + protected ExpressionDescriptionItemProvider expressionDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.expression.ExpressionDescription}. + * + * + * @generated + */ + @Override + public Adapter createExpressionDescriptionAdapter() { + if (expressionDescriptionItemProvider == null) { + expressionDescriptionItemProvider = new ExpressionDescriptionItemProvider(this); + } + + return expressionDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.expression.Variable} instances. + * + * + * @generated + */ + protected VariableItemProvider variableItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.expression.Variable}. + * + * + * @generated + */ + @Override + public Adapter createVariableAdapter() { + if (variableItemProvider == null) { + variableItemProvider = new VariableItemProvider(this); + } + + return variableItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.expression.SiriusExpressionClass} instances. + * + * + * @generated + */ + protected SiriusExpressionClassItemProvider siriusExpressionClassItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.expression.SiriusExpressionClass}. + * + * + * @generated + */ + @Override + public Adapter createSiriusExpressionClassAdapter() { + if (siriusExpressionClassItemProvider == null) { + siriusExpressionClassItemProvider = new SiriusExpressionClassItemProvider(this); + } + + return siriusExpressionClassItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * + * + * @generated + */ + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * + * + * @generated + */ + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * + * + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * + * + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * + * + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class) || (((Class)type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * + * + * @generated + */ + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * + * + * @generated + */ + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * + * + * @generated + */ + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); + + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * + * + * @generated + */ + public void dispose() { + if (siriusExpressionPackageItemProvider != null) siriusExpressionPackageItemProvider.dispose(); + if (expressionDescriptionItemProvider != null) expressionDescriptionItemProvider.dispose(); + if (variableItemProvider != null) variableItemProvider.dispose(); + if (siriusExpressionClassItemProvider != null) siriusExpressionClassItemProvider.dispose(); + } + +} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionClassItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionClassItemProvider.java new file mode 100644 index 000000000..41ef12e1b --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionClassItemProvider.java @@ -0,0 +1,221 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.expression.ExpressionFactory; +import org.eclipse.sirius.expression.expression.ExpressionPackage; +import org.eclipse.sirius.expression.expression.SiriusExpressionClass; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.expression.SiriusExpressionClass} object. + * + * + * @generated + */ +public class SiriusExpressionClassItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public SiriusExpressionClassItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addLabelPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Label feature. + * + * + * @generated + */ + protected void addLabelPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionClass_label_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionClass_label_feature", "_UI_SiriusExpressionClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__LABEL, + 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__VARIABLES); + childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns SiriusExpressionClass.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusExpressionClass")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((SiriusExpressionClass)object).getLabel(); + return label == null || label.length() == 0 ? + getString("_UI_SiriusExpressionClass_type") : //$NON-NLS-1$ + getString("_UI_SiriusExpressionClass_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(SiriusExpressionClass.class)) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add + (createChildParameter + (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__VARIABLES, + ExpressionFactory.eINSTANCE.createVariable())); + + newChildDescriptors.add + (createChildParameter + (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS, + ExpressionFactory.eINSTANCE.createExpressionDescription())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionPackageItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionPackageItemProvider.java new file mode 100644 index 000000000..a510d77b9 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionPackageItemProvider.java @@ -0,0 +1,207 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.expression.ExpressionFactory; +import org.eclipse.sirius.expression.expression.ExpressionPackage; +import org.eclipse.sirius.expression.expression.SiriusExpressionPackage; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage} object. + * + * + * @generated + */ +public class SiriusExpressionPackageItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public SiriusExpressionPackageItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addEPackagePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the EPackage feature. + * + * + * @generated + */ + protected void addEPackagePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionPackage_ePackage_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionPackage_ePackage_feature", "_UI_SiriusExpressionPackage_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, + true, + false, + true, + null, + 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns SiriusExpressionPackage.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusExpressionPackage")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_SiriusExpressionPackage_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(SiriusExpressionPackage.class)) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add + (createChildParameter + (ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES, + ExpressionFactory.eINSTANCE.createSiriusExpressionClass())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/VariableItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/VariableItemProvider.java new file mode 100644 index 000000000..c83caa94c --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/VariableItemProvider.java @@ -0,0 +1,197 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.expression.ExpressionPackage; +import org.eclipse.sirius.expression.expression.Variable; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.expression.Variable} object. + * + * + * @generated + */ +public class VariableItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public VariableItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addNamePropertyDescriptor(object); + addDocumentationPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Name feature. + * + * + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Variable_name_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Variable_name_feature", "_UI_Variable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.VARIABLE__NAME, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Documentation feature. + * + * + * @generated + */ + protected void addDocumentationPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Variable_documentation_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Variable_documentation_feature", "_UI_Variable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.VARIABLE__DOCUMENTATION, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This returns Variable.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Variable")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((Variable)object).getName(); + return label == null || label.length() == 0 ? + getString("_UI_Variable_type") : //$NON-NLS-1$ + getString("_UI_Variable_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(Variable.class)) { + case ExpressionPackage.VARIABLE__NAME: + case ExpressionPackage.VARIABLE__DOCUMENTATION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.sirius.expression/.classpath b/plugins/org.eclipse.sirius.expression/.classpath new file mode 100644 index 000000000..75556083f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression/.project b/plugins/org.eclipse.sirius.expression/.project new file mode 100644 index 000000000..4bb43d4a9 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/.project @@ -0,0 +1,29 @@ + + + org.eclipse.sirius.expression + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.sirius.nature.modelingproject + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF new file mode 100644 index 000000000..7fe3b95c4 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF @@ -0,0 +1,16 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.sirius.expression;singleton:=true +Bundle-Version: 0.1.0.qualifier +Bundle-ClassPath: . +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Export-Package: org.eclipse.sirius.expression.expression, + org.eclipse.sirius.expression.expression.impl, + org.eclipse.sirius.expression.expression.util +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.emf.ecore;visibility:=reexport, + org.eclipse.emf.ecore.xmi +Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.expression/build.properties b/plugins/org.eclipse.sirius.expression/build.properties new file mode 100644 index 000000000..d84572d37 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/build.properties @@ -0,0 +1,14 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +bin.includes = .,\ + model/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties +jars.compile.order = . +source.. = src-gen/ +output.. = bin/ diff --git a/plugins/org.eclipse.sirius.expression/model/expression.aird b/plugins/org.eclipse.sirius.expression/model/expression.aird new file mode 100644 index 000000000..0320df907 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/model/expression.aird @@ -0,0 +1,928 @@ + + + http://www.eclipse.org/emf/2002/Ecore + expression.ecore + platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore + interpretedexpression.ecore + expression.genmodel + EEFExpression.xmi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression/model/expression.ecore b/plugins/org.eclipse.sirius.expression/model/expression.ecore new file mode 100644 index 000000000..4faef104c --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/model/expression.ecore @@ -0,0 +1,116 @@ + + + + +
+ + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + + +
+ + + + +
+ + + diff --git a/plugins/org.eclipse.sirius.expression/model/expression.genmodel b/plugins/org.eclipse.sirius.expression/model/expression.genmodel new file mode 100644 index 000000000..031b5a717 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/model/expression.genmodel @@ -0,0 +1,39 @@ + + + expression.ecore + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression/plugin.properties b/plugins/org.eclipse.sirius.expression/plugin.properties new file mode 100644 index 000000000..42f8c79b7 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/plugin.properties @@ -0,0 +1,8 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +pluginName = Expression Model +providerName = www.example.org diff --git a/plugins/org.eclipse.sirius.expression/plugin.xml b/plugins/org.eclipse.sirius.expression/plugin.xml new file mode 100644 index 000000000..51a1ee612 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/plugin.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionDescription.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionDescription.java new file mode 100644 index 000000000..e35e8b8dc --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionDescription.java @@ -0,0 +1,200 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EStructuralFeature; + +/** + * + * A representation of the model object 'Description'. + * + * + * + * Defines an expression. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.expression.ExpressionDescription#getLowerBound Lower Bound}
  • + *
  • {@link org.eclipse.sirius.expression.expression.ExpressionDescription#getUpperBound Upper Bound}
  • + *
  • {@link org.eclipse.sirius.expression.expression.ExpressionDescription#getExpression Expression}
  • + *
  • {@link org.eclipse.sirius.expression.expression.ExpressionDescription#getVariables Variables}
  • + *
  • {@link org.eclipse.sirius.expression.expression.ExpressionDescription#getReturnType Return Type}
  • + *
  • {@link org.eclipse.sirius.expression.expression.ExpressionDescription#getLabel Label}
  • + *
  • {@link org.eclipse.sirius.expression.expression.ExpressionDescription#getContextableElements Contextable Elements}
  • + *
+ * + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription() + * @model + * @generated + */ +public interface ExpressionDescription extends EObject { + /** + * Returns the value of the 'Lower Bound' attribute. + * + * + * + * Defines the return type lower bound. + * + * @return the value of the 'Lower Bound' attribute. + * @see #setLowerBound(int) + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription_LowerBound() + * @model + * @generated + */ + int getLowerBound(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getLowerBound Lower Bound}' attribute. + * + * + * @param value the new value of the 'Lower Bound' attribute. + * @see #getLowerBound() + * @generated + */ + void setLowerBound(int value); + + /** + * Returns the value of the 'Upper Bound' attribute. + * The default value is "1". + * + * + * + * Defines the return type upper bound. + * + * @return the value of the 'Upper Bound' attribute. + * @see #setUpperBound(int) + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription_UpperBound() + * @model default="1" + * @generated + */ + int getUpperBound(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getUpperBound Upper Bound}' attribute. + * + * + * @param value the new value of the 'Upper Bound' attribute. + * @see #getUpperBound() + * @generated + */ + void setUpperBound(int value); + + /** + * Returns the value of the 'Expression' reference. + * + * + * + * References an expression from another metamodel. + * + * @return the value of the 'Expression' reference. + * @see #setExpression(EStructuralFeature) + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription_Expression() + * @model + * @generated + */ + EStructuralFeature getExpression(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getExpression Expression}' reference. + * + * + * @param value the new value of the 'Expression' reference. + * @see #getExpression() + * @generated + */ + void setExpression(EStructuralFeature value); + + /** + * Returns the value of the 'Variables' reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.expression.Variable}. + * + * + * + * Contains the variables associated to an expression description. + * + * @return the value of the 'Variables' reference list. + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription_Variables() + * @model + * @generated + */ + EList getVariables(); + + /** + * Returns the value of the 'Return Type' reference. + * + * + * + * Defines the return type of an expression. + * + * @return the value of the 'Return Type' reference. + * @see #setReturnType(EClassifier) + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription_ReturnType() + * @model + * @generated + */ + EClassifier getReturnType(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getReturnType Return Type}' reference. + * + * + * @param value the new value of the 'Return Type' reference. + * @see #getReturnType() + * @generated + */ + void setReturnType(EClassifier value); + + /** + * Returns the value of the 'Label' attribute. + * + * + * + * Defines the label of theexpression. + * + * @return the value of the 'Label' attribute. + * @see #setLabel(String) + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription_Label() + * @model + * @generated + */ + String getLabel(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getLabel Label}' attribute. + * + * + * @param value the new value of the 'Label' attribute. + * @see #getLabel() + * @generated + */ + void setLabel(String value); + + /** + * Returns the value of the 'Contextable Elements' reference list. + * The list contents are of type {@link org.eclipse.emf.ecore.EClass}. + * + * + * + * References contextable elements to get the associated context variables. + * + * @return the value of the 'Contextable Elements' reference list. + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription_ContextableElements() + * @model + * @generated + */ + EList getContextableElements(); + +} // ExpressionDescription diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionFactory.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionFactory.java new file mode 100644 index 000000000..4966947c1 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionFactory.java @@ -0,0 +1,74 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.sirius.expression.expression.ExpressionPackage + * @generated + */ +public interface ExpressionFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + ExpressionFactory eINSTANCE = org.eclipse.sirius.expression.expression.impl.ExpressionFactoryImpl.init(); + + /** + * Returns a new object of class 'Sirius Expression Package'. + * + * + * @return a new object of class 'Sirius Expression Package'. + * @generated + */ + SiriusExpressionPackage createSiriusExpressionPackage(); + + /** + * Returns a new object of class 'Description'. + * + * + * @return a new object of class 'Description'. + * @generated + */ + ExpressionDescription createExpressionDescription(); + + /** + * Returns a new object of class 'Variable'. + * + * + * @return a new object of class 'Variable'. + * @generated + */ + Variable createVariable(); + + /** + * Returns a new object of class 'Sirius Expression Class'. + * + * + * @return a new object of class 'Sirius Expression Class'. + * @generated + */ + SiriusExpressionClass createSiriusExpressionClass(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + ExpressionPackage getExpressionPackage(); + +} //ExpressionFactory diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionPackage.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionPackage.java new file mode 100644 index 000000000..477f58241 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionPackage.java @@ -0,0 +1,768 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @see org.eclipse.sirius.expression.expression.ExpressionFactory + * @model kind="package" + * @generated + */ +public interface ExpressionPackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "expression"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.eclipse.org/sirius/expression"; //$NON-NLS-1$ + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "expression"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * + * + * @generated + */ + ExpressionPackage eINSTANCE = org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionPackageImpl Sirius Expression Package}' class. + * + * + * @see org.eclipse.sirius.expression.expression.impl.SiriusExpressionPackageImpl + * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getSiriusExpressionPackage() + * @generated + */ + int SIRIUS_EXPRESSION_PACKAGE = 0; + + /** + * The feature id for the 'Expression Classes' containment reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES = 0; + + /** + * The feature id for the 'EPackage' reference. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_PACKAGE__EPACKAGE = 1; + + /** + * The number of structural features of the 'Sirius Expression Package' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_PACKAGE_FEATURE_COUNT = 2; + + /** + * The number of operations of the 'Sirius Expression Package' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_PACKAGE_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl Description}' class. + * + * + * @see org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl + * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getExpressionDescription() + * @generated + */ + int EXPRESSION_DESCRIPTION = 1; + + /** + * The feature id for the 'Lower Bound' attribute. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION__LOWER_BOUND = 0; + + /** + * The feature id for the 'Upper Bound' attribute. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION__UPPER_BOUND = 1; + + /** + * The feature id for the 'Expression' reference. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION__EXPRESSION = 2; + + /** + * The feature id for the 'Variables' reference list. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION__VARIABLES = 3; + + /** + * The feature id for the 'Return Type' reference. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION__RETURN_TYPE = 4; + + /** + * The feature id for the 'Label' attribute. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION__LABEL = 5; + + /** + * The feature id for the 'Contextable Elements' reference list. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS = 6; + + /** + * The number of structural features of the 'Description' class. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION_FEATURE_COUNT = 7; + + /** + * The number of operations of the 'Description' class. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.expression.impl.VariableImpl Variable}' class. + * + * + * @see org.eclipse.sirius.expression.expression.impl.VariableImpl + * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getVariable() + * @generated + */ + int VARIABLE = 2; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int VARIABLE__NAME = 0; + + /** + * The feature id for the 'Documentation' attribute. + * + * + * @generated + * @ordered + */ + int VARIABLE__DOCUMENTATION = 1; + + /** + * The number of structural features of the 'Variable' class. + * + * + * @generated + * @ordered + */ + int VARIABLE_FEATURE_COUNT = 2; + + /** + * The number of operations of the 'Variable' class. + * + * + * @generated + * @ordered + */ + int VARIABLE_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. + * + * + * @see org.eclipse.sirius.expression.expression.impl.SiriusExpressionClassImpl + * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getSiriusExpressionClass() + * @generated + */ + int SIRIUS_EXPRESSION_CLASS = 3; + + /** + * The feature id for the 'Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS__VARIABLES = 0; + + /** + * The feature id for the 'Expression Descriptions' containment reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = 1; + + /** + * The feature id for the 'Label' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS__LABEL = 2; + + /** + * The number of structural features of the 'Sirius Expression Class' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS_FEATURE_COUNT = 3; + + /** + * The number of operations of the 'Sirius Expression Class' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS_OPERATION_COUNT = 0; + + /** + * The meta object id for the 'Void' data type. + * + * + * @see java.lang.Void + * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getVoid() + * @generated + */ + int VOID = 4; + + /** + * The meta object id for the 'Object' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getObject() + * @generated + */ + int OBJECT = 5; + + /** + * The meta object id for the 'Predicate' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getPredicate() + * @generated + */ + int PREDICATE = 6; + + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage Sirius Expression Package}'. + * + * + * @return the meta object for class 'Sirius Expression Package'. + * @see org.eclipse.sirius.expression.expression.SiriusExpressionPackage + * @generated + */ + EClass getSiriusExpressionPackage(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage#getExpressionClasses Expression Classes}'. + * + * + * @return the meta object for the containment reference list 'Expression Classes'. + * @see org.eclipse.sirius.expression.expression.SiriusExpressionPackage#getExpressionClasses() + * @see #getSiriusExpressionPackage() + * @generated + */ + EReference getSiriusExpressionPackage_ExpressionClasses(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage#getEPackage EPackage}'. + * + * + * @return the meta object for the reference 'EPackage'. + * @see org.eclipse.sirius.expression.expression.SiriusExpressionPackage#getEPackage() + * @see #getSiriusExpressionPackage() + * @generated + */ + EReference getSiriusExpressionPackage_EPackage(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.expression.ExpressionDescription Description}'. + * + * + * @return the meta object for class 'Description'. + * @see org.eclipse.sirius.expression.expression.ExpressionDescription + * @generated + */ + EClass getExpressionDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getLowerBound Lower Bound}'. + * + * + * @return the meta object for the attribute 'Lower Bound'. + * @see org.eclipse.sirius.expression.expression.ExpressionDescription#getLowerBound() + * @see #getExpressionDescription() + * @generated + */ + EAttribute getExpressionDescription_LowerBound(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getUpperBound Upper Bound}'. + * + * + * @return the meta object for the attribute 'Upper Bound'. + * @see org.eclipse.sirius.expression.expression.ExpressionDescription#getUpperBound() + * @see #getExpressionDescription() + * @generated + */ + EAttribute getExpressionDescription_UpperBound(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getExpression Expression}'. + * + * + * @return the meta object for the reference 'Expression'. + * @see org.eclipse.sirius.expression.expression.ExpressionDescription#getExpression() + * @see #getExpressionDescription() + * @generated + */ + EReference getExpressionDescription_Expression(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getVariables Variables}'. + * + * + * @return the meta object for the reference list 'Variables'. + * @see org.eclipse.sirius.expression.expression.ExpressionDescription#getVariables() + * @see #getExpressionDescription() + * @generated + */ + EReference getExpressionDescription_Variables(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getReturnType Return Type}'. + * + * + * @return the meta object for the reference 'Return Type'. + * @see org.eclipse.sirius.expression.expression.ExpressionDescription#getReturnType() + * @see #getExpressionDescription() + * @generated + */ + EReference getExpressionDescription_ReturnType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getLabel Label}'. + * + * + * @return the meta object for the attribute 'Label'. + * @see org.eclipse.sirius.expression.expression.ExpressionDescription#getLabel() + * @see #getExpressionDescription() + * @generated + */ + EAttribute getExpressionDescription_Label(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getContextableElements Contextable Elements}'. + * + * + * @return the meta object for the reference list 'Contextable Elements'. + * @see org.eclipse.sirius.expression.expression.ExpressionDescription#getContextableElements() + * @see #getExpressionDescription() + * @generated + */ + EReference getExpressionDescription_ContextableElements(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.expression.Variable Variable}'. + * + * + * @return the meta object for class 'Variable'. + * @see org.eclipse.sirius.expression.expression.Variable + * @generated + */ + EClass getVariable(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.expression.Variable#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.sirius.expression.expression.Variable#getName() + * @see #getVariable() + * @generated + */ + EAttribute getVariable_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.expression.Variable#getDocumentation Documentation}'. + * + * + * @return the meta object for the attribute 'Documentation'. + * @see org.eclipse.sirius.expression.expression.Variable#getDocumentation() + * @see #getVariable() + * @generated + */ + EAttribute getVariable_Documentation(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.expression.SiriusExpressionClass Sirius Expression Class}'. + * + * + * @return the meta object for class 'Sirius Expression Class'. + * @see org.eclipse.sirius.expression.expression.SiriusExpressionClass + * @generated + */ + EClass getSiriusExpressionClass(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.expression.SiriusExpressionClass#getVariables Variables}'. + * + * + * @return the meta object for the containment reference list 'Variables'. + * @see org.eclipse.sirius.expression.expression.SiriusExpressionClass#getVariables() + * @see #getSiriusExpressionClass() + * @generated + */ + EReference getSiriusExpressionClass_Variables(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.expression.SiriusExpressionClass#getExpressionDescriptions Expression Descriptions}'. + * + * + * @return the meta object for the containment reference list 'Expression Descriptions'. + * @see org.eclipse.sirius.expression.expression.SiriusExpressionClass#getExpressionDescriptions() + * @see #getSiriusExpressionClass() + * @generated + */ + EReference getSiriusExpressionClass_ExpressionDescriptions(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.expression.SiriusExpressionClass#getLabel Label}'. + * + * + * @return the meta object for the attribute 'Label'. + * @see org.eclipse.sirius.expression.expression.SiriusExpressionClass#getLabel() + * @see #getSiriusExpressionClass() + * @generated + */ + EAttribute getSiriusExpressionClass_Label(); + + /** + * Returns the meta object for data type '{@link java.lang.Void Void}'. + * + * + * @return the meta object for data type 'Void'. + * @see java.lang.Void + * @model instanceClass="java.lang.Void" + * @generated + */ + EDataType getVoid(); + + /** + * Returns the meta object for data type '{@link java.lang.Object Object}'. + * + * + * @return the meta object for data type 'Object'. + * @see java.lang.Object + * @model instanceClass="java.lang.Object" + * @generated + */ + EDataType getObject(); + + /** + * Returns the meta object for data type '{@link java.lang.Object Predicate}'. + * + * + * @return the meta object for data type 'Predicate'. + * @see java.lang.Object + * @model instanceClass="java.lang.Object" + * @generated + */ + EDataType getPredicate(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + ExpressionFactory getExpressionFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionPackageImpl Sirius Expression Package}' class. + * + * + * @see org.eclipse.sirius.expression.expression.impl.SiriusExpressionPackageImpl + * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getSiriusExpressionPackage() + * @generated + */ + EClass SIRIUS_EXPRESSION_PACKAGE = eINSTANCE.getSiriusExpressionPackage(); + + /** + * The meta object literal for the 'Expression Classes' containment reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES = eINSTANCE.getSiriusExpressionPackage_ExpressionClasses(); + + /** + * The meta object literal for the 'EPackage' reference feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_PACKAGE__EPACKAGE = eINSTANCE.getSiriusExpressionPackage_EPackage(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl Description}' class. + * + * + * @see org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl + * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getExpressionDescription() + * @generated + */ + EClass EXPRESSION_DESCRIPTION = eINSTANCE.getExpressionDescription(); + + /** + * The meta object literal for the 'Lower Bound' attribute feature. + * + * + * @generated + */ + EAttribute EXPRESSION_DESCRIPTION__LOWER_BOUND = eINSTANCE.getExpressionDescription_LowerBound(); + + /** + * The meta object literal for the 'Upper Bound' attribute feature. + * + * + * @generated + */ + EAttribute EXPRESSION_DESCRIPTION__UPPER_BOUND = eINSTANCE.getExpressionDescription_UpperBound(); + + /** + * The meta object literal for the 'Expression' reference feature. + * + * + * @generated + */ + EReference EXPRESSION_DESCRIPTION__EXPRESSION = eINSTANCE.getExpressionDescription_Expression(); + + /** + * The meta object literal for the 'Variables' reference list feature. + * + * + * @generated + */ + EReference EXPRESSION_DESCRIPTION__VARIABLES = eINSTANCE.getExpressionDescription_Variables(); + + /** + * The meta object literal for the 'Return Type' reference feature. + * + * + * @generated + */ + EReference EXPRESSION_DESCRIPTION__RETURN_TYPE = eINSTANCE.getExpressionDescription_ReturnType(); + + /** + * The meta object literal for the 'Label' attribute feature. + * + * + * @generated + */ + EAttribute EXPRESSION_DESCRIPTION__LABEL = eINSTANCE.getExpressionDescription_Label(); + + /** + * The meta object literal for the 'Contextable Elements' reference list feature. + * + * + * @generated + */ + EReference EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS = eINSTANCE.getExpressionDescription_ContextableElements(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.expression.impl.VariableImpl Variable}' class. + * + * + * @see org.eclipse.sirius.expression.expression.impl.VariableImpl + * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getVariable() + * @generated + */ + EClass VARIABLE = eINSTANCE.getVariable(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute VARIABLE__NAME = eINSTANCE.getVariable_Name(); + + /** + * The meta object literal for the 'Documentation' attribute feature. + * + * + * @generated + */ + EAttribute VARIABLE__DOCUMENTATION = eINSTANCE.getVariable_Documentation(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. + * + * + * @see org.eclipse.sirius.expression.expression.impl.SiriusExpressionClassImpl + * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getSiriusExpressionClass() + * @generated + */ + EClass SIRIUS_EXPRESSION_CLASS = eINSTANCE.getSiriusExpressionClass(); + + /** + * The meta object literal for the 'Variables' containment reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_CLASS__VARIABLES = eINSTANCE.getSiriusExpressionClass_Variables(); + + /** + * The meta object literal for the 'Expression Descriptions' containment reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = eINSTANCE.getSiriusExpressionClass_ExpressionDescriptions(); + + /** + * The meta object literal for the 'Label' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_EXPRESSION_CLASS__LABEL = eINSTANCE.getSiriusExpressionClass_Label(); + + /** + * The meta object literal for the 'Void' data type. + * + * + * @see java.lang.Void + * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getVoid() + * @generated + */ + EDataType VOID = eINSTANCE.getVoid(); + + /** + * The meta object literal for the 'Object' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getObject() + * @generated + */ + EDataType OBJECT = eINSTANCE.getObject(); + + /** + * The meta object literal for the 'Predicate' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getPredicate() + * @generated + */ + EDataType PREDICATE = eINSTANCE.getPredicate(); + + } + +} //ExpressionPackage diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionClass.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionClass.java new file mode 100644 index 000000000..e82bc7dc6 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionClass.java @@ -0,0 +1,92 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Sirius Expression Class'. + * + * + * + * Holds expression descriptions and variables. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.expression.SiriusExpressionClass#getVariables Variables}
  • + *
  • {@link org.eclipse.sirius.expression.expression.SiriusExpressionClass#getExpressionDescriptions Expression Descriptions}
  • + *
  • {@link org.eclipse.sirius.expression.expression.SiriusExpressionClass#getLabel Label}
  • + *
+ * + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getSiriusExpressionClass() + * @model + * @generated + */ +public interface SiriusExpressionClass extends EObject { + /** + * Returns the value of the 'Variables' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.expression.Variable}. + * + * + * + * References the variables. Variables are global as they can be referenced by any expression description. + * + * @return the value of the 'Variables' containment reference list. + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getSiriusExpressionClass_Variables() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getVariables(); + + /** + * Returns the value of the 'Expression Descriptions' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.expression.ExpressionDescription}. + * + * + * + * References the expressions. + * + * @return the value of the 'Expression Descriptions' containment reference list. + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getSiriusExpressionClass_ExpressionDescriptions() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getExpressionDescriptions(); + + /** + * Returns the value of the 'Label' attribute. + * + * + * + * Lable to identify an expression class. + * + * @return the value of the 'Label' attribute. + * @see #setLabel(String) + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getSiriusExpressionClass_Label() + * @model + * @generated + */ + String getLabel(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.expression.SiriusExpressionClass#getLabel Label}' attribute. + * + * + * @param value the new value of the 'Label' attribute. + * @see #getLabel() + * @generated + */ + void setLabel(String value); + +} // SiriusExpressionClass diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionPackage.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionPackage.java new file mode 100644 index 000000000..69564079d --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionPackage.java @@ -0,0 +1,77 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +/** + * + * A representation of the model object 'Sirius Expression Package'. + * + * + * + * An ExpressionPackage is the root concept of the expression metamodel. This metamodel is used to define the link between expressions and the variables that could be used by the expressions.An ExpressionPackage defines groups of ExpressionClasses. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage#getExpressionClasses Expression Classes}
  • + *
  • {@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage#getEPackage EPackage}
  • + *
+ * + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getSiriusExpressionPackage() + * @model + * @generated + */ +public interface SiriusExpressionPackage extends EObject { + /** + * Returns the value of the 'Expression Classes' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.expression.SiriusExpressionClass}. + * + * + * + * References expression classes. + * + * @return the value of the 'Expression Classes' containment reference list. + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getSiriusExpressionPackage_ExpressionClasses() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getExpressionClasses(); + + /** + * Returns the value of the 'EPackage' reference. + * + * + * + * References the ePackage of the EClasses defining expressions. + * + * @return the value of the 'EPackage' reference. + * @see #setEPackage(EPackage) + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getSiriusExpressionPackage_EPackage() + * @model + * @generated + */ + EPackage getEPackage(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage#getEPackage EPackage}' reference. + * + * + * @param value the new value of the 'EPackage' reference. + * @see #getEPackage() + * @generated + */ + void setEPackage(EPackage value); + +} // SiriusExpressionPackage diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/Variable.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/Variable.java new file mode 100644 index 000000000..f8e0cf170 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/Variable.java @@ -0,0 +1,84 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Variable'. + * + * + * + * Represents a variable. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.expression.Variable#getName Name}
  • + *
  • {@link org.eclipse.sirius.expression.expression.Variable#getDocumentation Documentation}
  • + *
+ * + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getVariable() + * @model + * @generated + */ +public interface Variable extends EObject { + /** + * Returns the value of the 'Name' attribute. + * + * + * + * Defines the name of the varriable. + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getVariable_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.expression.Variable#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Documentation' attribute. + * + * + * + * Defines the documentation of the variables. + * + * @return the value of the 'Documentation' attribute. + * @see #setDocumentation(String) + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getVariable_Documentation() + * @model + * @generated + */ + String getDocumentation(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.expression.Variable#getDocumentation Documentation}' attribute. + * + * + * @param value the new value of the 'Documentation' attribute. + * @see #getDocumentation() + * @generated + */ + void setDocumentation(String value); + +} // Variable diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionDescriptionImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionDescriptionImpl.java new file mode 100644 index 000000000..4f5090b64 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionDescriptionImpl.java @@ -0,0 +1,475 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import org.eclipse.sirius.expression.expression.ExpressionDescription; +import org.eclipse.sirius.expression.expression.ExpressionPackage; +import org.eclipse.sirius.expression.expression.Variable; + +/** + * + * An implementation of the model object 'Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl#getLowerBound Lower Bound}
  • + *
  • {@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl#getUpperBound Upper Bound}
  • + *
  • {@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl#getExpression Expression}
  • + *
  • {@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl#getVariables Variables}
  • + *
  • {@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl#getReturnType Return Type}
  • + *
  • {@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl#getLabel Label}
  • + *
  • {@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl#getContextableElements Contextable Elements}
  • + *
+ * + * @generated + */ +public class ExpressionDescriptionImpl extends MinimalEObjectImpl.Container implements ExpressionDescription { + /** + * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected static final int LOWER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected int lowerBound = LOWER_BOUND_EDEFAULT; + + /** + * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected static final int UPPER_BOUND_EDEFAULT = 1; + + /** + * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected int upperBound = UPPER_BOUND_EDEFAULT; + + /** + * The cached value of the '{@link #getExpression() Expression}' reference. + * + * + * @see #getExpression() + * @generated + * @ordered + */ + protected EStructuralFeature expression; + + /** + * The cached value of the '{@link #getVariables() Variables}' reference list. + * + * + * @see #getVariables() + * @generated + * @ordered + */ + protected EList variables; + + /** + * The cached value of the '{@link #getReturnType() Return Type}' reference. + * + * + * @see #getReturnType() + * @generated + * @ordered + */ + protected EClassifier returnType; + + /** + * The default value of the '{@link #getLabel() Label}' attribute. + * + * + * @see #getLabel() + * @generated + * @ordered + */ + protected static final String LABEL_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLabel() Label}' attribute. + * + * + * @see #getLabel() + * @generated + * @ordered + */ + protected String label = LABEL_EDEFAULT; + + /** + * The cached value of the '{@link #getContextableElements() Contextable Elements}' reference list. + * + * + * @see #getContextableElements() + * @generated + * @ordered + */ + protected EList contextableElements; + + /** + * + * + * @generated + */ + protected ExpressionDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.EXPRESSION_DESCRIPTION; + } + + /** + * + * + * @generated + */ + public int getLowerBound() { + return lowerBound; + } + + /** + * + * + * @generated + */ + public void setLowerBound(int newLowerBound) { + int oldLowerBound = lowerBound; + lowerBound = newLowerBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND, oldLowerBound, lowerBound)); + } + + /** + * + * + * @generated + */ + public int getUpperBound() { + return upperBound; + } + + /** + * + * + * @generated + */ + public void setUpperBound(int newUpperBound) { + int oldUpperBound = upperBound; + upperBound = newUpperBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND, oldUpperBound, upperBound)); + } + + /** + * + * + * @generated + */ + public EStructuralFeature getExpression() { + if (expression != null && expression.eIsProxy()) { + InternalEObject oldExpression = (InternalEObject)expression; + expression = (EStructuralFeature)eResolveProxy(oldExpression); + if (expression != oldExpression) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); + } + } + return expression; + } + + /** + * + * + * @generated + */ + public EStructuralFeature basicGetExpression() { + return expression; + } + + /** + * + * + * @generated + */ + public void setExpression(EStructuralFeature newExpression) { + EStructuralFeature oldExpression = expression; + expression = newExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); + } + + /** + * + * + * @generated + */ + public EList getVariables() { + if (variables == null) { + variables = new EObjectResolvingEList(Variable.class, this, ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES); + } + return variables; + } + + /** + * + * + * @generated + */ + public EClassifier getReturnType() { + if (returnType != null && returnType.eIsProxy()) { + InternalEObject oldReturnType = (InternalEObject)returnType; + returnType = (EClassifier)eResolveProxy(oldReturnType); + if (returnType != oldReturnType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE, oldReturnType, returnType)); + } + } + return returnType; + } + + /** + * + * + * @generated + */ + public EClassifier basicGetReturnType() { + return returnType; + } + + /** + * + * + * @generated + */ + public void setReturnType(EClassifier newReturnType) { + EClassifier oldReturnType = returnType; + returnType = newReturnType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE, oldReturnType, returnType)); + } + + /** + * + * + * @generated + */ + public String getLabel() { + return label; + } + + /** + * + * + * @generated + */ + public void setLabel(String newLabel) { + String oldLabel = label; + label = newLabel; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL, oldLabel, label)); + } + + /** + * + * + * @generated + */ + public EList getContextableElements() { + if (contextableElements == null) { + contextableElements = new EObjectResolvingEList(EClass.class, this, ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS); + } + return contextableElements; + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: + return getLowerBound(); + case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: + return getUpperBound(); + case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: + if (resolve) return getExpression(); + return basicGetExpression(); + case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: + return getVariables(); + case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: + if (resolve) return getReturnType(); + return basicGetReturnType(); + case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: + return getLabel(); + case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: + return getContextableElements(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: + setLowerBound((Integer)newValue); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: + setUpperBound((Integer)newValue); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: + setExpression((EStructuralFeature)newValue); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: + getVariables().clear(); + getVariables().addAll((Collection)newValue); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: + setReturnType((EClassifier)newValue); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: + setLabel((String)newValue); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: + getContextableElements().clear(); + getContextableElements().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: + setLowerBound(LOWER_BOUND_EDEFAULT); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: + setUpperBound(UPPER_BOUND_EDEFAULT); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: + setExpression((EStructuralFeature)null); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: + getVariables().clear(); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: + setReturnType((EClassifier)null); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: + setLabel(LABEL_EDEFAULT); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: + getContextableElements().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: + return lowerBound != LOWER_BOUND_EDEFAULT; + case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: + return upperBound != UPPER_BOUND_EDEFAULT; + case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: + return expression != null; + case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: + return variables != null && !variables.isEmpty(); + case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: + return returnType != null; + case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: + return LABEL_EDEFAULT == null ? label != null : !LABEL_EDEFAULT.equals(label); + case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: + return contextableElements != null && !contextableElements.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (lowerBound: "); //$NON-NLS-1$ + result.append(lowerBound); + result.append(", upperBound: "); //$NON-NLS-1$ + result.append(upperBound); + result.append(", label: "); //$NON-NLS-1$ + result.append(label); + result.append(')'); + return result.toString(); + } + +} //ExpressionDescriptionImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionFactoryImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionFactoryImpl.java new file mode 100644 index 000000000..b49a5bf79 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionFactoryImpl.java @@ -0,0 +1,226 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.sirius.expression.expression.*; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class ExpressionFactoryImpl extends EFactoryImpl implements ExpressionFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static ExpressionFactory init() { + try { + ExpressionFactory theExpressionFactory = (ExpressionFactory)EPackage.Registry.INSTANCE.getEFactory(ExpressionPackage.eNS_URI); + if (theExpressionFactory != null) { + return theExpressionFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new ExpressionFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public ExpressionFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE: return createSiriusExpressionPackage(); + case ExpressionPackage.EXPRESSION_DESCRIPTION: return createExpressionDescription(); + case ExpressionPackage.VARIABLE: return createVariable(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS: return createSiriusExpressionClass(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case ExpressionPackage.VOID: + return createVoidFromString(eDataType, initialValue); + case ExpressionPackage.OBJECT: + return createObjectFromString(eDataType, initialValue); + case ExpressionPackage.PREDICATE: + return createPredicateFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case ExpressionPackage.VOID: + return convertVoidToString(eDataType, instanceValue); + case ExpressionPackage.OBJECT: + return convertObjectToString(eDataType, instanceValue); + case ExpressionPackage.PREDICATE: + return convertPredicateToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + public SiriusExpressionPackage createSiriusExpressionPackage() { + SiriusExpressionPackageImpl siriusExpressionPackage = new SiriusExpressionPackageImpl(); + return siriusExpressionPackage; + } + + /** + * + * + * @generated + */ + public ExpressionDescription createExpressionDescription() { + ExpressionDescriptionImpl expressionDescription = new ExpressionDescriptionImpl(); + return expressionDescription; + } + + /** + * + * + * @generated + */ + public Variable createVariable() { + VariableImpl variable = new VariableImpl(); + return variable; + } + + /** + * + * + * @generated + */ + public SiriusExpressionClass createSiriusExpressionClass() { + SiriusExpressionClassImpl siriusExpressionClass = new SiriusExpressionClassImpl(); + return siriusExpressionClass; + } + + /** + * + * + * @generated + */ + public Void createVoidFromString(EDataType eDataType, String initialValue) { + return (Void)super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertVoidToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public Object createObjectFromString(EDataType eDataType, String initialValue) { + return super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertObjectToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public Object createPredicateFromString(EDataType eDataType, String initialValue) { + return super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertPredicateToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public ExpressionPackage getExpressionPackage() { + return (ExpressionPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static ExpressionPackage getPackage() { + return ExpressionPackage.eINSTANCE; + } + +} //ExpressionFactoryImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionPackageImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionPackageImpl.java new file mode 100644 index 000000000..c297d7553 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionPackageImpl.java @@ -0,0 +1,448 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.sirius.expression.expression.ExpressionDescription; +import org.eclipse.sirius.expression.expression.ExpressionFactory; +import org.eclipse.sirius.expression.expression.ExpressionPackage; +import org.eclipse.sirius.expression.expression.SiriusExpressionClass; +import org.eclipse.sirius.expression.expression.SiriusExpressionPackage; +import org.eclipse.sirius.expression.expression.Variable; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPackage { + /** + * + * + * @generated + */ + private EClass siriusExpressionPackageEClass = null; + + /** + * + * + * @generated + */ + private EClass expressionDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass variableEClass = null; + + /** + * + * + * @generated + */ + private EClass siriusExpressionClassEClass = null; + + /** + * + * + * @generated + */ + private EDataType voidEDataType = null; + + /** + * + * + * @generated + */ + private EDataType objectEDataType = null; + + /** + * + * + * @generated + */ + private EDataType predicateEDataType = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.sirius.expression.expression.ExpressionPackage#eNS_URI + * @see #init() + * @generated + */ + private ExpressionPackageImpl() { + super(eNS_URI, ExpressionFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

This method is used to initialize {@link ExpressionPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ExpressionPackage init() { + if (isInited) return (ExpressionPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionPackage.eNS_URI); + + // Obtain or create and register package + ExpressionPackageImpl theExpressionPackage = (ExpressionPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ExpressionPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ExpressionPackageImpl()); + + isInited = true; + + // Create package meta-data objects + theExpressionPackage.createPackageContents(); + + // Initialize created meta-data + theExpressionPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theExpressionPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ExpressionPackage.eNS_URI, theExpressionPackage); + return theExpressionPackage; + } + + /** + * + * + * @generated + */ + public EClass getSiriusExpressionPackage() { + return siriusExpressionPackageEClass; + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionPackage_ExpressionClasses() { + return (EReference)siriusExpressionPackageEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionPackage_EPackage() { + return (EReference)siriusExpressionPackageEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getExpressionDescription() { + return expressionDescriptionEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getExpressionDescription_LowerBound() { + return (EAttribute)expressionDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getExpressionDescription_UpperBound() { + return (EAttribute)expressionDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getExpressionDescription_Expression() { + return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getExpressionDescription_Variables() { + return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getExpressionDescription_ReturnType() { + return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EAttribute getExpressionDescription_Label() { + return (EAttribute)expressionDescriptionEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EReference getExpressionDescription_ContextableElements() { + return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + public EClass getVariable() { + return variableEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getVariable_Name() { + return (EAttribute)variableEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getVariable_Documentation() { + return (EAttribute)variableEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getSiriusExpressionClass() { + return siriusExpressionClassEClass; + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionClass_Variables() { + return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionClass_ExpressionDescriptions() { + return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusExpressionClass_Label() { + return (EAttribute)siriusExpressionClassEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EDataType getVoid() { + return voidEDataType; + } + + /** + * + * + * @generated + */ + public EDataType getObject() { + return objectEDataType; + } + + /** + * + * + * @generated + */ + public EDataType getPredicate() { + return predicateEDataType; + } + + /** + * + * + * @generated + */ + public ExpressionFactory getExpressionFactory() { + return (ExpressionFactory)getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + siriusExpressionPackageEClass = createEClass(SIRIUS_EXPRESSION_PACKAGE); + createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); + createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EPACKAGE); + + expressionDescriptionEClass = createEClass(EXPRESSION_DESCRIPTION); + createEAttribute(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__LOWER_BOUND); + createEAttribute(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__UPPER_BOUND); + createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__EXPRESSION); + createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__VARIABLES); + createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__RETURN_TYPE); + createEAttribute(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__LABEL); + createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS); + + variableEClass = createEClass(VARIABLE); + createEAttribute(variableEClass, VARIABLE__NAME); + createEAttribute(variableEClass, VARIABLE__DOCUMENTATION); + + siriusExpressionClassEClass = createEClass(SIRIUS_EXPRESSION_CLASS); + createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__VARIABLES); + createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); + createEAttribute(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__LABEL); + + // Create data types + voidEDataType = createEDataType(VOID); + objectEDataType = createEDataType(OBJECT); + predicateEDataType = createEDataType(PREDICATE); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes, features, and operations; add parameters + initEClass(siriusExpressionPackageEClass, SiriusExpressionPackage.class, "SiriusExpressionPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getSiriusExpressionPackage_ExpressionClasses(), this.getSiriusExpressionClass(), null, "expressionClasses", null, 0, -1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionPackage_EPackage(), ecorePackage.getEPackage(), null, "ePackage", null, 0, 1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + initEClass(expressionDescriptionEClass, ExpressionDescription.class, "ExpressionDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getExpressionDescription_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getExpressionDescription_UpperBound(), ecorePackage.getEInt(), "upperBound", "1", 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ + initEReference(getExpressionDescription_Expression(), ecorePackage.getEStructuralFeature(), null, "expression", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getExpressionDescription_Variables(), this.getVariable(), null, "variables", null, 0, -1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getExpressionDescription_ReturnType(), ecorePackage.getEClassifier(), null, "returnType", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getExpressionDescription_Label(), ecorePackage.getEString(), "label", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getExpressionDescription_ContextableElements(), ecorePackage.getEClass(), null, "contextableElements", null, 0, -1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getVariable_Name(), ecorePackage.getEString(), "name", null, 0, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getVariable_Documentation(), ecorePackage.getEString(), "documentation", null, 0, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + initEClass(siriusExpressionClassEClass, SiriusExpressionClass.class, "SiriusExpressionClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getSiriusExpressionClass_Variables(), this.getVariable(), null, "variables", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionClass_ExpressionDescriptions(), this.getExpressionDescription(), null, "expressionDescriptions", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getSiriusExpressionClass_Label(), ecorePackage.getEString(), "label", null, 0, 1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + // Initialize data types + initEDataType(voidEDataType, Void.class, "Void", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEDataType(objectEDataType, Object.class, "Object", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEDataType(predicateEDataType, Object.class, "Predicate", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + // Create resource + createResource(eNS_URI); + } + +} //ExpressionPackageImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionClassImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionClassImpl.java new file mode 100644 index 000000000..3b760326d --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionClassImpl.java @@ -0,0 +1,264 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.sirius.expression.expression.ExpressionDescription; +import org.eclipse.sirius.expression.expression.ExpressionPackage; +import org.eclipse.sirius.expression.expression.SiriusExpressionClass; +import org.eclipse.sirius.expression.expression.Variable; + +/** + * + * An implementation of the model object 'Sirius Expression Class'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionClassImpl#getVariables Variables}
  • + *
  • {@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionClassImpl#getExpressionDescriptions Expression Descriptions}
  • + *
  • {@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionClassImpl#getLabel Label}
  • + *
+ * + * @generated + */ +public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container implements SiriusExpressionClass { + /** + * The cached value of the '{@link #getVariables() Variables}' containment reference list. + * + * + * @see #getVariables() + * @generated + * @ordered + */ + protected EList variables; + + /** + * The cached value of the '{@link #getExpressionDescriptions() Expression Descriptions}' containment reference list. + * + * + * @see #getExpressionDescriptions() + * @generated + * @ordered + */ + protected EList expressionDescriptions; + + /** + * The default value of the '{@link #getLabel() Label}' attribute. + * + * + * @see #getLabel() + * @generated + * @ordered + */ + protected static final String LABEL_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLabel() Label}' attribute. + * + * + * @see #getLabel() + * @generated + * @ordered + */ + protected String label = LABEL_EDEFAULT; + + /** + * + * + * @generated + */ + protected SiriusExpressionClassImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS; + } + + /** + * + * + * @generated + */ + public EList getVariables() { + if (variables == null) { + variables = new EObjectContainmentEList.Resolving(Variable.class, this, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES); + } + return variables; + } + + /** + * + * + * @generated + */ + public EList getExpressionDescriptions() { + if (expressionDescriptions == null) { + expressionDescriptions = new EObjectContainmentEList.Resolving(ExpressionDescription.class, this, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); + } + return expressionDescriptions; + } + + /** + * + * + * @generated + */ + public String getLabel() { + return label; + } + + /** + * + * + * @generated + */ + public void setLabel(String newLabel) { + String oldLabel = label; + label = newLabel; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL, oldLabel, label)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + return ((InternalEList)getVariables()).basicRemove(otherEnd, msgs); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + return ((InternalEList)getExpressionDescriptions()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + return getVariables(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + return getExpressionDescriptions(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: + return getLabel(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + getVariables().clear(); + getVariables().addAll((Collection)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + getExpressionDescriptions().clear(); + getExpressionDescriptions().addAll((Collection)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: + setLabel((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + getVariables().clear(); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + getExpressionDescriptions().clear(); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: + setLabel(LABEL_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + return variables != null && !variables.isEmpty(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + return expressionDescriptions != null && !expressionDescriptions.isEmpty(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: + return LABEL_EDEFAULT == null ? label != null : !LABEL_EDEFAULT.equals(label); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (label: "); //$NON-NLS-1$ + result.append(label); + result.append(')'); + return result.toString(); + } + +} //SiriusExpressionClassImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionPackageImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionPackageImpl.java new file mode 100644 index 000000000..81c763347 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionPackageImpl.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.sirius.expression.expression.ExpressionPackage; +import org.eclipse.sirius.expression.expression.SiriusExpressionClass; +import org.eclipse.sirius.expression.expression.SiriusExpressionPackage; + +/** + * + * An implementation of the model object 'Sirius Expression Package'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionPackageImpl#getExpressionClasses Expression Classes}
  • + *
  • {@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionPackageImpl#getEPackage EPackage}
  • + *
+ * + * @generated + */ +public class SiriusExpressionPackageImpl extends MinimalEObjectImpl.Container implements SiriusExpressionPackage { + /** + * The cached value of the '{@link #getExpressionClasses() Expression Classes}' containment reference list. + * + * + * @see #getExpressionClasses() + * @generated + * @ordered + */ + protected EList expressionClasses; + + /** + * The cached value of the '{@link #getEPackage() EPackage}' reference. + * + * + * @see #getEPackage() + * @generated + * @ordered + */ + protected EPackage ePackage; + + /** + * + * + * @generated + */ + protected SiriusExpressionPackageImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE; + } + + /** + * + * + * @generated + */ + public EList getExpressionClasses() { + if (expressionClasses == null) { + expressionClasses = new EObjectContainmentEList.Resolving(SiriusExpressionClass.class, this, ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); + } + return expressionClasses; + } + + /** + * + * + * @generated + */ + public EPackage getEPackage() { + if (ePackage != null && ePackage.eIsProxy()) { + InternalEObject oldEPackage = (InternalEObject)ePackage; + ePackage = (EPackage)eResolveProxy(oldEPackage); + if (ePackage != oldEPackage) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, oldEPackage, ePackage)); + } + } + return ePackage; + } + + /** + * + * + * @generated + */ + public EPackage basicGetEPackage() { + return ePackage; + } + + /** + * + * + * @generated + */ + public void setEPackage(EPackage newEPackage) { + EPackage oldEPackage = ePackage; + ePackage = newEPackage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, oldEPackage, ePackage)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + return ((InternalEList)getExpressionClasses()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + return getExpressionClasses(); + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + if (resolve) return getEPackage(); + return basicGetEPackage(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + getExpressionClasses().clear(); + getExpressionClasses().addAll((Collection)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + setEPackage((EPackage)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + getExpressionClasses().clear(); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + setEPackage((EPackage)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + return expressionClasses != null && !expressionClasses.isEmpty(); + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + return ePackage != null; + } + return super.eIsSet(featureID); + } + +} //SiriusExpressionPackageImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/VariableImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/VariableImpl.java new file mode 100644 index 000000000..e52578a5b --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/VariableImpl.java @@ -0,0 +1,222 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.expression.expression.ExpressionPackage; +import org.eclipse.sirius.expression.expression.Variable; + +/** + * + * An implementation of the model object 'Variable'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.expression.impl.VariableImpl#getName Name}
  • + *
  • {@link org.eclipse.sirius.expression.expression.impl.VariableImpl#getDocumentation Documentation}
  • + *
+ * + * @generated + */ +public class VariableImpl extends MinimalEObjectImpl.Container implements Variable { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected static final String DOCUMENTATION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected String documentation = DOCUMENTATION_EDEFAULT; + + /** + * + * + * @generated + */ + protected VariableImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.VARIABLE; + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.VARIABLE__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + public String getDocumentation() { + return documentation; + } + + /** + * + * + * @generated + */ + public void setDocumentation(String newDocumentation) { + String oldDocumentation = documentation; + documentation = newDocumentation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.VARIABLE__DOCUMENTATION, oldDocumentation, documentation)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.VARIABLE__NAME: + return getName(); + case ExpressionPackage.VARIABLE__DOCUMENTATION: + return getDocumentation(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.VARIABLE__NAME: + setName((String)newValue); + return; + case ExpressionPackage.VARIABLE__DOCUMENTATION: + setDocumentation((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.VARIABLE__NAME: + setName(NAME_EDEFAULT); + return; + case ExpressionPackage.VARIABLE__DOCUMENTATION: + setDocumentation(DOCUMENTATION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.VARIABLE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case ExpressionPackage.VARIABLE__DOCUMENTATION: + return DOCUMENTATION_EDEFAULT == null ? documentation != null : !DOCUMENTATION_EDEFAULT.equals(documentation); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); //$NON-NLS-1$ + result.append(name); + result.append(", documentation: "); //$NON-NLS-1$ + result.append(documentation); + result.append(')'); + return result.toString(); + } + +} //VariableImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionAdapterFactory.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionAdapterFactory.java new file mode 100644 index 000000000..fd78d05f8 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionAdapterFactory.java @@ -0,0 +1,179 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.expression.expression.*; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see org.eclipse.sirius.expression.expression.ExpressionPackage + * @generated + */ +public class ExpressionAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static ExpressionPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public ExpressionAdapterFactory() { + if (modelPackage == null) { + modelPackage = ExpressionPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected ExpressionSwitch modelSwitch = + new ExpressionSwitch() { + @Override + public Adapter caseSiriusExpressionPackage(SiriusExpressionPackage object) { + return createSiriusExpressionPackageAdapter(); + } + @Override + public Adapter caseExpressionDescription(ExpressionDescription object) { + return createExpressionDescriptionAdapter(); + } + @Override + public Adapter caseVariable(Variable object) { + return createVariableAdapter(); + } + @Override + public Adapter caseSiriusExpressionClass(SiriusExpressionClass object) { + return createSiriusExpressionClassAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage Sirius Expression Package}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.expression.SiriusExpressionPackage + * @generated + */ + public Adapter createSiriusExpressionPackageAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.expression.ExpressionDescription Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.expression.ExpressionDescription + * @generated + */ + public Adapter createExpressionDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.expression.Variable Variable}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.expression.Variable + * @generated + */ + public Adapter createVariableAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.expression.SiriusExpressionClass Sirius Expression Class}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.expression.SiriusExpressionClass + * @generated + */ + public Adapter createSiriusExpressionClassAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //ExpressionAdapterFactory diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionSwitch.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionSwitch.java new file mode 100644 index 000000000..5fc1de8b9 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionSwitch.java @@ -0,0 +1,178 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.expression.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.sirius.expression.expression.*; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see org.eclipse.sirius.expression.expression.ExpressionPackage + * @generated + */ +public class ExpressionSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static ExpressionPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public ExpressionSwitch() { + if (modelPackage == null) { + modelPackage = ExpressionPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE: { + SiriusExpressionPackage siriusExpressionPackage = (SiriusExpressionPackage)theEObject; + T result = caseSiriusExpressionPackage(siriusExpressionPackage); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpressionPackage.EXPRESSION_DESCRIPTION: { + ExpressionDescription expressionDescription = (ExpressionDescription)theEObject; + T result = caseExpressionDescription(expressionDescription); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpressionPackage.VARIABLE: { + Variable variable = (Variable)theEObject; + T result = caseVariable(variable); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS: { + SiriusExpressionClass siriusExpressionClass = (SiriusExpressionClass)theEObject; + T result = caseSiriusExpressionClass(siriusExpressionClass); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Sirius Expression Package'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Expression Package'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusExpressionPackage(SiriusExpressionPackage object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExpressionDescription(ExpressionDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Variable'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Variable'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseVariable(Variable object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Sirius Expression Class'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Expression Class'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusExpressionClass(SiriusExpressionClass object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //ExpressionSwitch -- cgit v1.2.3 From 7d264bb9d3fdee55ade5c86084f61796d71a8cd4 Mon Sep 17 00:00:00 2001 From: Stéphane Bégaudeau Date: Mon, 5 Oct 2015 17:30:03 +0200 Subject: First version of the EEF 2.0 runtime Change-Id: I4c4c55411422278c8d3e298bc5136011341bac94 Signed-off-by: Stéphane Bégaudeau --- .gitignore | 1 + .../.classpath | 7 + .../.project | 28 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 9 + .../about.html | 28 + .../build.properties | 4 + .../validator/api/AbstractValidationStatus.java | 22 + .../validator/api/DocumentationValidator.java | 154 + .../validator/api/EClassifierValidationStatus.java | 18 + .../api/EStructuralFeatureValidationStatus.java | 18 + .../validator/api/ValidationStatusKind.java | 13 + .../eef/documentation/validator/api/Validator.java | 36 + doc/org.eclipse.eef.documentation/.classpath | 5 + doc/org.eclipse.eef.documentation/.project | 28 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 7 + doc/org.eclipse.eef.documentation/about.html | 28 + doc/org.eclipse.eef.documentation/build.properties | 14 + .../plugin.properties | 12 + .../sketches/US-1.screen | 10 + .../sketches/US-10.screen | 45 + .../sketches/US-11.screen | 54 + .../sketches/US-12.screen | 23 + .../sketches/US-13.screen | 26 + .../sketches/US-14.screen | 28 + .../sketches/US-15.screen | 47 + .../sketches/US-16.screen | 23 + .../sketches/US-2.screen | 14 + .../sketches/US-3.screen | 17 + .../sketches/US-4.screen | 20 + .../sketches/US-5.screen | 26 + .../sketches/US-6.screen | 29 + .../sketches/US-7.screen | 32 + .../sketches/US-8.screen | 35 + .../sketches/US-9.screen | 38 + .../userstories/US-1.xmi | 11 + .../userstories/US-10.xmi | 65 + .../userstories/US-11.xmi | 73 + .../userstories/US-12.xmi | 29 + .../userstories/US-13.xmi | 31 + .../userstories/US-14.xmi | 36 + .../userstories/US-15.xmi | 41 + .../userstories/US-16.xmi | 65 + .../userstories/US-2.xmi | 14 + .../userstories/US-3.xmi | 18 + .../userstories/US-4.xmi | 22 + .../userstories/US-5.xmi | 33 + .../userstories/US-6.xmi | 43 + .../userstories/US-7.xmi | 48 + .../userstories/US-8.xmi | 55 + .../userstories/US-9.xmi | 58 + .../.classpath | 7 + doc/org.eclipse.sirius.expression.design/.project | 35 + .../META-INF/MANIFEST.MF | 13 + .../about.html | 28 + .../build.properties | 7 + .../description/expression.odesign | 192 + .../plugin.xml | 10 + .../sirius/expression/design/Activator.java | 66 + features/org.eclipse.eef.sdk-feature/.project | 17 + features/org.eclipse.eef.sdk-feature/about.html | 28 + .../org.eclipse.eef.sdk-feature/build.properties | 3 + .../org.eclipse.eef.sdk-feature/feature.properties | 15 + features/org.eclipse.eef.sdk-feature/feature.xml | 104 + plugins/org.eclipse.eef.core/.checkstyle | 10 + plugins/org.eclipse.eef.core/.classpath | 7 + plugins/org.eclipse.eef.core/.project | 34 + .../.settings/org.eclipse.jdt.core.prefs | 398 ++ .../.settings/org.eclipse.jdt.launching.prefs | 2 + .../.settings/org.eclipse.jdt.ui.prefs | 68 + .../.settings/org.eclipse.pde.core.prefs | 2 + .../.settings/org.eclipse.pde.prefs | 32 + plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF | 17 + plugins/org.eclipse.eef.core/about.html | 28 + plugins/org.eclipse.eef.core/build.properties | 16 + plugins/org.eclipse.eef.core/plugin.properties | 9 + .../org/eclipse/eef/core/api/EEFChildObject.java | 25 + .../src/org/eclipse/eef/core/api/EEFContainer.java | 36 + .../eclipse/eef/core/api/EEFContainerParent.java | 20 + .../eclipse/eef/core/api/EEFExpressionUtils.java | 96 + .../src/org/eclipse/eef/core/api/EEFGroup.java | 34 + .../src/org/eclipse/eef/core/api/EEFObject.java | 31 + .../src/org/eclipse/eef/core/api/EEFPage.java | 43 + .../src/org/eclipse/eef/core/api/EEFText.java | 62 + .../eef/core/api/EEFVariableManagerFactory.java | 29 + .../src/org/eclipse/eef/core/api/EEFView.java | 36 + .../org/eclipse/eef/core/api/EEFViewFactory.java | 44 + .../src/org/eclipse/eef/core/api/EEFWidget.java | 20 + .../src/org/eclipse/eef/core/api/IConsumer.java | 28 + .../org/eclipse/eef/core/api/IEPackageManager.java | 29 + .../org/eclipse/eef/core/api/IVariableManager.java | 46 + .../eef/core/internal/AbstractEEFChildObject.java | 36 + .../eef/core/internal/AbstractEEFObject.java | 65 + .../eef/core/internal/AbstractEEFWidgetImpl.java | 35 + .../eef/core/internal/EEFCompoundInterpreter.java | 99 + .../eef/core/internal/EEFContainerImpl.java | 135 + .../eclipse/eef/core/internal/EEFGroupImpl.java | 130 + .../org/eclipse/eef/core/internal/EEFPageImpl.java | 194 + .../org/eclipse/eef/core/internal/EEFTextImpl.java | 224 ++ .../eef/core/internal/EEFVariableManager.java | 91 + .../org/eclipse/eef/core/internal/EEFViewImpl.java | 169 + plugins/org.eclipse.eef.documentation/.classpath | 7 - plugins/org.eclipse.eef.documentation/.project | 28 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 10 - .../org.eclipse.eef.documentation/build.properties | 4 - .../sketches/US-1.screen | 10 - .../sketches/US-10.screen | 45 - .../sketches/US-11.screen | 54 - .../sketches/US-12.screen | 23 - .../sketches/US-13.screen | 26 - .../sketches/US-14.screen | 28 - .../sketches/US-15.screen | 47 - .../sketches/US-16.screen | 23 - .../sketches/US-2.screen | 14 - .../sketches/US-3.screen | 17 - .../sketches/US-4.screen | 20 - .../sketches/US-5.screen | 26 - .../sketches/US-6.screen | 29 - .../sketches/US-7.screen | 32 - .../sketches/US-8.screen | 35 - .../sketches/US-9.screen | 38 - .../org/eclipse/eef/documentation/Activator.java | 50 - .../userstories/US-1.xmi | 11 - .../userstories/US-10.xmi | 66 - .../userstories/US-11.xmi | 75 - .../userstories/US-12.xmi | 29 - .../userstories/US-13.xmi | 32 - .../userstories/US-14.xmi | 37 - .../userstories/US-15.xmi | 42 - .../userstories/US-16.xmi | 68 - .../userstories/US-2.xmi | 14 - .../userstories/US-3.xmi | 18 - .../userstories/US-4.xmi | 22 - .../userstories/US-5.xmi | 33 - .../userstories/US-6.xmi | 43 - .../userstories/US-7.xmi | 49 - .../userstories/US-8.xmi | 55 - .../userstories/US-9.xmi | 58 - plugins/org.eclipse.eef.edit/.checkstyle | 13 + plugins/org.eclipse.eef.edit/.classpath | 8 +- plugins/org.eclipse.eef.edit/.project | 6 + .../.settings/org.eclipse.jdt.core.prefs | 398 ++ .../.settings/org.eclipse.jdt.launching.prefs | 2 + .../.settings/org.eclipse.jdt.ui.prefs | 67 + .../.settings/org.eclipse.pde.prefs | 32 + plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF | 18 +- plugins/org.eclipse.eef.edit/about.html | 28 + plugins/org.eclipse.eef.edit/build.properties | 4 +- plugins/org.eclipse.eef.edit/plugin.properties | 6 +- plugins/org.eclipse.eef.edit/plugin.xml | 2 +- .../provider/ContextableElementItemProvider.java | 192 - ...ctoryTableStructureDescriptionItemProvider.java | 141 - ...actoryTreeStructureDescriptionItemProvider.java | 142 - .../EEFCellWidgetDescriptionItemProvider.java | 135 - .../EEFCheckboxDescriptionItemProvider.java | 179 - .../provider/EEFColumnDescriptionItemProvider.java | 211 - .../EEFContainerDescriptionItemProvider.java | 290 -- .../provider/EEFGroupDescriptionItemProvider.java | 254 -- .../provider/EEFImageDescriptionItemProvider.java | 161 - .../EEFImagePickerDescriptionItemProvider.java | 198 - ...retedTableStructureDescriptionItemProvider.java | 164 - ...pretedTreeStructureDescriptionItemProvider.java | 198 - .../EEFJavaExtensionDescriptionItemProvider.java | 160 - .../provider/EEFLabelDescriptionItemProvider.java | 161 - .../provider/EEFLineDescriptionItemProvider.java | 235 -- .../provider/EEFLinkDescriptionItemProvider.java | 161 - .../provider/EEFPageDescriptionItemProvider.java | 247 -- .../provider/EEFRadioDescriptionItemProvider.java | 215 - .../provider/EEFSelectDescriptionItemProvider.java | 233 -- .../provider/EEFTableDescriptionItemProvider.java | 195 - .../EEFTableStructureDescriptionItemProvider.java | 176 - .../provider/EEFTextDescriptionItemProvider.java | 197 - .../provider/EEFTreeDescriptionItemProvider.java | 195 - ...EEFTreeDialogSelectDescriptionItemProvider.java | 216 - .../EEFTreeStructureDescriptionItemProvider.java | 178 - .../provider/EEFViewDescriptionItemProvider.java | 278 -- .../provider/EEFWidgetDescriptionItemProvider.java | 198 - .../eclipse/eef/eef/provider/EefEditPlugin.java | 95 - .../provider/EefItemProviderAdapterFactory.java | 742 ---- .../provider/ContextableElementItemProvider.java | 190 + ...ctoryTableStructureDescriptionItemProvider.java | 137 + ...actoryTreeStructureDescriptionItemProvider.java | 139 + .../EEFCellWidgetDescriptionItemProvider.java | 135 + .../EEFCheckboxDescriptionItemProvider.java | 177 + .../provider/EEFColumnDescriptionItemProvider.java | 202 + .../EEFContainerDescriptionItemProvider.java | 284 ++ .../provider/EEFGroupDescriptionItemProvider.java | 245 ++ .../provider/EEFImageDescriptionItemProvider.java | 159 + .../EEFImagePickerDescriptionItemProvider.java | 194 + ...retedTableStructureDescriptionItemProvider.java | 160 + ...pretedTreeStructureDescriptionItemProvider.java | 190 + .../EEFJavaExtensionDescriptionItemProvider.java | 159 + .../provider/EEFLabelDescriptionItemProvider.java | 159 + .../provider/EEFLineDescriptionItemProvider.java | 229 ++ .../provider/EEFLinkDescriptionItemProvider.java | 159 + .../provider/EEFPageDescriptionItemProvider.java | 234 ++ .../provider/EEFRadioDescriptionItemProvider.java | 209 + .../provider/EEFSelectDescriptionItemProvider.java | 224 ++ .../provider/EEFTableDescriptionItemProvider.java | 189 + .../EEFTableStructureDescriptionItemProvider.java | 174 + .../provider/EEFTextDescriptionItemProvider.java | 190 + .../provider/EEFTreeDescriptionItemProvider.java | 189 + ...EEFTreeDialogSelectDescriptionItemProvider.java | 209 + .../EEFTreeStructureDescriptionItemProvider.java | 176 + .../provider/EEFViewDescriptionItemProvider.java | 269 ++ .../provider/EEFWidgetDescriptionItemProvider.java | 174 + .../org/eclipse/eef/provider/EefEditPlugin.java | 95 + .../provider/EefItemProviderAdapterFactory.java | 737 ++++ plugins/org.eclipse.eef.ide.ui/.checkstyle | 10 + plugins/org.eclipse.eef.ide.ui/.classpath | 7 + plugins/org.eclipse.eef.ide.ui/.project | 34 + .../.settings/org.eclipse.jdt.core.prefs | 398 ++ .../.settings/org.eclipse.jdt.launching.prefs | 2 + .../.settings/org.eclipse.jdt.ui.prefs | 67 + .../.settings/org.eclipse.pde.core.prefs | 2 + .../.settings/org.eclipse.pde.prefs | 32 + .../org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF | 25 + plugins/org.eclipse.eef.ide.ui/about.html | 28 + plugins/org.eclipse.eef.ide.ui/build.properties | 15 + plugins/org.eclipse.eef.ide.ui/plugin.properties | 9 + .../eef/ide/ui/api/TabDescriptorFilter.java | 110 + .../eef/ide/ui/internal/EEFIdeUiPlugin.java | 97 + .../eef/ide/ui/internal/data/EEFSection.java | 228 ++ .../ide/ui/internal/data/EEFSectionDescriptor.java | 94 + .../eef/ide/ui/internal/data/EEFTabDescriptor.java | 91 + plugins/org.eclipse.eef.ide/.checkstyle | 10 + plugins/org.eclipse.eef.ide/.classpath | 7 + plugins/org.eclipse.eef.ide/.project | 34 + .../.settings/org.eclipse.jdt.core.prefs | 398 ++ .../.settings/org.eclipse.jdt.launching.prefs | 2 + .../.settings/org.eclipse.jdt.ui.prefs | 67 + .../.settings/org.eclipse.pde.prefs | 32 + plugins/org.eclipse.eef.ide/META-INF/MANIFEST.MF | 18 + plugins/org.eclipse.eef.ide/about.html | 28 + plugins/org.eclipse.eef.ide/build.properties | 15 + plugins/org.eclipse.eef.ide/plugin.properties | 12 + plugins/org.eclipse.eef.ide/plugin.xml | 7 + .../schema/eefViewDescriptionProvider.exsd | 123 + .../schema/interpreterProvider.exsd | 123 + .../org/eclipse/eef/ide/internal/EEFIdePlugin.java | 209 + .../src/org/eclipse/eef/ide/internal/I18N.java | 149 + .../src/org/eclipse/eef/ide/internal/Messages.java | 45 + .../extensions/AbstractRegistryEventListener.java | 208 + .../ide/internal/extensions/IItemDescriptor.java | 49 + .../eef/ide/internal/extensions/IItemRegistry.java | 66 + .../impl/DescriptorRegistryEventListener.java | 161 + .../internal/extensions/impl/ItemDescriptor.java | 104 + .../ide/internal/extensions/impl/ItemRegistry.java | 93 + .../org.eclipse.eef.interpreter.aql/.checkstyle | 10 + plugins/org.eclipse.eef.interpreter.aql/.classpath | 7 + plugins/org.eclipse.eef.interpreter.aql/.project | 34 + .../.settings/org.eclipse.jdt.core.prefs | 398 ++ .../.settings/org.eclipse.jdt.launching.prefs | 2 + .../.settings/org.eclipse.jdt.ui.prefs | 67 + .../.settings/org.eclipse.pde.core.prefs | 2 + .../.settings/org.eclipse.pde.prefs | 32 + .../META-INF/MANIFEST.MF | 18 + plugins/org.eclipse.eef.interpreter.aql/about.html | 28 + .../build.properties | 15 + .../plugin.properties | 13 + plugins/org.eclipse.eef.interpreter.aql/plugin.xml | 14 + .../aql/internal/AQLEvaluationResult.java | 66 + .../interpreter/aql/internal/AQLInterpreter.java | 122 + .../aql/internal/AQLInterpreterPlugin.java | 107 + .../aql/internal/AQLInterpreterProvider.java | 43 + .../aql/internal/DefaultEEFServices.java | 50 + .../eclipse/eef/interpreter/aql/internal/I18N.java | 149 + .../interpreter/aql/internal/IAQLConstants.java | 23 + .../eef/interpreter/aql/internal/Messages.java | 45 + plugins/org.eclipse.eef.interpreter/.checkstyle | 10 + plugins/org.eclipse.eef.interpreter/.classpath | 7 + plugins/org.eclipse.eef.interpreter/.project | 34 + .../.settings/org.eclipse.jdt.core.prefs | 398 ++ .../.settings/org.eclipse.jdt.launching.prefs | 2 + .../.settings/org.eclipse.jdt.ui.prefs | 67 + .../.settings/org.eclipse.pde.core.prefs | 2 + .../.settings/org.eclipse.pde.prefs | 32 + .../META-INF/MANIFEST.MF | 11 + plugins/org.eclipse.eef.interpreter/about.html | 28 + .../org.eclipse.eef.interpreter/build.properties | 14 + .../org.eclipse.eef.interpreter/plugin.properties | 9 + .../eef/interpreter/api/IEvaluationResult.java | 34 + .../eclipse/eef/interpreter/api/IInterpreter.java | 48 + .../eef/interpreter/api/IInterpreterProvider.java | 35 + .../eef/interpreter/api/IValidationResult.java | 27 + plugins/org.eclipse.eef/.checkstyle | 13 + plugins/org.eclipse.eef/.classpath | 9 +- plugins/org.eclipse.eef/.project | 6 + .../.settings/org.eclipse.jdt.core.prefs | 113 +- .../.settings/org.eclipse.jdt.launching.prefs | 2 + .../.settings/org.eclipse.jdt.ui.prefs | 125 +- .../.settings/org.eclipse.pde.prefs | 32 + plugins/org.eclipse.eef/META-INF/MANIFEST.MF | 17 +- plugins/org.eclipse.eef/about.html | 28 + plugins/org.eclipse.eef/build.properties | 7 +- plugins/org.eclipse.eef/model/EEFExpression.xmi | 76 +- plugins/org.eclipse.eef/model/eef.aird | 272 +- plugins/org.eclipse.eef/model/eef.ecore | 10 +- plugins/org.eclipse.eef/model/eef.genmodel | 9 +- plugins/org.eclipse.eef/plugin.properties | 4 +- plugins/org.eclipse.eef/plugin.xml | 2 +- .../org/eclipse/eef/ContextableElement.java | 69 + ...EEFAdapterFactoryTableStructureDescription.java | 57 + .../EEFAdapterFactoryTreeStructureDescription.java | 57 + .../org/eclipse/eef/EEFCellWidgetDescription.java | 26 + .../org/eclipse/eef/EEFCheckboxDescription.java | 83 + .../org/eclipse/eef/EEFColumnDescription.java | 138 + .../org/eclipse/eef/EEFContainerDescription.java | 170 + .../org/eclipse/eef/EEFGroupDescription.java | 161 + .../org/eclipse/eef/EEFImageDescription.java | 57 + .../org/eclipse/eef/EEFImagePickerDescription.java | 109 + .../EEFInterpretedTableStructureDescription.java | 75 + .../EEFInterpretedTreeStructureDescription.java | 135 + .../eclipse/eef/EEFJavaExtensionDescription.java | 59 + .../org/eclipse/eef/EEFLabelDescription.java | 57 + .../org/eclipse/eef/EEFLineDescription.java | 129 + .../org/eclipse/eef/EEFLinkDescription.java | 57 + .../org/eclipse/eef/EEFPageDescription.java | 180 + .../org/eclipse/eef/EEFRadioDescription.java | 135 + .../org/eclipse/eef/EEFSelectDescription.java | 161 + .../org/eclipse/eef/EEFTableDescription.java | 109 + .../eclipse/eef/EEFTableStructureDescription.java | 85 + .../org/eclipse/eef/EEFTextDescription.java | 110 + .../org/eclipse/eef/EEFTreeDescription.java | 109 + .../eef/EEFTreeDialogSelectDescription.java | 136 + .../eclipse/eef/EEFTreeStructureDescription.java | 85 + .../org/eclipse/eef/EEFViewDescription.java | 197 + .../org/eclipse/eef/EEFWidgetDescription.java | 83 + .../src-gen/org/eclipse/eef/EefFactory.java | 237 ++ .../src-gen/org/eclipse/eef/EefPackage.java | 4073 +++++++++++++++++++ .../org/eclipse/eef/eef/ContextableElement.java | 69 - ...EEFAdapterFactoryTableStructureDescription.java | 57 - .../EEFAdapterFactoryTreeStructureDescription.java | 57 - .../eclipse/eef/eef/EEFCellWidgetDescription.java | 26 - .../eclipse/eef/eef/EEFCheckboxDescription.java | 83 - .../org/eclipse/eef/eef/EEFColumnDescription.java | 138 - .../eclipse/eef/eef/EEFContainerDescription.java | 170 - .../org/eclipse/eef/eef/EEFGroupDescription.java | 161 - .../org/eclipse/eef/eef/EEFImageDescription.java | 57 - .../eclipse/eef/eef/EEFImagePickerDescription.java | 109 - .../EEFInterpretedTableStructureDescription.java | 75 - .../EEFInterpretedTreeStructureDescription.java | 135 - .../eef/eef/EEFJavaExtensionDescription.java | 59 - .../org/eclipse/eef/eef/EEFLabelDescription.java | 57 - .../org/eclipse/eef/eef/EEFLineDescription.java | 129 - .../org/eclipse/eef/eef/EEFLinkDescription.java | 57 - .../org/eclipse/eef/eef/EEFPageDescription.java | 180 - .../org/eclipse/eef/eef/EEFRadioDescription.java | 135 - .../org/eclipse/eef/eef/EEFSelectDescription.java | 161 - .../org/eclipse/eef/eef/EEFTableDescription.java | 109 - .../eef/eef/EEFTableStructureDescription.java | 85 - .../org/eclipse/eef/eef/EEFTextDescription.java | 110 - .../org/eclipse/eef/eef/EEFTreeDescription.java | 109 - .../eef/eef/EEFTreeDialogSelectDescription.java | 136 - .../eef/eef/EEFTreeStructureDescription.java | 85 - .../org/eclipse/eef/eef/EEFViewDescription.java | 197 - .../org/eclipse/eef/eef/EEFWidgetDescription.java | 109 - .../src-gen/org/eclipse/eef/eef/EefFactory.java | 237 -- .../src-gen/org/eclipse/eef/eef/EefPackage.java | 4239 -------------------- .../eef/eef/impl/ContextableElementImpl.java | 199 - ...dapterFactoryTableStructureDescriptionImpl.java | 175 - ...AdapterFactoryTreeStructureDescriptionImpl.java | 175 - .../eef/eef/impl/EEFCellWidgetDescriptionImpl.java | 44 - .../eef/eef/impl/EEFCheckboxDescriptionImpl.java | 231 -- .../eef/eef/impl/EEFColumnDescriptionImpl.java | 357 -- .../eef/eef/impl/EEFContainerDescriptionImpl.java | 445 -- .../eef/eef/impl/EEFGroupDescriptionImpl.java | 465 --- .../eef/eef/impl/EEFImageDescriptionImpl.java | 173 - .../eef/impl/EEFImagePickerDescriptionImpl.java | 290 -- ...EFInterpretedTableStructureDescriptionImpl.java | 271 -- ...EEFInterpretedTreeStructureDescriptionImpl.java | 352 -- .../eef/impl/EEFJavaExtensionDescriptionImpl.java | 175 - .../eef/eef/impl/EEFLabelDescriptionImpl.java | 173 - .../eef/eef/impl/EEFLineDescriptionImpl.java | 350 -- .../eef/eef/impl/EEFLinkDescriptionImpl.java | 173 - .../eef/eef/impl/EEFPageDescriptionImpl.java | 456 --- .../eef/eef/impl/EEFRadioDescriptionImpl.java | 349 -- .../eef/eef/impl/EEFSelectDescriptionImpl.java | 406 -- .../eef/eef/impl/EEFTableDescriptionImpl.java | 298 -- .../eef/impl/EEFTableStructureDescriptionImpl.java | 231 -- .../eef/eef/impl/EEFTextDescriptionImpl.java | 288 -- .../eef/eef/impl/EEFTreeDescriptionImpl.java | 298 -- .../impl/EEFTreeDialogSelectDescriptionImpl.java | 357 -- .../eef/impl/EEFTreeStructureDescriptionImpl.java | 231 -- .../eef/eef/impl/EEFViewDescriptionImpl.java | 523 --- .../eef/eef/impl/EEFWidgetDescriptionImpl.java | 289 -- .../org/eclipse/eef/eef/impl/EefFactoryImpl.java | 447 --- .../org/eclipse/eef/eef/impl/EefPackageImpl.java | 2010 ---------- .../eclipse/eef/eef/util/EefAdapterFactory.java | 620 --- .../org/eclipse/eef/eef/util/EefSwitch.java | 772 ---- .../eclipse/eef/impl/ContextableElementImpl.java | 199 + ...dapterFactoryTableStructureDescriptionImpl.java | 175 + ...AdapterFactoryTreeStructureDescriptionImpl.java | 174 + .../eef/impl/EEFCellWidgetDescriptionImpl.java | 43 + .../eef/impl/EEFCheckboxDescriptionImpl.java | 229 ++ .../eclipse/eef/impl/EEFColumnDescriptionImpl.java | 353 ++ .../eef/impl/EEFContainerDescriptionImpl.java | 441 ++ .../eclipse/eef/impl/EEFGroupDescriptionImpl.java | 458 +++ .../eclipse/eef/impl/EEFImageDescriptionImpl.java | 172 + .../eef/impl/EEFImagePickerDescriptionImpl.java | 287 ++ ...EFInterpretedTableStructureDescriptionImpl.java | 265 ++ ...EEFInterpretedTreeStructureDescriptionImpl.java | 346 ++ .../eef/impl/EEFJavaExtensionDescriptionImpl.java | 173 + .../eclipse/eef/impl/EEFLabelDescriptionImpl.java | 172 + .../eclipse/eef/impl/EEFLineDescriptionImpl.java | 347 ++ .../eclipse/eef/impl/EEFLinkDescriptionImpl.java | 172 + .../eclipse/eef/impl/EEFPageDescriptionImpl.java | 450 +++ .../eclipse/eef/impl/EEFRadioDescriptionImpl.java | 345 ++ .../eclipse/eef/impl/EEFSelectDescriptionImpl.java | 401 ++ .../eclipse/eef/impl/EEFTableDescriptionImpl.java | 296 ++ .../eef/impl/EEFTableStructureDescriptionImpl.java | 228 ++ .../eclipse/eef/impl/EEFTextDescriptionImpl.java | 285 ++ .../eclipse/eef/impl/EEFTreeDescriptionImpl.java | 295 ++ .../impl/EEFTreeDialogSelectDescriptionImpl.java | 352 ++ .../eef/impl/EEFTreeStructureDescriptionImpl.java | 228 ++ .../eclipse/eef/impl/EEFViewDescriptionImpl.java | 519 +++ .../eclipse/eef/impl/EEFWidgetDescriptionImpl.java | 228 ++ .../org/eclipse/eef/impl/EefFactoryImpl.java | 447 +++ .../org/eclipse/eef/impl/EefPackageImpl.java | 1935 +++++++++ .../org/eclipse/eef/util/EefAdapterFactory.java | 619 +++ .../src-gen/org/eclipse/eef/util/EefSwitch.java | 772 ++++ .../eef/api/IEEFViewDescriptionProvider.java | 27 + .../org.eclipse.sirius.context.edit/.checkstyle | 13 + plugins/org.eclipse.sirius.context.edit/.classpath | 8 +- plugins/org.eclipse.sirius.context.edit/.project | 6 + .../.settings/org.eclipse.jdt.core.prefs | 398 ++ .../.settings/org.eclipse.jdt.launching.prefs | 2 + .../.settings/org.eclipse.jdt.ui.prefs | 67 + .../.settings/org.eclipse.pde.prefs | 32 + .../META-INF/MANIFEST.MF | 12 +- plugins/org.eclipse.sirius.context.edit/about.html | 28 + .../build.properties | 4 +- .../plugin.properties | 4 +- plugins/org.eclipse.sirius.context.edit/plugin.xml | 2 +- .../context/provider/ContextEditPlugin.java | 92 - .../context/provider/ContextItemProvider.java | 127 - .../ContextItemProviderAdapterFactory.java | 237 -- .../provider/ContextVariableItemProvider.java | 193 - .../sirius/context/provider/ContextEditPlugin.java | 92 + .../context/provider/ContextItemProvider.java | 127 + .../ContextItemProviderAdapterFactory.java | 237 ++ .../provider/ContextVariableItemProvider.java | 193 + plugins/org.eclipse.sirius.context/.checkstyle | 13 + plugins/org.eclipse.sirius.context/.classpath | 9 +- plugins/org.eclipse.sirius.context/.project | 6 + .../.settings/org.eclipse.jdt.core.prefs | 398 ++ .../.settings/org.eclipse.jdt.launching.prefs | 2 + .../.settings/org.eclipse.jdt.ui.prefs | 67 + .../.settings/org.eclipse.pde.prefs | 32 + .../META-INF/MANIFEST.MF | 11 +- plugins/org.eclipse.sirius.context/about.html | 28 + .../org.eclipse.sirius.context/build.properties | 4 +- .../model/context.genmodel | 6 +- .../org.eclipse.sirius.context/plugin.properties | 4 +- plugins/org.eclipse.sirius.context/plugin.xml | 2 +- .../org/eclipse/sirius/context/Context.java | 27 + .../org/eclipse/sirius/context/ContextFactory.java | 56 + .../org/eclipse/sirius/context/ContextPackage.java | 269 ++ .../eclipse/sirius/context/ContextVariable.java | 110 + .../eclipse/sirius/context/context/Context.java | 27 - .../sirius/context/context/ContextFactory.java | 56 - .../sirius/context/context/ContextPackage.java | 269 -- .../sirius/context/context/ContextVariable.java | 110 - .../context/context/impl/ContextFactoryImpl.java | 116 - .../sirius/context/context/impl/ContextImpl.java | 44 - .../context/context/impl/ContextPackageImpl.java | 242 -- .../context/context/impl/ContextVariableImpl.java | 297 -- .../context/util/ContextAdapterFactory.java | 143 - .../sirius/context/context/util/ContextSwitch.java | 139 - .../sirius/context/impl/ContextFactoryImpl.java | 116 + .../eclipse/sirius/context/impl/ContextImpl.java | 44 + .../sirius/context/impl/ContextPackageImpl.java | 242 ++ .../sirius/context/impl/ContextVariableImpl.java | 297 ++ .../sirius/context/util/ContextAdapterFactory.java | 143 + .../eclipse/sirius/context/util/ContextSwitch.java | 139 + .../.classpath | 7 - .../org.eclipse.sirius.expression.design/.project | 35 - .../META-INF/MANIFEST.MF | 13 - .../build.properties | 7 - .../description/expression.odesign | 192 - .../plugin.xml | 10 - .../sirius/expression/design/Activator.java | 66 - .../org.eclipse.sirius.expression.edit/.checkstyle | 13 + .../org.eclipse.sirius.expression.edit/.classpath | 8 +- .../org.eclipse.sirius.expression.edit/.project | 6 + .../.settings/org.eclipse.jdt.core.prefs | 398 ++ .../.settings/org.eclipse.jdt.launching.prefs | 2 + .../.settings/org.eclipse.jdt.ui.prefs | 67 + .../.settings/org.eclipse.pde.prefs | 32 + .../META-INF/MANIFEST.MF | 12 +- .../org.eclipse.sirius.expression.edit/about.html | 28 + .../build.properties | 4 +- .../plugin.properties | 4 +- .../org.eclipse.sirius.expression.edit/plugin.xml | 2 +- .../ExpressionDescriptionItemProvider.java | 311 -- .../expression/provider/ExpressionEditPlugin.java | 94 - .../ExpressionItemProviderAdapterFactory.java | 276 -- .../SiriusExpressionClassItemProvider.java | 221 - .../SiriusExpressionPackageItemProvider.java | 207 - .../expression/provider/VariableItemProvider.java | 197 - .../ExpressionDescriptionItemProvider.java | 311 ++ .../expression/provider/ExpressionEditPlugin.java | 94 + .../ExpressionItemProviderAdapterFactory.java | 276 ++ .../SiriusExpressionClassItemProvider.java | 221 + .../SiriusExpressionPackageItemProvider.java | 207 + .../expression/provider/VariableItemProvider.java | 197 + plugins/org.eclipse.sirius.expression/.checkstyle | 13 + plugins/org.eclipse.sirius.expression/.classpath | 8 +- plugins/org.eclipse.sirius.expression/.project | 6 + .../.settings/org.eclipse.jdt.core.prefs | 398 ++ .../.settings/org.eclipse.jdt.launching.prefs | 2 + .../.settings/org.eclipse.jdt.ui.prefs | 67 + .../.settings/org.eclipse.pde.prefs | 32 + .../META-INF/MANIFEST.MF | 16 +- plugins/org.eclipse.sirius.expression/about.html | 28 + .../org.eclipse.sirius.expression/build.properties | 4 +- .../model/expression.genmodel | 4 +- .../plugin.properties | 4 +- plugins/org.eclipse.sirius.expression/plugin.xml | 2 +- .../sirius/expression/ExpressionDescription.java | 200 + .../sirius/expression/ExpressionFactory.java | 74 + .../sirius/expression/ExpressionPackage.java | 768 ++++ .../sirius/expression/SiriusExpressionClass.java | 92 + .../sirius/expression/SiriusExpressionPackage.java | 77 + .../org/eclipse/sirius/expression/Variable.java | 84 + .../expression/ExpressionDescription.java | 200 - .../expression/expression/ExpressionFactory.java | 74 - .../expression/expression/ExpressionPackage.java | 768 ---- .../expression/SiriusExpressionClass.java | 92 - .../expression/SiriusExpressionPackage.java | 77 - .../sirius/expression/expression/Variable.java | 84 - .../expression/impl/ExpressionDescriptionImpl.java | 475 --- .../expression/impl/ExpressionFactoryImpl.java | 226 -- .../expression/impl/ExpressionPackageImpl.java | 448 --- .../expression/impl/SiriusExpressionClassImpl.java | 264 -- .../impl/SiriusExpressionPackageImpl.java | 220 - .../expression/expression/impl/VariableImpl.java | 222 - .../expression/util/ExpressionAdapterFactory.java | 179 - .../expression/util/ExpressionSwitch.java | 178 - .../expression/impl/ExpressionDescriptionImpl.java | 475 +++ .../expression/impl/ExpressionFactoryImpl.java | 226 ++ .../expression/impl/ExpressionPackageImpl.java | 448 +++ .../expression/impl/SiriusExpressionClassImpl.java | 264 ++ .../impl/SiriusExpressionPackageImpl.java | 220 + .../sirius/expression/impl/VariableImpl.java | 222 + .../expression/util/ExpressionAdapterFactory.java | 179 + .../sirius/expression/util/ExpressionSwitch.java | 178 + releng/org.eclipse.eef.releng/.project | 11 + releng/org.eclipse.eef.releng/about.html | 28 + .../codestyle/EEF.importorder | 6 + .../codestyle/EEFCheckstyleConfiguration.xml | 338 ++ .../codestyle/EEFCodeTemplates.xml | 5 + .../codestyle/EEFFormatter.xml | 295 ++ .../targetplatforms/neon/neon.target | 17 + .../targetplatforms/neon/neon.tpd | 13 + .../org.eclipse.sirius.editor.custom/.classpath | 7 + .../org.eclipse.sirius.editor.custom/.project | 28 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 39 + .../build.properties | 6 + .../icons/sample.gif | Bin 0 -> 983 bytes .../org.eclipse.sirius.editor.custom/plugin.xml | 25 + .../sirius/editor/custom/editors/CustomEditor.java | 32 + .../custom/editors/SiriusPropertySheetPage.java | 11 + .../.classpath | 7 + .../org.eclipse.sirius.editor.properties/.project | 28 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 23 + .../build.properties | 5 + .../plugin.xml | 13 + .../properties/api/EEFTabDescriptorProvider.java | 42 + .../properties/internal/EEFBundleActivator.java | 23 + .../internal/EEFViewDescriptionProvider.java | 43 + .../org.eclipse.eef.uml.editor.sample/.checkstyle | 10 + .../org.eclipse.eef.uml.editor.sample/.classpath | 7 + .../org.eclipse.eef.uml.editor.sample/.project | 34 + .../.settings/org.eclipse.jdt.core.prefs | 398 ++ .../.settings/org.eclipse.jdt.launching.prefs | 2 + .../.settings/org.eclipse.jdt.ui.prefs | 68 + .../.settings/org.eclipse.pde.core.prefs | 2 + .../.settings/org.eclipse.pde.prefs | 32 + .../META-INF/MANIFEST.MF | 24 + .../build.properties | 14 + .../description/EEFViewDescription.xmi | 27 + .../plugin.properties | 11 + .../org.eclipse.eef.uml.editor.sample/plugin.xml | 33 + .../editor/sample/internal/UmlSamplePlugin.java | 93 + .../description/EEFViewDescriptionProvider.java | 58 + .../sample/internal/editor/EEFUmlEditor.java | 86 + .../properties/UMLTabDescriptorProvider.java | 71 + .../internal/properties/UmlPropertySheetPage.java | 33 + 593 files changed, 46464 insertions(+), 33922 deletions(-) create mode 100644 doc/org.eclipse.eef.documentation.validator/.classpath create mode 100644 doc/org.eclipse.eef.documentation.validator/.project create mode 100644 doc/org.eclipse.eef.documentation.validator/.settings/org.eclipse.jdt.core.prefs create mode 100644 doc/org.eclipse.eef.documentation.validator/META-INF/MANIFEST.MF create mode 100644 doc/org.eclipse.eef.documentation.validator/about.html create mode 100644 doc/org.eclipse.eef.documentation.validator/build.properties create mode 100644 doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/AbstractValidationStatus.java create mode 100644 doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/DocumentationValidator.java create mode 100644 doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/EClassifierValidationStatus.java create mode 100644 doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/EStructuralFeatureValidationStatus.java create mode 100644 doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/ValidationStatusKind.java create mode 100644 doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/Validator.java create mode 100644 doc/org.eclipse.eef.documentation/.classpath create mode 100644 doc/org.eclipse.eef.documentation/.project create mode 100644 doc/org.eclipse.eef.documentation/.settings/org.eclipse.jdt.core.prefs create mode 100644 doc/org.eclipse.eef.documentation/META-INF/MANIFEST.MF create mode 100644 doc/org.eclipse.eef.documentation/about.html create mode 100644 doc/org.eclipse.eef.documentation/build.properties create mode 100644 doc/org.eclipse.eef.documentation/plugin.properties create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-1.screen create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-10.screen create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-11.screen create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-12.screen create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-13.screen create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-14.screen create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-15.screen create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-16.screen create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-2.screen create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-3.screen create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-4.screen create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-5.screen create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-6.screen create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-7.screen create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-8.screen create mode 100644 doc/org.eclipse.eef.documentation/sketches/US-9.screen create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-1.xmi create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-10.xmi create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-11.xmi create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-12.xmi create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-13.xmi create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-14.xmi create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-15.xmi create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-16.xmi create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-2.xmi create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-3.xmi create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-4.xmi create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-5.xmi create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-6.xmi create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-7.xmi create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-8.xmi create mode 100644 doc/org.eclipse.eef.documentation/userstories/US-9.xmi create mode 100644 doc/org.eclipse.sirius.expression.design/.classpath create mode 100644 doc/org.eclipse.sirius.expression.design/.project create mode 100644 doc/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF create mode 100644 doc/org.eclipse.sirius.expression.design/about.html create mode 100644 doc/org.eclipse.sirius.expression.design/build.properties create mode 100644 doc/org.eclipse.sirius.expression.design/description/expression.odesign create mode 100644 doc/org.eclipse.sirius.expression.design/plugin.xml create mode 100644 doc/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java create mode 100644 features/org.eclipse.eef.sdk-feature/.project create mode 100644 features/org.eclipse.eef.sdk-feature/about.html create mode 100644 features/org.eclipse.eef.sdk-feature/build.properties create mode 100644 features/org.eclipse.eef.sdk-feature/feature.properties create mode 100644 features/org.eclipse.eef.sdk-feature/feature.xml create mode 100644 plugins/org.eclipse.eef.core/.checkstyle create mode 100644 plugins/org.eclipse.eef.core/.classpath create mode 100644 plugins/org.eclipse.eef.core/.project create mode 100644 plugins/org.eclipse.eef.core/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.eef.core/.settings/org.eclipse.jdt.launching.prefs create mode 100644 plugins/org.eclipse.eef.core/.settings/org.eclipse.jdt.ui.prefs create mode 100644 plugins/org.eclipse.eef.core/.settings/org.eclipse.pde.core.prefs create mode 100644 plugins/org.eclipse.eef.core/.settings/org.eclipse.pde.prefs create mode 100644 plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.eef.core/about.html create mode 100644 plugins/org.eclipse.eef.core/build.properties create mode 100644 plugins/org.eclipse.eef.core/plugin.properties create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFChildObject.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainer.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainerParent.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFExpressionUtils.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFGroup.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFObject.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFPage.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFVariableManagerFactory.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFView.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFViewFactory.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFWidget.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IConsumer.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IEPackageManager.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IVariableManager.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFChildObject.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFObject.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFWidgetImpl.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFContainerImpl.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFVariableManager.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java delete mode 100644 plugins/org.eclipse.eef.documentation/.classpath delete mode 100644 plugins/org.eclipse.eef.documentation/.project delete mode 100644 plugins/org.eclipse.eef.documentation/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/org.eclipse.eef.documentation/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.eef.documentation/build.properties delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-1.screen delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-10.screen delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-11.screen delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-12.screen delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-13.screen delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-14.screen delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-15.screen delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-16.screen delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-2.screen delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-3.screen delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-4.screen delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-5.screen delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-6.screen delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-7.screen delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-8.screen delete mode 100644 plugins/org.eclipse.eef.documentation/sketches/US-9.screen delete mode 100644 plugins/org.eclipse.eef.documentation/src/org/eclipse/eef/documentation/Activator.java delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-1.xmi delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-10.xmi delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-11.xmi delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-12.xmi delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-13.xmi delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-14.xmi delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-15.xmi delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-16.xmi delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-2.xmi delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-3.xmi delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-4.xmi delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-5.xmi delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-6.xmi delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-7.xmi delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-8.xmi delete mode 100644 plugins/org.eclipse.eef.documentation/userstories/US-9.xmi create mode 100644 plugins/org.eclipse.eef.edit/.checkstyle create mode 100644 plugins/org.eclipse.eef.edit/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.eef.edit/.settings/org.eclipse.jdt.launching.prefs create mode 100644 plugins/org.eclipse.eef.edit/.settings/org.eclipse.jdt.ui.prefs create mode 100644 plugins/org.eclipse.eef.edit/.settings/org.eclipse.pde.prefs create mode 100644 plugins/org.eclipse.eef.edit/about.html delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/ContextableElementItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCellWidgetDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCheckboxDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFColumnDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFContainerDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFGroupDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImageDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImagePickerDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFJavaExtensionDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLabelDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLineDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLinkDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFPageDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFRadioDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFSelectDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableStructureDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTextDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeStructureDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFViewDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFWidgetDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefEditPlugin.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefItemProviderAdapterFactory.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/ContextableElementItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCellWidgetDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFContainerDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImageDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImagePickerDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFJavaExtensionDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFPageDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStructureDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStructureDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefEditPlugin.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java create mode 100644 plugins/org.eclipse.eef.ide.ui/.checkstyle create mode 100644 plugins/org.eclipse.eef.ide.ui/.classpath create mode 100644 plugins/org.eclipse.eef.ide.ui/.project create mode 100644 plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.jdt.launching.prefs create mode 100644 plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.jdt.ui.prefs create mode 100644 plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.pde.core.prefs create mode 100644 plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.pde.prefs create mode 100644 plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.eef.ide.ui/about.html create mode 100644 plugins/org.eclipse.eef.ide.ui/build.properties create mode 100644 plugins/org.eclipse.eef.ide.ui/plugin.properties create mode 100644 plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/api/TabDescriptorFilter.java create mode 100644 plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/EEFIdeUiPlugin.java create mode 100644 plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java create mode 100644 plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSectionDescriptor.java create mode 100644 plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFTabDescriptor.java create mode 100644 plugins/org.eclipse.eef.ide/.checkstyle create mode 100644 plugins/org.eclipse.eef.ide/.classpath create mode 100644 plugins/org.eclipse.eef.ide/.project create mode 100644 plugins/org.eclipse.eef.ide/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.eef.ide/.settings/org.eclipse.jdt.launching.prefs create mode 100644 plugins/org.eclipse.eef.ide/.settings/org.eclipse.jdt.ui.prefs create mode 100644 plugins/org.eclipse.eef.ide/.settings/org.eclipse.pde.prefs create mode 100644 plugins/org.eclipse.eef.ide/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.eef.ide/about.html create mode 100644 plugins/org.eclipse.eef.ide/build.properties create mode 100644 plugins/org.eclipse.eef.ide/plugin.properties create mode 100644 plugins/org.eclipse.eef.ide/plugin.xml create mode 100644 plugins/org.eclipse.eef.ide/schema/eefViewDescriptionProvider.exsd create mode 100644 plugins/org.eclipse.eef.ide/schema/interpreterProvider.exsd create mode 100644 plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/EEFIdePlugin.java create mode 100644 plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/I18N.java create mode 100644 plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/Messages.java create mode 100644 plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/AbstractRegistryEventListener.java create mode 100644 plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/IItemDescriptor.java create mode 100644 plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/IItemRegistry.java create mode 100644 plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/impl/DescriptorRegistryEventListener.java create mode 100644 plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/impl/ItemDescriptor.java create mode 100644 plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/impl/ItemRegistry.java create mode 100644 plugins/org.eclipse.eef.interpreter.aql/.checkstyle create mode 100644 plugins/org.eclipse.eef.interpreter.aql/.classpath create mode 100644 plugins/org.eclipse.eef.interpreter.aql/.project create mode 100644 plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.launching.prefs create mode 100644 plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.ui.prefs create mode 100644 plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.core.prefs create mode 100644 plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.prefs create mode 100644 plugins/org.eclipse.eef.interpreter.aql/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.eef.interpreter.aql/about.html create mode 100644 plugins/org.eclipse.eef.interpreter.aql/build.properties create mode 100644 plugins/org.eclipse.eef.interpreter.aql/plugin.properties create mode 100644 plugins/org.eclipse.eef.interpreter.aql/plugin.xml create mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLEvaluationResult.java create mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java create mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterPlugin.java create mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterProvider.java create mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/DefaultEEFServices.java create mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/I18N.java create mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/IAQLConstants.java create mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/Messages.java create mode 100644 plugins/org.eclipse.eef.interpreter/.checkstyle create mode 100644 plugins/org.eclipse.eef.interpreter/.classpath create mode 100644 plugins/org.eclipse.eef.interpreter/.project create mode 100644 plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.launching.prefs create mode 100644 plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.ui.prefs create mode 100644 plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.core.prefs create mode 100644 plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.prefs create mode 100644 plugins/org.eclipse.eef.interpreter/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.eef.interpreter/about.html create mode 100644 plugins/org.eclipse.eef.interpreter/build.properties create mode 100644 plugins/org.eclipse.eef.interpreter/plugin.properties create mode 100644 plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IEvaluationResult.java create mode 100644 plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java create mode 100644 plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreterProvider.java create mode 100644 plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IValidationResult.java create mode 100644 plugins/org.eclipse.eef/.checkstyle create mode 100644 plugins/org.eclipse.eef/.settings/org.eclipse.jdt.launching.prefs create mode 100644 plugins/org.eclipse.eef/.settings/org.eclipse.pde.prefs create mode 100644 plugins/org.eclipse.eef/about.html create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/ContextableElement.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTableStructureDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTreeStructureDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCellWidgetDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFContainerDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImageDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImagePickerDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTableStructureDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTreeStructureDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFJavaExtensionDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFPageDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStructureDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDialogSelectDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStructureDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/ContextableElement.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTableStructureDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTreeStructureDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCellWidgetDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCheckboxDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFColumnDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFContainerDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFGroupDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImageDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImagePickerDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTableStructureDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTreeStructureDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFJavaExtensionDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLabelDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLineDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLinkDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFPageDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFRadioDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFSelectDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableStructureDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTextDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDialogSelectDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeStructureDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFViewDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFWidgetDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefFactory.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefPackage.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/ContextableElementImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCellWidgetDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCheckboxDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFColumnDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFContainerDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFGroupDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImageDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImagePickerDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFJavaExtensionDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLabelDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLineDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLinkDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFPageDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFRadioDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFSelectDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableStructureDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTextDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDialogSelectDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeStructureDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFViewDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFWidgetDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefFactoryImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefPackageImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefAdapterFactory.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefSwitch.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/ContextableElementImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCellWidgetDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFContainerDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImageDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImagePickerDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFJavaExtensionDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFPageDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStructureDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDialogSelectDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStructureDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java create mode 100644 plugins/org.eclipse.eef/src/org/eclipse/eef/api/IEEFViewDescriptionProvider.java create mode 100644 plugins/org.eclipse.sirius.context.edit/.checkstyle create mode 100644 plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.launching.prefs create mode 100644 plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.ui.prefs create mode 100644 plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.pde.prefs create mode 100644 plugins/org.eclipse.sirius.context.edit/about.html delete mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextEditPlugin.java delete mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextItemProvider.java delete mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextItemProviderAdapterFactory.java delete mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextVariableItemProvider.java create mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextEditPlugin.java create mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProvider.java create mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProviderAdapterFactory.java create mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextVariableItemProvider.java create mode 100644 plugins/org.eclipse.sirius.context/.checkstyle create mode 100644 plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.launching.prefs create mode 100644 plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.ui.prefs create mode 100644 plugins/org.eclipse.sirius.context/.settings/org.eclipse.pde.prefs create mode 100644 plugins/org.eclipse.sirius.context/about.html create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/Context.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextFactory.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextPackage.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextVariable.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/Context.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextFactory.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextPackage.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextVariable.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextFactoryImpl.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextImpl.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextPackageImpl.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextVariableImpl.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextAdapterFactory.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextSwitch.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextFactoryImpl.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextImpl.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextPackageImpl.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextVariableImpl.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextAdapterFactory.java create mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextSwitch.java delete mode 100644 plugins/org.eclipse.sirius.expression.design/.classpath delete mode 100644 plugins/org.eclipse.sirius.expression.design/.project delete mode 100644 plugins/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.sirius.expression.design/build.properties delete mode 100644 plugins/org.eclipse.sirius.expression.design/description/expression.odesign delete mode 100644 plugins/org.eclipse.sirius.expression.design/plugin.xml delete mode 100644 plugins/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/.checkstyle create mode 100644 plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.launching.prefs create mode 100644 plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.ui.prefs create mode 100644 plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.pde.prefs create mode 100644 plugins/org.eclipse.sirius.expression.edit/about.html delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionEditPlugin.java delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionItemProviderAdapterFactory.java delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionClassItemProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionPackageItemProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/VariableItemProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionPackageItemProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/VariableItemProvider.java create mode 100644 plugins/org.eclipse.sirius.expression/.checkstyle create mode 100644 plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.launching.prefs create mode 100644 plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.ui.prefs create mode 100644 plugins/org.eclipse.sirius.expression/.settings/org.eclipse.pde.prefs create mode 100644 plugins/org.eclipse.sirius.expression/about.html create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionDescription.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionPackage.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/Variable.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionDescription.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionFactory.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionPackage.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionClass.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionPackage.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/Variable.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionDescriptionImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionFactoryImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionPackageImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionClassImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionPackageImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/VariableImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionAdapterFactory.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionSwitch.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionDescriptionImpl.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionPackageImpl.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/VariableImpl.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java create mode 100644 releng/org.eclipse.eef.releng/.project create mode 100644 releng/org.eclipse.eef.releng/about.html create mode 100644 releng/org.eclipse.eef.releng/codestyle/EEF.importorder create mode 100644 releng/org.eclipse.eef.releng/codestyle/EEFCheckstyleConfiguration.xml create mode 100644 releng/org.eclipse.eef.releng/codestyle/EEFCodeTemplates.xml create mode 100644 releng/org.eclipse.eef.releng/codestyle/EEFFormatter.xml create mode 100644 releng/org.eclipse.eef.releng/targetplatforms/neon/neon.target create mode 100644 releng/org.eclipse.eef.releng/targetplatforms/neon/neon.tpd create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/.classpath create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/.project create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/.settings/org.eclipse.jdt.core.prefs create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/META-INF/MANIFEST.MF create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/build.properties create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/icons/sample.gif create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/plugin.xml create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/src/org/eclipse/sirius/editor/custom/editors/CustomEditor.java create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/src/org/eclipse/sirius/editor/custom/editors/SiriusPropertySheetPage.java create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/.classpath create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/.project create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/.settings/org.eclipse.jdt.core.prefs create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/META-INF/MANIFEST.MF create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/build.properties create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/plugin.xml create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/api/EEFTabDescriptorProvider.java create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/internal/EEFBundleActivator.java create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/internal/EEFViewDescriptionProvider.java create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.checkstyle create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.classpath create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.project create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.core.prefs create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.launching.prefs create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.ui.prefs create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.core.prefs create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.prefs create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/META-INF/MANIFEST.MF create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/build.properties create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/description/EEFViewDescription.xmi create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.properties create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.xml create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/UmlSamplePlugin.java create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/description/EEFViewDescriptionProvider.java create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/editor/EEFUmlEditor.java create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UMLTabDescriptorProvider.java create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UmlPropertySheetPage.java diff --git a/.gitignore b/.gitignore index 48258e7b9..c39fae941 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ screenshots *~ *.rej *.bak +.DS_Store \ No newline at end of file diff --git a/doc/org.eclipse.eef.documentation.validator/.classpath b/doc/org.eclipse.eef.documentation.validator/.classpath new file mode 100644 index 000000000..eca7bdba8 --- /dev/null +++ b/doc/org.eclipse.eef.documentation.validator/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/doc/org.eclipse.eef.documentation.validator/.project b/doc/org.eclipse.eef.documentation.validator/.project new file mode 100644 index 000000000..0606e959b --- /dev/null +++ b/doc/org.eclipse.eef.documentation.validator/.project @@ -0,0 +1,28 @@ + + + org.eclipse.eef.documentation.validator + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/doc/org.eclipse.eef.documentation.validator/.settings/org.eclipse.jdt.core.prefs b/doc/org.eclipse.eef.documentation.validator/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..0c68a61dc --- /dev/null +++ b/doc/org.eclipse.eef.documentation.validator/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/doc/org.eclipse.eef.documentation.validator/META-INF/MANIFEST.MF b/doc/org.eclipse.eef.documentation.validator/META-INF/MANIFEST.MF new file mode 100644 index 000000000..6ba10591b --- /dev/null +++ b/doc/org.eclipse.eef.documentation.validator/META-INF/MANIFEST.MF @@ -0,0 +1,9 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-SymbolicName: org.eclipse.eef.documentation.validator +Bundle-Version: 1.0.0.qualifier +Bundle-Vendor: %Bundle-Vendor +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.eclipse.emf.ecore, + org.eclipse.emf.ecore.xmi diff --git a/doc/org.eclipse.eef.documentation.validator/about.html b/doc/org.eclipse.eef.documentation.validator/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/doc/org.eclipse.eef.documentation.validator/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/doc/org.eclipse.eef.documentation.validator/build.properties b/doc/org.eclipse.eef.documentation.validator/build.properties new file mode 100644 index 000000000..34d2e4d2d --- /dev/null +++ b/doc/org.eclipse.eef.documentation.validator/build.properties @@ -0,0 +1,4 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . diff --git a/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/AbstractValidationStatus.java b/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/AbstractValidationStatus.java new file mode 100644 index 000000000..ed1619312 --- /dev/null +++ b/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/AbstractValidationStatus.java @@ -0,0 +1,22 @@ +package org.eclipse.eef.documentation.validator.api; + +import java.util.ArrayList; +import java.util.List; + +public abstract class AbstractValidationStatus { + private ValidationStatusKind validationStatusKind; + + protected List additionalInformation = new ArrayList<>(); + + public AbstractValidationStatus(ValidationStatusKind validationStatusKind) { + this.validationStatusKind = validationStatusKind; + } + + public ValidationStatusKind getValidationStatusKind() { + return validationStatusKind; + } + + public List getAdditionalInformation() { + return additionalInformation; + } +} diff --git a/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/DocumentationValidator.java b/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/DocumentationValidator.java new file mode 100644 index 000000000..85d7026c3 --- /dev/null +++ b/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/DocumentationValidator.java @@ -0,0 +1,154 @@ +package org.eclipse.eef.documentation.validator.api; + +import java.util.ArrayList; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Set; +import java.util.stream.Stream; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.resource.Resource; + +public class DocumentationValidator { + private Set eClassifiers = new LinkedHashSet<>(); + private Set eStructuralFeatures = new LinkedHashSet<>(); + + private List status = new ArrayList<>(); + + public void validateLines(Stream lines, Resource resource) { + EObject eObject = resource.getContents().get(0); + if (eObject instanceof EPackage) { + EPackage ePackage = (EPackage) eObject; + + // Validate the documentation + lines.forEach(line -> { + if (!line.contains("#")) { + validateEClassifier(line, ePackage); + } else { + validateEStructuralFeature(line, ePackage); + } + }); + + // Find the EClassifier that have not been documented + ePackage.getEClassifiers().forEach(eClassifier -> { + if (!eClassifiers.contains(eClassifier)) { + this.status.add(new EClassifierValidationStatus(eClassifier, ValidationStatusKind.UNDOCUMENTED_ECLASSIFIER)); + System.out.println("Undocumented EClassifier \"" + eClassifier.getName() + "\""); + } + + // Find the EStructuralFeature that have not been documented + if (eClassifier instanceof EClass) { + EClass eClass = (EClass) eClassifier; + eClass.getEStructuralFeatures().forEach(eStructuralFeature -> { + if (!eStructuralFeatures.contains(eStructuralFeature)) { + this.status.add(new EStructuralFeatureValidationStatus(eStructuralFeature, ValidationStatusKind.UNDOCUMENTED_ESTRUCTURAL_FEATURE)); + System.out.println("Undocumented EStructuralFeature \"" + eClass.getName() + "#" + eStructuralFeature.getName() + "\""); + } + }); + } + }); + + } + } + + private String getQualifiedName(EStructuralFeature eStructuralFeature) { + return eStructuralFeature.getEContainingClass().getName() + "#" + eStructuralFeature.getName(); + } + + private void validateEClassifier(String line, EPackage ePackage) { + String eClassifierName = line.substring("* ".length()).trim(); + EClassifier eClassifier = ePackage.getEClassifier(eClassifierName); + if (eClassifier == null) { + this.status.add(new EClassifierValidationStatus(eClassifier, ValidationStatusKind.ECLASSIFIER_NOT_FOUND)); + System.err.println("EClassifier \"" + eClassifierName + "\" not found"); + } else { + this.eClassifiers.add(eClassifier); + } + } + + private void validateEStructuralFeature(String line, EPackage ePackage) { + String eStructuralFeatureDeclaration = line.substring("* ".length()).trim(); + String eClassifierName = eStructuralFeatureDeclaration.substring(0, eStructuralFeatureDeclaration.indexOf('#')); + EClassifier eClassifier = ePackage.getEClassifier(eClassifierName); + if (eClassifier == null) { + this.status.add(new EClassifierValidationStatus(eClassifier, ValidationStatusKind.ECLASSIFIER_NOT_FOUND)); + System.err.println("EClassifier \"" + eClassifierName + "\" not found"); + } else { + // We won't add the EClassifier here, it needs to be referenced directly + + String eStructuralFeatureName = eStructuralFeatureDeclaration.substring(eStructuralFeatureDeclaration.indexOf('#') + 1, eStructuralFeatureDeclaration.indexOf(':')); + if (eClassifier instanceof EClass) { + EClass eClass = (EClass) eClassifier; + EStructuralFeature eStructuralFeature = eClass.getEStructuralFeature(eStructuralFeatureName); + if (eStructuralFeature == null) { + this.status.add(new EStructuralFeatureValidationStatus(eStructuralFeature, ValidationStatusKind.ESTRUCUTURAL_FEATURE_NOT_FOUND)); + System.err.println("EStructuralFeature \"" + eClassifierName + "#" + eStructuralFeatureName + "\" not found"); + } else { + this.eStructuralFeatures.add(eStructuralFeature); + + validateEStructuralFeatureProperties(eStructuralFeatureDeclaration, eStructuralFeature); + } + } + } + } + + private void validateEStructuralFeatureProperties(String eStructuralFeatureDeclaration, EStructuralFeature eStructuralFeature) { + String properties = eStructuralFeatureDeclaration.substring(eStructuralFeatureDeclaration.indexOf(":") + 1).trim(); + if (eStructuralFeature instanceof EAttribute) { + // [..] return [..] + EAttribute eAttribute = (EAttribute) eStructuralFeature; + + String type = properties.substring(0, properties.indexOf("[")).trim(); + String eAttributeType = eAttribute.getEAttributeType().getName(); + if (!eAttributeType.equals(type)) { + this.status.add(new EStructuralFeatureValidationStatus(eStructuralFeature, ValidationStatusKind.INVALID_EATTRIBUTE_TYPE)); + System.err.println("Invalid EAttributeType for \"" + this.getQualifiedName(eStructuralFeature) + "\" expected \"" + eAttributeType + "\" but found \"" + type + "\""); + } + + // & + String bounds = properties.substring(properties.indexOf("[") + 1, properties.indexOf("]")); + this.validateBounds(bounds, eStructuralFeature); + } else { + // [..] + EReference eReference = (EReference) eStructuralFeature; + + // + String type = properties.substring(0, properties.indexOf("[")).trim(); + String eReferenceType = eReference.getEReferenceType().getName(); + if (!eReferenceType.equals(type)) { + this.status.add(new EStructuralFeatureValidationStatus(eStructuralFeature, ValidationStatusKind.INVALID_EREFERENCE_TYPE)); + System.err.println("Invalid EReferenceType for \"" + this.getQualifiedName(eStructuralFeature) + "\" expected \"" + eReferenceType + "\" but found \"" + type + "\""); + } + + // & + String bounds = properties.substring(properties.indexOf("[") + 1, properties.indexOf("]")); + this.validateBounds(bounds, eStructuralFeature); + + if (eReference.isContainment() && !properties.contains("containment")) { + System.err.println("EReference \"" + this.getQualifiedName(eStructuralFeature) + "\" containment expected but non containment found"); + } + if (properties.contains("containment") && !eReference.isContainment()) { + System.err.println("EReference \"" + this.getQualifiedName(eStructuralFeature) + "\" non containment expected but containment found"); + } + } + } + + private void validateBounds(String bounds, EStructuralFeature eStructuralFeature) { + int lowerBound = Integer.parseInt(bounds.substring(0, bounds.indexOf(".."))); + int upperBound = Integer.parseInt(bounds.substring(bounds.indexOf("..") + 2)); + + if (eStructuralFeature.getLowerBound() != lowerBound) { + System.err.println("Invalid lower bound for \"" + this.getQualifiedName(eStructuralFeature) + "\" expected \"" + eStructuralFeature.getLowerBound() + "\" but found \"" + lowerBound + "\""); + } + if (eStructuralFeature.getUpperBound() != upperBound) { + System.err.println("Invalid upper bound for \"" + this.getQualifiedName(eStructuralFeature) + "\" expected \"" + eStructuralFeature.getUpperBound() + "\" but found \"" + upperBound + "\""); + } + } + +} diff --git a/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/EClassifierValidationStatus.java b/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/EClassifierValidationStatus.java new file mode 100644 index 000000000..e6b80d61d --- /dev/null +++ b/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/EClassifierValidationStatus.java @@ -0,0 +1,18 @@ +package org.eclipse.eef.documentation.validator.api; + +import org.eclipse.emf.ecore.EClassifier; + +public class EClassifierValidationStatus extends AbstractValidationStatus { + + private EClassifier eClassifier; + + public EClassifierValidationStatus(EClassifier eClassifier, ValidationStatusKind validationStatusKind) { + super(validationStatusKind); + this.eClassifier = eClassifier; + } + + public EClassifier getEClassifier() { + return eClassifier; + } + +} diff --git a/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/EStructuralFeatureValidationStatus.java b/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/EStructuralFeatureValidationStatus.java new file mode 100644 index 000000000..27d38f713 --- /dev/null +++ b/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/EStructuralFeatureValidationStatus.java @@ -0,0 +1,18 @@ +package org.eclipse.eef.documentation.validator.api; + +import org.eclipse.emf.ecore.EStructuralFeature; + +public class EStructuralFeatureValidationStatus extends AbstractValidationStatus { + + private EStructuralFeature eStructuralFeature; + + public EStructuralFeatureValidationStatus(EStructuralFeature eStructuralFeature, ValidationStatusKind validationStatusKind) { + super(validationStatusKind); + this.eStructuralFeature = eStructuralFeature; + } + + public EStructuralFeature getEStructuralFeature() { + return eStructuralFeature; + } + +} diff --git a/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/ValidationStatusKind.java b/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/ValidationStatusKind.java new file mode 100644 index 000000000..785d457ce --- /dev/null +++ b/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/ValidationStatusKind.java @@ -0,0 +1,13 @@ +package org.eclipse.eef.documentation.validator.api; + +public enum ValidationStatusKind { + UNDOCUMENTED_ECLASSIFIER, + UNDOCUMENTED_ESTRUCTURAL_FEATURE, + ECLASSIFIER_NOT_FOUND, + ESTRUCUTURAL_FEATURE_NOT_FOUND, + INVALID_EATTRIBUTE_TYPE, + INVALID_EREFERENCE_TYPE, + INVALID_LOWER_BOUND, + INVALID_UPPER_BOUND, + INVALID_EREFERENCE_CONTAINMENT +} diff --git a/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/Validator.java b/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/Validator.java new file mode 100644 index 000000000..cadd5d614 --- /dev/null +++ b/doc/org.eclipse.eef.documentation.validator/src/org/eclipse/eef/documentation/validator/api/Validator.java @@ -0,0 +1,36 @@ +package org.eclipse.eef.documentation.validator.api; + +import java.io.File; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Paths; +import java.util.stream.Stream; + +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.ResourceSet; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl; + +public class Validator { + public static void main(String[] args) { + String eefEcorePath = args[0]; + String metamodelMdPath = args[1]; + + // Load the eef.ecore model + ResourceSet resourceSet = new ResourceSetImpl(); + resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put("ecore", new XMIResourceFactoryImpl()); + URI uri = URI.createFileURI(new File(eefEcorePath).getAbsolutePath()); + Resource resource = resourceSet.getResource(uri , true); + + // Read the documentation + try { + Stream lines = Files.lines(Paths.get(new File(metamodelMdPath).toURI())).filter(line -> line.startsWith("* ")); + new DocumentationValidator().validateLines(lines, resource); + } catch (IOException e) { + e.printStackTrace(); + } + } + + +} diff --git a/doc/org.eclipse.eef.documentation/.classpath b/doc/org.eclipse.eef.documentation/.classpath new file mode 100644 index 000000000..710b27a72 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/.classpath @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/org.eclipse.eef.documentation/.project b/doc/org.eclipse.eef.documentation/.project new file mode 100644 index 000000000..016e70aed --- /dev/null +++ b/doc/org.eclipse.eef.documentation/.project @@ -0,0 +1,28 @@ + + + org.eclipse.eef.documentation + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/doc/org.eclipse.eef.documentation/.settings/org.eclipse.jdt.core.prefs b/doc/org.eclipse.eef.documentation/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..f42de363a --- /dev/null +++ b/doc/org.eclipse.eef.documentation/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/doc/org.eclipse.eef.documentation/META-INF/MANIFEST.MF b/doc/org.eclipse.eef.documentation/META-INF/MANIFEST.MF new file mode 100644 index 000000000..4f4bc13b0 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/META-INF/MANIFEST.MF @@ -0,0 +1,7 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.eef.documentation +Bundle-Version: 1.0.0.qualifier +Bundle-Vendor: %providerName +Bundle-Localization: plugin diff --git a/doc/org.eclipse.eef.documentation/about.html b/doc/org.eclipse.eef.documentation/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/doc/org.eclipse.eef.documentation/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/doc/org.eclipse.eef.documentation/build.properties b/doc/org.eclipse.eef.documentation/build.properties new file mode 100644 index 000000000..65f02c56e --- /dev/null +++ b/doc/org.eclipse.eef.documentation/build.properties @@ -0,0 +1,14 @@ +################################################################################# +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Obeo - initial API and implementation +################################################################################# +bin.includes = META-INF/,\ + .,\ + about.html,\ + plugin.properties diff --git a/doc/org.eclipse.eef.documentation/plugin.properties b/doc/org.eclipse.eef.documentation/plugin.properties new file mode 100644 index 000000000..5bba1d8f1 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/plugin.properties @@ -0,0 +1,12 @@ +################################################################################# +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Obeo - initial API and implementation +################################################################################# +pluginName=EEF Documentation +providerName=Eclipse Modeling Project \ No newline at end of file diff --git a/doc/org.eclipse.eef.documentation/sketches/US-1.screen b/doc/org.eclipse.eef.documentation/sketches/US-1.screen new file mode 100644 index 000000000..51f3a0042 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-1.screen @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/sketches/US-10.screen b/doc/org.eclipse.eef.documentation/sketches/US-10.screen new file mode 100644 index 000000000..9a4f409f5 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-10.screen @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/sketches/US-11.screen b/doc/org.eclipse.eef.documentation/sketches/US-11.screen new file mode 100644 index 000000000..3a7090013 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-11.screen @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/sketches/US-12.screen b/doc/org.eclipse.eef.documentation/sketches/US-12.screen new file mode 100644 index 000000000..e96ac778a --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-12.screen @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/sketches/US-13.screen b/doc/org.eclipse.eef.documentation/sketches/US-13.screen new file mode 100644 index 000000000..86037936b --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-13.screen @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/sketches/US-14.screen b/doc/org.eclipse.eef.documentation/sketches/US-14.screen new file mode 100644 index 000000000..a72646020 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-14.screen @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/sketches/US-15.screen b/doc/org.eclipse.eef.documentation/sketches/US-15.screen new file mode 100644 index 000000000..3123e582f --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-15.screen @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/sketches/US-16.screen b/doc/org.eclipse.eef.documentation/sketches/US-16.screen new file mode 100644 index 000000000..dd8a87bc1 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-16.screen @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/sketches/US-2.screen b/doc/org.eclipse.eef.documentation/sketches/US-2.screen new file mode 100644 index 000000000..5f85ffe06 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-2.screen @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/sketches/US-3.screen b/doc/org.eclipse.eef.documentation/sketches/US-3.screen new file mode 100644 index 000000000..55300e895 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-3.screen @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/sketches/US-4.screen b/doc/org.eclipse.eef.documentation/sketches/US-4.screen new file mode 100644 index 000000000..88a766d3f --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-4.screen @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/sketches/US-5.screen b/doc/org.eclipse.eef.documentation/sketches/US-5.screen new file mode 100644 index 000000000..2fb6e12db --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-5.screen @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/sketches/US-6.screen b/doc/org.eclipse.eef.documentation/sketches/US-6.screen new file mode 100644 index 000000000..600859c81 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-6.screen @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/sketches/US-7.screen b/doc/org.eclipse.eef.documentation/sketches/US-7.screen new file mode 100644 index 000000000..98f3e184d --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-7.screen @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/sketches/US-8.screen b/doc/org.eclipse.eef.documentation/sketches/US-8.screen new file mode 100644 index 000000000..ad176e324 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-8.screen @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/sketches/US-9.screen b/doc/org.eclipse.eef.documentation/sketches/US-9.screen new file mode 100644 index 000000000..f8b0d43d5 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/sketches/US-9.screen @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-1.xmi b/doc/org.eclipse.eef.documentation/userstories/US-1.xmi new file mode 100644 index 000000000..efa29d111 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-1.xmi @@ -0,0 +1,11 @@ + + + http://www.eclipse.org/emf/2002/Ecore + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-10.xmi b/doc/org.eclipse.eef.documentation/userstories/US-10.xmi new file mode 100644 index 000000000..e278f45ee --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-10.xmi @@ -0,0 +1,65 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-11.xmi b/doc/org.eclipse.eef.documentation/userstories/US-11.xmi new file mode 100644 index 000000000..d7e87e9ad --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-11.xmi @@ -0,0 +1,73 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-12.xmi b/doc/org.eclipse.eef.documentation/userstories/US-12.xmi new file mode 100644 index 000000000..41cad8afb --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-12.xmi @@ -0,0 +1,29 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-13.xmi b/doc/org.eclipse.eef.documentation/userstories/US-13.xmi new file mode 100644 index 000000000..18ead82ab --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-13.xmi @@ -0,0 +1,31 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-14.xmi b/doc/org.eclipse.eef.documentation/userstories/US-14.xmi new file mode 100644 index 000000000..7746fdd37 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-14.xmi @@ -0,0 +1,36 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-15.xmi b/doc/org.eclipse.eef.documentation/userstories/US-15.xmi new file mode 100644 index 000000000..0876ec959 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-15.xmi @@ -0,0 +1,41 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-16.xmi b/doc/org.eclipse.eef.documentation/userstories/US-16.xmi new file mode 100644 index 000000000..eb652fbb5 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-16.xmi @@ -0,0 +1,65 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-2.xmi b/doc/org.eclipse.eef.documentation/userstories/US-2.xmi new file mode 100644 index 000000000..d4ba96239 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-2.xmi @@ -0,0 +1,14 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-3.xmi b/doc/org.eclipse.eef.documentation/userstories/US-3.xmi new file mode 100644 index 000000000..2d6ebe703 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-3.xmi @@ -0,0 +1,18 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-4.xmi b/doc/org.eclipse.eef.documentation/userstories/US-4.xmi new file mode 100644 index 000000000..6acdc7a46 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-4.xmi @@ -0,0 +1,22 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-5.xmi b/doc/org.eclipse.eef.documentation/userstories/US-5.xmi new file mode 100644 index 000000000..b209e3480 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-5.xmi @@ -0,0 +1,33 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-6.xmi b/doc/org.eclipse.eef.documentation/userstories/US-6.xmi new file mode 100644 index 000000000..c38559882 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-6.xmi @@ -0,0 +1,43 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-7.xmi b/doc/org.eclipse.eef.documentation/userstories/US-7.xmi new file mode 100644 index 000000000..6cb19e0e9 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-7.xmi @@ -0,0 +1,48 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-8.xmi b/doc/org.eclipse.eef.documentation/userstories/US-8.xmi new file mode 100644 index 000000000..9a372d748 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-8.xmi @@ -0,0 +1,55 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.eef.documentation/userstories/US-9.xmi b/doc/org.eclipse.eef.documentation/userstories/US-9.xmi new file mode 100644 index 000000000..a86109976 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/userstories/US-9.xmi @@ -0,0 +1,58 @@ + + + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.sirius.expression.design/.classpath b/doc/org.eclipse.sirius.expression.design/.classpath new file mode 100644 index 000000000..39810b7d6 --- /dev/null +++ b/doc/org.eclipse.sirius.expression.design/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/doc/org.eclipse.sirius.expression.design/.project b/doc/org.eclipse.sirius.expression.design/.project new file mode 100644 index 000000000..ba1d71323 --- /dev/null +++ b/doc/org.eclipse.sirius.expression.design/.project @@ -0,0 +1,35 @@ + + + org.eclipse.sirius.expression.design + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.acceleo.ide.ui.acceleoBuilder + + + + + + org.eclipse.acceleo.ide.ui.acceleoNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + + diff --git a/doc/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF b/doc/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF new file mode 100644 index 000000000..b9132d898 --- /dev/null +++ b/doc/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF @@ -0,0 +1,13 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: org.eclipse.sirius.expression.design +Bundle-SymbolicName: org.eclipse.sirius.expression.design;singleton:=true +Bundle-Version: 1.0.0 +Bundle-Activator: org.eclipse.sirius.expression.design.Activator +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.eclipse.core.resources, + org.eclipse.sirius, + org.eclipse.sirius.common.acceleo.mtl +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 diff --git a/doc/org.eclipse.sirius.expression.design/about.html b/doc/org.eclipse.sirius.expression.design/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/doc/org.eclipse.sirius.expression.design/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/doc/org.eclipse.sirius.expression.design/build.properties b/doc/org.eclipse.sirius.expression.design/build.properties new file mode 100644 index 000000000..bbbc4ce49 --- /dev/null +++ b/doc/org.eclipse.sirius.expression.design/build.properties @@ -0,0 +1,7 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + description/,\ + plugin.xml +customBuildCallbacks = build.acceleo diff --git a/doc/org.eclipse.sirius.expression.design/description/expression.odesign b/doc/org.eclipse.sirius.expression.design/description/expression.odesign new file mode 100644 index 000000000..e76d4b847 --- /dev/null +++ b/doc/org.eclipse.sirius.expression.design/description/expression.odesign @@ -0,0 +1,192 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/org.eclipse.sirius.expression.design/plugin.xml b/doc/org.eclipse.sirius.expression.design/plugin.xml new file mode 100644 index 000000000..5ecb2c479 --- /dev/null +++ b/doc/org.eclipse.sirius.expression.design/plugin.xml @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/doc/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java b/doc/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java new file mode 100644 index 000000000..f4b15886c --- /dev/null +++ b/doc/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java @@ -0,0 +1,66 @@ +package org.eclipse.sirius.expression.design; + +import java.util.HashSet; +import java.util.Set; + +import org.eclipse.sirius.business.api.componentization.ViewpointRegistry; +import org.eclipse.sirius.viewpoint.description.Viewpoint; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends AbstractUIPlugin { + // The plug-in ID + public static final String PLUGIN_ID = "org.eclipse.sirius.expression.design"; + + // The shared instance + private static Activator plugin; + + private static Set viewpoints; + + /** + * The constructor + */ + public Activator() { + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + viewpoints = new HashSet(); + viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/expression.odesign")); + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + if (viewpoints != null) { + for (final Viewpoint viewpoint: viewpoints) { + ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint); + } + viewpoints.clear(); + viewpoints = null; + } + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } +} diff --git a/features/org.eclipse.eef.sdk-feature/.project b/features/org.eclipse.eef.sdk-feature/.project new file mode 100644 index 000000000..c816fbb0c --- /dev/null +++ b/features/org.eclipse.eef.sdk-feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.eef.sdk-feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/features/org.eclipse.eef.sdk-feature/about.html b/features/org.eclipse.eef.sdk-feature/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/features/org.eclipse.eef.sdk-feature/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/features/org.eclipse.eef.sdk-feature/build.properties b/features/org.eclipse.eef.sdk-feature/build.properties new file mode 100644 index 000000000..ccb677bd0 --- /dev/null +++ b/features/org.eclipse.eef.sdk-feature/build.properties @@ -0,0 +1,3 @@ +bin.includes = feature.xml,\ + about.html,\ + feature.properties diff --git a/features/org.eclipse.eef.sdk-feature/feature.properties b/features/org.eclipse.eef.sdk-feature/feature.properties new file mode 100644 index 000000000..d3c4fabef --- /dev/null +++ b/features/org.eclipse.eef.sdk-feature/feature.properties @@ -0,0 +1,15 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +featureName=EEF Feature +featureProvider=Eclipse Modeling Project + +descriptionUrl=TODO +description=TODO +copyrightUrl=TODO +copyright=TODO +licenseUrl=TODO +license=TODO \ No newline at end of file diff --git a/features/org.eclipse.eef.sdk-feature/feature.xml b/features/org.eclipse.eef.sdk-feature/feature.xml new file mode 100644 index 000000000..7ccf90fa7 --- /dev/null +++ b/features/org.eclipse.eef.sdk-feature/feature.xml @@ -0,0 +1,104 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.core/.checkstyle b/plugins/org.eclipse.eef.core/.checkstyle new file mode 100644 index 000000000..121faf77d --- /dev/null +++ b/plugins/org.eclipse.eef.core/.checkstyle @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.core/.classpath b/plugins/org.eclipse.eef.core/.classpath new file mode 100644 index 000000000..ad32c83a7 --- /dev/null +++ b/plugins/org.eclipse.eef.core/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/org.eclipse.eef.core/.project b/plugins/org.eclipse.eef.core/.project new file mode 100644 index 000000000..7d4488af3 --- /dev/null +++ b/plugins/org.eclipse.eef.core/.project @@ -0,0 +1,34 @@ + + + org.eclipse.eef.core + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + net.sf.eclipsecs.core.CheckstyleNature + + diff --git a/plugins/org.eclipse.eef.core/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.eef.core/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..fb8257839 --- /dev/null +++ b/plugins/org.eclipse.eef.core/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,398 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.builder.invalidClasspath=abort +org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=150 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +org.eclipse.jdt.core.incompleteClasspath=error +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.eef.core/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.eef.core/.settings/org.eclipse.jdt.launching.prefs new file mode 100644 index 000000000..3bb235278 --- /dev/null +++ b/plugins/org.eclipse.eef.core/.settings/org.eclipse.jdt.launching.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.eef.core/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.eef.core/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..a7564c761 --- /dev/null +++ b/plugins/org.eclipse.eef.core/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,68 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_profile=_EEF +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;java;javax;org; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=false +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=false +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=true +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=false +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=false +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=false +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=false +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=false +sp_cleanup.remove_unused_private_types=false +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false +sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.eef.core/.settings/org.eclipse.pde.core.prefs b/plugins/org.eclipse.eef.core/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 000000000..923c37fb8 --- /dev/null +++ b/plugins/org.eclipse.eef.core/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +resolve.requirebundle=false diff --git a/plugins/org.eclipse.eef.core/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.eef.core/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..3112e810d --- /dev/null +++ b/plugins/org.eclipse.eef.core/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=1 +compilers.p.build.java.compiler=1 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=0 +compilers.p.missing-version-import-package=0 +compilers.p.missing-version-require-bundle=0 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=0 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF new file mode 100644 index 000000000..8ce543c52 --- /dev/null +++ b/plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF @@ -0,0 +1,17 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.eef.core +Bundle-Version: 2.0.0.qualifier +Bundle-Vendor: %providerName +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Require-Bundle: org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)", + org.eclipse.emf.transaction;bundle-version="[1.4.0,2.0.0)" +Import-Package: com.google.common.base;version="[15.0.0,16.0.0)", + com.google.common.collect;version="[15.0.0,16.0.0)", + org.eclipse.eef;version="[2.0.0,3.0.0)", + org.eclipse.eef.interpreter.api;version="[2.0.0,3.0.0)", + org.eclipse.sirius.expression;version="[1.0.0,2.0.0)" +Export-Package: org.eclipse.eef.core.api;version="2.0.0", + org.eclipse.eef.core.internal;version="2.0.0";x-internal:=true +Bundle-Localization: plugin diff --git a/plugins/org.eclipse.eef.core/about.html b/plugins/org.eclipse.eef.core/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.eef.core/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef.core/build.properties b/plugins/org.eclipse.eef.core/build.properties new file mode 100644 index 000000000..689455d1b --- /dev/null +++ b/plugins/org.eclipse.eef.core/build.properties @@ -0,0 +1,16 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + about.html,\ + plugin.properties +javacProjectSettings = true +additional.bundles = com.google.guava,\ + org.eclipse.sirius.expression diff --git a/plugins/org.eclipse.eef.core/plugin.properties b/plugins/org.eclipse.eef.core/plugin.properties new file mode 100644 index 000000000..0a8dc5600 --- /dev/null +++ b/plugins/org.eclipse.eef.core/plugin.properties @@ -0,0 +1,9 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +pluginName = EEF Core +providerName = Eclipse Modeling Project diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFChildObject.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFChildObject.java new file mode 100644 index 000000000..770a422e6 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFChildObject.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api; + +/** + * This interface is used to represent objects that have a parent. + * + * @author sbegaudeau + */ +public interface EEFChildObject extends EEFObject { + /** + * Returns the parent of the {@link EEFObject}. + * + * @return The parent of the {@link EEFObject} + */ + EEFObject getParent(); +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainer.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainer.java new file mode 100644 index 000000000..1a7d28385 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainer.java @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api; + +import java.util.List; + +import org.eclipse.eef.EEFContainerDescription; + +/** + * The EContainer is used to hold a group of {@link EEFWidget}. + * + * @author sbegaudeau + */ +public interface EEFContainer extends EEFContainerParent { + /** + * Returns the description of the {@link EEFContainer}. + * + * @return The {@link EEFContainerDescription} + */ + EEFContainerDescription getDescription(); + + /** + * Returns the list of {@link EEFWidget}. + * + * @return The list of {@link EEFWidget} + */ + List getWidgets(); +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainerParent.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainerParent.java new file mode 100644 index 000000000..7e88a47e9 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainerParent.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api; + +/** + * This interface is used as the common parent of both {@link EEFContainer} and {@link EEFGroup}. + * + * @author sbegaudeau + */ +public interface EEFContainerParent extends EEFChildObject { + // nothing +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFExpressionUtils.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFExpressionUtils.java new file mode 100644 index 000000000..9b85cc494 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFExpressionUtils.java @@ -0,0 +1,96 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api; + +/** + * Utility class containing the constants from the EEFExpression model. + * + * @author sbegaudeau + */ +public class EEFExpressionUtils { + + /** + * Utility class containing the constants related to the {@link org.eclipse.eef.core.api.EEFView}. + * + * @author sbegaudeau + */ + public final class EEFView { + /** + * The name of the variable viewSemanticCandidate. + */ + public static final String VIEW_SEMANTIC_CANDIDATE = "viewSemanticCandidate"; //$NON-NLS-1$ + + /** + * The constructor. + */ + private EEFView() { + // prevent instantiation + } + } + + /** + * Utility class containing the constants related to the {@link org.eclipse.eef.core.api.EEFPage}. + * + * @author sbegaudeau + */ + public final class EEFPage { + + /** + * The name of the variable pageSemanticCandidate. + */ + public static final String PAGE_SEMANTIC_CANDIDATE = "pageSemanticCandidate"; //$NON-NLS-1$ + + /** + * The constructor. + */ + private EEFPage() { + // prevent instantiation + } + } + + /** + * Utility class containing the constants related to the {@link org.eclipse.eef.core.api.EEFGroup}. + * + * @author sbegaudeau + */ + public final class EEFGroup { + /** + * The name of the variable groupSemanticCandidate. + */ + public static final String GROUP_SEMANTIC_CANDIDATE = "groupSemanticCandidate"; //$NON-NLS-1$ + + /** + * The constructor. + */ + private EEFGroup() { + // prevent instantiation + } + } + + /** + * Utility class containing the constants related to the {@link org.eclipse.eef.core.api.EEFText}. + * + * @author sbegaudeau + */ + public final class EEFText { + /** + * The name of the variable newValue. + */ + public static final String NEW_VALUE = "newValue"; //$NON-NLS-1$ + + /** + * The constructor. + */ + private EEFText() { + // prevent instantiation + } + } +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFGroup.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFGroup.java new file mode 100644 index 000000000..6c5703a33 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFGroup.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api; + +import org.eclipse.eef.EEFGroupDescription; + +/** + * The {@link EEFGroup} is used as the main structure within a page. + * + * @author sbegaudeau + */ +public interface EEFGroup extends EEFContainerParent { + /** + * Returns the description of the {@link EEFGroup}. + * + * @return The {@link EEFGroupDescription} + */ + EEFGroupDescription getDescription(); + + /** + * Returns the {@link EEFContainer} used to layout this {@link EEFGroup}. + * + * @return The {@link EEFContainer} + */ + EEFContainer getContainer(); +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFObject.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFObject.java new file mode 100644 index 000000000..121e8cddd --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFObject.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api; + +/** + * Superinterface of all the business objects. + * + * @author sbegaudeau + */ +public interface EEFObject { + /** + * Creates the tree of objects representing the user interface. + */ + void createControl(); + + /** + * Set or update the input and reevaluates all the input-related expressions. + * + * @param object + * The new input + */ + void setInput(Object object); +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFPage.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFPage.java new file mode 100644 index 000000000..45d7c2b56 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFPage.java @@ -0,0 +1,43 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api; + +import java.util.List; + +import org.eclipse.eef.EEFPageDescription; + +/** + * The {@link EEFPage} will control the content of a tab. + * + * @author sbegaudeau + */ +public interface EEFPage extends EEFChildObject { + /** + * Returns the description of the {@link EEFPage}. + * + * @return The {@link EEFPageDescription} + */ + EEFPageDescription getDescription(); + + /** + * Returns the label. + * + * @return The label + */ + String getLabel(); + + /** + * Returns the {@link EEFGroup} composing this {@link EEFPage}. + * + * @return The {@link EEFGroup} + */ + List getGroups(); +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java new file mode 100644 index 000000000..9139e0ebf --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java @@ -0,0 +1,62 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api; + +import org.eclipse.eef.EEFTextDescription; + +/** + * The {@link EEFText} is used to manage the state of a Text widget. + * + * @author sbegaudeau + */ +public interface EEFText extends EEFWidget { + /** + * Returns the description of the {@link EEFText}. + * + * @return The {@link EEFTextDescription} + */ + EEFTextDescription getDescription(); + + /** + * Adds a consumer which will be triggered when the value expression is evaluated. + * + * @param consumer + * A functional interface used as a callback + */ + void addValueExpressionConsumer(IConsumer consumer); + + /** + * Removes the value expression consumer. + */ + void removeValueExpressionConsumer(); + + /** + * Updates the value of the text. + * + * @param newValue + * The new value + */ + void updateValue(String newValue); + + /** + * Adds a consumer which will be triggered when the label expression is evaluated. + * + * @param consumer + * A functional interface used as a callback + */ + void addLabelExpressionConsumer(IConsumer consumer); + + /** + * Removes the label expression consumer. + */ + void removeLabelExpressionConsumer(); + +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFVariableManagerFactory.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFVariableManagerFactory.java new file mode 100644 index 000000000..6736ccc0f --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFVariableManagerFactory.java @@ -0,0 +1,29 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api; + +import org.eclipse.eef.core.internal.EEFVariableManager; + +/** + * The factory used to create the {@link IVariableManager}. + * + * @author sbegaudeau + */ +public class EEFVariableManagerFactory { + /** + * Returns a new instance of the {@link IVariableManager}. + * + * @return A new instance of the {@link IVariableManager} + */ + public IVariableManager createVariableManager() { + return new EEFVariableManager(); + } +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFView.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFView.java new file mode 100644 index 000000000..ac705b537 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFView.java @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api; + +import java.util.List; + +import org.eclipse.eef.EEFViewDescription; + +/** + * The view if the root concept of the EEF model. + * + * @author sbegaudeau + */ +public interface EEFView extends EEFObject { + /** + * Returns the description of the {@link EEFView}. + * + * @return The {@link EEFViewDescription} + */ + EEFViewDescription getDescription(); + + /** + * Returns the {@link EEFPage} to display in the {@link EEFView}. + * + * @return The {@link EEFPage} + */ + List getPages(); +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFViewFactory.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFViewFactory.java new file mode 100644 index 000000000..19f79aca3 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFViewFactory.java @@ -0,0 +1,44 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api; + +import java.util.List; + +import org.eclipse.eef.EEFViewDescription; +import org.eclipse.eef.core.internal.EEFCompoundInterpreter; +import org.eclipse.eef.core.internal.EEFViewImpl; +import org.eclipse.eef.interpreter.api.IInterpreterProvider; +import org.eclipse.emf.transaction.TransactionalEditingDomain; + +/** + * The factory used to create the {@link EEFView}. + * + * @author sbegaudeau + */ +public class EEFViewFactory { + /** + * Creates a new {@link EEFView} from the given {@link EEFViewDescription} and the {@link IEEFContext}. + * + * @param eefViewDescription + * The description of the {@link EEFView} + * @param variableManager + * The variable manager + * @param interpreterProviders + * The {@link IInterpreterProvider} available + * @return The {@link EEFView} fully initialized + */ + public EEFView createEEFView(EEFViewDescription eefViewDescription, IVariableManager variableManager, + List interpreterProviders, TransactionalEditingDomain editingDomain) { + EEFView eefView = new EEFViewImpl(eefViewDescription, variableManager, new EEFCompoundInterpreter(interpreterProviders), editingDomain); + eefView.createControl(); + return eefView; + } +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFWidget.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFWidget.java new file mode 100644 index 000000000..85af8cee0 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFWidget.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api; + +/** + * Common superclass of all the classes used to manage widgets. + * + * @author sbegaudeau + */ +public interface EEFWidget extends EEFChildObject { + // do nothing +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IConsumer.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IConsumer.java new file mode 100644 index 000000000..db928f9d8 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IConsumer.java @@ -0,0 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api; + +/** + * The consumer is a functional type used to receive an Object of a specific type. + * + * @author sbegaudeau + * @param + * The type of the Object that can be received + */ +public interface IConsumer { + /** + * This operation is called in order to give to the consumer an Object. + * + * @param value + * The Object + */ + void apply(T value); +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IEPackageManager.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IEPackageManager.java new file mode 100644 index 000000000..1c8e29dab --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IEPackageManager.java @@ -0,0 +1,29 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api; + +import java.util.List; + +import org.eclipse.emf.ecore.EPackage; + +/** + * Utility class used to manage all the {@link EPackage} known by the application. + * + * @author sbegaudeau + */ +public interface IEPackageManager { + /** + * Returns the {@link EPackage}. + * + * @return the {@link EPackage} + */ + List getEPackages(); +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IVariableManager.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IVariableManager.java new file mode 100644 index 000000000..4911f2aa6 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IVariableManager.java @@ -0,0 +1,46 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api; + +import java.util.Map; + +/** + * The variable manager is used to handle the state of the variables. + * + * @author sbegaudeau + */ +public interface IVariableManager { + /** + * Puts the new value of the variable. + * + * @param name + * The name of the variable + * @param value + * The value of the variable + * @return The previous value of the variable or null otherwise + */ + Object put(String name, Object value); + + /** + * Returns the variables. + * + * @return The variables + */ + Map getVariables(); + + /** + * Creates a child {@link IVariableManager}. + * + * @return A child {@link IVariableManager} + */ + IVariableManager createChild(); + +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFChildObject.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFChildObject.java new file mode 100644 index 000000000..58746f081 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFChildObject.java @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.internal; + +import org.eclipse.eef.core.api.EEFChildObject; +import org.eclipse.eef.core.api.IVariableManager; +import org.eclipse.eef.interpreter.api.IInterpreter; + +/** + * Common superclass of all the child object. + * + * @author sbegaudeau + */ +public abstract class AbstractEEFChildObject extends AbstractEEFObject implements EEFChildObject { + + /** + * The constructor. + * + * @param variableManager + * The variable manager + * @param interpreter + * The interpreter + */ + public AbstractEEFChildObject(IVariableManager variableManager, IInterpreter interpreter) { + super(variableManager, interpreter); + } + +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFObject.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFObject.java new file mode 100644 index 000000000..99a6d5f10 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFObject.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.internal; + +import org.eclipse.eef.core.api.EEFObject; +import org.eclipse.eef.core.api.IVariableManager; +import org.eclipse.eef.interpreter.api.IInterpreter; + +/** + * The basic implementation of the {@link EEFObject}. + * + * @author sbegaudeau + */ +public abstract class AbstractEEFObject implements EEFObject { + + /** + * The variable manager. + */ + private IVariableManager variableManager; + + /** + * The interpreter. + */ + private IInterpreter interpreter; + + /** + * The constructor. + * + * @param variableManager + * The variable manager + * @param interpreter + * The interpreter + */ + public AbstractEEFObject(IVariableManager variableManager, IInterpreter interpreter) { + this.variableManager = variableManager; + this.interpreter = interpreter; + } + + /** + * Return the variableManager. + * + * @return the variableManager + */ + protected IVariableManager getVariableManager() { + return this.variableManager; + } + + /** + * Return the interpreter. + * + * @return the interpreter + */ + protected IInterpreter getInterpreter() { + return this.interpreter; + } + +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFWidgetImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFWidgetImpl.java new file mode 100644 index 000000000..23c84b6ea --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFWidgetImpl.java @@ -0,0 +1,35 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.internal; + +import org.eclipse.eef.core.api.EEFWidget; +import org.eclipse.eef.core.api.IVariableManager; +import org.eclipse.eef.interpreter.api.IInterpreter; + +/** + * The implementation of the {@link EEFWidget}. + * + * @author sbegaudeau + */ +public abstract class AbstractEEFWidgetImpl extends AbstractEEFChildObject implements EEFWidget { + + /** + * The constructor. + * + * @param variableManager + * The variable manager + * @param interpreter + * The interpreter + */ + public AbstractEEFWidgetImpl(IVariableManager variableManager, IInterpreter interpreter) { + super(variableManager, interpreter); + } +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java new file mode 100644 index 000000000..42fcedfb0 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java @@ -0,0 +1,99 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.internal; + +import com.google.common.base.Optional; +import com.google.common.base.Predicate; +import com.google.common.collect.Iterables; + +import java.util.List; +import java.util.Map; + +import org.eclipse.eef.interpreter.api.IEvaluationResult; +import org.eclipse.eef.interpreter.api.IInterpreter; +import org.eclipse.eef.interpreter.api.IInterpreterProvider; +import org.eclipse.eef.interpreter.api.IValidationResult; +import org.eclipse.sirius.expression.ExpressionDescription; + +/** + * Utility class encapsulating all the available interpreters. + * + * @author sbegaudeau + */ +public class EEFCompoundInterpreter implements IInterpreter { + /** + * The interpreter providers. + */ + private List interpreterProviders; + + /** + * The constructor. + * + * @param interpreterProviders + * The interpreter providers. + */ + public EEFCompoundInterpreter(List interpreterProviders) { + this.interpreterProviders = interpreterProviders; + } + + /** + * Returns the interpreter to use to evaluate the given expression body. + * + * @param expressionBody + * The body of the expression + * @return The {@link IInterpreter} found or null if no interpreter has been found for the evaluation + */ + private IInterpreter getInterpreterForExpression(final String expressionBody) { + Predicate canHandleExpressionPredicate = new Predicate() { + @Override + public boolean apply(IInterpreterProvider interpreterProvider) { + return interpreterProvider.canHandle(expressionBody); + } + }; + Optional interpreterProvider = Iterables.tryFind(this.interpreterProviders, canHandleExpressionPredicate); + if (interpreterProvider.isPresent()) { + IInterpreterProvider provider = interpreterProvider.get(); + return provider.createInterpreter(); + } + return null; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.interpreter.api.IInterpreter#evaluateExpression(java.util.Map, + * org.eclipse.sirius.expression.ExpressionDescription, java.lang.String) + */ + @Override + public IEvaluationResult evaluateExpression(Map variables, ExpressionDescription expressionDescription, String expressionBody) { + IInterpreter interpreter = this.getInterpreterForExpression(expressionBody); + if (interpreter != null) { + return interpreter.evaluateExpression(variables, expressionDescription, expressionBody); + } + return null; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.interpreter.api.IInterpreter#validateExpression(org.eclipse.sirius.expression.ExpressionDescription, + * java.lang.String) + */ + @Override + public IValidationResult validateExpression(ExpressionDescription expressionDescription, String expressionBody) { + IInterpreter interpreter = this.getInterpreterForExpression(expressionBody); + if (interpreter != null) { + return interpreter.validateExpression(expressionDescription, expressionBody); + } + return null; + } + +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFContainerImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFContainerImpl.java new file mode 100644 index 000000000..5dc7b691b --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFContainerImpl.java @@ -0,0 +1,135 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.internal; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.eef.EEFContainerDescription; +import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.EEFWidgetDescription; +import org.eclipse.eef.core.api.EEFContainer; +import org.eclipse.eef.core.api.EEFContainerParent; +import org.eclipse.eef.core.api.EEFWidget; +import org.eclipse.eef.core.api.IVariableManager; +import org.eclipse.eef.interpreter.api.IInterpreter; +import org.eclipse.emf.transaction.TransactionalEditingDomain; + +/** + * Implementation of the {@link EEFContainer}. + * + * @author sbegaudeau + */ +public class EEFContainerImpl extends AbstractEEFChildObject implements EEFContainer { + + /** + * The parent of the {@link EEFContainer}. + */ + private EEFContainerParent eefContainerParent; + + /** + * The description. + */ + private EEFContainerDescription eefContainerDescription; + + /** + * The widgets. + */ + private List eWidgets = new ArrayList(); + + private TransactionalEditingDomain editingDomain; + + /** + * The constructor. + * + * @param eefContainerParent + * The parent of the container + * @param eefContainerDescription + * The description + * @param variableManager + * The variable manager + * @param interpreter + * The interpreter + * @param editingDomain + */ + public EEFContainerImpl(EEFContainerParent eefContainerParent, EEFContainerDescription eefContainerDescription, IVariableManager variableManager, + IInterpreter interpreter, TransactionalEditingDomain editingDomain) { + super(variableManager, interpreter); + this.eefContainerDescription = eefContainerDescription; + this.eefContainerParent = eefContainerParent; + this.editingDomain = editingDomain; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFObject#createControl() + */ + @Override + public void createControl() { + List eefWidgetDescriptions = this.eefContainerDescription.getWidgets(); + for (EEFWidgetDescription eefWidgetDescription : eefWidgetDescriptions) { + if (eefWidgetDescription instanceof EEFTextDescription) { + EEFTextDescription eefTextDescription = (EEFTextDescription) eefWidgetDescription; + IVariableManager childVariableManager = this.getVariableManager().createChild(); + EEFTextImpl eefTextImpl = new EEFTextImpl(this, eefTextDescription, childVariableManager, this.getInterpreter(), this.editingDomain); + eefTextImpl.createControl(); + this.eWidgets.add(eefTextImpl); + } + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFObject#setInput(java.lang.Object) + */ + @Override + public void setInput(Object object) { + for (EEFWidget eefWidget : this.eWidgets) { + if (eefWidget instanceof AbstractEEFWidgetImpl) { + AbstractEEFWidgetImpl eefWidgetImpl = (AbstractEEFWidgetImpl) eefWidget; + eefWidgetImpl.setInput(null); + } + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFContainer#getDescription() + */ + @Override + public EEFContainerDescription getDescription() { + return this.eefContainerDescription; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFContainer#getWidgets() + */ + @Override + public List getWidgets() { + return this.eWidgets; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFChildObject#getParent() + */ + @Override + public EEFContainerParent getParent() { + return this.eefContainerParent; + } + +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java new file mode 100644 index 000000000..7ea34c16e --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java @@ -0,0 +1,130 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.internal; + +import org.eclipse.eef.EEFContainerDescription; +import org.eclipse.eef.EEFGroupDescription; +import org.eclipse.eef.core.api.EEFContainer; +import org.eclipse.eef.core.api.EEFExpressionUtils; +import org.eclipse.eef.core.api.EEFGroup; +import org.eclipse.eef.core.api.EEFPage; +import org.eclipse.eef.core.api.IVariableManager; +import org.eclipse.eef.interpreter.api.IInterpreter; +import org.eclipse.emf.transaction.TransactionalEditingDomain; + +/** + * The implementation of the {@link EEFGroup}. + * + * @author sbegaudeau + */ +public class EEFGroupImpl extends AbstractEEFChildObject implements EEFGroup { + /** + * The description. + */ + private EEFGroupDescription eefGroupDescription; + + /** + * The containing {@link EEFPage}. + */ + private EEFPage eefPage; + + /** + * The {@link EEFContainer}. + */ + private EEFContainer eefContainer; + + private TransactionalEditingDomain editingDomain; + + /** + * The constructor. + * + * @param eefPage + * The containing {@link EEFPage} + * @param eefGroupDescription + * The description + * @param variableManager + * The variable manager. + * @param interpreter + * The interpreter + * @param editingDomain + */ + public EEFGroupImpl(EEFPage eefPage, EEFGroupDescription eefGroupDescription, IVariableManager variableManager, IInterpreter interpreter, + TransactionalEditingDomain editingDomain) { + super(variableManager, interpreter); + this.eefPage = eefPage; + this.eefGroupDescription = eefGroupDescription; + this.editingDomain = editingDomain; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFObject#createControl() + */ + @Override + public void createControl() { + EEFContainerDescription eefContainerDescription = this.eefGroupDescription.getContainer(); + String semanticCandidatesExpression = eefContainerDescription.getSemanticCandidateExpression(); + if (semanticCandidatesExpression != null) { + // TODO Support semantic candidates for the container + } + IVariableManager childVariableManager = this.getVariableManager().createChild(); + + EEFContainerImpl eefContainerImpl = new EEFContainerImpl(this, this.eefGroupDescription.getContainer(), childVariableManager, + this.getInterpreter(), this.editingDomain); + eefContainerImpl.createControl(); + this.eefContainer = eefContainerImpl; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFObject#setInput(java.lang.Object) + */ + @Override + public void setInput(Object object) { + this.getVariableManager().put(EEFExpressionUtils.EEFGroup.GROUP_SEMANTIC_CANDIDATE, object); + if (this.eefContainer instanceof EEFContainerImpl) { + EEFContainerImpl eefContainerImpl = (EEFContainerImpl) this.eefContainer; + eefContainerImpl.setInput(null); + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFGroup#getContainer() + */ + @Override + public EEFContainer getContainer() { + return this.eefContainer; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFGroup#getDescription() + */ + @Override + public EEFGroupDescription getDescription() { + return this.eefGroupDescription; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFChildObject#getParent() + */ + @Override + public EEFPage getParent() { + return this.eefPage; + } +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java new file mode 100644 index 000000000..f602dfd15 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java @@ -0,0 +1,194 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.internal; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.eef.EEFGroupDescription; +import org.eclipse.eef.EEFPageDescription; +import org.eclipse.eef.core.api.EEFExpressionUtils; +import org.eclipse.eef.core.api.EEFGroup; +import org.eclipse.eef.core.api.EEFPage; +import org.eclipse.eef.core.api.EEFView; +import org.eclipse.eef.core.api.IVariableManager; +import org.eclipse.eef.interpreter.api.IEvaluationResult; +import org.eclipse.eef.interpreter.api.IInterpreter; +import org.eclipse.emf.transaction.TransactionalEditingDomain; + +/** + * The implementation of the {@link EEFPage}. + * + * @author sbegaudeau + */ +public class EEFPageImpl extends AbstractEEFChildObject implements EEFPage { + + /** + * The containing {@link EEFView}. + */ + private EEFView eefView; + + /** + * The description. + */ + private EEFPageDescription eefPageDescription; + + /** + * The {@link EEFGroup}. + */ + private List eefGroups = new ArrayList(); + + private TransactionalEditingDomain editingDomain; + + /** + * The constructor. + * + * @param eefView + * The containing {@link EEFView} + * @param eefPageDescription + * The description + * @param variableManager + * The variable manager + * @param interpreter + * The interpreter + * @param editingDomain + */ + public EEFPageImpl(EEFView eefView, EEFPageDescription eefPageDescription, IVariableManager variableManager, IInterpreter interpreter, + TransactionalEditingDomain editingDomain) { + super(variableManager, interpreter); + this.eefView = eefView; + this.eefPageDescription = eefPageDescription; + this.editingDomain = editingDomain; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFObject#createControl() + */ + @Override + public void createControl() { + List eefGroupDescriptions = this.eefPageDescription.getGroups(); + for (EEFGroupDescription eefGroupDescription : eefGroupDescriptions) { + String semanticCandidatesExpression = eefGroupDescription.getSemanticCandidateExpression(); + if (semanticCandidatesExpression != null && semanticCandidatesExpression.trim().length() > 0) { + IEvaluationResult evaluationResult = this.getInterpreter().evaluateExpression(this.getVariableManager().getVariables(), null, + semanticCandidatesExpression); + if (evaluationResult.getValue() instanceof Iterable) { + @SuppressWarnings("unchecked") + Iterable groupSemanticCandidates = (Iterable) evaluationResult.getValue(); + for (Object groupSemanticCandidate : groupSemanticCandidates) { + IVariableManager childVariableManager = this.getVariableManager().createChild(); + childVariableManager.put(EEFExpressionUtils.EEFGroup.GROUP_SEMANTIC_CANDIDATE, groupSemanticCandidate); + EEFGroupImpl eefGroupImpl = new EEFGroupImpl(this, eefGroupDescription, childVariableManager, this.getInterpreter(), + this.editingDomain); + eefGroupImpl.createControl(); + eefGroups.add(eefGroupImpl); + } + } else { + Object groupSemanticCandidate = evaluationResult.getValue(); + IVariableManager childVariableManager = this.getVariableManager().createChild(); + childVariableManager.put(EEFExpressionUtils.EEFGroup.GROUP_SEMANTIC_CANDIDATE, groupSemanticCandidate); + EEFGroupImpl eefGroupImpl = new EEFGroupImpl(this, eefGroupDescription, childVariableManager, this.getInterpreter(), + this.editingDomain); + eefGroupImpl.createControl(); + eefGroups.add(eefGroupImpl); + } + } else { + IVariableManager childVariableManager = this.getVariableManager().createChild(); + EEFGroupImpl eefGroupImpl = new EEFGroupImpl(this, eefGroupDescription, childVariableManager, this.getInterpreter(), + this.editingDomain); + eefGroupImpl.createControl(); + eefGroups.add(eefGroupImpl); + } + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFObject#setInput(java.lang.Object) + */ + @Override + public void setInput(Object object) { + for (int i = 0; i < this.eefGroups.size(); i = i + 1) { + EEFGroup eefGroup = this.eefGroups.get(i); + if (eefGroup instanceof EEFGroupImpl) { + EEFGroupImpl eefGroupImpl = (EEFGroupImpl) eefGroup; + + String semanticCandidatesExpression = eefGroupImpl.getDescription().getSemanticCandidateExpression(); + if (semanticCandidatesExpression != null && semanticCandidatesExpression.trim().length() > 0) { + IEvaluationResult evaluationResult = this.getInterpreter().evaluateExpression(this.getVariableManager().getVariables(), null, + semanticCandidatesExpression); + if (evaluationResult.getValue() instanceof Iterable) { + @SuppressWarnings("unchecked") + Iterable groupSemanticCandidates = (Iterable) evaluationResult.getValue(); + throw new UnsupportedOperationException("OMG MY HEAD HURTS!!!!"); //$NON-NLS-1$ + } else { + Object groupSemanticCandidate = evaluationResult.getValue(); + eefGroupImpl.setInput(groupSemanticCandidate); + } + } else { + eefGroupImpl.setInput(null); + } + } + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFPage#getLabel() + */ + @Override + public String getLabel() { + String labelExpression = this.eefPageDescription.getLabelExpression(); + if (labelExpression != null) { + IEvaluationResult evaluationResult = this.getInterpreter().evaluateExpression(this.getVariableManager().getVariables(), null, + labelExpression); + if (evaluationResult.getValue() != null) { + return evaluationResult.getValue().toString(); + } + } + return labelExpression; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFPage#getGroups() + */ + @Override + public List getGroups() { + return this.eefGroups; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFPage#getDescription() + */ + @Override + public EEFPageDescription getDescription() { + return this.eefPageDescription; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFChildObject#getParent() + */ + @Override + public EEFView getParent() { + return this.eefView; + } + +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java new file mode 100644 index 000000000..5dc6be99d --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java @@ -0,0 +1,224 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.internal; + +import java.util.HashMap; +import java.util.Map; + +import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.core.api.EEFContainer; +import org.eclipse.eef.core.api.EEFExpressionUtils; +import org.eclipse.eef.core.api.EEFText; +import org.eclipse.eef.core.api.IConsumer; +import org.eclipse.eef.core.api.IVariableManager; +import org.eclipse.eef.interpreter.api.IEvaluationResult; +import org.eclipse.eef.interpreter.api.IInterpreter; +import org.eclipse.emf.common.command.Command; +import org.eclipse.emf.common.command.CommandStack; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.transaction.RecordingCommand; +import org.eclipse.emf.transaction.TransactionalEditingDomain; + +/** + * The implementation of the {@link EEFText}. + * + * @author sbegaudeau + */ +public class EEFTextImpl extends AbstractEEFWidgetImpl implements EEFText { + + /** + * The description. + */ + private EEFTextDescription eefTextDescription; + + /** + * The parent. + */ + private EEFContainer eefContainer; + + /** + * The consumer of the value expression. + */ + private IConsumer valueExpressionConsumer; + + /** + * The consumer of the label expression. + */ + private IConsumer labelExpressionConsumer; + + private TransactionalEditingDomain editingDomain; + + /** + * The constructor. + * + * @param eefContainer + * The parent of the widget + * @param eefTextDescription + * The description + * @param variableManager + * The variable manager + * @param interpreter + * The interpreter + * @param editingDomain + */ + public EEFTextImpl(EEFContainer eefContainer, EEFTextDescription eefTextDescription, IVariableManager variableManager, IInterpreter interpreter, + TransactionalEditingDomain editingDomain) { + super(variableManager, interpreter); + this.eefTextDescription = eefTextDescription; + this.eefContainer = eefContainer; + this.editingDomain = editingDomain; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFObject#createControl() + */ + @Override + public void createControl() { + // do nothing + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFObject#setInput(java.lang.Object) + */ + @Override + public void setInput(Object object) { + Command command = new RecordingCommand(this.editingDomain) { + @Override + protected void doExecute() { + String valueExpression = EEFTextImpl.this.eefTextDescription.getValueExpression(); + if (valueExpression != null) { + IEvaluationResult evaluationResult = EEFTextImpl.this.getInterpreter() + .evaluateExpression(EEFTextImpl.this.getVariableManager().getVariables(), null, valueExpression); + Object value = evaluationResult.getValue(); + if (value instanceof String && EEFTextImpl.this.valueExpressionConsumer != null) { + EEFTextImpl.this.valueExpressionConsumer.apply((String) value); + } + } + + String labelExpression = EEFTextImpl.this.eefTextDescription.getLabelExpression(); + if (labelExpression != null) { + IEvaluationResult evaluationResult = EEFTextImpl.this.getInterpreter() + .evaluateExpression(EEFTextImpl.this.getVariableManager().getVariables(), null, labelExpression); + Object value = evaluationResult.getValue(); + if (value instanceof String && EEFTextImpl.this.labelExpressionConsumer != null) { + EEFTextImpl.this.labelExpressionConsumer.apply((String) value); + } + } + } + }; + CommandStack commandStack = this.editingDomain.getCommandStack(); + commandStack.execute(command); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFText#updateValue(java.lang.String) + */ + @Override + public void updateValue(final String newValue) { + Command command = new RecordingCommand(this.editingDomain) { + @Override + protected void doExecute() { + Object object = EEFTextImpl.this.getVariableManager().getVariables().get(EEFExpressionUtils.EEFView.VIEW_SEMANTIC_CANDIDATE); + if (object instanceof EObject) { + EObject eObject = (EObject) object; + eObject.eSet(eObject.eClass().getEStructuralFeature("name"), "YOUHOUYOUHOU"); //$NON-NLS-1$//$NON-NLS-2$ + } + + String editExpression = EEFTextImpl.this.eefTextDescription.getEditExpression(); + if (editExpression != null) { + Map variables = new HashMap(); + variables.putAll(EEFTextImpl.this.getVariableManager().getVariables()); + variables.put(EEFExpressionUtils.EEFText.NEW_VALUE, newValue); + EEFTextImpl.this.getInterpreter().evaluateExpression(variables, null, editExpression); + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.emf.common.command.AbstractCommand#canExecute() + */ + @Override + public boolean canExecute() { + return true; + } + }; + + CommandStack commandStack = this.editingDomain.getCommandStack(); + commandStack.execute(command); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFText#addValueExpressionConsumer(org.eclipse.eef.core.api.IConsumer) + */ + @Override + public void addValueExpressionConsumer(IConsumer consumer) { + this.valueExpressionConsumer = consumer; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFText#removeValueExpressionConsumer() + */ + @Override + public void removeValueExpressionConsumer() { + this.valueExpressionConsumer = null; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFText#addLabelExpressionConsumer(org.eclipse.eef.core.api.IConsumer) + */ + @Override + public void addLabelExpressionConsumer(IConsumer consumer) { + this.labelExpressionConsumer = consumer; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFText#removeLabelExpressionConsumer() + */ + @Override + public void removeLabelExpressionConsumer() { + this.labelExpressionConsumer = null; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFText#getDescription() + */ + @Override + public EEFTextDescription getDescription() { + return this.eefTextDescription; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFChildObject#getParent() + */ + @Override + public EEFContainer getParent() { + return this.eefContainer; + } +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFVariableManager.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFVariableManager.java new file mode 100644 index 000000000..bcd73975c --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFVariableManager.java @@ -0,0 +1,91 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.internal; + +import com.google.common.collect.Maps; + +import java.util.HashMap; +import java.util.Map; + +import org.eclipse.eef.core.api.IVariableManager; + +/** + * The implementation of the {@link IVariableManager}. + * + * @author sbegaudeau + */ +public class EEFVariableManager implements IVariableManager { + + /** + * The parent {@link IVariableManager}. + */ + private IVariableManager parent; + + /** + * The variables. + */ + private Map variables = new HashMap(); + + /** + * The constructor. + */ + public EEFVariableManager() { + // do nothing + } + + /** + * The constructor. + * + * @param parent + * The parent of this {@link IVariableManager}. + */ + public EEFVariableManager(IVariableManager parent) { + this.parent = parent; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.IVariableManager#put(java.lang.String, java.lang.Object) + */ + @Override + public Object put(String name, Object value) { + Object previous = this.variables.put(name, value); + return previous; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.IVariableManager#getVariables() + */ + @Override + public Map getVariables() { + if (this.parent != null) { + Map parentVariables = this.parent.getVariables(); + parentVariables.putAll(this.variables); + return parentVariables; + } + return Maps.newHashMap(this.variables); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.IVariableManager#createChild() + */ + @Override + public IVariableManager createChild() { + IVariableManager variableManager = new EEFVariableManager(this); + return variableManager; + } + +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java new file mode 100644 index 000000000..33211858c --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java @@ -0,0 +1,169 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.internal; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.eef.EEFPageDescription; +import org.eclipse.eef.EEFViewDescription; +import org.eclipse.eef.core.api.EEFExpressionUtils; +import org.eclipse.eef.core.api.EEFPage; +import org.eclipse.eef.core.api.EEFView; +import org.eclipse.eef.core.api.IVariableManager; +import org.eclipse.eef.interpreter.api.IEvaluationResult; +import org.eclipse.eef.interpreter.api.IInterpreter; +import org.eclipse.emf.common.command.Command; +import org.eclipse.emf.common.command.CommandStack; +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.transaction.NotificationFilter; +import org.eclipse.emf.transaction.RecordingCommand; +import org.eclipse.emf.transaction.ResourceSetChangeEvent; +import org.eclipse.emf.transaction.ResourceSetListenerImpl; +import org.eclipse.emf.transaction.TransactionalEditingDomain; + +/** + * The implementation of the {@link EEFView}. + * + * @author sbegaudeau + */ +public class EEFViewImpl extends AbstractEEFObject implements EEFView { + + /** + * The description. + */ + private EEFViewDescription eefViewDescription; + + /** + * The {@link EEFPage} of the view. + */ + private List eefPages = new ArrayList(); + + private TransactionalEditingDomain editingDomain; + + /** + * The constructor. + * + * @param eefViewDescription + * The description + * @param variableManager + * The variable manager + * @param interpreter + * The interpreter + * @param editingDomain + */ + public EEFViewImpl(EEFViewDescription eefViewDescription, IVariableManager variableManager, IInterpreter interpreter, + TransactionalEditingDomain editingDomain) { + super(variableManager, interpreter); + this.eefViewDescription = eefViewDescription; + this.editingDomain = editingDomain; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFObject#createControl() + */ + @Override + public void createControl() { + Command command = new RecordingCommand(this.editingDomain) { + @Override + protected void doExecute() { + List eefPageDescriptions = EEFViewImpl.this.getDescription().getPages(); + for (EEFPageDescription eefPageDescription : eefPageDescriptions) { + IVariableManager childVariableManager = EEFViewImpl.this.getVariableManager().createChild(); + + final String semanticCandidateExpression = eefPageDescription.getSemanticCandidateExpression(); + if (semanticCandidateExpression != null && semanticCandidateExpression.trim().length() > 0) { + + IEvaluationResult evaluationResult = EEFViewImpl.this.getInterpreter() + .evaluateExpression(EEFViewImpl.this.getVariableManager().getVariables(), null, semanticCandidateExpression); + if (Diagnostic.OK == evaluationResult.getDiagnostic().getSeverity()) { + childVariableManager.put(EEFExpressionUtils.EEFPage.PAGE_SEMANTIC_CANDIDATE, evaluationResult.getValue()); + } + } + + EEFPageImpl ePage = new EEFPageImpl(EEFViewImpl.this, eefPageDescription, childVariableManager, EEFViewImpl.this.getInterpreter(), + EEFViewImpl.this.editingDomain); + ePage.createControl(); + eefPages.add(ePage); + } + } + }; + + this.editingDomain.addResourceSetListener(new ResourceSetListenerImpl(NotificationFilter.NOT_TOUCH) { + /** + * {@inheritDoc} + * + * @see org.eclipse.emf.transaction.ResourceSetListenerImpl#resourceSetChanged(org.eclipse.emf.transaction.ResourceSetChangeEvent) + */ + @Override + public void resourceSetChanged(ResourceSetChangeEvent event) { + for (EEFPage eefPage : EEFViewImpl.this.eefPages) { + if (eefPage instanceof EEFPageImpl) { + EEFPageImpl eefPageImpl = (EEFPageImpl) eefPage; + System.out.println("Resource Set changed: " + event); //$NON-NLS-1$ + eefPageImpl.setInput(null); + } + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.emf.transaction.ResourceSetListenerImpl#isPostcommitOnly() + */ + @Override + public boolean isPostcommitOnly() { + return true; + } + }); + + CommandStack commandStack = this.editingDomain.getCommandStack(); + commandStack.execute(command); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFObject#setInput(java.lang.Object) + */ + @Override + public void setInput(Object object) { + this.getVariableManager().put(EEFExpressionUtils.EEFView.VIEW_SEMANTIC_CANDIDATE, object); + for (EEFPage eefPage : this.eefPages) { + if (eefPage instanceof EEFPageImpl) { + EEFPageImpl eefPageImpl = (EEFPageImpl) eefPage; + eefPageImpl.setInput(null); + } + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFView#getPages() + */ + @Override + public List getPages() { + return this.eefPages; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.EEFView#getDescription() + */ + @Override + public EEFViewDescription getDescription() { + return this.eefViewDescription; + } +} diff --git a/plugins/org.eclipse.eef.documentation/.classpath b/plugins/org.eclipse.eef.documentation/.classpath deleted file mode 100644 index 098194ca4..000000000 --- a/plugins/org.eclipse.eef.documentation/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/.project b/plugins/org.eclipse.eef.documentation/.project deleted file mode 100644 index 016e70aed..000000000 --- a/plugins/org.eclipse.eef.documentation/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - org.eclipse.eef.documentation - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/plugins/org.eclipse.eef.documentation/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.eef.documentation/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index f42de363a..000000000 --- a/plugins/org.eclipse.eef.documentation/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.7 diff --git a/plugins/org.eclipse.eef.documentation/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.documentation/META-INF/MANIFEST.MF deleted file mode 100644 index 3f2ee55ed..000000000 --- a/plugins/org.eclipse.eef.documentation/META-INF/MANIFEST.MF +++ /dev/null @@ -1,10 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: EEF Documentation -Bundle-SymbolicName: org.eclipse.eef.documentation -Bundle-Version: 1.0.0.qualifier -Bundle-Activator: org.eclipse.eef.documentation.Activator -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 -Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.eef.documentation/build.properties b/plugins/org.eclipse.eef.documentation/build.properties deleted file mode 100644 index 34d2e4d2d..000000000 --- a/plugins/org.eclipse.eef.documentation/build.properties +++ /dev/null @@ -1,4 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - . diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-1.screen b/plugins/org.eclipse.eef.documentation/sketches/US-1.screen deleted file mode 100644 index 51f3a0042..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-1.screen +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-10.screen b/plugins/org.eclipse.eef.documentation/sketches/US-10.screen deleted file mode 100644 index 9a4f409f5..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-10.screen +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-11.screen b/plugins/org.eclipse.eef.documentation/sketches/US-11.screen deleted file mode 100644 index 3a7090013..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-11.screen +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-12.screen b/plugins/org.eclipse.eef.documentation/sketches/US-12.screen deleted file mode 100644 index e96ac778a..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-12.screen +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-13.screen b/plugins/org.eclipse.eef.documentation/sketches/US-13.screen deleted file mode 100644 index 86037936b..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-13.screen +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-14.screen b/plugins/org.eclipse.eef.documentation/sketches/US-14.screen deleted file mode 100644 index a72646020..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-14.screen +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-15.screen b/plugins/org.eclipse.eef.documentation/sketches/US-15.screen deleted file mode 100644 index 3123e582f..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-15.screen +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-16.screen b/plugins/org.eclipse.eef.documentation/sketches/US-16.screen deleted file mode 100644 index dd8a87bc1..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-16.screen +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-2.screen b/plugins/org.eclipse.eef.documentation/sketches/US-2.screen deleted file mode 100644 index 5f85ffe06..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-2.screen +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-3.screen b/plugins/org.eclipse.eef.documentation/sketches/US-3.screen deleted file mode 100644 index 55300e895..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-3.screen +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-4.screen b/plugins/org.eclipse.eef.documentation/sketches/US-4.screen deleted file mode 100644 index 88a766d3f..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-4.screen +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-5.screen b/plugins/org.eclipse.eef.documentation/sketches/US-5.screen deleted file mode 100644 index 2fb6e12db..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-5.screen +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-6.screen b/plugins/org.eclipse.eef.documentation/sketches/US-6.screen deleted file mode 100644 index 600859c81..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-6.screen +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-7.screen b/plugins/org.eclipse.eef.documentation/sketches/US-7.screen deleted file mode 100644 index 98f3e184d..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-7.screen +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-8.screen b/plugins/org.eclipse.eef.documentation/sketches/US-8.screen deleted file mode 100644 index ad176e324..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-8.screen +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/sketches/US-9.screen b/plugins/org.eclipse.eef.documentation/sketches/US-9.screen deleted file mode 100644 index f8b0d43d5..000000000 --- a/plugins/org.eclipse.eef.documentation/sketches/US-9.screen +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/src/org/eclipse/eef/documentation/Activator.java b/plugins/org.eclipse.eef.documentation/src/org/eclipse/eef/documentation/Activator.java deleted file mode 100644 index fdda1249d..000000000 --- a/plugins/org.eclipse.eef.documentation/src/org/eclipse/eef/documentation/Activator.java +++ /dev/null @@ -1,50 +0,0 @@ -package org.eclipse.eef.documentation; - -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.osgi.framework.BundleContext; - -/** - * The activator class controls the plug-in life cycle - */ -public class Activator extends AbstractUIPlugin { - - // The plug-in ID - public static final String PLUGIN_ID = "org.eclipse.eef.documentation"; //$NON-NLS-1$ - - // The shared instance - private static Activator plugin; - - /** - * The constructor - */ - public Activator() { - } - - /* - * (non-Javadoc) - * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) - */ - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - } - - /* - * (non-Javadoc) - * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) - */ - public void stop(BundleContext context) throws Exception { - plugin = null; - super.stop(context); - } - - /** - * Returns the shared instance - * - * @return the shared instance - */ - public static Activator getDefault() { - return plugin; - } - -} diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-1.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-1.xmi deleted file mode 100644 index efa29d111..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-1.xmi +++ /dev/null @@ -1,11 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-10.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-10.xmi deleted file mode 100644 index 8ddfe1d2f..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-10.xmi +++ /dev/null @@ -1,66 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-11.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-11.xmi deleted file mode 100644 index 4b1242e04..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-11.xmi +++ /dev/null @@ -1,75 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-12.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-12.xmi deleted file mode 100644 index 8e7b20761..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-12.xmi +++ /dev/null @@ -1,29 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-13.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-13.xmi deleted file mode 100644 index 7e307d248..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-13.xmi +++ /dev/null @@ -1,32 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-14.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-14.xmi deleted file mode 100644 index bdaf23dcd..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-14.xmi +++ /dev/null @@ -1,37 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-15.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-15.xmi deleted file mode 100644 index f70acf7c6..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-15.xmi +++ /dev/null @@ -1,42 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-16.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-16.xmi deleted file mode 100644 index 85a9f14c1..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-16.xmi +++ /dev/null @@ -1,68 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-2.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-2.xmi deleted file mode 100644 index d4ba96239..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-2.xmi +++ /dev/null @@ -1,14 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - - diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-3.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-3.xmi deleted file mode 100644 index b7857354a..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-3.xmi +++ /dev/null @@ -1,18 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - - - diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-4.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-4.xmi deleted file mode 100644 index 56f6d07ae..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-4.xmi +++ /dev/null @@ -1,22 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - - - - diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-5.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-5.xmi deleted file mode 100644 index 9fbd0ec85..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-5.xmi +++ /dev/null @@ -1,33 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-6.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-6.xmi deleted file mode 100644 index 3b8359959..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-6.xmi +++ /dev/null @@ -1,43 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-7.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-7.xmi deleted file mode 100644 index c8143fcee..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-7.xmi +++ /dev/null @@ -1,49 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-8.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-8.xmi deleted file mode 100644 index a3344fe3b..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-8.xmi +++ /dev/null @@ -1,55 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.documentation/userstories/US-9.xmi b/plugins/org.eclipse.eef.documentation/userstories/US-9.xmi deleted file mode 100644 index b42ebd500..000000000 --- a/plugins/org.eclipse.eef.documentation/userstories/US-9.xmi +++ /dev/null @@ -1,58 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.edit/.checkstyle b/plugins/org.eclipse.eef.edit/.checkstyle new file mode 100644 index 000000000..f1a81eec7 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/.checkstyle @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.edit/.classpath b/plugins/org.eclipse.eef.edit/.classpath index 75556083f..6292ea58a 100644 --- a/plugins/org.eclipse.eef.edit/.classpath +++ b/plugins/org.eclipse.eef.edit/.classpath @@ -1,7 +1,11 @@ - - + + + + + + diff --git a/plugins/org.eclipse.eef.edit/.project b/plugins/org.eclipse.eef.edit/.project index 42f0b4306..b13e4d93b 100644 --- a/plugins/org.eclipse.eef.edit/.project +++ b/plugins/org.eclipse.eef.edit/.project @@ -20,9 +20,15 @@ + + net.sf.eclipsecs.core.CheckstyleBuilder + + + org.eclipse.jdt.core.javanature org.eclipse.pde.PluginNature + net.sf.eclipsecs.core.CheckstyleNature diff --git a/plugins/org.eclipse.eef.edit/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.eef.edit/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..fb8257839 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,398 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.builder.invalidClasspath=abort +org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=150 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +org.eclipse.jdt.core.incompleteClasspath=error +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.eef.edit/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.eef.edit/.settings/org.eclipse.jdt.launching.prefs new file mode 100644 index 000000000..3bb235278 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/.settings/org.eclipse.jdt.launching.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.eef.edit/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.eef.edit/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..e6ceed5c2 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,67 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;java;javax;org; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=false +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=false +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=true +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=false +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=false +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=false +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=false +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=false +sp_cleanup.remove_unused_private_types=false +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false +sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.eef.edit/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.eef.edit/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..3112e810d --- /dev/null +++ b/plugins/org.eclipse.eef.edit/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=1 +compilers.p.build.java.compiler=1 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=0 +compilers.p.missing-version-import-package=0 +compilers.p.missing-version-require-bundle=0 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=0 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF index 858c98db5..7216bf5fe 100644 --- a/plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF @@ -2,16 +2,16 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.eef.edit;singleton:=true -Bundle-Version: 1.0.0.qualifier +Bundle-Version: 2.0.0.qualifier Bundle-ClassPath: . -Bundle-Activator: org.eclipse.eef.eef.provider.EefEditPlugin$Implementation +Bundle-Activator: org.eclipse.eef.provider.EefEditPlugin$Implementation Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 -Export-Package: org.eclipse.eef.eef.provider -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.eef;visibility:=reexport, - org.eclipse.emf.edit;visibility:=reexport, - org.eclipse.sirius.context;visibility:=reexport, - org.eclipse.sirius.context.edit;visibility:=reexport +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.eef.provider;version="2.0.0" +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", + org.eclipse.eef;bundle-version="[2.0.0,3.0.0)";visibility:=reexport, + org.eclipse.emf.edit;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, + org.eclipse.sirius.context;bundle-version="[1.0.0,2.0.0)";visibility:=reexport, + org.eclipse.sirius.context.edit;bundle-version="[1.0.0,2.0.0)";visibility:=reexport Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.eef.edit/about.html b/plugins/org.eclipse.eef.edit/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.eef.edit/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef.edit/build.properties b/plugins/org.eclipse.eef.edit/build.properties index 520629220..bd07f4585 100644 --- a/plugins/org.eclipse.eef.edit/build.properties +++ b/plugins/org.eclipse.eef.edit/build.properties @@ -9,7 +9,9 @@ bin.includes = .,\ icons/,\ META-INF/,\ plugin.xml,\ - plugin.properties + plugin.properties,\ + about.html jars.compile.order = . source.. = src-gen/ output.. = bin/ +javacProjectSettings = true diff --git a/plugins/org.eclipse.eef.edit/plugin.properties b/plugins/org.eclipse.eef.edit/plugin.properties index ed2c58a0f..ad39508fb 100644 --- a/plugins/org.eclipse.eef.edit/plugin.properties +++ b/plugins/org.eclipse.eef.edit/plugin.properties @@ -5,8 +5,8 @@ # http://www.eclipse.org/legal/epl-v10.htm # Contributors: Obeo - initial API and implementation -pluginName = Eef Edit Support -providerName = www.example.org +pluginName = EEF Edit Support +providerName = Eclipse Modeling Project _UI_CreateChild_text = {0} _UI_CreateChild_text2 = {1} {0} @@ -132,3 +132,5 @@ _UI_ContextableElement_requiredContextVariables_feature = Required Context Varia _UI_ContextableElement_excludedContextVariables_feature = Excluded Context Variables _UI_Unknown_feature = Unspecified +_UI_EEFGroupDescription_semanticCandidateExpression_feature = Semantic Candidate Expression +_UI_EEFContainerDescription_semanticCandidateExpression_feature = Semantic Candidate Expression diff --git a/plugins/org.eclipse.eef.edit/plugin.xml b/plugins/org.eclipse.eef.edit/plugin.xml index 769a2fd27..13c4e98b3 100644 --- a/plugins/org.eclipse.eef.edit/plugin.xml +++ b/plugins/org.eclipse.eef.edit/plugin.xml @@ -16,7 +16,7 @@ - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(ContextableElement.class)) { - case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: - case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES, - ContextFactory.eINSTANCE.createContextVariable())); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES, - ContextFactory.eINSTANCE.createContextVariable())); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java deleted file mode 100644 index 8ab40e4a8..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java +++ /dev/null @@ -1,141 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription} object. - * - * - * @generated - */ -public class EEFAdapterFactoryTableStructureDescriptionItemProvider extends EEFTableStructureDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFAdapterFactoryTableStructureDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addAdapterFactoryProviderPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Adapter Factory Provider feature. - * - * - * @generated - */ - protected void addAdapterFactoryProviderPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFAdapterFactoryTableStructureDescription_adapterFactoryProvider_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFAdapterFactoryTableStructureDescription_adapterFactoryProvider_feature", //$NON-NLS-1$ - "_UI_EEFAdapterFactoryTableStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, true, - false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFAdapterFactoryTableStructureDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, - getResourceLocator().getImage("full/obj16/EEFAdapterFactoryTableStructureDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - EEFAdapterFactoryTableStructureDescription eefAdapterFactoryTableStructureDescription = (EEFAdapterFactoryTableStructureDescription) object; - return getString("_UI_EEFAdapterFactoryTableStructureDescription_type") + " " //$NON-NLS-1$//$NON-NLS-2$ - + eefAdapterFactoryTableStructureDescription.isMultiple(); - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFAdapterFactoryTableStructureDescription.class)) { - case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java deleted file mode 100644 index ffb533e27..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java +++ /dev/null @@ -1,142 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription} object. - * - * - * @generated - */ -public class EEFAdapterFactoryTreeStructureDescriptionItemProvider extends EEFTreeStructureDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFAdapterFactoryTreeStructureDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addAdapterFactoryProviderPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Adapter Factory Provider feature. - * - * - * @generated - */ - protected void addAdapterFactoryProviderPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFAdapterFactoryTreeStructureDescription_adapterFactoryProvider_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFAdapterFactoryTreeStructureDescription_adapterFactoryProvider_feature", //$NON-NLS-1$ - "_UI_EEFAdapterFactoryTreeStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, true, - false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFAdapterFactoryTreeStructureDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, - getResourceLocator().getImage("full/obj16/EEFAdapterFactoryTreeStructureDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFAdapterFactoryTreeStructureDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFAdapterFactoryTreeStructureDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFAdapterFactoryTreeStructureDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFAdapterFactoryTreeStructureDescription.class)) { - case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCellWidgetDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCellWidgetDescriptionItemProvider.java deleted file mode 100644 index 43a5d9d9d..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCellWidgetDescriptionItemProvider.java +++ /dev/null @@ -1,135 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFCellWidgetDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFCellWidgetDescription} object. - * - * - * @generated - */ -public class EEFCellWidgetDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFCellWidgetDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns EEFCellWidgetDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFCellWidgetDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFCellWidgetDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFCellWidgetDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFCellWidgetDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCheckboxDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCheckboxDescriptionItemProvider.java deleted file mode 100644 index c261d4ec0..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFCheckboxDescriptionItemProvider.java +++ /dev/null @@ -1,179 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFCheckboxDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFCheckboxDescription} object. - * - * - * @generated - */ -public class EEFCheckboxDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFCheckboxDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - addEditExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFCheckboxDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFCheckboxDescription_valueExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFCheckboxDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Edit Expression feature. - * - * - * @generated - */ - protected void addEditExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFCheckboxDescription_editExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFCheckboxDescription_editExpression_feature", "_UI_EEFCheckboxDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFCheckboxDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFCheckboxDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFCheckboxDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFCheckboxDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFCheckboxDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFCheckboxDescription.class)) { - case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: - case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFColumnDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFColumnDescriptionItemProvider.java deleted file mode 100644 index 755da6d53..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFColumnDescriptionItemProvider.java +++ /dev/null @@ -1,211 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFColumnDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFColumnDescription} object. - * - * - * @generated - */ -public class EEFColumnDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, - IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFColumnDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addWidthPropertyDescriptor(object); - addHeaderExpressionPropertyDescriptor(object); - addCellWidgetPropertyDescriptor(object); - addContextCandidatesExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Width feature. - * - * - * @generated - */ - protected void addWidthPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFColumnDescription_width_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnDescription_width_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_COLUMN_DESCRIPTION__WIDTH, true, false, false, - ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Header Expression feature. - * - * - * @generated - */ - protected void addHeaderExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFColumnDescription_headerExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFColumnDescription_headerExpression_feature", "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Cell Widget feature. - * - * - * @generated - */ - protected void addCellWidgetPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFColumnDescription_cellWidget_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnDescription_cellWidget_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_COLUMN_DESCRIPTION__CELL_WIDGET, true, false, true, null, null, null)); - } - - /** - * This adds a property descriptor for the Context Candidates Expression feature. - * - * - * @generated - */ - protected void addContextCandidatesExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFColumnDescription_contextCandidatesExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFColumnDescription_contextCandidatesExpression_feature", //$NON-NLS-1$ - "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFColumnDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFColumnDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - EEFColumnDescription eefColumnDescription = (EEFColumnDescription) object; - return getString("_UI_EEFColumnDescription_type") + " " + eefColumnDescription.getWidth(); //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFColumnDescription.class)) { - case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: - case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: - case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFContainerDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFContainerDescriptionItemProvider.java deleted file mode 100644 index 233eb0407..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFContainerDescriptionItemProvider.java +++ /dev/null @@ -1,290 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFContainerDescription; -import org.eclipse.eef.eef.EefFactory; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFContainerDescription} object. - * - * - * @generated - */ -public class EEFContainerDescriptionItemProvider extends ContextableElementItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFContainerDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addIdentifierPropertyDescriptor(object); - addSemanticCandidatesExpressionPropertyDescriptor(object); - addDomainClassPropertyDescriptor(object); - addLayoutColumnCountPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Identifier feature. - * - * - * @generated - */ - protected void addIdentifierPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFContainerDescription_identifier_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFContainerDescription_identifier_feature", "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__IDENTIFIER, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Semantic Candidates Expression feature. - * - * - * @generated - */ - protected void addSemanticCandidatesExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFContainerDescription_semanticCandidatesExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFContainerDescription_semanticCandidatesExpression_feature", //$NON-NLS-1$ - "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Domain Class feature. - * - * - * @generated - */ - protected void addDomainClassPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFContainerDescription_domainClass_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFContainerDescription_domainClass_feature", "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Layout Column Count feature. - * - * - * @generated - */ - protected void addLayoutColumnCountPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFContainerDescription_layoutColumnCount_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFContainerDescription_layoutColumnCount_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT, true, false, false, - ItemPropertyDescriptor.INTEGRAL_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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__CONTAINERS); - childrenFeatures.add(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFContainerDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFContainerDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFContainerDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFContainerDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFContainerDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFContainerDescription.class)) { - case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: - case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: - case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: - case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__CONTAINERS, - EefFactory.eINSTANCE.createEEFContainerDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, - EefFactory.eINSTANCE.createEEFTextDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, - EefFactory.eINSTANCE.createEEFCheckboxDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, - EefFactory.eINSTANCE.createEEFSelectDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, - EefFactory.eINSTANCE.createEEFLabelDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, - EefFactory.eINSTANCE.createEEFRadioDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, - EefFactory.eINSTANCE.createEEFTreeDialogSelectDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, - EefFactory.eINSTANCE.createEEFLinkDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, - EefFactory.eINSTANCE.createEEFImageDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, - EefFactory.eINSTANCE.createEEFTreeDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, - EefFactory.eINSTANCE.createEEFImagePickerDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, - EefFactory.eINSTANCE.createEEFTableDescription())); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFGroupDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFGroupDescriptionItemProvider.java deleted file mode 100644 index b9f9fd8e8..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFGroupDescriptionItemProvider.java +++ /dev/null @@ -1,254 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFGroupDescription; -import org.eclipse.eef.eef.EefFactory; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFGroupDescription} object. - * - * - * @generated - */ -public class EEFGroupDescriptionItemProvider extends ContextableElementItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFGroupDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addIdentifierPropertyDescriptor(object); - addLabelExpressionPropertyDescriptor(object); - addDomainClassPropertyDescriptor(object); - addSemanticCandidatesExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Identifier feature. - * - * - * @generated - */ - protected void addIdentifierPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFGroupDescription_identifier_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_GROUP_DESCRIPTION__IDENTIFIER, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Label Expression feature. - * - * - * @generated - */ - protected void addLabelExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFGroupDescription_labelExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFGroupDescription_labelExpression_feature", "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Domain Class feature. - * - * - * @generated - */ - protected void addDomainClassPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFGroupDescription_domainClass_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_domainClass_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Semantic Candidates Expression feature. - * - * - * @generated - */ - protected void addSemanticCandidatesExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFGroupDescription_semanticCandidatesExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFGroupDescription_semanticCandidatesExpression_feature", "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_GROUP_DESCRIPTION__CONTAINER); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFGroupDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFGroupDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFGroupDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFGroupDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFGroupDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFGroupDescription.class)) { - case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: - case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: - case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: - case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_GROUP_DESCRIPTION__CONTAINER, - EefFactory.eINSTANCE.createEEFContainerDescription())); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImageDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImageDescriptionItemProvider.java deleted file mode 100644 index 978718b47..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImageDescriptionItemProvider.java +++ /dev/null @@ -1,161 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFImageDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFImageDescription} object. - * - * - * @generated - */ -public class EEFImageDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFImageDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFImageDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFImageDescription_valueExpression_feature", "_UI_EEFImageDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFImageDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFImageDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFImageDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFImageDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFImageDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFImageDescription.class)) { - case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImagePickerDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImagePickerDescriptionItemProvider.java deleted file mode 100644 index d2d51aef6..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFImagePickerDescriptionItemProvider.java +++ /dev/null @@ -1,198 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFImagePickerDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFImagePickerDescription} object. - * - * - * @generated - */ -public class EEFImagePickerDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFImagePickerDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - addEditExpressionPropertyDescriptor(object); - addCandidatesExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFImagePickerDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFImagePickerDescription_valueExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFImagePickerDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Edit Expression feature. - * - * - * @generated - */ - protected void addEditExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFImagePickerDescription_editExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFImagePickerDescription_editExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFImagePickerDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Candidates Expression feature. - * - * - * @generated - */ - protected void addCandidatesExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFImagePickerDescription_candidatesExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFImagePickerDescription_candidatesExpression_feature", //$NON-NLS-1$ - "_UI_EEFImagePickerDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFImagePickerDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFImagePickerDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFImagePickerDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFImagePickerDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFImagePickerDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFImagePickerDescription.class)) { - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java deleted file mode 100644 index d52b746d0..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java +++ /dev/null @@ -1,164 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFInterpretedTableStructureDescription; -import org.eclipse.eef.eef.EefFactory; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription} object. - * - * - * @generated - */ -public class EEFInterpretedTableStructureDescriptionItemProvider extends EEFTableStructureDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFInterpretedTableStructureDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS); - childrenFeatures.add(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFInterpretedTableStructureDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, - getResourceLocator().getImage("full/obj16/EEFInterpretedTableStructureDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - EEFInterpretedTableStructureDescription eefInterpretedTableStructureDescription = (EEFInterpretedTableStructureDescription) object; - return getString("_UI_EEFInterpretedTableStructureDescription_type") + " " //$NON-NLS-1$//$NON-NLS-2$ - + eefInterpretedTableStructureDescription.isMultiple(); - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFInterpretedTableStructureDescription.class)) { - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS, - EefFactory.eINSTANCE.createEEFColumnDescription())); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, - EefFactory.eINSTANCE.createEEFLineDescription())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java deleted file mode 100644 index e3e49758a..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java +++ /dev/null @@ -1,198 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription} object. - * - * - * @generated - */ -public class EEFInterpretedTreeStructureDescriptionItemProvider extends EEFTreeStructureDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFInterpretedTreeStructureDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addRootsExpressionPropertyDescriptor(object); - addChildrenExpressionPropertyDescriptor(object); - addSelectablePredicateExpressionPropertyDescriptor(object); - addCandidateDisplayExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Roots Expression feature. - * - * - * @generated - */ - protected void addRootsExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFInterpretedTreeStructureDescription_rootsExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFInterpretedTreeStructureDescription_rootsExpression_feature", //$NON-NLS-1$ - "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Children Expression feature. - * - * - * @generated - */ - protected void addChildrenExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFInterpretedTreeStructureDescription_childrenExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFInterpretedTreeStructureDescription_childrenExpression_feature", //$NON-NLS-1$ - "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Selectable Predicate Expression feature. - * - * - * @generated - */ - protected void addSelectablePredicateExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFInterpretedTreeStructureDescription_selectablePredicateExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFInterpretedTreeStructureDescription_selectablePredicateExpression_feature", //$NON-NLS-1$ - "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION, true, - false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Candidate Display Expression feature. - * - * - * @generated - */ - protected void addCandidateDisplayExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFInterpretedTreeStructureDescription_candidateDisplayExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFInterpretedTreeStructureDescription_candidateDisplayExpression_feature", //$NON-NLS-1$ - "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, true, - false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFInterpretedTreeStructureDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFInterpretedTreeStructureDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFInterpretedTreeStructureDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFInterpretedTreeStructureDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFInterpretedTreeStructureDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFInterpretedTreeStructureDescription.class)) { - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFJavaExtensionDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFJavaExtensionDescriptionItemProvider.java deleted file mode 100644 index 6a0234717..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFJavaExtensionDescriptionItemProvider.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFJavaExtensionDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFJavaExtensionDescription} object. - * - * - * @generated - */ -public class EEFJavaExtensionDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, - IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFJavaExtensionDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addQualifiedNamePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Qualified Name feature. - * - * - * @generated - */ - protected void addQualifiedNamePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFJavaExtensionDescription_qualifiedName_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFJavaExtensionDescription_qualifiedName_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFJavaExtensionDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFJavaExtensionDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFJavaExtensionDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFJavaExtensionDescription) object).getQualifiedName(); - return label == null || label.length() == 0 ? getString("_UI_EEFJavaExtensionDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFJavaExtensionDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFJavaExtensionDescription.class)) { - case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLabelDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLabelDescriptionItemProvider.java deleted file mode 100644 index 3e4b4e137..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLabelDescriptionItemProvider.java +++ /dev/null @@ -1,161 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFLabelDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFLabelDescription} object. - * - * - * @generated - */ -public class EEFLabelDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFLabelDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLabelDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFLabelDescription_valueExpression_feature", "_UI_EEFLabelDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFLabelDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLabelDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFLabelDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFLabelDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFLabelDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFLabelDescription.class)) { - case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLineDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLineDescriptionItemProvider.java deleted file mode 100644 index 82fe4466f..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLineDescriptionItemProvider.java +++ /dev/null @@ -1,235 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFLineDescription; -import org.eclipse.eef.eef.EefFactory; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFLineDescription} object. - * - * - * @generated - */ -public class EEFLineDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, - IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFLineDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addHeaderExpressionPropertyDescriptor(object); - addSemanticCandidatesExpressionPropertyDescriptor(object); - addDomainClassPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Header Expression feature. - * - * - * @generated - */ - protected void addHeaderExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLineDescription_headerExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFLineDescription_headerExpression_feature", "_UI_EEFLineDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Semantic Candidates Expression feature. - * - * - * @generated - */ - protected void addSemanticCandidatesExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFLineDescription_semanticCandidatesExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFLineDescription_semanticCandidatesExpression_feature", "_UI_EEFLineDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Domain Class feature. - * - * - * @generated - */ - protected void addDomainClassPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLineDescription_domainClass_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFLineDescription_domainClass_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFLineDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_LINE_DESCRIPTION__DOMAIN_CLASS, 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_LINE_DESCRIPTION__SUB_LINES); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFLineDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLineDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFLineDescription) object).getHeaderExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFLineDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFLineDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFLineDescription.class)) { - case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: - case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_LINE_DESCRIPTION__SUB_LINES, - EefFactory.eINSTANCE.createEEFLineDescription())); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLinkDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLinkDescriptionItemProvider.java deleted file mode 100644 index 43e0dfd6b..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFLinkDescriptionItemProvider.java +++ /dev/null @@ -1,161 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFLinkDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFLinkDescription} object. - * - * - * @generated - */ -public class EEFLinkDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFLinkDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addOnClickExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the On Click Expression feature. - * - * - * @generated - */ - protected void addOnClickExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLinkDescription_onClickExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFLinkDescription_onClickExpression_feature", "_UI_EEFLinkDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFLinkDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLinkDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFLinkDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFLinkDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFLinkDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFLinkDescription.class)) { - case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFPageDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFPageDescriptionItemProvider.java deleted file mode 100644 index e48698260..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFPageDescriptionItemProvider.java +++ /dev/null @@ -1,247 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFPageDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFPageDescription} object. - * - * - * @generated - */ -public class EEFPageDescriptionItemProvider extends ContextableElementItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFPageDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addIdentifierPropertyDescriptor(object); - addLabelExpressionPropertyDescriptor(object); - addDomainClassPropertyDescriptor(object); - addSemanticCandidateExpressionPropertyDescriptor(object); - addGroupsPropertyDescriptor(object); - addExtendedPagePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Identifier feature. - * - * - * @generated - */ - protected void addIdentifierPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFPageDescription_identifier_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFPageDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_PAGE_DESCRIPTION__IDENTIFIER, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Label Expression feature. - * - * - * @generated - */ - protected void addLabelExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFPageDescription_labelExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFPageDescription_labelExpression_feature", "_UI_EEFPageDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Domain Class feature. - * - * - * @generated - */ - protected void addDomainClassPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFPageDescription_domainClass_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_domainClass_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFPageDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Semantic Candidate Expression feature. - * - * - * @generated - */ - protected void addSemanticCandidateExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFPageDescription_semanticCandidateExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFPageDescription_semanticCandidateExpression_feature", "_UI_EEFPageDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Groups feature. - * - * - * @generated - */ - protected void addGroupsPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFPageDescription_groups_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_groups_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFPageDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_PAGE_DESCRIPTION__GROUPS, true, false, true, null, null, null)); - } - - /** - * This adds a property descriptor for the Extended Page feature. - * - * - * @generated - */ - protected void addExtendedPagePropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFPageDescription_extendedPage_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_extendedPage_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFPageDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE, true, false, true, null, null, null)); - } - - /** - * This returns EEFPageDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFPageDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFPageDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFPageDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFPageDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFPageDescription.class)) { - case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: - case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: - case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: - case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFRadioDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFRadioDescriptionItemProvider.java deleted file mode 100644 index 5fd0ff33c..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFRadioDescriptionItemProvider.java +++ /dev/null @@ -1,215 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFRadioDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFRadioDescription} object. - * - * - * @generated - */ -public class EEFRadioDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFRadioDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - addEditExpressionPropertyDescriptor(object); - addCandidatesExpressionPropertyDescriptor(object); - addCandidateDisplayExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFRadioDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFRadioDescription_valueExpression_feature", "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Edit Expression feature. - * - * - * @generated - */ - protected void addEditExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFRadioDescription_editExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFRadioDescription_editExpression_feature", "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Candidates Expression feature. - * - * - * @generated - */ - protected void addCandidatesExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFRadioDescription_candidatesExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFRadioDescription_candidatesExpression_feature", "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Candidate Display Expression feature. - * - * - * @generated - */ - protected void addCandidateDisplayExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFRadioDescription_candidateDisplayExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFRadioDescription_candidateDisplayExpression_feature", "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFRadioDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFRadioDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFRadioDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFRadioDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFRadioDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFRadioDescription.class)) { - case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: - case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFSelectDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFSelectDescriptionItemProvider.java deleted file mode 100644 index 978820ad9..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFSelectDescriptionItemProvider.java +++ /dev/null @@ -1,233 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFSelectDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFSelectDescription} object. - * - * - * @generated - */ -public class EEFSelectDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFSelectDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - addEditExpressionPropertyDescriptor(object); - addCandidatesExpressionPropertyDescriptor(object); - addMultiplePropertyDescriptor(object); - addCandidateDisplayExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFSelectDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFSelectDescription_valueExpression_feature", "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Edit Expression feature. - * - * - * @generated - */ - protected void addEditExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFSelectDescription_editExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFSelectDescription_editExpression_feature", "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Candidates Expression feature. - * - * - * @generated - */ - protected void addCandidatesExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFSelectDescription_candidatesExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectDescription_candidatesExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Multiple feature. - * - * - * @generated - */ - protected void addMultiplePropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFSelectDescription_multiple_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectDescription_multiple_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_SELECT_DESCRIPTION__MULTIPLE, true, false, false, - ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Candidate Display Expression feature. - * - * - * @generated - */ - protected void addCandidateDisplayExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFSelectDescription_candidateDisplayExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFSelectDescription_candidateDisplayExpression_feature", "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFSelectDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFSelectDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFSelectDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFSelectDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFSelectDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFSelectDescription.class)) { - case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: - case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: - case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableDescriptionItemProvider.java deleted file mode 100644 index b5250e8d4..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableDescriptionItemProvider.java +++ /dev/null @@ -1,195 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFTableDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFTableDescription} object. - * - * - * @generated - */ -public class EEFTableDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTableDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - addEditExpressionPropertyDescriptor(object); - addTableStructurePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTableDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFTableDescription_valueExpression_feature", "_UI_EEFTableDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Edit Expression feature. - * - * - * @generated - */ - protected void addEditExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTableDescription_editExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFTableDescription_editExpression_feature", "_UI_EEFTableDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Table Structure feature. - * - * - * @generated - */ - protected void addTableStructurePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFTableDescription_tableStructure_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTableDescription_tableStructure_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTableDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE, true, false, true, null, null, null)); - } - - /** - * This returns EEFTableDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTableDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFTableDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFTableDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFTableDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTableDescription.class)) { - case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: - case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableStructureDescriptionItemProvider.java deleted file mode 100644 index c8217f59f..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTableStructureDescriptionItemProvider.java +++ /dev/null @@ -1,176 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFTableStructureDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFTableStructureDescription} object. - * - * - * @generated - */ -public class EEFTableStructureDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, - IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTableStructureDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addMultiplePropertyDescriptor(object); - addIdentifierPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Multiple feature. - * - * - * @generated - */ - protected void addMultiplePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFTableStructureDescription_multiple_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_multiple_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE, true, false, false, - ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Identifier feature. - * - * - * @generated - */ - protected void addIdentifierPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFTableStructureDescription_identifier_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFTableStructureDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTableStructureDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - EEFTableStructureDescription eefTableStructureDescription = (EEFTableStructureDescription) object; - return getString("_UI_EEFTableStructureDescription_type") + " " + eefTableStructureDescription.isMultiple(); //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTableStructureDescription.class)) { - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTextDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTextDescriptionItemProvider.java deleted file mode 100644 index 0dbb198e7..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTextDescriptionItemProvider.java +++ /dev/null @@ -1,197 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFTextDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFTextDescription} object. - * - * - * @generated - */ -public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTextDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - addEditExpressionPropertyDescriptor(object); - addLineCountPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTextDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFTextDescription_valueExpression_feature", "_UI_EEFTextDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Edit Expression feature. - * - * - * @generated - */ - protected void addEditExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTextDescription_editExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTextDescription_editExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTextDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Line Count feature. - * - * - * @generated - */ - protected void addLineCountPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTextDescription_lineCount_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTextDescription_lineCount_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTextDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TEXT_DESCRIPTION__LINE_COUNT, true, false, false, - ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFTextDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTextDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFTextDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFTextDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFTextDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTextDescription.class)) { - case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: - case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: - case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDescriptionItemProvider.java deleted file mode 100644 index 0e72ad82a..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDescriptionItemProvider.java +++ /dev/null @@ -1,195 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFTreeDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFTreeDescription} object. - * - * - * @generated - */ -public class EEFTreeDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTreeDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - addTreeStructurePropertyDescriptor(object); - addEditExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTreeDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFTreeDescription_valueExpression_feature", "_UI_EEFTreeDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Tree Structure feature. - * - * - * @generated - */ - protected void addTreeStructurePropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTreeDescription_treeStructure_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDescription_treeStructure_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTreeDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TREE_DESCRIPTION__TREE_STRUCTURE, true, false, true, null, null, null)); - } - - /** - * This adds a property descriptor for the Edit Expression feature. - * - * - * @generated - */ - protected void addEditExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTreeDescription_editExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDescription_editExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTreeDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFTreeDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFTreeDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFTreeDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFTreeDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTreeDescription.class)) { - case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: - case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java deleted file mode 100644 index f611360b6..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFTreeDialogSelectDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription} object. - * - * - * @generated - */ -public class EEFTreeDialogSelectDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTreeDialogSelectDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addSemanticCandidateExpressionPropertyDescriptor(object); - addDefaultFilterPropertyDescriptor(object); - addDomainClassPropertyDescriptor(object); - addTreePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Semantic Candidate Expression feature. - * - * - * @generated - */ - protected void addSemanticCandidateExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFTreeDialogSelectDescription_semanticCandidateExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFTreeDialogSelectDescription_semanticCandidateExpression_feature", //$NON-NLS-1$ - "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, true, false, - false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Default Filter feature. - * - * - * @generated - */ - protected void addDefaultFilterPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTreeDialogSelectDescription_defaultFilter_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFTreeDialogSelectDescription_defaultFilter_feature", //$NON-NLS-1$ - "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Domain Class feature. - * - * - * @generated - */ - protected void addDomainClassPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTreeDialogSelectDescription_domainClass_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFTreeDialogSelectDescription_domainClass_feature", //$NON-NLS-1$ - "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Tree feature. - * - * - * @generated - */ - protected void addTreePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFTreeDialogSelectDescription_tree_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDialogSelectDescription_tree_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE, true, false, true, null, null, null)); - } - - /** - * This returns EEFTreeDialogSelectDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeDialogSelectDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFTreeDialogSelectDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFTreeDialogSelectDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFTreeDialogSelectDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTreeDialogSelectDescription.class)) { - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeStructureDescriptionItemProvider.java deleted file mode 100644 index 38b696324..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFTreeStructureDescriptionItemProvider.java +++ /dev/null @@ -1,178 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFTreeStructureDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFTreeStructureDescription} object. - * - * - * @generated - */ -public class EEFTreeStructureDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, - IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTreeStructureDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addIdentifierPropertyDescriptor(object); - addMultiplePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Identifier feature. - * - * - * @generated - */ - protected void addIdentifierPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFTreeStructureDescription_identifier_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeStructureDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTreeStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Multiple feature. - * - * - * @generated - */ - protected void addMultiplePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor( - ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_EEFTreeStructureDescription_multiple_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeStructureDescription_multiple_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTreeStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE, true, false, false, - ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFTreeStructureDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeStructureDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFTreeStructureDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFTreeStructureDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFTreeStructureDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTreeStructureDescription.class)) { - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFViewDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFViewDescriptionItemProvider.java deleted file mode 100644 index 5a64ce9f1..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFViewDescriptionItemProvider.java +++ /dev/null @@ -1,278 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFViewDescription; -import org.eclipse.eef.eef.EefFactory; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFViewDescription} object. - * - * - * @generated - */ -public class EEFViewDescriptionItemProvider extends ContextableElementItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFViewDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addIdentifierPropertyDescriptor(object); - addLabelExpressionPropertyDescriptor(object); - addEPackageNsUrisPropertyDescriptor(object); - addImportedViewsPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Identifier feature. - * - * - * @generated - */ - protected void addIdentifierPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFViewDescription_identifier_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFViewDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_VIEW_DESCRIPTION__IDENTIFIER, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Label Expression feature. - * - * - * @generated - */ - protected void addLabelExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFViewDescription_labelExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFViewDescription_labelExpression_feature", "_UI_EEFViewDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the EPackage Ns Uris feature. - * - * - * @generated - */ - protected void addEPackageNsUrisPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFViewDescription_ePackageNsUris_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_ePackageNsUris_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFViewDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Imported Views feature. - * - * - * @generated - */ - protected void addImportedViewsPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFViewDescription_importedViews_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_importedViews_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFViewDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS, true, false, true, null, 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__GROUPS); - childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__PAGES); - childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS); - childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES); - childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFViewDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFViewDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFViewDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFViewDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFViewDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFViewDescription.class)) { - case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: - case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: - case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: - case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: - case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: - case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: - case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__GROUPS, - EefFactory.eINSTANCE.createEEFGroupDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__PAGES, - EefFactory.eINSTANCE.createEEFPageDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS, - EefFactory.eINSTANCE.createEEFJavaExtensionDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES, - EefFactory.eINSTANCE.createEEFAdapterFactoryTreeStructureDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES, - EefFactory.eINSTANCE.createEEFInterpretedTreeStructureDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES, - EefFactory.eINSTANCE.createEEFInterpretedTableStructureDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES, - EefFactory.eINSTANCE.createEEFAdapterFactoryTableStructureDescription())); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFWidgetDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFWidgetDescriptionItemProvider.java deleted file mode 100644 index 170879390..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EEFWidgetDescriptionItemProvider.java +++ /dev/null @@ -1,198 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.eef.EEFWidgetDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.eef.EEFWidgetDescription} object. - * - * - * @generated - */ -public class EEFWidgetDescriptionItemProvider extends ContextableElementItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFWidgetDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addIdentifierPropertyDescriptor(object); - addLabelExpressionPropertyDescriptor(object); - addFeatureCandidatesExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Identifier feature. - * - * - * @generated - */ - protected void addIdentifierPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFWidgetDescription_identifier_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFWidgetDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_WIDGET_DESCRIPTION__IDENTIFIER, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Label Expression feature. - * - * - * @generated - */ - protected void addLabelExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFWidgetDescription_labelExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFWidgetDescription_labelExpression_feature", "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ - EefPackage.Literals.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Feature Candidates Expression feature. - * - * - * @generated - */ - protected void addFeatureCandidatesExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFWidgetDescription_featureCandidatesExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$ - "_UI_EEFWidgetDescription_featureCandidatesExpression_feature", //$NON-NLS-1$ - "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFWidgetDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFWidgetDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFWidgetDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFWidgetDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFWidgetDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFWidgetDescription.class)) { - case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: - case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: - case EefPackage.EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefEditPlugin.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefEditPlugin.java deleted file mode 100644 index 9e858d731..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefEditPlugin.java +++ /dev/null @@ -1,95 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import org.eclipse.emf.common.EMFPlugin; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.sirius.context.context.provider.ContextEditPlugin; - -/** - * This is the central singleton for the Eef edit plugin. - * - * - * @generated - */ -public final class EefEditPlugin extends EMFPlugin { - /** - * Keep track of the singleton. - * - * - * @generated - */ - public static final EefEditPlugin INSTANCE = new EefEditPlugin(); - - /** - * Keep track of the singleton. - * - * - * @generated - */ - private static Implementation plugin; - - /** - * Create the instance. - * - * - * @generated - */ - public EefEditPlugin() { - super(new ResourceLocator[] { ContextEditPlugin.INSTANCE, }); - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * - * @return the singleton instance. - * @generated - */ - @Override - public ResourceLocator getPluginResourceLocator() { - return plugin; - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * - * @return the singleton instance. - * @generated - */ - public static Implementation getPlugin() { - return plugin; - } - - /** - * The actual implementation of the Eclipse Plugin. - * - * - * @generated - */ - public static class Implementation extends EclipsePlugin { - /** - * Creates an instance. - * - * - * @generated - */ - public Implementation() { - super(); - - // Remember the static instance. - // - plugin = this; - } - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefItemProviderAdapterFactory.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefItemProviderAdapterFactory.java deleted file mode 100644 index cca84b8f4..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/eef/provider/EefItemProviderAdapterFactory.java +++ /dev/null @@ -1,742 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.provider; - -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.eef.eef.util.EefAdapterFactory; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.edit.provider.ChangeNotifier; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.ComposedAdapterFactory; -import org.eclipse.emf.edit.provider.IChangeNotifier; -import org.eclipse.emf.edit.provider.IDisposable; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.INotifyChangedListener; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; - -/** - * This is the factory that is used to provide the interfaces needed to support Viewers. - * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. - * The adapters also support Eclipse property sheets. - * Note that most of the adapters are shared among multiple instances. - * - * - * @generated - */ -public class EefItemProviderAdapterFactory extends EefAdapterFactory - implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { - /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * - * - * @generated - */ - protected ComposedAdapterFactory parentAdapterFactory; - - /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * - * - * @generated - */ - protected IChangeNotifier changeNotifier = new ChangeNotifier(); - - /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * - * - * @generated - */ - protected Collection supportedTypes = new ArrayList(); - - /** - * This constructs an instance. - * - * - * @generated - */ - public EefItemProviderAdapterFactory() { - supportedTypes.add(IEditingDomainItemProvider.class); - supportedTypes.add(IStructuredItemContentProvider.class); - supportedTypes.add(ITreeItemContentProvider.class); - supportedTypes.add(IItemLabelProvider.class); - supportedTypes.add(IItemPropertySource.class); - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFViewDescription} instances. - * - * - * @generated - */ - protected EEFViewDescriptionItemProvider eefViewDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFViewDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFViewDescriptionAdapter() { - if (eefViewDescriptionItemProvider == null) { - eefViewDescriptionItemProvider = new EEFViewDescriptionItemProvider(this); - } - - return eefViewDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFPageDescription} instances. - * - * - * @generated - */ - protected EEFPageDescriptionItemProvider eefPageDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFPageDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFPageDescriptionAdapter() { - if (eefPageDescriptionItemProvider == null) { - eefPageDescriptionItemProvider = new EEFPageDescriptionItemProvider(this); - } - - return eefPageDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFGroupDescription} instances. - * - * - * @generated - */ - protected EEFGroupDescriptionItemProvider eefGroupDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFGroupDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFGroupDescriptionAdapter() { - if (eefGroupDescriptionItemProvider == null) { - eefGroupDescriptionItemProvider = new EEFGroupDescriptionItemProvider(this); - } - - return eefGroupDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFContainerDescription} instances. - * - * - * @generated - */ - protected EEFContainerDescriptionItemProvider eefContainerDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFContainerDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFContainerDescriptionAdapter() { - if (eefContainerDescriptionItemProvider == null) { - eefContainerDescriptionItemProvider = new EEFContainerDescriptionItemProvider(this); - } - - return eefContainerDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFJavaExtensionDescription} instances. - * - * - * @generated - */ - protected EEFJavaExtensionDescriptionItemProvider eefJavaExtensionDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFJavaExtensionDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFJavaExtensionDescriptionAdapter() { - if (eefJavaExtensionDescriptionItemProvider == null) { - eefJavaExtensionDescriptionItemProvider = new EEFJavaExtensionDescriptionItemProvider(this); - } - - return eefJavaExtensionDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription} instances. - * - * - * @generated - */ - protected EEFInterpretedTableStructureDescriptionItemProvider eefInterpretedTableStructureDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFInterpretedTableStructureDescriptionAdapter() { - if (eefInterpretedTableStructureDescriptionItemProvider == null) { - eefInterpretedTableStructureDescriptionItemProvider = new EEFInterpretedTableStructureDescriptionItemProvider( - this); - } - - return eefInterpretedTableStructureDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription} instances. - * - * - * @generated - */ - protected EEFAdapterFactoryTreeStructureDescriptionItemProvider eefAdapterFactoryTreeStructureDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFAdapterFactoryTreeStructureDescriptionAdapter() { - if (eefAdapterFactoryTreeStructureDescriptionItemProvider == null) { - eefAdapterFactoryTreeStructureDescriptionItemProvider = new EEFAdapterFactoryTreeStructureDescriptionItemProvider( - this); - } - - return eefAdapterFactoryTreeStructureDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription} instances. - * - * - * @generated - */ - protected EEFInterpretedTreeStructureDescriptionItemProvider eefInterpretedTreeStructureDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFInterpretedTreeStructureDescriptionAdapter() { - if (eefInterpretedTreeStructureDescriptionItemProvider == null) { - eefInterpretedTreeStructureDescriptionItemProvider = new EEFInterpretedTreeStructureDescriptionItemProvider( - this); - } - - return eefInterpretedTreeStructureDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFTextDescription} instances. - * - * - * @generated - */ - protected EEFTextDescriptionItemProvider eefTextDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFTextDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFTextDescriptionAdapter() { - if (eefTextDescriptionItemProvider == null) { - eefTextDescriptionItemProvider = new EEFTextDescriptionItemProvider(this); - } - - return eefTextDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFCheckboxDescription} instances. - * - * - * @generated - */ - protected EEFCheckboxDescriptionItemProvider eefCheckboxDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFCheckboxDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFCheckboxDescriptionAdapter() { - if (eefCheckboxDescriptionItemProvider == null) { - eefCheckboxDescriptionItemProvider = new EEFCheckboxDescriptionItemProvider(this); - } - - return eefCheckboxDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFSelectDescription} instances. - * - * - * @generated - */ - protected EEFSelectDescriptionItemProvider eefSelectDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFSelectDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFSelectDescriptionAdapter() { - if (eefSelectDescriptionItemProvider == null) { - eefSelectDescriptionItemProvider = new EEFSelectDescriptionItemProvider(this); - } - - return eefSelectDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFLabelDescription} instances. - * - * - * @generated - */ - protected EEFLabelDescriptionItemProvider eefLabelDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFLabelDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFLabelDescriptionAdapter() { - if (eefLabelDescriptionItemProvider == null) { - eefLabelDescriptionItemProvider = new EEFLabelDescriptionItemProvider(this); - } - - return eefLabelDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFRadioDescription} instances. - * - * - * @generated - */ - protected EEFRadioDescriptionItemProvider eefRadioDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFRadioDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFRadioDescriptionAdapter() { - if (eefRadioDescriptionItemProvider == null) { - eefRadioDescriptionItemProvider = new EEFRadioDescriptionItemProvider(this); - } - - return eefRadioDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription} instances. - * - * - * @generated - */ - protected EEFTreeDialogSelectDescriptionItemProvider eefTreeDialogSelectDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFTreeDialogSelectDescriptionAdapter() { - if (eefTreeDialogSelectDescriptionItemProvider == null) { - eefTreeDialogSelectDescriptionItemProvider = new EEFTreeDialogSelectDescriptionItemProvider(this); - } - - return eefTreeDialogSelectDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFLinkDescription} instances. - * - * - * @generated - */ - protected EEFLinkDescriptionItemProvider eefLinkDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFLinkDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFLinkDescriptionAdapter() { - if (eefLinkDescriptionItemProvider == null) { - eefLinkDescriptionItemProvider = new EEFLinkDescriptionItemProvider(this); - } - - return eefLinkDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFImageDescription} instances. - * - * - * @generated - */ - protected EEFImageDescriptionItemProvider eefImageDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFImageDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFImageDescriptionAdapter() { - if (eefImageDescriptionItemProvider == null) { - eefImageDescriptionItemProvider = new EEFImageDescriptionItemProvider(this); - } - - return eefImageDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFTreeDescription} instances. - * - * - * @generated - */ - protected EEFTreeDescriptionItemProvider eefTreeDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFTreeDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFTreeDescriptionAdapter() { - if (eefTreeDescriptionItemProvider == null) { - eefTreeDescriptionItemProvider = new EEFTreeDescriptionItemProvider(this); - } - - return eefTreeDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFImagePickerDescription} instances. - * - * - * @generated - */ - protected EEFImagePickerDescriptionItemProvider eefImagePickerDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFImagePickerDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFImagePickerDescriptionAdapter() { - if (eefImagePickerDescriptionItemProvider == null) { - eefImagePickerDescriptionItemProvider = new EEFImagePickerDescriptionItemProvider(this); - } - - return eefImagePickerDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFTableDescription} instances. - * - * - * @generated - */ - protected EEFTableDescriptionItemProvider eefTableDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFTableDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFTableDescriptionAdapter() { - if (eefTableDescriptionItemProvider == null) { - eefTableDescriptionItemProvider = new EEFTableDescriptionItemProvider(this); - } - - return eefTableDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFColumnDescription} instances. - * - * - * @generated - */ - protected EEFColumnDescriptionItemProvider eefColumnDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFColumnDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFColumnDescriptionAdapter() { - if (eefColumnDescriptionItemProvider == null) { - eefColumnDescriptionItemProvider = new EEFColumnDescriptionItemProvider(this); - } - - return eefColumnDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFLineDescription} instances. - * - * - * @generated - */ - protected EEFLineDescriptionItemProvider eefLineDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFLineDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFLineDescriptionAdapter() { - if (eefLineDescriptionItemProvider == null) { - eefLineDescriptionItemProvider = new EEFLineDescriptionItemProvider(this); - } - - return eefLineDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription} instances. - * - * - * @generated - */ - protected EEFAdapterFactoryTableStructureDescriptionItemProvider eefAdapterFactoryTableStructureDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFAdapterFactoryTableStructureDescriptionAdapter() { - if (eefAdapterFactoryTableStructureDescriptionItemProvider == null) { - eefAdapterFactoryTableStructureDescriptionItemProvider = new EEFAdapterFactoryTableStructureDescriptionItemProvider( - this); - } - - return eefAdapterFactoryTableStructureDescriptionItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * - * - * @generated - */ - @Override - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * - * - * @generated - */ - @Override - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * - * - * @generated - */ - @Override - public boolean isFactoryForType(Object type) { - return supportedTypes.contains(type) || super.isFactoryForType(type); - } - - /** - * This implementation substitutes the factory itself as the key for the adapter. - * - * - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * - * - * @generated - */ - @Override - public Object adapt(Object object, Object type) { - if (isFactoryForType(type)) { - Object adapter = super.adapt(object, type); - if (!(type instanceof Class) || (((Class) type).isInstance(adapter))) { - return adapter; - } - } - - return null; - } - - /** - * This adds a listener. - * - * - * @generated - */ - @Override - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * - * - * @generated - */ - @Override - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * - * - * @generated - */ - @Override - public void fireNotifyChanged(Notification notification) { - changeNotifier.fireNotifyChanged(notification); - - if (parentAdapterFactory != null) { - parentAdapterFactory.fireNotifyChanged(notification); - } - } - - /** - * This disposes all of the item providers created by this factory. - * - * - * @generated - */ - @Override - public void dispose() { - if (eefViewDescriptionItemProvider != null) - eefViewDescriptionItemProvider.dispose(); - if (eefPageDescriptionItemProvider != null) - eefPageDescriptionItemProvider.dispose(); - if (eefGroupDescriptionItemProvider != null) - eefGroupDescriptionItemProvider.dispose(); - if (eefContainerDescriptionItemProvider != null) - eefContainerDescriptionItemProvider.dispose(); - if (eefJavaExtensionDescriptionItemProvider != null) - eefJavaExtensionDescriptionItemProvider.dispose(); - if (eefInterpretedTableStructureDescriptionItemProvider != null) - eefInterpretedTableStructureDescriptionItemProvider.dispose(); - if (eefAdapterFactoryTreeStructureDescriptionItemProvider != null) - eefAdapterFactoryTreeStructureDescriptionItemProvider.dispose(); - if (eefInterpretedTreeStructureDescriptionItemProvider != null) - eefInterpretedTreeStructureDescriptionItemProvider.dispose(); - if (eefTextDescriptionItemProvider != null) - eefTextDescriptionItemProvider.dispose(); - if (eefCheckboxDescriptionItemProvider != null) - eefCheckboxDescriptionItemProvider.dispose(); - if (eefSelectDescriptionItemProvider != null) - eefSelectDescriptionItemProvider.dispose(); - if (eefLabelDescriptionItemProvider != null) - eefLabelDescriptionItemProvider.dispose(); - if (eefRadioDescriptionItemProvider != null) - eefRadioDescriptionItemProvider.dispose(); - if (eefTreeDialogSelectDescriptionItemProvider != null) - eefTreeDialogSelectDescriptionItemProvider.dispose(); - if (eefLinkDescriptionItemProvider != null) - eefLinkDescriptionItemProvider.dispose(); - if (eefImageDescriptionItemProvider != null) - eefImageDescriptionItemProvider.dispose(); - if (eefTreeDescriptionItemProvider != null) - eefTreeDescriptionItemProvider.dispose(); - if (eefImagePickerDescriptionItemProvider != null) - eefImagePickerDescriptionItemProvider.dispose(); - if (eefTableDescriptionItemProvider != null) - eefTableDescriptionItemProvider.dispose(); - if (eefColumnDescriptionItemProvider != null) - eefColumnDescriptionItemProvider.dispose(); - if (eefLineDescriptionItemProvider != null) - eefLineDescriptionItemProvider.dispose(); - if (eefAdapterFactoryTableStructureDescriptionItemProvider != null) - eefAdapterFactoryTableStructureDescriptionItemProvider.dispose(); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/ContextableElementItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/ContextableElementItemProvider.java new file mode 100644 index 000000000..7bf77cdfe --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/ContextableElementItemProvider.java @@ -0,0 +1,190 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.ContextableElement; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.context.ContextFactory; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.ContextableElement} object. + * + * + * @generated + */ +public class ContextableElementItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public ContextableElementItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES); + childrenFeatures.add(EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_ContextableElement_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(ContextableElement.class)) { + case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: + case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES, + ContextFactory.eINSTANCE.createContextVariable())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES, + ContextFactory.eINSTANCE.createContextVariable())); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java new file mode 100644 index 000000000..0983919e3 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java @@ -0,0 +1,137 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFAdapterFactoryTableStructureDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription} object. + * + * + * @generated + */ +public class EEFAdapterFactoryTableStructureDescriptionItemProvider extends EEFTableStructureDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFAdapterFactoryTableStructureDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addAdapterFactoryProviderPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Adapter Factory Provider feature. + * + * + * @generated + */ + protected void addAdapterFactoryProviderPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFAdapterFactoryTableStructureDescription_adapterFactoryProvider_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFAdapterFactoryTableStructureDescription_adapterFactoryProvider_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFAdapterFactoryTableStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFAdapterFactoryTableStructureDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFAdapterFactoryTableStructureDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + EEFAdapterFactoryTableStructureDescription eefAdapterFactoryTableStructureDescription = (EEFAdapterFactoryTableStructureDescription) object; + return getString("_UI_EEFAdapterFactoryTableStructureDescription_type") + " " + eefAdapterFactoryTableStructureDescription.isMultiple(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFAdapterFactoryTableStructureDescription.class)) { + case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java new file mode 100644 index 000000000..fb2a9783a --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java @@ -0,0 +1,139 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription} object. + * + * + * @generated + */ +public class EEFAdapterFactoryTreeStructureDescriptionItemProvider extends EEFTreeStructureDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFAdapterFactoryTreeStructureDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addAdapterFactoryProviderPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Adapter Factory Provider feature. + * + * + * @generated + */ + protected void addAdapterFactoryProviderPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFAdapterFactoryTreeStructureDescription_adapterFactoryProvider_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFAdapterFactoryTreeStructureDescription_adapterFactoryProvider_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFAdapterFactoryTreeStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFAdapterFactoryTreeStructureDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFAdapterFactoryTreeStructureDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFAdapterFactoryTreeStructureDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFAdapterFactoryTreeStructureDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFAdapterFactoryTreeStructureDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFAdapterFactoryTreeStructureDescription.class)) { + case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCellWidgetDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCellWidgetDescriptionItemProvider.java new file mode 100644 index 000000000..05780687f --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCellWidgetDescriptionItemProvider.java @@ -0,0 +1,135 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFCellWidgetDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFCellWidgetDescription} object. + * + * + * @generated + */ +public class EEFCellWidgetDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFCellWidgetDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * This returns EEFCellWidgetDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFCellWidgetDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFCellWidgetDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFCellWidgetDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFCellWidgetDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxDescriptionItemProvider.java new file mode 100644 index 000000000..69d67c03e --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxDescriptionItemProvider.java @@ -0,0 +1,177 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFCheckboxDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFCheckboxDescription} object. + * + * + * @generated + */ +public class EEFCheckboxDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFCheckboxDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + addEditExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFCheckboxDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFCheckboxDescription_valueExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFCheckboxDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Edit Expression feature. + * + * + * @generated + */ + protected void addEditExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFCheckboxDescription_editExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFCheckboxDescription_editExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFCheckboxDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This returns EEFCheckboxDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFCheckboxDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFCheckboxDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFCheckboxDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFCheckboxDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFCheckboxDescription.class)) { + case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: + case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnDescriptionItemProvider.java new file mode 100644 index 000000000..6057d5d5b --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnDescriptionItemProvider.java @@ -0,0 +1,202 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFColumnDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFColumnDescription} object. + * + * + * @generated + */ +public class EEFColumnDescriptionItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFColumnDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addWidthPropertyDescriptor(object); + addHeaderExpressionPropertyDescriptor(object); + addCellWidgetPropertyDescriptor(object); + addContextCandidatesExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Width feature. + * + * + * @generated + */ + protected void addWidthPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFColumnDescription_width_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnDescription_width_feature", "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_COLUMN_DESCRIPTION__WIDTH, true, false, false, ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Header Expression feature. + * + * + * @generated + */ + protected void addHeaderExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFColumnDescription_headerExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnDescription_headerExpression_feature", "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Cell Widget feature. + * + * + * @generated + */ + protected void addCellWidgetPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFColumnDescription_cellWidget_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnDescription_cellWidget_feature", "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_COLUMN_DESCRIPTION__CELL_WIDGET, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Context Candidates Expression feature. + * + * + * @generated + */ + protected void addContextCandidatesExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFColumnDescription_contextCandidatesExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnDescription_contextCandidatesExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFColumnDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFColumnDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + EEFColumnDescription eefColumnDescription = (EEFColumnDescription) object; + return getString("_UI_EEFColumnDescription_type") + " " + eefColumnDescription.getWidth(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFColumnDescription.class)) { + case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: + case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: + case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFContainerDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFContainerDescriptionItemProvider.java new file mode 100644 index 000000000..da23f60c3 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFContainerDescriptionItemProvider.java @@ -0,0 +1,284 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFContainerDescription; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFContainerDescription} object. + * + * + * @generated + */ +public class EEFContainerDescriptionItemProvider extends ContextableElementItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFContainerDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addIdentifierPropertyDescriptor(object); + addSemanticCandidateExpressionPropertyDescriptor(object); + addDomainClassPropertyDescriptor(object); + addLayoutColumnCountPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Identifier feature. + * + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFContainerDescription_identifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFContainerDescription_identifier_feature", "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__IDENTIFIER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Semantic Candidate Expression feature. + * + * + * @generated + */ + protected void addSemanticCandidateExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFContainerDescription_semanticCandidateExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFContainerDescription_semanticCandidateExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Domain Class feature. + * + * + * @generated + */ + protected void addDomainClassPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFContainerDescription_domainClass_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFContainerDescription_domainClass_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Layout Column Count feature. + * + * + * @generated + */ + protected void addLayoutColumnCountPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFContainerDescription_layoutColumnCount_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFContainerDescription_layoutColumnCount_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT, true, false, false, ItemPropertyDescriptor.INTEGRAL_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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__CONTAINERS); + childrenFeatures.add(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFContainerDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFContainerDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFContainerDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFContainerDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFContainerDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFContainerDescription.class)) { + case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: + case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: + case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__CONTAINERS, + EefFactory.eINSTANCE.createEEFContainerDescription())); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFTextDescription())); + + newChildDescriptors.add( + createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFCheckboxDescription())); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFSelectDescription())); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFLabelDescription())); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFRadioDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, + EefFactory.eINSTANCE.createEEFTreeDialogSelectDescription())); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFLinkDescription())); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFImageDescription())); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFTreeDescription())); + + newChildDescriptors.add( + createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFImagePickerDescription())); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFTableDescription())); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java new file mode 100644 index 000000000..509a35edb --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java @@ -0,0 +1,245 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFGroupDescription; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFGroupDescription} object. + * + * + * @generated + */ +public class EEFGroupDescriptionItemProvider extends ContextableElementItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFGroupDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addIdentifierPropertyDescriptor(object); + addLabelExpressionPropertyDescriptor(object); + addDomainClassPropertyDescriptor(object); + addSemanticCandidateExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Identifier feature. + * + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFGroupDescription_identifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_identifier_feature", "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_GROUP_DESCRIPTION__IDENTIFIER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Label Expression feature. + * + * + * @generated + */ + protected void addLabelExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFGroupDescription_labelExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_labelExpression_feature", "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Domain Class feature. + * + * + * @generated + */ + protected void addDomainClassPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFGroupDescription_domainClass_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_domainClass_feature", "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Semantic Candidate Expression feature. + * + * + * @generated + */ + protected void addSemanticCandidateExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFGroupDescription_semanticCandidateExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_semanticCandidateExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_GROUP_DESCRIPTION__CONTAINER); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFGroupDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFGroupDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFGroupDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFGroupDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFGroupDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFGroupDescription.class)) { + case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: + case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: + case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add( + createChildParameter(EefPackage.Literals.EEF_GROUP_DESCRIPTION__CONTAINER, EefFactory.eINSTANCE.createEEFContainerDescription())); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImageDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImageDescriptionItemProvider.java new file mode 100644 index 000000000..c523da5b9 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImageDescriptionItemProvider.java @@ -0,0 +1,159 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFImageDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFImageDescription} object. + * + * + * @generated + */ +public class EEFImageDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFImageDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFImageDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFImageDescription_valueExpression_feature", "_UI_EEFImageDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This returns EEFImageDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFImageDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFImageDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFImageDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFImageDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFImageDescription.class)) { + case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImagePickerDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImagePickerDescriptionItemProvider.java new file mode 100644 index 000000000..820790dca --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImagePickerDescriptionItemProvider.java @@ -0,0 +1,194 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFImagePickerDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFImagePickerDescription} object. + * + * + * @generated + */ +public class EEFImagePickerDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFImagePickerDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + addEditExpressionPropertyDescriptor(object); + addCandidatesExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFImagePickerDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFImagePickerDescription_valueExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFImagePickerDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This adds a property descriptor for the Edit Expression feature. + * + * + * @generated + */ + protected void addEditExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFImagePickerDescription_editExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFImagePickerDescription_editExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFImagePickerDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This adds a property descriptor for the Candidates Expression feature. + * + * + * @generated + */ + protected void addCandidatesExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFImagePickerDescription_candidatesExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFImagePickerDescription_candidatesExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFImagePickerDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFImagePickerDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFImagePickerDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFImagePickerDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFImagePickerDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFImagePickerDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFImagePickerDescription.class)) { + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java new file mode 100644 index 000000000..d5aa7c058 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java @@ -0,0 +1,160 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFInterpretedTableStructureDescription; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFInterpretedTableStructureDescription} object. + * + * + * @generated + */ +public class EEFInterpretedTableStructureDescriptionItemProvider extends EEFTableStructureDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFInterpretedTableStructureDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS); + childrenFeatures.add(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFInterpretedTableStructureDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFInterpretedTableStructureDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + EEFInterpretedTableStructureDescription eefInterpretedTableStructureDescription = (EEFInterpretedTableStructureDescription) object; + return getString("_UI_EEFInterpretedTableStructureDescription_type") + " " + eefInterpretedTableStructureDescription.isMultiple(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFInterpretedTableStructureDescription.class)) { + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS, + EefFactory.eINSTANCE.createEEFColumnDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, + EefFactory.eINSTANCE.createEEFLineDescription())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java new file mode 100644 index 000000000..440ab3b54 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java @@ -0,0 +1,190 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFInterpretedTreeStructureDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFInterpretedTreeStructureDescription} object. + * + * + * @generated + */ +public class EEFInterpretedTreeStructureDescriptionItemProvider extends EEFTreeStructureDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFInterpretedTreeStructureDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addRootsExpressionPropertyDescriptor(object); + addChildrenExpressionPropertyDescriptor(object); + addSelectablePredicateExpressionPropertyDescriptor(object); + addCandidateDisplayExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Roots Expression feature. + * + * + * @generated + */ + protected void addRootsExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFInterpretedTreeStructureDescription_rootsExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFInterpretedTreeStructureDescription_rootsExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Children Expression feature. + * + * + * @generated + */ + protected void addChildrenExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFInterpretedTreeStructureDescription_childrenExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFInterpretedTreeStructureDescription_childrenExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Selectable Predicate Expression feature. + * + * + * @generated + */ + protected void addSelectablePredicateExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFInterpretedTreeStructureDescription_selectablePredicateExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFInterpretedTreeStructureDescription_selectablePredicateExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Candidate Display Expression feature. + * + * + * @generated + */ + protected void addCandidateDisplayExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFInterpretedTreeStructureDescription_candidateDisplayExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFInterpretedTreeStructureDescription_candidateDisplayExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFInterpretedTreeStructureDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFInterpretedTreeStructureDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFInterpretedTreeStructureDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFInterpretedTreeStructureDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFInterpretedTreeStructureDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFInterpretedTreeStructureDescription.class)) { + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFJavaExtensionDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFJavaExtensionDescriptionItemProvider.java new file mode 100644 index 000000000..ffb8225ae --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFJavaExtensionDescriptionItemProvider.java @@ -0,0 +1,159 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFJavaExtensionDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFJavaExtensionDescription} object. + * + * + * @generated + */ +public class EEFJavaExtensionDescriptionItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFJavaExtensionDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addQualifiedNamePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Qualified Name feature. + * + * + * @generated + */ + protected void addQualifiedNamePropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFJavaExtensionDescription_qualifiedName_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFJavaExtensionDescription_qualifiedName_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFJavaExtensionDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This returns EEFJavaExtensionDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFJavaExtensionDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFJavaExtensionDescription) object).getQualifiedName(); + return label == null || label.length() == 0 ? getString("_UI_EEFJavaExtensionDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFJavaExtensionDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFJavaExtensionDescription.class)) { + case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelDescriptionItemProvider.java new file mode 100644 index 000000000..b37f17c85 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelDescriptionItemProvider.java @@ -0,0 +1,159 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFLabelDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFLabelDescription} object. + * + * + * @generated + */ +public class EEFLabelDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFLabelDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLabelDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFLabelDescription_valueExpression_feature", "_UI_EEFLabelDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This returns EEFLabelDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLabelDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFLabelDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFLabelDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFLabelDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFLabelDescription.class)) { + case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineDescriptionItemProvider.java new file mode 100644 index 000000000..8c63800ae --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineDescriptionItemProvider.java @@ -0,0 +1,229 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFLineDescription; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFLineDescription} object. + * + * + * @generated + */ +public class EEFLineDescriptionItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFLineDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addHeaderExpressionPropertyDescriptor(object); + addSemanticCandidatesExpressionPropertyDescriptor(object); + addDomainClassPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Header Expression feature. + * + * + * @generated + */ + protected void addHeaderExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLineDescription_headerExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFLineDescription_headerExpression_feature", "_UI_EEFLineDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Semantic Candidates Expression feature. + * + * + * @generated + */ + protected void addSemanticCandidatesExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLineDescription_semanticCandidatesExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFLineDescription_semanticCandidatesExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFLineDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Domain Class feature. + * + * + * @generated + */ + protected void addDomainClassPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLineDescription_domainClass_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFLineDescription_domainClass_feature", "_UI_EEFLineDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_LINE_DESCRIPTION__DOMAIN_CLASS, 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_LINE_DESCRIPTION__SUB_LINES); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFLineDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLineDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFLineDescription) object).getHeaderExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFLineDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFLineDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFLineDescription.class)) { + case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: + case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_LINE_DESCRIPTION__SUB_LINES, EefFactory.eINSTANCE.createEEFLineDescription())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkDescriptionItemProvider.java new file mode 100644 index 000000000..905baaec9 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkDescriptionItemProvider.java @@ -0,0 +1,159 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFLinkDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFLinkDescription} object. + * + * + * @generated + */ +public class EEFLinkDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFLinkDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addOnClickExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the On Click Expression feature. + * + * + * @generated + */ + protected void addOnClickExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLinkDescription_onClickExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFLinkDescription_onClickExpression_feature", "_UI_EEFLinkDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This returns EEFLinkDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLinkDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFLinkDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFLinkDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFLinkDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFLinkDescription.class)) { + case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFPageDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFPageDescriptionItemProvider.java new file mode 100644 index 000000000..5b97b723b --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFPageDescriptionItemProvider.java @@ -0,0 +1,234 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFPageDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFPageDescription} object. + * + * + * @generated + */ +public class EEFPageDescriptionItemProvider extends ContextableElementItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFPageDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addIdentifierPropertyDescriptor(object); + addLabelExpressionPropertyDescriptor(object); + addDomainClassPropertyDescriptor(object); + addSemanticCandidateExpressionPropertyDescriptor(object); + addGroupsPropertyDescriptor(object); + addExtendedPagePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Identifier feature. + * + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFPageDescription_identifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_identifier_feature", "_UI_EEFPageDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_PAGE_DESCRIPTION__IDENTIFIER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Label Expression feature. + * + * + * @generated + */ + protected void addLabelExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFPageDescription_labelExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_labelExpression_feature", "_UI_EEFPageDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Domain Class feature. + * + * + * @generated + */ + protected void addDomainClassPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFPageDescription_domainClass_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_domainClass_feature", "_UI_EEFPageDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Semantic Candidate Expression feature. + * + * + * @generated + */ + protected void addSemanticCandidateExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFPageDescription_semanticCandidateExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_semanticCandidateExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFPageDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Groups feature. + * + * + * @generated + */ + protected void addGroupsPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFPageDescription_groups_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_groups_feature", "_UI_EEFPageDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_PAGE_DESCRIPTION__GROUPS, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Extended Page feature. + * + * + * @generated + */ + protected void addExtendedPagePropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFPageDescription_extendedPage_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_extendedPage_feature", "_UI_EEFPageDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE, true, false, true, null, null, null)); + } + + /** + * This returns EEFPageDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFPageDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFPageDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFPageDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFPageDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFPageDescription.class)) { + case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: + case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: + case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioDescriptionItemProvider.java new file mode 100644 index 000000000..aec1bf2ab --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioDescriptionItemProvider.java @@ -0,0 +1,209 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFRadioDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFRadioDescription} object. + * + * + * @generated + */ +public class EEFRadioDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFRadioDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + addEditExpressionPropertyDescriptor(object); + addCandidatesExpressionPropertyDescriptor(object); + addCandidateDisplayExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFRadioDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFRadioDescription_valueExpression_feature", "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Edit Expression feature. + * + * + * @generated + */ + protected void addEditExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFRadioDescription_editExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFRadioDescription_editExpression_feature", "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Candidates Expression feature. + * + * + * @generated + */ + protected void addCandidatesExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFRadioDescription_candidatesExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFRadioDescription_candidatesExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This adds a property descriptor for the Candidate Display Expression feature. + * + * + * @generated + */ + protected void addCandidateDisplayExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFRadioDescription_candidateDisplayExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFRadioDescription_candidateDisplayExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFRadioDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFRadioDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFRadioDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFRadioDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFRadioDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFRadioDescription.class)) { + case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: + case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectDescriptionItemProvider.java new file mode 100644 index 000000000..72f4d8635 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectDescriptionItemProvider.java @@ -0,0 +1,224 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFSelectDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFSelectDescription} object. + * + * + * @generated + */ +public class EEFSelectDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFSelectDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + addEditExpressionPropertyDescriptor(object); + addCandidatesExpressionPropertyDescriptor(object); + addMultiplePropertyDescriptor(object); + addCandidateDisplayExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFSelectDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectDescription_valueExpression_feature", "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Edit Expression feature. + * + * + * @generated + */ + protected void addEditExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFSelectDescription_editExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectDescription_editExpression_feature", "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Candidates Expression feature. + * + * + * @generated + */ + protected void addCandidatesExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFSelectDescription_candidatesExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectDescription_candidatesExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This adds a property descriptor for the Multiple feature. + * + * + * @generated + */ + protected void addMultiplePropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFSelectDescription_multiple_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectDescription_multiple_feature", "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_SELECT_DESCRIPTION__MULTIPLE, true, false, false, ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Candidate Display Expression feature. + * + * + * @generated + */ + protected void addCandidateDisplayExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFSelectDescription_candidateDisplayExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectDescription_candidateDisplayExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFSelectDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFSelectDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFSelectDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFSelectDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFSelectDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFSelectDescription.class)) { + case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: + case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: + case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableDescriptionItemProvider.java new file mode 100644 index 000000000..d8b721583 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableDescriptionItemProvider.java @@ -0,0 +1,189 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFTableDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTableDescription} object. + * + * + * @generated + */ +public class EEFTableDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTableDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + addEditExpressionPropertyDescriptor(object); + addTableStructurePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTableDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTableDescription_valueExpression_feature", "_UI_EEFTableDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Edit Expression feature. + * + * + * @generated + */ + protected void addEditExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTableDescription_editExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTableDescription_editExpression_feature", "_UI_EEFTableDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Table Structure feature. + * + * + * @generated + */ + protected void addTableStructurePropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTableDescription_tableStructure_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTableDescription_tableStructure_feature", "_UI_EEFTableDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE, true, false, true, null, null, null)); + } + + /** + * This returns EEFTableDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTableDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTableDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFTableDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFTableDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTableDescription.class)) { + case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: + case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStructureDescriptionItemProvider.java new file mode 100644 index 000000000..e5ae051c1 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStructureDescriptionItemProvider.java @@ -0,0 +1,174 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFTableStructureDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTableStructureDescription} object. + * + * + * @generated + */ +public class EEFTableStructureDescriptionItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTableStructureDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addMultiplePropertyDescriptor(object); + addIdentifierPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Multiple feature. + * + * + * @generated + */ + protected void addMultiplePropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTableStructureDescription_multiple_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_multiple_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE, true, false, false, ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Identifier feature. + * + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTableStructureDescription_identifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This returns EEFTableStructureDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTableStructureDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + EEFTableStructureDescription eefTableStructureDescription = (EEFTableStructureDescription) object; + return getString("_UI_EEFTableStructureDescription_type") + " " + eefTableStructureDescription.isMultiple(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTableStructureDescription.class)) { + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java new file mode 100644 index 000000000..857773f4b --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java @@ -0,0 +1,190 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTextDescription} object. + * + * + * @generated + */ +public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTextDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + addEditExpressionPropertyDescriptor(object); + addLineCountPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTextDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTextDescription_valueExpression_feature", "_UI_EEFTextDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Edit Expression feature. + * + * + * @generated + */ + protected void addEditExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTextDescription_editExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTextDescription_editExpression_feature", "_UI_EEFTextDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Line Count feature. + * + * + * @generated + */ + protected void addLineCountPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTextDescription_lineCount_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTextDescription_lineCount_feature", "_UI_EEFTextDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_TEXT_DESCRIPTION__LINE_COUNT, true, false, false, ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFTextDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTextDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTextDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFTextDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFTextDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTextDescription.class)) { + case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: + case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: + case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDescriptionItemProvider.java new file mode 100644 index 000000000..656d93c65 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDescriptionItemProvider.java @@ -0,0 +1,189 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFTreeDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTreeDescription} object. + * + * + * @generated + */ +public class EEFTreeDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTreeDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + addTreeStructurePropertyDescriptor(object); + addEditExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTreeDescription_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDescription_valueExpression_feature", "_UI_EEFTreeDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Tree Structure feature. + * + * + * @generated + */ + protected void addTreeStructurePropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTreeDescription_treeStructure_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDescription_treeStructure_feature", "_UI_EEFTreeDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_TREE_DESCRIPTION__TREE_STRUCTURE, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Edit Expression feature. + * + * + * @generated + */ + protected void addEditExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTreeDescription_editExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDescription_editExpression_feature", "_UI_EEFTreeDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This returns EEFTreeDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTreeDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFTreeDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFTreeDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTreeDescription.class)) { + case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: + case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java new file mode 100644 index 000000000..7bc89cb8a --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java @@ -0,0 +1,209 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFTreeDialogSelectDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTreeDialogSelectDescription} object. + * + * + * @generated + */ +public class EEFTreeDialogSelectDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTreeDialogSelectDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addSemanticCandidateExpressionPropertyDescriptor(object); + addDefaultFilterPropertyDescriptor(object); + addDomainClassPropertyDescriptor(object); + addTreePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Semantic Candidate Expression feature. + * + * + * @generated + */ + protected void addSemanticCandidateExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTreeDialogSelectDescription_semanticCandidateExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDialogSelectDescription_semanticCandidateExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Default Filter feature. + * + * + * @generated + */ + protected void addDefaultFilterPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTreeDialogSelectDescription_defaultFilter_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDialogSelectDescription_defaultFilter_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Domain Class feature. + * + * + * @generated + */ + protected void addDomainClassPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTreeDialogSelectDescription_domainClass_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDialogSelectDescription_domainClass_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This adds a property descriptor for the Tree feature. + * + * + * @generated + */ + protected void addTreePropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTreeDialogSelectDescription_tree_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDialogSelectDescription_tree_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE, true, false, true, null, null, null)); + } + + /** + * This returns EEFTreeDialogSelectDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeDialogSelectDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTreeDialogSelectDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFTreeDialogSelectDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFTreeDialogSelectDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTreeDialogSelectDescription.class)) { + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStructureDescriptionItemProvider.java new file mode 100644 index 000000000..697dc539a --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStructureDescriptionItemProvider.java @@ -0,0 +1,176 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFTreeStructureDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTreeStructureDescription} object. + * + * + * @generated + */ +public class EEFTreeStructureDescriptionItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTreeStructureDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addIdentifierPropertyDescriptor(object); + addMultiplePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Identifier feature. + * + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTreeStructureDescription_identifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeStructureDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTreeStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Multiple feature. + * + * + * @generated + */ + protected void addMultiplePropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTreeStructureDescription_multiple_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeStructureDescription_multiple_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTreeStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE, true, false, false, ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, + null)); + } + + /** + * This returns EEFTreeStructureDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeStructureDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTreeStructureDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFTreeStructureDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFTreeStructureDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTreeStructureDescription.class)) { + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java new file mode 100644 index 000000000..53312178a --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java @@ -0,0 +1,269 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFViewDescription; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFViewDescription} object. + * + * + * @generated + */ +public class EEFViewDescriptionItemProvider extends ContextableElementItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFViewDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addIdentifierPropertyDescriptor(object); + addLabelExpressionPropertyDescriptor(object); + addEPackageNsUrisPropertyDescriptor(object); + addImportedViewsPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Identifier feature. + * + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFViewDescription_identifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_identifier_feature", "_UI_EEFViewDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_VIEW_DESCRIPTION__IDENTIFIER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Label Expression feature. + * + * + * @generated + */ + protected void addLabelExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFViewDescription_labelExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_labelExpression_feature", "_UI_EEFViewDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the EPackage Ns Uris feature. + * + * + * @generated + */ + protected void addEPackageNsUrisPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFViewDescription_ePackageNsUris_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_ePackageNsUris_feature", "_UI_EEFViewDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Imported Views feature. + * + * + * @generated + */ + protected void addImportedViewsPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFViewDescription_importedViews_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_importedViews_feature", "_UI_EEFViewDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS, true, false, true, null, 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__GROUPS); + childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__PAGES); + childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS); + childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES); + childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFViewDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFViewDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFViewDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFViewDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFViewDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFViewDescription.class)) { + case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: + case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: + case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: + case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: + case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: + case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__GROUPS, EefFactory.eINSTANCE.createEEFGroupDescription())); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__PAGES, EefFactory.eINSTANCE.createEEFPageDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS, + EefFactory.eINSTANCE.createEEFJavaExtensionDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES, + EefFactory.eINSTANCE.createEEFAdapterFactoryTreeStructureDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES, + EefFactory.eINSTANCE.createEEFInterpretedTreeStructureDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES, + EefFactory.eINSTANCE.createEEFInterpretedTableStructureDescription())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES, + EefFactory.eINSTANCE.createEEFAdapterFactoryTableStructureDescription())); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java new file mode 100644 index 000000000..31e131f22 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java @@ -0,0 +1,174 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFWidgetDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFWidgetDescription} object. + * + * + * @generated + */ +public class EEFWidgetDescriptionItemProvider extends ContextableElementItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFWidgetDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addIdentifierPropertyDescriptor(object); + addLabelExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Identifier feature. + * + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFWidgetDescription_identifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFWidgetDescription_identifier_feature", "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_WIDGET_DESCRIPTION__IDENTIFIER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Label Expression feature. + * + * + * @generated + */ + protected void addLabelExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFWidgetDescription_labelExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFWidgetDescription_labelExpression_feature", "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This returns EEFWidgetDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFWidgetDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFWidgetDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_EEFWidgetDescription_type") //$NON-NLS-1$ + : + getString("_UI_EEFWidgetDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFWidgetDescription.class)) { + case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * + * + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES + || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + if (qualify) { + return getString("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefEditPlugin.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefEditPlugin.java new file mode 100644 index 000000000..432c9100e --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefEditPlugin.java @@ -0,0 +1,95 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import org.eclipse.emf.common.EMFPlugin; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.sirius.context.provider.ContextEditPlugin; + +/** + * This is the central singleton for the Eef edit plugin. + * + * + * @generated + */ +public final class EefEditPlugin extends EMFPlugin { + /** + * Keep track of the singleton. + * + * + * @generated + */ + public static final EefEditPlugin INSTANCE = new EefEditPlugin(); + + /** + * Keep track of the singleton. + * + * + * @generated + */ + private static Implementation plugin; + + /** + * Create the instance. + * + * + * @generated + */ + public EefEditPlugin() { + super(new ResourceLocator[] { ContextEditPlugin.INSTANCE, }); + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + @Override + public ResourceLocator getPluginResourceLocator() { + return plugin; + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + public static Implementation getPlugin() { + return plugin; + } + + /** + * The actual implementation of the Eclipse Plugin. + * + * + * @generated + */ + public static class Implementation extends EclipsePlugin { + /** + * Creates an instance. + * + * + * @generated + */ + public Implementation() { + super(); + + // Remember the static instance. + // + plugin = this; + } + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java new file mode 100644 index 000000000..003abf0df --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java @@ -0,0 +1,737 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.eef.util.EefAdapterFactory; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. + * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. + * The adapters also support Eclipse property sheets. + * Note that most of the adapters are shared among multiple instances. + * + * + * @generated + */ +public class EefItemProviderAdapterFactory extends EefAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * + * + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * + * + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * + * + * @generated + */ + protected Collection supportedTypes = new ArrayList(); + + /** + * This constructs an instance. + * + * + * @generated + */ + public EefItemProviderAdapterFactory() { + supportedTypes.add(IEditingDomainItemProvider.class); + supportedTypes.add(IStructuredItemContentProvider.class); + supportedTypes.add(ITreeItemContentProvider.class); + supportedTypes.add(IItemLabelProvider.class); + supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFViewDescription} instances. + * + * + * @generated + */ + protected EEFViewDescriptionItemProvider eefViewDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFViewDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFViewDescriptionAdapter() { + if (eefViewDescriptionItemProvider == null) { + eefViewDescriptionItemProvider = new EEFViewDescriptionItemProvider(this); + } + + return eefViewDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFPageDescription} instances. + * + * + * @generated + */ + protected EEFPageDescriptionItemProvider eefPageDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFPageDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFPageDescriptionAdapter() { + if (eefPageDescriptionItemProvider == null) { + eefPageDescriptionItemProvider = new EEFPageDescriptionItemProvider(this); + } + + return eefPageDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFGroupDescription} instances. + * + * + * @generated + */ + protected EEFGroupDescriptionItemProvider eefGroupDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFGroupDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFGroupDescriptionAdapter() { + if (eefGroupDescriptionItemProvider == null) { + eefGroupDescriptionItemProvider = new EEFGroupDescriptionItemProvider(this); + } + + return eefGroupDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFContainerDescription} instances. + * + * + * @generated + */ + protected EEFContainerDescriptionItemProvider eefContainerDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFContainerDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFContainerDescriptionAdapter() { + if (eefContainerDescriptionItemProvider == null) { + eefContainerDescriptionItemProvider = new EEFContainerDescriptionItemProvider(this); + } + + return eefContainerDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFJavaExtensionDescription} instances. + * + * + * @generated + */ + protected EEFJavaExtensionDescriptionItemProvider eefJavaExtensionDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFJavaExtensionDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFJavaExtensionDescriptionAdapter() { + if (eefJavaExtensionDescriptionItemProvider == null) { + eefJavaExtensionDescriptionItemProvider = new EEFJavaExtensionDescriptionItemProvider(this); + } + + return eefJavaExtensionDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFInterpretedTableStructureDescription} instances. + * + * + * @generated + */ + protected EEFInterpretedTableStructureDescriptionItemProvider eefInterpretedTableStructureDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFInterpretedTableStructureDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFInterpretedTableStructureDescriptionAdapter() { + if (eefInterpretedTableStructureDescriptionItemProvider == null) { + eefInterpretedTableStructureDescriptionItemProvider = new EEFInterpretedTableStructureDescriptionItemProvider(this); + } + + return eefInterpretedTableStructureDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription} instances. + * + * + * @generated + */ + protected EEFAdapterFactoryTreeStructureDescriptionItemProvider eefAdapterFactoryTreeStructureDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFAdapterFactoryTreeStructureDescriptionAdapter() { + if (eefAdapterFactoryTreeStructureDescriptionItemProvider == null) { + eefAdapterFactoryTreeStructureDescriptionItemProvider = new EEFAdapterFactoryTreeStructureDescriptionItemProvider(this); + } + + return eefAdapterFactoryTreeStructureDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFInterpretedTreeStructureDescription} instances. + * + * + * @generated + */ + protected EEFInterpretedTreeStructureDescriptionItemProvider eefInterpretedTreeStructureDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFInterpretedTreeStructureDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFInterpretedTreeStructureDescriptionAdapter() { + if (eefInterpretedTreeStructureDescriptionItemProvider == null) { + eefInterpretedTreeStructureDescriptionItemProvider = new EEFInterpretedTreeStructureDescriptionItemProvider(this); + } + + return eefInterpretedTreeStructureDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTextDescription} instances. + * + * + * @generated + */ + protected EEFTextDescriptionItemProvider eefTextDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFTextDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFTextDescriptionAdapter() { + if (eefTextDescriptionItemProvider == null) { + eefTextDescriptionItemProvider = new EEFTextDescriptionItemProvider(this); + } + + return eefTextDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFCheckboxDescription} instances. + * + * + * @generated + */ + protected EEFCheckboxDescriptionItemProvider eefCheckboxDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFCheckboxDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFCheckboxDescriptionAdapter() { + if (eefCheckboxDescriptionItemProvider == null) { + eefCheckboxDescriptionItemProvider = new EEFCheckboxDescriptionItemProvider(this); + } + + return eefCheckboxDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFSelectDescription} instances. + * + * + * @generated + */ + protected EEFSelectDescriptionItemProvider eefSelectDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFSelectDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFSelectDescriptionAdapter() { + if (eefSelectDescriptionItemProvider == null) { + eefSelectDescriptionItemProvider = new EEFSelectDescriptionItemProvider(this); + } + + return eefSelectDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLabelDescription} instances. + * + * + * @generated + */ + protected EEFLabelDescriptionItemProvider eefLabelDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFLabelDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFLabelDescriptionAdapter() { + if (eefLabelDescriptionItemProvider == null) { + eefLabelDescriptionItemProvider = new EEFLabelDescriptionItemProvider(this); + } + + return eefLabelDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFRadioDescription} instances. + * + * + * @generated + */ + protected EEFRadioDescriptionItemProvider eefRadioDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFRadioDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFRadioDescriptionAdapter() { + if (eefRadioDescriptionItemProvider == null) { + eefRadioDescriptionItemProvider = new EEFRadioDescriptionItemProvider(this); + } + + return eefRadioDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTreeDialogSelectDescription} instances. + * + * + * @generated + */ + protected EEFTreeDialogSelectDescriptionItemProvider eefTreeDialogSelectDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFTreeDialogSelectDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFTreeDialogSelectDescriptionAdapter() { + if (eefTreeDialogSelectDescriptionItemProvider == null) { + eefTreeDialogSelectDescriptionItemProvider = new EEFTreeDialogSelectDescriptionItemProvider(this); + } + + return eefTreeDialogSelectDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLinkDescription} instances. + * + * + * @generated + */ + protected EEFLinkDescriptionItemProvider eefLinkDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFLinkDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFLinkDescriptionAdapter() { + if (eefLinkDescriptionItemProvider == null) { + eefLinkDescriptionItemProvider = new EEFLinkDescriptionItemProvider(this); + } + + return eefLinkDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFImageDescription} instances. + * + * + * @generated + */ + protected EEFImageDescriptionItemProvider eefImageDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFImageDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFImageDescriptionAdapter() { + if (eefImageDescriptionItemProvider == null) { + eefImageDescriptionItemProvider = new EEFImageDescriptionItemProvider(this); + } + + return eefImageDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTreeDescription} instances. + * + * + * @generated + */ + protected EEFTreeDescriptionItemProvider eefTreeDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFTreeDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFTreeDescriptionAdapter() { + if (eefTreeDescriptionItemProvider == null) { + eefTreeDescriptionItemProvider = new EEFTreeDescriptionItemProvider(this); + } + + return eefTreeDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFImagePickerDescription} instances. + * + * + * @generated + */ + protected EEFImagePickerDescriptionItemProvider eefImagePickerDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFImagePickerDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFImagePickerDescriptionAdapter() { + if (eefImagePickerDescriptionItemProvider == null) { + eefImagePickerDescriptionItemProvider = new EEFImagePickerDescriptionItemProvider(this); + } + + return eefImagePickerDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTableDescription} instances. + * + * + * @generated + */ + protected EEFTableDescriptionItemProvider eefTableDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFTableDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFTableDescriptionAdapter() { + if (eefTableDescriptionItemProvider == null) { + eefTableDescriptionItemProvider = new EEFTableDescriptionItemProvider(this); + } + + return eefTableDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFColumnDescription} instances. + * + * + * @generated + */ + protected EEFColumnDescriptionItemProvider eefColumnDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFColumnDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFColumnDescriptionAdapter() { + if (eefColumnDescriptionItemProvider == null) { + eefColumnDescriptionItemProvider = new EEFColumnDescriptionItemProvider(this); + } + + return eefColumnDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLineDescription} instances. + * + * + * @generated + */ + protected EEFLineDescriptionItemProvider eefLineDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFLineDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFLineDescriptionAdapter() { + if (eefLineDescriptionItemProvider == null) { + eefLineDescriptionItemProvider = new EEFLineDescriptionItemProvider(this); + } + + return eefLineDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription} instances. + * + * + * @generated + */ + protected EEFAdapterFactoryTableStructureDescriptionItemProvider eefAdapterFactoryTableStructureDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription}. + * + * + * @generated + */ + @Override + public Adapter createEEFAdapterFactoryTableStructureDescriptionAdapter() { + if (eefAdapterFactoryTableStructureDescriptionItemProvider == null) { + eefAdapterFactoryTableStructureDescriptionItemProvider = new EEFAdapterFactoryTableStructureDescriptionItemProvider(this); + } + + return eefAdapterFactoryTableStructureDescriptionItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * + * + * @generated + */ + @Override + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * + * + * @generated + */ + @Override + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * + * + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * + * + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * + * + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class) || (((Class) type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * + * + * @generated + */ + @Override + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * + * + * @generated + */ + @Override + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * + * + * @generated + */ + @Override + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); + + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * + * + * @generated + */ + @Override + public void dispose() { + if (eefViewDescriptionItemProvider != null) + eefViewDescriptionItemProvider.dispose(); + if (eefPageDescriptionItemProvider != null) + eefPageDescriptionItemProvider.dispose(); + if (eefGroupDescriptionItemProvider != null) + eefGroupDescriptionItemProvider.dispose(); + if (eefContainerDescriptionItemProvider != null) + eefContainerDescriptionItemProvider.dispose(); + if (eefJavaExtensionDescriptionItemProvider != null) + eefJavaExtensionDescriptionItemProvider.dispose(); + if (eefInterpretedTableStructureDescriptionItemProvider != null) + eefInterpretedTableStructureDescriptionItemProvider.dispose(); + if (eefAdapterFactoryTreeStructureDescriptionItemProvider != null) + eefAdapterFactoryTreeStructureDescriptionItemProvider.dispose(); + if (eefInterpretedTreeStructureDescriptionItemProvider != null) + eefInterpretedTreeStructureDescriptionItemProvider.dispose(); + if (eefTextDescriptionItemProvider != null) + eefTextDescriptionItemProvider.dispose(); + if (eefCheckboxDescriptionItemProvider != null) + eefCheckboxDescriptionItemProvider.dispose(); + if (eefSelectDescriptionItemProvider != null) + eefSelectDescriptionItemProvider.dispose(); + if (eefLabelDescriptionItemProvider != null) + eefLabelDescriptionItemProvider.dispose(); + if (eefRadioDescriptionItemProvider != null) + eefRadioDescriptionItemProvider.dispose(); + if (eefTreeDialogSelectDescriptionItemProvider != null) + eefTreeDialogSelectDescriptionItemProvider.dispose(); + if (eefLinkDescriptionItemProvider != null) + eefLinkDescriptionItemProvider.dispose(); + if (eefImageDescriptionItemProvider != null) + eefImageDescriptionItemProvider.dispose(); + if (eefTreeDescriptionItemProvider != null) + eefTreeDescriptionItemProvider.dispose(); + if (eefImagePickerDescriptionItemProvider != null) + eefImagePickerDescriptionItemProvider.dispose(); + if (eefTableDescriptionItemProvider != null) + eefTableDescriptionItemProvider.dispose(); + if (eefColumnDescriptionItemProvider != null) + eefColumnDescriptionItemProvider.dispose(); + if (eefLineDescriptionItemProvider != null) + eefLineDescriptionItemProvider.dispose(); + if (eefAdapterFactoryTableStructureDescriptionItemProvider != null) + eefAdapterFactoryTableStructureDescriptionItemProvider.dispose(); + } + +} diff --git a/plugins/org.eclipse.eef.ide.ui/.checkstyle b/plugins/org.eclipse.eef.ide.ui/.checkstyle new file mode 100644 index 000000000..121faf77d --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/.checkstyle @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.ide.ui/.classpath b/plugins/org.eclipse.eef.ide.ui/.classpath new file mode 100644 index 000000000..ad32c83a7 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/org.eclipse.eef.ide.ui/.project b/plugins/org.eclipse.eef.ide.ui/.project new file mode 100644 index 000000000..2bc4ade00 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/.project @@ -0,0 +1,34 @@ + + + org.eclipse.eef.ide.ui + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + net.sf.eclipsecs.core.CheckstyleNature + + diff --git a/plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..fb8257839 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,398 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.builder.invalidClasspath=abort +org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=150 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +org.eclipse.jdt.core.incompleteClasspath=error +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.jdt.launching.prefs new file mode 100644 index 000000000..3bb235278 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.jdt.launching.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..16886bccd --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,67 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;java;javax;org; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=false +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=false +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=true +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=false +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=false +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=false +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=false +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=false +sp_cleanup.remove_unused_private_types=false +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false +sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.pde.core.prefs b/plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 000000000..923c37fb8 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +resolve.requirebundle=false diff --git a/plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..3112e810d --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=1 +compilers.p.build.java.compiler=1 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=0 +compilers.p.missing-version-import-package=0 +compilers.p.missing-version-require-bundle=0 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=0 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF new file mode 100644 index 000000000..7da145326 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF @@ -0,0 +1,25 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.eef.ide.ui;singleton:=true +Bundle-Version: 2.0.0.qualifier +Bundle-Vendor: %providerName +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Import-Package: org.eclipse.eef;version="[2.0.0,3.0.0)", + org.eclipse.eef.api;version="[2.0.0,3.0.0)", + org.eclipse.eef.core.api;version="[2.0.0,3.0.0)", + org.eclipse.eef.ide.internal;version="[2.0.0,3.0.0)", + org.eclipse.eef.ide.internal.extensions;version="[2.0.0,3.0.0)", + org.eclipse.eef.interpreter.api;version="[2.0.0,3.0.0)" +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", + org.eclipse.ui.views.properties.tabbed;bundle-version="[3.0.0,4.0.0)", + org.eclipse.emf.common;bundle-version="[2.8.0,3.0.0)", + org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)", + org.eclipse.emf.transaction;bundle-version="[1.4.0,2.0.0)", + org.eclipse.swt +Export-Package: org.eclipse.eef.ide.ui.api;version="2.0.0", + org.eclipse.eef.ide.ui.internal;version="2.0.0";x-internal:=true, + org.eclipse.eef.ide.ui.internal.data;version="2.0.0";x-internal:=true +Bundle-Localization: plugin +Bundle-ActivationPolicy: lazy +Bundle-Activator: org.eclipse.eef.ide.ui.internal.EEFIdeUiPlugin$Implementation diff --git a/plugins/org.eclipse.eef.ide.ui/about.html b/plugins/org.eclipse.eef.ide.ui/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef.ide.ui/build.properties b/plugins/org.eclipse.eef.ide.ui/build.properties new file mode 100644 index 000000000..fe056b0aa --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/build.properties @@ -0,0 +1,15 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + about.html,\ + plugin.properties +javacProjectSettings = true +additional.bundles = org.eclipse.emf.transaction diff --git a/plugins/org.eclipse.eef.ide.ui/plugin.properties b/plugins/org.eclipse.eef.ide.ui/plugin.properties new file mode 100644 index 000000000..adc702834 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/plugin.properties @@ -0,0 +1,9 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +pluginName=EEF IDE UI +providerName=Eclipse Modeling Project diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/api/TabDescriptorFilter.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/api/TabDescriptorFilter.java new file mode 100644 index 000000000..03cbe19b5 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/api/TabDescriptorFilter.java @@ -0,0 +1,110 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.ui.api; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.eef.EEFViewDescription; +import org.eclipse.eef.api.IEEFViewDescriptionProvider; +import org.eclipse.eef.core.api.EEFExpressionUtils; +import org.eclipse.eef.core.api.EEFPage; +import org.eclipse.eef.core.api.EEFVariableManagerFactory; +import org.eclipse.eef.core.api.EEFView; +import org.eclipse.eef.core.api.EEFViewFactory; +import org.eclipse.eef.core.api.IVariableManager; +import org.eclipse.eef.ide.internal.EEFIdePlugin; +import org.eclipse.eef.ide.internal.extensions.IItemDescriptor; +import org.eclipse.eef.ide.internal.extensions.IItemRegistry; +import org.eclipse.eef.ide.ui.internal.data.EEFTabDescriptor; +import org.eclipse.eef.interpreter.api.IInterpreterProvider; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.ui.views.properties.tabbed.ITabDescriptor; + +/** + * Utility class used to filter all the tab descriptors to use for the given {@link IEEFContext}. + * + * @author sbegaudeau + */ +public class TabDescriptorFilter { + + /** + * Returns the {@link ITabDescriptor} matching the given {@link IEEFContext}. + * + * @param objects + * The input objects + * @return The {@link ITabDescriptor} to use + */ + public List getTabDescriptors(final Object[] objects, TransactionalEditingDomain editingDomain) { + List eefViewDescriptions = this.getEEFViewDescriptions(); + List interpreterProviders = this.getInterprerProviders(); + + List tabDescriptors = new ArrayList(); + if (eefViewDescriptions.size() > 0) { + EEFViewDescription eefViewDescription = eefViewDescriptions.get(0); + + IVariableManager variableManager = new EEFVariableManagerFactory().createVariableManager(); + if (objects.length == 1) { + variableManager.put(EEFExpressionUtils.EEFView.VIEW_SEMANTIC_CANDIDATE, objects[0]); + } else { + // TODO Add support for multiple input + } + EEFView eefView = new EEFViewFactory().createEEFView(eefViewDescription, variableManager, interpreterProviders, editingDomain); + + List eefPages = eefView.getPages(); + for (EEFPage eefPage : eefPages) { + EEFTabDescriptor eefTabDescriptor = new EEFTabDescriptor(eefPage); + tabDescriptors.add(eefTabDescriptor); + } + } + + return tabDescriptors; + } + + /** + * Returns the list of all the available {@link EEFViewDescription}. + * + * @return The list of all the available {@link EEFViewDescription}. + */ + private List getEEFViewDescriptions() { + List eefViewDescriptions = new ArrayList(); + + List eefViewDescriptionProviders = new ArrayList(); + IItemRegistry eefViewDescriptionProviderRegistry = EEFIdePlugin.getImplementation() + .getEEFViewDescriptionProviderRegistry(); + List> itemDescriptors = eefViewDescriptionProviderRegistry.getItemDescriptors(); + for (IItemDescriptor itemDescriptor : itemDescriptors) { + IEEFViewDescriptionProvider eefViewDescriptionProvider = itemDescriptor.getItem(); + eefViewDescriptionProviders.add(eefViewDescriptionProvider); + } + + for (IEEFViewDescriptionProvider eefViewDescriptionProvider : eefViewDescriptionProviders) { + eefViewDescriptions.add(eefViewDescriptionProvider.get()); + } + + return eefViewDescriptions; + } + + /** + * Returns the list of all the available {@link IInterpreterProvider}. + * + * @return The list of all the available {@link IInterpreterProvider} + */ + private List getInterprerProviders() { + List interpreterProviders = new ArrayList(); + List> descriptors = EEFIdePlugin.getImplementation().getInterpreterProviderRegistry() + .getItemDescriptors(); + for (IItemDescriptor itemDescriptor : descriptors) { + interpreterProviders.add(itemDescriptor.getItem()); + } + return interpreterProviders; + } +} diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/EEFIdeUiPlugin.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/EEFIdeUiPlugin.java new file mode 100644 index 000000000..f98052501 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/EEFIdeUiPlugin.java @@ -0,0 +1,97 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.ui.internal; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.emf.common.EMFPlugin; +import org.eclipse.emf.common.util.ResourceLocator; + +/** + * The plugin class of the bundle. + * + * @author sbegaudeau + */ +public class EEFIdeUiPlugin extends EMFPlugin { + + /** + * The identifier of the plugin. + */ + public static final String PLUGIN_ID = "org.eclipse.eef.ide.ui"; //$NON-NLS-1$ + + /** + * The OSGi related implementation of the plugin. + */ + private static Implementation plugin; + + /** + * The constructor. + */ + public EEFIdeUiPlugin() { + super(new ResourceLocator[0]); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.emf.common.EMFPlugin#getPluginResourceLocator() + */ + @Override + public ResourceLocator getPluginResourceLocator() { + return plugin; + } + + public static Implementation getImplementation() { + return plugin; + } + + /** + * This class is used as the bundle activator of the plugin. + * + * @author sbegaudeau + */ + public static class Implementation extends EclipsePlugin { + /** + * The constructor. + */ + public Implementation() { + super(); + + EEFIdeUiPlugin.plugin = this; + } + + /** + * Logs an error with the exception and the given message. + * + * @param message + * The message + * @param exception + * The exception + */ + public void logError(String message, Exception exception) { + IStatus status = new Status(IStatus.ERROR, PLUGIN_ID, message, exception); + this.getLog().log(status); + } + + /** + * Logs a warning with the exception and the given message. + * + * @param message + * The message + * @param exception + * The exception + */ + public void logWarning(String message, Exception exception) { + IStatus status = new Status(IStatus.WARNING, PLUGIN_ID, message, exception); + this.getLog().log(status); + } + } +} diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java new file mode 100644 index 000000000..563574c36 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java @@ -0,0 +1,228 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.ui.internal.data; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.eef.core.api.EEFChildObject; +import org.eclipse.eef.core.api.EEFContainer; +import org.eclipse.eef.core.api.EEFGroup; +import org.eclipse.eef.core.api.EEFObject; +import org.eclipse.eef.core.api.EEFText; +import org.eclipse.eef.core.api.EEFView; +import org.eclipse.eef.core.api.EEFWidget; +import org.eclipse.eef.core.api.IConsumer; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.swt.SWT; +import org.eclipse.swt.custom.CLabel; +import org.eclipse.swt.events.ModifyEvent; +import org.eclipse.swt.events.ModifyListener; +import org.eclipse.swt.layout.FormAttachment; +import org.eclipse.swt.layout.FormData; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Text; +import org.eclipse.swt.widgets.Widget; +import org.eclipse.ui.IWorkbenchPart; +import org.eclipse.ui.views.properties.tabbed.ISection; +import org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory; + +/** + * The implementation of {@link ISection} using the {@link EEFSectionDescriptor}. + * + * @author sbegaudeau + */ +public class EEFSection implements ISection { + + /** + * The section descriptor. + */ + private EEFSectionDescriptor eefSectionDescriptor; + + /** + * The widgets of this section. + */ + private List widgets = new ArrayList(); + + /** + * The constructor. + * + * @param eefSectionDescriptor + * The section descriptor + */ + public EEFSection(EEFSectionDescriptor eefSectionDescriptor) { + this.eefSectionDescriptor = eefSectionDescriptor; + } + + @Override + public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) { + TabbedPropertySheetWidgetFactory widgetFactory = tabbedPropertySheetPage.getWidgetFactory(); + + EEFGroup eefGroup = this.eefSectionDescriptor.getEEFGroup(); + EEFContainer eefContainer = eefGroup.getContainer(); + + if (eefContainer != null) { + Composite sectionComposite = widgetFactory.createFlatFormComposite(parent); + + List eefWidgets = eefContainer.getWidgets(); + for (EEFWidget eefWidget : eefWidgets) { + if (eefWidget instanceof EEFText) { + EEFText eefText = (EEFText) eefWidget; + + Text text = widgetFactory.createText(sectionComposite, ""); //$NON-NLS-1$ + FormData data = new FormData(); + data.left = new FormAttachment(0, 232); + data.right = new FormAttachment(100, 0); + data.top = new FormAttachment(0, ITabbedPropertyConstants.VSPACE); + + text.setLayoutData(data); + text.setEnabled(false); + text.setData(eefText); + this.widgets.add(text); + + if (eefText.getDescription().getLabelExpression() != null && eefText.getDescription().getLabelExpression().trim().length() > 0) { + CLabel label = widgetFactory.createCLabel(sectionComposite, ""); //$NON-NLS-1$ + data = new FormData(); + data.left = new FormAttachment(0, 0); + data.right = new FormAttachment(text, -ITabbedPropertyConstants.HSPACE - 20); + data.top = new FormAttachment(text, 0, SWT.CENTER); + label.setLayoutData(data); + + label.setData(eefText); + this.widgets.add(label); + } + + } + } + } + } + + @Override + public void setInput(IWorkbenchPart part, ISelection selection) { + if (selection instanceof IStructuredSelection) { + IStructuredSelection iStructuredSelection = (IStructuredSelection) selection; + Object firstElement = iStructuredSelection.getFirstElement(); + if (firstElement instanceof EObject) { + EObject eObject = (EObject) firstElement; + + for (Widget widget : widgets) { + if (widget instanceof Text && ((Text) widget).getData() instanceof EEFText) { + Text text = (Text) widget; + EEFText eefText = (EEFText) text.getData(); + EEFView eefView = this.getEEFView(eefText); + eefView.setInput(eObject); + } + } + } + } + } + + /** + * Finds the root {@link EEFView} from the given {@link EEFChildObject}. + * + * @param eefChildObject + * The {@link EEFChildObject} + * @return The root {@link EEFView} + */ + private EEFView getEEFView(EEFChildObject eefChildObject) { + EEFView eefView = null; + + EEFChildObject child = eefChildObject; + while (eefView == null) { + EEFObject parent = child.getParent(); + if (parent instanceof EEFChildObject) { + child = (EEFChildObject) parent; + } else if (parent instanceof EEFView) { + eefView = (EEFView) parent; + } + } + + return eefView; + } + + @Override + public void aboutToBeShown() { + for (Widget widget : widgets) { + if (widget instanceof CLabel && ((CLabel) widget).getData() instanceof EEFText) { + final CLabel label = (CLabel) widget; + final EEFText eefText = (EEFText) label.getData(); + + eefText.addLabelExpressionConsumer(new IConsumer() { + @Override + public void apply(String value) { + label.setText(value); + } + }); + } else if (widget instanceof Text && ((Text) widget).getData() instanceof EEFText) { + final Text text = (Text) widget; + final EEFText eefText = (EEFText) text.getData(); + + eefText.addValueExpressionConsumer(new IConsumer() { + @Override + public void apply(String value) { + text.setText(value); + if (!text.isEnabled()) { + text.setEnabled(true); + } + } + }); + + text.addModifyListener(new ModifyListener() { + @Override + public void modifyText(ModifyEvent e) { + eefText.updateValue(text.getText()); + } + }); + } + } + } + + @Override + public void aboutToBeHidden() { + for (Widget widget : widgets) { + if (!widget.isDisposed() && widget instanceof Label && ((Label) widget).getData() instanceof EEFText) { + final Label label = (Label) widget; + EEFText eefText = (EEFText) label.getData(); + eefText.removeLabelExpressionConsumer(); + } else if (!widget.isDisposed() && widget instanceof Text && ((Text) widget).getData() instanceof EEFText) { + final Text text = (Text) widget; + EEFText eefText = (EEFText) text.getData(); + eefText.removeValueExpressionConsumer(); + } + } + } + + @Override + public void dispose() { + // do something + } + + @Override + public int getMinimumHeight() { + return SWT.DEFAULT; + } + + @Override + public boolean shouldUseExtraSpace() { + return true; + } + + @Override + public void refresh() { + // do something + } + +} diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSectionDescriptor.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSectionDescriptor.java new file mode 100644 index 000000000..61f59a592 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSectionDescriptor.java @@ -0,0 +1,94 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.ui.internal.data; + +import org.eclipse.eef.core.api.EEFGroup; +import org.eclipse.jface.viewers.IFilter; +import org.eclipse.ui.views.properties.tabbed.AbstractSectionDescriptor; +import org.eclipse.ui.views.properties.tabbed.ISection; + +/** + * The implementation of the {@link AbstractSectionDescriptor} using the {@link EEFGroup}. + * + * @author sbegaudeau + */ +public class EEFSectionDescriptor extends AbstractSectionDescriptor { + + /** + * The EEFGroup. + */ + private EEFGroup eefGroup; + + /** + * The constructor. + * + * @param eefGroup + * The EEFGroup + */ + public EEFSectionDescriptor(EEFGroup eefGroup) { + this.eefGroup = eefGroup; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.ISectionDescriptor#getId() + */ + @Override + public String getId() { + return this.eefGroup.getDescription().getIdentifier(); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.ISectionDescriptor#getSectionClass() + */ + @Override + public ISection getSectionClass() { + return new EEFSection(this); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.ISectionDescriptor#getTargetTab() + */ + @Override + public String getTargetTab() { + return null; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.AbstractSectionDescriptor#getFilter() + */ + @Override + public IFilter getFilter() { + return new IFilter() { + + @Override + public boolean select(Object toTest) { + return true; + } + }; + } + + /** + * Returns the EEFGroup used to managed this section descriptor. + * + * @return The EEFGroup used to managed this section descriptor + */ + public EEFGroup getEEFGroup() { + return eefGroup; + } +} diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFTabDescriptor.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFTabDescriptor.java new file mode 100644 index 000000000..3eaf5bd86 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFTabDescriptor.java @@ -0,0 +1,91 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.ui.internal.data; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.eef.core.api.EEFGroup; +import org.eclipse.eef.core.api.EEFPage; +import org.eclipse.ui.views.properties.tabbed.AbstractTabDescriptor; +import org.eclipse.ui.views.properties.tabbed.ISectionDescriptor; + +/** + * The implementation of the {@link AbstractTabDescriptor} using the {@link EEFPage}. + * + * @author sbegaudeau + */ +public class EEFTabDescriptor extends AbstractTabDescriptor { + + /** + * The {@link EEFPage}. + */ + private EEFPage eefPage; + + /** + * The constructor. + * + * @param eefPage + * The EEFPage + */ + public EEFTabDescriptor(EEFPage eefPage) { + this.eefPage = eefPage; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.ITabDescriptor#getId() + */ + @Override + public String getId() { + return this.eefPage.getDescription().getIdentifier(); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.ITabDescriptor#getLabel() + */ + @Override + public String getLabel() { + return this.eefPage.getLabel(); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.AbstractTabDescriptor#getSectionDescriptors() + */ + @SuppressWarnings("rawtypes") + @Override + public List getSectionDescriptors() { + List sectionDescriptors = new ArrayList(); + + List eefGroups = this.eefPage.getGroups(); + for (EEFGroup eefGroup : eefGroups) { + sectionDescriptors.add(new EEFSectionDescriptor(eefGroup)); + } + + return sectionDescriptors; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.ITabDescriptor#getCategory() + */ + @Override + public String getCategory() { + return "EEF"; //$NON-NLS-1$ + } + +} diff --git a/plugins/org.eclipse.eef.ide/.checkstyle b/plugins/org.eclipse.eef.ide/.checkstyle new file mode 100644 index 000000000..121faf77d --- /dev/null +++ b/plugins/org.eclipse.eef.ide/.checkstyle @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.ide/.classpath b/plugins/org.eclipse.eef.ide/.classpath new file mode 100644 index 000000000..ad32c83a7 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/org.eclipse.eef.ide/.project b/plugins/org.eclipse.eef.ide/.project new file mode 100644 index 000000000..0b4e1819c --- /dev/null +++ b/plugins/org.eclipse.eef.ide/.project @@ -0,0 +1,34 @@ + + + org.eclipse.eef.ide + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + net.sf.eclipsecs.core.CheckstyleNature + + diff --git a/plugins/org.eclipse.eef.ide/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.eef.ide/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..fb8257839 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,398 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.builder.invalidClasspath=abort +org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=150 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +org.eclipse.jdt.core.incompleteClasspath=error +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.eef.ide/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.eef.ide/.settings/org.eclipse.jdt.launching.prefs new file mode 100644 index 000000000..3bb235278 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/.settings/org.eclipse.jdt.launching.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.eef.ide/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.eef.ide/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..e6ceed5c2 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,67 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;java;javax;org; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=false +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=false +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=true +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=false +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=false +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=false +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=false +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=false +sp_cleanup.remove_unused_private_types=false +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false +sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.eef.ide/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.eef.ide/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..3112e810d --- /dev/null +++ b/plugins/org.eclipse.eef.ide/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=1 +compilers.p.build.java.compiler=1 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=0 +compilers.p.missing-version-import-package=0 +compilers.p.missing-version-require-bundle=0 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=0 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.eef.ide/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.ide/META-INF/MANIFEST.MF new file mode 100644 index 000000000..921584b8b --- /dev/null +++ b/plugins/org.eclipse.eef.ide/META-INF/MANIFEST.MF @@ -0,0 +1,18 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.eef.ide;singleton:=true +Bundle-Version: 2.0.0.qualifier +Bundle-Activator: org.eclipse.eef.ide.internal.EEFIdePlugin$Implementation +Bundle-Vendor: %providerName +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.0.0,4.0.0)", + org.eclipse.emf.common;bundle-version="[2.8.0,3.0.0)" +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Bundle-ActivationPolicy: lazy +Bundle-Localization: plugin +Import-Package: org.eclipse.eef;version="[2.0.0,3.0.0)", + org.eclipse.eef.api;version="[2.0.0,3.0.0)", + org.eclipse.eef.interpreter.api;version="[2.0.0,3.0.0)" +Export-Package: org.eclipse.eef.ide.internal;version="2.0.0";x-friends:="org.eclipse.eef.ide.ui", + org.eclipse.eef.ide.internal.extensions;version="2.0.0";x-friends:="org.eclipse.eef.ide.ui", + org.eclipse.eef.ide.internal.extensions.impl;version="2.0.0";x-internal:=true diff --git a/plugins/org.eclipse.eef.ide/about.html b/plugins/org.eclipse.eef.ide/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.eef.ide/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef.ide/build.properties b/plugins/org.eclipse.eef.ide/build.properties new file mode 100644 index 000000000..7ff6173f1 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/build.properties @@ -0,0 +1,15 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.properties,\ + plugin.xml,\ + about.html +javacProjectSettings = true diff --git a/plugins/org.eclipse.eef.ide/plugin.properties b/plugins/org.eclipse.eef.ide/plugin.properties new file mode 100644 index 000000000..84644c30c --- /dev/null +++ b/plugins/org.eclipse.eef.ide/plugin.properties @@ -0,0 +1,12 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +pluginName=EEF IDE +providerName=Eclipse Modeling Project + +PluginXML_eefViewDescriptionProviderExtensionPointName=EEF View Description Provider +PluginXML_interpreterProviderExtensionPointName=Interpreter Provider \ No newline at end of file diff --git a/plugins/org.eclipse.eef.ide/plugin.xml b/plugins/org.eclipse.eef.ide/plugin.xml new file mode 100644 index 000000000..bb2621391 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/plugin.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/org.eclipse.eef.ide/schema/eefViewDescriptionProvider.exsd b/plugins/org.eclipse.eef.ide/schema/eefViewDescriptionProvider.exsd new file mode 100644 index 000000000..dac3d7243 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/schema/eefViewDescriptionProvider.exsd @@ -0,0 +1,123 @@ + + + + + + + + + [Enter description of this extension point.] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2.0.0 + + + + + + + + + [Enter extension point usage example here.] + + + + + + + + + [Enter API information here.] + + + + + + + + + [Enter information about supplied implementation of this extension point.] + + + + + diff --git a/plugins/org.eclipse.eef.ide/schema/interpreterProvider.exsd b/plugins/org.eclipse.eef.ide/schema/interpreterProvider.exsd new file mode 100644 index 000000000..413fa69b1 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/schema/interpreterProvider.exsd @@ -0,0 +1,123 @@ + + + + + + + + + [Enter description of this extension point.] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Enter the first release in which this extension point appears.] + + + + + + + + + [Enter extension point usage example here.] + + + + + + + + + [Enter API information here.] + + + + + + + + + [Enter information about supplied implementation of this extension point.] + + + + + diff --git a/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/EEFIdePlugin.java b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/EEFIdePlugin.java new file mode 100644 index 000000000..a3e5ea4b9 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/EEFIdePlugin.java @@ -0,0 +1,209 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.internal; + +import org.eclipse.core.runtime.IExtensionRegistry; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Platform; +import org.eclipse.core.runtime.Status; +import org.eclipse.eef.api.IEEFViewDescriptionProvider; +import org.eclipse.eef.ide.internal.extensions.AbstractRegistryEventListener; +import org.eclipse.eef.ide.internal.extensions.IItemRegistry; +import org.eclipse.eef.ide.internal.extensions.impl.DescriptorRegistryEventListener; +import org.eclipse.eef.ide.internal.extensions.impl.ItemRegistry; +import org.eclipse.eef.interpreter.api.IInterpreterProvider; +import org.eclipse.emf.common.EMFPlugin; +import org.eclipse.emf.common.util.ResourceLocator; +import org.osgi.framework.BundleContext; + +/** + * The plugin class of the bundle. + * + * @author sbegaudeau + */ +public class EEFIdePlugin extends EMFPlugin { + + /** + * The identifier of the plugin. + */ + public static final String PLUGIN_ID = "org.eclipse.eef.ide"; //$NON-NLS-1$ + + /** + * The sole instance of the plugin. + */ + public static final EEFIdePlugin INSTANCE = new EEFIdePlugin(); + + /** + * The name of the extension point for the view provider. + */ + private static final String EEF_VIEW_DESCRIPTION_PROVIDER_EXTENSION_POINT = "eefViewDescriptionProvider"; //$NON-NLS-1$ + + /** + * The name of the extension point for the interpreter provider. + */ + private static final String INTERPRETER_PROVIDER_EXTENSION_POINT = "interpreterProvider"; //$NON-NLS-1$ + + /** + * The OSGi related implementation of the plugin. + */ + private static Implementation plugin; + + /** + * The constructor. + */ + public EEFIdePlugin() { + super(new ResourceLocator[0]); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.emf.common.EMFPlugin#getPluginResourceLocator() + */ + @Override + public ResourceLocator getPluginResourceLocator() { + return plugin; + } + + /** + * Returns the OSGi related implementation. + * + * @return The OSGi related implementation + */ + public static Implementation getImplementation() { + return plugin; + } + + /** + * This class is used as the bundle activator of the plugin. + * + * @author sbegaudeau + */ + public static class Implementation extends EclipsePlugin { + /** + * The {@link IItemRegistry} used to retrieve the EEF View Description providers. + */ + private IItemRegistry eefViewDescriptionProviderRegistry; + + /** + * The extension registry listener used to populate the registry of EEF View Description providers. + */ + private AbstractRegistryEventListener eefViewDescriptionProviderListener; + + /** + * The {@link IItemRegistry} used to retrieve the {@link IInterpreterProvider}. + */ + private IItemRegistry interpreterProviderRegistry; + + /** + * The extension registry listener used to populate the registry of {@link IInterpreterProvider}. + */ + private AbstractRegistryEventListener interpreterProviderListener; + + /** + * The constructor. + */ + public Implementation() { + super(); + + EEFIdePlugin.plugin = this; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext) + */ + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + + IExtensionRegistry registry = Platform.getExtensionRegistry(); + + this.eefViewDescriptionProviderRegistry = new ItemRegistry(); + this.eefViewDescriptionProviderListener = new DescriptorRegistryEventListener(PLUGIN_ID, + EEF_VIEW_DESCRIPTION_PROVIDER_EXTENSION_POINT, this.eefViewDescriptionProviderRegistry); + registry.addListener(this.eefViewDescriptionProviderListener, PLUGIN_ID + '.' + EEF_VIEW_DESCRIPTION_PROVIDER_EXTENSION_POINT); + this.eefViewDescriptionProviderListener.readRegistry(registry); + + this.interpreterProviderRegistry = new ItemRegistry(); + this.interpreterProviderListener = new DescriptorRegistryEventListener(PLUGIN_ID, + INTERPRETER_PROVIDER_EXTENSION_POINT, this.interpreterProviderRegistry); + registry.addListener(this.interpreterProviderListener, PLUGIN_ID + '.' + INTERPRETER_PROVIDER_EXTENSION_POINT); + this.interpreterProviderListener.readRegistry(registry); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) + */ + @Override + public void stop(BundleContext context) throws Exception { + super.stop(context); + + IExtensionRegistry registry = Platform.getExtensionRegistry(); + + registry.removeListener(this.eefViewDescriptionProviderListener); + this.eefViewDescriptionProviderListener = null; + this.eefViewDescriptionProviderRegistry = null; + + registry.removeListener(this.interpreterProviderListener); + this.interpreterProviderListener = null; + this.interpreterProviderRegistry = null; + } + + /** + * Return the viewProviderRegistry. + * + * @return the viewProviderRegistry + */ + public IItemRegistry getEEFViewDescriptionProviderRegistry() { + return this.eefViewDescriptionProviderRegistry; + } + + /** + * Return the interpreterProviderRegistry. + * + * @return the interpreterProviderRegistry + */ + public IItemRegistry getInterpreterProviderRegistry() { + return this.interpreterProviderRegistry; + } + + /** + * Logs an error with the exception and the given message. + * + * @param message + * The message + * @param exception + * The exception + */ + public void logError(String message, Exception exception) { + IStatus status = new Status(IStatus.ERROR, PLUGIN_ID, message, exception); + this.getLog().log(status); + } + + /** + * Logs a warning with the exception and the given message. + * + * @param message + * The message + * @param exception + * The exception + */ + public void logWarning(String message, Exception exception) { + IStatus status = new Status(IStatus.WARNING, PLUGIN_ID, message, exception); + this.getLog().log(status); + } + } + +} diff --git a/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/I18N.java b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/I18N.java new file mode 100644 index 000000000..49c55ed53 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/I18N.java @@ -0,0 +1,149 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.internal; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; +import java.lang.reflect.Field; +import java.lang.reflect.Modifier; +import java.security.AccessController; +import java.security.PrivilegedAction; + +import org.eclipse.emf.common.EMFPlugin; + +/** + * Helper class with bundle-independent code, that can be reused by other I18N + * classes local to each plug-in. + * + * @author pcdavid + */ +public final class I18N { + /** + * Used to mark a {@code public static String} field of a class as an + * externalized string, whose actual value will depend on the locale used at + * runtime. The optional value corresponds to the key in the + * {@code ResourceLocator}; if absent, the name of the field itself is used + * as key. + * + * @author pcdavid + */ + @Retention(RetentionPolicy.RUNTIME) + @Target(ElementType.FIELD) + public @interface TranslatableMessage { + /** + * The (optional) value of the message key. If absent, the key is + * assumed to be the same as the Java field's name. + */ + String[]value() default {}; + } + + /** + * The constructor. + */ + private I18N() { + // Prevent instantiation + } + + /** + * Initializes the value of a class's {@code TranslatableMessage}s using the + * specified plugin as {@code ResourceLocator}. + * + * @param messagesClass + * the class which defines the fields to initialize. + * @param plugin + * the plugin from which to obtain the localized value of the + * fields. + */ + public static void initializeMessages(final Class messagesClass, final EMFPlugin plugin) { + if (System.getSecurityManager() == null) { + load(plugin, messagesClass); + return; + } + AccessController.doPrivileged(new PrivilegedAction() { + @Override + public Void run() { + load(plugin, messagesClass); + return null; + } + }); + } + + /** + * Loads the message class with the given {@link EMFPlugin}. + * + * @param plugin + * The plugin + * @param messagesClass + * The message class + */ + private static void load(EMFPlugin plugin, Class messagesClass) { + for (Field field : messagesClass.getDeclaredFields()) { + if (isMessageField(field)) { + initialize(field, plugin); + } + } + } + + /** + * Indicates if the given field is a message field. + * + * @param field + * The field + * @return true if the given field is a message field, + * false otherwise. + */ + private static boolean isMessageField(Field field) { + int mods = field.getModifiers(); + boolean modsOK = Modifier.isPublic(mods) && Modifier.isStatic(mods) && !Modifier.isFinal(mods); + return modsOK && field.isAnnotationPresent(I18N.TranslatableMessage.class) && field.getType() == String.class; + } + + /** + * Initializes the given field used the plugin. + * + * @param field + * The field to initialize + * @param plugin + * The plugin + */ + private static void initialize(Field field, EMFPlugin plugin) { + String key = getKey(field); + String value = plugin.getString(key); + if (!field.isAccessible()) { + field.setAccessible(true); + } + try { + field.set(null, value); + } catch (IllegalArgumentException e) { + plugin.log(e); + } catch (IllegalAccessException e) { + plugin.log(e); + } + } + + /** + * Returns the key for the given field. + * + * @param field + * The field + * @return The key of the field + */ + private static String getKey(Field field) { + I18N.TranslatableMessage annot = field.getAnnotation(I18N.TranslatableMessage.class); + String[] key = annot.value(); + if (key == null || key.length == 0) { + key = new String[] { field.getName() }; + } + return key[0]; + } +} diff --git a/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/Messages.java b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/Messages.java new file mode 100644 index 000000000..cd7ce1ed3 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/Messages.java @@ -0,0 +1,45 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.internal; + +import org.eclipse.eef.ide.internal.I18N.TranslatableMessage; + +/** + * Utility class used to hold the messages of the bundle. + * + * @author sbegaudeau + */ +public final class Messages { + + static { + I18N.initializeMessages(Messages.class, EEFIdePlugin.INSTANCE); + } + + // CHECKSTYLE:OFF + + @TranslatableMessage + public static String DescriptorRegistryEventListener_missingAttribute; + + @TranslatableMessage + public static String DescriptorRegistryEventListener_cannotInstantiateExtension; + + @TranslatableMessage + public static String DescriptorRegistryEventListener_extensionAlreadyContributed; + + // CHECKSTYLE:ON + + /** + * The constructor. + */ + private Messages() { + // Prevents instantiation + } +} diff --git a/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/AbstractRegistryEventListener.java b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/AbstractRegistryEventListener.java new file mode 100644 index 000000000..e42a68f67 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/AbstractRegistryEventListener.java @@ -0,0 +1,208 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.internal.extensions; + +import org.eclipse.core.runtime.IConfigurationElement; +import org.eclipse.core.runtime.IExtension; +import org.eclipse.core.runtime.IExtensionPoint; +import org.eclipse.core.runtime.IExtensionRegistry; +import org.eclipse.core.runtime.IRegistryEventListener; + +/** + * Utility superclass used to process extensions. + * + * @author sbegaudeau + */ +public abstract class AbstractRegistryEventListener implements IRegistryEventListener { + /** + * This enumeration will be used to distinguish the various states of an + * incoming event. + * + * @author sbegaudeau + */ + protected static enum Action { + /** + * An extension is being added. + */ + ADD, + + /** + * An extension is being removed. + */ + REMOVE + } + + /** + * The namespace of the extension point. + */ + private final String namespace; + + /** + * The identifier of the extension point. + */ + private final String extensionPointID; + + /** + * The constructor. + * + * @param namespace + * The namespace of the extension point + * @param extensionPointID + * The identifier of the extension point + */ + public AbstractRegistryEventListener(String namespace, String extensionPointID) { + this.namespace = namespace; + this.extensionPointID = extensionPointID; + } + + /** + * Reads the extension registry for the addition of new extensions. + * + * @param extensionRegistry + * The extension registry + */ + public void readRegistry(IExtensionRegistry extensionRegistry) { + IExtensionPoint extensionPoint = extensionRegistry.getExtensionPoint(this.namespace, this.extensionPointID); + if (extensionPoint != null) { + IConfigurationElement[] configurationElements = extensionPoint.getConfigurationElements(); + for (IConfigurationElement configurationElement : configurationElements) { + this.processConfigurationElement(configurationElement, Action.ADD); + } + } + } + + /** + * Processes the configuration elements recursively. + * + * @param configurationElement + * The configuration element + * @param action + * Indicates whether we have an addition or a removal of the + * configuration element + */ + private void processConfigurationElement(IConfigurationElement configurationElement, Action action) { + boolean isValid = this.readConfigurationElement(configurationElement, action); + if (isValid) { + IConfigurationElement[] children = configurationElement.getChildren(); + for (IConfigurationElement childConfigurationElement : children) { + this.processConfigurationElement(childConfigurationElement, action); + } + } + } + + /** + * Reads the given configuration element. + * + * @param configurationElement + * The configuration element. + * @param action + * Indicates wether we have an addition or a removal of the + * configuration element + * @return true if the configuration element has been read + * properly + */ + private boolean readConfigurationElement(IConfigurationElement configurationElement, Action action) { + boolean isValid = false; + if (this.validateConfigurationElement(configurationElement)) { + if (Action.ADD == action) { + isValid = this.processAddition(configurationElement); + } else if (Action.REMOVE == action) { + isValid = this.processRemoval(configurationElement); + } + } + return isValid; + } + + /** + * Validates the given configuration element. + * + * @param configurationElement + * The configuration element + * @return true if the configuration element is valid, + * false otherwise + */ + protected abstract boolean validateConfigurationElement(IConfigurationElement configurationElement); + + /** + * Processes the addition of the given configuration element. + * + * @param configurationElement + * The configuration element + * @return true if the configuration element has been properly + * added, false otherwise + */ + protected abstract boolean processAddition(IConfigurationElement configurationElement); + + /** + * Processes the removal of the given configuration element. + * + * @param configurationElement + * The configuration element + * @return true if the configuration element has been properly + * removed, false otherwise + */ + protected abstract boolean processRemoval(IConfigurationElement configurationElement); + + /** + * {@inheritDoc} + * + * @see org.eclipse.core.runtime.IRegistryEventListener#added(org.eclipse.core.runtime.IExtension[]) + */ + @Override + public void added(IExtension[] extensions) { + for (IExtension extension : extensions) { + if (extension.getExtensionPointUniqueIdentifier().equals(this.extensionPointID)) { + IConfigurationElement[] configurationElements = extension.getConfigurationElements(); + for (IConfigurationElement configurationElement : configurationElements) { + this.processConfigurationElement(configurationElement, Action.ADD); + } + } + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.core.runtime.IRegistryEventListener#added(org.eclipse.core.runtime.IExtensionPoint[]) + */ + @Override + public void added(IExtensionPoint[] extensionPoints) { + // do nothing + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.core.runtime.IRegistryEventListener#removed(org.eclipse.core.runtime.IExtension[]) + */ + @Override + public void removed(IExtension[] extensions) { + for (IExtension extension : extensions) { + if (extension.getExtensionPointUniqueIdentifier().equals(this.extensionPointID)) { + IConfigurationElement[] configurationElements = extension.getConfigurationElements(); + for (IConfigurationElement configurationElement : configurationElements) { + this.processConfigurationElement(configurationElement, Action.REMOVE); + } + } + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.core.runtime.IRegistryEventListener#removed(org.eclipse.core.runtime.IExtensionPoint[]) + */ + @Override + public void removed(IExtensionPoint[] extensionPoints) { + // do nothing + } + +} diff --git a/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/IItemDescriptor.java b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/IItemDescriptor.java new file mode 100644 index 000000000..3664067b0 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/IItemDescriptor.java @@ -0,0 +1,49 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.internal.extensions; + +/** + * The description of the Object. + * + * @author sbegaudeau + * + * @param + * The type of the Object described + */ +public interface IItemDescriptor { + /** + * Returns the identifier. + * + * @return The identifier + */ + String getID(); + + /** + * Returns the label. + * + * @return The label + */ + String getLabel(); + + /** + * Returns the description. + * + * @return The description + */ + String getDescription(); + + /** + * Returns the item. + * + * @return The item + */ + T getItem(); +} diff --git a/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/IItemRegistry.java b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/IItemRegistry.java new file mode 100644 index 000000000..6f92d7cbe --- /dev/null +++ b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/IItemRegistry.java @@ -0,0 +1,66 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.internal.extensions; + +import java.util.List; + +/** + * The registry used to track the descriptors of the extensions. + * + * @author sbegaudeau + * + * @param + * The type of the Objects described + */ +public interface IItemRegistry { + /** + * Returns all the {@link IItemDescriptor} of the registry. + * + * @return The list of all the {@link IItemDescriptor} of the registry + */ + List> getItemDescriptors(); + + /** + * Returns the {@link IItemDescriptor} with the given identifier. + * + * @param id + * The identifier + * @return The {@link IItemDescriptor} with the given identifier or null if + * none could be found + */ + IItemDescriptor getItemDescriptor(String id); + + /** + * Adds the given {@link IItemDescriptor} to the registry. + * + * @param descriptor + * The descriptior + * @return The previous {@link IItemDescriptor} with the same identifier, or + * null if no registered {@link IItemDescriptor} had the same + * identifier + */ + IItemDescriptor add(IItemDescriptor descriptor); + + /** + * Removes the {@link IItemDescriptor} with the given identifier. + * + * @param id + * The identifier + * @return The {@link IItemDescriptor} removed or null if no registered + * {@link IItemDescriptor} had an identifier matching the given one + */ + IItemDescriptor remove(String id); + + /** + * Clears the registry. + */ + void clear(); +} diff --git a/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/impl/DescriptorRegistryEventListener.java b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/impl/DescriptorRegistryEventListener.java new file mode 100644 index 000000000..21393cc46 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/impl/DescriptorRegistryEventListener.java @@ -0,0 +1,161 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.internal.extensions.impl; + +import java.text.MessageFormat; + +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IConfigurationElement; +import org.eclipse.eef.ide.internal.EEFIdePlugin; +import org.eclipse.eef.ide.internal.Messages; +import org.eclipse.eef.ide.internal.extensions.AbstractRegistryEventListener; +import org.eclipse.eef.ide.internal.extensions.IItemDescriptor; +import org.eclipse.eef.ide.internal.extensions.IItemRegistry; + +/** + * Utility class used to retrieved the descriptors of extensions. + * + * @author adaussy + * @author sbegaudeau + * + * @param + * The type of the Object described + */ +public class DescriptorRegistryEventListener extends AbstractRegistryEventListener { + /** Id attribute of the extension point. */ + public static final String ID_DESCRIPTOR_ATTR = "id"; //$NON-NLS-1$ + + /** Label attribute of extension point. */ + public static final String LABEL_DESCRIPTOR_ATTR = "label"; //$NON-NLS-1$ + + /** Description attribute of extension point. */ + public static final String DESCRIPTION_DESCRIPTOR_ATTR = "description"; //$NON-NLS-1$ + + /** Implementation class attribute of extension point. */ + public static final String IMPL_CLASS_DESCRIPTOR_ATTR = "class"; //$NON-NLS-1$ + + /** Descriptor tag of extension point. */ + public static final String TAG_DESCRIPTOR = "descriptor"; //$NON-NLS-1$ + + /** + * The item registry. + */ + private IItemRegistry itemRegistry; + + /** + * The constructor. + * + * @param namespace + * The namespace of the extension point + * @param extensionPointID + * The identifier of the extension point + * @param itemRegistry + * The {@link IItemRegistry} + */ + public DescriptorRegistryEventListener(String namespace, String extensionPointID, IItemRegistry itemRegistry) { + super(namespace, extensionPointID); + this.itemRegistry = itemRegistry; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.internal.extensions.AbstractRegistryEventListener#validateConfigurationElement(org.eclipse.core.runtime.IConfigurationElement) + */ + @Override + protected boolean validateConfigurationElement(IConfigurationElement configurationElement) { + boolean isValid = false; + + if (TAG_DESCRIPTOR.equals(configurationElement.getName())) { + if (!this.isValidAttribute(configurationElement, ID_DESCRIPTOR_ATTR)) { + String message = MessageFormat.format(Messages.DescriptorRegistryEventListener_missingAttribute, + configurationElement.getNamespaceIdentifier(), ID_DESCRIPTOR_ATTR); + EEFIdePlugin.getImplementation().logError(message, null); + } else if (!this.isValidAttribute(configurationElement, LABEL_DESCRIPTOR_ATTR)) { + String message = MessageFormat.format(Messages.DescriptorRegistryEventListener_missingAttribute, + configurationElement.getNamespaceIdentifier(), LABEL_DESCRIPTOR_ATTR); + EEFIdePlugin.getImplementation().logError(message, null); + } else if (!this.isValidAttribute(configurationElement, DESCRIPTION_DESCRIPTOR_ATTR)) { + String message = MessageFormat.format(Messages.DescriptorRegistryEventListener_missingAttribute, + configurationElement.getNamespaceIdentifier(), DESCRIPTION_DESCRIPTOR_ATTR); + EEFIdePlugin.getImplementation().logError(message, null); + } else if (!this.isValidAttribute(configurationElement, IMPL_CLASS_DESCRIPTOR_ATTR)) { + String message = MessageFormat.format(Messages.DescriptorRegistryEventListener_missingAttribute, + configurationElement.getNamespaceIdentifier(), IMPL_CLASS_DESCRIPTOR_ATTR); + EEFIdePlugin.getImplementation().logError(message, null); + } else { + isValid = true; + } + } + + return isValid; + } + + /** + * Indicates if an attribute of the configuration element is valid. + * + * @param configurationElement + * The configuration element + * @param attributeName + * The attribute name + * @return true if the attribute is valid, false + * otherwise + */ + private boolean isValidAttribute(IConfigurationElement configurationElement, String attributeName) { + return configurationElement.getAttribute(attributeName) != null + && !"".equals(configurationElement.getAttribute(attributeName)); //$NON-NLS-1$ + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.internal.extensions.AbstractRegistryEventListener#processAddition(org.eclipse.core.runtime.IConfigurationElement) + */ + @SuppressWarnings("unchecked") + @Override + protected boolean processAddition(IConfigurationElement configurationElement) { + String id = configurationElement.getAttribute(ID_DESCRIPTOR_ATTR); + String label = configurationElement.getAttribute(LABEL_DESCRIPTOR_ATTR); + String description = configurationElement.getAttribute(DESCRIPTION_DESCRIPTOR_ATTR); + + try { + T instance = (T) configurationElement.createExecutableExtension(IMPL_CLASS_DESCRIPTOR_ATTR); + + ItemDescriptor descriptor = new ItemDescriptor(id, label, description, instance); + IItemDescriptor previous = this.itemRegistry.add(descriptor); + if (previous != null) { + String message = MessageFormat.format( + Messages.DescriptorRegistryEventListener_extensionAlreadyContributed, + configurationElement.getAttribute(ID_DESCRIPTOR_ATTR)); + EEFIdePlugin.getImplementation().logWarning(message, null); + } + } catch (CoreException e) { + String message = MessageFormat.format(Messages.DescriptorRegistryEventListener_cannotInstantiateExtension, + configurationElement.getAttribute(IMPL_CLASS_DESCRIPTOR_ATTR)); + EEFIdePlugin.getImplementation().logError(message, e); + + return false; + } + + return true; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.internal.extensions.AbstractRegistryEventListener#processRemoval(org.eclipse.core.runtime.IConfigurationElement) + */ + @Override + protected boolean processRemoval(IConfigurationElement configurationElement) { + return this.itemRegistry.remove(configurationElement.getAttribute(ID_DESCRIPTOR_ATTR)) != null; + } + +} diff --git a/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/impl/ItemDescriptor.java b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/impl/ItemDescriptor.java new file mode 100644 index 000000000..e10b91924 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/impl/ItemDescriptor.java @@ -0,0 +1,104 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.internal.extensions.impl; + +import org.eclipse.eef.ide.internal.extensions.IItemDescriptor; + +/** + * The implementation of the {@link IItemDescriptor}. + * + * @author sbegaudeau + * + * @param + * The type of the object described + */ +public class ItemDescriptor implements IItemDescriptor { + + /** + * The identifier. + */ + private String id; + + /** + * The label. + */ + private String label; + + /** + * The description. + */ + private String description; + + /** + * The instance. + */ + private T instance; + + /** + * The constructor. + * + * @param id + * The identifier + * @param label + * The label + * @param description + * The description + * @param instance + * The instance + */ + public ItemDescriptor(String id, String label, String description, T instance) { + this.id = id; + this.label = label; + this.description = description; + this.instance = instance; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.internal.extensions.IItemDescriptor#getID() + */ + @Override + public String getID() { + return this.id; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.internal.extensions.IItemDescriptor#getLabel() + */ + @Override + public String getLabel() { + return this.label; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.internal.extensions.IItemDescriptor#getDescription() + */ + @Override + public String getDescription() { + return this.description; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.internal.extensions.IItemDescriptor#getItem() + */ + @Override + public T getItem() { + return this.instance; + } + +} diff --git a/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/impl/ItemRegistry.java b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/impl/ItemRegistry.java new file mode 100644 index 000000000..9404de4c6 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/impl/ItemRegistry.java @@ -0,0 +1,93 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.internal.extensions.impl; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import org.eclipse.eef.ide.internal.extensions.IItemDescriptor; +import org.eclipse.eef.ide.internal.extensions.IItemRegistry; + +/** + * The implementation of the {@link IItemRegistry}. + * + * @author sbegaudeau + * + * @param + * The type of the object described + */ +public class ItemRegistry implements IItemRegistry { + + /** + * The map of the identifier of the description to the + * {@link IItemDescriptor}. + */ + private Map> id2descriptors = new HashMap>(); + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.internal.extensions.IItemRegistry#getItemDescriptors() + */ + @Override + public List> getItemDescriptors() { + List> descriptors = new ArrayList>(); + Collection> values = this.id2descriptors.values(); + for (IItemDescriptor iItemDescriptor : values) { + descriptors.add(iItemDescriptor); + } + return descriptors; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.internal.extensions.IItemRegistry#getItemDescriptor(java.lang.String) + */ + @Override + public IItemDescriptor getItemDescriptor(String id) { + return this.id2descriptors.get(id); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.internal.extensions.IItemRegistry#add(org.eclipse.eef.ide.internal.extensions.IItemDescriptor) + */ + @Override + public IItemDescriptor add(IItemDescriptor descriptor) { + return this.id2descriptors.put(descriptor.getID(), descriptor); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.internal.extensions.IItemRegistry#remove(java.lang.String) + */ + @Override + public IItemDescriptor remove(String id) { + return this.id2descriptors.remove(id); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.internal.extensions.IItemRegistry#clear() + */ + @Override + public void clear() { + this.id2descriptors.clear(); + } + +} diff --git a/plugins/org.eclipse.eef.interpreter.aql/.checkstyle b/plugins/org.eclipse.eef.interpreter.aql/.checkstyle new file mode 100644 index 000000000..121faf77d --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/.checkstyle @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.interpreter.aql/.classpath b/plugins/org.eclipse.eef.interpreter.aql/.classpath new file mode 100644 index 000000000..ad32c83a7 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/org.eclipse.eef.interpreter.aql/.project b/plugins/org.eclipse.eef.interpreter.aql/.project new file mode 100644 index 000000000..3e05850a5 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/.project @@ -0,0 +1,34 @@ + + + org.eclipse.eef.interpreter.aql + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + net.sf.eclipsecs.core.CheckstyleNature + + diff --git a/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..fb8257839 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,398 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.builder.invalidClasspath=abort +org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=150 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +org.eclipse.jdt.core.incompleteClasspath=error +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.launching.prefs new file mode 100644 index 000000000..3bb235278 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.launching.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..5f4b3bba4 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,67 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;java;javax;org; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=false +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=false +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=true +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=false +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=false +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=false +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=false +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=false +sp_cleanup.remove_unused_private_types=false +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false +sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.core.prefs b/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 000000000..923c37fb8 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +resolve.requirebundle=false diff --git a/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..3112e810d --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=1 +compilers.p.build.java.compiler=1 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=0 +compilers.p.missing-version-import-package=0 +compilers.p.missing-version-require-bundle=0 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=0 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.eef.interpreter.aql/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.interpreter.aql/META-INF/MANIFEST.MF new file mode 100644 index 000000000..3e0ce4c96 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/META-INF/MANIFEST.MF @@ -0,0 +1,18 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.eef.interpreter.aql;singleton:=true +Bundle-Version: 2.0.0.qualifier +Bundle-Vendor: %providerName +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Bundle-Localization: plugin +Import-Package: com.google.common.cache;version="[15.0.0,16.0.0)", + org.eclipse.acceleo.query.runtime;version="[3.6.0,4.0.0)", + org.eclipse.eef.interpreter.api;version="[2.0.0,3.0.0)", + org.eclipse.sirius.expression;version="1.0.0" +Export-Package: org.eclipse.eef.interpreter.aql.internal;version="2.0.0";x-internal:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", + org.eclipse.emf.common;bundle-version="[2.8.0,3.0.0)", + org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)" +Bundle-Activator: org.eclipse.eef.interpreter.aql.internal.AQLInterpreterPlugin$Implementation diff --git a/plugins/org.eclipse.eef.interpreter.aql/about.html b/plugins/org.eclipse.eef.interpreter.aql/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef.interpreter.aql/build.properties b/plugins/org.eclipse.eef.interpreter.aql/build.properties new file mode 100644 index 000000000..d2b00e513 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/build.properties @@ -0,0 +1,15 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.properties,\ + plugin.xml +javacProjectSettings = true +additional.bundles = org.eclipse.acceleo.query diff --git a/plugins/org.eclipse.eef.interpreter.aql/plugin.properties b/plugins/org.eclipse.eef.interpreter.aql/plugin.properties new file mode 100644 index 000000000..8ff7fa490 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/plugin.properties @@ -0,0 +1,13 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +pluginName=EEF Interpreter AQL +providerName=Eclipse Modeling Project + +AQLInterpreter_errorCreateAST=An error has occurred while creating the AST of the expression '{0}'. +AQLInterpreter_errorEvaluation=An error has occurred during the evaluation of the expression '{0}'. +AQLInterpreter_errorRegistrationService=An error has occurred while trying to register the service class '{0}'. \ No newline at end of file diff --git a/plugins/org.eclipse.eef.interpreter.aql/plugin.xml b/plugins/org.eclipse.eef.interpreter.aql/plugin.xml new file mode 100644 index 000000000..5b541e162 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/plugin.xml @@ -0,0 +1,14 @@ + + + + + + + + + diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLEvaluationResult.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLEvaluationResult.java new file mode 100644 index 000000000..394f90af8 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLEvaluationResult.java @@ -0,0 +1,66 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.interpreter.aql.internal; + +import org.eclipse.eef.interpreter.api.IEvaluationResult; +import org.eclipse.emf.common.util.Diagnostic; + +/** + * An implementation of the {@link IEvaluationResult}. + * + * @author sbegaudeau + */ +public class AQLEvaluationResult implements IEvaluationResult { + + /** + * The value returned by the evaluation. + */ + private Object value; + + /** + * The diagnostic of the evaluation. + */ + private Diagnostic diagnostic; + + /** + * The constructor. + * + * @param value + * The value returned by the evaluation + * @param diagnostic + * The diagnostic of the evaluation + */ + public AQLEvaluationResult(Object value, Diagnostic diagnostic) { + this.value = value; + this.diagnostic = diagnostic; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.interpreter.api.IEvaluationResult#getValue() + */ + @Override + public Object getValue() { + return this.value; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.interpreter.api.IEvaluationResult#getDiagnostic() + */ + @Override + public Diagnostic getDiagnostic() { + return this.diagnostic; + } + +} diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java new file mode 100644 index 000000000..984c009ca --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java @@ -0,0 +1,122 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.interpreter.aql.internal; + +import com.google.common.cache.CacheBuilder; +import com.google.common.cache.CacheLoader; +import com.google.common.cache.LoadingCache; + +import java.text.MessageFormat; +import java.util.Map; +import java.util.concurrent.ExecutionException; + +import org.eclipse.acceleo.query.runtime.EvaluationResult; +import org.eclipse.acceleo.query.runtime.IQueryBuilderEngine; +import org.eclipse.acceleo.query.runtime.IQueryBuilderEngine.AstResult; +import org.eclipse.acceleo.query.runtime.IQueryEnvironment; +import org.eclipse.acceleo.query.runtime.IQueryEvaluationEngine; +import org.eclipse.acceleo.query.runtime.InvalidAcceleoPackageException; +import org.eclipse.acceleo.query.runtime.Query; +import org.eclipse.acceleo.query.runtime.QueryEvaluation; +import org.eclipse.acceleo.query.runtime.QueryParsing; +import org.eclipse.eef.interpreter.api.IEvaluationResult; +import org.eclipse.eef.interpreter.api.IInterpreter; +import org.eclipse.eef.interpreter.api.IValidationResult; +import org.eclipse.emf.common.util.BasicDiagnostic; +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.EcorePackage; +import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl; +import org.eclipse.sirius.expression.ExpressionDescription; + +/** + * The AQL {@link IInterpreter}. + * + * @author sbegaudeau + */ +public class AQLInterpreter implements IInterpreter { + + /** + * The query environment. + */ + private IQueryEnvironment queryEnvironment; + + /** + * The cache of the expressions parsed. + */ + private LoadingCache parsedExpressions; + + /** + * The constructor. + */ + public AQLInterpreter() { + this.queryEnvironment = Query.newEnvironmentWithDefaultServices(null); + this.queryEnvironment.registerEPackage(EcorePackage.eINSTANCE); + this.queryEnvironment.registerCustomClassMapping(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class); + try { + this.queryEnvironment.registerServicePackage(DefaultEEFServices.class); + } catch (InvalidAcceleoPackageException e) { + String message = MessageFormat.format(Messages.AQLInterpreter_errorRegistrationService, DefaultEEFServices.class.getSimpleName()); + AQLInterpreterPlugin.getImplementation().logError(message, e); + } + this.initExpressionsCache(); + } + + /** + * Initialize the expression cache. + */ + private void initExpressionsCache() { + final IQueryBuilderEngine builder = QueryParsing.newBuilder(queryEnvironment); + final int cacheSize = 500; + this.parsedExpressions = CacheBuilder.newBuilder().maximumSize(cacheSize).build(new CacheLoader() { + + @Override + public AstResult load(String key) throws Exception { + return builder.build(key); + } + + }); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.interpreter.api.IInterpreter#evaluateExpression(java.util.Map, + * org.eclipse.sirius.expression.ExpressionDescription, java.lang.String) + */ + @Override + public IEvaluationResult evaluateExpression(Map variables, ExpressionDescription expressionDescription, String expressionBody) { + String body = expressionBody.substring(IAQLConstants.AQL_PREFIX.length()); + try { + AstResult astResult = this.parsedExpressions.get(body); + IQueryEvaluationEngine evaluationEngine = QueryEvaluation.newEngine(queryEnvironment); + final EvaluationResult evalResult = evaluationEngine.eval(astResult, variables); + return new AQLEvaluationResult(evalResult.getResult(), evalResult.getDiagnostic()); + } catch (ExecutionException e) { + String message = MessageFormat.format(Messages.AQLInterpreter_errorCreateAST, body); + AQLInterpreterPlugin.getImplementation().logError(message, e); + } + String message = MessageFormat.format(Messages.AQLInterpreter_errorEvaluation, body); + Diagnostic error = new BasicDiagnostic(Diagnostic.ERROR, AQLInterpreterPlugin.PLUGIN_ID, 0, message, new Object[0]); + return new AQLEvaluationResult(null, error); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.interpreter.api.IInterpreter#validateExpression(org.eclipse.sirius.expression.ExpressionDescription, + * java.lang.String) + */ + @Override + public IValidationResult validateExpression(ExpressionDescription expressionDescription, String expressionBody) { + return null; + } + +} diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterPlugin.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterPlugin.java new file mode 100644 index 000000000..e30bfc50e --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterPlugin.java @@ -0,0 +1,107 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.interpreter.aql.internal; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.emf.common.EMFPlugin; +import org.eclipse.emf.common.util.ResourceLocator; + +/** + * The plugin class of the bundle. + * + * @author sbegaudeau + */ +public class AQLInterpreterPlugin extends EMFPlugin { + /** + * The identifier of the plugin. + */ + public static final String PLUGIN_ID = "org.eclipse.eef.interpreter.aql"; //$NON-NLS-1$ + + /** + * The sole instance of the plugin. + */ + public static final AQLInterpreterPlugin INSTANCE = new AQLInterpreterPlugin(); + + /** + * The OSGi related implementation of the plugin. + */ + private static Implementation plugin; + + /** + * The constructor. + */ + public AQLInterpreterPlugin() { + super(new ResourceLocator[0]); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.emf.common.EMFPlugin#getPluginResourceLocator() + */ + @Override + public ResourceLocator getPluginResourceLocator() { + return plugin; + } + + /** + * Returns the OSGi related implementation. + * + * @return The OSGi related implementation + */ + public static Implementation getImplementation() { + return plugin; + } + + /** + * This class isused as the bundle activator of the plugin. + * + * @author sbegaudeau + */ + public static class Implementation extends EclipsePlugin { + + /** + * The constructor. + */ + public Implementation() { + super(); + + AQLInterpreterPlugin.plugin = this; + } + + /** + * Logs an error with the exception and the given message. + * + * @param message + * The message + * @param exception + * The exception + */ + public void logError(String message, Exception exception) { + IStatus status = new Status(IStatus.ERROR, PLUGIN_ID, message, exception); + this.getLog().log(status); + } + + /** + * Logs a warning with the exception and the given message. + * + * @param message + * The message + * @param exception + * The exception + */ + public void logWarning(String message, Exception exception) { + IStatus status = new Status(IStatus.WARNING, PLUGIN_ID, message, exception); + this.getLog().log(status); + } + } +} diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterProvider.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterProvider.java new file mode 100644 index 000000000..cfc822bf6 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterProvider.java @@ -0,0 +1,43 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.interpreter.aql.internal; + +import org.eclipse.eef.interpreter.api.IInterpreter; +import org.eclipse.eef.interpreter.api.IInterpreterProvider; + +/** + * The AQL {@link IInterpreterProvider}. + * + * @author sbegaudeau + */ +public class AQLInterpreterProvider implements IInterpreterProvider { + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.interpreter.api.IInterpreterProvider#canHandle(java.lang.String) + */ + @Override + public boolean canHandle(String expression) { + return expression != null && expression.startsWith(IAQLConstants.AQL_PREFIX); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.interpreter.api.IInterpreterProvider#createInterpreter() + */ + @Override + public IInterpreter createInterpreter() { + return new AQLInterpreter(); + } + +} diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/DefaultEEFServices.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/DefaultEEFServices.java new file mode 100644 index 000000000..715d80fa6 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/DefaultEEFServices.java @@ -0,0 +1,50 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.interpreter.aql.internal; + +import java.util.Collection; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EStructuralFeature; + +/** + * This class contains all the default services for EEF. + * + * @author sbegaudeau + */ +public class DefaultEEFServices { + /** + * Sets the value of the given feature of the object to the new value. + * + * @param eObject + * The current EObject + * @param eStructuralFeatureName + * The name of the {@link EStructuralFeature} + * @param value + * The new value + * @return The current EObject + */ + public EObject eSet(EObject eObject, String eStructuralFeatureName, Object value) { + EStructuralFeature eStructuralFeature = eObject.eClass().getEStructuralFeature(eStructuralFeatureName); + if (eStructuralFeature.getUpperBound() == -1 || eStructuralFeature.getUpperBound() > 1) { + Object currentValue = eObject.eGet(eStructuralFeature); + if (currentValue instanceof Collection) { + @SuppressWarnings("unchecked") + Collection collection = (Collection) currentValue; + collection.add(value); + } + } else { + eObject.eSetDeliver(true); + eObject.eSet(eStructuralFeature, value); + } + return eObject; + } +} diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/I18N.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/I18N.java new file mode 100644 index 000000000..831c5e7bd --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/I18N.java @@ -0,0 +1,149 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.interpreter.aql.internal; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; +import java.lang.reflect.Field; +import java.lang.reflect.Modifier; +import java.security.AccessController; +import java.security.PrivilegedAction; + +import org.eclipse.emf.common.EMFPlugin; + +/** + * Helper class with bundle-independent code, that can be reused by other I18N + * classes local to each plug-in. + * + * @author pcdavid + */ +public final class I18N { + /** + * Used to mark a {@code public static String} field of a class as an + * externalized string, whose actual value will depend on the locale used at + * runtime. The optional value corresponds to the key in the + * {@code ResourceLocator}; if absent, the name of the field itself is used + * as key. + * + * @author pcdavid + */ + @Retention(RetentionPolicy.RUNTIME) + @Target(ElementType.FIELD) + public @interface TranslatableMessage { + /** + * The (optional) value of the message key. If absent, the key is + * assumed to be the same as the Java field's name. + */ + String[]value() default {}; + } + + /** + * The constructor. + */ + private I18N() { + // Prevent instantiation + } + + /** + * Initializes the value of a class's {@code TranslatableMessage}s using the + * specified plugin as {@code ResourceLocator}. + * + * @param messagesClass + * the class which defines the fields to initialize. + * @param plugin + * the plugin from which to obtain the localized value of the + * fields. + */ + public static void initializeMessages(final Class messagesClass, final EMFPlugin plugin) { + if (System.getSecurityManager() == null) { + load(plugin, messagesClass); + return; + } + AccessController.doPrivileged(new PrivilegedAction() { + @Override + public Void run() { + load(plugin, messagesClass); + return null; + } + }); + } + + /** + * Loads the message class with the given {@link EMFPlugin}. + * + * @param plugin + * The plugin + * @param messagesClass + * The message class + */ + private static void load(EMFPlugin plugin, Class messagesClass) { + for (Field field : messagesClass.getDeclaredFields()) { + if (isMessageField(field)) { + initialize(field, plugin); + } + } + } + + /** + * Indicates if the given field is a message field. + * + * @param field + * The field + * @return true if the given field is a message field, + * false otherwise. + */ + private static boolean isMessageField(Field field) { + int mods = field.getModifiers(); + boolean modsOK = Modifier.isPublic(mods) && Modifier.isStatic(mods) && !Modifier.isFinal(mods); + return modsOK && field.isAnnotationPresent(I18N.TranslatableMessage.class) && field.getType() == String.class; + } + + /** + * Initializes the given field used the plugin. + * + * @param field + * The field to initialize + * @param plugin + * The plugin + */ + private static void initialize(Field field, EMFPlugin plugin) { + String key = getKey(field); + String value = plugin.getString(key); + if (!field.isAccessible()) { + field.setAccessible(true); + } + try { + field.set(null, value); + } catch (IllegalArgumentException e) { + plugin.log(e); + } catch (IllegalAccessException e) { + plugin.log(e); + } + } + + /** + * Returns the key for the given field. + * + * @param field + * The field + * @return The key of the field + */ + private static String getKey(Field field) { + I18N.TranslatableMessage annot = field.getAnnotation(I18N.TranslatableMessage.class); + String[] key = annot.value(); + if (key == null || key.length == 0) { + key = new String[] { field.getName() }; + } + return key[0]; + } +} diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/IAQLConstants.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/IAQLConstants.java new file mode 100644 index 000000000..bdbcdf8f6 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/IAQLConstants.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.interpreter.aql.internal; + +/** + * Utility interface holding constants. + * + * @author sbegaudeau + */ +public interface IAQLConstants { + /** + * The AQL prefix. + */ + String AQL_PREFIX = "aql:"; //$NON-NLS-1$ +} diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/Messages.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/Messages.java new file mode 100644 index 000000000..863ceb51e --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/Messages.java @@ -0,0 +1,45 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.interpreter.aql.internal; + +import org.eclipse.eef.interpreter.aql.internal.I18N.TranslatableMessage; + +/** + * Utility class used to hold the messages of the bundle. + * + * @author sbegaudeau + */ +public final class Messages { + + static { + I18N.initializeMessages(Messages.class, AQLInterpreterPlugin.INSTANCE); + } + + // CHECKSTYLE:OFF + + @TranslatableMessage + public static String AQLInterpreter_errorCreateAST; + + @TranslatableMessage + public static String AQLInterpreter_errorEvaluation; + + @TranslatableMessage + public static String AQLInterpreter_errorRegistrationService; + + // CHECKSTYLE:ON + + /** + * The constructor. + */ + private Messages() { + // Prevents instantiation + } +} diff --git a/plugins/org.eclipse.eef.interpreter/.checkstyle b/plugins/org.eclipse.eef.interpreter/.checkstyle new file mode 100644 index 000000000..121faf77d --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/.checkstyle @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/plugins/org.eclipse.eef.interpreter/.classpath b/plugins/org.eclipse.eef.interpreter/.classpath new file mode 100644 index 000000000..ad32c83a7 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/org.eclipse.eef.interpreter/.project b/plugins/org.eclipse.eef.interpreter/.project new file mode 100644 index 000000000..7c045513b --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/.project @@ -0,0 +1,34 @@ + + + org.eclipse.eef.interpreter + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + net.sf.eclipsecs.core.CheckstyleNature + + diff --git a/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..fb8257839 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,398 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.builder.invalidClasspath=abort +org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=150 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +org.eclipse.jdt.core.incompleteClasspath=error +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.launching.prefs new file mode 100644 index 000000000..3bb235278 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.launching.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..43ccc83c4 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,67 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;java;javax;org; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=false +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=false +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=true +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=false +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=false +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=false +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=false +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=false +sp_cleanup.remove_unused_private_types=false +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false +sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.core.prefs b/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 000000000..923c37fb8 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +resolve.requirebundle=false diff --git a/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..3112e810d --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=1 +compilers.p.build.java.compiler=1 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=0 +compilers.p.missing-version-import-package=0 +compilers.p.missing-version-require-bundle=0 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=0 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.eef.interpreter/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.interpreter/META-INF/MANIFEST.MF new file mode 100644 index 000000000..fe3523554 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.eef.interpreter +Bundle-Version: 2.0.0.qualifier +Bundle-Vendor: %providerName +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Require-Bundle: org.eclipse.emf.common;bundle-version="[2.8.0,3.0.0)" +Export-Package: org.eclipse.eef.interpreter.api;version="2.0.0" +Bundle-Localization: plugin +Import-Package: org.eclipse.sirius.expression;version="[1.0.0,2.0.0)" diff --git a/plugins/org.eclipse.eef.interpreter/about.html b/plugins/org.eclipse.eef.interpreter/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef.interpreter/build.properties b/plugins/org.eclipse.eef.interpreter/build.properties new file mode 100644 index 000000000..ec069b05e --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/build.properties @@ -0,0 +1,14 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.properties +javacProjectSettings = true +additional.bundles = org.eclipse.sirius.expression diff --git a/plugins/org.eclipse.eef.interpreter/plugin.properties b/plugins/org.eclipse.eef.interpreter/plugin.properties new file mode 100644 index 000000000..d349c5863 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/plugin.properties @@ -0,0 +1,9 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +pluginName=EEF Interpreter +providerName=Eclipse Modeling Project diff --git a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IEvaluationResult.java b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IEvaluationResult.java new file mode 100644 index 000000000..95d6db164 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IEvaluationResult.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.interpreter.api; + +import org.eclipse.emf.common.util.Diagnostic; + +/** + * The evaluation result. + * + * @author sbegaudeau + */ +public interface IEvaluationResult { + /** + * The value returned by the expression. + * + * @return The value returned by the expression + */ + Object getValue(); + + /** + * The diagnostic of the evaluation. + * + * @return The diagnostic + */ + Diagnostic getDiagnostic(); +} diff --git a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java new file mode 100644 index 000000000..814b383a9 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java @@ -0,0 +1,48 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.interpreter.api; + +import java.util.Map; + +import org.eclipse.sirius.expression.ExpressionDescription; + +/** + * Common interface of all the interpreters used by the EEF runtime. + * + * @author sbegaudeau + */ +public interface IInterpreter { + /** + * Evaluates the expression with the given body and parameters. + * + * @param variables + * The variables used to evaluate the expression + * @param expressionDescription + * The description of the expression + * @param expressionBody + * The body of the expression + * @return The result of the evaluation + * @throws EvaluationException + * In case of error during the evaluation + */ + IEvaluationResult evaluateExpression(Map variables, ExpressionDescription expressionDescription, String expressionBody); + + /** + * Validates the expression with the given body and parameters. + * + * @param expressionDescription + * The description of the expression + * @param expressionBody + * The body of the expression + * @return The evaluation result + */ + IValidationResult validateExpression(ExpressionDescription expressionDescription, String expressionBody); +} diff --git a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreterProvider.java b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreterProvider.java new file mode 100644 index 000000000..47d18a0c3 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreterProvider.java @@ -0,0 +1,35 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.interpreter.api; + +/** + * This class is used to create a new instance of an interpreter and determine if it can handle a given expression. + * + * @author sbegaudeau + */ +public interface IInterpreterProvider { + /** + * Indicates if the {@link IInterpreter} that can be created by this provider can handle the given expression. + * + * @param expression + * The expression + * @return true if the {@link IInterpreter} that can be created can handle the given expression, + * false otherwise + */ + boolean canHandle(String expression); + + /** + * Creates a new instance of the interpreter. + * + * @return A new instance of the interpreter + */ + IInterpreter createInterpreter(); +} diff --git a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IValidationResult.java b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IValidationResult.java new file mode 100644 index 000000000..f3c5ac811 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IValidationResult.java @@ -0,0 +1,27 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.interpreter.api; + +import org.eclipse.emf.common.util.Diagnostic; + +/** + * The result of the validation. + * + * @author sbegaudeau + */ +public interface IValidationResult { + /** + * Returns the diagnostic. + * + * @return The diagnostic + */ + Diagnostic getDiagonstic(); +} diff --git a/plugins/org.eclipse.eef/.checkstyle b/plugins/org.eclipse.eef/.checkstyle new file mode 100644 index 000000000..f1a81eec7 --- /dev/null +++ b/plugins/org.eclipse.eef/.checkstyle @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef/.classpath b/plugins/org.eclipse.eef/.classpath index 75556083f..42271a8c6 100644 --- a/plugins/org.eclipse.eef/.classpath +++ b/plugins/org.eclipse.eef/.classpath @@ -1,7 +1,12 @@ - - + + + + + + + diff --git a/plugins/org.eclipse.eef/.project b/plugins/org.eclipse.eef/.project index 24868d6b1..6ef908402 100644 --- a/plugins/org.eclipse.eef/.project +++ b/plugins/org.eclipse.eef/.project @@ -20,10 +20,16 @@ + + net.sf.eclipsecs.core.CheckstyleBuilder + + + org.eclipse.sirius.nature.modelingproject org.eclipse.jdt.core.javanature org.eclipse.pde.PluginNature + net.sf.eclipsecs.core.CheckstyleNature diff --git a/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.core.prefs index 5114a7f42..fb8257839 100644 --- a/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.core.prefs +++ b/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.core.prefs @@ -1,15 +1,114 @@ eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.builder.invalidClasspath=abort +org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.compliance=1.6 org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.7 +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 @@ -70,7 +169,7 @@ org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true org.eclipse.jdt.core.formatter.comment.indent_root_tags=true org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert -org.eclipse.jdt.core.formatter.comment.line_length=80 +org.eclipse.jdt.core.formatter.comment.line_length=120 org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false @@ -281,7 +380,7 @@ org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false -org.eclipse.jdt.core.formatter.lineSplit=120 +org.eclipse.jdt.core.formatter.lineSplit=150 org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 @@ -289,9 +388,11 @@ org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true org.eclipse.jdt.core.formatter.tabulation.char=tab org.eclipse.jdt.core.formatter.tabulation.size=4 -org.eclipse.jdt.core.formatter.use_on_off_tags=false +org.eclipse.jdt.core.formatter.use_on_off_tags=true org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +org.eclipse.jdt.core.incompleteClasspath=error org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.launching.prefs new file mode 100644 index 000000000..3bb235278 --- /dev/null +++ b/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.launching.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.ui.prefs index 806bfa255..e6ceed5c2 100644 --- a/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.ui.prefs +++ b/plugins/org.eclipse.eef/.settings/org.eclipse.jdt.ui.prefs @@ -1,68 +1,67 @@ -cleanup.add_default_serial_version_id=true -cleanup.add_generated_serial_version_id=false -cleanup.add_missing_annotations=true -cleanup.add_missing_deprecated_annotations=true -cleanup.add_missing_methods=false -cleanup.add_missing_nls_tags=false -cleanup.add_missing_override_annotations=true -cleanup.add_missing_override_annotations_interface_methods=true -cleanup.add_serial_version_id=false -cleanup.always_use_blocks=true -cleanup.always_use_parentheses_in_expressions=false -cleanup.always_use_this_for_non_static_field_access=false -cleanup.always_use_this_for_non_static_method_access=false -cleanup.convert_functional_interfaces=false -cleanup.convert_to_enhanced_for_loop=false -cleanup.correct_indentation=false -cleanup.format_source_code=false -cleanup.format_source_code_changes_only=false -cleanup.insert_inferred_type_arguments=false -cleanup.make_local_variable_final=true -cleanup.make_parameters_final=false -cleanup.make_private_fields_final=true -cleanup.make_type_abstract_if_missing_method=false -cleanup.make_variable_declarations_final=false -cleanup.never_use_blocks=false -cleanup.never_use_parentheses_in_expressions=true -cleanup.organize_imports=false -cleanup.qualify_static_field_accesses_with_declaring_class=false -cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true -cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true -cleanup.qualify_static_member_accesses_with_declaring_class=true -cleanup.qualify_static_method_accesses_with_declaring_class=false -cleanup.remove_private_constructors=true -cleanup.remove_redundant_type_arguments=true -cleanup.remove_trailing_whitespaces=false -cleanup.remove_trailing_whitespaces_all=true -cleanup.remove_trailing_whitespaces_ignore_empty=false -cleanup.remove_unnecessary_casts=true -cleanup.remove_unnecessary_nls_tags=true -cleanup.remove_unused_imports=true -cleanup.remove_unused_local_variables=false -cleanup.remove_unused_private_fields=true -cleanup.remove_unused_private_members=false -cleanup.remove_unused_private_methods=true -cleanup.remove_unused_private_types=true -cleanup.sort_members=false -cleanup.sort_members_all=false -cleanup.use_anonymous_class_creation=false -cleanup.use_blocks=false -cleanup.use_blocks_only_for_return_and_throw=false -cleanup.use_lambda=true -cleanup.use_parentheses_in_expressions=false -cleanup.use_this_for_non_static_field_access=false -cleanup.use_this_for_non_static_field_access_only_if_necessary=true -cleanup.use_this_for_non_static_method_access=false -cleanup.use_this_for_non_static_method_access_only_if_necessary=true -cleanup.use_type_arguments=false -cleanup_profile=org.eclipse.jdt.ui.default.eclipse_clean_up_profile -cleanup_settings_version=2 eclipse.preferences.version=1 -formatter_profile=org.eclipse.jdt.ui.default.eclipse_profile +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true formatter_settings_version=12 org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=java;javax;org;com; -org.eclipse.jdt.ui.javadoc=false +org.eclipse.jdt.ui.importorder=com;java;javax;org; +org.eclipse.jdt.ui.javadoc=true org.eclipse.jdt.ui.ondemandthreshold=99 org.eclipse.jdt.ui.staticondemandthreshold=99 -org.eclipse.jdt.ui.text.custom_code_templates= +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=false +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=false +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=true +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=false +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=false +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=false +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=false +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=false +sp_cleanup.remove_unused_private_types=false +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false +sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.eef/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.eef/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..3112e810d --- /dev/null +++ b/plugins/org.eclipse.eef/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=1 +compilers.p.build.java.compiler=1 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=0 +compilers.p.missing-version-import-package=0 +compilers.p.missing-version-require-bundle=0 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=0 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.eef/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef/META-INF/MANIFEST.MF index 30068c0b6..a7ae3fd84 100644 --- a/plugins/org.eclipse.eef/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef/META-INF/MANIFEST.MF @@ -2,15 +2,16 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.eef;singleton:=true -Bundle-Version: 1.0.0.qualifier +Bundle-Version: 2.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 -Export-Package: org.eclipse.eef.eef, - org.eclipse.eef.eef.impl, - org.eclipse.eef.eef.util -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.emf.ecore;visibility:=reexport, - org.eclipse.sirius.context;visibility:=reexport +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.eef;version="2.0.0", + org.eclipse.eef.api;version="2.0.0", + org.eclipse.eef.impl;version="2.0.0", + org.eclipse.eef.util;version="2.0.0" +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", + org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, + org.eclipse.sirius.context;bundle-version="[1.0.0,2.0.0)";visibility:=reexport Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.eef/about.html b/plugins/org.eclipse.eef/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.eef/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef/build.properties b/plugins/org.eclipse.eef/build.properties index 7d34bdaed..e3c94e06e 100644 --- a/plugins/org.eclipse.eef/build.properties +++ b/plugins/org.eclipse.eef/build.properties @@ -9,7 +9,10 @@ bin.includes = .,\ model/,\ META-INF/,\ plugin.xml,\ - plugin.properties + plugin.properties,\ + about.html jars.compile.order = . -source.. = src-gen/ +source.. = src-gen/,\ + src/ output.. = bin/ +javacProjectSettings = true diff --git a/plugins/org.eclipse.eef/model/EEFExpression.xmi b/plugins/org.eclipse.eef/model/EEFExpression.xmi index e07a98cb8..dee7f5341 100644 --- a/plugins/org.eclipse.eef/model/EEFExpression.xmi +++ b/plugins/org.eclipse.eef/model/EEFExpression.xmi @@ -90,7 +90,7 @@ + label="semanticCandidateExpression"> @@ -115,7 +115,7 @@ + label="semanticCandidateExpression"> @@ -136,9 +136,6 @@ - @@ -161,29 +158,6 @@ - - - - - - - - - - @@ -191,7 +165,7 @@ name="newValue" documentation="The variable containing the new updated value."/> - - - + + + @@ -119,9 +119,9 @@ - - - + + + @@ -148,10 +148,6 @@ - - - - @@ -2411,10 +2407,10 @@ - - - - + + + + @@ -2457,10 +2453,10 @@ - - - - + + + + @@ -2529,14 +2525,6 @@ - - - - - - - - @@ -10890,8 +10878,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -10921,10 +10907,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -10962,10 +10948,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -11006,10 +10992,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -11036,6 +11022,8 @@ + + @@ -11777,8 +11765,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -11810,6 +11796,8 @@ + + @@ -11828,8 +11816,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -11870,6 +11856,8 @@ + + @@ -11888,8 +11876,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -11960,6 +11946,8 @@ + + @@ -11994,8 +11982,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12011,6 +11997,8 @@ + + @@ -12021,8 +12009,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12096,6 +12082,8 @@ + + @@ -12130,8 +12118,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12147,6 +12133,8 @@ + + @@ -12157,8 +12145,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12174,10 +12160,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12218,10 +12204,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12273,10 +12259,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12328,10 +12314,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12369,10 +12355,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12413,10 +12399,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12454,6 +12440,8 @@ + + @@ -12560,8 +12548,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12632,10 +12618,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12676,6 +12662,8 @@ + + @@ -14166,9 +14154,7 @@ - - @@ -14179,11 +14165,11 @@ - + + - @@ -14214,11 +14200,11 @@ - + + - @@ -14259,11 +14245,11 @@ - + + - @@ -14289,11 +14275,11 @@ - + + - @@ -14349,11 +14335,11 @@ - + + - @@ -14419,11 +14405,11 @@ - + + - @@ -14554,11 +14540,11 @@ - + + - @@ -14589,11 +14575,11 @@ - + + - @@ -14724,11 +14710,11 @@ - + + - @@ -14759,11 +14745,11 @@ - + + - @@ -14794,11 +14780,11 @@ - + + - @@ -14864,11 +14850,11 @@ - + + - @@ -14914,11 +14900,11 @@ - + + - @@ -15014,11 +15000,11 @@ - + + - @@ -15074,11 +15060,11 @@ - + + - @@ -15134,11 +15120,11 @@ - + + - @@ -15204,11 +15190,11 @@ - + + - @@ -15319,11 +15305,11 @@ - + + - @@ -15389,8 +15375,9 @@ - + + @@ -15498,11 +15485,10 @@ + - - @@ -15513,11 +15499,11 @@ - + + - @@ -15548,11 +15534,11 @@ - + + - @@ -15593,11 +15579,11 @@ - + + - @@ -15623,11 +15609,11 @@ - + + - @@ -15688,11 +15674,11 @@ - + + - @@ -15763,11 +15749,11 @@ - + + - @@ -15908,11 +15894,11 @@ - + + - @@ -15948,11 +15934,11 @@ - + + - @@ -16093,11 +16079,11 @@ - + + - @@ -16133,11 +16119,11 @@ - + + - @@ -16173,11 +16159,11 @@ - + + - @@ -16248,11 +16234,11 @@ - + + - @@ -16288,11 +16274,11 @@ - + + - @@ -16398,11 +16384,11 @@ - + + - @@ -16473,11 +16459,11 @@ - + + - @@ -16548,11 +16534,11 @@ - + + - @@ -16623,11 +16609,11 @@ - + + - @@ -16768,11 +16754,11 @@ - + + - @@ -16843,8 +16829,9 @@ - + + @@ -16982,6 +16969,7 @@ + diff --git a/plugins/org.eclipse.eef/model/eef.ecore b/plugins/org.eclipse.eef/model/eef.ecore index 321e7d3a3..2deadfad9 100644 --- a/plugins/org.eclipse.eef/model/eef.ecore +++ b/plugins/org.eclipse.eef/model/eef.ecore @@ -117,7 +117,7 @@
-
@@ -140,7 +140,7 @@
-
@@ -186,12 +186,6 @@
- - -
- - diff --git a/plugins/org.eclipse.eef/model/eef.genmodel b/plugins/org.eclipse.eef/model/eef.genmodel index 1897b0f4c..d4f31f53f 100644 --- a/plugins/org.eclipse.eef/model/eef.genmodel +++ b/plugins/org.eclipse.eef/model/eef.genmodel @@ -5,10 +5,10 @@ editorDirectory="/org.eclipse.eef.editor/src-gen" modelPluginID="org.eclipse.eef" modelName="Eef" nonNLSMarkers="true" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.ecore" - containmentProxies="true" complianceLevel="7.0" copyrightFields="false" usedGenPackages="../../org.eclipse.sirius.context/model/context.genmodel#//context" + containmentProxies="true" complianceLevel="6.0" copyrightFields="false" usedGenPackages="../../org.eclipse.sirius.context/model/context.genmodel#//context" importOrganizing="true" cleanup="true"> eef.ecore - @@ -35,12 +35,12 @@ - + - + @@ -49,7 +49,6 @@ - diff --git a/plugins/org.eclipse.eef/plugin.properties b/plugins/org.eclipse.eef/plugin.properties index d77686d53..c258a3536 100644 --- a/plugins/org.eclipse.eef/plugin.properties +++ b/plugins/org.eclipse.eef/plugin.properties @@ -5,5 +5,5 @@ # http://www.eclipse.org/legal/epl-v10.htm # Contributors: Obeo - initial API and implementation -pluginName = Eef Model -providerName = www.example.org +pluginName = EEF Model +providerName = Eclipse Modeling Project diff --git a/plugins/org.eclipse.eef/plugin.xml b/plugins/org.eclipse.eef/plugin.xml index 148f29b1e..381b95aa9 100644 --- a/plugins/org.eclipse.eef/plugin.xml +++ b/plugins/org.eclipse.eef/plugin.xml @@ -16,7 +16,7 @@ diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/ContextableElement.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/ContextableElement.java new file mode 100644 index 000000000..470427473 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/ContextableElement.java @@ -0,0 +1,69 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.context.ContextVariable; + +/** + * + * A representation of the model object 'Contextable Element'. + * + * + * + * Represents an element which can provide a context. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.ContextableElement#getRequiredContextVariables Required Context Variables}
  • + *
  • {@link org.eclipse.eef.ContextableElement#getExcludedContextVariables Excluded Context Variables}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getContextableElement() + * @model abstract="true" + * @generated + */ +public interface ContextableElement extends EObject { + /** + * Returns the value of the 'Required Context Variables' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.context.ContextVariable}. + * + * + * + * Defines variables associated to the required contexts. + * + * @return the value of the 'Required Context Variables' containment reference list. + * @see org.eclipse.eef.EefPackage#getContextableElement_RequiredContextVariables() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getRequiredContextVariables(); + + /** + * Returns the value of the 'Excluded Context Variables' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.context.ContextVariable}. + * + * + * + * Defines variables associated to the excluded contexts. + * + * @return the value of the 'Excluded Context Variables' containment reference list. + * @see org.eclipse.eef.EefPackage#getContextableElement_ExcludedContextVariables() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getExcludedContextVariables(); + +} // ContextableElement diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTableStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTableStructureDescription.java new file mode 100644 index 000000000..3122bcb47 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTableStructureDescription.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Adapter Factory Table Structure Description'. + * + * + * + * Defines the structure of a Tree from an AdapterFactory. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFAdapterFactoryTableStructureDescription() + * @model + * @generated + */ +public interface EEFAdapterFactoryTableStructureDescription extends EEFTableStructureDescription { + /** + * Returns the value of the 'Adapter Factory Provider' attribute. + * + * + * + * The qualified name of the adapter factory Java class. + * + * @return the value of the 'Adapter Factory Provider' attribute. + * @see #setAdapterFactoryProvider(String) + * @see org.eclipse.eef.EefPackage#getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider() + * @model + * @generated + */ + String getAdapterFactoryProvider(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}' attribute. + * + * + * @param value the new value of the 'Adapter Factory Provider' attribute. + * @see #getAdapterFactoryProvider() + * @generated + */ + void setAdapterFactoryProvider(String value); + +} // EEFAdapterFactoryTableStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTreeStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTreeStructureDescription.java new file mode 100644 index 000000000..335da0bfc --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTreeStructureDescription.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Adapter Factory Tree Structure Description'. + * + * + * + * Defines the structure of a Tree from an AdapterFactory. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFAdapterFactoryTreeStructureDescription() + * @model + * @generated + */ +public interface EEFAdapterFactoryTreeStructureDescription extends EEFTreeStructureDescription { + /** + * Returns the value of the 'Adapter Factory Provider' attribute. + * + * + * + * The qualified name of the adapter factory Java class. + * + * @return the value of the 'Adapter Factory Provider' attribute. + * @see #setAdapterFactoryProvider(String) + * @see org.eclipse.eef.EefPackage#getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider() + * @model + * @generated + */ + String getAdapterFactoryProvider(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}' attribute. + * + * + * @param value the new value of the 'Adapter Factory Provider' attribute. + * @see #getAdapterFactoryProvider() + * @generated + */ + void setAdapterFactoryProvider(String value); + +} // EEFAdapterFactoryTreeStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCellWidgetDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCellWidgetDescription.java new file mode 100644 index 000000000..70407811a --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCellWidgetDescription.java @@ -0,0 +1,26 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Cell Widget Description'. + * + * + * + * Defines widget which is visible in a table cell. + * + * + * + * @see org.eclipse.eef.EefPackage#getEEFCellWidgetDescription() + * @model abstract="true" + * @generated + */ +public interface EEFCellWidgetDescription extends EEFWidgetDescription { +} // EEFCellWidgetDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxDescription.java new file mode 100644 index 000000000..998fec275 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxDescription.java @@ -0,0 +1,83 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Checkbox Description'. + * + * + * + * Represents a checkbox in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFCheckboxDescription#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.EEFCheckboxDescription#getEditExpression Edit Expression}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFCheckboxDescription() + * @model + * @generated + */ +public interface EEFCheckboxDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * Indicates how to display the input value. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFCheckboxDescription_ValueExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFCheckboxDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + + /** + * Returns the value of the 'Edit Expression' attribute. + * + * + * + * Defines the behavior executed when the end-user updates the value of the checkbox. + * + * @return the value of the 'Edit Expression' attribute. + * @see #setEditExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFCheckboxDescription_EditExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getEditExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFCheckboxDescription#getEditExpression Edit Expression}' attribute. + * + * + * @param value the new value of the 'Edit Expression' attribute. + * @see #getEditExpression() + * @generated + */ + void setEditExpression(String value); + +} // EEFCheckboxDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java new file mode 100644 index 000000000..de2ca0d8e --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java @@ -0,0 +1,138 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Column Description'. + * + * + * + * Represents a Column in a Table in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFColumnDescription#getWidth Width}
  • + *
  • {@link org.eclipse.eef.EEFColumnDescription#getHeaderExpression Header Expression}
  • + *
  • {@link org.eclipse.eef.EEFColumnDescription#getCellWidget Cell Widget}
  • + *
  • {@link org.eclipse.eef.EEFColumnDescription#getContextCandidatesExpression Context Candidates Expression}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFColumnDescription() + * @model + * @generated + */ +public interface EEFColumnDescription extends EObject { + /** + * Returns the value of the 'Width' attribute. + * + * + * + * Defines the initial width of a column. It is a percentage of the total + * + * @return the value of the 'Width' attribute. + * @see #setWidth(int) + * @see org.eclipse.eef.EefPackage#getEEFColumnDescription_Width() + * @model + * @generated + */ + int getWidth(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFColumnDescription#getWidth Width}' attribute. + * + * + * @param value the new value of the 'Width' attribute. + * @see #getWidth() + * @generated + */ + void setWidth(int value); + + /** + * Returns the value of the 'Header Expression' attribute. + * + * + * + * Indicates how to display the column table header. + * + * @return the value of the 'Header Expression' attribute. + * @see #setHeaderExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFColumnDescription_HeaderExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getHeaderExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFColumnDescription#getHeaderExpression Header Expression}' attribute. + * + * + * @param value the new value of the 'Header Expression' attribute. + * @see #getHeaderExpression() + * @generated + */ + void setHeaderExpression(String value); + + /** + * Returns the value of the 'Cell Widget' reference. + * + * + * + * References the widget to represent in the cell. + * + * @return the value of the 'Cell Widget' reference. + * @see #setCellWidget(EEFCellWidgetDescription) + * @see org.eclipse.eef.EefPackage#getEEFColumnDescription_CellWidget() + * @model + * @generated + */ + EEFCellWidgetDescription getCellWidget(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFColumnDescription#getCellWidget Cell Widget}' reference. + * + * + * @param value the new value of the 'Cell Widget' reference. + * @see #getCellWidget() + * @generated + */ + void setCellWidget(EEFCellWidgetDescription value); + + /** + * Returns the value of the 'Context Candidates Expression' attribute. + * + *

+ * If the meaning of the 'Context Candidates Expression' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Context Candidates Expression' attribute. + * @see #setContextCandidatesExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFColumnDescription_ContextCandidatesExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getContextCandidatesExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFColumnDescription#getContextCandidatesExpression Context Candidates Expression}' attribute. + * + * + * @param value the new value of the 'Context Candidates Expression' attribute. + * @see #getContextCandidatesExpression() + * @generated + */ + void setContextCandidatesExpression(String value); + +} // EEFColumnDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFContainerDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFContainerDescription.java new file mode 100644 index 000000000..17c48edc5 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFContainerDescription.java @@ -0,0 +1,170 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'EEF Container Description'. + * + * + * + * Holds the widgets of a Group. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFContainerDescription#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.EEFContainerDescription#getSemanticCandidateExpression Semantic Candidate Expression}
  • + *
  • {@link org.eclipse.eef.EEFContainerDescription#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.EEFContainerDescription#getLayoutColumnCount Layout Column Count}
  • + *
  • {@link org.eclipse.eef.EEFContainerDescription#getContainers Containers}
  • + *
  • {@link org.eclipse.eef.EEFContainerDescription#getWidgets Widgets}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFContainerDescription() + * @model + * @generated + */ +public interface EEFContainerDescription extends ContextableElement { + /** + * Returns the value of the 'Identifier' attribute. + * + * + * + * Used to identify a specific Container in a Group. + * + * @return the value of the 'Identifier' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFContainerDescription#getIdentifier Identifier}' attribute. + * + * + * @param value the new value of the 'Identifier' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + + /** + * Returns the value of the 'Semantic Candidate Expression' attribute. + * + * + * + * The elements that are represented. + * + * @return the value of the 'Semantic Candidate Expression' attribute. + * @see #setSemanticCandidateExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_SemanticCandidateExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getSemanticCandidateExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFContainerDescription#getSemanticCandidateExpression Semantic Candidate Expression}' attribute. + * + * + * @param value the new value of the 'Semantic Candidate Expression' attribute. + * @see #getSemanticCandidateExpression() + * @generated + */ + void setSemanticCandidateExpression(String value); + + /** + * Returns the value of the 'Domain Class' attribute. + * + * + * + * Defines the context in which the Container is used. + * + * @return the value of the 'Domain Class' attribute. + * @see #setDomainClass(String) + * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_DomainClass() + * @model dataType="org.eclipse.eef.TypeName" + * @generated + */ + String getDomainClass(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFContainerDescription#getDomainClass Domain Class}' attribute. + * + * + * @param value the new value of the 'Domain Class' attribute. + * @see #getDomainClass() + * @generated + */ + void setDomainClass(String value); + + /** + * Returns the value of the 'Layout Column Count' attribute. + * The default value is "1". + * + * + * + * Number of available columns. If the number of elements is higher than the number of columns then the elements are represented on the next line. + * + * @return the value of the 'Layout Column Count' attribute. + * @see #setLayoutColumnCount(int) + * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_LayoutColumnCount() + * @model default="1" + * @generated + */ + int getLayoutColumnCount(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFContainerDescription#getLayoutColumnCount Layout Column Count}' attribute. + * + * + * @param value the new value of the 'Layout Column Count' attribute. + * @see #getLayoutColumnCount() + * @generated + */ + void setLayoutColumnCount(int value); + + /** + * Returns the value of the 'Containers' containment reference list. + * The list contents are of type {@link org.eclipse.eef.EEFContainerDescription}. + * + * + * + * Defines sub-containers. + * + * @return the value of the 'Containers' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_Containers() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getContainers(); + + /** + * Returns the value of the 'Widgets' containment reference list. + * The list contents are of type {@link org.eclipse.eef.EEFWidgetDescription}. + * + * + * + * References the widgets to hold. + * + * @return the value of the 'Widgets' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_Widgets() + * @model containment="true" resolveProxies="true" required="true" + * @generated + */ + EList getWidgets(); + +} // EEFContainerDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java new file mode 100644 index 000000000..5c82d26fd --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java @@ -0,0 +1,161 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Group Description'. + * + * + * + * A Group is used to structure the user interface within a Page. It groups multiple widgets together. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFGroupDescription#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.EEFGroupDescription#getLabelExpression Label Expression}
  • + *
  • {@link org.eclipse.eef.EEFGroupDescription#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression Semantic Candidate Expression}
  • + *
  • {@link org.eclipse.eef.EEFGroupDescription#getContainer Container}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFGroupDescription() + * @model + * @generated + */ +public interface EEFGroupDescription extends ContextableElement { + /** + * Returns the value of the 'Identifier' attribute. + * + * + * + * Used to identify a specific Group in a Page. + * + * @return the value of the 'Identifier' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getIdentifier Identifier}' attribute. + * + * + * @param value the new value of the 'Identifier' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + + /** + * Returns the value of the 'Label Expression' attribute. + * + * + * + * The label of the Group visible by the end users. If not specified, the Group is not drawn only its contained widgets are shown, else it is visible as a section. + * + * @return the value of the 'Label Expression' attribute. + * @see #setLabelExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_LabelExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getLabelExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getLabelExpression Label Expression}' attribute. + * + * + * @param value the new value of the 'Label Expression' attribute. + * @see #getLabelExpression() + * @generated + */ + void setLabelExpression(String value); + + /** + * Returns the value of the 'Domain Class' attribute. + * + * + * + * Defines the context in which the Group is used. + * + * @return the value of the 'Domain Class' attribute. + * @see #setDomainClass(String) + * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_DomainClass() + * @model dataType="org.eclipse.eef.TypeName" + * @generated + */ + String getDomainClass(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getDomainClass Domain Class}' attribute. + * + * + * @param value the new value of the 'Domain Class' attribute. + * @see #getDomainClass() + * @generated + */ + void setDomainClass(String value); + + /** + * Returns the value of the 'Semantic Candidate Expression' attribute. + * + * + * + * The elements that are represented. If not specified, the EEF runtime reuses the context of the Page for the Group. + * + * @return the value of the 'Semantic Candidate Expression' attribute. + * @see #setSemanticCandidateExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_SemanticCandidateExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getSemanticCandidateExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression Semantic Candidate Expression}' attribute. + * + * + * @param value the new value of the 'Semantic Candidate Expression' attribute. + * @see #getSemanticCandidateExpression() + * @generated + */ + void setSemanticCandidateExpression(String value); + + /** + * Returns the value of the 'Container' containment reference. + * + * + * + * Contains the container related to a group. + * + * @return the value of the 'Container' containment reference. + * @see #setContainer(EEFContainerDescription) + * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_Container() + * @model containment="true" resolveProxies="true" required="true" + * @generated + */ + EEFContainerDescription getContainer(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getContainer Container}' containment reference. + * + * + * @param value the new value of the 'Container' containment reference. + * @see #getContainer() + * @generated + */ + void setContainer(EEFContainerDescription value); + +} // EEFGroupDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImageDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImageDescription.java new file mode 100644 index 000000000..5066952df --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImageDescription.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Image Description'. + * + * + * + * Represents an image in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFImageDescription#getValueExpression Value Expression}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFImageDescription() + * @model + * @generated + */ +public interface EEFImageDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * URI of the image to display. The URI requires a scheme and is considered by the EEF runtime as an EMF URI. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFImageDescription_ValueExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFImageDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + +} // EEFImageDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImagePickerDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImagePickerDescription.java new file mode 100644 index 000000000..80dbd0908 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImagePickerDescription.java @@ -0,0 +1,109 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Image Picker Description'. + * + * + * + * Represents an image and a way for the end-user to modify it. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFImagePickerDescription#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.EEFImagePickerDescription#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.EEFImagePickerDescription#getCandidatesExpression Candidates Expression}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFImagePickerDescription() + * @model + * @generated + */ +public interface EEFImagePickerDescription extends EEFWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * URI of the image to display. The URI requires a scheme and is considered by the EEF runtime as an EMF URI. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFImagePickerDescription_ValueExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFImagePickerDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + + /** + * Returns the value of the 'Edit Expression' attribute. + * + * + * + * Defines the behavior executed when the end-user updates the value of the image. + * + * @return the value of the 'Edit Expression' attribute. + * @see #setEditExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFImagePickerDescription_EditExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getEditExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFImagePickerDescription#getEditExpression Edit Expression}' attribute. + * + * + * @param value the new value of the 'Edit Expression' attribute. + * @see #getEditExpression() + * @generated + */ + void setEditExpression(String value); + + /** + * Returns the value of the 'Candidates Expression' attribute. + * + * + * + * List of URIs to compute the selectable images. + * + * @return the value of the 'Candidates Expression' attribute. + * @see #setCandidatesExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFImagePickerDescription_CandidatesExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getCandidatesExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFImagePickerDescription#getCandidatesExpression Candidates Expression}' attribute. + * + * + * @param value the new value of the 'Candidates Expression' attribute. + * @see #getCandidatesExpression() + * @generated + */ + void setCandidatesExpression(String value); + +} // EEFImagePickerDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTableStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTableStructureDescription.java new file mode 100644 index 000000000..74212058f --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTableStructureDescription.java @@ -0,0 +1,75 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'EEF Interpreted Table Structure Description'. + * + * + * + * Defines the structure of a Table based on expressions and variables interpreted by the EEF runtime. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFInterpretedTableStructureDescription#getColumns Columns}
  • + *
  • {@link org.eclipse.eef.EEFInterpretedTableStructureDescription#getLine Line}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFInterpretedTableStructureDescription() + * @model + * @generated + */ +public interface EEFInterpretedTableStructureDescription extends EEFTableStructureDescription { + /** + * Returns the value of the 'Columns' containment reference list. + * The list contents are of type {@link org.eclipse.eef.EEFColumnDescription}. + * + * + * + * References the table columns. + * + * @return the value of the 'Columns' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFInterpretedTableStructureDescription_Columns() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getColumns(); + + /** + * Returns the value of the 'Line' containment reference. + * + * + * + * References the table lines. + * + * @return the value of the 'Line' containment reference. + * @see #setLine(EEFLineDescription) + * @see org.eclipse.eef.EefPackage#getEEFInterpretedTableStructureDescription_Line() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFLineDescription getLine(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription#getLine Line}' containment reference. + * + * + * @param value the new value of the 'Line' containment reference. + * @see #getLine() + * @generated + */ + void setLine(EEFLineDescription value); + +} // EEFInterpretedTableStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTreeStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTreeStructureDescription.java new file mode 100644 index 000000000..cec0ac4de --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTreeStructureDescription.java @@ -0,0 +1,135 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Interpreted Tree Structure Description'. + * + * + * + * Defines the structure of a Tree based on expressions and variables interpreted by the EEF runtime. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getRootsExpression Roots Expression}
  • + *
  • {@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression Children Expression}
  • + *
  • {@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression Selectable Predicate Expression}
  • + *
  • {@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression Candidate Display Expression}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFInterpretedTreeStructureDescription() + * @model + * @generated + */ +public interface EEFInterpretedTreeStructureDescription extends EEFTreeStructureDescription { + /** + * Returns the value of the 'Roots Expression' attribute. + * + * + * + * Defines the collection of elements that could be roots of the Tree. + * + * @return the value of the 'Roots Expression' attribute. + * @see #setRootsExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFInterpretedTreeStructureDescription_RootsExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getRootsExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getRootsExpression Roots Expression}' attribute. + * + * + * @param value the new value of the 'Roots Expression' attribute. + * @see #getRootsExpression() + * @generated + */ + void setRootsExpression(String value); + + /** + * Returns the value of the 'Children Expression' attribute. + * + * + * + * Defines how to compute the children. + * + * @return the value of the 'Children Expression' attribute. + * @see #setChildrenExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFInterpretedTreeStructureDescription_ChildrenExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getChildrenExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression Children Expression}' attribute. + * + * + * @param value the new value of the 'Children Expression' attribute. + * @see #getChildrenExpression() + * @generated + */ + void setChildrenExpression(String value); + + /** + * Returns the value of the 'Selectable Predicate Expression' attribute. + * + * + * + * Defines the elements of the Tree that can be selected. + * + * @return the value of the 'Selectable Predicate Expression' attribute. + * @see #setSelectablePredicateExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getSelectablePredicateExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression Selectable Predicate Expression}' attribute. + * + * + * @param value the new value of the 'Selectable Predicate Expression' attribute. + * @see #getSelectablePredicateExpression() + * @generated + */ + void setSelectablePredicateExpression(String value); + + /** + * Returns the value of the 'Candidate Display Expression' attribute. + * + * + * + * Indicates how to display the input value. + * + * @return the value of the 'Candidate Display Expression' attribute. + * @see #setCandidateDisplayExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getCandidateDisplayExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression Candidate Display Expression}' attribute. + * + * + * @param value the new value of the 'Candidate Display Expression' attribute. + * @see #getCandidateDisplayExpression() + * @generated + */ + void setCandidateDisplayExpression(String value); + +} // EEFInterpretedTreeStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFJavaExtensionDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFJavaExtensionDescription.java new file mode 100644 index 000000000..444a67c93 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFJavaExtensionDescription.java @@ -0,0 +1,59 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Java Extension Description'. + * + * + * + * Contributes the referenced Java class as a service for the EEF runtime interpreters. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFJavaExtensionDescription#getQualifiedName Qualified Name}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFJavaExtensionDescription() + * @model + * @generated + */ +public interface EEFJavaExtensionDescription extends EObject { + /** + * Returns the value of the 'Qualified Name' attribute. + * + * + * + * The qualified name of the Java class to reference. + * + * @return the value of the 'Qualified Name' attribute. + * @see #setQualifiedName(String) + * @see org.eclipse.eef.EefPackage#getEEFJavaExtensionDescription_QualifiedName() + * @model + * @generated + */ + String getQualifiedName(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFJavaExtensionDescription#getQualifiedName Qualified Name}' attribute. + * + * + * @param value the new value of the 'Qualified Name' attribute. + * @see #getQualifiedName() + * @generated + */ + void setQualifiedName(String value); + +} // EEFJavaExtensionDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelDescription.java new file mode 100644 index 000000000..9c68eb955 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelDescription.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Label Description'. + * + * + * + * Represents a label in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFLabelDescription#getValueExpression Value Expression}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFLabelDescription() + * @model + * @generated + */ +public interface EEFLabelDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * Indicates how to display the input value. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFLabelDescription_ValueExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLabelDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + +} // EEFLabelDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineDescription.java new file mode 100644 index 000000000..47ff3b174 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineDescription.java @@ -0,0 +1,129 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Line Description'. + * + * + * + * Represents a Line in a Table in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFLineDescription#getHeaderExpression Header Expression}
  • + *
  • {@link org.eclipse.eef.EEFLineDescription#getSemanticCandidatesExpression Semantic Candidates Expression}
  • + *
  • {@link org.eclipse.eef.EEFLineDescription#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.EEFLineDescription#getSubLines Sub Lines}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFLineDescription() + * @model + * @generated + */ +public interface EEFLineDescription extends EObject { + /** + * Returns the value of the 'Header Expression' attribute. + * + * + * + * Indicates how to display the line table header. If not set, the default column will not be visible. + * + * @return the value of the 'Header Expression' attribute. + * @see #setHeaderExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFLineDescription_HeaderExpression() + * @model + * @generated + */ + String getHeaderExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLineDescription#getHeaderExpression Header Expression}' attribute. + * + * + * @param value the new value of the 'Header Expression' attribute. + * @see #getHeaderExpression() + * @generated + */ + void setHeaderExpression(String value); + + /** + * Returns the value of the 'Semantic Candidates Expression' attribute. + * + * + * + * The elements that are represented. + * + * @return the value of the 'Semantic Candidates Expression' attribute. + * @see #setSemanticCandidatesExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFLineDescription_SemanticCandidatesExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getSemanticCandidatesExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLineDescription#getSemanticCandidatesExpression Semantic Candidates Expression}' attribute. + * + * + * @param value the new value of the 'Semantic Candidates Expression' attribute. + * @see #getSemanticCandidatesExpression() + * @generated + */ + void setSemanticCandidatesExpression(String value); + + /** + * Returns the value of the 'Domain Class' attribute. + * + * + * + * Defines the context in which the Line is used. + * + * @return the value of the 'Domain Class' attribute. + * @see #setDomainClass(String) + * @see org.eclipse.eef.EefPackage#getEEFLineDescription_DomainClass() + * @model dataType="org.eclipse.eef.TypeName" + * @generated + */ + String getDomainClass(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLineDescription#getDomainClass Domain Class}' attribute. + * + * + * @param value the new value of the 'Domain Class' attribute. + * @see #getDomainClass() + * @generated + */ + void setDomainClass(String value); + + /** + * Returns the value of the 'Sub Lines' containment reference list. + * The list contents are of type {@link org.eclipse.eef.EEFLineDescription}. + * + * + * + * References lines that will be represented as sub lines in the table, this allows to get a kind of tree inside a table. + * + * @return the value of the 'Sub Lines' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFLineDescription_SubLines() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getSubLines(); + +} // EEFLineDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkDescription.java new file mode 100644 index 000000000..04460e2f7 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkDescription.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Link Description'. + * + * + * + * Represents an hyperlink in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFLinkDescription#getOnClickExpression On Click Expression}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFLinkDescription() + * @model + * @generated + */ +public interface EEFLinkDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'On Click Expression' attribute. + * + * + * + * Defines the behavior executed when the link is clicked. + * + * @return the value of the 'On Click Expression' attribute. + * @see #setOnClickExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFLinkDescription_OnClickExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getOnClickExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLinkDescription#getOnClickExpression On Click Expression}' attribute. + * + * + * @param value the new value of the 'On Click Expression' attribute. + * @see #getOnClickExpression() + * @generated + */ + void setOnClickExpression(String value); + +} // EEFLinkDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFPageDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFPageDescription.java new file mode 100644 index 000000000..575defadb --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFPageDescription.java @@ -0,0 +1,180 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'EEF Page Description'. + * + * + * + * A Page is a tab represented in a View. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFPageDescription#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.EEFPageDescription#getLabelExpression Label Expression}
  • + *
  • {@link org.eclipse.eef.EEFPageDescription#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression}
  • + *
  • {@link org.eclipse.eef.EEFPageDescription#getGroups Groups}
  • + *
  • {@link org.eclipse.eef.EEFPageDescription#getExtendedPage Extended Page}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFPageDescription() + * @model + * @generated + */ +public interface EEFPageDescription extends ContextableElement { + /** + * Returns the value of the 'Identifier' attribute. + * + * + * + * Used to identify a specific Page instance. + * + * @return the value of the 'Identifier' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.eef.EefPackage#getEEFPageDescription_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFPageDescription#getIdentifier Identifier}' attribute. + * + * + * @param value the new value of the 'Identifier' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + + /** + * Returns the value of the 'Label Expression' attribute. + * + * + * + * The label of the Page visible by the end-users. + * + * @return the value of the 'Label Expression' attribute. + * @see #setLabelExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFPageDescription_LabelExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getLabelExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFPageDescription#getLabelExpression Label Expression}' attribute. + * + * + * @param value the new value of the 'Label Expression' attribute. + * @see #getLabelExpression() + * @generated + */ + void setLabelExpression(String value); + + /** + * Returns the value of the 'Domain Class' attribute. + * + * + * + * Defines the context of the Page. + * + * @return the value of the 'Domain Class' attribute. + * @see #setDomainClass(String) + * @see org.eclipse.eef.EefPackage#getEEFPageDescription_DomainClass() + * @model dataType="org.eclipse.eef.TypeName" + * @generated + */ + String getDomainClass(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFPageDescription#getDomainClass Domain Class}' attribute. + * + * + * @param value the new value of the 'Domain Class' attribute. + * @see #getDomainClass() + * @generated + */ + void setDomainClass(String value); + + /** + * Returns the value of the 'Semantic Candidate Expression' attribute. + * The default value is "". + * + * + * + * The elements that are represented. If not specified, the EEF runtime reuses the context of the View for the Page. + * + * @return the value of the 'Semantic Candidate Expression' attribute. + * @see #setSemanticCandidateExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFPageDescription_SemanticCandidateExpression() + * @model default="" dataType="org.eclipse.eef.Expression" + * @generated + */ + String getSemanticCandidateExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression}' attribute. + * + * + * @param value the new value of the 'Semantic Candidate Expression' attribute. + * @see #getSemanticCandidateExpression() + * @generated + */ + void setSemanticCandidateExpression(String value); + + /** + * Returns the value of the 'Groups' reference list. + * The list contents are of type {@link org.eclipse.eef.EEFGroupDescription}. + * + * + * + * References the Groups which are visible in a Page. If not specified, the EEF runtime looks for all the Groups defined under the View containing the Page that have a domainClass which is equal or a super class of the domainClass of the Page and use them following the order of the inheritance tree of the EObject. + * + * @return the value of the 'Groups' reference list. + * @see org.eclipse.eef.EefPackage#getEEFPageDescription_Groups() + * @model + * @generated + */ + EList getGroups(); + + /** + * Returns the value of the 'Extended Page' reference. + * + * + * + * References existing pages in order to extend their contents by adding/hiding groups and widgets. + * + * @return the value of the 'Extended Page' reference. + * @see #setExtendedPage(EEFPageDescription) + * @see org.eclipse.eef.EefPackage#getEEFPageDescription_ExtendedPage() + * @model + * @generated + */ + EEFPageDescription getExtendedPage(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFPageDescription#getExtendedPage Extended Page}' reference. + * + * + * @param value the new value of the 'Extended Page' reference. + * @see #getExtendedPage() + * @generated + */ + void setExtendedPage(EEFPageDescription value); + +} // EEFPageDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioDescription.java new file mode 100644 index 000000000..866dc8a99 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioDescription.java @@ -0,0 +1,135 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Radio Description'. + * + * + * + * Represents a radio button in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFRadioDescription#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.EEFRadioDescription#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.EEFRadioDescription#getCandidatesExpression Candidates Expression}
  • + *
  • {@link org.eclipse.eef.EEFRadioDescription#getCandidateDisplayExpression Candidate Display Expression}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFRadioDescription() + * @model + * @generated + */ +public interface EEFRadioDescription extends EEFWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * The initial selected value of the radio. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFRadioDescription_ValueExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFRadioDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + + /** + * Returns the value of the 'Edit Expression' attribute. + * + * + * + * Defines the behavior executed when the end-user updates the value of the radio. + * + * @return the value of the 'Edit Expression' attribute. + * @see #setEditExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFRadioDescription_EditExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getEditExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFRadioDescription#getEditExpression Edit Expression}' attribute. + * + * + * @param value the new value of the 'Edit Expression' attribute. + * @see #getEditExpression() + * @generated + */ + void setEditExpression(String value); + + /** + * Returns the value of the 'Candidates Expression' attribute. + * + * + * + * Defines the various proposals available. + * + * @return the value of the 'Candidates Expression' attribute. + * @see #setCandidatesExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFRadioDescription_CandidatesExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getCandidatesExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFRadioDescription#getCandidatesExpression Candidates Expression}' attribute. + * + * + * @param value the new value of the 'Candidates Expression' attribute. + * @see #getCandidatesExpression() + * @generated + */ + void setCandidatesExpression(String value); + + /** + * Returns the value of the 'Candidate Display Expression' attribute. + * + * + * + * Indicates how to display the input value. + * + * @return the value of the 'Candidate Display Expression' attribute. + * @see #setCandidateDisplayExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFRadioDescription_CandidateDisplayExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getCandidateDisplayExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFRadioDescription#getCandidateDisplayExpression Candidate Display Expression}' attribute. + * + * + * @param value the new value of the 'Candidate Display Expression' attribute. + * @see #getCandidateDisplayExpression() + * @generated + */ + void setCandidateDisplayExpression(String value); + +} // EEFRadioDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectDescription.java new file mode 100644 index 000000000..94a0d8160 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectDescription.java @@ -0,0 +1,161 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Select Description'. + * + * + * + * Represents a collection of candidates used to edit a single or multi-valued property. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFSelectDescription#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.EEFSelectDescription#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.EEFSelectDescription#getCandidatesExpression Candidates Expression}
  • + *
  • {@link org.eclipse.eef.EEFSelectDescription#isMultiple Multiple}
  • + *
  • {@link org.eclipse.eef.EEFSelectDescription#getCandidateDisplayExpression Candidate Display Expression}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFSelectDescription() + * @model + * @generated + */ +public interface EEFSelectDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * The initial selected values of the radio. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFSelectDescription_ValueExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFSelectDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + + /** + * Returns the value of the 'Edit Expression' attribute. + * + * + * + * Defines the behavior executed when the end-user updates the value of the select. + * + * @return the value of the 'Edit Expression' attribute. + * @see #setEditExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFSelectDescription_EditExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getEditExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFSelectDescription#getEditExpression Edit Expression}' attribute. + * + * + * @param value the new value of the 'Edit Expression' attribute. + * @see #getEditExpression() + * @generated + */ + void setEditExpression(String value); + + /** + * Returns the value of the 'Candidates Expression' attribute. + * + * + * + * Defines the various proposals available. + * + * @return the value of the 'Candidates Expression' attribute. + * @see #setCandidatesExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFSelectDescription_CandidatesExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getCandidatesExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFSelectDescription#getCandidatesExpression Candidates Expression}' attribute. + * + * + * @param value the new value of the 'Candidates Expression' attribute. + * @see #getCandidatesExpression() + * @generated + */ + void setCandidatesExpression(String value); + + /** + * Returns the value of the 'Multiple' attribute. + * + * + * + * If set to true several values can be selected at same time otherwise one selection is possible. + * + * @return the value of the 'Multiple' attribute. + * @see #setMultiple(boolean) + * @see org.eclipse.eef.EefPackage#getEEFSelectDescription_Multiple() + * @model + * @generated + */ + boolean isMultiple(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFSelectDescription#isMultiple Multiple}' attribute. + * + * + * @param value the new value of the 'Multiple' attribute. + * @see #isMultiple() + * @generated + */ + void setMultiple(boolean value); + + /** + * Returns the value of the 'Candidate Display Expression' attribute. + * + * + * + * Indicates how to display the input value. + * + * @return the value of the 'Candidate Display Expression' attribute. + * @see #setCandidateDisplayExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFSelectDescription_CandidateDisplayExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getCandidateDisplayExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFSelectDescription#getCandidateDisplayExpression Candidate Display Expression}' attribute. + * + * + * @param value the new value of the 'Candidate Display Expression' attribute. + * @see #getCandidateDisplayExpression() + * @generated + */ + void setCandidateDisplayExpression(String value); + +} // EEFSelectDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableDescription.java new file mode 100644 index 000000000..f892348d0 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableDescription.java @@ -0,0 +1,109 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Table Description'. + * + * + * + * Represents a Table in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFTableDescription#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.EEFTableDescription#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.EEFTableDescription#getTableStructure Table Structure}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFTableDescription() + * @model + * @generated + */ +public interface EEFTableDescription extends EEFWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * Indicates how to display the input values. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTableDescription_ValueExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTableDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + + /** + * Returns the value of the 'Edit Expression' attribute. + * + * + * + * Defines the behavior executed when the end-user updates the table cell elements. + * + * @return the value of the 'Edit Expression' attribute. + * @see #setEditExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTableDescription_EditExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getEditExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTableDescription#getEditExpression Edit Expression}' attribute. + * + * + * @param value the new value of the 'Edit Expression' attribute. + * @see #getEditExpression() + * @generated + */ + void setEditExpression(String value); + + /** + * Returns the value of the 'Table Structure' reference. + * + * + * + * References a table structure. + * + * @return the value of the 'Table Structure' reference. + * @see #setTableStructure(EEFTableStructureDescription) + * @see org.eclipse.eef.EefPackage#getEEFTableDescription_TableStructure() + * @model + * @generated + */ + EEFTableStructureDescription getTableStructure(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTableDescription#getTableStructure Table Structure}' reference. + * + * + * @param value the new value of the 'Table Structure' reference. + * @see #getTableStructure() + * @generated + */ + void setTableStructure(EEFTableStructureDescription value); + +} // EEFTableDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStructureDescription.java new file mode 100644 index 000000000..0dfbd1a9f --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStructureDescription.java @@ -0,0 +1,85 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Table Structure Description'. + * + * + * + * Describes a table as a set of elements related to an input. This description is reusable by Table widgets. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFTableStructureDescription#isMultiple Multiple}
  • + *
  • {@link org.eclipse.eef.EEFTableStructureDescription#getIdentifier Identifier}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFTableStructureDescription() + * @model abstract="true" + * @generated + */ +public interface EEFTableStructureDescription extends EObject { + /** + * Returns the value of the 'Multiple' attribute. + * + * + * + * If set to true several values can be selected at same time otherwise one selection is possible. + * + * @return the value of the 'Multiple' attribute. + * @see #setMultiple(boolean) + * @see org.eclipse.eef.EefPackage#getEEFTableStructureDescription_Multiple() + * @model + * @generated + */ + boolean isMultiple(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTableStructureDescription#isMultiple Multiple}' attribute. + * + * + * @param value the new value of the 'Multiple' attribute. + * @see #isMultiple() + * @generated + */ + void setMultiple(boolean value); + + /** + * Returns the value of the 'Identifier' attribute. + * + * + * + * Used to identify a specific table structure. + * + * @return the value of the 'Identifier' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.eef.EefPackage#getEEFTableStructureDescription_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTableStructureDescription#getIdentifier Identifier}' attribute. + * + * + * @param value the new value of the 'Identifier' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + +} // EEFTableStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java new file mode 100644 index 000000000..f5507f311 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java @@ -0,0 +1,110 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Text Description'. + * + * + * + * Represents a text field in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFTextDescription#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.EEFTextDescription#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.EEFTextDescription#getLineCount Line Count}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFTextDescription() + * @model + * @generated + */ +public interface EEFTextDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * Indicates how to display the input value. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTextDescription_ValueExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + + /** + * Returns the value of the 'Edit Expression' attribute. + * + * + * + * Defines the behavior executed when the end-user updates the value of the text field. + * + * @return the value of the 'Edit Expression' attribute. + * @see #setEditExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTextDescription_EditExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getEditExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getEditExpression Edit Expression}' attribute. + * + * + * @param value the new value of the 'Edit Expression' attribute. + * @see #getEditExpression() + * @generated + */ + void setEditExpression(String value); + + /** + * Returns the value of the 'Line Count' attribute. + * The default value is "1". + * + * + * + * Must be upper or equal to 1. If lineCount > 1, the text field is represented thanks to a text area. + * + * @return the value of the 'Line Count' attribute. + * @see #setLineCount(int) + * @see org.eclipse.eef.EefPackage#getEEFTextDescription_LineCount() + * @model default="1" + * @generated + */ + int getLineCount(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getLineCount Line Count}' attribute. + * + * + * @param value the new value of the 'Line Count' attribute. + * @see #getLineCount() + * @generated + */ + void setLineCount(int value); + +} // EEFTextDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDescription.java new file mode 100644 index 000000000..a7ed11cad --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDescription.java @@ -0,0 +1,109 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Tree Description'. + * + * + * + * Represents a tree in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFTreeDescription#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.EEFTreeDescription#getTreeStructure Tree Structure}
  • + *
  • {@link org.eclipse.eef.EEFTreeDescription#getEditExpression Edit Expression}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFTreeDescription() + * @model + * @generated + */ +public interface EEFTreeDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'Value Expression' attribute. + * + * + * + * The initial selected values in the tree. + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTreeDescription_ValueExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTreeDescription#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + + /** + * Returns the value of the 'Tree Structure' reference. + * + * + * + * References a tree structure. + * + * @return the value of the 'Tree Structure' reference. + * @see #setTreeStructure(EEFTreeStructureDescription) + * @see org.eclipse.eef.EefPackage#getEEFTreeDescription_TreeStructure() + * @model + * @generated + */ + EEFTreeStructureDescription getTreeStructure(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTreeDescription#getTreeStructure Tree Structure}' reference. + * + * + * @param value the new value of the 'Tree Structure' reference. + * @see #getTreeStructure() + * @generated + */ + void setTreeStructure(EEFTreeStructureDescription value); + + /** + * Returns the value of the 'Edit Expression' attribute. + * + * + * + * Defines the behavior executed when the end-user updates the selection in the tree. + * + * @return the value of the 'Edit Expression' attribute. + * @see #setEditExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTreeDescription_EditExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getEditExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTreeDescription#getEditExpression Edit Expression}' attribute. + * + * + * @param value the new value of the 'Edit Expression' attribute. + * @see #getEditExpression() + * @generated + */ + void setEditExpression(String value); + +} // EEFTreeDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDialogSelectDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDialogSelectDescription.java new file mode 100644 index 000000000..04e4ce3fc --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDialogSelectDescription.java @@ -0,0 +1,136 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Tree Dialog Select Description'. + * + * + * + * Represents a dialog showing a tree in the user interface. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression Semantic Candidate Expression}
  • + *
  • {@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDefaultFilter Default Filter}
  • + *
  • {@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.EEFTreeDialogSelectDescription#getTree Tree}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFTreeDialogSelectDescription() + * @model + * @generated + */ +public interface EEFTreeDialogSelectDescription extends EEFCellWidgetDescription { + /** + * Returns the value of the 'Semantic Candidate Expression' attribute. + * + * + * + * The elements that are represented. + * + * @return the value of the 'Semantic Candidate Expression' attribute. + * @see #setSemanticCandidateExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTreeDialogSelectDescription_SemanticCandidateExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getSemanticCandidateExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression Semantic Candidate Expression}' attribute. + * + * + * @param value the new value of the 'Semantic Candidate Expression' attribute. + * @see #getSemanticCandidateExpression() + * @generated + */ + void setSemanticCandidateExpression(String value); + + /** + * Returns the value of the 'Default Filter' attribute. + * The default value is "*". + * + * + * + * Defins the default value for filtering field. + * + * @return the value of the 'Default Filter' attribute. + * @see #setDefaultFilter(String) + * @see org.eclipse.eef.EefPackage#getEEFTreeDialogSelectDescription_DefaultFilter() + * @model default="*" + * @generated + */ + String getDefaultFilter(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDefaultFilter Default Filter}' attribute. + * + * + * @param value the new value of the 'Default Filter' attribute. + * @see #getDefaultFilter() + * @generated + */ + void setDefaultFilter(String value); + + /** + * Returns the value of the 'Domain Class' attribute. + * + * + * + * Defines the context in which the Tree Dialog Select is used. + * + * @return the value of the 'Domain Class' attribute. + * @see #setDomainClass(String) + * @see org.eclipse.eef.EefPackage#getEEFTreeDialogSelectDescription_DomainClass() + * @model dataType="org.eclipse.eef.TypeName" + * @generated + */ + String getDomainClass(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDomainClass Domain Class}' attribute. + * + * + * @param value the new value of the 'Domain Class' attribute. + * @see #getDomainClass() + * @generated + */ + void setDomainClass(String value); + + /** + * Returns the value of the 'Tree' reference. + * + * + * + * References the Tree widget displayed in the select dialog. + * + * @return the value of the 'Tree' reference. + * @see #setTree(EEFTreeDescription) + * @see org.eclipse.eef.EefPackage#getEEFTreeDialogSelectDescription_Tree() + * @model + * @generated + */ + EEFTreeDescription getTree(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getTree Tree}' reference. + * + * + * @param value the new value of the 'Tree' reference. + * @see #getTree() + * @generated + */ + void setTree(EEFTreeDescription value); + +} // EEFTreeDialogSelectDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStructureDescription.java new file mode 100644 index 000000000..9f108181a --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStructureDescription.java @@ -0,0 +1,85 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Tree Structure Description'. + * + * + * + * Describes a tree as a set of elements related to an input. This description is reusable by Tree widgets. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFTreeStructureDescription#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.EEFTreeStructureDescription#isMultiple Multiple}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFTreeStructureDescription() + * @model abstract="true" + * @generated + */ +public interface EEFTreeStructureDescription extends EObject { + /** + * Returns the value of the 'Identifier' attribute. + * + * + * + * Used to identify a specific tree structure. + * + * @return the value of the 'Identifier' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.eef.EefPackage#getEEFTreeStructureDescription_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTreeStructureDescription#getIdentifier Identifier}' attribute. + * + * + * @param value the new value of the 'Identifier' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + + /** + * Returns the value of the 'Multiple' attribute. + * + * + * + * If set to true several values can be selected at same time otherwise one selection is possible. + * + * @return the value of the 'Multiple' attribute. + * @see #setMultiple(boolean) + * @see org.eclipse.eef.EefPackage#getEEFTreeStructureDescription_Multiple() + * @model + * @generated + */ + boolean isMultiple(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTreeStructureDescription#isMultiple Multiple}' attribute. + * + * + * @param value the new value of the 'Multiple' attribute. + * @see #isMultiple() + * @generated + */ + void setMultiple(boolean value); + +} // EEFTreeStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java new file mode 100644 index 000000000..fd3b57868 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java @@ -0,0 +1,197 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'EEF View Description'. + * + * + * + * A View is the root concept of the EEF metamodel. A View defines groups of widgets, semantic mappings and related metamodels. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFViewDescription#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.EEFViewDescription#getLabelExpression Label Expression}
  • + *
  • {@link org.eclipse.eef.EEFViewDescription#getEPackageNsUris EPackage Ns Uris}
  • + *
  • {@link org.eclipse.eef.EEFViewDescription#getGroups Groups}
  • + *
  • {@link org.eclipse.eef.EEFViewDescription#getPages Pages}
  • + *
  • {@link org.eclipse.eef.EEFViewDescription#getJavaExtensions Java Extensions}
  • + *
  • {@link org.eclipse.eef.EEFViewDescription#getImportedViews Imported Views}
  • + *
  • {@link org.eclipse.eef.EEFViewDescription#getTreeStructures Tree Structures}
  • + *
  • {@link org.eclipse.eef.EEFViewDescription#getTableStructures Table Structures}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFViewDescription() + * @model + * @generated + */ +public interface EEFViewDescription extends ContextableElement { + /** + * Returns the value of the 'Identifier' attribute. + * + * + * + * Used to identify a specific View instance. + * + * @return the value of the 'Identifier' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.eef.EefPackage#getEEFViewDescription_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFViewDescription#getIdentifier Identifier}' attribute. + * + * + * @param value the new value of the 'Identifier' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + + /** + * Returns the value of the 'Label Expression' attribute. + * + * + * + * The label of the View visible by the end-users. + * + * @return the value of the 'Label Expression' attribute. + * @see #setLabelExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFViewDescription_LabelExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getLabelExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFViewDescription#getLabelExpression Label Expression}' attribute. + * + * + * @param value the new value of the 'Label Expression' attribute. + * @see #getLabelExpression() + * @generated + */ + void setLabelExpression(String value); + + /** + * Returns the value of the 'EPackage Ns Uris' attribute list. + * The list contents are of type {@link java.lang.String}. + * + * + * + * References the metamodels to use thanks to their NsURIs. + * + * @return the value of the 'EPackage Ns Uris' attribute list. + * @see org.eclipse.eef.EefPackage#getEEFViewDescription_EPackageNsUris() + * @model + * @generated + */ + EList getEPackageNsUris(); + + /** + * Returns the value of the 'Groups' containment reference list. + * The list contents are of type {@link org.eclipse.eef.EEFGroupDescription}. + * + * + * + * Contains all the defined Groups. It is defined under the View for reuasability reason and to be referenced easily from any Page. + * + * @return the value of the 'Groups' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFViewDescription_Groups() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getGroups(); + + /** + * Returns the value of the 'Pages' containment reference list. + * The list contents are of type {@link org.eclipse.eef.EEFPageDescription}. + * + * + * + * Defines the tabs that are represented in the View. + * + * @return the value of the 'Pages' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFViewDescription_Pages() + * @model containment="true" resolveProxies="true" required="true" + * @generated + */ + EList getPages(); + + /** + * Returns the value of the 'Java Extensions' containment reference list. + * The list contents are of type {@link org.eclipse.eef.EEFJavaExtensionDescription}. + * + * + * + * References Java classes to contribute them as services for EEF runtime interpreters. + * + * @return the value of the 'Java Extensions' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFViewDescription_JavaExtensions() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getJavaExtensions(); + + /** + * Returns the value of the 'Imported Views' reference list. + * The list contents are of type {@link org.eclipse.eef.EEFViewDescription}. + * + * + * + * Imports other existing views to reuse groups and widgets. + * + * @return the value of the 'Imported Views' reference list. + * @see org.eclipse.eef.EefPackage#getEEFViewDescription_ImportedViews() + * @model + * @generated + */ + EList getImportedViews(); + + /** + * Returns the value of the 'Tree Structures' containment reference list. + * The list contents are of type {@link org.eclipse.eef.EEFTreeStructureDescription}. + * + * + * + * Contains all the defined TreeDescription. It is defined under the View for reusability reason and to be referenced easily from any Tree widget. + * + * @return the value of the 'Tree Structures' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFViewDescription_TreeStructures() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getTreeStructures(); + + /** + * Returns the value of the 'Table Structures' containment reference list. + * The list contents are of type {@link org.eclipse.eef.EEFTableStructureDescription}. + * + * + * + * Contains all the defined TableDescription. It is defined under the View for reusability reason and to be referenced easily from any Tree widget. + * + * @return the value of the 'Table Structures' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFViewDescription_TableStructures() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getTableStructures(); + +} // EEFViewDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java new file mode 100644 index 000000000..2a0190d08 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java @@ -0,0 +1,83 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Widget Description'. + * + * + * + * Graphical element. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFWidgetDescription#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression Label Expression}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription() + * @model abstract="true" + * @generated + */ +public interface EEFWidgetDescription extends ContextableElement { + /** + * Returns the value of the 'Identifier' attribute. + * + * + * + * Used to identify a specific widget. + * + * @return the value of the 'Identifier' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getIdentifier Identifier}' attribute. + * + * + * @param value the new value of the 'Identifier' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + + /** + * Returns the value of the 'Label Expression' attribute. + * + * + * + * The label of the Widget visible by the end-users. + * + * @return the value of the 'Label Expression' attribute. + * @see #setLabelExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_LabelExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getLabelExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression Label Expression}' attribute. + * + * + * @param value the new value of the 'Label Expression' attribute. + * @see #getLabelExpression() + * @generated + */ + void setLabelExpression(String value); + +} // EEFWidgetDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java new file mode 100644 index 000000000..e77c8320f --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java @@ -0,0 +1,237 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.eef.EefPackage + * @generated + */ +public interface EefFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + EefFactory eINSTANCE = org.eclipse.eef.impl.EefFactoryImpl.init(); + + /** + * Returns a new object of class 'EEF View Description'. + * + * + * @return a new object of class 'EEF View Description'. + * @generated + */ + EEFViewDescription createEEFViewDescription(); + + /** + * Returns a new object of class 'EEF Page Description'. + * + * + * @return a new object of class 'EEF Page Description'. + * @generated + */ + EEFPageDescription createEEFPageDescription(); + + /** + * Returns a new object of class 'EEF Group Description'. + * + * + * @return a new object of class 'EEF Group Description'. + * @generated + */ + EEFGroupDescription createEEFGroupDescription(); + + /** + * Returns a new object of class 'EEF Container Description'. + * + * + * @return a new object of class 'EEF Container Description'. + * @generated + */ + EEFContainerDescription createEEFContainerDescription(); + + /** + * Returns a new object of class 'EEF Java Extension Description'. + * + * + * @return a new object of class 'EEF Java Extension Description'. + * @generated + */ + EEFJavaExtensionDescription createEEFJavaExtensionDescription(); + + /** + * Returns a new object of class 'EEF Interpreted Table Structure Description'. + * + * + * @return a new object of class 'EEF Interpreted Table Structure Description'. + * @generated + */ + EEFInterpretedTableStructureDescription createEEFInterpretedTableStructureDescription(); + + /** + * Returns a new object of class 'EEF Adapter Factory Tree Structure Description'. + * + * + * @return a new object of class 'EEF Adapter Factory Tree Structure Description'. + * @generated + */ + EEFAdapterFactoryTreeStructureDescription createEEFAdapterFactoryTreeStructureDescription(); + + /** + * Returns a new object of class 'EEF Interpreted Tree Structure Description'. + * + * + * @return a new object of class 'EEF Interpreted Tree Structure Description'. + * @generated + */ + EEFInterpretedTreeStructureDescription createEEFInterpretedTreeStructureDescription(); + + /** + * Returns a new object of class 'EEF Text Description'. + * + * + * @return a new object of class 'EEF Text Description'. + * @generated + */ + EEFTextDescription createEEFTextDescription(); + + /** + * Returns a new object of class 'EEF Checkbox Description'. + * + * + * @return a new object of class 'EEF Checkbox Description'. + * @generated + */ + EEFCheckboxDescription createEEFCheckboxDescription(); + + /** + * Returns a new object of class 'EEF Select Description'. + * + * + * @return a new object of class 'EEF Select Description'. + * @generated + */ + EEFSelectDescription createEEFSelectDescription(); + + /** + * Returns a new object of class 'EEF Label Description'. + * + * + * @return a new object of class 'EEF Label Description'. + * @generated + */ + EEFLabelDescription createEEFLabelDescription(); + + /** + * Returns a new object of class 'EEF Radio Description'. + * + * + * @return a new object of class 'EEF Radio Description'. + * @generated + */ + EEFRadioDescription createEEFRadioDescription(); + + /** + * Returns a new object of class 'EEF Tree Dialog Select Description'. + * + * + * @return a new object of class 'EEF Tree Dialog Select Description'. + * @generated + */ + EEFTreeDialogSelectDescription createEEFTreeDialogSelectDescription(); + + /** + * Returns a new object of class 'EEF Link Description'. + * + * + * @return a new object of class 'EEF Link Description'. + * @generated + */ + EEFLinkDescription createEEFLinkDescription(); + + /** + * Returns a new object of class 'EEF Image Description'. + * + * + * @return a new object of class 'EEF Image Description'. + * @generated + */ + EEFImageDescription createEEFImageDescription(); + + /** + * Returns a new object of class 'EEF Tree Description'. + * + * + * @return a new object of class 'EEF Tree Description'. + * @generated + */ + EEFTreeDescription createEEFTreeDescription(); + + /** + * Returns a new object of class 'EEF Image Picker Description'. + * + * + * @return a new object of class 'EEF Image Picker Description'. + * @generated + */ + EEFImagePickerDescription createEEFImagePickerDescription(); + + /** + * Returns a new object of class 'EEF Table Description'. + * + * + * @return a new object of class 'EEF Table Description'. + * @generated + */ + EEFTableDescription createEEFTableDescription(); + + /** + * Returns a new object of class 'EEF Column Description'. + * + * + * @return a new object of class 'EEF Column Description'. + * @generated + */ + EEFColumnDescription createEEFColumnDescription(); + + /** + * Returns a new object of class 'EEF Line Description'. + * + * + * @return a new object of class 'EEF Line Description'. + * @generated + */ + EEFLineDescription createEEFLineDescription(); + + /** + * Returns a new object of class 'EEF Adapter Factory Table Structure Description'. + * + * + * @return a new object of class 'EEF Adapter Factory Table Structure Description'. + * @generated + */ + EEFAdapterFactoryTableStructureDescription createEEFAdapterFactoryTableStructureDescription(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + EefPackage getEefPackage(); + +} //EefFactory diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java new file mode 100644 index 000000000..0668b0d40 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java @@ -0,0 +1,4073 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @see org.eclipse.eef.EefFactory + * @model kind="package" + * @generated + */ +public interface EefPackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "eef"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.eclipse.org/eef"; //$NON-NLS-1$ + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "eef"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * + * + * @generated + */ + EefPackage eINSTANCE = org.eclipse.eef.impl.EefPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.ContextableElementImpl Contextable Element}' class. + * + * + * @see org.eclipse.eef.impl.ContextableElementImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getContextableElement() + * @generated + */ + int CONTEXTABLE_ELEMENT = 26; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES = 0; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES = 1; + + /** + * The number of structural features of the 'Contextable Element' class. + * + * + * @generated + * @ordered + */ + int CONTEXTABLE_ELEMENT_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFViewDescriptionImpl EEF View Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFViewDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFViewDescription() + * @generated + */ + int EEF_VIEW_DESCRIPTION = 0; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'EPackage Ns Uris' attribute list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Groups' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__GROUPS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Pages' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__PAGES = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; + + /** + * The feature id for the 'Java Extensions' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + + /** + * The feature id for the 'Imported Views' reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; + + /** + * The feature id for the 'Tree Structures' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__TREE_STRUCTURES = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 7; + + /** + * The feature id for the 'Table Structures' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 8; + + /** + * The number of structural features of the 'EEF View Description' class. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 9; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFPageDescriptionImpl EEF Page Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFPageDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFPageDescription() + * @generated + */ + int EEF_PAGE_DESCRIPTION = 1; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Domain Class' attribute. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__DOMAIN_CLASS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Semantic Candidate Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Groups' reference list. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__GROUPS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; + + /** + * The feature id for the 'Extended Page' reference. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION__EXTENDED_PAGE = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + + /** + * The number of structural features of the 'EEF Page Description' class. + * + * + * @generated + * @ordered + */ + int EEF_PAGE_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFGroupDescriptionImpl EEF Group Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFGroupDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupDescription() + * @generated + */ + int EEF_GROUP_DESCRIPTION = 2; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Domain Class' attribute. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__DOMAIN_CLASS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Semantic Candidate Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Container' containment reference. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__CONTAINER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; + + /** + * The number of structural features of the 'EEF Group Description' class. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFContainerDescriptionImpl EEF Container Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFContainerDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFContainerDescription() + * @generated + */ + int EEF_CONTAINER_DESCRIPTION = 3; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Semantic Candidate Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Domain Class' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Layout Column Count' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Containers' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__CONTAINERS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; + + /** + * The feature id for the 'Widgets' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION__WIDGETS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + + /** + * The number of structural features of the 'EEF Container Description' class. + * + * + * @generated + * @ordered + */ + int EEF_CONTAINER_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl EEF Widget Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFWidgetDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFWidgetDescription() + * @generated + */ + int EEF_WIDGET_DESCRIPTION = 4; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_WIDGET_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'EEF Widget Description' class. + * + * + * @generated + * @ordered + */ + int EEF_WIDGET_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl EEF Java Extension Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFJavaExtensionDescription() + * @generated + */ + int EEF_JAVA_EXTENSION_DESCRIPTION = 5; + + /** + * The feature id for the 'Qualified Name' attribute. + * + * + * @generated + * @ordered + */ + int EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME = 0; + + /** + * The number of structural features of the 'EEF Java Extension Description' class. + * + * + * @generated + * @ordered + */ + int EEF_JAVA_EXTENSION_DESCRIPTION_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl EEF Tree Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStructureDescription() + * @generated + */ + int EEF_TREE_STRUCTURE_DESCRIPTION = 6; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = 0; + + /** + * The feature id for the 'Multiple' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = 1; + + /** + * The number of structural features of the 'EEF Tree Structure Description' class. + * + * + * @generated + * @ordered + */ + int EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl EEF Table Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTableStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStructureDescription() + * @generated + */ + int EEF_TABLE_STRUCTURE_DESCRIPTION = 24; + + /** + * The feature id for the 'Multiple' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = 0; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = 1; + + /** + * The number of structural features of the 'EEF Table Structure Description' class. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl EEF Interpreted Table Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFInterpretedTableStructureDescription() + * @generated + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION = 7; + + /** + * The feature id for the 'Multiple' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Columns' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Line' containment reference. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'EEF Interpreted Table Structure Description' class. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFCellWidgetDescriptionImpl EEF Cell Widget Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFCellWidgetDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCellWidgetDescription() + * @generated + */ + int EEF_CELL_WIDGET_DESCRIPTION = 8; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The number of structural features of the 'EEF Cell Widget Description' class. + * + * + * @generated + * @ordered + */ + int EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl EEF Adapter Factory Tree Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFAdapterFactoryTreeStructureDescription() + * @generated + */ + int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION = 9; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Multiple' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE; + + /** + * The feature id for the 'Adapter Factory Provider' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'EEF Adapter Factory Tree Structure Description' class. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl EEF Interpreted Tree Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFInterpretedTreeStructureDescription() + * @generated + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION = 10; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Multiple' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE; + + /** + * The feature id for the 'Roots Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Children Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Selectable Predicate Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Candidate Display Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The number of structural features of the 'EEF Interpreted Tree Structure Description' class. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 4; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTextDescriptionImpl EEF Text Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTextDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextDescription() + * @generated + */ + int EEF_TEXT_DESCRIPTION = 11; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Edit Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Line Count' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__LINE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'EEF Text Description' class. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFCheckboxDescriptionImpl EEF Checkbox Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFCheckboxDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxDescription() + * @generated + */ + int EEF_CHECKBOX_DESCRIPTION = 12; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Edit Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'EEF Checkbox Description' class. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFSelectDescriptionImpl EEF Select Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFSelectDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectDescription() + * @generated + */ + int EEF_SELECT_DESCRIPTION = 13; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Edit Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Multiple' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__MULTIPLE = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Candidate Display Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; + + /** + * The number of structural features of the 'EEF Select Description' class. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 5; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFLabelDescriptionImpl EEF Label Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFLabelDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelDescription() + * @generated + */ + int EEF_LABEL_DESCRIPTION = 14; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'EEF Label Description' class. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFRadioDescriptionImpl EEF Radio Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFRadioDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioDescription() + * @generated + */ + int EEF_RADIO_DESCRIPTION = 15; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Edit Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Candidate Display Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The number of structural features of the 'EEF Radio Description' class. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl EEF Tree Dialog Select Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeDialogSelectDescription() + * @generated + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION = 16; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Semantic Candidate Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Default Filter' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Domain Class' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Tree' reference. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The number of structural features of the 'EEF Tree Dialog Select Description' class. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFLinkDescriptionImpl EEF Link Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFLinkDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkDescription() + * @generated + */ + int EEF_LINK_DESCRIPTION = 17; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'On Click Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'EEF Link Description' class. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFImageDescriptionImpl EEF Image Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFImageDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFImageDescription() + * @generated + */ + int EEF_IMAGE_DESCRIPTION = 18; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'EEF Image Description' class. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTreeDescriptionImpl EEF Tree Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTreeDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeDescription() + * @generated + */ + int EEF_TREE_DESCRIPTION = 19; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Tree Structure' reference. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__TREE_STRUCTURE = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Edit Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'EEF Tree Description' class. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFImagePickerDescriptionImpl EEF Image Picker Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFImagePickerDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFImagePickerDescription() + * @generated + */ + int EEF_IMAGE_PICKER_DESCRIPTION = 20; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Edit Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'EEF Image Picker Description' class. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTableDescriptionImpl EEF Table Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTableDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableDescription() + * @generated + */ + int EEF_TABLE_DESCRIPTION = 21; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Label Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Edit Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Table Structure' reference. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'EEF Table Description' class. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFColumnDescriptionImpl EEF Column Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFColumnDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnDescription() + * @generated + */ + int EEF_COLUMN_DESCRIPTION = 22; + + /** + * The feature id for the 'Width' attribute. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_DESCRIPTION__WIDTH = 0; + + /** + * The feature id for the 'Header Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION = 1; + + /** + * The feature id for the 'Cell Widget' reference. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_DESCRIPTION__CELL_WIDGET = 2; + + /** + * The feature id for the 'Context Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION = 3; + + /** + * The number of structural features of the 'EEF Column Description' class. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_DESCRIPTION_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFLineDescriptionImpl EEF Line Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFLineDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineDescription() + * @generated + */ + int EEF_LINE_DESCRIPTION = 23; + + /** + * The feature id for the 'Header Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINE_DESCRIPTION__HEADER_EXPRESSION = 0; + + /** + * The feature id for the 'Semantic Candidates Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = 1; + + /** + * The feature id for the 'Domain Class' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINE_DESCRIPTION__DOMAIN_CLASS = 2; + + /** + * The feature id for the 'Sub Lines' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_LINE_DESCRIPTION__SUB_LINES = 3; + + /** + * The number of structural features of the 'EEF Line Description' class. + * + * + * @generated + * @ordered + */ + int EEF_LINE_DESCRIPTION_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl EEF Adapter Factory Table Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFAdapterFactoryTableStructureDescription() + * @generated + */ + int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION = 25; + + /** + * The feature id for the 'Multiple' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE; + + /** + * The feature id for the 'Identifier' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the 'Adapter Factory Provider' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'EEF Adapter Factory Table Structure Description' class. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The meta object id for the 'Expression' data type. + * + * + * @see java.lang.String + * @see org.eclipse.eef.impl.EefPackageImpl#getExpression() + * @generated + */ + int EXPRESSION = 27; + + /** + * The meta object id for the 'Type Name' data type. + * + * + * @see java.lang.String + * @see org.eclipse.eef.impl.EefPackageImpl#getTypeName() + * @generated + */ + int TYPE_NAME = 28; + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFViewDescription EEF View Description}'. + * + * + * @return the meta object for class 'EEF View Description'. + * @see org.eclipse.eef.EEFViewDescription + * @generated + */ + EClass getEEFViewDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFViewDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFViewDescription#getIdentifier() + * @see #getEEFViewDescription() + * @generated + */ + EAttribute getEEFViewDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFViewDescription#getLabelExpression Label Expression}'. + * + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.EEFViewDescription#getLabelExpression() + * @see #getEEFViewDescription() + * @generated + */ + EAttribute getEEFViewDescription_LabelExpression(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.eef.EEFViewDescription#getEPackageNsUris EPackage Ns Uris}'. + * + * + * @return the meta object for the attribute list 'EPackage Ns Uris'. + * @see org.eclipse.eef.EEFViewDescription#getEPackageNsUris() + * @see #getEEFViewDescription() + * @generated + */ + EAttribute getEEFViewDescription_EPackageNsUris(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getGroups Groups}'. + * + * + * @return the meta object for the containment reference list 'Groups'. + * @see org.eclipse.eef.EEFViewDescription#getGroups() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_Groups(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getPages Pages}'. + * + * + * @return the meta object for the containment reference list 'Pages'. + * @see org.eclipse.eef.EEFViewDescription#getPages() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_Pages(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getJavaExtensions Java Extensions}'. + * + * + * @return the meta object for the containment reference list 'Java Extensions'. + * @see org.eclipse.eef.EEFViewDescription#getJavaExtensions() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_JavaExtensions(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.eef.EEFViewDescription#getImportedViews Imported Views}'. + * + * + * @return the meta object for the reference list 'Imported Views'. + * @see org.eclipse.eef.EEFViewDescription#getImportedViews() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_ImportedViews(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getTreeStructures Tree Structures}'. + * + * + * @return the meta object for the containment reference list 'Tree Structures'. + * @see org.eclipse.eef.EEFViewDescription#getTreeStructures() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_TreeStructures(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getTableStructures Table Structures}'. + * + * + * @return the meta object for the containment reference list 'Table Structures'. + * @see org.eclipse.eef.EEFViewDescription#getTableStructures() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_TableStructures(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFPageDescription EEF Page Description}'. + * + * + * @return the meta object for class 'EEF Page Description'. + * @see org.eclipse.eef.EEFPageDescription + * @generated + */ + EClass getEEFPageDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFPageDescription#getIdentifier() + * @see #getEEFPageDescription() + * @generated + */ + EAttribute getEEFPageDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getLabelExpression Label Expression}'. + * + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.EEFPageDescription#getLabelExpression() + * @see #getEEFPageDescription() + * @generated + */ + EAttribute getEEFPageDescription_LabelExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getDomainClass Domain Class}'. + * + * + * @return the meta object for the attribute 'Domain Class'. + * @see org.eclipse.eef.EEFPageDescription#getDomainClass() + * @see #getEEFPageDescription() + * @generated + */ + EAttribute getEEFPageDescription_DomainClass(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. + * + * + * @return the meta object for the attribute 'Semantic Candidate Expression'. + * @see org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression() + * @see #getEEFPageDescription() + * @generated + */ + EAttribute getEEFPageDescription_SemanticCandidateExpression(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.eef.EEFPageDescription#getGroups Groups}'. + * + * + * @return the meta object for the reference list 'Groups'. + * @see org.eclipse.eef.EEFPageDescription#getGroups() + * @see #getEEFPageDescription() + * @generated + */ + EReference getEEFPageDescription_Groups(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.EEFPageDescription#getExtendedPage Extended Page}'. + * + * + * @return the meta object for the reference 'Extended Page'. + * @see org.eclipse.eef.EEFPageDescription#getExtendedPage() + * @see #getEEFPageDescription() + * @generated + */ + EReference getEEFPageDescription_ExtendedPage(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFGroupDescription EEF Group Description}'. + * + * + * @return the meta object for class 'EEF Group Description'. + * @see org.eclipse.eef.EEFGroupDescription + * @generated + */ + EClass getEEFGroupDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFGroupDescription#getIdentifier() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getLabelExpression Label Expression}'. + * + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.EEFGroupDescription#getLabelExpression() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_LabelExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getDomainClass Domain Class}'. + * + * + * @return the meta object for the attribute 'Domain Class'. + * @see org.eclipse.eef.EEFGroupDescription#getDomainClass() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_DomainClass(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. + * + * + * @return the meta object for the attribute 'Semantic Candidate Expression'. + * @see org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_SemanticCandidateExpression(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFGroupDescription#getContainer Container}'. + * + * + * @return the meta object for the containment reference 'Container'. + * @see org.eclipse.eef.EEFGroupDescription#getContainer() + * @see #getEEFGroupDescription() + * @generated + */ + EReference getEEFGroupDescription_Container(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFContainerDescription EEF Container Description}'. + * + * + * @return the meta object for class 'EEF Container Description'. + * @see org.eclipse.eef.EEFContainerDescription + * @generated + */ + EClass getEEFContainerDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFContainerDescription#getIdentifier() + * @see #getEEFContainerDescription() + * @generated + */ + EAttribute getEEFContainerDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. + * + * + * @return the meta object for the attribute 'Semantic Candidate Expression'. + * @see org.eclipse.eef.EEFContainerDescription#getSemanticCandidateExpression() + * @see #getEEFContainerDescription() + * @generated + */ + EAttribute getEEFContainerDescription_SemanticCandidateExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getDomainClass Domain Class}'. + * + * + * @return the meta object for the attribute 'Domain Class'. + * @see org.eclipse.eef.EEFContainerDescription#getDomainClass() + * @see #getEEFContainerDescription() + * @generated + */ + EAttribute getEEFContainerDescription_DomainClass(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getLayoutColumnCount Layout Column Count}'. + * + * + * @return the meta object for the attribute 'Layout Column Count'. + * @see org.eclipse.eef.EEFContainerDescription#getLayoutColumnCount() + * @see #getEEFContainerDescription() + * @generated + */ + EAttribute getEEFContainerDescription_LayoutColumnCount(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFContainerDescription#getContainers Containers}'. + * + * + * @return the meta object for the containment reference list 'Containers'. + * @see org.eclipse.eef.EEFContainerDescription#getContainers() + * @see #getEEFContainerDescription() + * @generated + */ + EReference getEEFContainerDescription_Containers(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFContainerDescription#getWidgets Widgets}'. + * + * + * @return the meta object for the containment reference list 'Widgets'. + * @see org.eclipse.eef.EEFContainerDescription#getWidgets() + * @see #getEEFContainerDescription() + * @generated + */ + EReference getEEFContainerDescription_Widgets(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFWidgetDescription EEF Widget Description}'. + * + * + * @return the meta object for class 'EEF Widget Description'. + * @see org.eclipse.eef.EEFWidgetDescription + * @generated + */ + EClass getEEFWidgetDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFWidgetDescription#getIdentifier() + * @see #getEEFWidgetDescription() + * @generated + */ + EAttribute getEEFWidgetDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression Label Expression}'. + * + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.EEFWidgetDescription#getLabelExpression() + * @see #getEEFWidgetDescription() + * @generated + */ + EAttribute getEEFWidgetDescription_LabelExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFJavaExtensionDescription EEF Java Extension Description}'. + * + * + * @return the meta object for class 'EEF Java Extension Description'. + * @see org.eclipse.eef.EEFJavaExtensionDescription + * @generated + */ + EClass getEEFJavaExtensionDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFJavaExtensionDescription#getQualifiedName Qualified Name}'. + * + * + * @return the meta object for the attribute 'Qualified Name'. + * @see org.eclipse.eef.EEFJavaExtensionDescription#getQualifiedName() + * @see #getEEFJavaExtensionDescription() + * @generated + */ + EAttribute getEEFJavaExtensionDescription_QualifiedName(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeStructureDescription EEF Tree Structure Description}'. + * + * + * @return the meta object for class 'EEF Tree Structure Description'. + * @see org.eclipse.eef.EEFTreeStructureDescription + * @generated + */ + EClass getEEFTreeStructureDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeStructureDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFTreeStructureDescription#getIdentifier() + * @see #getEEFTreeStructureDescription() + * @generated + */ + EAttribute getEEFTreeStructureDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeStructureDescription#isMultiple Multiple}'. + * + * + * @return the meta object for the attribute 'Multiple'. + * @see org.eclipse.eef.EEFTreeStructureDescription#isMultiple() + * @see #getEEFTreeStructureDescription() + * @generated + */ + EAttribute getEEFTreeStructureDescription_Multiple(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription EEF Interpreted Table Structure Description}'. + * + * + * @return the meta object for class 'EEF Interpreted Table Structure Description'. + * @see org.eclipse.eef.EEFInterpretedTableStructureDescription + * @generated + */ + EClass getEEFInterpretedTableStructureDescription(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription#getColumns Columns}'. + * + * + * @return the meta object for the containment reference list 'Columns'. + * @see org.eclipse.eef.EEFInterpretedTableStructureDescription#getColumns() + * @see #getEEFInterpretedTableStructureDescription() + * @generated + */ + EReference getEEFInterpretedTableStructureDescription_Columns(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription#getLine Line}'. + * + * + * @return the meta object for the containment reference 'Line'. + * @see org.eclipse.eef.EEFInterpretedTableStructureDescription#getLine() + * @see #getEEFInterpretedTableStructureDescription() + * @generated + */ + EReference getEEFInterpretedTableStructureDescription_Line(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFCellWidgetDescription EEF Cell Widget Description}'. + * + * + * @return the meta object for class 'EEF Cell Widget Description'. + * @see org.eclipse.eef.EEFCellWidgetDescription + * @generated + */ + EClass getEEFCellWidgetDescription(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription EEF Adapter Factory Tree Structure Description}'. + * + * + * @return the meta object for class 'EEF Adapter Factory Tree Structure Description'. + * @see org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription + * @generated + */ + EClass getEEFAdapterFactoryTreeStructureDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}'. + * + * + * @return the meta object for the attribute 'Adapter Factory Provider'. + * @see org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider() + * @see #getEEFAdapterFactoryTreeStructureDescription() + * @generated + */ + EAttribute getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription EEF Interpreted Tree Structure Description}'. + * + * + * @return the meta object for class 'EEF Interpreted Tree Structure Description'. + * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription + * @generated + */ + EClass getEEFInterpretedTreeStructureDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getRootsExpression Roots Expression}'. + * + * + * @return the meta object for the attribute 'Roots Expression'. + * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getRootsExpression() + * @see #getEEFInterpretedTreeStructureDescription() + * @generated + */ + EAttribute getEEFInterpretedTreeStructureDescription_RootsExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression Children Expression}'. + * + * + * @return the meta object for the attribute 'Children Expression'. + * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression() + * @see #getEEFInterpretedTreeStructureDescription() + * @generated + */ + EAttribute getEEFInterpretedTreeStructureDescription_ChildrenExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression Selectable Predicate Expression}'. + * + * + * @return the meta object for the attribute 'Selectable Predicate Expression'. + * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression() + * @see #getEEFInterpretedTreeStructureDescription() + * @generated + */ + EAttribute getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression Candidate Display Expression}'. + * + * + * @return the meta object for the attribute 'Candidate Display Expression'. + * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression() + * @see #getEEFInterpretedTreeStructureDescription() + * @generated + */ + EAttribute getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTextDescription EEF Text Description}'. + * + * + * @return the meta object for class 'EEF Text Description'. + * @see org.eclipse.eef.EEFTextDescription + * @generated + */ + EClass getEEFTextDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFTextDescription#getValueExpression() + * @see #getEEFTextDescription() + * @generated + */ + EAttribute getEEFTextDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.EEFTextDescription#getEditExpression() + * @see #getEEFTextDescription() + * @generated + */ + EAttribute getEEFTextDescription_EditExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getLineCount Line Count}'. + * + * + * @return the meta object for the attribute 'Line Count'. + * @see org.eclipse.eef.EEFTextDescription#getLineCount() + * @see #getEEFTextDescription() + * @generated + */ + EAttribute getEEFTextDescription_LineCount(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFCheckboxDescription EEF Checkbox Description}'. + * + * + * @return the meta object for class 'EEF Checkbox Description'. + * @see org.eclipse.eef.EEFCheckboxDescription + * @generated + */ + EClass getEEFCheckboxDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFCheckboxDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFCheckboxDescription#getValueExpression() + * @see #getEEFCheckboxDescription() + * @generated + */ + EAttribute getEEFCheckboxDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFCheckboxDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.EEFCheckboxDescription#getEditExpression() + * @see #getEEFCheckboxDescription() + * @generated + */ + EAttribute getEEFCheckboxDescription_EditExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFSelectDescription EEF Select Description}'. + * + * + * @return the meta object for class 'EEF Select Description'. + * @see org.eclipse.eef.EEFSelectDescription + * @generated + */ + EClass getEEFSelectDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFSelectDescription#getValueExpression() + * @see #getEEFSelectDescription() + * @generated + */ + EAttribute getEEFSelectDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.EEFSelectDescription#getEditExpression() + * @see #getEEFSelectDescription() + * @generated + */ + EAttribute getEEFSelectDescription_EditExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getCandidatesExpression Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Candidates Expression'. + * @see org.eclipse.eef.EEFSelectDescription#getCandidatesExpression() + * @see #getEEFSelectDescription() + * @generated + */ + EAttribute getEEFSelectDescription_CandidatesExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#isMultiple Multiple}'. + * + * + * @return the meta object for the attribute 'Multiple'. + * @see org.eclipse.eef.EEFSelectDescription#isMultiple() + * @see #getEEFSelectDescription() + * @generated + */ + EAttribute getEEFSelectDescription_Multiple(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getCandidateDisplayExpression Candidate Display Expression}'. + * + * + * @return the meta object for the attribute 'Candidate Display Expression'. + * @see org.eclipse.eef.EEFSelectDescription#getCandidateDisplayExpression() + * @see #getEEFSelectDescription() + * @generated + */ + EAttribute getEEFSelectDescription_CandidateDisplayExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFLabelDescription EEF Label Description}'. + * + * + * @return the meta object for class 'EEF Label Description'. + * @see org.eclipse.eef.EEFLabelDescription + * @generated + */ + EClass getEEFLabelDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLabelDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFLabelDescription#getValueExpression() + * @see #getEEFLabelDescription() + * @generated + */ + EAttribute getEEFLabelDescription_ValueExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFRadioDescription EEF Radio Description}'. + * + * + * @return the meta object for class 'EEF Radio Description'. + * @see org.eclipse.eef.EEFRadioDescription + * @generated + */ + EClass getEEFRadioDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFRadioDescription#getValueExpression() + * @see #getEEFRadioDescription() + * @generated + */ + EAttribute getEEFRadioDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.EEFRadioDescription#getEditExpression() + * @see #getEEFRadioDescription() + * @generated + */ + EAttribute getEEFRadioDescription_EditExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getCandidatesExpression Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Candidates Expression'. + * @see org.eclipse.eef.EEFRadioDescription#getCandidatesExpression() + * @see #getEEFRadioDescription() + * @generated + */ + EAttribute getEEFRadioDescription_CandidatesExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getCandidateDisplayExpression Candidate Display Expression}'. + * + * + * @return the meta object for the attribute 'Candidate Display Expression'. + * @see org.eclipse.eef.EEFRadioDescription#getCandidateDisplayExpression() + * @see #getEEFRadioDescription() + * @generated + */ + EAttribute getEEFRadioDescription_CandidateDisplayExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeDialogSelectDescription EEF Tree Dialog Select Description}'. + * + * + * @return the meta object for class 'EEF Tree Dialog Select Description'. + * @see org.eclipse.eef.EEFTreeDialogSelectDescription + * @generated + */ + EClass getEEFTreeDialogSelectDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. + * + * + * @return the meta object for the attribute 'Semantic Candidate Expression'. + * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression() + * @see #getEEFTreeDialogSelectDescription() + * @generated + */ + EAttribute getEEFTreeDialogSelectDescription_SemanticCandidateExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDefaultFilter Default Filter}'. + * + * + * @return the meta object for the attribute 'Default Filter'. + * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getDefaultFilter() + * @see #getEEFTreeDialogSelectDescription() + * @generated + */ + EAttribute getEEFTreeDialogSelectDescription_DefaultFilter(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDomainClass Domain Class}'. + * + * + * @return the meta object for the attribute 'Domain Class'. + * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getDomainClass() + * @see #getEEFTreeDialogSelectDescription() + * @generated + */ + EAttribute getEEFTreeDialogSelectDescription_DomainClass(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getTree Tree}'. + * + * + * @return the meta object for the reference 'Tree'. + * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getTree() + * @see #getEEFTreeDialogSelectDescription() + * @generated + */ + EReference getEEFTreeDialogSelectDescription_Tree(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFLinkDescription EEF Link Description}'. + * + * + * @return the meta object for class 'EEF Link Description'. + * @see org.eclipse.eef.EEFLinkDescription + * @generated + */ + EClass getEEFLinkDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLinkDescription#getOnClickExpression On Click Expression}'. + * + * + * @return the meta object for the attribute 'On Click Expression'. + * @see org.eclipse.eef.EEFLinkDescription#getOnClickExpression() + * @see #getEEFLinkDescription() + * @generated + */ + EAttribute getEEFLinkDescription_OnClickExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFImageDescription EEF Image Description}'. + * + * + * @return the meta object for class 'EEF Image Description'. + * @see org.eclipse.eef.EEFImageDescription + * @generated + */ + EClass getEEFImageDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImageDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFImageDescription#getValueExpression() + * @see #getEEFImageDescription() + * @generated + */ + EAttribute getEEFImageDescription_ValueExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeDescription EEF Tree Description}'. + * + * + * @return the meta object for class 'EEF Tree Description'. + * @see org.eclipse.eef.EEFTreeDescription + * @generated + */ + EClass getEEFTreeDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFTreeDescription#getValueExpression() + * @see #getEEFTreeDescription() + * @generated + */ + EAttribute getEEFTreeDescription_ValueExpression(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.EEFTreeDescription#getTreeStructure Tree Structure}'. + * + * + * @return the meta object for the reference 'Tree Structure'. + * @see org.eclipse.eef.EEFTreeDescription#getTreeStructure() + * @see #getEEFTreeDescription() + * @generated + */ + EReference getEEFTreeDescription_TreeStructure(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.EEFTreeDescription#getEditExpression() + * @see #getEEFTreeDescription() + * @generated + */ + EAttribute getEEFTreeDescription_EditExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFImagePickerDescription EEF Image Picker Description}'. + * + * + * @return the meta object for class 'EEF Image Picker Description'. + * @see org.eclipse.eef.EEFImagePickerDescription + * @generated + */ + EClass getEEFImagePickerDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImagePickerDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFImagePickerDescription#getValueExpression() + * @see #getEEFImagePickerDescription() + * @generated + */ + EAttribute getEEFImagePickerDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImagePickerDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.EEFImagePickerDescription#getEditExpression() + * @see #getEEFImagePickerDescription() + * @generated + */ + EAttribute getEEFImagePickerDescription_EditExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImagePickerDescription#getCandidatesExpression Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Candidates Expression'. + * @see org.eclipse.eef.EEFImagePickerDescription#getCandidatesExpression() + * @see #getEEFImagePickerDescription() + * @generated + */ + EAttribute getEEFImagePickerDescription_CandidatesExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTableDescription EEF Table Description}'. + * + * + * @return the meta object for class 'EEF Table Description'. + * @see org.eclipse.eef.EEFTableDescription + * @generated + */ + EClass getEEFTableDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFTableDescription#getValueExpression() + * @see #getEEFTableDescription() + * @generated + */ + EAttribute getEEFTableDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.EEFTableDescription#getEditExpression() + * @see #getEEFTableDescription() + * @generated + */ + EAttribute getEEFTableDescription_EditExpression(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.EEFTableDescription#getTableStructure Table Structure}'. + * + * + * @return the meta object for the reference 'Table Structure'. + * @see org.eclipse.eef.EEFTableDescription#getTableStructure() + * @see #getEEFTableDescription() + * @generated + */ + EReference getEEFTableDescription_TableStructure(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFColumnDescription EEF Column Description}'. + * + * + * @return the meta object for class 'EEF Column Description'. + * @see org.eclipse.eef.EEFColumnDescription + * @generated + */ + EClass getEEFColumnDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnDescription#getWidth Width}'. + * + * + * @return the meta object for the attribute 'Width'. + * @see org.eclipse.eef.EEFColumnDescription#getWidth() + * @see #getEEFColumnDescription() + * @generated + */ + EAttribute getEEFColumnDescription_Width(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnDescription#getHeaderExpression Header Expression}'. + * + * + * @return the meta object for the attribute 'Header Expression'. + * @see org.eclipse.eef.EEFColumnDescription#getHeaderExpression() + * @see #getEEFColumnDescription() + * @generated + */ + EAttribute getEEFColumnDescription_HeaderExpression(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.EEFColumnDescription#getCellWidget Cell Widget}'. + * + * + * @return the meta object for the reference 'Cell Widget'. + * @see org.eclipse.eef.EEFColumnDescription#getCellWidget() + * @see #getEEFColumnDescription() + * @generated + */ + EReference getEEFColumnDescription_CellWidget(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnDescription#getContextCandidatesExpression Context Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Context Candidates Expression'. + * @see org.eclipse.eef.EEFColumnDescription#getContextCandidatesExpression() + * @see #getEEFColumnDescription() + * @generated + */ + EAttribute getEEFColumnDescription_ContextCandidatesExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFLineDescription EEF Line Description}'. + * + * + * @return the meta object for class 'EEF Line Description'. + * @see org.eclipse.eef.EEFLineDescription + * @generated + */ + EClass getEEFLineDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineDescription#getHeaderExpression Header Expression}'. + * + * + * @return the meta object for the attribute 'Header Expression'. + * @see org.eclipse.eef.EEFLineDescription#getHeaderExpression() + * @see #getEEFLineDescription() + * @generated + */ + EAttribute getEEFLineDescription_HeaderExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineDescription#getSemanticCandidatesExpression Semantic Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Semantic Candidates Expression'. + * @see org.eclipse.eef.EEFLineDescription#getSemanticCandidatesExpression() + * @see #getEEFLineDescription() + * @generated + */ + EAttribute getEEFLineDescription_SemanticCandidatesExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineDescription#getDomainClass Domain Class}'. + * + * + * @return the meta object for the attribute 'Domain Class'. + * @see org.eclipse.eef.EEFLineDescription#getDomainClass() + * @see #getEEFLineDescription() + * @generated + */ + EAttribute getEEFLineDescription_DomainClass(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFLineDescription#getSubLines Sub Lines}'. + * + * + * @return the meta object for the containment reference list 'Sub Lines'. + * @see org.eclipse.eef.EEFLineDescription#getSubLines() + * @see #getEEFLineDescription() + * @generated + */ + EReference getEEFLineDescription_SubLines(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTableStructureDescription EEF Table Structure Description}'. + * + * + * @return the meta object for class 'EEF Table Structure Description'. + * @see org.eclipse.eef.EEFTableStructureDescription + * @generated + */ + EClass getEEFTableStructureDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#isMultiple Multiple}'. + * + * + * @return the meta object for the attribute 'Multiple'. + * @see org.eclipse.eef.EEFTableStructureDescription#isMultiple() + * @see #getEEFTableStructureDescription() + * @generated + */ + EAttribute getEEFTableStructureDescription_Multiple(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFTableStructureDescription#getIdentifier() + * @see #getEEFTableStructureDescription() + * @generated + */ + EAttribute getEEFTableStructureDescription_Identifier(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription EEF Adapter Factory Table Structure Description}'. + * + * + * @return the meta object for class 'EEF Adapter Factory Table Structure Description'. + * @see org.eclipse.eef.EEFAdapterFactoryTableStructureDescription + * @generated + */ + EClass getEEFAdapterFactoryTableStructureDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}'. + * + * + * @return the meta object for the attribute 'Adapter Factory Provider'. + * @see org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider() + * @see #getEEFAdapterFactoryTableStructureDescription() + * @generated + */ + EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.ContextableElement Contextable Element}'. + * + * + * @return the meta object for class 'Contextable Element'. + * @see org.eclipse.eef.ContextableElement + * @generated + */ + EClass getContextableElement(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.ContextableElement#getRequiredContextVariables Required Context Variables}'. + * + * + * @return the meta object for the containment reference list 'Required Context Variables'. + * @see org.eclipse.eef.ContextableElement#getRequiredContextVariables() + * @see #getContextableElement() + * @generated + */ + EReference getContextableElement_RequiredContextVariables(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.ContextableElement#getExcludedContextVariables Excluded Context Variables}'. + * + * + * @return the meta object for the containment reference list 'Excluded Context Variables'. + * @see org.eclipse.eef.ContextableElement#getExcludedContextVariables() + * @see #getContextableElement() + * @generated + */ + EReference getContextableElement_ExcludedContextVariables(); + + /** + * Returns the meta object for data type '{@link java.lang.String Expression}'. + * + * + * @return the meta object for data type 'Expression'. + * @see java.lang.String + * @model instanceClass="java.lang.String" + * @generated + */ + EDataType getExpression(); + + /** + * Returns the meta object for data type '{@link java.lang.String Type Name}'. + * + * + * @return the meta object for data type 'Type Name'. + * @see java.lang.String + * @model instanceClass="java.lang.String" + * @generated + */ + EDataType getTypeName(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + EefFactory getEefFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFViewDescriptionImpl EEF View Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFViewDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFViewDescription() + * @generated + */ + EClass EEF_VIEW_DESCRIPTION = eINSTANCE.getEEFViewDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_VIEW_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFViewDescription_Identifier(); + + /** + * The meta object literal for the 'Label Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFViewDescription_LabelExpression(); + + /** + * The meta object literal for the 'EPackage Ns Uris' attribute list feature. + * + * + * @generated + */ + EAttribute EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS = eINSTANCE.getEEFViewDescription_EPackageNsUris(); + + /** + * The meta object literal for the 'Groups' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__GROUPS = eINSTANCE.getEEFViewDescription_Groups(); + + /** + * The meta object literal for the 'Pages' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__PAGES = eINSTANCE.getEEFViewDescription_Pages(); + + /** + * The meta object literal for the 'Java Extensions' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS = eINSTANCE.getEEFViewDescription_JavaExtensions(); + + /** + * The meta object literal for the 'Imported Views' reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS = eINSTANCE.getEEFViewDescription_ImportedViews(); + + /** + * The meta object literal for the 'Tree Structures' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__TREE_STRUCTURES = eINSTANCE.getEEFViewDescription_TreeStructures(); + + /** + * The meta object literal for the 'Table Structures' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES = eINSTANCE.getEEFViewDescription_TableStructures(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFPageDescriptionImpl EEF Page Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFPageDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFPageDescription() + * @generated + */ + EClass EEF_PAGE_DESCRIPTION = eINSTANCE.getEEFPageDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_PAGE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFPageDescription_Identifier(); + + /** + * The meta object literal for the 'Label Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFPageDescription_LabelExpression(); + + /** + * The meta object literal for the 'Domain Class' attribute feature. + * + * + * @generated + */ + EAttribute EEF_PAGE_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFPageDescription_DomainClass(); + + /** + * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE.getEEFPageDescription_SemanticCandidateExpression(); + + /** + * The meta object literal for the 'Groups' reference list feature. + * + * + * @generated + */ + EReference EEF_PAGE_DESCRIPTION__GROUPS = eINSTANCE.getEEFPageDescription_Groups(); + + /** + * The meta object literal for the 'Extended Page' reference feature. + * + * + * @generated + */ + EReference EEF_PAGE_DESCRIPTION__EXTENDED_PAGE = eINSTANCE.getEEFPageDescription_ExtendedPage(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFGroupDescriptionImpl EEF Group Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFGroupDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupDescription() + * @generated + */ + EClass EEF_GROUP_DESCRIPTION = eINSTANCE.getEEFGroupDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFGroupDescription_Identifier(); + + /** + * The meta object literal for the 'Label Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFGroupDescription_LabelExpression(); + + /** + * The meta object literal for the 'Domain Class' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFGroupDescription_DomainClass(); + + /** + * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE.getEEFGroupDescription_SemanticCandidateExpression(); + + /** + * The meta object literal for the 'Container' containment reference feature. + * + * + * @generated + */ + EReference EEF_GROUP_DESCRIPTION__CONTAINER = eINSTANCE.getEEFGroupDescription_Container(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFContainerDescriptionImpl EEF Container Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFContainerDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFContainerDescription() + * @generated + */ + EClass EEF_CONTAINER_DESCRIPTION = eINSTANCE.getEEFContainerDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CONTAINER_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFContainerDescription_Identifier(); + + /** + * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE.getEEFContainerDescription_SemanticCandidateExpression(); + + /** + * The meta object literal for the 'Domain Class' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFContainerDescription_DomainClass(); + + /** + * The meta object literal for the 'Layout Column Count' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT = eINSTANCE.getEEFContainerDescription_LayoutColumnCount(); + + /** + * The meta object literal for the 'Containers' containment reference list feature. + * + * + * @generated + */ + EReference EEF_CONTAINER_DESCRIPTION__CONTAINERS = eINSTANCE.getEEFContainerDescription_Containers(); + + /** + * The meta object literal for the 'Widgets' containment reference list feature. + * + * + * @generated + */ + EReference EEF_CONTAINER_DESCRIPTION__WIDGETS = eINSTANCE.getEEFContainerDescription_Widgets(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl EEF Widget Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFWidgetDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFWidgetDescription() + * @generated + */ + EClass EEF_WIDGET_DESCRIPTION = eINSTANCE.getEEFWidgetDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_WIDGET_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFWidgetDescription_Identifier(); + + /** + * The meta object literal for the 'Label Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFWidgetDescription_LabelExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl EEF Java Extension Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFJavaExtensionDescription() + * @generated + */ + EClass EEF_JAVA_EXTENSION_DESCRIPTION = eINSTANCE.getEEFJavaExtensionDescription(); + + /** + * The meta object literal for the 'Qualified Name' attribute feature. + * + * + * @generated + */ + EAttribute EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME = eINSTANCE.getEEFJavaExtensionDescription_QualifiedName(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl EEF Tree Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStructureDescription() + * @generated + */ + EClass EEF_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFTreeStructureDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFTreeStructureDescription_Identifier(); + + /** + * The meta object literal for the 'Multiple' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFTreeStructureDescription_Multiple(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl EEF Interpreted Table Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFInterpretedTableStructureDescription() + * @generated + */ + EClass EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFInterpretedTableStructureDescription(); + + /** + * The meta object literal for the 'Columns' containment reference list feature. + * + * + * @generated + */ + EReference EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS = eINSTANCE.getEEFInterpretedTableStructureDescription_Columns(); + + /** + * The meta object literal for the 'Line' containment reference feature. + * + * + * @generated + */ + EReference EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE = eINSTANCE.getEEFInterpretedTableStructureDescription_Line(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFCellWidgetDescriptionImpl EEF Cell Widget Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFCellWidgetDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCellWidgetDescription() + * @generated + */ + EClass EEF_CELL_WIDGET_DESCRIPTION = eINSTANCE.getEEFCellWidgetDescription(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl EEF Adapter Factory Tree Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFAdapterFactoryTreeStructureDescription() + * @generated + */ + EClass EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFAdapterFactoryTreeStructureDescription(); + + /** + * The meta object literal for the 'Adapter Factory Provider' attribute feature. + * + * + * @generated + */ + EAttribute EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = eINSTANCE + .getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl EEF Interpreted Tree Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFInterpretedTreeStructureDescription() + * @generated + */ + EClass EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFInterpretedTreeStructureDescription(); + + /** + * The meta object literal for the 'Roots Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION = eINSTANCE + .getEEFInterpretedTreeStructureDescription_RootsExpression(); + + /** + * The meta object literal for the 'Children Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION = eINSTANCE + .getEEFInterpretedTreeStructureDescription_ChildrenExpression(); + + /** + * The meta object literal for the 'Selectable Predicate Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION = eINSTANCE + .getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(); + + /** + * The meta object literal for the 'Candidate Display Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE + .getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTextDescriptionImpl EEF Text Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTextDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextDescription() + * @generated + */ + EClass EEF_TEXT_DESCRIPTION = eINSTANCE.getEEFTextDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTextDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTextDescription_EditExpression(); + + /** + * The meta object literal for the 'Line Count' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TEXT_DESCRIPTION__LINE_COUNT = eINSTANCE.getEEFTextDescription_LineCount(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFCheckboxDescriptionImpl EEF Checkbox Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFCheckboxDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxDescription() + * @generated + */ + EClass EEF_CHECKBOX_DESCRIPTION = eINSTANCE.getEEFCheckboxDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFCheckboxDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFCheckboxDescription_EditExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFSelectDescriptionImpl EEF Select Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFSelectDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectDescription() + * @generated + */ + EClass EEF_SELECT_DESCRIPTION = eINSTANCE.getEEFSelectDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFSelectDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFSelectDescription_EditExpression(); + + /** + * The meta object literal for the 'Candidates Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE.getEEFSelectDescription_CandidatesExpression(); + + /** + * The meta object literal for the 'Multiple' attribute feature. + * + * + * @generated + */ + EAttribute EEF_SELECT_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFSelectDescription_Multiple(); + + /** + * The meta object literal for the 'Candidate Display Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE.getEEFSelectDescription_CandidateDisplayExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLabelDescriptionImpl EEF Label Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFLabelDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelDescription() + * @generated + */ + EClass EEF_LABEL_DESCRIPTION = eINSTANCE.getEEFLabelDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFLabelDescription_ValueExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFRadioDescriptionImpl EEF Radio Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFRadioDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioDescription() + * @generated + */ + EClass EEF_RADIO_DESCRIPTION = eINSTANCE.getEEFRadioDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFRadioDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFRadioDescription_EditExpression(); + + /** + * The meta object literal for the 'Candidates Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE.getEEFRadioDescription_CandidatesExpression(); + + /** + * The meta object literal for the 'Candidate Display Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE.getEEFRadioDescription_CandidateDisplayExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl EEF Tree Dialog Select Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeDialogSelectDescription() + * @generated + */ + EClass EEF_TREE_DIALOG_SELECT_DESCRIPTION = eINSTANCE.getEEFTreeDialogSelectDescription(); + + /** + * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE + .getEEFTreeDialogSelectDescription_SemanticCandidateExpression(); + + /** + * The meta object literal for the 'Default Filter' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER = eINSTANCE.getEEFTreeDialogSelectDescription_DefaultFilter(); + + /** + * The meta object literal for the 'Domain Class' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFTreeDialogSelectDescription_DomainClass(); + + /** + * The meta object literal for the 'Tree' reference feature. + * + * + * @generated + */ + EReference EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE = eINSTANCE.getEEFTreeDialogSelectDescription_Tree(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLinkDescriptionImpl EEF Link Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFLinkDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkDescription() + * @generated + */ + EClass EEF_LINK_DESCRIPTION = eINSTANCE.getEEFLinkDescription(); + + /** + * The meta object literal for the 'On Click Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION = eINSTANCE.getEEFLinkDescription_OnClickExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFImageDescriptionImpl EEF Image Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFImageDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFImageDescription() + * @generated + */ + EClass EEF_IMAGE_DESCRIPTION = eINSTANCE.getEEFImageDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFImageDescription_ValueExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeDescriptionImpl EEF Tree Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTreeDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeDescription() + * @generated + */ + EClass EEF_TREE_DESCRIPTION = eINSTANCE.getEEFTreeDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTreeDescription_ValueExpression(); + + /** + * The meta object literal for the 'Tree Structure' reference feature. + * + * + * @generated + */ + EReference EEF_TREE_DESCRIPTION__TREE_STRUCTURE = eINSTANCE.getEEFTreeDescription_TreeStructure(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTreeDescription_EditExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFImagePickerDescriptionImpl EEF Image Picker Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFImagePickerDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFImagePickerDescription() + * @generated + */ + EClass EEF_IMAGE_PICKER_DESCRIPTION = eINSTANCE.getEEFImagePickerDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFImagePickerDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFImagePickerDescription_EditExpression(); + + /** + * The meta object literal for the 'Candidates Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE.getEEFImagePickerDescription_CandidatesExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTableDescriptionImpl EEF Table Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTableDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableDescription() + * @generated + */ + EClass EEF_TABLE_DESCRIPTION = eINSTANCE.getEEFTableDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTableDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTableDescription_EditExpression(); + + /** + * The meta object literal for the 'Table Structure' reference feature. + * + * + * @generated + */ + EReference EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE = eINSTANCE.getEEFTableDescription_TableStructure(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFColumnDescriptionImpl EEF Column Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFColumnDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnDescription() + * @generated + */ + EClass EEF_COLUMN_DESCRIPTION = eINSTANCE.getEEFColumnDescription(); + + /** + * The meta object literal for the 'Width' attribute feature. + * + * + * @generated + */ + EAttribute EEF_COLUMN_DESCRIPTION__WIDTH = eINSTANCE.getEEFColumnDescription_Width(); + + /** + * The meta object literal for the 'Header Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION = eINSTANCE.getEEFColumnDescription_HeaderExpression(); + + /** + * The meta object literal for the 'Cell Widget' reference feature. + * + * + * @generated + */ + EReference EEF_COLUMN_DESCRIPTION__CELL_WIDGET = eINSTANCE.getEEFColumnDescription_CellWidget(); + + /** + * The meta object literal for the 'Context Candidates Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION = eINSTANCE.getEEFColumnDescription_ContextCandidatesExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLineDescriptionImpl EEF Line Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFLineDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineDescription() + * @generated + */ + EClass EEF_LINE_DESCRIPTION = eINSTANCE.getEEFLineDescription(); + + /** + * The meta object literal for the 'Header Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_LINE_DESCRIPTION__HEADER_EXPRESSION = eINSTANCE.getEEFLineDescription_HeaderExpression(); + + /** + * The meta object literal for the 'Semantic Candidates Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = eINSTANCE.getEEFLineDescription_SemanticCandidatesExpression(); + + /** + * The meta object literal for the 'Domain Class' attribute feature. + * + * + * @generated + */ + EAttribute EEF_LINE_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFLineDescription_DomainClass(); + + /** + * The meta object literal for the 'Sub Lines' containment reference list feature. + * + * + * @generated + */ + EReference EEF_LINE_DESCRIPTION__SUB_LINES = eINSTANCE.getEEFLineDescription_SubLines(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl EEF Table Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTableStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStructureDescription() + * @generated + */ + EClass EEF_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFTableStructureDescription(); + + /** + * The meta object literal for the 'Multiple' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFTableStructureDescription_Multiple(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFTableStructureDescription_Identifier(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl EEF Adapter Factory Table Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFAdapterFactoryTableStructureDescription() + * @generated + */ + EClass EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFAdapterFactoryTableStructureDescription(); + + /** + * The meta object literal for the 'Adapter Factory Provider' attribute feature. + * + * + * @generated + */ + EAttribute EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = eINSTANCE + .getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.ContextableElementImpl Contextable Element}' class. + * + * + * @see org.eclipse.eef.impl.ContextableElementImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getContextableElement() + * @generated + */ + EClass CONTEXTABLE_ELEMENT = eINSTANCE.getContextableElement(); + + /** + * The meta object literal for the 'Required Context Variables' containment reference list feature. + * + * + * @generated + */ + EReference CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES = eINSTANCE.getContextableElement_RequiredContextVariables(); + + /** + * The meta object literal for the 'Excluded Context Variables' containment reference list feature. + * + * + * @generated + */ + EReference CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES = eINSTANCE.getContextableElement_ExcludedContextVariables(); + + /** + * The meta object literal for the 'Expression' data type. + * + * + * @see java.lang.String + * @see org.eclipse.eef.impl.EefPackageImpl#getExpression() + * @generated + */ + EDataType EXPRESSION = eINSTANCE.getExpression(); + + /** + * The meta object literal for the 'Type Name' data type. + * + * + * @see java.lang.String + * @see org.eclipse.eef.impl.EefPackageImpl#getTypeName() + * @generated + */ + EDataType TYPE_NAME = eINSTANCE.getTypeName(); + + } + +} //EefPackage diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/ContextableElement.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/ContextableElement.java deleted file mode 100644 index 443f338c0..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/ContextableElement.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.sirius.context.context.ContextVariable; - -/** - * - * A representation of the model object 'Contextable Element'. - * - * - * - * Represents an element which can provide a context. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.ContextableElement#getRequiredContextVariables Required Context Variables}
  • - *
  • {@link org.eclipse.eef.eef.ContextableElement#getExcludedContextVariables Excluded Context Variables}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getContextableElement() - * @model abstract="true" - * @generated - */ -public interface ContextableElement extends EObject { - /** - * Returns the value of the 'Required Context Variables' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.context.context.ContextVariable}. - * - * - * - * Defines variables associated to the required contexts. - * - * @return the value of the 'Required Context Variables' containment reference list. - * @see org.eclipse.eef.eef.EefPackage#getContextableElement_RequiredContextVariables() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getRequiredContextVariables(); - - /** - * Returns the value of the 'Excluded Context Variables' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.context.context.ContextVariable}. - * - * - * - * Defines variables associated to the excluded contexts. - * - * @return the value of the 'Excluded Context Variables' containment reference list. - * @see org.eclipse.eef.eef.EefPackage#getContextableElement_ExcludedContextVariables() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getExcludedContextVariables(); - -} // ContextableElement diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTableStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTableStructureDescription.java deleted file mode 100644 index 1946cf607..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTableStructureDescription.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Adapter Factory Table Structure Description'. - * - * - * - * Defines the structure of a Tree from an AdapterFactory. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFAdapterFactoryTableStructureDescription() - * @model - * @generated - */ -public interface EEFAdapterFactoryTableStructureDescription extends EEFTableStructureDescription { - /** - * Returns the value of the 'Adapter Factory Provider' attribute. - * - * - * - * The qualified name of the adapter factory Java class. - * - * @return the value of the 'Adapter Factory Provider' attribute. - * @see #setAdapterFactoryProvider(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider() - * @model - * @generated - */ - String getAdapterFactoryProvider(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}' attribute. - * - * - * @param value the new value of the 'Adapter Factory Provider' attribute. - * @see #getAdapterFactoryProvider() - * @generated - */ - void setAdapterFactoryProvider(String value); - -} // EEFAdapterFactoryTableStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTreeStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTreeStructureDescription.java deleted file mode 100644 index de2fce959..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFAdapterFactoryTreeStructureDescription.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Adapter Factory Tree Structure Description'. - * - * - * - * Defines the structure of a Tree from an AdapterFactory. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFAdapterFactoryTreeStructureDescription() - * @model - * @generated - */ -public interface EEFAdapterFactoryTreeStructureDescription extends EEFTreeStructureDescription { - /** - * Returns the value of the 'Adapter Factory Provider' attribute. - * - * - * - * The qualified name of the adapter factory Java class. - * - * @return the value of the 'Adapter Factory Provider' attribute. - * @see #setAdapterFactoryProvider(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider() - * @model - * @generated - */ - String getAdapterFactoryProvider(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}' attribute. - * - * - * @param value the new value of the 'Adapter Factory Provider' attribute. - * @see #getAdapterFactoryProvider() - * @generated - */ - void setAdapterFactoryProvider(String value); - -} // EEFAdapterFactoryTreeStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCellWidgetDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCellWidgetDescription.java deleted file mode 100644 index f6edd3357..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCellWidgetDescription.java +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Cell Widget Description'. - * - * - * - * Defines widget which is visible in a table cell. - * - * - * - * @see org.eclipse.eef.eef.EefPackage#getEEFCellWidgetDescription() - * @model abstract="true" - * @generated - */ -public interface EEFCellWidgetDescription extends EEFWidgetDescription { -} // EEFCellWidgetDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCheckboxDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCheckboxDescription.java deleted file mode 100644 index 6bd10622f..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFCheckboxDescription.java +++ /dev/null @@ -1,83 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Checkbox Description'. - * - * - * - * Represents a checkbox in the user interface. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFCheckboxDescription#getValueExpression Value Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFCheckboxDescription#getEditExpression Edit Expression}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFCheckboxDescription() - * @model - * @generated - */ -public interface EEFCheckboxDescription extends EEFCellWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * Indicates how to display the input value. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFCheckboxDescription_ValueExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFCheckboxDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - - /** - * Returns the value of the 'Edit Expression' attribute. - * - * - * - * Defines the behavior executed when the end-user updates the value of the checkbox. - * - * @return the value of the 'Edit Expression' attribute. - * @see #setEditExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFCheckboxDescription_EditExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getEditExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFCheckboxDescription#getEditExpression Edit Expression}' attribute. - * - * - * @param value the new value of the 'Edit Expression' attribute. - * @see #getEditExpression() - * @generated - */ - void setEditExpression(String value); - -} // EEFCheckboxDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFColumnDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFColumnDescription.java deleted file mode 100644 index 08512c4ca..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFColumnDescription.java +++ /dev/null @@ -1,138 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Column Description'. - * - * - * - * Represents a Column in a Table in the user interface. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFColumnDescription#getWidth Width}
  • - *
  • {@link org.eclipse.eef.eef.EEFColumnDescription#getHeaderExpression Header Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFColumnDescription#getCellWidget Cell Widget}
  • - *
  • {@link org.eclipse.eef.eef.EEFColumnDescription#getContextCandidatesExpression Context Candidates Expression}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFColumnDescription() - * @model - * @generated - */ -public interface EEFColumnDescription extends EObject { - /** - * Returns the value of the 'Width' attribute. - * - * - * - * Defines the initial width of a column. It is a percentage of the total - * - * @return the value of the 'Width' attribute. - * @see #setWidth(int) - * @see org.eclipse.eef.eef.EefPackage#getEEFColumnDescription_Width() - * @model - * @generated - */ - int getWidth(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFColumnDescription#getWidth Width}' attribute. - * - * - * @param value the new value of the 'Width' attribute. - * @see #getWidth() - * @generated - */ - void setWidth(int value); - - /** - * Returns the value of the 'Header Expression' attribute. - * - * - * - * Indicates how to display the column table header. - * - * @return the value of the 'Header Expression' attribute. - * @see #setHeaderExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFColumnDescription_HeaderExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getHeaderExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFColumnDescription#getHeaderExpression Header Expression}' attribute. - * - * - * @param value the new value of the 'Header Expression' attribute. - * @see #getHeaderExpression() - * @generated - */ - void setHeaderExpression(String value); - - /** - * Returns the value of the 'Cell Widget' reference. - * - * - * - * References the widget to represent in the cell. - * - * @return the value of the 'Cell Widget' reference. - * @see #setCellWidget(EEFCellWidgetDescription) - * @see org.eclipse.eef.eef.EefPackage#getEEFColumnDescription_CellWidget() - * @model - * @generated - */ - EEFCellWidgetDescription getCellWidget(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFColumnDescription#getCellWidget Cell Widget}' reference. - * - * - * @param value the new value of the 'Cell Widget' reference. - * @see #getCellWidget() - * @generated - */ - void setCellWidget(EEFCellWidgetDescription value); - - /** - * Returns the value of the 'Context Candidates Expression' attribute. - * - *

- * If the meaning of the 'Context Candidates Expression' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Context Candidates Expression' attribute. - * @see #setContextCandidatesExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFColumnDescription_ContextCandidatesExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getContextCandidatesExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFColumnDescription#getContextCandidatesExpression Context Candidates Expression}' attribute. - * - * - * @param value the new value of the 'Context Candidates Expression' attribute. - * @see #getContextCandidatesExpression() - * @generated - */ - void setContextCandidatesExpression(String value); - -} // EEFColumnDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFContainerDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFContainerDescription.java deleted file mode 100644 index 9b0f7ebb0..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFContainerDescription.java +++ /dev/null @@ -1,170 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'EEF Container Description'. - * - * - * - * Holds the widgets of a Group. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFContainerDescription#getIdentifier Identifier}
  • - *
  • {@link org.eclipse.eef.eef.EEFContainerDescription#getSemanticCandidatesExpression Semantic Candidates Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFContainerDescription#getDomainClass Domain Class}
  • - *
  • {@link org.eclipse.eef.eef.EEFContainerDescription#getLayoutColumnCount Layout Column Count}
  • - *
  • {@link org.eclipse.eef.eef.EEFContainerDescription#getContainers Containers}
  • - *
  • {@link org.eclipse.eef.eef.EEFContainerDescription#getWidgets Widgets}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFContainerDescription() - * @model - * @generated - */ -public interface EEFContainerDescription extends ContextableElement { - /** - * Returns the value of the 'Identifier' attribute. - * - * - * - * Used to identify a specific Container in a Group. - * - * @return the value of the 'Identifier' attribute. - * @see #setIdentifier(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFContainerDescription_Identifier() - * @model required="true" - * @generated - */ - String getIdentifier(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFContainerDescription#getIdentifier Identifier}' attribute. - * - * - * @param value the new value of the 'Identifier' attribute. - * @see #getIdentifier() - * @generated - */ - void setIdentifier(String value); - - /** - * Returns the value of the 'Semantic Candidates Expression' attribute. - * - * - * - * The elements that are represented. - * - * @return the value of the 'Semantic Candidates Expression' attribute. - * @see #setSemanticCandidatesExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFContainerDescription_SemanticCandidatesExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getSemanticCandidatesExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFContainerDescription#getSemanticCandidatesExpression Semantic Candidates Expression}' attribute. - * - * - * @param value the new value of the 'Semantic Candidates Expression' attribute. - * @see #getSemanticCandidatesExpression() - * @generated - */ - void setSemanticCandidatesExpression(String value); - - /** - * Returns the value of the 'Domain Class' attribute. - * - * - * - * Defines the context in which the Container is used. - * - * @return the value of the 'Domain Class' attribute. - * @see #setDomainClass(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFContainerDescription_DomainClass() - * @model dataType="org.eclipse.eef.eef.TypeName" - * @generated - */ - String getDomainClass(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFContainerDescription#getDomainClass Domain Class}' attribute. - * - * - * @param value the new value of the 'Domain Class' attribute. - * @see #getDomainClass() - * @generated - */ - void setDomainClass(String value); - - /** - * Returns the value of the 'Layout Column Count' attribute. - * The default value is "1". - * - * - * - * Number of available columns. If the number of elements is higher than the number of columns then the elements are represented on the next line. - * - * @return the value of the 'Layout Column Count' attribute. - * @see #setLayoutColumnCount(int) - * @see org.eclipse.eef.eef.EefPackage#getEEFContainerDescription_LayoutColumnCount() - * @model default="1" - * @generated - */ - int getLayoutColumnCount(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFContainerDescription#getLayoutColumnCount Layout Column Count}' attribute. - * - * - * @param value the new value of the 'Layout Column Count' attribute. - * @see #getLayoutColumnCount() - * @generated - */ - void setLayoutColumnCount(int value); - - /** - * Returns the value of the 'Containers' containment reference list. - * The list contents are of type {@link org.eclipse.eef.eef.EEFContainerDescription}. - * - * - * - * Defines sub-containers. - * - * @return the value of the 'Containers' containment reference list. - * @see org.eclipse.eef.eef.EefPackage#getEEFContainerDescription_Containers() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getContainers(); - - /** - * Returns the value of the 'Widgets' containment reference list. - * The list contents are of type {@link org.eclipse.eef.eef.EEFWidgetDescription}. - * - * - * - * References the widgets to hold. - * - * @return the value of the 'Widgets' containment reference list. - * @see org.eclipse.eef.eef.EefPackage#getEEFContainerDescription_Widgets() - * @model containment="true" resolveProxies="true" required="true" - * @generated - */ - EList getWidgets(); - -} // EEFContainerDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFGroupDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFGroupDescription.java deleted file mode 100644 index 6fbddc656..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFGroupDescription.java +++ /dev/null @@ -1,161 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Group Description'. - * - * - * - * A Group is used to structure the user interface within a Page. It groups multiple widgets together. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFGroupDescription#getIdentifier Identifier}
  • - *
  • {@link org.eclipse.eef.eef.EEFGroupDescription#getLabelExpression Label Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFGroupDescription#getDomainClass Domain Class}
  • - *
  • {@link org.eclipse.eef.eef.EEFGroupDescription#getSemanticCandidatesExpression Semantic Candidates Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFGroupDescription#getContainer Container}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFGroupDescription() - * @model - * @generated - */ -public interface EEFGroupDescription extends ContextableElement { - /** - * Returns the value of the 'Identifier' attribute. - * - * - * - * Used to identify a specific Group in a Page. - * - * @return the value of the 'Identifier' attribute. - * @see #setIdentifier(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFGroupDescription_Identifier() - * @model required="true" - * @generated - */ - String getIdentifier(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFGroupDescription#getIdentifier Identifier}' attribute. - * - * - * @param value the new value of the 'Identifier' attribute. - * @see #getIdentifier() - * @generated - */ - void setIdentifier(String value); - - /** - * Returns the value of the 'Label Expression' attribute. - * - * - * - * The label of the Group visible by the end users. If not specified, the Group is not drawn only its contained widgets are shown, else it is visible as a section. - * - * @return the value of the 'Label Expression' attribute. - * @see #setLabelExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFGroupDescription_LabelExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getLabelExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFGroupDescription#getLabelExpression Label Expression}' attribute. - * - * - * @param value the new value of the 'Label Expression' attribute. - * @see #getLabelExpression() - * @generated - */ - void setLabelExpression(String value); - - /** - * Returns the value of the 'Domain Class' attribute. - * - * - * - * Defines the context in which the Group is used. - * - * @return the value of the 'Domain Class' attribute. - * @see #setDomainClass(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFGroupDescription_DomainClass() - * @model dataType="org.eclipse.eef.eef.TypeName" - * @generated - */ - String getDomainClass(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFGroupDescription#getDomainClass Domain Class}' attribute. - * - * - * @param value the new value of the 'Domain Class' attribute. - * @see #getDomainClass() - * @generated - */ - void setDomainClass(String value); - - /** - * Returns the value of the 'Semantic Candidates Expression' attribute. - * - * - * - * The elements that are represented. If not specified, the EEF runtime reuses the context of the Page for the Group. - * - * @return the value of the 'Semantic Candidates Expression' attribute. - * @see #setSemanticCandidatesExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFGroupDescription_SemanticCandidatesExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getSemanticCandidatesExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFGroupDescription#getSemanticCandidatesExpression Semantic Candidates Expression}' attribute. - * - * - * @param value the new value of the 'Semantic Candidates Expression' attribute. - * @see #getSemanticCandidatesExpression() - * @generated - */ - void setSemanticCandidatesExpression(String value); - - /** - * Returns the value of the 'Container' containment reference. - * - * - * - * Contains the container related to a group. - * - * @return the value of the 'Container' containment reference. - * @see #setContainer(EEFContainerDescription) - * @see org.eclipse.eef.eef.EefPackage#getEEFGroupDescription_Container() - * @model containment="true" resolveProxies="true" required="true" - * @generated - */ - EEFContainerDescription getContainer(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFGroupDescription#getContainer Container}' containment reference. - * - * - * @param value the new value of the 'Container' containment reference. - * @see #getContainer() - * @generated - */ - void setContainer(EEFContainerDescription value); - -} // EEFGroupDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImageDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImageDescription.java deleted file mode 100644 index 84fa6a5d7..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImageDescription.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Image Description'. - * - * - * - * Represents an image in the user interface. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFImageDescription#getValueExpression Value Expression}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFImageDescription() - * @model - * @generated - */ -public interface EEFImageDescription extends EEFCellWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * URI of the image to display. The URI requires a scheme and is considered by the EEF runtime as an EMF URI. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFImageDescription_ValueExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFImageDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - -} // EEFImageDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImagePickerDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImagePickerDescription.java deleted file mode 100644 index 9f18bac0c..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFImagePickerDescription.java +++ /dev/null @@ -1,109 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Image Picker Description'. - * - * - * - * Represents an image and a way for the end-user to modify it. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFImagePickerDescription#getValueExpression Value Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFImagePickerDescription#getEditExpression Edit Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFImagePickerDescription#getCandidatesExpression Candidates Expression}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFImagePickerDescription() - * @model - * @generated - */ -public interface EEFImagePickerDescription extends EEFWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * URI of the image to display. The URI requires a scheme and is considered by the EEF runtime as an EMF URI. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFImagePickerDescription_ValueExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFImagePickerDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - - /** - * Returns the value of the 'Edit Expression' attribute. - * - * - * - * Defines the behavior executed when the end-user updates the value of the image. - * - * @return the value of the 'Edit Expression' attribute. - * @see #setEditExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFImagePickerDescription_EditExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getEditExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFImagePickerDescription#getEditExpression Edit Expression}' attribute. - * - * - * @param value the new value of the 'Edit Expression' attribute. - * @see #getEditExpression() - * @generated - */ - void setEditExpression(String value); - - /** - * Returns the value of the 'Candidates Expression' attribute. - * - * - * - * List of URIs to compute the selectable images. - * - * @return the value of the 'Candidates Expression' attribute. - * @see #setCandidatesExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFImagePickerDescription_CandidatesExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getCandidatesExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFImagePickerDescription#getCandidatesExpression Candidates Expression}' attribute. - * - * - * @param value the new value of the 'Candidates Expression' attribute. - * @see #getCandidatesExpression() - * @generated - */ - void setCandidatesExpression(String value); - -} // EEFImagePickerDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTableStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTableStructureDescription.java deleted file mode 100644 index cce875f25..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTableStructureDescription.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'EEF Interpreted Table Structure Description'. - * - * - * - * Defines the structure of a Table based on expressions and variables interpreted by the EEF runtime. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription#getColumns Columns}
  • - *
  • {@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription#getLine Line}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTableStructureDescription() - * @model - * @generated - */ -public interface EEFInterpretedTableStructureDescription extends EEFTableStructureDescription { - /** - * Returns the value of the 'Columns' containment reference list. - * The list contents are of type {@link org.eclipse.eef.eef.EEFColumnDescription}. - * - * - * - * References the table columns. - * - * @return the value of the 'Columns' containment reference list. - * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTableStructureDescription_Columns() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getColumns(); - - /** - * Returns the value of the 'Line' containment reference. - * - * - * - * References the table lines. - * - * @return the value of the 'Line' containment reference. - * @see #setLine(EEFLineDescription) - * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTableStructureDescription_Line() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFLineDescription getLine(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription#getLine Line}' containment reference. - * - * - * @param value the new value of the 'Line' containment reference. - * @see #getLine() - * @generated - */ - void setLine(EEFLineDescription value); - -} // EEFInterpretedTableStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTreeStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTreeStructureDescription.java deleted file mode 100644 index 167ff13c2..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFInterpretedTreeStructureDescription.java +++ /dev/null @@ -1,135 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Interpreted Tree Structure Description'. - * - * - * - * Defines the structure of a Tree based on expressions and variables interpreted by the EEF runtime. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getRootsExpression Roots Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression Children Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression Selectable Predicate Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression Candidate Display Expression}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTreeStructureDescription() - * @model - * @generated - */ -public interface EEFInterpretedTreeStructureDescription extends EEFTreeStructureDescription { - /** - * Returns the value of the 'Roots Expression' attribute. - * - * - * - * Defines the collection of elements that could be roots of the Tree. - * - * @return the value of the 'Roots Expression' attribute. - * @see #setRootsExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTreeStructureDescription_RootsExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getRootsExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getRootsExpression Roots Expression}' attribute. - * - * - * @param value the new value of the 'Roots Expression' attribute. - * @see #getRootsExpression() - * @generated - */ - void setRootsExpression(String value); - - /** - * Returns the value of the 'Children Expression' attribute. - * - * - * - * Defines how to compute the children. - * - * @return the value of the 'Children Expression' attribute. - * @see #setChildrenExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTreeStructureDescription_ChildrenExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getChildrenExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression Children Expression}' attribute. - * - * - * @param value the new value of the 'Children Expression' attribute. - * @see #getChildrenExpression() - * @generated - */ - void setChildrenExpression(String value); - - /** - * Returns the value of the 'Selectable Predicate Expression' attribute. - * - * - * - * Defines the elements of the Tree that can be selected. - * - * @return the value of the 'Selectable Predicate Expression' attribute. - * @see #setSelectablePredicateExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getSelectablePredicateExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression Selectable Predicate Expression}' attribute. - * - * - * @param value the new value of the 'Selectable Predicate Expression' attribute. - * @see #getSelectablePredicateExpression() - * @generated - */ - void setSelectablePredicateExpression(String value); - - /** - * Returns the value of the 'Candidate Display Expression' attribute. - * - * - * - * Indicates how to display the input value. - * - * @return the value of the 'Candidate Display Expression' attribute. - * @see #setCandidateDisplayExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getCandidateDisplayExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression Candidate Display Expression}' attribute. - * - * - * @param value the new value of the 'Candidate Display Expression' attribute. - * @see #getCandidateDisplayExpression() - * @generated - */ - void setCandidateDisplayExpression(String value); - -} // EEFInterpretedTreeStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFJavaExtensionDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFJavaExtensionDescription.java deleted file mode 100644 index 3f7306724..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFJavaExtensionDescription.java +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Java Extension Description'. - * - * - * - * Contributes the referenced Java class as a service for the EEF runtime interpreters. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFJavaExtensionDescription#getQualifiedName Qualified Name}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFJavaExtensionDescription() - * @model - * @generated - */ -public interface EEFJavaExtensionDescription extends EObject { - /** - * Returns the value of the 'Qualified Name' attribute. - * - * - * - * The qualified name of the Java class to reference. - * - * @return the value of the 'Qualified Name' attribute. - * @see #setQualifiedName(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFJavaExtensionDescription_QualifiedName() - * @model - * @generated - */ - String getQualifiedName(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFJavaExtensionDescription#getQualifiedName Qualified Name}' attribute. - * - * - * @param value the new value of the 'Qualified Name' attribute. - * @see #getQualifiedName() - * @generated - */ - void setQualifiedName(String value); - -} // EEFJavaExtensionDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLabelDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLabelDescription.java deleted file mode 100644 index d915b4f2a..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLabelDescription.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Label Description'. - * - * - * - * Represents a label in the user interface. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFLabelDescription#getValueExpression Value Expression}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFLabelDescription() - * @model - * @generated - */ -public interface EEFLabelDescription extends EEFCellWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * Indicates how to display the input value. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFLabelDescription_ValueExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFLabelDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - -} // EEFLabelDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLineDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLineDescription.java deleted file mode 100644 index 631c08a45..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLineDescription.java +++ /dev/null @@ -1,129 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Line Description'. - * - * - * - * Represents a Line in a Table in the user interface. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFLineDescription#getHeaderExpression Header Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFLineDescription#getSemanticCandidatesExpression Semantic Candidates Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFLineDescription#getDomainClass Domain Class}
  • - *
  • {@link org.eclipse.eef.eef.EEFLineDescription#getSubLines Sub Lines}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFLineDescription() - * @model - * @generated - */ -public interface EEFLineDescription extends EObject { - /** - * Returns the value of the 'Header Expression' attribute. - * - * - * - * Indicates how to display the line table header. If not set, the default column will not be visible. - * - * @return the value of the 'Header Expression' attribute. - * @see #setHeaderExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFLineDescription_HeaderExpression() - * @model - * @generated - */ - String getHeaderExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFLineDescription#getHeaderExpression Header Expression}' attribute. - * - * - * @param value the new value of the 'Header Expression' attribute. - * @see #getHeaderExpression() - * @generated - */ - void setHeaderExpression(String value); - - /** - * Returns the value of the 'Semantic Candidates Expression' attribute. - * - * - * - * The elements that are represented. - * - * @return the value of the 'Semantic Candidates Expression' attribute. - * @see #setSemanticCandidatesExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFLineDescription_SemanticCandidatesExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getSemanticCandidatesExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFLineDescription#getSemanticCandidatesExpression Semantic Candidates Expression}' attribute. - * - * - * @param value the new value of the 'Semantic Candidates Expression' attribute. - * @see #getSemanticCandidatesExpression() - * @generated - */ - void setSemanticCandidatesExpression(String value); - - /** - * Returns the value of the 'Domain Class' attribute. - * - * - * - * Defines the context in which the Line is used. - * - * @return the value of the 'Domain Class' attribute. - * @see #setDomainClass(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFLineDescription_DomainClass() - * @model dataType="org.eclipse.eef.eef.TypeName" - * @generated - */ - String getDomainClass(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFLineDescription#getDomainClass Domain Class}' attribute. - * - * - * @param value the new value of the 'Domain Class' attribute. - * @see #getDomainClass() - * @generated - */ - void setDomainClass(String value); - - /** - * Returns the value of the 'Sub Lines' containment reference list. - * The list contents are of type {@link org.eclipse.eef.eef.EEFLineDescription}. - * - * - * - * References lines that will be represented as sub lines in the table, this allows to get a kind of tree inside a table. - * - * @return the value of the 'Sub Lines' containment reference list. - * @see org.eclipse.eef.eef.EefPackage#getEEFLineDescription_SubLines() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getSubLines(); - -} // EEFLineDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLinkDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLinkDescription.java deleted file mode 100644 index 7aedaf4a3..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFLinkDescription.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Link Description'. - * - * - * - * Represents an hyperlink in the user interface. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFLinkDescription#getOnClickExpression On Click Expression}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFLinkDescription() - * @model - * @generated - */ -public interface EEFLinkDescription extends EEFCellWidgetDescription { - /** - * Returns the value of the 'On Click Expression' attribute. - * - * - * - * Defines the behavior executed when the link is clicked. - * - * @return the value of the 'On Click Expression' attribute. - * @see #setOnClickExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFLinkDescription_OnClickExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getOnClickExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFLinkDescription#getOnClickExpression On Click Expression}' attribute. - * - * - * @param value the new value of the 'On Click Expression' attribute. - * @see #getOnClickExpression() - * @generated - */ - void setOnClickExpression(String value); - -} // EEFLinkDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFPageDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFPageDescription.java deleted file mode 100644 index 24cbe589f..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFPageDescription.java +++ /dev/null @@ -1,180 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'EEF Page Description'. - * - * - * - * A Page is a tab represented in a View. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFPageDescription#getIdentifier Identifier}
  • - *
  • {@link org.eclipse.eef.eef.EEFPageDescription#getLabelExpression Label Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFPageDescription#getDomainClass Domain Class}
  • - *
  • {@link org.eclipse.eef.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFPageDescription#getGroups Groups}
  • - *
  • {@link org.eclipse.eef.eef.EEFPageDescription#getExtendedPage Extended Page}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFPageDescription() - * @model - * @generated - */ -public interface EEFPageDescription extends ContextableElement { - /** - * Returns the value of the 'Identifier' attribute. - * - * - * - * Used to identify a specific Page instance. - * - * @return the value of the 'Identifier' attribute. - * @see #setIdentifier(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFPageDescription_Identifier() - * @model required="true" - * @generated - */ - String getIdentifier(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFPageDescription#getIdentifier Identifier}' attribute. - * - * - * @param value the new value of the 'Identifier' attribute. - * @see #getIdentifier() - * @generated - */ - void setIdentifier(String value); - - /** - * Returns the value of the 'Label Expression' attribute. - * - * - * - * The label of the Page visible by the end-users. - * - * @return the value of the 'Label Expression' attribute. - * @see #setLabelExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFPageDescription_LabelExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getLabelExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFPageDescription#getLabelExpression Label Expression}' attribute. - * - * - * @param value the new value of the 'Label Expression' attribute. - * @see #getLabelExpression() - * @generated - */ - void setLabelExpression(String value); - - /** - * Returns the value of the 'Domain Class' attribute. - * - * - * - * Defines the context of the Page. - * - * @return the value of the 'Domain Class' attribute. - * @see #setDomainClass(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFPageDescription_DomainClass() - * @model dataType="org.eclipse.eef.eef.TypeName" - * @generated - */ - String getDomainClass(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFPageDescription#getDomainClass Domain Class}' attribute. - * - * - * @param value the new value of the 'Domain Class' attribute. - * @see #getDomainClass() - * @generated - */ - void setDomainClass(String value); - - /** - * Returns the value of the 'Semantic Candidate Expression' attribute. - * The default value is "". - * - * - * - * The elements that are represented. If not specified, the EEF runtime reuses the context of the View for the Page. - * - * @return the value of the 'Semantic Candidate Expression' attribute. - * @see #setSemanticCandidateExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFPageDescription_SemanticCandidateExpression() - * @model default="" dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getSemanticCandidateExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression}' attribute. - * - * - * @param value the new value of the 'Semantic Candidate Expression' attribute. - * @see #getSemanticCandidateExpression() - * @generated - */ - void setSemanticCandidateExpression(String value); - - /** - * Returns the value of the 'Groups' reference list. - * The list contents are of type {@link org.eclipse.eef.eef.EEFGroupDescription}. - * - * - * - * References the Groups which are visible in a Page. If not specified, the EEF runtime looks for all the Groups defined under the View containing the Page that have a domainClass which is equal or a super class of the domainClass of the Page and use them following the order of the inheritance tree of the EObject. - * - * @return the value of the 'Groups' reference list. - * @see org.eclipse.eef.eef.EefPackage#getEEFPageDescription_Groups() - * @model - * @generated - */ - EList getGroups(); - - /** - * Returns the value of the 'Extended Page' reference. - * - * - * - * References existing pages in order to extend their contents by adding/hiding groups and widgets. - * - * @return the value of the 'Extended Page' reference. - * @see #setExtendedPage(EEFPageDescription) - * @see org.eclipse.eef.eef.EefPackage#getEEFPageDescription_ExtendedPage() - * @model - * @generated - */ - EEFPageDescription getExtendedPage(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFPageDescription#getExtendedPage Extended Page}' reference. - * - * - * @param value the new value of the 'Extended Page' reference. - * @see #getExtendedPage() - * @generated - */ - void setExtendedPage(EEFPageDescription value); - -} // EEFPageDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFRadioDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFRadioDescription.java deleted file mode 100644 index 99bb1ac3e..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFRadioDescription.java +++ /dev/null @@ -1,135 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Radio Description'. - * - * - * - * Represents a radio button in the user interface. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFRadioDescription#getValueExpression Value Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFRadioDescription#getEditExpression Edit Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFRadioDescription#getCandidatesExpression Candidates Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFRadioDescription#getCandidateDisplayExpression Candidate Display Expression}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFRadioDescription() - * @model - * @generated - */ -public interface EEFRadioDescription extends EEFWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * The initial selected value of the radio. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFRadioDescription_ValueExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFRadioDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - - /** - * Returns the value of the 'Edit Expression' attribute. - * - * - * - * Defines the behavior executed when the end-user updates the value of the radio. - * - * @return the value of the 'Edit Expression' attribute. - * @see #setEditExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFRadioDescription_EditExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getEditExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFRadioDescription#getEditExpression Edit Expression}' attribute. - * - * - * @param value the new value of the 'Edit Expression' attribute. - * @see #getEditExpression() - * @generated - */ - void setEditExpression(String value); - - /** - * Returns the value of the 'Candidates Expression' attribute. - * - * - * - * Defines the various proposals available. - * - * @return the value of the 'Candidates Expression' attribute. - * @see #setCandidatesExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFRadioDescription_CandidatesExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getCandidatesExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFRadioDescription#getCandidatesExpression Candidates Expression}' attribute. - * - * - * @param value the new value of the 'Candidates Expression' attribute. - * @see #getCandidatesExpression() - * @generated - */ - void setCandidatesExpression(String value); - - /** - * Returns the value of the 'Candidate Display Expression' attribute. - * - * - * - * Indicates how to display the input value. - * - * @return the value of the 'Candidate Display Expression' attribute. - * @see #setCandidateDisplayExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFRadioDescription_CandidateDisplayExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getCandidateDisplayExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFRadioDescription#getCandidateDisplayExpression Candidate Display Expression}' attribute. - * - * - * @param value the new value of the 'Candidate Display Expression' attribute. - * @see #getCandidateDisplayExpression() - * @generated - */ - void setCandidateDisplayExpression(String value); - -} // EEFRadioDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFSelectDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFSelectDescription.java deleted file mode 100644 index 64b38241e..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFSelectDescription.java +++ /dev/null @@ -1,161 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Select Description'. - * - * - * - * Represents a collection of candidates used to edit a single or multi-valued property. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFSelectDescription#getValueExpression Value Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFSelectDescription#getEditExpression Edit Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFSelectDescription#getCandidatesExpression Candidates Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFSelectDescription#isMultiple Multiple}
  • - *
  • {@link org.eclipse.eef.eef.EEFSelectDescription#getCandidateDisplayExpression Candidate Display Expression}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFSelectDescription() - * @model - * @generated - */ -public interface EEFSelectDescription extends EEFCellWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * The initial selected values of the radio. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFSelectDescription_ValueExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFSelectDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - - /** - * Returns the value of the 'Edit Expression' attribute. - * - * - * - * Defines the behavior executed when the end-user updates the value of the select. - * - * @return the value of the 'Edit Expression' attribute. - * @see #setEditExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFSelectDescription_EditExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getEditExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFSelectDescription#getEditExpression Edit Expression}' attribute. - * - * - * @param value the new value of the 'Edit Expression' attribute. - * @see #getEditExpression() - * @generated - */ - void setEditExpression(String value); - - /** - * Returns the value of the 'Candidates Expression' attribute. - * - * - * - * Defines the various proposals available. - * - * @return the value of the 'Candidates Expression' attribute. - * @see #setCandidatesExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFSelectDescription_CandidatesExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getCandidatesExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFSelectDescription#getCandidatesExpression Candidates Expression}' attribute. - * - * - * @param value the new value of the 'Candidates Expression' attribute. - * @see #getCandidatesExpression() - * @generated - */ - void setCandidatesExpression(String value); - - /** - * Returns the value of the 'Multiple' attribute. - * - * - * - * If set to true several values can be selected at same time otherwise one selection is possible. - * - * @return the value of the 'Multiple' attribute. - * @see #setMultiple(boolean) - * @see org.eclipse.eef.eef.EefPackage#getEEFSelectDescription_Multiple() - * @model - * @generated - */ - boolean isMultiple(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFSelectDescription#isMultiple Multiple}' attribute. - * - * - * @param value the new value of the 'Multiple' attribute. - * @see #isMultiple() - * @generated - */ - void setMultiple(boolean value); - - /** - * Returns the value of the 'Candidate Display Expression' attribute. - * - * - * - * Indicates how to display the input value. - * - * @return the value of the 'Candidate Display Expression' attribute. - * @see #setCandidateDisplayExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFSelectDescription_CandidateDisplayExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getCandidateDisplayExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFSelectDescription#getCandidateDisplayExpression Candidate Display Expression}' attribute. - * - * - * @param value the new value of the 'Candidate Display Expression' attribute. - * @see #getCandidateDisplayExpression() - * @generated - */ - void setCandidateDisplayExpression(String value); - -} // EEFSelectDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableDescription.java deleted file mode 100644 index 1dc8ab301..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableDescription.java +++ /dev/null @@ -1,109 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Table Description'. - * - * - * - * Represents a Table in the user interface. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFTableDescription#getValueExpression Value Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFTableDescription#getEditExpression Edit Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFTableDescription#getTableStructure Table Structure}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFTableDescription() - * @model - * @generated - */ -public interface EEFTableDescription extends EEFWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * Indicates how to display the input values. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFTableDescription_ValueExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTableDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - - /** - * Returns the value of the 'Edit Expression' attribute. - * - * - * - * Defines the behavior executed when the end-user updates the table cell elements. - * - * @return the value of the 'Edit Expression' attribute. - * @see #setEditExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFTableDescription_EditExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getEditExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTableDescription#getEditExpression Edit Expression}' attribute. - * - * - * @param value the new value of the 'Edit Expression' attribute. - * @see #getEditExpression() - * @generated - */ - void setEditExpression(String value); - - /** - * Returns the value of the 'Table Structure' reference. - * - * - * - * References a table structure. - * - * @return the value of the 'Table Structure' reference. - * @see #setTableStructure(EEFTableStructureDescription) - * @see org.eclipse.eef.eef.EefPackage#getEEFTableDescription_TableStructure() - * @model - * @generated - */ - EEFTableStructureDescription getTableStructure(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTableDescription#getTableStructure Table Structure}' reference. - * - * - * @param value the new value of the 'Table Structure' reference. - * @see #getTableStructure() - * @generated - */ - void setTableStructure(EEFTableStructureDescription value); - -} // EEFTableDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableStructureDescription.java deleted file mode 100644 index cc8ac56ad..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTableStructureDescription.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Table Structure Description'. - * - * - * - * Describes a table as a set of elements related to an input. This description is reusable by Table widgets. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFTableStructureDescription#isMultiple Multiple}
  • - *
  • {@link org.eclipse.eef.eef.EEFTableStructureDescription#getIdentifier Identifier}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFTableStructureDescription() - * @model abstract="true" - * @generated - */ -public interface EEFTableStructureDescription extends EObject { - /** - * Returns the value of the 'Multiple' attribute. - * - * - * - * If set to true several values can be selected at same time otherwise one selection is possible. - * - * @return the value of the 'Multiple' attribute. - * @see #setMultiple(boolean) - * @see org.eclipse.eef.eef.EefPackage#getEEFTableStructureDescription_Multiple() - * @model - * @generated - */ - boolean isMultiple(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTableStructureDescription#isMultiple Multiple}' attribute. - * - * - * @param value the new value of the 'Multiple' attribute. - * @see #isMultiple() - * @generated - */ - void setMultiple(boolean value); - - /** - * Returns the value of the 'Identifier' attribute. - * - * - * - * Used to identify a specific table structure. - * - * @return the value of the 'Identifier' attribute. - * @see #setIdentifier(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFTableStructureDescription_Identifier() - * @model required="true" - * @generated - */ - String getIdentifier(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTableStructureDescription#getIdentifier Identifier}' attribute. - * - * - * @param value the new value of the 'Identifier' attribute. - * @see #getIdentifier() - * @generated - */ - void setIdentifier(String value); - -} // EEFTableStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTextDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTextDescription.java deleted file mode 100644 index 3bff3250e..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTextDescription.java +++ /dev/null @@ -1,110 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Text Description'. - * - * - * - * Represents a text field in the user interface. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFTextDescription#getValueExpression Value Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFTextDescription#getEditExpression Edit Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFTextDescription#getLineCount Line Count}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFTextDescription() - * @model - * @generated - */ -public interface EEFTextDescription extends EEFCellWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * Indicates how to display the input value. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFTextDescription_ValueExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTextDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - - /** - * Returns the value of the 'Edit Expression' attribute. - * - * - * - * Defines the behavior executed when the end-user updates the value of the text field. - * - * @return the value of the 'Edit Expression' attribute. - * @see #setEditExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFTextDescription_EditExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getEditExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTextDescription#getEditExpression Edit Expression}' attribute. - * - * - * @param value the new value of the 'Edit Expression' attribute. - * @see #getEditExpression() - * @generated - */ - void setEditExpression(String value); - - /** - * Returns the value of the 'Line Count' attribute. - * The default value is "1". - * - * - * - * Must be upper or equal to 1. If lineCount > 1, the text field is represented thanks to a text area. - * - * @return the value of the 'Line Count' attribute. - * @see #setLineCount(int) - * @see org.eclipse.eef.eef.EefPackage#getEEFTextDescription_LineCount() - * @model default="1" - * @generated - */ - int getLineCount(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTextDescription#getLineCount Line Count}' attribute. - * - * - * @param value the new value of the 'Line Count' attribute. - * @see #getLineCount() - * @generated - */ - void setLineCount(int value); - -} // EEFTextDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDescription.java deleted file mode 100644 index 7877edabe..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDescription.java +++ /dev/null @@ -1,109 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Tree Description'. - * - * - * - * Represents a tree in the user interface. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFTreeDescription#getValueExpression Value Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFTreeDescription#getTreeStructure Tree Structure}
  • - *
  • {@link org.eclipse.eef.eef.EEFTreeDescription#getEditExpression Edit Expression}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDescription() - * @model - * @generated - */ -public interface EEFTreeDescription extends EEFCellWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * The initial selected values in the tree. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDescription_ValueExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - - /** - * Returns the value of the 'Tree Structure' reference. - * - * - * - * References a tree structure. - * - * @return the value of the 'Tree Structure' reference. - * @see #setTreeStructure(EEFTreeStructureDescription) - * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDescription_TreeStructure() - * @model - * @generated - */ - EEFTreeStructureDescription getTreeStructure(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeDescription#getTreeStructure Tree Structure}' reference. - * - * - * @param value the new value of the 'Tree Structure' reference. - * @see #getTreeStructure() - * @generated - */ - void setTreeStructure(EEFTreeStructureDescription value); - - /** - * Returns the value of the 'Edit Expression' attribute. - * - * - * - * Defines the behavior executed when the end-user updates the selection in the tree. - * - * @return the value of the 'Edit Expression' attribute. - * @see #setEditExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDescription_EditExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getEditExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeDescription#getEditExpression Edit Expression}' attribute. - * - * - * @param value the new value of the 'Edit Expression' attribute. - * @see #getEditExpression() - * @generated - */ - void setEditExpression(String value); - -} // EEFTreeDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDialogSelectDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDialogSelectDescription.java deleted file mode 100644 index f9da6c60e..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeDialogSelectDescription.java +++ /dev/null @@ -1,136 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Tree Dialog Select Description'. - * - * - * - * Represents a dialog showing a tree in the user interface. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression Semantic Candidate Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDefaultFilter Default Filter}
  • - *
  • {@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDomainClass Domain Class}
  • - *
  • {@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getTree Tree}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDialogSelectDescription() - * @model - * @generated - */ -public interface EEFTreeDialogSelectDescription extends EEFCellWidgetDescription { - /** - * Returns the value of the 'Semantic Candidate Expression' attribute. - * - * - * - * The elements that are represented. - * - * @return the value of the 'Semantic Candidate Expression' attribute. - * @see #setSemanticCandidateExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDialogSelectDescription_SemanticCandidateExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getSemanticCandidateExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression Semantic Candidate Expression}' attribute. - * - * - * @param value the new value of the 'Semantic Candidate Expression' attribute. - * @see #getSemanticCandidateExpression() - * @generated - */ - void setSemanticCandidateExpression(String value); - - /** - * Returns the value of the 'Default Filter' attribute. - * The default value is "*". - * - * - * - * Defins the default value for filtering field. - * - * @return the value of the 'Default Filter' attribute. - * @see #setDefaultFilter(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDialogSelectDescription_DefaultFilter() - * @model default="*" - * @generated - */ - String getDefaultFilter(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDefaultFilter Default Filter}' attribute. - * - * - * @param value the new value of the 'Default Filter' attribute. - * @see #getDefaultFilter() - * @generated - */ - void setDefaultFilter(String value); - - /** - * Returns the value of the 'Domain Class' attribute. - * - * - * - * Defines the context in which the Tree Dialog Select is used. - * - * @return the value of the 'Domain Class' attribute. - * @see #setDomainClass(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDialogSelectDescription_DomainClass() - * @model dataType="org.eclipse.eef.eef.TypeName" - * @generated - */ - String getDomainClass(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDomainClass Domain Class}' attribute. - * - * - * @param value the new value of the 'Domain Class' attribute. - * @see #getDomainClass() - * @generated - */ - void setDomainClass(String value); - - /** - * Returns the value of the 'Tree' reference. - * - * - * - * References the Tree widget displayed in the select dialog. - * - * @return the value of the 'Tree' reference. - * @see #setTree(EEFTreeDescription) - * @see org.eclipse.eef.eef.EefPackage#getEEFTreeDialogSelectDescription_Tree() - * @model - * @generated - */ - EEFTreeDescription getTree(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getTree Tree}' reference. - * - * - * @param value the new value of the 'Tree' reference. - * @see #getTree() - * @generated - */ - void setTree(EEFTreeDescription value); - -} // EEFTreeDialogSelectDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeStructureDescription.java deleted file mode 100644 index aa05b1f38..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFTreeStructureDescription.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Tree Structure Description'. - * - * - * - * Describes a tree as a set of elements related to an input. This description is reusable by Tree widgets. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFTreeStructureDescription#getIdentifier Identifier}
  • - *
  • {@link org.eclipse.eef.eef.EEFTreeStructureDescription#isMultiple Multiple}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFTreeStructureDescription() - * @model abstract="true" - * @generated - */ -public interface EEFTreeStructureDescription extends EObject { - /** - * Returns the value of the 'Identifier' attribute. - * - * - * - * Used to identify a specific tree structure. - * - * @return the value of the 'Identifier' attribute. - * @see #setIdentifier(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFTreeStructureDescription_Identifier() - * @model required="true" - * @generated - */ - String getIdentifier(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeStructureDescription#getIdentifier Identifier}' attribute. - * - * - * @param value the new value of the 'Identifier' attribute. - * @see #getIdentifier() - * @generated - */ - void setIdentifier(String value); - - /** - * Returns the value of the 'Multiple' attribute. - * - * - * - * If set to true several values can be selected at same time otherwise one selection is possible. - * - * @return the value of the 'Multiple' attribute. - * @see #setMultiple(boolean) - * @see org.eclipse.eef.eef.EefPackage#getEEFTreeStructureDescription_Multiple() - * @model - * @generated - */ - boolean isMultiple(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFTreeStructureDescription#isMultiple Multiple}' attribute. - * - * - * @param value the new value of the 'Multiple' attribute. - * @see #isMultiple() - * @generated - */ - void setMultiple(boolean value); - -} // EEFTreeStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFViewDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFViewDescription.java deleted file mode 100644 index 072a22cac..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFViewDescription.java +++ /dev/null @@ -1,197 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'EEF View Description'. - * - * - * - * A View is the root concept of the EEF metamodel. A View defines groups of widgets, semantic mappings and related metamodels. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getIdentifier Identifier}
  • - *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getLabelExpression Label Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getEPackageNsUris EPackage Ns Uris}
  • - *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getGroups Groups}
  • - *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getPages Pages}
  • - *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getJavaExtensions Java Extensions}
  • - *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getImportedViews Imported Views}
  • - *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getTreeStructures Tree Structures}
  • - *
  • {@link org.eclipse.eef.eef.EEFViewDescription#getTableStructures Table Structures}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription() - * @model - * @generated - */ -public interface EEFViewDescription extends ContextableElement { - /** - * Returns the value of the 'Identifier' attribute. - * - * - * - * Used to identify a specific View instance. - * - * @return the value of the 'Identifier' attribute. - * @see #setIdentifier(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_Identifier() - * @model required="true" - * @generated - */ - String getIdentifier(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFViewDescription#getIdentifier Identifier}' attribute. - * - * - * @param value the new value of the 'Identifier' attribute. - * @see #getIdentifier() - * @generated - */ - void setIdentifier(String value); - - /** - * Returns the value of the 'Label Expression' attribute. - * - * - * - * The label of the View visible by the end-users. - * - * @return the value of the 'Label Expression' attribute. - * @see #setLabelExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_LabelExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getLabelExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFViewDescription#getLabelExpression Label Expression}' attribute. - * - * - * @param value the new value of the 'Label Expression' attribute. - * @see #getLabelExpression() - * @generated - */ - void setLabelExpression(String value); - - /** - * Returns the value of the 'EPackage Ns Uris' attribute list. - * The list contents are of type {@link java.lang.String}. - * - * - * - * References the metamodels to use thanks to their NsURIs. - * - * @return the value of the 'EPackage Ns Uris' attribute list. - * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_EPackageNsUris() - * @model - * @generated - */ - EList getEPackageNsUris(); - - /** - * Returns the value of the 'Groups' containment reference list. - * The list contents are of type {@link org.eclipse.eef.eef.EEFGroupDescription}. - * - * - * - * Contains all the defined Groups. It is defined under the View for reuasability reason and to be referenced easily from any Page. - * - * @return the value of the 'Groups' containment reference list. - * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_Groups() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getGroups(); - - /** - * Returns the value of the 'Pages' containment reference list. - * The list contents are of type {@link org.eclipse.eef.eef.EEFPageDescription}. - * - * - * - * Defines the tabs that are represented in the View. - * - * @return the value of the 'Pages' containment reference list. - * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_Pages() - * @model containment="true" resolveProxies="true" required="true" - * @generated - */ - EList getPages(); - - /** - * Returns the value of the 'Java Extensions' containment reference list. - * The list contents are of type {@link org.eclipse.eef.eef.EEFJavaExtensionDescription}. - * - * - * - * References Java classes to contribute them as services for EEF runtime interpreters. - * - * @return the value of the 'Java Extensions' containment reference list. - * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_JavaExtensions() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getJavaExtensions(); - - /** - * Returns the value of the 'Imported Views' reference list. - * The list contents are of type {@link org.eclipse.eef.eef.EEFViewDescription}. - * - * - * - * Imports other existing views to reuse groups and widgets. - * - * @return the value of the 'Imported Views' reference list. - * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_ImportedViews() - * @model - * @generated - */ - EList getImportedViews(); - - /** - * Returns the value of the 'Tree Structures' containment reference list. - * The list contents are of type {@link org.eclipse.eef.eef.EEFTreeStructureDescription}. - * - * - * - * Contains all the defined TreeDescription. It is defined under the View for reusability reason and to be referenced easily from any Tree widget. - * - * @return the value of the 'Tree Structures' containment reference list. - * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_TreeStructures() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getTreeStructures(); - - /** - * Returns the value of the 'Table Structures' containment reference list. - * The list contents are of type {@link org.eclipse.eef.eef.EEFTableStructureDescription}. - * - * - * - * Contains all the defined TableDescription. It is defined under the View for reusability reason and to be referenced easily from any Tree widget. - * - * @return the value of the 'Table Structures' containment reference list. - * @see org.eclipse.eef.eef.EefPackage#getEEFViewDescription_TableStructures() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getTableStructures(); - -} // EEFViewDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFWidgetDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFWidgetDescription.java deleted file mode 100644 index 5c7cd2e32..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EEFWidgetDescription.java +++ /dev/null @@ -1,109 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -/** - * - * A representation of the model object 'EEF Widget Description'. - * - * - * - * Graphical element. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.eef.eef.EEFWidgetDescription#getIdentifier Identifier}
  • - *
  • {@link org.eclipse.eef.eef.EEFWidgetDescription#getLabelExpression Label Expression}
  • - *
  • {@link org.eclipse.eef.eef.EEFWidgetDescription#getFeatureCandidatesExpression Feature Candidates Expression}
  • - *
- * - * @see org.eclipse.eef.eef.EefPackage#getEEFWidgetDescription() - * @model abstract="true" - * @generated - */ -public interface EEFWidgetDescription extends ContextableElement { - /** - * Returns the value of the 'Identifier' attribute. - * - * - * - * Used to identify a specific widget. - * - * @return the value of the 'Identifier' attribute. - * @see #setIdentifier(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFWidgetDescription_Identifier() - * @model required="true" - * @generated - */ - String getIdentifier(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFWidgetDescription#getIdentifier Identifier}' attribute. - * - * - * @param value the new value of the 'Identifier' attribute. - * @see #getIdentifier() - * @generated - */ - void setIdentifier(String value); - - /** - * Returns the value of the 'Label Expression' attribute. - * - * - * - * The label of the Widget visible by the end-users. - * - * @return the value of the 'Label Expression' attribute. - * @see #setLabelExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFWidgetDescription_LabelExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getLabelExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFWidgetDescription#getLabelExpression Label Expression}' attribute. - * - * - * @param value the new value of the 'Label Expression' attribute. - * @see #getLabelExpression() - * @generated - */ - void setLabelExpression(String value); - - /** - * Returns the value of the 'Feature Candidates Expression' attribute. - * - * - * - * Represents the structural feature associated to a widget. - * - * @return the value of the 'Feature Candidates Expression' attribute. - * @see #setFeatureCandidatesExpression(String) - * @see org.eclipse.eef.eef.EefPackage#getEEFWidgetDescription_FeatureCandidatesExpression() - * @model dataType="org.eclipse.eef.eef.Expression" - * @generated - */ - String getFeatureCandidatesExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.eef.EEFWidgetDescription#getFeatureCandidatesExpression Feature Candidates Expression}' attribute. - * - * - * @param value the new value of the 'Feature Candidates Expression' attribute. - * @see #getFeatureCandidatesExpression() - * @generated - */ - void setFeatureCandidatesExpression(String value); - -} // EEFWidgetDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefFactory.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefFactory.java deleted file mode 100644 index b19746e8c..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefFactory.java +++ /dev/null @@ -1,237 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.eef.eef.EefPackage - * @generated - */ -public interface EefFactory extends EFactory { - /** - * The singleton instance of the factory. - * - * - * @generated - */ - EefFactory eINSTANCE = org.eclipse.eef.eef.impl.EefFactoryImpl.init(); - - /** - * Returns a new object of class 'EEF View Description'. - * - * - * @return a new object of class 'EEF View Description'. - * @generated - */ - EEFViewDescription createEEFViewDescription(); - - /** - * Returns a new object of class 'EEF Page Description'. - * - * - * @return a new object of class 'EEF Page Description'. - * @generated - */ - EEFPageDescription createEEFPageDescription(); - - /** - * Returns a new object of class 'EEF Group Description'. - * - * - * @return a new object of class 'EEF Group Description'. - * @generated - */ - EEFGroupDescription createEEFGroupDescription(); - - /** - * Returns a new object of class 'EEF Container Description'. - * - * - * @return a new object of class 'EEF Container Description'. - * @generated - */ - EEFContainerDescription createEEFContainerDescription(); - - /** - * Returns a new object of class 'EEF Java Extension Description'. - * - * - * @return a new object of class 'EEF Java Extension Description'. - * @generated - */ - EEFJavaExtensionDescription createEEFJavaExtensionDescription(); - - /** - * Returns a new object of class 'EEF Interpreted Table Structure Description'. - * - * - * @return a new object of class 'EEF Interpreted Table Structure Description'. - * @generated - */ - EEFInterpretedTableStructureDescription createEEFInterpretedTableStructureDescription(); - - /** - * Returns a new object of class 'EEF Adapter Factory Tree Structure Description'. - * - * - * @return a new object of class 'EEF Adapter Factory Tree Structure Description'. - * @generated - */ - EEFAdapterFactoryTreeStructureDescription createEEFAdapterFactoryTreeStructureDescription(); - - /** - * Returns a new object of class 'EEF Interpreted Tree Structure Description'. - * - * - * @return a new object of class 'EEF Interpreted Tree Structure Description'. - * @generated - */ - EEFInterpretedTreeStructureDescription createEEFInterpretedTreeStructureDescription(); - - /** - * Returns a new object of class 'EEF Text Description'. - * - * - * @return a new object of class 'EEF Text Description'. - * @generated - */ - EEFTextDescription createEEFTextDescription(); - - /** - * Returns a new object of class 'EEF Checkbox Description'. - * - * - * @return a new object of class 'EEF Checkbox Description'. - * @generated - */ - EEFCheckboxDescription createEEFCheckboxDescription(); - - /** - * Returns a new object of class 'EEF Select Description'. - * - * - * @return a new object of class 'EEF Select Description'. - * @generated - */ - EEFSelectDescription createEEFSelectDescription(); - - /** - * Returns a new object of class 'EEF Label Description'. - * - * - * @return a new object of class 'EEF Label Description'. - * @generated - */ - EEFLabelDescription createEEFLabelDescription(); - - /** - * Returns a new object of class 'EEF Radio Description'. - * - * - * @return a new object of class 'EEF Radio Description'. - * @generated - */ - EEFRadioDescription createEEFRadioDescription(); - - /** - * Returns a new object of class 'EEF Tree Dialog Select Description'. - * - * - * @return a new object of class 'EEF Tree Dialog Select Description'. - * @generated - */ - EEFTreeDialogSelectDescription createEEFTreeDialogSelectDescription(); - - /** - * Returns a new object of class 'EEF Link Description'. - * - * - * @return a new object of class 'EEF Link Description'. - * @generated - */ - EEFLinkDescription createEEFLinkDescription(); - - /** - * Returns a new object of class 'EEF Image Description'. - * - * - * @return a new object of class 'EEF Image Description'. - * @generated - */ - EEFImageDescription createEEFImageDescription(); - - /** - * Returns a new object of class 'EEF Tree Description'. - * - * - * @return a new object of class 'EEF Tree Description'. - * @generated - */ - EEFTreeDescription createEEFTreeDescription(); - - /** - * Returns a new object of class 'EEF Image Picker Description'. - * - * - * @return a new object of class 'EEF Image Picker Description'. - * @generated - */ - EEFImagePickerDescription createEEFImagePickerDescription(); - - /** - * Returns a new object of class 'EEF Table Description'. - * - * - * @return a new object of class 'EEF Table Description'. - * @generated - */ - EEFTableDescription createEEFTableDescription(); - - /** - * Returns a new object of class 'EEF Column Description'. - * - * - * @return a new object of class 'EEF Column Description'. - * @generated - */ - EEFColumnDescription createEEFColumnDescription(); - - /** - * Returns a new object of class 'EEF Line Description'. - * - * - * @return a new object of class 'EEF Line Description'. - * @generated - */ - EEFLineDescription createEEFLineDescription(); - - /** - * Returns a new object of class 'EEF Adapter Factory Table Structure Description'. - * - * - * @return a new object of class 'EEF Adapter Factory Table Structure Description'. - * @generated - */ - EEFAdapterFactoryTableStructureDescription createEEFAdapterFactoryTableStructureDescription(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - EefPackage getEefPackage(); - -} //EefFactory diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefPackage.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefPackage.java deleted file mode 100644 index b25975498..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/EefPackage.java +++ /dev/null @@ -1,4239 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @see org.eclipse.eef.eef.EefFactory - * @model kind="package" - * @generated - */ -public interface EefPackage extends EPackage { - /** - * The package name. - * - * - * @generated - */ - String eNAME = "eef"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "http://www.eclipse.org/eef"; //$NON-NLS-1$ - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "eef"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * - * - * @generated - */ - EefPackage eINSTANCE = org.eclipse.eef.eef.impl.EefPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.ContextableElementImpl Contextable Element}' class. - * - * - * @see org.eclipse.eef.eef.impl.ContextableElementImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getContextableElement() - * @generated - */ - int CONTEXTABLE_ELEMENT = 26; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES = 0; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES = 1; - - /** - * The number of structural features of the 'Contextable Element' class. - * - * - * @generated - * @ordered - */ - int CONTEXTABLE_ELEMENT_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl EEF View Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFViewDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFViewDescription() - * @generated - */ - int EEF_VIEW_DESCRIPTION = 0; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_VIEW_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_VIEW_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_VIEW_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'EPackage Ns Uris' attribute list. - * - * - * @generated - * @ordered - */ - int EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Groups' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_VIEW_DESCRIPTION__GROUPS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Pages' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_VIEW_DESCRIPTION__PAGES = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; - - /** - * The feature id for the 'Java Extensions' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; - - /** - * The feature id for the 'Imported Views' reference list. - * - * - * @generated - * @ordered - */ - int EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; - - /** - * The feature id for the 'Tree Structures' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_VIEW_DESCRIPTION__TREE_STRUCTURES = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 7; - - /** - * The feature id for the 'Table Structures' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 8; - - /** - * The number of structural features of the 'EEF View Description' class. - * - * - * @generated - * @ordered - */ - int EEF_VIEW_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 9; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl EEF Page Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFPageDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFPageDescription() - * @generated - */ - int EEF_PAGE_DESCRIPTION = 1; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_PAGE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_PAGE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_PAGE_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Domain Class' attribute. - * - * - * @generated - * @ordered - */ - int EEF_PAGE_DESCRIPTION__DOMAIN_CLASS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Semantic Candidate Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Groups' reference list. - * - * - * @generated - * @ordered - */ - int EEF_PAGE_DESCRIPTION__GROUPS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; - - /** - * The feature id for the 'Extended Page' reference. - * - * - * @generated - * @ordered - */ - int EEF_PAGE_DESCRIPTION__EXTENDED_PAGE = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; - - /** - * The number of structural features of the 'EEF Page Description' class. - * - * - * @generated - * @ordered - */ - int EEF_PAGE_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl EEF Group Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFGroupDescription() - * @generated - */ - int EEF_GROUP_DESCRIPTION = 2; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Domain Class' attribute. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_DESCRIPTION__DOMAIN_CLASS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Semantic Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Container' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_DESCRIPTION__CONTAINER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; - - /** - * The number of structural features of the 'EEF Group Description' class. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl EEF Container Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFContainerDescription() - * @generated - */ - int EEF_CONTAINER_DESCRIPTION = 3; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_CONTAINER_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_CONTAINER_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CONTAINER_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Semantic Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Domain Class' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Layout Column Count' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Containers' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_CONTAINER_DESCRIPTION__CONTAINERS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; - - /** - * The feature id for the 'Widgets' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_CONTAINER_DESCRIPTION__WIDGETS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; - - /** - * The number of structural features of the 'EEF Container Description' class. - * - * - * @generated - * @ordered - */ - int EEF_CONTAINER_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFWidgetDescriptionImpl EEF Widget Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFWidgetDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFWidgetDescription() - * @generated - */ - int EEF_WIDGET_DESCRIPTION = 4; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_WIDGET_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Feature Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'EEF Widget Description' class. - * - * - * @generated - * @ordered - */ - int EEF_WIDGET_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFJavaExtensionDescriptionImpl EEF Java Extension Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFJavaExtensionDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFJavaExtensionDescription() - * @generated - */ - int EEF_JAVA_EXTENSION_DESCRIPTION = 5; - - /** - * The feature id for the 'Qualified Name' attribute. - * - * - * @generated - * @ordered - */ - int EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME = 0; - - /** - * The number of structural features of the 'EEF Java Extension Description' class. - * - * - * @generated - * @ordered - */ - int EEF_JAVA_EXTENSION_DESCRIPTION_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFTreeStructureDescriptionImpl EEF Tree Structure Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFTreeStructureDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTreeStructureDescription() - * @generated - */ - int EEF_TREE_STRUCTURE_DESCRIPTION = 6; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = 0; - - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = 1; - - /** - * The number of structural features of the 'EEF Tree Structure Description' class. - * - * - * @generated - * @ordered - */ - int EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFTableStructureDescriptionImpl EEF Table Structure Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFTableStructureDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTableStructureDescription() - * @generated - */ - int EEF_TABLE_STRUCTURE_DESCRIPTION = 24; - - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = 0; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = 1; - - /** - * The number of structural features of the 'EEF Table Structure Description' class. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFInterpretedTableStructureDescriptionImpl EEF Interpreted Table Structure Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFInterpretedTableStructureDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFInterpretedTableStructureDescription() - * @generated - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION = 7; - - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Columns' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Line' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'EEF Interpreted Table Structure Description' class. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFCellWidgetDescriptionImpl EEF Cell Widget Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFCellWidgetDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFCellWidgetDescription() - * @generated - */ - int EEF_CELL_WIDGET_DESCRIPTION = 8; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Feature Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; - - /** - * The number of structural features of the 'EEF Cell Widget Description' class. - * - * - * @generated - * @ordered - */ - int EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl EEF Adapter Factory Tree Structure Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFAdapterFactoryTreeStructureDescription() - * @generated - */ - int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION = 9; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE; - - /** - * The feature id for the 'Adapter Factory Provider' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT - + 0; - - /** - * The number of structural features of the 'EEF Adapter Factory Tree Structure Description' class. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl EEF Interpreted Tree Structure Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFInterpretedTreeStructureDescription() - * @generated - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION = 10; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE; - - /** - * The feature id for the 'Roots Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Children Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT - + 1; - - /** - * The feature id for the 'Selectable Predicate Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT - + 2; - - /** - * The feature id for the 'Candidate Display Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT - + 3; - - /** - * The number of structural features of the 'EEF Interpreted Tree Structure Description' class. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFTextDescriptionImpl EEF Text Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFTextDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTextDescription() - * @generated - */ - int EEF_TEXT_DESCRIPTION = 11; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Feature Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Edit Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Line Count' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__LINE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'EEF Text Description' class. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFCheckboxDescriptionImpl EEF Checkbox Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFCheckboxDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFCheckboxDescription() - * @generated - */ - int EEF_CHECKBOX_DESCRIPTION = 12; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Feature Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Edit Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'EEF Checkbox Description' class. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl EEF Select Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFSelectDescription() - * @generated - */ - int EEF_SELECT_DESCRIPTION = 13; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Feature Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Edit Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__MULTIPLE = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Candidate Display Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; - - /** - * The number of structural features of the 'EEF Select Description' class. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 5; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFLabelDescriptionImpl EEF Label Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFLabelDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFLabelDescription() - * @generated - */ - int EEF_LABEL_DESCRIPTION = 14; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Feature Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Label Description' class. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl EEF Radio Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFRadioDescription() - * @generated - */ - int EEF_RADIO_DESCRIPTION = 15; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Feature Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Edit Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Candidate Display Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'EEF Radio Description' class. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl EEF Tree Dialog Select Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTreeDialogSelectDescription() - * @generated - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION = 16; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Feature Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; - - /** - * The feature id for the 'Semantic Candidate Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT - + 0; - - /** - * The feature id for the 'Default Filter' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Domain Class' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Tree' reference. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'EEF Tree Dialog Select Description' class. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFLinkDescriptionImpl EEF Link Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFLinkDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFLinkDescription() - * @generated - */ - int EEF_LINK_DESCRIPTION = 17; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Feature Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; - - /** - * The feature id for the 'On Click Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Link Description' class. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFImageDescriptionImpl EEF Image Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFImageDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFImageDescription() - * @generated - */ - int EEF_IMAGE_DESCRIPTION = 18; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Feature Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Image Description' class. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFTreeDescriptionImpl EEF Tree Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFTreeDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTreeDescription() - * @generated - */ - int EEF_TREE_DESCRIPTION = 19; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Feature Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Tree Structure' reference. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__TREE_STRUCTURE = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Edit Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'EEF Tree Description' class. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFImagePickerDescriptionImpl EEF Image Picker Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFImagePickerDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFImagePickerDescription() - * @generated - */ - int EEF_IMAGE_PICKER_DESCRIPTION = 20; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Feature Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Edit Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'EEF Image Picker Description' class. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFTableDescriptionImpl EEF Table Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFTableDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTableDescription() - * @generated - */ - int EEF_TABLE_DESCRIPTION = 21; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Feature Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Edit Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Table Structure' reference. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'EEF Table Description' class. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl EEF Column Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFColumnDescription() - * @generated - */ - int EEF_COLUMN_DESCRIPTION = 22; - - /** - * The feature id for the 'Width' attribute. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_DESCRIPTION__WIDTH = 0; - - /** - * The feature id for the 'Header Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION = 1; - - /** - * The feature id for the 'Cell Widget' reference. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_DESCRIPTION__CELL_WIDGET = 2; - - /** - * The feature id for the 'Context Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION = 3; - - /** - * The number of structural features of the 'EEF Column Description' class. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_DESCRIPTION_FEATURE_COUNT = 4; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFLineDescriptionImpl EEF Line Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFLineDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFLineDescription() - * @generated - */ - int EEF_LINE_DESCRIPTION = 23; - - /** - * The feature id for the 'Header Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINE_DESCRIPTION__HEADER_EXPRESSION = 0; - - /** - * The feature id for the 'Semantic Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = 1; - - /** - * The feature id for the 'Domain Class' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINE_DESCRIPTION__DOMAIN_CLASS = 2; - - /** - * The feature id for the 'Sub Lines' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_LINE_DESCRIPTION__SUB_LINES = 3; - - /** - * The number of structural features of the 'EEF Line Description' class. - * - * - * @generated - * @ordered - */ - int EEF_LINE_DESCRIPTION_FEATURE_COUNT = 4; - - /** - * The meta object id for the '{@link org.eclipse.eef.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl EEF Adapter Factory Table Structure Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFAdapterFactoryTableStructureDescription() - * @generated - */ - int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION = 25; - - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Adapter Factory Provider' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT - + 0; - - /** - * The number of structural features of the 'EEF Adapter Factory Table Structure Description' class. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT - + 1; - - /** - * The meta object id for the 'Expression' data type. - * - * - * @see java.lang.String - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getExpression() - * @generated - */ - int EXPRESSION = 27; - - /** - * The meta object id for the 'Type Name' data type. - * - * - * @see java.lang.String - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getTypeName() - * @generated - */ - int TYPE_NAME = 28; - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFViewDescription EEF View Description}'. - * - * - * @return the meta object for class 'EEF View Description'. - * @see org.eclipse.eef.eef.EEFViewDescription - * @generated - */ - EClass getEEFViewDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFViewDescription#getIdentifier Identifier}'. - * - * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.eef.EEFViewDescription#getIdentifier() - * @see #getEEFViewDescription() - * @generated - */ - EAttribute getEEFViewDescription_Identifier(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFViewDescription#getLabelExpression Label Expression}'. - * - * - * @return the meta object for the attribute 'Label Expression'. - * @see org.eclipse.eef.eef.EEFViewDescription#getLabelExpression() - * @see #getEEFViewDescription() - * @generated - */ - EAttribute getEEFViewDescription_LabelExpression(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.eef.eef.EEFViewDescription#getEPackageNsUris EPackage Ns Uris}'. - * - * - * @return the meta object for the attribute list 'EPackage Ns Uris'. - * @see org.eclipse.eef.eef.EEFViewDescription#getEPackageNsUris() - * @see #getEEFViewDescription() - * @generated - */ - EAttribute getEEFViewDescription_EPackageNsUris(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFViewDescription#getGroups Groups}'. - * - * - * @return the meta object for the containment reference list 'Groups'. - * @see org.eclipse.eef.eef.EEFViewDescription#getGroups() - * @see #getEEFViewDescription() - * @generated - */ - EReference getEEFViewDescription_Groups(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFViewDescription#getPages Pages}'. - * - * - * @return the meta object for the containment reference list 'Pages'. - * @see org.eclipse.eef.eef.EEFViewDescription#getPages() - * @see #getEEFViewDescription() - * @generated - */ - EReference getEEFViewDescription_Pages(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFViewDescription#getJavaExtensions Java Extensions}'. - * - * - * @return the meta object for the containment reference list 'Java Extensions'. - * @see org.eclipse.eef.eef.EEFViewDescription#getJavaExtensions() - * @see #getEEFViewDescription() - * @generated - */ - EReference getEEFViewDescription_JavaExtensions(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.eef.eef.EEFViewDescription#getImportedViews Imported Views}'. - * - * - * @return the meta object for the reference list 'Imported Views'. - * @see org.eclipse.eef.eef.EEFViewDescription#getImportedViews() - * @see #getEEFViewDescription() - * @generated - */ - EReference getEEFViewDescription_ImportedViews(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFViewDescription#getTreeStructures Tree Structures}'. - * - * - * @return the meta object for the containment reference list 'Tree Structures'. - * @see org.eclipse.eef.eef.EEFViewDescription#getTreeStructures() - * @see #getEEFViewDescription() - * @generated - */ - EReference getEEFViewDescription_TreeStructures(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFViewDescription#getTableStructures Table Structures}'. - * - * - * @return the meta object for the containment reference list 'Table Structures'. - * @see org.eclipse.eef.eef.EEFViewDescription#getTableStructures() - * @see #getEEFViewDescription() - * @generated - */ - EReference getEEFViewDescription_TableStructures(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFPageDescription EEF Page Description}'. - * - * - * @return the meta object for class 'EEF Page Description'. - * @see org.eclipse.eef.eef.EEFPageDescription - * @generated - */ - EClass getEEFPageDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFPageDescription#getIdentifier Identifier}'. - * - * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.eef.EEFPageDescription#getIdentifier() - * @see #getEEFPageDescription() - * @generated - */ - EAttribute getEEFPageDescription_Identifier(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFPageDescription#getLabelExpression Label Expression}'. - * - * - * @return the meta object for the attribute 'Label Expression'. - * @see org.eclipse.eef.eef.EEFPageDescription#getLabelExpression() - * @see #getEEFPageDescription() - * @generated - */ - EAttribute getEEFPageDescription_LabelExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFPageDescription#getDomainClass Domain Class}'. - * - * - * @return the meta object for the attribute 'Domain Class'. - * @see org.eclipse.eef.eef.EEFPageDescription#getDomainClass() - * @see #getEEFPageDescription() - * @generated - */ - EAttribute getEEFPageDescription_DomainClass(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. - * - * - * @return the meta object for the attribute 'Semantic Candidate Expression'. - * @see org.eclipse.eef.eef.EEFPageDescription#getSemanticCandidateExpression() - * @see #getEEFPageDescription() - * @generated - */ - EAttribute getEEFPageDescription_SemanticCandidateExpression(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.eef.eef.EEFPageDescription#getGroups Groups}'. - * - * - * @return the meta object for the reference list 'Groups'. - * @see org.eclipse.eef.eef.EEFPageDescription#getGroups() - * @see #getEEFPageDescription() - * @generated - */ - EReference getEEFPageDescription_Groups(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.eef.eef.EEFPageDescription#getExtendedPage Extended Page}'. - * - * - * @return the meta object for the reference 'Extended Page'. - * @see org.eclipse.eef.eef.EEFPageDescription#getExtendedPage() - * @see #getEEFPageDescription() - * @generated - */ - EReference getEEFPageDescription_ExtendedPage(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFGroupDescription EEF Group Description}'. - * - * - * @return the meta object for class 'EEF Group Description'. - * @see org.eclipse.eef.eef.EEFGroupDescription - * @generated - */ - EClass getEEFGroupDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFGroupDescription#getIdentifier Identifier}'. - * - * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.eef.EEFGroupDescription#getIdentifier() - * @see #getEEFGroupDescription() - * @generated - */ - EAttribute getEEFGroupDescription_Identifier(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFGroupDescription#getLabelExpression Label Expression}'. - * - * - * @return the meta object for the attribute 'Label Expression'. - * @see org.eclipse.eef.eef.EEFGroupDescription#getLabelExpression() - * @see #getEEFGroupDescription() - * @generated - */ - EAttribute getEEFGroupDescription_LabelExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFGroupDescription#getDomainClass Domain Class}'. - * - * - * @return the meta object for the attribute 'Domain Class'. - * @see org.eclipse.eef.eef.EEFGroupDescription#getDomainClass() - * @see #getEEFGroupDescription() - * @generated - */ - EAttribute getEEFGroupDescription_DomainClass(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFGroupDescription#getSemanticCandidatesExpression Semantic Candidates Expression}'. - * - * - * @return the meta object for the attribute 'Semantic Candidates Expression'. - * @see org.eclipse.eef.eef.EEFGroupDescription#getSemanticCandidatesExpression() - * @see #getEEFGroupDescription() - * @generated - */ - EAttribute getEEFGroupDescription_SemanticCandidatesExpression(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.eef.EEFGroupDescription#getContainer Container}'. - * - * - * @return the meta object for the containment reference 'Container'. - * @see org.eclipse.eef.eef.EEFGroupDescription#getContainer() - * @see #getEEFGroupDescription() - * @generated - */ - EReference getEEFGroupDescription_Container(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFContainerDescription EEF Container Description}'. - * - * - * @return the meta object for class 'EEF Container Description'. - * @see org.eclipse.eef.eef.EEFContainerDescription - * @generated - */ - EClass getEEFContainerDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFContainerDescription#getIdentifier Identifier}'. - * - * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.eef.EEFContainerDescription#getIdentifier() - * @see #getEEFContainerDescription() - * @generated - */ - EAttribute getEEFContainerDescription_Identifier(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFContainerDescription#getSemanticCandidatesExpression Semantic Candidates Expression}'. - * - * - * @return the meta object for the attribute 'Semantic Candidates Expression'. - * @see org.eclipse.eef.eef.EEFContainerDescription#getSemanticCandidatesExpression() - * @see #getEEFContainerDescription() - * @generated - */ - EAttribute getEEFContainerDescription_SemanticCandidatesExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFContainerDescription#getDomainClass Domain Class}'. - * - * - * @return the meta object for the attribute 'Domain Class'. - * @see org.eclipse.eef.eef.EEFContainerDescription#getDomainClass() - * @see #getEEFContainerDescription() - * @generated - */ - EAttribute getEEFContainerDescription_DomainClass(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFContainerDescription#getLayoutColumnCount Layout Column Count}'. - * - * - * @return the meta object for the attribute 'Layout Column Count'. - * @see org.eclipse.eef.eef.EEFContainerDescription#getLayoutColumnCount() - * @see #getEEFContainerDescription() - * @generated - */ - EAttribute getEEFContainerDescription_LayoutColumnCount(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFContainerDescription#getContainers Containers}'. - * - * - * @return the meta object for the containment reference list 'Containers'. - * @see org.eclipse.eef.eef.EEFContainerDescription#getContainers() - * @see #getEEFContainerDescription() - * @generated - */ - EReference getEEFContainerDescription_Containers(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFContainerDescription#getWidgets Widgets}'. - * - * - * @return the meta object for the containment reference list 'Widgets'. - * @see org.eclipse.eef.eef.EEFContainerDescription#getWidgets() - * @see #getEEFContainerDescription() - * @generated - */ - EReference getEEFContainerDescription_Widgets(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFWidgetDescription EEF Widget Description}'. - * - * - * @return the meta object for class 'EEF Widget Description'. - * @see org.eclipse.eef.eef.EEFWidgetDescription - * @generated - */ - EClass getEEFWidgetDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFWidgetDescription#getIdentifier Identifier}'. - * - * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.eef.EEFWidgetDescription#getIdentifier() - * @see #getEEFWidgetDescription() - * @generated - */ - EAttribute getEEFWidgetDescription_Identifier(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFWidgetDescription#getLabelExpression Label Expression}'. - * - * - * @return the meta object for the attribute 'Label Expression'. - * @see org.eclipse.eef.eef.EEFWidgetDescription#getLabelExpression() - * @see #getEEFWidgetDescription() - * @generated - */ - EAttribute getEEFWidgetDescription_LabelExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFWidgetDescription#getFeatureCandidatesExpression Feature Candidates Expression}'. - * - * - * @return the meta object for the attribute 'Feature Candidates Expression'. - * @see org.eclipse.eef.eef.EEFWidgetDescription#getFeatureCandidatesExpression() - * @see #getEEFWidgetDescription() - * @generated - */ - EAttribute getEEFWidgetDescription_FeatureCandidatesExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFJavaExtensionDescription EEF Java Extension Description}'. - * - * - * @return the meta object for class 'EEF Java Extension Description'. - * @see org.eclipse.eef.eef.EEFJavaExtensionDescription - * @generated - */ - EClass getEEFJavaExtensionDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFJavaExtensionDescription#getQualifiedName Qualified Name}'. - * - * - * @return the meta object for the attribute 'Qualified Name'. - * @see org.eclipse.eef.eef.EEFJavaExtensionDescription#getQualifiedName() - * @see #getEEFJavaExtensionDescription() - * @generated - */ - EAttribute getEEFJavaExtensionDescription_QualifiedName(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFTreeStructureDescription EEF Tree Structure Description}'. - * - * - * @return the meta object for class 'EEF Tree Structure Description'. - * @see org.eclipse.eef.eef.EEFTreeStructureDescription - * @generated - */ - EClass getEEFTreeStructureDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTreeStructureDescription#getIdentifier Identifier}'. - * - * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.eef.EEFTreeStructureDescription#getIdentifier() - * @see #getEEFTreeStructureDescription() - * @generated - */ - EAttribute getEEFTreeStructureDescription_Identifier(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTreeStructureDescription#isMultiple Multiple}'. - * - * - * @return the meta object for the attribute 'Multiple'. - * @see org.eclipse.eef.eef.EEFTreeStructureDescription#isMultiple() - * @see #getEEFTreeStructureDescription() - * @generated - */ - EAttribute getEEFTreeStructureDescription_Multiple(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription EEF Interpreted Table Structure Description}'. - * - * - * @return the meta object for class 'EEF Interpreted Table Structure Description'. - * @see org.eclipse.eef.eef.EEFInterpretedTableStructureDescription - * @generated - */ - EClass getEEFInterpretedTableStructureDescription(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription#getColumns Columns}'. - * - * - * @return the meta object for the containment reference list 'Columns'. - * @see org.eclipse.eef.eef.EEFInterpretedTableStructureDescription#getColumns() - * @see #getEEFInterpretedTableStructureDescription() - * @generated - */ - EReference getEEFInterpretedTableStructureDescription_Columns(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription#getLine Line}'. - * - * - * @return the meta object for the containment reference 'Line'. - * @see org.eclipse.eef.eef.EEFInterpretedTableStructureDescription#getLine() - * @see #getEEFInterpretedTableStructureDescription() - * @generated - */ - EReference getEEFInterpretedTableStructureDescription_Line(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFCellWidgetDescription EEF Cell Widget Description}'. - * - * - * @return the meta object for class 'EEF Cell Widget Description'. - * @see org.eclipse.eef.eef.EEFCellWidgetDescription - * @generated - */ - EClass getEEFCellWidgetDescription(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription EEF Adapter Factory Tree Structure Description}'. - * - * - * @return the meta object for class 'EEF Adapter Factory Tree Structure Description'. - * @see org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription - * @generated - */ - EClass getEEFAdapterFactoryTreeStructureDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}'. - * - * - * @return the meta object for the attribute 'Adapter Factory Provider'. - * @see org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider() - * @see #getEEFAdapterFactoryTreeStructureDescription() - * @generated - */ - EAttribute getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription EEF Interpreted Tree Structure Description}'. - * - * - * @return the meta object for class 'EEF Interpreted Tree Structure Description'. - * @see org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription - * @generated - */ - EClass getEEFInterpretedTreeStructureDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getRootsExpression Roots Expression}'. - * - * - * @return the meta object for the attribute 'Roots Expression'. - * @see org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getRootsExpression() - * @see #getEEFInterpretedTreeStructureDescription() - * @generated - */ - EAttribute getEEFInterpretedTreeStructureDescription_RootsExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression Children Expression}'. - * - * - * @return the meta object for the attribute 'Children Expression'. - * @see org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression() - * @see #getEEFInterpretedTreeStructureDescription() - * @generated - */ - EAttribute getEEFInterpretedTreeStructureDescription_ChildrenExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression Selectable Predicate Expression}'. - * - * - * @return the meta object for the attribute 'Selectable Predicate Expression'. - * @see org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression() - * @see #getEEFInterpretedTreeStructureDescription() - * @generated - */ - EAttribute getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression Candidate Display Expression}'. - * - * - * @return the meta object for the attribute 'Candidate Display Expression'. - * @see org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression() - * @see #getEEFInterpretedTreeStructureDescription() - * @generated - */ - EAttribute getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFTextDescription EEF Text Description}'. - * - * - * @return the meta object for class 'EEF Text Description'. - * @see org.eclipse.eef.eef.EEFTextDescription - * @generated - */ - EClass getEEFTextDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTextDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.eef.EEFTextDescription#getValueExpression() - * @see #getEEFTextDescription() - * @generated - */ - EAttribute getEEFTextDescription_ValueExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTextDescription#getEditExpression Edit Expression}'. - * - * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.eef.EEFTextDescription#getEditExpression() - * @see #getEEFTextDescription() - * @generated - */ - EAttribute getEEFTextDescription_EditExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTextDescription#getLineCount Line Count}'. - * - * - * @return the meta object for the attribute 'Line Count'. - * @see org.eclipse.eef.eef.EEFTextDescription#getLineCount() - * @see #getEEFTextDescription() - * @generated - */ - EAttribute getEEFTextDescription_LineCount(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFCheckboxDescription EEF Checkbox Description}'. - * - * - * @return the meta object for class 'EEF Checkbox Description'. - * @see org.eclipse.eef.eef.EEFCheckboxDescription - * @generated - */ - EClass getEEFCheckboxDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFCheckboxDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.eef.EEFCheckboxDescription#getValueExpression() - * @see #getEEFCheckboxDescription() - * @generated - */ - EAttribute getEEFCheckboxDescription_ValueExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFCheckboxDescription#getEditExpression Edit Expression}'. - * - * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.eef.EEFCheckboxDescription#getEditExpression() - * @see #getEEFCheckboxDescription() - * @generated - */ - EAttribute getEEFCheckboxDescription_EditExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFSelectDescription EEF Select Description}'. - * - * - * @return the meta object for class 'EEF Select Description'. - * @see org.eclipse.eef.eef.EEFSelectDescription - * @generated - */ - EClass getEEFSelectDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFSelectDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.eef.EEFSelectDescription#getValueExpression() - * @see #getEEFSelectDescription() - * @generated - */ - EAttribute getEEFSelectDescription_ValueExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFSelectDescription#getEditExpression Edit Expression}'. - * - * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.eef.EEFSelectDescription#getEditExpression() - * @see #getEEFSelectDescription() - * @generated - */ - EAttribute getEEFSelectDescription_EditExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFSelectDescription#getCandidatesExpression Candidates Expression}'. - * - * - * @return the meta object for the attribute 'Candidates Expression'. - * @see org.eclipse.eef.eef.EEFSelectDescription#getCandidatesExpression() - * @see #getEEFSelectDescription() - * @generated - */ - EAttribute getEEFSelectDescription_CandidatesExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFSelectDescription#isMultiple Multiple}'. - * - * - * @return the meta object for the attribute 'Multiple'. - * @see org.eclipse.eef.eef.EEFSelectDescription#isMultiple() - * @see #getEEFSelectDescription() - * @generated - */ - EAttribute getEEFSelectDescription_Multiple(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFSelectDescription#getCandidateDisplayExpression Candidate Display Expression}'. - * - * - * @return the meta object for the attribute 'Candidate Display Expression'. - * @see org.eclipse.eef.eef.EEFSelectDescription#getCandidateDisplayExpression() - * @see #getEEFSelectDescription() - * @generated - */ - EAttribute getEEFSelectDescription_CandidateDisplayExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFLabelDescription EEF Label Description}'. - * - * - * @return the meta object for class 'EEF Label Description'. - * @see org.eclipse.eef.eef.EEFLabelDescription - * @generated - */ - EClass getEEFLabelDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFLabelDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.eef.EEFLabelDescription#getValueExpression() - * @see #getEEFLabelDescription() - * @generated - */ - EAttribute getEEFLabelDescription_ValueExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFRadioDescription EEF Radio Description}'. - * - * - * @return the meta object for class 'EEF Radio Description'. - * @see org.eclipse.eef.eef.EEFRadioDescription - * @generated - */ - EClass getEEFRadioDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFRadioDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.eef.EEFRadioDescription#getValueExpression() - * @see #getEEFRadioDescription() - * @generated - */ - EAttribute getEEFRadioDescription_ValueExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFRadioDescription#getEditExpression Edit Expression}'. - * - * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.eef.EEFRadioDescription#getEditExpression() - * @see #getEEFRadioDescription() - * @generated - */ - EAttribute getEEFRadioDescription_EditExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFRadioDescription#getCandidatesExpression Candidates Expression}'. - * - * - * @return the meta object for the attribute 'Candidates Expression'. - * @see org.eclipse.eef.eef.EEFRadioDescription#getCandidatesExpression() - * @see #getEEFRadioDescription() - * @generated - */ - EAttribute getEEFRadioDescription_CandidatesExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFRadioDescription#getCandidateDisplayExpression Candidate Display Expression}'. - * - * - * @return the meta object for the attribute 'Candidate Display Expression'. - * @see org.eclipse.eef.eef.EEFRadioDescription#getCandidateDisplayExpression() - * @see #getEEFRadioDescription() - * @generated - */ - EAttribute getEEFRadioDescription_CandidateDisplayExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription EEF Tree Dialog Select Description}'. - * - * - * @return the meta object for class 'EEF Tree Dialog Select Description'. - * @see org.eclipse.eef.eef.EEFTreeDialogSelectDescription - * @generated - */ - EClass getEEFTreeDialogSelectDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. - * - * - * @return the meta object for the attribute 'Semantic Candidate Expression'. - * @see org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression() - * @see #getEEFTreeDialogSelectDescription() - * @generated - */ - EAttribute getEEFTreeDialogSelectDescription_SemanticCandidateExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDefaultFilter Default Filter}'. - * - * - * @return the meta object for the attribute 'Default Filter'. - * @see org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDefaultFilter() - * @see #getEEFTreeDialogSelectDescription() - * @generated - */ - EAttribute getEEFTreeDialogSelectDescription_DefaultFilter(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDomainClass Domain Class}'. - * - * - * @return the meta object for the attribute 'Domain Class'. - * @see org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getDomainClass() - * @see #getEEFTreeDialogSelectDescription() - * @generated - */ - EAttribute getEEFTreeDialogSelectDescription_DomainClass(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getTree Tree}'. - * - * - * @return the meta object for the reference 'Tree'. - * @see org.eclipse.eef.eef.EEFTreeDialogSelectDescription#getTree() - * @see #getEEFTreeDialogSelectDescription() - * @generated - */ - EReference getEEFTreeDialogSelectDescription_Tree(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFLinkDescription EEF Link Description}'. - * - * - * @return the meta object for class 'EEF Link Description'. - * @see org.eclipse.eef.eef.EEFLinkDescription - * @generated - */ - EClass getEEFLinkDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFLinkDescription#getOnClickExpression On Click Expression}'. - * - * - * @return the meta object for the attribute 'On Click Expression'. - * @see org.eclipse.eef.eef.EEFLinkDescription#getOnClickExpression() - * @see #getEEFLinkDescription() - * @generated - */ - EAttribute getEEFLinkDescription_OnClickExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFImageDescription EEF Image Description}'. - * - * - * @return the meta object for class 'EEF Image Description'. - * @see org.eclipse.eef.eef.EEFImageDescription - * @generated - */ - EClass getEEFImageDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFImageDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.eef.EEFImageDescription#getValueExpression() - * @see #getEEFImageDescription() - * @generated - */ - EAttribute getEEFImageDescription_ValueExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFTreeDescription EEF Tree Description}'. - * - * - * @return the meta object for class 'EEF Tree Description'. - * @see org.eclipse.eef.eef.EEFTreeDescription - * @generated - */ - EClass getEEFTreeDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTreeDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.eef.EEFTreeDescription#getValueExpression() - * @see #getEEFTreeDescription() - * @generated - */ - EAttribute getEEFTreeDescription_ValueExpression(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.eef.eef.EEFTreeDescription#getTreeStructure Tree Structure}'. - * - * - * @return the meta object for the reference 'Tree Structure'. - * @see org.eclipse.eef.eef.EEFTreeDescription#getTreeStructure() - * @see #getEEFTreeDescription() - * @generated - */ - EReference getEEFTreeDescription_TreeStructure(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTreeDescription#getEditExpression Edit Expression}'. - * - * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.eef.EEFTreeDescription#getEditExpression() - * @see #getEEFTreeDescription() - * @generated - */ - EAttribute getEEFTreeDescription_EditExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFImagePickerDescription EEF Image Picker Description}'. - * - * - * @return the meta object for class 'EEF Image Picker Description'. - * @see org.eclipse.eef.eef.EEFImagePickerDescription - * @generated - */ - EClass getEEFImagePickerDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFImagePickerDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.eef.EEFImagePickerDescription#getValueExpression() - * @see #getEEFImagePickerDescription() - * @generated - */ - EAttribute getEEFImagePickerDescription_ValueExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFImagePickerDescription#getEditExpression Edit Expression}'. - * - * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.eef.EEFImagePickerDescription#getEditExpression() - * @see #getEEFImagePickerDescription() - * @generated - */ - EAttribute getEEFImagePickerDescription_EditExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFImagePickerDescription#getCandidatesExpression Candidates Expression}'. - * - * - * @return the meta object for the attribute 'Candidates Expression'. - * @see org.eclipse.eef.eef.EEFImagePickerDescription#getCandidatesExpression() - * @see #getEEFImagePickerDescription() - * @generated - */ - EAttribute getEEFImagePickerDescription_CandidatesExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFTableDescription EEF Table Description}'. - * - * - * @return the meta object for class 'EEF Table Description'. - * @see org.eclipse.eef.eef.EEFTableDescription - * @generated - */ - EClass getEEFTableDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTableDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.eef.EEFTableDescription#getValueExpression() - * @see #getEEFTableDescription() - * @generated - */ - EAttribute getEEFTableDescription_ValueExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTableDescription#getEditExpression Edit Expression}'. - * - * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.eef.EEFTableDescription#getEditExpression() - * @see #getEEFTableDescription() - * @generated - */ - EAttribute getEEFTableDescription_EditExpression(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.eef.eef.EEFTableDescription#getTableStructure Table Structure}'. - * - * - * @return the meta object for the reference 'Table Structure'. - * @see org.eclipse.eef.eef.EEFTableDescription#getTableStructure() - * @see #getEEFTableDescription() - * @generated - */ - EReference getEEFTableDescription_TableStructure(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFColumnDescription EEF Column Description}'. - * - * - * @return the meta object for class 'EEF Column Description'. - * @see org.eclipse.eef.eef.EEFColumnDescription - * @generated - */ - EClass getEEFColumnDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFColumnDescription#getWidth Width}'. - * - * - * @return the meta object for the attribute 'Width'. - * @see org.eclipse.eef.eef.EEFColumnDescription#getWidth() - * @see #getEEFColumnDescription() - * @generated - */ - EAttribute getEEFColumnDescription_Width(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFColumnDescription#getHeaderExpression Header Expression}'. - * - * - * @return the meta object for the attribute 'Header Expression'. - * @see org.eclipse.eef.eef.EEFColumnDescription#getHeaderExpression() - * @see #getEEFColumnDescription() - * @generated - */ - EAttribute getEEFColumnDescription_HeaderExpression(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.eef.eef.EEFColumnDescription#getCellWidget Cell Widget}'. - * - * - * @return the meta object for the reference 'Cell Widget'. - * @see org.eclipse.eef.eef.EEFColumnDescription#getCellWidget() - * @see #getEEFColumnDescription() - * @generated - */ - EReference getEEFColumnDescription_CellWidget(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFColumnDescription#getContextCandidatesExpression Context Candidates Expression}'. - * - * - * @return the meta object for the attribute 'Context Candidates Expression'. - * @see org.eclipse.eef.eef.EEFColumnDescription#getContextCandidatesExpression() - * @see #getEEFColumnDescription() - * @generated - */ - EAttribute getEEFColumnDescription_ContextCandidatesExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFLineDescription EEF Line Description}'. - * - * - * @return the meta object for class 'EEF Line Description'. - * @see org.eclipse.eef.eef.EEFLineDescription - * @generated - */ - EClass getEEFLineDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFLineDescription#getHeaderExpression Header Expression}'. - * - * - * @return the meta object for the attribute 'Header Expression'. - * @see org.eclipse.eef.eef.EEFLineDescription#getHeaderExpression() - * @see #getEEFLineDescription() - * @generated - */ - EAttribute getEEFLineDescription_HeaderExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFLineDescription#getSemanticCandidatesExpression Semantic Candidates Expression}'. - * - * - * @return the meta object for the attribute 'Semantic Candidates Expression'. - * @see org.eclipse.eef.eef.EEFLineDescription#getSemanticCandidatesExpression() - * @see #getEEFLineDescription() - * @generated - */ - EAttribute getEEFLineDescription_SemanticCandidatesExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFLineDescription#getDomainClass Domain Class}'. - * - * - * @return the meta object for the attribute 'Domain Class'. - * @see org.eclipse.eef.eef.EEFLineDescription#getDomainClass() - * @see #getEEFLineDescription() - * @generated - */ - EAttribute getEEFLineDescription_DomainClass(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.EEFLineDescription#getSubLines Sub Lines}'. - * - * - * @return the meta object for the containment reference list 'Sub Lines'. - * @see org.eclipse.eef.eef.EEFLineDescription#getSubLines() - * @see #getEEFLineDescription() - * @generated - */ - EReference getEEFLineDescription_SubLines(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFTableStructureDescription EEF Table Structure Description}'. - * - * - * @return the meta object for class 'EEF Table Structure Description'. - * @see org.eclipse.eef.eef.EEFTableStructureDescription - * @generated - */ - EClass getEEFTableStructureDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTableStructureDescription#isMultiple Multiple}'. - * - * - * @return the meta object for the attribute 'Multiple'. - * @see org.eclipse.eef.eef.EEFTableStructureDescription#isMultiple() - * @see #getEEFTableStructureDescription() - * @generated - */ - EAttribute getEEFTableStructureDescription_Multiple(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFTableStructureDescription#getIdentifier Identifier}'. - * - * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.eef.EEFTableStructureDescription#getIdentifier() - * @see #getEEFTableStructureDescription() - * @generated - */ - EAttribute getEEFTableStructureDescription_Identifier(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription EEF Adapter Factory Table Structure Description}'. - * - * - * @return the meta object for class 'EEF Adapter Factory Table Structure Description'. - * @see org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription - * @generated - */ - EClass getEEFAdapterFactoryTableStructureDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}'. - * - * - * @return the meta object for the attribute 'Adapter Factory Provider'. - * @see org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider() - * @see #getEEFAdapterFactoryTableStructureDescription() - * @generated - */ - EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.eef.ContextableElement Contextable Element}'. - * - * - * @return the meta object for class 'Contextable Element'. - * @see org.eclipse.eef.eef.ContextableElement - * @generated - */ - EClass getContextableElement(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.ContextableElement#getRequiredContextVariables Required Context Variables}'. - * - * - * @return the meta object for the containment reference list 'Required Context Variables'. - * @see org.eclipse.eef.eef.ContextableElement#getRequiredContextVariables() - * @see #getContextableElement() - * @generated - */ - EReference getContextableElement_RequiredContextVariables(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.eef.ContextableElement#getExcludedContextVariables Excluded Context Variables}'. - * - * - * @return the meta object for the containment reference list 'Excluded Context Variables'. - * @see org.eclipse.eef.eef.ContextableElement#getExcludedContextVariables() - * @see #getContextableElement() - * @generated - */ - EReference getContextableElement_ExcludedContextVariables(); - - /** - * Returns the meta object for data type '{@link java.lang.String Expression}'. - * - * - * @return the meta object for data type 'Expression'. - * @see java.lang.String - * @model instanceClass="java.lang.String" - * @generated - */ - EDataType getExpression(); - - /** - * Returns the meta object for data type '{@link java.lang.String Type Name}'. - * - * - * @return the meta object for data type 'Type Name'. - * @see java.lang.String - * @model instanceClass="java.lang.String" - * @generated - */ - EDataType getTypeName(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - EefFactory getEefFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl EEF View Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFViewDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFViewDescription() - * @generated - */ - EClass EEF_VIEW_DESCRIPTION = eINSTANCE.getEEFViewDescription(); - - /** - * The meta object literal for the 'Identifier' attribute feature. - * - * - * @generated - */ - EAttribute EEF_VIEW_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFViewDescription_Identifier(); - - /** - * The meta object literal for the 'Label Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFViewDescription_LabelExpression(); - - /** - * The meta object literal for the 'EPackage Ns Uris' attribute list feature. - * - * - * @generated - */ - EAttribute EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS = eINSTANCE.getEEFViewDescription_EPackageNsUris(); - - /** - * The meta object literal for the 'Groups' containment reference list feature. - * - * - * @generated - */ - EReference EEF_VIEW_DESCRIPTION__GROUPS = eINSTANCE.getEEFViewDescription_Groups(); - - /** - * The meta object literal for the 'Pages' containment reference list feature. - * - * - * @generated - */ - EReference EEF_VIEW_DESCRIPTION__PAGES = eINSTANCE.getEEFViewDescription_Pages(); - - /** - * The meta object literal for the 'Java Extensions' containment reference list feature. - * - * - * @generated - */ - EReference EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS = eINSTANCE.getEEFViewDescription_JavaExtensions(); - - /** - * The meta object literal for the 'Imported Views' reference list feature. - * - * - * @generated - */ - EReference EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS = eINSTANCE.getEEFViewDescription_ImportedViews(); - - /** - * The meta object literal for the 'Tree Structures' containment reference list feature. - * - * - * @generated - */ - EReference EEF_VIEW_DESCRIPTION__TREE_STRUCTURES = eINSTANCE.getEEFViewDescription_TreeStructures(); - - /** - * The meta object literal for the 'Table Structures' containment reference list feature. - * - * - * @generated - */ - EReference EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES = eINSTANCE.getEEFViewDescription_TableStructures(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl EEF Page Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFPageDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFPageDescription() - * @generated - */ - EClass EEF_PAGE_DESCRIPTION = eINSTANCE.getEEFPageDescription(); - - /** - * The meta object literal for the 'Identifier' attribute feature. - * - * - * @generated - */ - EAttribute EEF_PAGE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFPageDescription_Identifier(); - - /** - * The meta object literal for the 'Label Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFPageDescription_LabelExpression(); - - /** - * The meta object literal for the 'Domain Class' attribute feature. - * - * - * @generated - */ - EAttribute EEF_PAGE_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFPageDescription_DomainClass(); - - /** - * The meta object literal for the 'Semantic Candidate Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE - .getEEFPageDescription_SemanticCandidateExpression(); - - /** - * The meta object literal for the 'Groups' reference list feature. - * - * - * @generated - */ - EReference EEF_PAGE_DESCRIPTION__GROUPS = eINSTANCE.getEEFPageDescription_Groups(); - - /** - * The meta object literal for the 'Extended Page' reference feature. - * - * - * @generated - */ - EReference EEF_PAGE_DESCRIPTION__EXTENDED_PAGE = eINSTANCE.getEEFPageDescription_ExtendedPage(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl EEF Group Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFGroupDescription() - * @generated - */ - EClass EEF_GROUP_DESCRIPTION = eINSTANCE.getEEFGroupDescription(); - - /** - * The meta object literal for the 'Identifier' attribute feature. - * - * - * @generated - */ - EAttribute EEF_GROUP_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFGroupDescription_Identifier(); - - /** - * The meta object literal for the 'Label Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFGroupDescription_LabelExpression(); - - /** - * The meta object literal for the 'Domain Class' attribute feature. - * - * - * @generated - */ - EAttribute EEF_GROUP_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFGroupDescription_DomainClass(); - - /** - * The meta object literal for the 'Semantic Candidates Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = eINSTANCE - .getEEFGroupDescription_SemanticCandidatesExpression(); - - /** - * The meta object literal for the 'Container' containment reference feature. - * - * - * @generated - */ - EReference EEF_GROUP_DESCRIPTION__CONTAINER = eINSTANCE.getEEFGroupDescription_Container(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl EEF Container Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFContainerDescription() - * @generated - */ - EClass EEF_CONTAINER_DESCRIPTION = eINSTANCE.getEEFContainerDescription(); - - /** - * The meta object literal for the 'Identifier' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CONTAINER_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFContainerDescription_Identifier(); - - /** - * The meta object literal for the 'Semantic Candidates Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = eINSTANCE - .getEEFContainerDescription_SemanticCandidatesExpression(); - - /** - * The meta object literal for the 'Domain Class' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFContainerDescription_DomainClass(); - - /** - * The meta object literal for the 'Layout Column Count' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT = eINSTANCE - .getEEFContainerDescription_LayoutColumnCount(); - - /** - * The meta object literal for the 'Containers' containment reference list feature. - * - * - * @generated - */ - EReference EEF_CONTAINER_DESCRIPTION__CONTAINERS = eINSTANCE.getEEFContainerDescription_Containers(); - - /** - * The meta object literal for the 'Widgets' containment reference list feature. - * - * - * @generated - */ - EReference EEF_CONTAINER_DESCRIPTION__WIDGETS = eINSTANCE.getEEFContainerDescription_Widgets(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFWidgetDescriptionImpl EEF Widget Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFWidgetDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFWidgetDescription() - * @generated - */ - EClass EEF_WIDGET_DESCRIPTION = eINSTANCE.getEEFWidgetDescription(); - - /** - * The meta object literal for the 'Identifier' attribute feature. - * - * - * @generated - */ - EAttribute EEF_WIDGET_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFWidgetDescription_Identifier(); - - /** - * The meta object literal for the 'Label Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFWidgetDescription_LabelExpression(); - - /** - * The meta object literal for the 'Feature Candidates Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION = eINSTANCE - .getEEFWidgetDescription_FeatureCandidatesExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFJavaExtensionDescriptionImpl EEF Java Extension Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFJavaExtensionDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFJavaExtensionDescription() - * @generated - */ - EClass EEF_JAVA_EXTENSION_DESCRIPTION = eINSTANCE.getEEFJavaExtensionDescription(); - - /** - * The meta object literal for the 'Qualified Name' attribute feature. - * - * - * @generated - */ - EAttribute EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME = eINSTANCE - .getEEFJavaExtensionDescription_QualifiedName(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFTreeStructureDescriptionImpl EEF Tree Structure Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFTreeStructureDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTreeStructureDescription() - * @generated - */ - EClass EEF_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFTreeStructureDescription(); - - /** - * The meta object literal for the 'Identifier' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFTreeStructureDescription_Identifier(); - - /** - * The meta object literal for the 'Multiple' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFTreeStructureDescription_Multiple(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFInterpretedTableStructureDescriptionImpl EEF Interpreted Table Structure Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFInterpretedTableStructureDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFInterpretedTableStructureDescription() - * @generated - */ - EClass EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFInterpretedTableStructureDescription(); - - /** - * The meta object literal for the 'Columns' containment reference list feature. - * - * - * @generated - */ - EReference EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS = eINSTANCE - .getEEFInterpretedTableStructureDescription_Columns(); - - /** - * The meta object literal for the 'Line' containment reference feature. - * - * - * @generated - */ - EReference EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE = eINSTANCE - .getEEFInterpretedTableStructureDescription_Line(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFCellWidgetDescriptionImpl EEF Cell Widget Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFCellWidgetDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFCellWidgetDescription() - * @generated - */ - EClass EEF_CELL_WIDGET_DESCRIPTION = eINSTANCE.getEEFCellWidgetDescription(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl EEF Adapter Factory Tree Structure Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFAdapterFactoryTreeStructureDescription() - * @generated - */ - EClass EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION = eINSTANCE - .getEEFAdapterFactoryTreeStructureDescription(); - - /** - * The meta object literal for the 'Adapter Factory Provider' attribute feature. - * - * - * @generated - */ - EAttribute EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = eINSTANCE - .getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl EEF Interpreted Tree Structure Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFInterpretedTreeStructureDescription() - * @generated - */ - EClass EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFInterpretedTreeStructureDescription(); - - /** - * The meta object literal for the 'Roots Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION = eINSTANCE - .getEEFInterpretedTreeStructureDescription_RootsExpression(); - - /** - * The meta object literal for the 'Children Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION = eINSTANCE - .getEEFInterpretedTreeStructureDescription_ChildrenExpression(); - - /** - * The meta object literal for the 'Selectable Predicate Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION = eINSTANCE - .getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(); - - /** - * The meta object literal for the 'Candidate Display Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE - .getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFTextDescriptionImpl EEF Text Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFTextDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTextDescription() - * @generated - */ - EClass EEF_TEXT_DESCRIPTION = eINSTANCE.getEEFTextDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTextDescription_ValueExpression(); - - /** - * The meta object literal for the 'Edit Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTextDescription_EditExpression(); - - /** - * The meta object literal for the 'Line Count' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TEXT_DESCRIPTION__LINE_COUNT = eINSTANCE.getEEFTextDescription_LineCount(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFCheckboxDescriptionImpl EEF Checkbox Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFCheckboxDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFCheckboxDescription() - * @generated - */ - EClass EEF_CHECKBOX_DESCRIPTION = eINSTANCE.getEEFCheckboxDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFCheckboxDescription_ValueExpression(); - - /** - * The meta object literal for the 'Edit Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFCheckboxDescription_EditExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl EEF Select Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFSelectDescription() - * @generated - */ - EClass EEF_SELECT_DESCRIPTION = eINSTANCE.getEEFSelectDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFSelectDescription_ValueExpression(); - - /** - * The meta object literal for the 'Edit Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFSelectDescription_EditExpression(); - - /** - * The meta object literal for the 'Candidates Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE - .getEEFSelectDescription_CandidatesExpression(); - - /** - * The meta object literal for the 'Multiple' attribute feature. - * - * - * @generated - */ - EAttribute EEF_SELECT_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFSelectDescription_Multiple(); - - /** - * The meta object literal for the 'Candidate Display Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE - .getEEFSelectDescription_CandidateDisplayExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFLabelDescriptionImpl EEF Label Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFLabelDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFLabelDescription() - * @generated - */ - EClass EEF_LABEL_DESCRIPTION = eINSTANCE.getEEFLabelDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFLabelDescription_ValueExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl EEF Radio Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFRadioDescription() - * @generated - */ - EClass EEF_RADIO_DESCRIPTION = eINSTANCE.getEEFRadioDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFRadioDescription_ValueExpression(); - - /** - * The meta object literal for the 'Edit Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFRadioDescription_EditExpression(); - - /** - * The meta object literal for the 'Candidates Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE - .getEEFRadioDescription_CandidatesExpression(); - - /** - * The meta object literal for the 'Candidate Display Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE - .getEEFRadioDescription_CandidateDisplayExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl EEF Tree Dialog Select Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTreeDialogSelectDescription() - * @generated - */ - EClass EEF_TREE_DIALOG_SELECT_DESCRIPTION = eINSTANCE.getEEFTreeDialogSelectDescription(); - - /** - * The meta object literal for the 'Semantic Candidate Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE - .getEEFTreeDialogSelectDescription_SemanticCandidateExpression(); - - /** - * The meta object literal for the 'Default Filter' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER = eINSTANCE - .getEEFTreeDialogSelectDescription_DefaultFilter(); - - /** - * The meta object literal for the 'Domain Class' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS = eINSTANCE - .getEEFTreeDialogSelectDescription_DomainClass(); - - /** - * The meta object literal for the 'Tree' reference feature. - * - * - * @generated - */ - EReference EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE = eINSTANCE.getEEFTreeDialogSelectDescription_Tree(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFLinkDescriptionImpl EEF Link Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFLinkDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFLinkDescription() - * @generated - */ - EClass EEF_LINK_DESCRIPTION = eINSTANCE.getEEFLinkDescription(); - - /** - * The meta object literal for the 'On Click Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION = eINSTANCE.getEEFLinkDescription_OnClickExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFImageDescriptionImpl EEF Image Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFImageDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFImageDescription() - * @generated - */ - EClass EEF_IMAGE_DESCRIPTION = eINSTANCE.getEEFImageDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFImageDescription_ValueExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFTreeDescriptionImpl EEF Tree Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFTreeDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTreeDescription() - * @generated - */ - EClass EEF_TREE_DESCRIPTION = eINSTANCE.getEEFTreeDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TREE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTreeDescription_ValueExpression(); - - /** - * The meta object literal for the 'Tree Structure' reference feature. - * - * - * @generated - */ - EReference EEF_TREE_DESCRIPTION__TREE_STRUCTURE = eINSTANCE.getEEFTreeDescription_TreeStructure(); - - /** - * The meta object literal for the 'Edit Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TREE_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTreeDescription_EditExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFImagePickerDescriptionImpl EEF Image Picker Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFImagePickerDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFImagePickerDescription() - * @generated - */ - EClass EEF_IMAGE_PICKER_DESCRIPTION = eINSTANCE.getEEFImagePickerDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE - .getEEFImagePickerDescription_ValueExpression(); - - /** - * The meta object literal for the 'Edit Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE - .getEEFImagePickerDescription_EditExpression(); - - /** - * The meta object literal for the 'Candidates Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE - .getEEFImagePickerDescription_CandidatesExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFTableDescriptionImpl EEF Table Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFTableDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTableDescription() - * @generated - */ - EClass EEF_TABLE_DESCRIPTION = eINSTANCE.getEEFTableDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTableDescription_ValueExpression(); - - /** - * The meta object literal for the 'Edit Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTableDescription_EditExpression(); - - /** - * The meta object literal for the 'Table Structure' reference feature. - * - * - * @generated - */ - EReference EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE = eINSTANCE.getEEFTableDescription_TableStructure(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl EEF Column Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFColumnDescription() - * @generated - */ - EClass EEF_COLUMN_DESCRIPTION = eINSTANCE.getEEFColumnDescription(); - - /** - * The meta object literal for the 'Width' attribute feature. - * - * - * @generated - */ - EAttribute EEF_COLUMN_DESCRIPTION__WIDTH = eINSTANCE.getEEFColumnDescription_Width(); - - /** - * The meta object literal for the 'Header Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION = eINSTANCE.getEEFColumnDescription_HeaderExpression(); - - /** - * The meta object literal for the 'Cell Widget' reference feature. - * - * - * @generated - */ - EReference EEF_COLUMN_DESCRIPTION__CELL_WIDGET = eINSTANCE.getEEFColumnDescription_CellWidget(); - - /** - * The meta object literal for the 'Context Candidates Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION = eINSTANCE - .getEEFColumnDescription_ContextCandidatesExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFLineDescriptionImpl EEF Line Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFLineDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFLineDescription() - * @generated - */ - EClass EEF_LINE_DESCRIPTION = eINSTANCE.getEEFLineDescription(); - - /** - * The meta object literal for the 'Header Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LINE_DESCRIPTION__HEADER_EXPRESSION = eINSTANCE.getEEFLineDescription_HeaderExpression(); - - /** - * The meta object literal for the 'Semantic Candidates Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = eINSTANCE - .getEEFLineDescription_SemanticCandidatesExpression(); - - /** - * The meta object literal for the 'Domain Class' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LINE_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFLineDescription_DomainClass(); - - /** - * The meta object literal for the 'Sub Lines' containment reference list feature. - * - * - * @generated - */ - EReference EEF_LINE_DESCRIPTION__SUB_LINES = eINSTANCE.getEEFLineDescription_SubLines(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFTableStructureDescriptionImpl EEF Table Structure Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFTableStructureDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFTableStructureDescription() - * @generated - */ - EClass EEF_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFTableStructureDescription(); - - /** - * The meta object literal for the 'Multiple' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFTableStructureDescription_Multiple(); - - /** - * The meta object literal for the 'Identifier' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFTableStructureDescription_Identifier(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl EEF Adapter Factory Table Structure Description}' class. - * - * - * @see org.eclipse.eef.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getEEFAdapterFactoryTableStructureDescription() - * @generated - */ - EClass EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE - .getEEFAdapterFactoryTableStructureDescription(); - - /** - * The meta object literal for the 'Adapter Factory Provider' attribute feature. - * - * - * @generated - */ - EAttribute EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = eINSTANCE - .getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.eef.impl.ContextableElementImpl Contextable Element}' class. - * - * - * @see org.eclipse.eef.eef.impl.ContextableElementImpl - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getContextableElement() - * @generated - */ - EClass CONTEXTABLE_ELEMENT = eINSTANCE.getContextableElement(); - - /** - * The meta object literal for the 'Required Context Variables' containment reference list feature. - * - * - * @generated - */ - EReference CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES = eINSTANCE - .getContextableElement_RequiredContextVariables(); - - /** - * The meta object literal for the 'Excluded Context Variables' containment reference list feature. - * - * - * @generated - */ - EReference CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES = eINSTANCE - .getContextableElement_ExcludedContextVariables(); - - /** - * The meta object literal for the 'Expression' data type. - * - * - * @see java.lang.String - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getExpression() - * @generated - */ - EDataType EXPRESSION = eINSTANCE.getExpression(); - - /** - * The meta object literal for the 'Type Name' data type. - * - * - * @see java.lang.String - * @see org.eclipse.eef.eef.impl.EefPackageImpl#getTypeName() - * @generated - */ - EDataType TYPE_NAME = eINSTANCE.getTypeName(); - - } - -} //EefPackage diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/ContextableElementImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/ContextableElementImpl.java deleted file mode 100644 index 19f0a8e03..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/ContextableElementImpl.java +++ /dev/null @@ -1,199 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import java.util.Collection; - -import org.eclipse.eef.eef.ContextableElement; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.sirius.context.context.ContextVariable; - -/** - * - * An implementation of the model object 'Contextable Element'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.ContextableElementImpl#getRequiredContextVariables Required Context Variables}
  • - *
  • {@link org.eclipse.eef.eef.impl.ContextableElementImpl#getExcludedContextVariables Excluded Context Variables}
  • - *
- * - * @generated - */ -public abstract class ContextableElementImpl extends MinimalEObjectImpl.Container implements ContextableElement { - /** - * The cached value of the '{@link #getRequiredContextVariables() Required Context Variables}' containment reference list. - * - * - * @see #getRequiredContextVariables() - * @generated - * @ordered - */ - protected EList requiredContextVariables; - - /** - * The cached value of the '{@link #getExcludedContextVariables() Excluded Context Variables}' containment reference list. - * - * - * @see #getExcludedContextVariables() - * @generated - * @ordered - */ - protected EList excludedContextVariables; - - /** - * - * - * @generated - */ - protected ContextableElementImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.CONTEXTABLE_ELEMENT; - } - - /** - * - * - * @generated - */ - @Override - public EList getRequiredContextVariables() { - if (requiredContextVariables == null) { - requiredContextVariables = new EObjectContainmentEList.Resolving(ContextVariable.class, - this, EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES); - } - return requiredContextVariables; - } - - /** - * - * - * @generated - */ - @Override - public EList getExcludedContextVariables() { - if (excludedContextVariables == null) { - excludedContextVariables = new EObjectContainmentEList.Resolving(ContextVariable.class, - this, EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES); - } - return excludedContextVariables; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: - return ((InternalEList) getRequiredContextVariables()).basicRemove(otherEnd, msgs); - case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: - return ((InternalEList) getExcludedContextVariables()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: - return getRequiredContextVariables(); - case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: - return getExcludedContextVariables(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: - getRequiredContextVariables().clear(); - getRequiredContextVariables().addAll((Collection) newValue); - return; - case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: - getExcludedContextVariables().clear(); - getExcludedContextVariables().addAll((Collection) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: - getRequiredContextVariables().clear(); - return; - case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: - getExcludedContextVariables().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: - return requiredContextVariables != null && !requiredContextVariables.isEmpty(); - case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: - return excludedContextVariables != null && !excludedContextVariables.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //ContextableElementImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java deleted file mode 100644 index e256a04f2..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java +++ /dev/null @@ -1,175 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Adapter Factory Table Structure Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl#getAdapterFactoryProvider Adapter Factory Provider}
  • - *
- * - * @generated - */ -public class EEFAdapterFactoryTableStructureDescriptionImpl extends EEFTableStructureDescriptionImpl - implements EEFAdapterFactoryTableStructureDescription { - /** - * The default value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. - * - * - * @see #getAdapterFactoryProvider() - * @generated - * @ordered - */ - protected static final String ADAPTER_FACTORY_PROVIDER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. - * - * - * @see #getAdapterFactoryProvider() - * @generated - * @ordered - */ - protected String adapterFactoryProvider = ADAPTER_FACTORY_PROVIDER_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFAdapterFactoryTableStructureDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getAdapterFactoryProvider() { - return adapterFactoryProvider; - } - - /** - * - * - * @generated - */ - @Override - public void setAdapterFactoryProvider(String newAdapterFactoryProvider) { - String oldAdapterFactoryProvider = adapterFactoryProvider; - adapterFactoryProvider = newAdapterFactoryProvider; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, - oldAdapterFactoryProvider, adapterFactoryProvider)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - return getAdapterFactoryProvider(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - setAdapterFactoryProvider((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - setAdapterFactoryProvider(ADAPTER_FACTORY_PROVIDER_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - return ADAPTER_FACTORY_PROVIDER_EDEFAULT == null ? adapterFactoryProvider != null - : !ADAPTER_FACTORY_PROVIDER_EDEFAULT.equals(adapterFactoryProvider); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (adapterFactoryProvider: "); //$NON-NLS-1$ - result.append(adapterFactoryProvider); - result.append(')'); - return result.toString(); - } - -} //EEFAdapterFactoryTableStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java deleted file mode 100644 index d4f97c8f1..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java +++ /dev/null @@ -1,175 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Adapter Factory Tree Structure Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl#getAdapterFactoryProvider Adapter Factory Provider}
  • - *
- * - * @generated - */ -public class EEFAdapterFactoryTreeStructureDescriptionImpl extends EEFTreeStructureDescriptionImpl - implements EEFAdapterFactoryTreeStructureDescription { - /** - * The default value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. - * - * - * @see #getAdapterFactoryProvider() - * @generated - * @ordered - */ - protected static final String ADAPTER_FACTORY_PROVIDER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. - * - * - * @see #getAdapterFactoryProvider() - * @generated - * @ordered - */ - protected String adapterFactoryProvider = ADAPTER_FACTORY_PROVIDER_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFAdapterFactoryTreeStructureDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getAdapterFactoryProvider() { - return adapterFactoryProvider; - } - - /** - * - * - * @generated - */ - @Override - public void setAdapterFactoryProvider(String newAdapterFactoryProvider) { - String oldAdapterFactoryProvider = adapterFactoryProvider; - adapterFactoryProvider = newAdapterFactoryProvider; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, - oldAdapterFactoryProvider, adapterFactoryProvider)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - return getAdapterFactoryProvider(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - setAdapterFactoryProvider((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - setAdapterFactoryProvider(ADAPTER_FACTORY_PROVIDER_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - return ADAPTER_FACTORY_PROVIDER_EDEFAULT == null ? adapterFactoryProvider != null - : !ADAPTER_FACTORY_PROVIDER_EDEFAULT.equals(adapterFactoryProvider); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (adapterFactoryProvider: "); //$NON-NLS-1$ - result.append(adapterFactoryProvider); - result.append(')'); - return result.toString(); - } - -} //EEFAdapterFactoryTreeStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCellWidgetDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCellWidgetDescriptionImpl.java deleted file mode 100644 index 323f873ef..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCellWidgetDescriptionImpl.java +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFCellWidgetDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'EEF Cell Widget Description'. - * - * - * @generated - */ -public abstract class EEFCellWidgetDescriptionImpl extends EEFWidgetDescriptionImpl - implements EEFCellWidgetDescription { - /** - * - * - * @generated - */ - protected EEFCellWidgetDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_CELL_WIDGET_DESCRIPTION; - } - -} //EEFCellWidgetDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCheckboxDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCheckboxDescriptionImpl.java deleted file mode 100644 index 54f203fd0..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFCheckboxDescriptionImpl.java +++ /dev/null @@ -1,231 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFCheckboxDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Checkbox Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFCheckboxDescriptionImpl#getValueExpression Value Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFCheckboxDescriptionImpl#getEditExpression Edit Expression}
  • - *
- * - * @generated - */ -public class EEFCheckboxDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFCheckboxDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected static final String EDIT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected String editExpression = EDIT_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFCheckboxDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_CHECKBOX_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION, - oldValueExpression, valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getEditExpression() { - return editExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setEditExpression(String newEditExpression) { - String oldEditExpression = editExpression; - editExpression = newEditExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION, - oldEditExpression, editExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: - return getEditExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression(EDIT_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null - : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: - return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null - : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(", editExpression: "); //$NON-NLS-1$ - result.append(editExpression); - result.append(')'); - return result.toString(); - } - -} //EEFCheckboxDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFColumnDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFColumnDescriptionImpl.java deleted file mode 100644 index 89b40c360..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFColumnDescriptionImpl.java +++ /dev/null @@ -1,357 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFCellWidgetDescription; -import org.eclipse.eef.eef.EEFColumnDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'EEF Column Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl#getWidth Width}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl#getHeaderExpression Header Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl#getCellWidget Cell Widget}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFColumnDescriptionImpl#getContextCandidatesExpression Context Candidates Expression}
  • - *
- * - * @generated - */ -public class EEFColumnDescriptionImpl extends MinimalEObjectImpl.Container implements EEFColumnDescription { - /** - * The default value of the '{@link #getWidth() Width}' attribute. - * - * - * @see #getWidth() - * @generated - * @ordered - */ - protected static final int WIDTH_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getWidth() Width}' attribute. - * - * - * @see #getWidth() - * @generated - * @ordered - */ - protected int width = WIDTH_EDEFAULT; - - /** - * The default value of the '{@link #getHeaderExpression() Header Expression}' attribute. - * - * - * @see #getHeaderExpression() - * @generated - * @ordered - */ - protected static final String HEADER_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHeaderExpression() Header Expression}' attribute. - * - * - * @see #getHeaderExpression() - * @generated - * @ordered - */ - protected String headerExpression = HEADER_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getCellWidget() Cell Widget}' reference. - * - * - * @see #getCellWidget() - * @generated - * @ordered - */ - protected EEFCellWidgetDescription cellWidget; - - /** - * The default value of the '{@link #getContextCandidatesExpression() Context Candidates Expression}' attribute. - * - * - * @see #getContextCandidatesExpression() - * @generated - * @ordered - */ - protected static final String CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getContextCandidatesExpression() Context Candidates Expression}' attribute. - * - * - * @see #getContextCandidatesExpression() - * @generated - * @ordered - */ - protected String contextCandidatesExpression = CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFColumnDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_COLUMN_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public int getWidth() { - return width; - } - - /** - * - * - * @generated - */ - @Override - public void setWidth(int newWidth) { - int oldWidth = width; - width = newWidth; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH, oldWidth, - width)); - } - - /** - * - * - * @generated - */ - @Override - public String getHeaderExpression() { - return headerExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setHeaderExpression(String newHeaderExpression) { - String oldHeaderExpression = headerExpression; - headerExpression = newHeaderExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION, - oldHeaderExpression, headerExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EEFCellWidgetDescription getCellWidget() { - if (cellWidget != null && cellWidget.eIsProxy()) { - InternalEObject oldCellWidget = (InternalEObject) cellWidget; - cellWidget = (EEFCellWidgetDescription) eResolveProxy(oldCellWidget); - if (cellWidget != oldCellWidget) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET, oldCellWidget, cellWidget)); - } - } - return cellWidget; - } - - /** - * - * - * @generated - */ - public EEFCellWidgetDescription basicGetCellWidget() { - return cellWidget; - } - - /** - * - * - * @generated - */ - @Override - public void setCellWidget(EEFCellWidgetDescription newCellWidget) { - EEFCellWidgetDescription oldCellWidget = cellWidget; - cellWidget = newCellWidget; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET, - oldCellWidget, cellWidget)); - } - - /** - * - * - * @generated - */ - @Override - public String getContextCandidatesExpression() { - return contextCandidatesExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setContextCandidatesExpression(String newContextCandidatesExpression) { - String oldContextCandidatesExpression = contextCandidatesExpression; - contextCandidatesExpression = newContextCandidatesExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION, oldContextCandidatesExpression, - contextCandidatesExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: - return getWidth(); - case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: - return getHeaderExpression(); - case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: - if (resolve) - return getCellWidget(); - return basicGetCellWidget(); - case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: - return getContextCandidatesExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: - setWidth((Integer) newValue); - return; - case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: - setHeaderExpression((String) newValue); - return; - case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: - setCellWidget((EEFCellWidgetDescription) newValue); - return; - case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: - setContextCandidatesExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: - setWidth(WIDTH_EDEFAULT); - return; - case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: - setHeaderExpression(HEADER_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: - setCellWidget((EEFCellWidgetDescription) null); - return; - case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: - setContextCandidatesExpression(CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: - return width != WIDTH_EDEFAULT; - case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: - return HEADER_EXPRESSION_EDEFAULT == null ? headerExpression != null - : !HEADER_EXPRESSION_EDEFAULT.equals(headerExpression); - case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: - return cellWidget != null; - case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: - return CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT == null ? contextCandidatesExpression != null - : !CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT.equals(contextCandidatesExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (width: "); //$NON-NLS-1$ - result.append(width); - result.append(", headerExpression: "); //$NON-NLS-1$ - result.append(headerExpression); - result.append(", contextCandidatesExpression: "); //$NON-NLS-1$ - result.append(contextCandidatesExpression); - result.append(')'); - return result.toString(); - } - -} //EEFColumnDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFContainerDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFContainerDescriptionImpl.java deleted file mode 100644 index 758b26dfa..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFContainerDescriptionImpl.java +++ /dev/null @@ -1,445 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import java.util.Collection; - -import org.eclipse.eef.eef.EEFContainerDescription; -import org.eclipse.eef.eef.EEFWidgetDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'EEF Container Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl#getIdentifier Identifier}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl#getSemanticCandidatesExpression Semantic Candidates Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl#getDomainClass Domain Class}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl#getLayoutColumnCount Layout Column Count}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl#getContainers Containers}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFContainerDescriptionImpl#getWidgets Widgets}
  • - *
- * - * @generated - */ -public class EEFContainerDescriptionImpl extends ContextableElementImpl implements EEFContainerDescription { - /** - * The default value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected static final String IDENTIFIER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected String identifier = IDENTIFIER_EDEFAULT; - - /** - * The default value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. - * - * - * @see #getSemanticCandidatesExpression() - * @generated - * @ordered - */ - protected static final String SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. - * - * - * @see #getSemanticCandidatesExpression() - * @generated - * @ordered - */ - protected String semanticCandidatesExpression = SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected static final String DOMAIN_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected String domainClass = DOMAIN_CLASS_EDEFAULT; - - /** - * The default value of the '{@link #getLayoutColumnCount() Layout Column Count}' attribute. - * - * - * @see #getLayoutColumnCount() - * @generated - * @ordered - */ - protected static final int LAYOUT_COLUMN_COUNT_EDEFAULT = 1; - - /** - * The cached value of the '{@link #getLayoutColumnCount() Layout Column Count}' attribute. - * - * - * @see #getLayoutColumnCount() - * @generated - * @ordered - */ - protected int layoutColumnCount = LAYOUT_COLUMN_COUNT_EDEFAULT; - - /** - * The cached value of the '{@link #getContainers() Containers}' containment reference list. - * - * - * @see #getContainers() - * @generated - * @ordered - */ - protected EList containers; - - /** - * The cached value of the '{@link #getWidgets() Widgets}' containment reference list. - * - * - * @see #getWidgets() - * @generated - * @ordered - */ - protected EList widgets; - - /** - * - * - * @generated - */ - protected EEFContainerDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_CONTAINER_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getIdentifier() { - return identifier; - } - - /** - * - * - * @generated - */ - @Override - public void setIdentifier(String newIdentifier) { - String oldIdentifier = identifier; - identifier = newIdentifier; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER, - oldIdentifier, identifier)); - } - - /** - * - * - * @generated - */ - @Override - public String getSemanticCandidatesExpression() { - return semanticCandidatesExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setSemanticCandidatesExpression(String newSemanticCandidatesExpression) { - String oldSemanticCandidatesExpression = semanticCandidatesExpression; - semanticCandidatesExpression = newSemanticCandidatesExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, - oldSemanticCandidatesExpression, semanticCandidatesExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getDomainClass() { - return domainClass; - } - - /** - * - * - * @generated - */ - @Override - public void setDomainClass(String newDomainClass) { - String oldDomainClass = domainClass; - domainClass = newDomainClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS, - oldDomainClass, domainClass)); - } - - /** - * - * - * @generated - */ - @Override - public int getLayoutColumnCount() { - return layoutColumnCount; - } - - /** - * - * - * @generated - */ - @Override - public void setLayoutColumnCount(int newLayoutColumnCount) { - int oldLayoutColumnCount = layoutColumnCount; - layoutColumnCount = newLayoutColumnCount; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT, oldLayoutColumnCount, - layoutColumnCount)); - } - - /** - * - * - * @generated - */ - @Override - public EList getContainers() { - if (containers == null) { - containers = new EObjectContainmentEList.Resolving(EEFContainerDescription.class, - this, EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS); - } - return containers; - } - - /** - * - * - * @generated - */ - @Override - public EList getWidgets() { - if (widgets == null) { - widgets = new EObjectContainmentEList.Resolving(EEFWidgetDescription.class, this, - EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS); - } - return widgets; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: - return ((InternalEList) getContainers()).basicRemove(otherEnd, msgs); - case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: - return ((InternalEList) getWidgets()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: - return getIdentifier(); - case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - return getSemanticCandidatesExpression(); - case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: - return getDomainClass(); - case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: - return getLayoutColumnCount(); - case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: - return getContainers(); - case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: - return getWidgets(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: - setIdentifier((String) newValue); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - setSemanticCandidatesExpression((String) newValue); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: - setDomainClass((String) newValue); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: - setLayoutColumnCount((Integer) newValue); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: - getContainers().clear(); - getContainers().addAll((Collection) newValue); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: - getWidgets().clear(); - getWidgets().addAll((Collection) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: - setIdentifier(IDENTIFIER_EDEFAULT); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - setSemanticCandidatesExpression(SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: - setDomainClass(DOMAIN_CLASS_EDEFAULT); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: - setLayoutColumnCount(LAYOUT_COLUMN_COUNT_EDEFAULT); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: - getContainers().clear(); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: - getWidgets().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: - return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); - case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - return SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT == null ? semanticCandidatesExpression != null - : !SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT.equals(semanticCandidatesExpression); - case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: - return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); - case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: - return layoutColumnCount != LAYOUT_COLUMN_COUNT_EDEFAULT; - case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: - return containers != null && !containers.isEmpty(); - case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: - return widgets != null && !widgets.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (identifier: "); //$NON-NLS-1$ - result.append(identifier); - result.append(", semanticCandidatesExpression: "); //$NON-NLS-1$ - result.append(semanticCandidatesExpression); - result.append(", domainClass: "); //$NON-NLS-1$ - result.append(domainClass); - result.append(", layoutColumnCount: "); //$NON-NLS-1$ - result.append(layoutColumnCount); - result.append(')'); - return result.toString(); - } - -} //EEFContainerDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFGroupDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFGroupDescriptionImpl.java deleted file mode 100644 index d575b5541..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFGroupDescriptionImpl.java +++ /dev/null @@ -1,465 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFContainerDescription; -import org.eclipse.eef.eef.EEFGroupDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Group Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl#getIdentifier Identifier}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl#getLabelExpression Label Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl#getDomainClass Domain Class}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl#getSemanticCandidatesExpression Semantic Candidates Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFGroupDescriptionImpl#getContainer Container}
  • - *
- * - * @generated - */ -public class EEFGroupDescriptionImpl extends ContextableElementImpl implements EEFGroupDescription { - /** - * The default value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected static final String IDENTIFIER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected String identifier = IDENTIFIER_EDEFAULT; - - /** - * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * - * @see #getLabelExpression() - * @generated - * @ordered - */ - protected static final String LABEL_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * - * @see #getLabelExpression() - * @generated - * @ordered - */ - protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected static final String DOMAIN_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected String domainClass = DOMAIN_CLASS_EDEFAULT; - - /** - * The default value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. - * - * - * @see #getSemanticCandidatesExpression() - * @generated - * @ordered - */ - protected static final String SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. - * - * - * @see #getSemanticCandidatesExpression() - * @generated - * @ordered - */ - protected String semanticCandidatesExpression = SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getContainer() Container}' containment reference. - * - * - * @see #getContainer() - * @generated - * @ordered - */ - protected EEFContainerDescription container; - - /** - * - * - * @generated - */ - protected EEFGroupDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_GROUP_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getIdentifier() { - return identifier; - } - - /** - * - * - * @generated - */ - @Override - public void setIdentifier(String newIdentifier) { - String oldIdentifier = identifier; - identifier = newIdentifier; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER, - oldIdentifier, identifier)); - } - - /** - * - * - * @generated - */ - @Override - public String getLabelExpression() { - return labelExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setLabelExpression(String newLabelExpression) { - String oldLabelExpression = labelExpression; - labelExpression = newLabelExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION, - oldLabelExpression, labelExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getDomainClass() { - return domainClass; - } - - /** - * - * - * @generated - */ - @Override - public void setDomainClass(String newDomainClass) { - String oldDomainClass = domainClass; - domainClass = newDomainClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS, - oldDomainClass, domainClass)); - } - - /** - * - * - * @generated - */ - @Override - public String getSemanticCandidatesExpression() { - return semanticCandidatesExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setSemanticCandidatesExpression(String newSemanticCandidatesExpression) { - String oldSemanticCandidatesExpression = semanticCandidatesExpression; - semanticCandidatesExpression = newSemanticCandidatesExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, oldSemanticCandidatesExpression, - semanticCandidatesExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EEFContainerDescription getContainer() { - if (container != null && container.eIsProxy()) { - InternalEObject oldContainer = (InternalEObject) container; - container = (EEFContainerDescription) eResolveProxy(oldContainer); - if (container != oldContainer) { - InternalEObject newContainer = (InternalEObject) container; - NotificationChain msgs = oldContainer.eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, null); - if (newContainer.eInternalContainer() == null) { - msgs = newContainer.eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, oldContainer, container)); - } - } - return container; - } - - /** - * - * - * @generated - */ - public EEFContainerDescription basicGetContainer() { - return container; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetContainer(EEFContainerDescription newContainer, NotificationChain msgs) { - EEFContainerDescription oldContainer = container; - container = newContainer; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, oldContainer, newContainer); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setContainer(EEFContainerDescription newContainer) { - if (newContainer != container) { - NotificationChain msgs = null; - if (container != null) - msgs = ((InternalEObject) container).eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, msgs); - if (newContainer != null) - msgs = ((InternalEObject) newContainer).eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, msgs); - msgs = basicSetContainer(newContainer, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, - newContainer, newContainer)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: - return basicSetContainer(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: - return getIdentifier(); - case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: - return getLabelExpression(); - case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: - return getDomainClass(); - case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - return getSemanticCandidatesExpression(); - case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: - if (resolve) - return getContainer(); - return basicGetContainer(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: - setIdentifier((String) newValue); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: - setLabelExpression((String) newValue); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: - setDomainClass((String) newValue); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - setSemanticCandidatesExpression((String) newValue); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: - setContainer((EEFContainerDescription) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: - setIdentifier(IDENTIFIER_EDEFAULT); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: - setLabelExpression(LABEL_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: - setDomainClass(DOMAIN_CLASS_EDEFAULT); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - setSemanticCandidatesExpression(SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: - setContainer((EEFContainerDescription) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: - return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); - case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: - return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null - : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); - case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: - return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); - case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - return SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT == null ? semanticCandidatesExpression != null - : !SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT.equals(semanticCandidatesExpression); - case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: - return container != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (identifier: "); //$NON-NLS-1$ - result.append(identifier); - result.append(", labelExpression: "); //$NON-NLS-1$ - result.append(labelExpression); - result.append(", domainClass: "); //$NON-NLS-1$ - result.append(domainClass); - result.append(", semanticCandidatesExpression: "); //$NON-NLS-1$ - result.append(semanticCandidatesExpression); - result.append(')'); - return result.toString(); - } - -} //EEFGroupDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImageDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImageDescriptionImpl.java deleted file mode 100644 index 3ec099b29..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImageDescriptionImpl.java +++ /dev/null @@ -1,173 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFImageDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Image Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFImageDescriptionImpl#getValueExpression Value Expression}
  • - *
- * - * @generated - */ -public class EEFImageDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFImageDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFImageDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_IMAGE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION, - oldValueExpression, valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null - : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(')'); - return result.toString(); - } - -} //EEFImageDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImagePickerDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImagePickerDescriptionImpl.java deleted file mode 100644 index f337f47b8..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFImagePickerDescriptionImpl.java +++ /dev/null @@ -1,290 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFImagePickerDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Image Picker Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFImagePickerDescriptionImpl#getValueExpression Value Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFImagePickerDescriptionImpl#getEditExpression Edit Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFImagePickerDescriptionImpl#getCandidatesExpression Candidates Expression}
  • - *
- * - * @generated - */ -public class EEFImagePickerDescriptionImpl extends EEFWidgetDescriptionImpl implements EEFImagePickerDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected static final String EDIT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected String editExpression = EDIT_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. - * - * - * @see #getCandidatesExpression() - * @generated - * @ordered - */ - protected static final String CANDIDATES_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. - * - * - * @see #getCandidatesExpression() - * @generated - * @ordered - */ - protected String candidatesExpression = CANDIDATES_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFImagePickerDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getEditExpression() { - return editExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setEditExpression(String newEditExpression) { - String oldEditExpression = editExpression; - editExpression = newEditExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, editExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getCandidatesExpression() { - return candidatesExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setCandidatesExpression(String newCandidatesExpression) { - String oldCandidatesExpression = candidatesExpression; - candidatesExpression = newCandidatesExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION, oldCandidatesExpression, - candidatesExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: - return getEditExpression(); - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: - return getCandidatesExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression((String) newValue); - return; - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: - setCandidatesExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression(EDIT_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: - setCandidatesExpression(CANDIDATES_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null - : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: - return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null - : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: - return CANDIDATES_EXPRESSION_EDEFAULT == null ? candidatesExpression != null - : !CANDIDATES_EXPRESSION_EDEFAULT.equals(candidatesExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(", editExpression: "); //$NON-NLS-1$ - result.append(editExpression); - result.append(", candidatesExpression: "); //$NON-NLS-1$ - result.append(candidatesExpression); - result.append(')'); - return result.toString(); - } - -} //EEFImagePickerDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java deleted file mode 100644 index 694bbc94e..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java +++ /dev/null @@ -1,271 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import java.util.Collection; - -import org.eclipse.eef.eef.EEFColumnDescription; -import org.eclipse.eef.eef.EEFInterpretedTableStructureDescription; -import org.eclipse.eef.eef.EEFLineDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'EEF Interpreted Table Structure Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFInterpretedTableStructureDescriptionImpl#getColumns Columns}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFInterpretedTableStructureDescriptionImpl#getLine Line}
  • - *
- * - * @generated - */ -public class EEFInterpretedTableStructureDescriptionImpl extends EEFTableStructureDescriptionImpl - implements EEFInterpretedTableStructureDescription { - /** - * The cached value of the '{@link #getColumns() Columns}' containment reference list. - * - * - * @see #getColumns() - * @generated - * @ordered - */ - protected EList columns; - - /** - * The cached value of the '{@link #getLine() Line}' containment reference. - * - * - * @see #getLine() - * @generated - * @ordered - */ - protected EEFLineDescription line; - - /** - * - * - * @generated - */ - protected EEFInterpretedTableStructureDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public EList getColumns() { - if (columns == null) { - columns = new EObjectContainmentEList.Resolving(EEFColumnDescription.class, this, - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS); - } - return columns; - } - - /** - * - * - * @generated - */ - @Override - public EEFLineDescription getLine() { - if (line != null && line.eIsProxy()) { - InternalEObject oldLine = (InternalEObject) line; - line = (EEFLineDescription) eResolveProxy(oldLine); - if (line != oldLine) { - InternalEObject newLine = (InternalEObject) line; - NotificationChain msgs = oldLine.eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, - null); - if (newLine.eInternalContainer() == null) { - msgs = newLine.eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, - msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, oldLine, line)); - } - } - return line; - } - - /** - * - * - * @generated - */ - public EEFLineDescription basicGetLine() { - return line; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetLine(EEFLineDescription newLine, NotificationChain msgs) { - EEFLineDescription oldLine = line; - line = newLine; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, oldLine, newLine); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setLine(EEFLineDescription newLine) { - if (newLine != line) { - NotificationChain msgs = null; - if (line != null) - msgs = ((InternalEObject) line).eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, - msgs); - if (newLine != null) - msgs = ((InternalEObject) newLine).eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, - msgs); - msgs = basicSetLine(newLine, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, newLine, newLine)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: - return ((InternalEList) getColumns()).basicRemove(otherEnd, msgs); - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: - return basicSetLine(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: - return getColumns(); - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: - if (resolve) - return getLine(); - return basicGetLine(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: - getColumns().clear(); - getColumns().addAll((Collection) newValue); - return; - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: - setLine((EEFLineDescription) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: - getColumns().clear(); - return; - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: - setLine((EEFLineDescription) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: - return columns != null && !columns.isEmpty(); - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: - return line != null; - } - return super.eIsSet(featureID); - } - -} //EEFInterpretedTableStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java deleted file mode 100644 index 3542e74b4..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java +++ /dev/null @@ -1,352 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Interpreted Tree Structure Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getRootsExpression Roots Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getChildrenExpression Children Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getSelectablePredicateExpression Selectable Predicate Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getCandidateDisplayExpression Candidate Display Expression}
  • - *
- * - * @generated - */ -public class EEFInterpretedTreeStructureDescriptionImpl extends EEFTreeStructureDescriptionImpl - implements EEFInterpretedTreeStructureDescription { - /** - * The default value of the '{@link #getRootsExpression() Roots Expression}' attribute. - * - * - * @see #getRootsExpression() - * @generated - * @ordered - */ - protected static final String ROOTS_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRootsExpression() Roots Expression}' attribute. - * - * - * @see #getRootsExpression() - * @generated - * @ordered - */ - protected String rootsExpression = ROOTS_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getChildrenExpression() Children Expression}' attribute. - * - * - * @see #getChildrenExpression() - * @generated - * @ordered - */ - protected static final String CHILDREN_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getChildrenExpression() Children Expression}' attribute. - * - * - * @see #getChildrenExpression() - * @generated - * @ordered - */ - protected String childrenExpression = CHILDREN_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getSelectablePredicateExpression() Selectable Predicate Expression}' attribute. - * - * - * @see #getSelectablePredicateExpression() - * @generated - * @ordered - */ - protected static final String SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSelectablePredicateExpression() Selectable Predicate Expression}' attribute. - * - * - * @see #getSelectablePredicateExpression() - * @generated - * @ordered - */ - protected String selectablePredicateExpression = SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. - * - * - * @see #getCandidateDisplayExpression() - * @generated - * @ordered - */ - protected static final String CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. - * - * - * @see #getCandidateDisplayExpression() - * @generated - * @ordered - */ - protected String candidateDisplayExpression = CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFInterpretedTreeStructureDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getRootsExpression() { - return rootsExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setRootsExpression(String newRootsExpression) { - String oldRootsExpression = rootsExpression; - rootsExpression = newRootsExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION, oldRootsExpression, - rootsExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getChildrenExpression() { - return childrenExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setChildrenExpression(String newChildrenExpression) { - String oldChildrenExpression = childrenExpression; - childrenExpression = newChildrenExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION, oldChildrenExpression, - childrenExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getSelectablePredicateExpression() { - return selectablePredicateExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setSelectablePredicateExpression(String newSelectablePredicateExpression) { - String oldSelectablePredicateExpression = selectablePredicateExpression; - selectablePredicateExpression = newSelectablePredicateExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION, - oldSelectablePredicateExpression, selectablePredicateExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getCandidateDisplayExpression() { - return candidateDisplayExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setCandidateDisplayExpression(String newCandidateDisplayExpression) { - String oldCandidateDisplayExpression = candidateDisplayExpression; - candidateDisplayExpression = newCandidateDisplayExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, - oldCandidateDisplayExpression, candidateDisplayExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: - return getRootsExpression(); - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: - return getChildrenExpression(); - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: - return getSelectablePredicateExpression(); - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - return getCandidateDisplayExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: - setRootsExpression((String) newValue); - return; - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: - setChildrenExpression((String) newValue); - return; - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: - setSelectablePredicateExpression((String) newValue); - return; - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - setCandidateDisplayExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: - setRootsExpression(ROOTS_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: - setChildrenExpression(CHILDREN_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: - setSelectablePredicateExpression(SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - setCandidateDisplayExpression(CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: - return ROOTS_EXPRESSION_EDEFAULT == null ? rootsExpression != null - : !ROOTS_EXPRESSION_EDEFAULT.equals(rootsExpression); - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: - return CHILDREN_EXPRESSION_EDEFAULT == null ? childrenExpression != null - : !CHILDREN_EXPRESSION_EDEFAULT.equals(childrenExpression); - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: - return SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT == null ? selectablePredicateExpression != null - : !SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT.equals(selectablePredicateExpression); - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - return CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT == null ? candidateDisplayExpression != null - : !CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT.equals(candidateDisplayExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (rootsExpression: "); //$NON-NLS-1$ - result.append(rootsExpression); - result.append(", childrenExpression: "); //$NON-NLS-1$ - result.append(childrenExpression); - result.append(", selectablePredicateExpression: "); //$NON-NLS-1$ - result.append(selectablePredicateExpression); - result.append(", candidateDisplayExpression: "); //$NON-NLS-1$ - result.append(candidateDisplayExpression); - result.append(')'); - return result.toString(); - } - -} //EEFInterpretedTreeStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFJavaExtensionDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFJavaExtensionDescriptionImpl.java deleted file mode 100644 index c5baf2a9a..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFJavaExtensionDescriptionImpl.java +++ /dev/null @@ -1,175 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFJavaExtensionDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'EEF Java Extension Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFJavaExtensionDescriptionImpl#getQualifiedName Qualified Name}
  • - *
- * - * @generated - */ -public class EEFJavaExtensionDescriptionImpl extends MinimalEObjectImpl.Container - implements EEFJavaExtensionDescription { - /** - * The default value of the '{@link #getQualifiedName() Qualified Name}' attribute. - * - * - * @see #getQualifiedName() - * @generated - * @ordered - */ - protected static final String QUALIFIED_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getQualifiedName() Qualified Name}' attribute. - * - * - * @see #getQualifiedName() - * @generated - * @ordered - */ - protected String qualifiedName = QUALIFIED_NAME_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFJavaExtensionDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_JAVA_EXTENSION_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getQualifiedName() { - return qualifiedName; - } - - /** - * - * - * @generated - */ - @Override - public void setQualifiedName(String newQualifiedName) { - String oldQualifiedName = qualifiedName; - qualifiedName = newQualifiedName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME, oldQualifiedName, qualifiedName)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: - return getQualifiedName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: - setQualifiedName((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: - setQualifiedName(QUALIFIED_NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: - return QUALIFIED_NAME_EDEFAULT == null ? qualifiedName != null - : !QUALIFIED_NAME_EDEFAULT.equals(qualifiedName); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (qualifiedName: "); //$NON-NLS-1$ - result.append(qualifiedName); - result.append(')'); - return result.toString(); - } - -} //EEFJavaExtensionDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLabelDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLabelDescriptionImpl.java deleted file mode 100644 index 03bef75c4..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLabelDescriptionImpl.java +++ /dev/null @@ -1,173 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFLabelDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Label Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFLabelDescriptionImpl#getValueExpression Value Expression}
  • - *
- * - * @generated - */ -public class EEFLabelDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFLabelDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFLabelDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_LABEL_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION, - oldValueExpression, valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null - : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(')'); - return result.toString(); - } - -} //EEFLabelDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLineDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLineDescriptionImpl.java deleted file mode 100644 index 398ffbbd7..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLineDescriptionImpl.java +++ /dev/null @@ -1,350 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import java.util.Collection; - -import org.eclipse.eef.eef.EEFLineDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'EEF Line Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFLineDescriptionImpl#getHeaderExpression Header Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFLineDescriptionImpl#getSemanticCandidatesExpression Semantic Candidates Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFLineDescriptionImpl#getDomainClass Domain Class}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFLineDescriptionImpl#getSubLines Sub Lines}
  • - *
- * - * @generated - */ -public class EEFLineDescriptionImpl extends MinimalEObjectImpl.Container implements EEFLineDescription { - /** - * The default value of the '{@link #getHeaderExpression() Header Expression}' attribute. - * - * - * @see #getHeaderExpression() - * @generated - * @ordered - */ - protected static final String HEADER_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHeaderExpression() Header Expression}' attribute. - * - * - * @see #getHeaderExpression() - * @generated - * @ordered - */ - protected String headerExpression = HEADER_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. - * - * - * @see #getSemanticCandidatesExpression() - * @generated - * @ordered - */ - protected static final String SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. - * - * - * @see #getSemanticCandidatesExpression() - * @generated - * @ordered - */ - protected String semanticCandidatesExpression = SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected static final String DOMAIN_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected String domainClass = DOMAIN_CLASS_EDEFAULT; - - /** - * The cached value of the '{@link #getSubLines() Sub Lines}' containment reference list. - * - * - * @see #getSubLines() - * @generated - * @ordered - */ - protected EList subLines; - - /** - * - * - * @generated - */ - protected EEFLineDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_LINE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getHeaderExpression() { - return headerExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setHeaderExpression(String newHeaderExpression) { - String oldHeaderExpression = headerExpression; - headerExpression = newHeaderExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION, - oldHeaderExpression, headerExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getSemanticCandidatesExpression() { - return semanticCandidatesExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setSemanticCandidatesExpression(String newSemanticCandidatesExpression) { - String oldSemanticCandidatesExpression = semanticCandidatesExpression; - semanticCandidatesExpression = newSemanticCandidatesExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, oldSemanticCandidatesExpression, - semanticCandidatesExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getDomainClass() { - return domainClass; - } - - /** - * - * - * @generated - */ - @Override - public void setDomainClass(String newDomainClass) { - String oldDomainClass = domainClass; - domainClass = newDomainClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS, - oldDomainClass, domainClass)); - } - - /** - * - * - * @generated - */ - @Override - public EList getSubLines() { - if (subLines == null) { - subLines = new EObjectContainmentEList.Resolving(EEFLineDescription.class, this, - EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES); - } - return subLines; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: - return ((InternalEList) getSubLines()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: - return getHeaderExpression(); - case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - return getSemanticCandidatesExpression(); - case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: - return getDomainClass(); - case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: - return getSubLines(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: - setHeaderExpression((String) newValue); - return; - case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - setSemanticCandidatesExpression((String) newValue); - return; - case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: - setDomainClass((String) newValue); - return; - case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: - getSubLines().clear(); - getSubLines().addAll((Collection) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: - setHeaderExpression(HEADER_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - setSemanticCandidatesExpression(SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: - setDomainClass(DOMAIN_CLASS_EDEFAULT); - return; - case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: - getSubLines().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: - return HEADER_EXPRESSION_EDEFAULT == null ? headerExpression != null - : !HEADER_EXPRESSION_EDEFAULT.equals(headerExpression); - case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - return SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT == null ? semanticCandidatesExpression != null - : !SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT.equals(semanticCandidatesExpression); - case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: - return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); - case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: - return subLines != null && !subLines.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (headerExpression: "); //$NON-NLS-1$ - result.append(headerExpression); - result.append(", semanticCandidatesExpression: "); //$NON-NLS-1$ - result.append(semanticCandidatesExpression); - result.append(", domainClass: "); //$NON-NLS-1$ - result.append(domainClass); - result.append(')'); - return result.toString(); - } - -} //EEFLineDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLinkDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLinkDescriptionImpl.java deleted file mode 100644 index 4b0ac0d05..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFLinkDescriptionImpl.java +++ /dev/null @@ -1,173 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFLinkDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Link Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFLinkDescriptionImpl#getOnClickExpression On Click Expression}
  • - *
- * - * @generated - */ -public class EEFLinkDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFLinkDescription { - /** - * The default value of the '{@link #getOnClickExpression() On Click Expression}' attribute. - * - * - * @see #getOnClickExpression() - * @generated - * @ordered - */ - protected static final String ON_CLICK_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getOnClickExpression() On Click Expression}' attribute. - * - * - * @see #getOnClickExpression() - * @generated - * @ordered - */ - protected String onClickExpression = ON_CLICK_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFLinkDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_LINK_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getOnClickExpression() { - return onClickExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setOnClickExpression(String newOnClickExpression) { - String oldOnClickExpression = onClickExpression; - onClickExpression = newOnClickExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION, - oldOnClickExpression, onClickExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: - return getOnClickExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: - setOnClickExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: - setOnClickExpression(ON_CLICK_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: - return ON_CLICK_EXPRESSION_EDEFAULT == null ? onClickExpression != null - : !ON_CLICK_EXPRESSION_EDEFAULT.equals(onClickExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (onClickExpression: "); //$NON-NLS-1$ - result.append(onClickExpression); - result.append(')'); - return result.toString(); - } - -} //EEFLinkDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFPageDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFPageDescriptionImpl.java deleted file mode 100644 index 727d52b84..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFPageDescriptionImpl.java +++ /dev/null @@ -1,456 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import java.util.Collection; - -import org.eclipse.eef.eef.EEFGroupDescription; -import org.eclipse.eef.eef.EEFPageDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -/** - * - * An implementation of the model object 'EEF Page Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl#getIdentifier Identifier}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl#getLabelExpression Label Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl#getDomainClass Domain Class}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl#getGroups Groups}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFPageDescriptionImpl#getExtendedPage Extended Page}
  • - *
- * - * @generated - */ -public class EEFPageDescriptionImpl extends ContextableElementImpl implements EEFPageDescription { - /** - * The default value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected static final String IDENTIFIER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected String identifier = IDENTIFIER_EDEFAULT; - - /** - * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * - * @see #getLabelExpression() - * @generated - * @ordered - */ - protected static final String LABEL_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * - * @see #getLabelExpression() - * @generated - * @ordered - */ - protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected static final String DOMAIN_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected String domainClass = DOMAIN_CLASS_EDEFAULT; - - /** - * The default value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. - * - * - * @see #getSemanticCandidateExpression() - * @generated - * @ordered - */ - protected static final String SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT = ""; //$NON-NLS-1$ - - /** - * The cached value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. - * - * - * @see #getSemanticCandidateExpression() - * @generated - * @ordered - */ - protected String semanticCandidateExpression = SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getGroups() Groups}' reference list. - * - * - * @see #getGroups() - * @generated - * @ordered - */ - protected EList groups; - - /** - * The cached value of the '{@link #getExtendedPage() Extended Page}' reference. - * - * - * @see #getExtendedPage() - * @generated - * @ordered - */ - protected EEFPageDescription extendedPage; - - /** - * - * - * @generated - */ - protected EEFPageDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_PAGE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getIdentifier() { - return identifier; - } - - /** - * - * - * @generated - */ - @Override - public void setIdentifier(String newIdentifier) { - String oldIdentifier = identifier; - identifier = newIdentifier; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER, - oldIdentifier, identifier)); - } - - /** - * - * - * @generated - */ - @Override - public String getLabelExpression() { - return labelExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setLabelExpression(String newLabelExpression) { - String oldLabelExpression = labelExpression; - labelExpression = newLabelExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION, - oldLabelExpression, labelExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getDomainClass() { - return domainClass; - } - - /** - * - * - * @generated - */ - @Override - public void setDomainClass(String newDomainClass) { - String oldDomainClass = domainClass; - domainClass = newDomainClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS, - oldDomainClass, domainClass)); - } - - /** - * - * - * @generated - */ - @Override - public String getSemanticCandidateExpression() { - return semanticCandidateExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setSemanticCandidateExpression(String newSemanticCandidateExpression) { - String oldSemanticCandidateExpression = semanticCandidateExpression; - semanticCandidateExpression = newSemanticCandidateExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, oldSemanticCandidateExpression, - semanticCandidateExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EList getGroups() { - if (groups == null) { - groups = new EObjectResolvingEList(EEFGroupDescription.class, this, - EefPackage.EEF_PAGE_DESCRIPTION__GROUPS); - } - return groups; - } - - /** - * - * - * @generated - */ - @Override - public EEFPageDescription getExtendedPage() { - if (extendedPage != null && extendedPage.eIsProxy()) { - InternalEObject oldExtendedPage = (InternalEObject) extendedPage; - extendedPage = (EEFPageDescription) eResolveProxy(oldExtendedPage); - if (extendedPage != oldExtendedPage) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE, oldExtendedPage, extendedPage)); - } - } - return extendedPage; - } - - /** - * - * - * @generated - */ - public EEFPageDescription basicGetExtendedPage() { - return extendedPage; - } - - /** - * - * - * @generated - */ - @Override - public void setExtendedPage(EEFPageDescription newExtendedPage) { - EEFPageDescription oldExtendedPage = extendedPage; - extendedPage = newExtendedPage; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE, - oldExtendedPage, extendedPage)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: - return getIdentifier(); - case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: - return getLabelExpression(); - case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: - return getDomainClass(); - case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - return getSemanticCandidateExpression(); - case EefPackage.EEF_PAGE_DESCRIPTION__GROUPS: - return getGroups(); - case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: - if (resolve) - return getExtendedPage(); - return basicGetExtendedPage(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: - setIdentifier((String) newValue); - return; - case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: - setLabelExpression((String) newValue); - return; - case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: - setDomainClass((String) newValue); - return; - case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - setSemanticCandidateExpression((String) newValue); - return; - case EefPackage.EEF_PAGE_DESCRIPTION__GROUPS: - getGroups().clear(); - getGroups().addAll((Collection) newValue); - return; - case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: - setExtendedPage((EEFPageDescription) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: - setIdentifier(IDENTIFIER_EDEFAULT); - return; - case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: - setLabelExpression(LABEL_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: - setDomainClass(DOMAIN_CLASS_EDEFAULT); - return; - case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - setSemanticCandidateExpression(SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_PAGE_DESCRIPTION__GROUPS: - getGroups().clear(); - return; - case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: - setExtendedPage((EEFPageDescription) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: - return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); - case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: - return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null - : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); - case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: - return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); - case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - return SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null - : !SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); - case EefPackage.EEF_PAGE_DESCRIPTION__GROUPS: - return groups != null && !groups.isEmpty(); - case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: - return extendedPage != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (identifier: "); //$NON-NLS-1$ - result.append(identifier); - result.append(", labelExpression: "); //$NON-NLS-1$ - result.append(labelExpression); - result.append(", domainClass: "); //$NON-NLS-1$ - result.append(domainClass); - result.append(", semanticCandidateExpression: "); //$NON-NLS-1$ - result.append(semanticCandidateExpression); - result.append(')'); - return result.toString(); - } - -} //EEFPageDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFRadioDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFRadioDescriptionImpl.java deleted file mode 100644 index 80fd5c491..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFRadioDescriptionImpl.java +++ /dev/null @@ -1,349 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFRadioDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Radio Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl#getValueExpression Value Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl#getEditExpression Edit Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl#getCandidatesExpression Candidates Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFRadioDescriptionImpl#getCandidateDisplayExpression Candidate Display Expression}
  • - *
- * - * @generated - */ -public class EEFRadioDescriptionImpl extends EEFWidgetDescriptionImpl implements EEFRadioDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected static final String EDIT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected String editExpression = EDIT_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. - * - * - * @see #getCandidatesExpression() - * @generated - * @ordered - */ - protected static final String CANDIDATES_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. - * - * - * @see #getCandidatesExpression() - * @generated - * @ordered - */ - protected String candidatesExpression = CANDIDATES_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. - * - * - * @see #getCandidateDisplayExpression() - * @generated - * @ordered - */ - protected static final String CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. - * - * - * @see #getCandidateDisplayExpression() - * @generated - * @ordered - */ - protected String candidateDisplayExpression = CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFRadioDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_RADIO_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION, - oldValueExpression, valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getEditExpression() { - return editExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setEditExpression(String newEditExpression) { - String oldEditExpression = editExpression; - editExpression = newEditExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION, - oldEditExpression, editExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getCandidatesExpression() { - return candidatesExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setCandidatesExpression(String newCandidatesExpression) { - String oldCandidatesExpression = candidatesExpression; - candidatesExpression = newCandidatesExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION, oldCandidatesExpression, - candidatesExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getCandidateDisplayExpression() { - return candidateDisplayExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setCandidateDisplayExpression(String newCandidateDisplayExpression) { - String oldCandidateDisplayExpression = candidateDisplayExpression; - candidateDisplayExpression = newCandidateDisplayExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, oldCandidateDisplayExpression, - candidateDisplayExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: - return getEditExpression(); - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: - return getCandidatesExpression(); - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - return getCandidateDisplayExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression((String) newValue); - return; - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: - setCandidatesExpression((String) newValue); - return; - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - setCandidateDisplayExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression(EDIT_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: - setCandidatesExpression(CANDIDATES_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - setCandidateDisplayExpression(CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null - : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: - return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null - : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: - return CANDIDATES_EXPRESSION_EDEFAULT == null ? candidatesExpression != null - : !CANDIDATES_EXPRESSION_EDEFAULT.equals(candidatesExpression); - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - return CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT == null ? candidateDisplayExpression != null - : !CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT.equals(candidateDisplayExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(", editExpression: "); //$NON-NLS-1$ - result.append(editExpression); - result.append(", candidatesExpression: "); //$NON-NLS-1$ - result.append(candidatesExpression); - result.append(", candidateDisplayExpression: "); //$NON-NLS-1$ - result.append(candidateDisplayExpression); - result.append(')'); - return result.toString(); - } - -} //EEFRadioDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFSelectDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFSelectDescriptionImpl.java deleted file mode 100644 index 955a1d4e5..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFSelectDescriptionImpl.java +++ /dev/null @@ -1,406 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFSelectDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Select Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl#getValueExpression Value Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl#getEditExpression Edit Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl#getCandidatesExpression Candidates Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl#isMultiple Multiple}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFSelectDescriptionImpl#getCandidateDisplayExpression Candidate Display Expression}
  • - *
- * - * @generated - */ -public class EEFSelectDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFSelectDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected static final String EDIT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected String editExpression = EDIT_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. - * - * - * @see #getCandidatesExpression() - * @generated - * @ordered - */ - protected static final String CANDIDATES_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. - * - * - * @see #getCandidatesExpression() - * @generated - * @ordered - */ - protected String candidatesExpression = CANDIDATES_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected static final boolean MULTIPLE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected boolean multiple = MULTIPLE_EDEFAULT; - - /** - * The default value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. - * - * - * @see #getCandidateDisplayExpression() - * @generated - * @ordered - */ - protected static final String CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. - * - * - * @see #getCandidateDisplayExpression() - * @generated - * @ordered - */ - protected String candidateDisplayExpression = CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFSelectDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_SELECT_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION, - oldValueExpression, valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getEditExpression() { - return editExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setEditExpression(String newEditExpression) { - String oldEditExpression = editExpression; - editExpression = newEditExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION, - oldEditExpression, editExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getCandidatesExpression() { - return candidatesExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setCandidatesExpression(String newCandidatesExpression) { - String oldCandidatesExpression = candidatesExpression; - candidatesExpression = newCandidatesExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION, oldCandidatesExpression, - candidatesExpression)); - } - - /** - * - * - * @generated - */ - @Override - public boolean isMultiple() { - return multiple; - } - - /** - * - * - * @generated - */ - @Override - public void setMultiple(boolean newMultiple) { - boolean oldMultiple = multiple; - multiple = newMultiple; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE, - oldMultiple, multiple)); - } - - /** - * - * - * @generated - */ - @Override - public String getCandidateDisplayExpression() { - return candidateDisplayExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setCandidateDisplayExpression(String newCandidateDisplayExpression) { - String oldCandidateDisplayExpression = candidateDisplayExpression; - candidateDisplayExpression = newCandidateDisplayExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, oldCandidateDisplayExpression, - candidateDisplayExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: - return getEditExpression(); - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: - return getCandidatesExpression(); - case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: - return isMultiple(); - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - return getCandidateDisplayExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression((String) newValue); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: - setCandidatesExpression((String) newValue); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: - setMultiple((Boolean) newValue); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - setCandidateDisplayExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression(EDIT_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: - setCandidatesExpression(CANDIDATES_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: - setMultiple(MULTIPLE_EDEFAULT); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - setCandidateDisplayExpression(CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null - : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: - return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null - : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: - return CANDIDATES_EXPRESSION_EDEFAULT == null ? candidatesExpression != null - : !CANDIDATES_EXPRESSION_EDEFAULT.equals(candidatesExpression); - case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: - return multiple != MULTIPLE_EDEFAULT; - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - return CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT == null ? candidateDisplayExpression != null - : !CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT.equals(candidateDisplayExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(", editExpression: "); //$NON-NLS-1$ - result.append(editExpression); - result.append(", candidatesExpression: "); //$NON-NLS-1$ - result.append(candidatesExpression); - result.append(", multiple: "); //$NON-NLS-1$ - result.append(multiple); - result.append(", candidateDisplayExpression: "); //$NON-NLS-1$ - result.append(candidateDisplayExpression); - result.append(')'); - return result.toString(); - } - -} //EEFSelectDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableDescriptionImpl.java deleted file mode 100644 index f1a98ab24..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableDescriptionImpl.java +++ /dev/null @@ -1,298 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFTableDescription; -import org.eclipse.eef.eef.EEFTableStructureDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Table Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFTableDescriptionImpl#getValueExpression Value Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFTableDescriptionImpl#getEditExpression Edit Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFTableDescriptionImpl#getTableStructure Table Structure}
  • - *
- * - * @generated - */ -public class EEFTableDescriptionImpl extends EEFWidgetDescriptionImpl implements EEFTableDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected static final String EDIT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected String editExpression = EDIT_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getTableStructure() Table Structure}' reference. - * - * - * @see #getTableStructure() - * @generated - * @ordered - */ - protected EEFTableStructureDescription tableStructure; - - /** - * - * - * @generated - */ - protected EEFTableDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TABLE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION, - oldValueExpression, valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getEditExpression() { - return editExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setEditExpression(String newEditExpression) { - String oldEditExpression = editExpression; - editExpression = newEditExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION, - oldEditExpression, editExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EEFTableStructureDescription getTableStructure() { - if (tableStructure != null && tableStructure.eIsProxy()) { - InternalEObject oldTableStructure = (InternalEObject) tableStructure; - tableStructure = (EEFTableStructureDescription) eResolveProxy(oldTableStructure); - if (tableStructure != oldTableStructure) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE, oldTableStructure, tableStructure)); - } - } - return tableStructure; - } - - /** - * - * - * @generated - */ - public EEFTableStructureDescription basicGetTableStructure() { - return tableStructure; - } - - /** - * - * - * @generated - */ - @Override - public void setTableStructure(EEFTableStructureDescription newTableStructure) { - EEFTableStructureDescription oldTableStructure = tableStructure; - tableStructure = newTableStructure; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE, - oldTableStructure, tableStructure)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: - return getEditExpression(); - case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: - if (resolve) - return getTableStructure(); - return basicGetTableStructure(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression((String) newValue); - return; - case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: - setTableStructure((EEFTableStructureDescription) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression(EDIT_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: - setTableStructure((EEFTableStructureDescription) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null - : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: - return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null - : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); - case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: - return tableStructure != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(", editExpression: "); //$NON-NLS-1$ - result.append(editExpression); - result.append(')'); - return result.toString(); - } - -} //EEFTableDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableStructureDescriptionImpl.java deleted file mode 100644 index 3c6850163..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTableStructureDescriptionImpl.java +++ /dev/null @@ -1,231 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFTableStructureDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'EEF Table Structure Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFTableStructureDescriptionImpl#isMultiple Multiple}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFTableStructureDescriptionImpl#getIdentifier Identifier}
  • - *
- * - * @generated - */ -public abstract class EEFTableStructureDescriptionImpl extends MinimalEObjectImpl.Container - implements EEFTableStructureDescription { - /** - * The default value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected static final boolean MULTIPLE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected boolean multiple = MULTIPLE_EDEFAULT; - - /** - * The default value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected static final String IDENTIFIER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected String identifier = IDENTIFIER_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFTableStructureDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public boolean isMultiple() { - return multiple; - } - - /** - * - * - * @generated - */ - @Override - public void setMultiple(boolean newMultiple) { - boolean oldMultiple = multiple; - multiple = newMultiple; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE, - oldMultiple, multiple)); - } - - /** - * - * - * @generated - */ - @Override - public String getIdentifier() { - return identifier; - } - - /** - * - * - * @generated - */ - @Override - public void setIdentifier(String newIdentifier) { - String oldIdentifier = identifier; - identifier = newIdentifier; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: - return isMultiple(); - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: - return getIdentifier(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: - setMultiple((Boolean) newValue); - return; - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: - setIdentifier((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: - setMultiple(MULTIPLE_EDEFAULT); - return; - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: - setIdentifier(IDENTIFIER_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: - return multiple != MULTIPLE_EDEFAULT; - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: - return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (multiple: "); //$NON-NLS-1$ - result.append(multiple); - result.append(", identifier: "); //$NON-NLS-1$ - result.append(identifier); - result.append(')'); - return result.toString(); - } - -} //EEFTableStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTextDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTextDescriptionImpl.java deleted file mode 100644 index 26ea336b0..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTextDescriptionImpl.java +++ /dev/null @@ -1,288 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFTextDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Text Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFTextDescriptionImpl#getValueExpression Value Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFTextDescriptionImpl#getEditExpression Edit Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFTextDescriptionImpl#getLineCount Line Count}
  • - *
- * - * @generated - */ -public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFTextDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected static final String EDIT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected String editExpression = EDIT_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getLineCount() Line Count}' attribute. - * - * - * @see #getLineCount() - * @generated - * @ordered - */ - protected static final int LINE_COUNT_EDEFAULT = 1; - - /** - * The cached value of the '{@link #getLineCount() Line Count}' attribute. - * - * - * @see #getLineCount() - * @generated - * @ordered - */ - protected int lineCount = LINE_COUNT_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFTextDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TEXT_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION, - oldValueExpression, valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getEditExpression() { - return editExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setEditExpression(String newEditExpression) { - String oldEditExpression = editExpression; - editExpression = newEditExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION, - oldEditExpression, editExpression)); - } - - /** - * - * - * @generated - */ - @Override - public int getLineCount() { - return lineCount; - } - - /** - * - * - * @generated - */ - @Override - public void setLineCount(int newLineCount) { - int oldLineCount = lineCount; - lineCount = newLineCount; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT, - oldLineCount, lineCount)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: - return getEditExpression(); - case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: - return getLineCount(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression((String) newValue); - return; - case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: - setLineCount((Integer) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression(EDIT_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: - setLineCount(LINE_COUNT_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null - : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: - return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null - : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); - case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: - return lineCount != LINE_COUNT_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(", editExpression: "); //$NON-NLS-1$ - result.append(editExpression); - result.append(", lineCount: "); //$NON-NLS-1$ - result.append(lineCount); - result.append(')'); - return result.toString(); - } - -} //EEFTextDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDescriptionImpl.java deleted file mode 100644 index 9aeebd310..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDescriptionImpl.java +++ /dev/null @@ -1,298 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFTreeDescription; -import org.eclipse.eef.eef.EEFTreeStructureDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Tree Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFTreeDescriptionImpl#getValueExpression Value Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFTreeDescriptionImpl#getTreeStructure Tree Structure}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFTreeDescriptionImpl#getEditExpression Edit Expression}
  • - *
- * - * @generated - */ -public class EEFTreeDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFTreeDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getTreeStructure() Tree Structure}' reference. - * - * - * @see #getTreeStructure() - * @generated - * @ordered - */ - protected EEFTreeStructureDescription treeStructure; - - /** - * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected static final String EDIT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected String editExpression = EDIT_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFTreeDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TREE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION, - oldValueExpression, valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EEFTreeStructureDescription getTreeStructure() { - if (treeStructure != null && treeStructure.eIsProxy()) { - InternalEObject oldTreeStructure = (InternalEObject) treeStructure; - treeStructure = (EEFTreeStructureDescription) eResolveProxy(oldTreeStructure); - if (treeStructure != oldTreeStructure) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE, oldTreeStructure, treeStructure)); - } - } - return treeStructure; - } - - /** - * - * - * @generated - */ - public EEFTreeStructureDescription basicGetTreeStructure() { - return treeStructure; - } - - /** - * - * - * @generated - */ - @Override - public void setTreeStructure(EEFTreeStructureDescription newTreeStructure) { - EEFTreeStructureDescription oldTreeStructure = treeStructure; - treeStructure = newTreeStructure; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE, - oldTreeStructure, treeStructure)); - } - - /** - * - * - * @generated - */ - @Override - public String getEditExpression() { - return editExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setEditExpression(String newEditExpression) { - String oldEditExpression = editExpression; - editExpression = newEditExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION, - oldEditExpression, editExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: - if (resolve) - return getTreeStructure(); - return basicGetTreeStructure(); - case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: - return getEditExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: - setTreeStructure((EEFTreeStructureDescription) newValue); - return; - case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: - setTreeStructure((EEFTreeStructureDescription) null); - return; - case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression(EDIT_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null - : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: - return treeStructure != null; - case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: - return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null - : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(", editExpression: "); //$NON-NLS-1$ - result.append(editExpression); - result.append(')'); - return result.toString(); - } - -} //EEFTreeDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDialogSelectDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDialogSelectDescriptionImpl.java deleted file mode 100644 index 83a7493ca..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeDialogSelectDescriptionImpl.java +++ /dev/null @@ -1,357 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFTreeDescription; -import org.eclipse.eef.eef.EEFTreeDialogSelectDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Tree Dialog Select Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl#getDefaultFilter Default Filter}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl#getDomainClass Domain Class}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFTreeDialogSelectDescriptionImpl#getTree Tree}
  • - *
- * - * @generated - */ -public class EEFTreeDialogSelectDescriptionImpl extends EEFCellWidgetDescriptionImpl - implements EEFTreeDialogSelectDescription { - /** - * The default value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. - * - * - * @see #getSemanticCandidateExpression() - * @generated - * @ordered - */ - protected static final String SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. - * - * - * @see #getSemanticCandidateExpression() - * @generated - * @ordered - */ - protected String semanticCandidateExpression = SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getDefaultFilter() Default Filter}' attribute. - * - * - * @see #getDefaultFilter() - * @generated - * @ordered - */ - protected static final String DEFAULT_FILTER_EDEFAULT = "*"; //$NON-NLS-1$ - - /** - * The cached value of the '{@link #getDefaultFilter() Default Filter}' attribute. - * - * - * @see #getDefaultFilter() - * @generated - * @ordered - */ - protected String defaultFilter = DEFAULT_FILTER_EDEFAULT; - - /** - * The default value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected static final String DOMAIN_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected String domainClass = DOMAIN_CLASS_EDEFAULT; - - /** - * The cached value of the '{@link #getTree() Tree}' reference. - * - * - * @see #getTree() - * @generated - * @ordered - */ - protected EEFTreeDescription tree; - - /** - * - * - * @generated - */ - protected EEFTreeDialogSelectDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getSemanticCandidateExpression() { - return semanticCandidateExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setSemanticCandidateExpression(String newSemanticCandidateExpression) { - String oldSemanticCandidateExpression = semanticCandidateExpression; - semanticCandidateExpression = newSemanticCandidateExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, - oldSemanticCandidateExpression, semanticCandidateExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getDefaultFilter() { - return defaultFilter; - } - - /** - * - * - * @generated - */ - @Override - public void setDefaultFilter(String newDefaultFilter) { - String oldDefaultFilter = defaultFilter; - defaultFilter = newDefaultFilter; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER, oldDefaultFilter, defaultFilter)); - } - - /** - * - * - * @generated - */ - @Override - public String getDomainClass() { - return domainClass; - } - - /** - * - * - * @generated - */ - @Override - public void setDomainClass(String newDomainClass) { - String oldDomainClass = domainClass; - domainClass = newDomainClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS, oldDomainClass, domainClass)); - } - - /** - * - * - * @generated - */ - @Override - public EEFTreeDescription getTree() { - if (tree != null && tree.eIsProxy()) { - InternalEObject oldTree = (InternalEObject) tree; - tree = (EEFTreeDescription) eResolveProxy(oldTree); - if (tree != oldTree) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE, oldTree, tree)); - } - } - return tree; - } - - /** - * - * - * @generated - */ - public EEFTreeDescription basicGetTree() { - return tree; - } - - /** - * - * - * @generated - */ - @Override - public void setTree(EEFTreeDescription newTree) { - EEFTreeDescription oldTree = tree; - tree = newTree; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE, - oldTree, tree)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - return getSemanticCandidateExpression(); - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: - return getDefaultFilter(); - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: - return getDomainClass(); - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: - if (resolve) - return getTree(); - return basicGetTree(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - setSemanticCandidateExpression((String) newValue); - return; - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: - setDefaultFilter((String) newValue); - return; - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: - setDomainClass((String) newValue); - return; - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: - setTree((EEFTreeDescription) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - setSemanticCandidateExpression(SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: - setDefaultFilter(DEFAULT_FILTER_EDEFAULT); - return; - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: - setDomainClass(DOMAIN_CLASS_EDEFAULT); - return; - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: - setTree((EEFTreeDescription) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - return SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null - : !SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: - return DEFAULT_FILTER_EDEFAULT == null ? defaultFilter != null - : !DEFAULT_FILTER_EDEFAULT.equals(defaultFilter); - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: - return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: - return tree != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (semanticCandidateExpression: "); //$NON-NLS-1$ - result.append(semanticCandidateExpression); - result.append(", defaultFilter: "); //$NON-NLS-1$ - result.append(defaultFilter); - result.append(", domainClass: "); //$NON-NLS-1$ - result.append(domainClass); - result.append(')'); - return result.toString(); - } - -} //EEFTreeDialogSelectDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeStructureDescriptionImpl.java deleted file mode 100644 index 63b07e858..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFTreeStructureDescriptionImpl.java +++ /dev/null @@ -1,231 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFTreeStructureDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'EEF Tree Structure Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFTreeStructureDescriptionImpl#getIdentifier Identifier}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFTreeStructureDescriptionImpl#isMultiple Multiple}
  • - *
- * - * @generated - */ -public abstract class EEFTreeStructureDescriptionImpl extends MinimalEObjectImpl.Container - implements EEFTreeStructureDescription { - /** - * The default value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected static final String IDENTIFIER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected String identifier = IDENTIFIER_EDEFAULT; - - /** - * The default value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected static final boolean MULTIPLE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected boolean multiple = MULTIPLE_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFTreeStructureDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TREE_STRUCTURE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getIdentifier() { - return identifier; - } - - /** - * - * - * @generated - */ - @Override - public void setIdentifier(String newIdentifier) { - String oldIdentifier = identifier; - identifier = newIdentifier; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER, - oldIdentifier, identifier)); - } - - /** - * - * - * @generated - */ - @Override - public boolean isMultiple() { - return multiple; - } - - /** - * - * - * @generated - */ - @Override - public void setMultiple(boolean newMultiple) { - boolean oldMultiple = multiple; - multiple = newMultiple; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE, - oldMultiple, multiple)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: - return getIdentifier(); - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: - return isMultiple(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: - setIdentifier((String) newValue); - return; - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: - setMultiple((Boolean) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: - setIdentifier(IDENTIFIER_EDEFAULT); - return; - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: - setMultiple(MULTIPLE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: - return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: - return multiple != MULTIPLE_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (identifier: "); //$NON-NLS-1$ - result.append(identifier); - result.append(", multiple: "); //$NON-NLS-1$ - result.append(multiple); - result.append(')'); - return result.toString(); - } - -} //EEFTreeStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFViewDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFViewDescriptionImpl.java deleted file mode 100644 index 4f3395b10..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFViewDescriptionImpl.java +++ /dev/null @@ -1,523 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import java.util.Collection; - -import org.eclipse.eef.eef.EEFGroupDescription; -import org.eclipse.eef.eef.EEFJavaExtensionDescription; -import org.eclipse.eef.eef.EEFPageDescription; -import org.eclipse.eef.eef.EEFTableStructureDescription; -import org.eclipse.eef.eef.EEFTreeStructureDescription; -import org.eclipse.eef.eef.EEFViewDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EDataTypeUniqueEList; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'EEF View Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getIdentifier Identifier}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getLabelExpression Label Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getEPackageNsUris EPackage Ns Uris}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getGroups Groups}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getPages Pages}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getJavaExtensions Java Extensions}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getImportedViews Imported Views}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getTreeStructures Tree Structures}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFViewDescriptionImpl#getTableStructures Table Structures}
  • - *
- * - * @generated - */ -public class EEFViewDescriptionImpl extends ContextableElementImpl implements EEFViewDescription { - /** - * The default value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected static final String IDENTIFIER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected String identifier = IDENTIFIER_EDEFAULT; - - /** - * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * - * @see #getLabelExpression() - * @generated - * @ordered - */ - protected static final String LABEL_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * - * @see #getLabelExpression() - * @generated - * @ordered - */ - protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getEPackageNsUris() EPackage Ns Uris}' attribute list. - * - * - * @see #getEPackageNsUris() - * @generated - * @ordered - */ - protected EList ePackageNsUris; - - /** - * The cached value of the '{@link #getGroups() Groups}' containment reference list. - * - * - * @see #getGroups() - * @generated - * @ordered - */ - protected EList groups; - - /** - * The cached value of the '{@link #getPages() Pages}' containment reference list. - * - * - * @see #getPages() - * @generated - * @ordered - */ - protected EList pages; - - /** - * The cached value of the '{@link #getJavaExtensions() Java Extensions}' containment reference list. - * - * - * @see #getJavaExtensions() - * @generated - * @ordered - */ - protected EList javaExtensions; - - /** - * The cached value of the '{@link #getImportedViews() Imported Views}' reference list. - * - * - * @see #getImportedViews() - * @generated - * @ordered - */ - protected EList importedViews; - - /** - * The cached value of the '{@link #getTreeStructures() Tree Structures}' containment reference list. - * - * - * @see #getTreeStructures() - * @generated - * @ordered - */ - protected EList treeStructures; - - /** - * The cached value of the '{@link #getTableStructures() Table Structures}' containment reference list. - * - * - * @see #getTableStructures() - * @generated - * @ordered - */ - protected EList tableStructures; - - /** - * - * - * @generated - */ - protected EEFViewDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_VIEW_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getIdentifier() { - return identifier; - } - - /** - * - * - * @generated - */ - @Override - public void setIdentifier(String newIdentifier) { - String oldIdentifier = identifier; - identifier = newIdentifier; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER, - oldIdentifier, identifier)); - } - - /** - * - * - * @generated - */ - @Override - public String getLabelExpression() { - return labelExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setLabelExpression(String newLabelExpression) { - String oldLabelExpression = labelExpression; - labelExpression = newLabelExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION, - oldLabelExpression, labelExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EList getEPackageNsUris() { - if (ePackageNsUris == null) { - ePackageNsUris = new EDataTypeUniqueEList(String.class, this, - EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS); - } - return ePackageNsUris; - } - - /** - * - * - * @generated - */ - @Override - public EList getGroups() { - if (groups == null) { - groups = new EObjectContainmentEList.Resolving(EEFGroupDescription.class, this, - EefPackage.EEF_VIEW_DESCRIPTION__GROUPS); - } - return groups; - } - - /** - * - * - * @generated - */ - @Override - public EList getPages() { - if (pages == null) { - pages = new EObjectContainmentEList.Resolving(EEFPageDescription.class, this, - EefPackage.EEF_VIEW_DESCRIPTION__PAGES); - } - return pages; - } - - /** - * - * - * @generated - */ - @Override - public EList getJavaExtensions() { - if (javaExtensions == null) { - javaExtensions = new EObjectContainmentEList.Resolving( - EEFJavaExtensionDescription.class, this, EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS); - } - return javaExtensions; - } - - /** - * - * - * @generated - */ - @Override - public EList getImportedViews() { - if (importedViews == null) { - importedViews = new EObjectResolvingEList(EEFViewDescription.class, this, - EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS); - } - return importedViews; - } - - /** - * - * - * @generated - */ - @Override - public EList getTreeStructures() { - if (treeStructures == null) { - treeStructures = new EObjectContainmentEList.Resolving( - EEFTreeStructureDescription.class, this, EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES); - } - return treeStructures; - } - - /** - * - * - * @generated - */ - @Override - public EList getTableStructures() { - if (tableStructures == null) { - tableStructures = new EObjectContainmentEList.Resolving( - EEFTableStructureDescription.class, this, EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES); - } - return tableStructures; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: - return ((InternalEList) getGroups()).basicRemove(otherEnd, msgs); - case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: - return ((InternalEList) getPages()).basicRemove(otherEnd, msgs); - case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: - return ((InternalEList) getJavaExtensions()).basicRemove(otherEnd, msgs); - case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: - return ((InternalEList) getTreeStructures()).basicRemove(otherEnd, msgs); - case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: - return ((InternalEList) getTableStructures()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: - return getIdentifier(); - case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: - return getLabelExpression(); - case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: - return getEPackageNsUris(); - case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: - return getGroups(); - case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: - return getPages(); - case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: - return getJavaExtensions(); - case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: - return getImportedViews(); - case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: - return getTreeStructures(); - case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: - return getTableStructures(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: - setIdentifier((String) newValue); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: - setLabelExpression((String) newValue); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: - getEPackageNsUris().clear(); - getEPackageNsUris().addAll((Collection) newValue); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: - getGroups().clear(); - getGroups().addAll((Collection) newValue); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: - getPages().clear(); - getPages().addAll((Collection) newValue); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: - getJavaExtensions().clear(); - getJavaExtensions().addAll((Collection) newValue); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: - getImportedViews().clear(); - getImportedViews().addAll((Collection) newValue); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: - getTreeStructures().clear(); - getTreeStructures().addAll((Collection) newValue); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: - getTableStructures().clear(); - getTableStructures().addAll((Collection) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: - setIdentifier(IDENTIFIER_EDEFAULT); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: - setLabelExpression(LABEL_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: - getEPackageNsUris().clear(); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: - getGroups().clear(); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: - getPages().clear(); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: - getJavaExtensions().clear(); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: - getImportedViews().clear(); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: - getTreeStructures().clear(); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: - getTableStructures().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: - return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); - case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: - return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null - : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); - case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: - return ePackageNsUris != null && !ePackageNsUris.isEmpty(); - case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: - return groups != null && !groups.isEmpty(); - case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: - return pages != null && !pages.isEmpty(); - case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: - return javaExtensions != null && !javaExtensions.isEmpty(); - case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: - return importedViews != null && !importedViews.isEmpty(); - case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: - return treeStructures != null && !treeStructures.isEmpty(); - case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: - return tableStructures != null && !tableStructures.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (identifier: "); //$NON-NLS-1$ - result.append(identifier); - result.append(", labelExpression: "); //$NON-NLS-1$ - result.append(labelExpression); - result.append(", ePackageNsUris: "); //$NON-NLS-1$ - result.append(ePackageNsUris); - result.append(')'); - return result.toString(); - } - -} //EEFViewDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFWidgetDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFWidgetDescriptionImpl.java deleted file mode 100644 index c65a2d961..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EEFWidgetDescriptionImpl.java +++ /dev/null @@ -1,289 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.EEFWidgetDescription; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Widget Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.eef.eef.impl.EEFWidgetDescriptionImpl#getIdentifier Identifier}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFWidgetDescriptionImpl#getLabelExpression Label Expression}
  • - *
  • {@link org.eclipse.eef.eef.impl.EEFWidgetDescriptionImpl#getFeatureCandidatesExpression Feature Candidates Expression}
  • - *
- * - * @generated - */ -public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl implements EEFWidgetDescription { - /** - * The default value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected static final String IDENTIFIER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected String identifier = IDENTIFIER_EDEFAULT; - - /** - * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * - * @see #getLabelExpression() - * @generated - * @ordered - */ - protected static final String LABEL_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * - * @see #getLabelExpression() - * @generated - * @ordered - */ - protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getFeatureCandidatesExpression() Feature Candidates Expression}' attribute. - * - * - * @see #getFeatureCandidatesExpression() - * @generated - * @ordered - */ - protected static final String FEATURE_CANDIDATES_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getFeatureCandidatesExpression() Feature Candidates Expression}' attribute. - * - * - * @see #getFeatureCandidatesExpression() - * @generated - * @ordered - */ - protected String featureCandidatesExpression = FEATURE_CANDIDATES_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFWidgetDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_WIDGET_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getIdentifier() { - return identifier; - } - - /** - * - * - * @generated - */ - @Override - public void setIdentifier(String newIdentifier) { - String oldIdentifier = identifier; - identifier = newIdentifier; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER, - oldIdentifier, identifier)); - } - - /** - * - * - * @generated - */ - @Override - public String getLabelExpression() { - return labelExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setLabelExpression(String newLabelExpression) { - String oldLabelExpression = labelExpression; - labelExpression = newLabelExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION, - oldLabelExpression, labelExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getFeatureCandidatesExpression() { - return featureCandidatesExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setFeatureCandidatesExpression(String newFeatureCandidatesExpression) { - String oldFeatureCandidatesExpression = featureCandidatesExpression; - featureCandidatesExpression = newFeatureCandidatesExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION, oldFeatureCandidatesExpression, - featureCandidatesExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: - return getIdentifier(); - case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: - return getLabelExpression(); - case EefPackage.EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION: - return getFeatureCandidatesExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: - setIdentifier((String) newValue); - return; - case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: - setLabelExpression((String) newValue); - return; - case EefPackage.EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION: - setFeatureCandidatesExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: - setIdentifier(IDENTIFIER_EDEFAULT); - return; - case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: - setLabelExpression(LABEL_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION: - setFeatureCandidatesExpression(FEATURE_CANDIDATES_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: - return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); - case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: - return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null - : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); - case EefPackage.EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION: - return FEATURE_CANDIDATES_EXPRESSION_EDEFAULT == null ? featureCandidatesExpression != null - : !FEATURE_CANDIDATES_EXPRESSION_EDEFAULT.equals(featureCandidatesExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (identifier: "); //$NON-NLS-1$ - result.append(identifier); - result.append(", labelExpression: "); //$NON-NLS-1$ - result.append(labelExpression); - result.append(", featureCandidatesExpression: "); //$NON-NLS-1$ - result.append(featureCandidatesExpression); - result.append(')'); - return result.toString(); - } - -} //EEFWidgetDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefFactoryImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefFactoryImpl.java deleted file mode 100644 index bf74142b5..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefFactoryImpl.java +++ /dev/null @@ -1,447 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.*; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class EefFactoryImpl extends EFactoryImpl implements EefFactory { - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static EefFactory init() { - try { - EefFactory theEefFactory = (EefFactory) EPackage.Registry.INSTANCE.getEFactory(EefPackage.eNS_URI); - if (theEefFactory != null) { - return theEefFactory; - } - } catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new EefFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public EefFactoryImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case EefPackage.EEF_VIEW_DESCRIPTION: - return createEEFViewDescription(); - case EefPackage.EEF_PAGE_DESCRIPTION: - return createEEFPageDescription(); - case EefPackage.EEF_GROUP_DESCRIPTION: - return createEEFGroupDescription(); - case EefPackage.EEF_CONTAINER_DESCRIPTION: - return createEEFContainerDescription(); - case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION: - return createEEFJavaExtensionDescription(); - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION: - return createEEFInterpretedTableStructureDescription(); - case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION: - return createEEFAdapterFactoryTreeStructureDescription(); - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION: - return createEEFInterpretedTreeStructureDescription(); - case EefPackage.EEF_TEXT_DESCRIPTION: - return createEEFTextDescription(); - case EefPackage.EEF_CHECKBOX_DESCRIPTION: - return createEEFCheckboxDescription(); - case EefPackage.EEF_SELECT_DESCRIPTION: - return createEEFSelectDescription(); - case EefPackage.EEF_LABEL_DESCRIPTION: - return createEEFLabelDescription(); - case EefPackage.EEF_RADIO_DESCRIPTION: - return createEEFRadioDescription(); - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION: - return createEEFTreeDialogSelectDescription(); - case EefPackage.EEF_LINK_DESCRIPTION: - return createEEFLinkDescription(); - case EefPackage.EEF_IMAGE_DESCRIPTION: - return createEEFImageDescription(); - case EefPackage.EEF_TREE_DESCRIPTION: - return createEEFTreeDescription(); - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION: - return createEEFImagePickerDescription(); - case EefPackage.EEF_TABLE_DESCRIPTION: - return createEEFTableDescription(); - case EefPackage.EEF_COLUMN_DESCRIPTION: - return createEEFColumnDescription(); - case EefPackage.EEF_LINE_DESCRIPTION: - return createEEFLineDescription(); - case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION: - return createEEFAdapterFactoryTableStructureDescription(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case EefPackage.EXPRESSION: - return createExpressionFromString(eDataType, initialValue); - case EefPackage.TYPE_NAME: - return createTypeNameFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case EefPackage.EXPRESSION: - return convertExpressionToString(eDataType, instanceValue); - case EefPackage.TYPE_NAME: - return convertTypeNameToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * - * - * @generated - */ - @Override - public EEFViewDescription createEEFViewDescription() { - EEFViewDescriptionImpl eefViewDescription = new EEFViewDescriptionImpl(); - return eefViewDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFPageDescription createEEFPageDescription() { - EEFPageDescriptionImpl eefPageDescription = new EEFPageDescriptionImpl(); - return eefPageDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFGroupDescription createEEFGroupDescription() { - EEFGroupDescriptionImpl eefGroupDescription = new EEFGroupDescriptionImpl(); - return eefGroupDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFContainerDescription createEEFContainerDescription() { - EEFContainerDescriptionImpl eefContainerDescription = new EEFContainerDescriptionImpl(); - return eefContainerDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFJavaExtensionDescription createEEFJavaExtensionDescription() { - EEFJavaExtensionDescriptionImpl eefJavaExtensionDescription = new EEFJavaExtensionDescriptionImpl(); - return eefJavaExtensionDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFInterpretedTableStructureDescription createEEFInterpretedTableStructureDescription() { - EEFInterpretedTableStructureDescriptionImpl eefInterpretedTableStructureDescription = new EEFInterpretedTableStructureDescriptionImpl(); - return eefInterpretedTableStructureDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFAdapterFactoryTreeStructureDescription createEEFAdapterFactoryTreeStructureDescription() { - EEFAdapterFactoryTreeStructureDescriptionImpl eefAdapterFactoryTreeStructureDescription = new EEFAdapterFactoryTreeStructureDescriptionImpl(); - return eefAdapterFactoryTreeStructureDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFInterpretedTreeStructureDescription createEEFInterpretedTreeStructureDescription() { - EEFInterpretedTreeStructureDescriptionImpl eefInterpretedTreeStructureDescription = new EEFInterpretedTreeStructureDescriptionImpl(); - return eefInterpretedTreeStructureDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFTextDescription createEEFTextDescription() { - EEFTextDescriptionImpl eefTextDescription = new EEFTextDescriptionImpl(); - return eefTextDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFCheckboxDescription createEEFCheckboxDescription() { - EEFCheckboxDescriptionImpl eefCheckboxDescription = new EEFCheckboxDescriptionImpl(); - return eefCheckboxDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFSelectDescription createEEFSelectDescription() { - EEFSelectDescriptionImpl eefSelectDescription = new EEFSelectDescriptionImpl(); - return eefSelectDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFLabelDescription createEEFLabelDescription() { - EEFLabelDescriptionImpl eefLabelDescription = new EEFLabelDescriptionImpl(); - return eefLabelDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFRadioDescription createEEFRadioDescription() { - EEFRadioDescriptionImpl eefRadioDescription = new EEFRadioDescriptionImpl(); - return eefRadioDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFTreeDialogSelectDescription createEEFTreeDialogSelectDescription() { - EEFTreeDialogSelectDescriptionImpl eefTreeDialogSelectDescription = new EEFTreeDialogSelectDescriptionImpl(); - return eefTreeDialogSelectDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFLinkDescription createEEFLinkDescription() { - EEFLinkDescriptionImpl eefLinkDescription = new EEFLinkDescriptionImpl(); - return eefLinkDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFImageDescription createEEFImageDescription() { - EEFImageDescriptionImpl eefImageDescription = new EEFImageDescriptionImpl(); - return eefImageDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFTreeDescription createEEFTreeDescription() { - EEFTreeDescriptionImpl eefTreeDescription = new EEFTreeDescriptionImpl(); - return eefTreeDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFImagePickerDescription createEEFImagePickerDescription() { - EEFImagePickerDescriptionImpl eefImagePickerDescription = new EEFImagePickerDescriptionImpl(); - return eefImagePickerDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFTableDescription createEEFTableDescription() { - EEFTableDescriptionImpl eefTableDescription = new EEFTableDescriptionImpl(); - return eefTableDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFColumnDescription createEEFColumnDescription() { - EEFColumnDescriptionImpl eefColumnDescription = new EEFColumnDescriptionImpl(); - return eefColumnDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFLineDescription createEEFLineDescription() { - EEFLineDescriptionImpl eefLineDescription = new EEFLineDescriptionImpl(); - return eefLineDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFAdapterFactoryTableStructureDescription createEEFAdapterFactoryTableStructureDescription() { - EEFAdapterFactoryTableStructureDescriptionImpl eefAdapterFactoryTableStructureDescription = new EEFAdapterFactoryTableStructureDescriptionImpl(); - return eefAdapterFactoryTableStructureDescription; - } - - /** - * - * - * @generated - */ - public String createExpressionFromString(EDataType eDataType, String initialValue) { - return (String) super.createFromString(eDataType, initialValue); - } - - /** - * - * - * @generated - */ - public String convertExpressionToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * - * - * @generated - */ - public String createTypeNameFromString(EDataType eDataType, String initialValue) { - return (String) super.createFromString(eDataType, initialValue); - } - - /** - * - * - * @generated - */ - public String convertTypeNameToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * - * - * @generated - */ - @Override - public EefPackage getEefPackage() { - return (EefPackage) getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static EefPackage getPackage() { - return EefPackage.eINSTANCE; - } - -} //EefFactoryImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefPackageImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefPackageImpl.java deleted file mode 100644 index 539a3a357..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/impl/EefPackageImpl.java +++ /dev/null @@ -1,2010 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.impl; - -import org.eclipse.eef.eef.ContextableElement; -import org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription; -import org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription; -import org.eclipse.eef.eef.EEFCellWidgetDescription; -import org.eclipse.eef.eef.EEFCheckboxDescription; -import org.eclipse.eef.eef.EEFColumnDescription; -import org.eclipse.eef.eef.EEFContainerDescription; -import org.eclipse.eef.eef.EEFGroupDescription; -import org.eclipse.eef.eef.EEFImageDescription; -import org.eclipse.eef.eef.EEFImagePickerDescription; -import org.eclipse.eef.eef.EEFInterpretedTableStructureDescription; -import org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription; -import org.eclipse.eef.eef.EEFJavaExtensionDescription; -import org.eclipse.eef.eef.EEFLabelDescription; -import org.eclipse.eef.eef.EEFLineDescription; -import org.eclipse.eef.eef.EEFLinkDescription; -import org.eclipse.eef.eef.EEFPageDescription; -import org.eclipse.eef.eef.EEFRadioDescription; -import org.eclipse.eef.eef.EEFSelectDescription; -import org.eclipse.eef.eef.EEFTableDescription; -import org.eclipse.eef.eef.EEFTableStructureDescription; -import org.eclipse.eef.eef.EEFTextDescription; -import org.eclipse.eef.eef.EEFTreeDescription; -import org.eclipse.eef.eef.EEFTreeDialogSelectDescription; -import org.eclipse.eef.eef.EEFTreeStructureDescription; -import org.eclipse.eef.eef.EEFViewDescription; -import org.eclipse.eef.eef.EEFWidgetDescription; -import org.eclipse.eef.eef.EefFactory; -import org.eclipse.eef.eef.EefPackage; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.sirius.context.context.ContextPackage; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class EefPackageImpl extends EPackageImpl implements EefPackage { - /** - * - * - * @generated - */ - private EClass eefViewDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefPageDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefGroupDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefContainerDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefWidgetDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefJavaExtensionDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTreeStructureDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefInterpretedTableStructureDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefCellWidgetDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefAdapterFactoryTreeStructureDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefInterpretedTreeStructureDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTextDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefCheckboxDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefSelectDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefLabelDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefRadioDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTreeDialogSelectDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefLinkDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefImageDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTreeDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefImagePickerDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTableDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefColumnDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefLineDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTableStructureDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefAdapterFactoryTableStructureDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass contextableElementEClass = null; - - /** - * - * - * @generated - */ - private EDataType expressionEDataType = null; - - /** - * - * - * @generated - */ - private EDataType typeNameEDataType = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.eef.eef.EefPackage#eNS_URI - * @see #init() - * @generated - */ - private EefPackageImpl() { - super(eNS_URI, EefFactory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

This method is used to initialize {@link EefPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static EefPackage init() { - if (isInited) - return (EefPackage) EPackage.Registry.INSTANCE.getEPackage(EefPackage.eNS_URI); - - // Obtain or create and register package - EefPackageImpl theEefPackage = (EefPackageImpl) (EPackage.Registry.INSTANCE - .get(eNS_URI) instanceof EefPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) - : new EefPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - ContextPackage.eINSTANCE.eClass(); - - // Create package meta-data objects - theEefPackage.createPackageContents(); - - // Initialize created meta-data - theEefPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theEefPackage.freeze(); - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(EefPackage.eNS_URI, theEefPackage); - return theEefPackage; - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFViewDescription() { - return eefViewDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFViewDescription_Identifier() { - return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFViewDescription_LabelExpression() { - return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFViewDescription_EPackageNsUris() { - return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFViewDescription_Groups() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFViewDescription_Pages() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFViewDescription_JavaExtensions() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFViewDescription_ImportedViews() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(6); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFViewDescription_TreeStructures() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(7); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFViewDescription_TableStructures() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(8); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFPageDescription() { - return eefPageDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFPageDescription_Identifier() { - return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFPageDescription_LabelExpression() { - return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFPageDescription_DomainClass() { - return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFPageDescription_SemanticCandidateExpression() { - return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFPageDescription_Groups() { - return (EReference) eefPageDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFPageDescription_ExtendedPage() { - return (EReference) eefPageDescriptionEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFGroupDescription() { - return eefGroupDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFGroupDescription_Identifier() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFGroupDescription_LabelExpression() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFGroupDescription_DomainClass() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFGroupDescription_SemanticCandidatesExpression() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFGroupDescription_Container() { - return (EReference) eefGroupDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFContainerDescription() { - return eefContainerDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFContainerDescription_Identifier() { - return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFContainerDescription_SemanticCandidatesExpression() { - return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFContainerDescription_DomainClass() { - return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFContainerDescription_LayoutColumnCount() { - return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFContainerDescription_Containers() { - return (EReference) eefContainerDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFContainerDescription_Widgets() { - return (EReference) eefContainerDescriptionEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFWidgetDescription() { - return eefWidgetDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFWidgetDescription_Identifier() { - return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFWidgetDescription_LabelExpression() { - return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFWidgetDescription_FeatureCandidatesExpression() { - return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFJavaExtensionDescription() { - return eefJavaExtensionDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFJavaExtensionDescription_QualifiedName() { - return (EAttribute) eefJavaExtensionDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFTreeStructureDescription() { - return eefTreeStructureDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTreeStructureDescription_Identifier() { - return (EAttribute) eefTreeStructureDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTreeStructureDescription_Multiple() { - return (EAttribute) eefTreeStructureDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFInterpretedTableStructureDescription() { - return eefInterpretedTableStructureDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFInterpretedTableStructureDescription_Columns() { - return (EReference) eefInterpretedTableStructureDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFInterpretedTableStructureDescription_Line() { - return (EReference) eefInterpretedTableStructureDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFCellWidgetDescription() { - return eefCellWidgetDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFAdapterFactoryTreeStructureDescription() { - return eefAdapterFactoryTreeStructureDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider() { - return (EAttribute) eefAdapterFactoryTreeStructureDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFInterpretedTreeStructureDescription() { - return eefInterpretedTreeStructureDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFInterpretedTreeStructureDescription_RootsExpression() { - return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFInterpretedTreeStructureDescription_ChildrenExpression() { - return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression() { - return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression() { - return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFTextDescription() { - return eefTextDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTextDescription_ValueExpression() { - return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTextDescription_EditExpression() { - return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTextDescription_LineCount() { - return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFCheckboxDescription() { - return eefCheckboxDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFCheckboxDescription_ValueExpression() { - return (EAttribute) eefCheckboxDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFCheckboxDescription_EditExpression() { - return (EAttribute) eefCheckboxDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFSelectDescription() { - return eefSelectDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFSelectDescription_ValueExpression() { - return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFSelectDescription_EditExpression() { - return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFSelectDescription_CandidatesExpression() { - return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFSelectDescription_Multiple() { - return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFSelectDescription_CandidateDisplayExpression() { - return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFLabelDescription() { - return eefLabelDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLabelDescription_ValueExpression() { - return (EAttribute) eefLabelDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFRadioDescription() { - return eefRadioDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFRadioDescription_ValueExpression() { - return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFRadioDescription_EditExpression() { - return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFRadioDescription_CandidatesExpression() { - return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFRadioDescription_CandidateDisplayExpression() { - return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFTreeDialogSelectDescription() { - return eefTreeDialogSelectDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTreeDialogSelectDescription_SemanticCandidateExpression() { - return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTreeDialogSelectDescription_DefaultFilter() { - return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTreeDialogSelectDescription_DomainClass() { - return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFTreeDialogSelectDescription_Tree() { - return (EReference) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFLinkDescription() { - return eefLinkDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLinkDescription_OnClickExpression() { - return (EAttribute) eefLinkDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFImageDescription() { - return eefImageDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFImageDescription_ValueExpression() { - return (EAttribute) eefImageDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFTreeDescription() { - return eefTreeDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTreeDescription_ValueExpression() { - return (EAttribute) eefTreeDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFTreeDescription_TreeStructure() { - return (EReference) eefTreeDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTreeDescription_EditExpression() { - return (EAttribute) eefTreeDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFImagePickerDescription() { - return eefImagePickerDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFImagePickerDescription_ValueExpression() { - return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFImagePickerDescription_EditExpression() { - return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFImagePickerDescription_CandidatesExpression() { - return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFTableDescription() { - return eefTableDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTableDescription_ValueExpression() { - return (EAttribute) eefTableDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTableDescription_EditExpression() { - return (EAttribute) eefTableDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFTableDescription_TableStructure() { - return (EReference) eefTableDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFColumnDescription() { - return eefColumnDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFColumnDescription_Width() { - return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFColumnDescription_HeaderExpression() { - return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFColumnDescription_CellWidget() { - return (EReference) eefColumnDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFColumnDescription_ContextCandidatesExpression() { - return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFLineDescription() { - return eefLineDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLineDescription_HeaderExpression() { - return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLineDescription_SemanticCandidatesExpression() { - return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLineDescription_DomainClass() { - return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFLineDescription_SubLines() { - return (EReference) eefLineDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFTableStructureDescription() { - return eefTableStructureDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTableStructureDescription_Multiple() { - return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTableStructureDescription_Identifier() { - return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFAdapterFactoryTableStructureDescription() { - return eefAdapterFactoryTableStructureDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider() { - return (EAttribute) eefAdapterFactoryTableStructureDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getContextableElement() { - return contextableElementEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getContextableElement_RequiredContextVariables() { - return (EReference) contextableElementEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getContextableElement_ExcludedContextVariables() { - return (EReference) contextableElementEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EDataType getExpression() { - return expressionEDataType; - } - - /** - * - * - * @generated - */ - @Override - public EDataType getTypeName() { - return typeNameEDataType; - } - - /** - * - * - * @generated - */ - @Override - public EefFactory getEefFactory() { - return (EefFactory) getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() { - if (isCreated) - return; - isCreated = true; - - // Create classes and their features - eefViewDescriptionEClass = createEClass(EEF_VIEW_DESCRIPTION); - createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__IDENTIFIER); - createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION); - createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS); - createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__GROUPS); - createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__PAGES); - createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS); - createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS); - createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__TREE_STRUCTURES); - createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES); - - eefPageDescriptionEClass = createEClass(EEF_PAGE_DESCRIPTION); - createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__IDENTIFIER); - createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION); - createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__DOMAIN_CLASS); - createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); - createEReference(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__GROUPS); - createEReference(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__EXTENDED_PAGE); - - eefGroupDescriptionEClass = createEClass(EEF_GROUP_DESCRIPTION); - createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__IDENTIFIER); - createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION); - createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__DOMAIN_CLASS); - createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION); - createEReference(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__CONTAINER); - - eefContainerDescriptionEClass = createEClass(EEF_CONTAINER_DESCRIPTION); - createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__IDENTIFIER); - createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION); - createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS); - createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT); - createEReference(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__CONTAINERS); - createEReference(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__WIDGETS); - - eefWidgetDescriptionEClass = createEClass(EEF_WIDGET_DESCRIPTION); - createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__IDENTIFIER); - createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION); - createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__FEATURE_CANDIDATES_EXPRESSION); - - eefJavaExtensionDescriptionEClass = createEClass(EEF_JAVA_EXTENSION_DESCRIPTION); - createEAttribute(eefJavaExtensionDescriptionEClass, EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME); - - eefTreeStructureDescriptionEClass = createEClass(EEF_TREE_STRUCTURE_DESCRIPTION); - createEAttribute(eefTreeStructureDescriptionEClass, EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER); - createEAttribute(eefTreeStructureDescriptionEClass, EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE); - - eefInterpretedTableStructureDescriptionEClass = createEClass(EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION); - createEReference(eefInterpretedTableStructureDescriptionEClass, - EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS); - createEReference(eefInterpretedTableStructureDescriptionEClass, - EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE); - - eefCellWidgetDescriptionEClass = createEClass(EEF_CELL_WIDGET_DESCRIPTION); - - eefAdapterFactoryTreeStructureDescriptionEClass = createEClass(EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION); - createEAttribute(eefAdapterFactoryTreeStructureDescriptionEClass, - EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER); - - eefInterpretedTreeStructureDescriptionEClass = createEClass(EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION); - createEAttribute(eefInterpretedTreeStructureDescriptionEClass, - EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION); - createEAttribute(eefInterpretedTreeStructureDescriptionEClass, - EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION); - createEAttribute(eefInterpretedTreeStructureDescriptionEClass, - EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION); - createEAttribute(eefInterpretedTreeStructureDescriptionEClass, - EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION); - - eefTextDescriptionEClass = createEClass(EEF_TEXT_DESCRIPTION); - createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION); - createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION); - createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__LINE_COUNT); - - eefCheckboxDescriptionEClass = createEClass(EEF_CHECKBOX_DESCRIPTION); - createEAttribute(eefCheckboxDescriptionEClass, EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION); - createEAttribute(eefCheckboxDescriptionEClass, EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION); - - eefSelectDescriptionEClass = createEClass(EEF_SELECT_DESCRIPTION); - createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION); - createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION); - createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION); - createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__MULTIPLE); - createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION); - - eefLabelDescriptionEClass = createEClass(EEF_LABEL_DESCRIPTION); - createEAttribute(eefLabelDescriptionEClass, EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION); - - eefRadioDescriptionEClass = createEClass(EEF_RADIO_DESCRIPTION); - createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION); - createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION); - createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION); - createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION); - - eefTreeDialogSelectDescriptionEClass = createEClass(EEF_TREE_DIALOG_SELECT_DESCRIPTION); - createEAttribute(eefTreeDialogSelectDescriptionEClass, - EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); - createEAttribute(eefTreeDialogSelectDescriptionEClass, EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER); - createEAttribute(eefTreeDialogSelectDescriptionEClass, EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS); - createEReference(eefTreeDialogSelectDescriptionEClass, EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE); - - eefLinkDescriptionEClass = createEClass(EEF_LINK_DESCRIPTION); - createEAttribute(eefLinkDescriptionEClass, EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION); - - eefImageDescriptionEClass = createEClass(EEF_IMAGE_DESCRIPTION); - createEAttribute(eefImageDescriptionEClass, EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION); - - eefTreeDescriptionEClass = createEClass(EEF_TREE_DESCRIPTION); - createEAttribute(eefTreeDescriptionEClass, EEF_TREE_DESCRIPTION__VALUE_EXPRESSION); - createEReference(eefTreeDescriptionEClass, EEF_TREE_DESCRIPTION__TREE_STRUCTURE); - createEAttribute(eefTreeDescriptionEClass, EEF_TREE_DESCRIPTION__EDIT_EXPRESSION); - - eefImagePickerDescriptionEClass = createEClass(EEF_IMAGE_PICKER_DESCRIPTION); - createEAttribute(eefImagePickerDescriptionEClass, EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION); - createEAttribute(eefImagePickerDescriptionEClass, EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION); - createEAttribute(eefImagePickerDescriptionEClass, EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION); - - eefTableDescriptionEClass = createEClass(EEF_TABLE_DESCRIPTION); - createEAttribute(eefTableDescriptionEClass, EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION); - createEAttribute(eefTableDescriptionEClass, EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION); - createEReference(eefTableDescriptionEClass, EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE); - - eefColumnDescriptionEClass = createEClass(EEF_COLUMN_DESCRIPTION); - createEAttribute(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__WIDTH); - createEAttribute(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION); - createEReference(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__CELL_WIDGET); - createEAttribute(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION); - - eefLineDescriptionEClass = createEClass(EEF_LINE_DESCRIPTION); - createEAttribute(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__HEADER_EXPRESSION); - createEAttribute(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION); - createEAttribute(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__DOMAIN_CLASS); - createEReference(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__SUB_LINES); - - eefTableStructureDescriptionEClass = createEClass(EEF_TABLE_STRUCTURE_DESCRIPTION); - createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE); - createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER); - - eefAdapterFactoryTableStructureDescriptionEClass = createEClass( - EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION); - createEAttribute(eefAdapterFactoryTableStructureDescriptionEClass, - EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER); - - contextableElementEClass = createEClass(CONTEXTABLE_ELEMENT); - createEReference(contextableElementEClass, CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES); - createEReference(contextableElementEClass, CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES); - - // Create data types - expressionEDataType = createEDataType(EXPRESSION); - typeNameEDataType = createEDataType(TYPE_NAME); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() { - if (isInitialized) - return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - ContextPackage theContextPackage = (ContextPackage) EPackage.Registry.INSTANCE - .getEPackage(ContextPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - eefViewDescriptionEClass.getESuperTypes().add(this.getContextableElement()); - eefPageDescriptionEClass.getESuperTypes().add(this.getContextableElement()); - eefGroupDescriptionEClass.getESuperTypes().add(this.getContextableElement()); - eefContainerDescriptionEClass.getESuperTypes().add(this.getContextableElement()); - eefWidgetDescriptionEClass.getESuperTypes().add(this.getContextableElement()); - eefInterpretedTableStructureDescriptionEClass.getESuperTypes().add(this.getEEFTableStructureDescription()); - eefCellWidgetDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); - eefAdapterFactoryTreeStructureDescriptionEClass.getESuperTypes().add(this.getEEFTreeStructureDescription()); - eefInterpretedTreeStructureDescriptionEClass.getESuperTypes().add(this.getEEFTreeStructureDescription()); - eefTextDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefCheckboxDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefSelectDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefLabelDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefRadioDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); - eefTreeDialogSelectDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefLinkDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefImageDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefTreeDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefImagePickerDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); - eefTableDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); - eefAdapterFactoryTableStructureDescriptionEClass.getESuperTypes().add(this.getEEFTableStructureDescription()); - - // Initialize classes and features; add operations and parameters - initEClass(eefViewDescriptionEClass, EEFViewDescription.class, "EEFViewDescription", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFViewDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ - EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFViewDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ - EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFViewDescription_EPackageNsUris(), ecorePackage.getEString(), "ePackageNsUris", null, 0, -1, //$NON-NLS-1$ - EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEReference(getEEFViewDescription_Groups(), this.getEEFGroupDescription(), null, "groups", null, 0, -1, //$NON-NLS-1$ - EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFViewDescription_Pages(), this.getEEFPageDescription(), null, "pages", null, 1, -1, //$NON-NLS-1$ - EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFViewDescription_JavaExtensions(), this.getEEFJavaExtensionDescription(), null, - "javaExtensions", null, 0, -1, EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ - IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFViewDescription_ImportedViews(), this.getEEFViewDescription(), null, "importedViews", null, //$NON-NLS-1$ - 0, -1, EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, - IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFViewDescription_TreeStructures(), this.getEEFTreeStructureDescription(), null, - "treeStructures", null, 0, -1, EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ - IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFViewDescription_TableStructures(), this.getEEFTableStructureDescription(), null, - "tableStructures", null, 0, -1, EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ - IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefPageDescriptionEClass, EEFPageDescription.class, "EEFPageDescription", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFPageDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ - EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFPageDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ - EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFPageDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, //$NON-NLS-1$ - EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFPageDescription_SemanticCandidateExpression(), this.getExpression(), - "semanticCandidateExpression", "", 0, 1, EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$//$NON-NLS-2$ - IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFPageDescription_Groups(), this.getEEFGroupDescription(), null, "groups", null, 0, -1, //$NON-NLS-1$ - EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFPageDescription_ExtendedPage(), this.getEEFPageDescription(), null, "extendedPage", null, //$NON-NLS-1$ - 0, 1, EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, - IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefGroupDescriptionEClass, EEFGroupDescription.class, "EEFGroupDescription", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFGroupDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ - EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFGroupDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ - EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFGroupDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, //$NON-NLS-1$ - EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFGroupDescription_SemanticCandidatesExpression(), this.getExpression(), - "semanticCandidatesExpression", null, 0, 1, EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ - IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFGroupDescription_Container(), this.getEEFContainerDescription(), null, "container", null, //$NON-NLS-1$ - 1, 1, EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, - IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefContainerDescriptionEClass, EEFContainerDescription.class, "EEFContainerDescription", //$NON-NLS-1$ - !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFContainerDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ - EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFContainerDescription_SemanticCandidatesExpression(), this.getExpression(), - "semanticCandidatesExpression", null, 0, 1, EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ - IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFContainerDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, //$NON-NLS-1$ - EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFContainerDescription_LayoutColumnCount(), ecorePackage.getEInt(), "layoutColumnCount", "1", //$NON-NLS-1$//$NON-NLS-2$ - 0, 1, EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFContainerDescription_Containers(), this.getEEFContainerDescription(), null, "containers", //$NON-NLS-1$ - null, 0, -1, EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, - IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFContainerDescription_Widgets(), this.getEEFWidgetDescription(), null, "widgets", null, 1, //$NON-NLS-1$ - -1, EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, - IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefWidgetDescriptionEClass, EEFWidgetDescription.class, "EEFWidgetDescription", IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFWidgetDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ - EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFWidgetDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ - EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFWidgetDescription_FeatureCandidatesExpression(), this.getExpression(), - "featureCandidatesExpression", null, 0, 1, EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ - IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefJavaExtensionDescriptionEClass, EEFJavaExtensionDescription.class, "EEFJavaExtensionDescription", //$NON-NLS-1$ - !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFJavaExtensionDescription_QualifiedName(), ecorePackage.getEString(), "qualifiedName", null, //$NON-NLS-1$ - 0, 1, EEFJavaExtensionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, - !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTreeStructureDescriptionEClass, EEFTreeStructureDescription.class, "EEFTreeStructureDescription", //$NON-NLS-1$ - IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFTreeStructureDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ - EEFTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTreeStructureDescription_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, //$NON-NLS-1$ - EEFTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefInterpretedTableStructureDescriptionEClass, EEFInterpretedTableStructureDescription.class, - "EEFInterpretedTableStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getEEFInterpretedTableStructureDescription_Columns(), this.getEEFColumnDescription(), null, - "columns", null, 0, -1, EEFInterpretedTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ - IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFInterpretedTableStructureDescription_Line(), this.getEEFLineDescription(), null, "line", //$NON-NLS-1$ - null, 0, 1, EEFInterpretedTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefCellWidgetDescriptionEClass, EEFCellWidgetDescription.class, "EEFCellWidgetDescription", //$NON-NLS-1$ - IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(eefAdapterFactoryTreeStructureDescriptionEClass, EEFAdapterFactoryTreeStructureDescription.class, - "EEFAdapterFactoryTreeStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(), ecorePackage.getEString(), - "adapterFactoryProvider", null, 0, 1, EEFAdapterFactoryTreeStructureDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefInterpretedTreeStructureDescriptionEClass, EEFInterpretedTreeStructureDescription.class, - "EEFInterpretedTreeStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFInterpretedTreeStructureDescription_RootsExpression(), this.getExpression(), - "rootsExpression", null, 0, 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFInterpretedTreeStructureDescription_ChildrenExpression(), this.getExpression(), - "childrenExpression", null, 0, 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(), this.getExpression(), - "selectablePredicateExpression", null, 0, 1, EEFInterpretedTreeStructureDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(), this.getExpression(), - "candidateDisplayExpression", null, 0, 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTextDescriptionEClass, EEFTextDescription.class, "EEFTextDescription", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFTextDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTextDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ - EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTextDescription_LineCount(), ecorePackage.getEInt(), "lineCount", "1", 0, 1, //$NON-NLS-1$//$NON-NLS-2$ - EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - - initEClass(eefCheckboxDescriptionEClass, EEFCheckboxDescription.class, "EEFCheckboxDescription", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFCheckboxDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFCheckboxDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFCheckboxDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ - EEFCheckboxDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefSelectDescriptionEClass, EEFSelectDescription.class, "EEFSelectDescription", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFSelectDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFSelectDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ - EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFSelectDescription_CandidatesExpression(), this.getExpression(), "candidatesExpression", //$NON-NLS-1$ - null, 0, 1, EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, - !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFSelectDescription_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, //$NON-NLS-1$ - EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFSelectDescription_CandidateDisplayExpression(), this.getExpression(), - "candidateDisplayExpression", null, 0, 1, EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ - IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefLabelDescriptionEClass, EEFLabelDescription.class, "EEFLabelDescription", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFLabelDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFLabelDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefRadioDescriptionEClass, EEFRadioDescription.class, "EEFRadioDescription", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFRadioDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFRadioDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ - EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFRadioDescription_CandidatesExpression(), this.getExpression(), "candidatesExpression", //$NON-NLS-1$ - null, 0, 1, EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, - !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFRadioDescription_CandidateDisplayExpression(), this.getExpression(), - "candidateDisplayExpression", null, 0, 1, EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ - IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTreeDialogSelectDescriptionEClass, EEFTreeDialogSelectDescription.class, - "EEFTreeDialogSelectDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFTreeDialogSelectDescription_SemanticCandidateExpression(), this.getExpression(), - "semanticCandidateExpression", null, 0, 1, EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTreeDialogSelectDescription_DefaultFilter(), ecorePackage.getEString(), "defaultFilter", //$NON-NLS-1$ - "*", 0, 1, EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ - !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTreeDialogSelectDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, //$NON-NLS-1$ - EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, - !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFTreeDialogSelectDescription_Tree(), this.getEEFTreeDescription(), null, "tree", null, 0, 1, //$NON-NLS-1$ - EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, - IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefLinkDescriptionEClass, EEFLinkDescription.class, "EEFLinkDescription", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFLinkDescription_OnClickExpression(), this.getExpression(), "onClickExpression", null, 0, 1, //$NON-NLS-1$ - EEFLinkDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - - initEClass(eefImageDescriptionEClass, EEFImageDescription.class, "EEFImageDescription", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFImageDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFImageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTreeDescriptionEClass, EEFTreeDescription.class, "EEFTreeDescription", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFTreeDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEReference(getEEFTreeDescription_TreeStructure(), this.getEEFTreeStructureDescription(), null, - "treeStructure", null, 0, 1, EEFTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ - !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTreeDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ - EEFTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - - initEClass(eefImagePickerDescriptionEClass, EEFImagePickerDescription.class, "EEFImagePickerDescription", //$NON-NLS-1$ - !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFImagePickerDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, //$NON-NLS-1$ - 1, EEFImagePickerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFImagePickerDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, //$NON-NLS-1$ - 1, EEFImagePickerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFImagePickerDescription_CandidatesExpression(), this.getExpression(), - "candidatesExpression", null, 0, 1, EEFImagePickerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ - IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTableDescriptionEClass, EEFTableDescription.class, "EEFTableDescription", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFTableDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFTableDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTableDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ - EEFTableDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFTableDescription_TableStructure(), this.getEEFTableStructureDescription(), null, - "tableStructure", null, 0, 1, EEFTableDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ - !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefColumnDescriptionEClass, EEFColumnDescription.class, "EEFColumnDescription", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFColumnDescription_Width(), ecorePackage.getEInt(), "width", null, 0, 1, //$NON-NLS-1$ - EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFColumnDescription_HeaderExpression(), this.getExpression(), "headerExpression", null, 0, 1, //$NON-NLS-1$ - EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFColumnDescription_CellWidget(), this.getEEFCellWidgetDescription(), null, "cellWidget", //$NON-NLS-1$ - null, 0, 1, EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, - IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFColumnDescription_ContextCandidatesExpression(), this.getExpression(), - "contextCandidatesExpression", null, 0, 1, EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ - IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefLineDescriptionEClass, EEFLineDescription.class, "EEFLineDescription", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFLineDescription_HeaderExpression(), ecorePackage.getEString(), "headerExpression", null, 0, //$NON-NLS-1$ - 1, EEFLineDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFLineDescription_SemanticCandidatesExpression(), this.getExpression(), - "semanticCandidatesExpression", null, 0, 1, EEFLineDescription.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ - IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFLineDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, //$NON-NLS-1$ - EEFLineDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEReference(getEEFLineDescription_SubLines(), this.getEEFLineDescription(), null, "subLines", null, 0, -1, //$NON-NLS-1$ - EEFLineDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTableStructureDescriptionEClass, EEFTableStructureDescription.class, - "EEFTableStructureDescription", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFTableStructureDescription_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, //$NON-NLS-1$ - EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTableStructureDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, //$NON-NLS-1$ - 1, EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, - !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefAdapterFactoryTableStructureDescriptionEClass, EEFAdapterFactoryTableStructureDescription.class, - "EEFAdapterFactoryTableStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(), - ecorePackage.getEString(), "adapterFactoryProvider", null, 0, 1, //$NON-NLS-1$ - EEFAdapterFactoryTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(contextableElementEClass, ContextableElement.class, "ContextableElement", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getContextableElement_RequiredContextVariables(), theContextPackage.getContextVariable(), null, - "requiredContextVariables", null, 0, -1, ContextableElement.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ - IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getContextableElement_ExcludedContextVariables(), theContextPackage.getContextVariable(), null, - "excludedContextVariables", null, 0, -1, ContextableElement.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ - IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize data types - initEDataType(expressionEDataType, String.class, "Expression", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(typeNameEDataType, String.class, "TypeName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - // Create resource - createResource(eNS_URI); - } - -} //EefPackageImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefAdapterFactory.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefAdapterFactory.java deleted file mode 100644 index 3289464e7..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefAdapterFactory.java +++ /dev/null @@ -1,620 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.util; - -import org.eclipse.eef.eef.*; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see org.eclipse.eef.eef.EefPackage - * @generated - */ -public class EefAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * - * - * @generated - */ - protected static EefPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public EefAdapterFactory() { - if (modelPackage == null) { - modelPackage = EefPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject) object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected EefSwitch modelSwitch = new EefSwitch() { - @Override - public Adapter caseEEFViewDescription(EEFViewDescription object) { - return createEEFViewDescriptionAdapter(); - } - - @Override - public Adapter caseEEFPageDescription(EEFPageDescription object) { - return createEEFPageDescriptionAdapter(); - } - - @Override - public Adapter caseEEFGroupDescription(EEFGroupDescription object) { - return createEEFGroupDescriptionAdapter(); - } - - @Override - public Adapter caseEEFContainerDescription(EEFContainerDescription object) { - return createEEFContainerDescriptionAdapter(); - } - - @Override - public Adapter caseEEFWidgetDescription(EEFWidgetDescription object) { - return createEEFWidgetDescriptionAdapter(); - } - - @Override - public Adapter caseEEFJavaExtensionDescription(EEFJavaExtensionDescription object) { - return createEEFJavaExtensionDescriptionAdapter(); - } - - @Override - public Adapter caseEEFTreeStructureDescription(EEFTreeStructureDescription object) { - return createEEFTreeStructureDescriptionAdapter(); - } - - @Override - public Adapter caseEEFInterpretedTableStructureDescription(EEFInterpretedTableStructureDescription object) { - return createEEFInterpretedTableStructureDescriptionAdapter(); - } - - @Override - public Adapter caseEEFCellWidgetDescription(EEFCellWidgetDescription object) { - return createEEFCellWidgetDescriptionAdapter(); - } - - @Override - public Adapter caseEEFAdapterFactoryTreeStructureDescription(EEFAdapterFactoryTreeStructureDescription object) { - return createEEFAdapterFactoryTreeStructureDescriptionAdapter(); - } - - @Override - public Adapter caseEEFInterpretedTreeStructureDescription(EEFInterpretedTreeStructureDescription object) { - return createEEFInterpretedTreeStructureDescriptionAdapter(); - } - - @Override - public Adapter caseEEFTextDescription(EEFTextDescription object) { - return createEEFTextDescriptionAdapter(); - } - - @Override - public Adapter caseEEFCheckboxDescription(EEFCheckboxDescription object) { - return createEEFCheckboxDescriptionAdapter(); - } - - @Override - public Adapter caseEEFSelectDescription(EEFSelectDescription object) { - return createEEFSelectDescriptionAdapter(); - } - - @Override - public Adapter caseEEFLabelDescription(EEFLabelDescription object) { - return createEEFLabelDescriptionAdapter(); - } - - @Override - public Adapter caseEEFRadioDescription(EEFRadioDescription object) { - return createEEFRadioDescriptionAdapter(); - } - - @Override - public Adapter caseEEFTreeDialogSelectDescription(EEFTreeDialogSelectDescription object) { - return createEEFTreeDialogSelectDescriptionAdapter(); - } - - @Override - public Adapter caseEEFLinkDescription(EEFLinkDescription object) { - return createEEFLinkDescriptionAdapter(); - } - - @Override - public Adapter caseEEFImageDescription(EEFImageDescription object) { - return createEEFImageDescriptionAdapter(); - } - - @Override - public Adapter caseEEFTreeDescription(EEFTreeDescription object) { - return createEEFTreeDescriptionAdapter(); - } - - @Override - public Adapter caseEEFImagePickerDescription(EEFImagePickerDescription object) { - return createEEFImagePickerDescriptionAdapter(); - } - - @Override - public Adapter caseEEFTableDescription(EEFTableDescription object) { - return createEEFTableDescriptionAdapter(); - } - - @Override - public Adapter caseEEFColumnDescription(EEFColumnDescription object) { - return createEEFColumnDescriptionAdapter(); - } - - @Override - public Adapter caseEEFLineDescription(EEFLineDescription object) { - return createEEFLineDescriptionAdapter(); - } - - @Override - public Adapter caseEEFTableStructureDescription(EEFTableStructureDescription object) { - return createEEFTableStructureDescriptionAdapter(); - } - - @Override - public Adapter caseEEFAdapterFactoryTableStructureDescription( - EEFAdapterFactoryTableStructureDescription object) { - return createEEFAdapterFactoryTableStructureDescriptionAdapter(); - } - - @Override - public Adapter caseContextableElement(ContextableElement object) { - return createContextableElementAdapter(); - } - - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject) target); - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFViewDescription EEF View Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFViewDescription - * @generated - */ - public Adapter createEEFViewDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFPageDescription EEF Page Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFPageDescription - * @generated - */ - public Adapter createEEFPageDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFGroupDescription EEF Group Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFGroupDescription - * @generated - */ - public Adapter createEEFGroupDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFContainerDescription EEF Container Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFContainerDescription - * @generated - */ - public Adapter createEEFContainerDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFWidgetDescription EEF Widget Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFWidgetDescription - * @generated - */ - public Adapter createEEFWidgetDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFJavaExtensionDescription EEF Java Extension Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFJavaExtensionDescription - * @generated - */ - public Adapter createEEFJavaExtensionDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFTreeStructureDescription EEF Tree Structure Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFTreeStructureDescription - * @generated - */ - public Adapter createEEFTreeStructureDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFInterpretedTableStructureDescription EEF Interpreted Table Structure Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFInterpretedTableStructureDescription - * @generated - */ - public Adapter createEEFInterpretedTableStructureDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFCellWidgetDescription EEF Cell Widget Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFCellWidgetDescription - * @generated - */ - public Adapter createEEFCellWidgetDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription EEF Adapter Factory Tree Structure Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFAdapterFactoryTreeStructureDescription - * @generated - */ - public Adapter createEEFAdapterFactoryTreeStructureDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription EEF Interpreted Tree Structure Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFInterpretedTreeStructureDescription - * @generated - */ - public Adapter createEEFInterpretedTreeStructureDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFTextDescription EEF Text Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFTextDescription - * @generated - */ - public Adapter createEEFTextDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFCheckboxDescription EEF Checkbox Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFCheckboxDescription - * @generated - */ - public Adapter createEEFCheckboxDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFSelectDescription EEF Select Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFSelectDescription - * @generated - */ - public Adapter createEEFSelectDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFLabelDescription EEF Label Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFLabelDescription - * @generated - */ - public Adapter createEEFLabelDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFRadioDescription EEF Radio Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFRadioDescription - * @generated - */ - public Adapter createEEFRadioDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFTreeDialogSelectDescription EEF Tree Dialog Select Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFTreeDialogSelectDescription - * @generated - */ - public Adapter createEEFTreeDialogSelectDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFLinkDescription EEF Link Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFLinkDescription - * @generated - */ - public Adapter createEEFLinkDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFImageDescription EEF Image Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFImageDescription - * @generated - */ - public Adapter createEEFImageDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFTreeDescription EEF Tree Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFTreeDescription - * @generated - */ - public Adapter createEEFTreeDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFImagePickerDescription EEF Image Picker Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFImagePickerDescription - * @generated - */ - public Adapter createEEFImagePickerDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFTableDescription EEF Table Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFTableDescription - * @generated - */ - public Adapter createEEFTableDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFColumnDescription EEF Column Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFColumnDescription - * @generated - */ - public Adapter createEEFColumnDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFLineDescription EEF Line Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFLineDescription - * @generated - */ - public Adapter createEEFLineDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFTableStructureDescription EEF Table Structure Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFTableStructureDescription - * @generated - */ - public Adapter createEEFTableStructureDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription EEF Adapter Factory Table Structure Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.EEFAdapterFactoryTableStructureDescription - * @generated - */ - public Adapter createEEFAdapterFactoryTableStructureDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.eef.ContextableElement Contextable Element}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.eef.ContextableElement - * @generated - */ - public Adapter createContextableElementAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //EefAdapterFactory diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefSwitch.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefSwitch.java deleted file mode 100644 index 58b8a2ca4..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/eef/util/EefSwitch.java +++ /dev/null @@ -1,772 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.eef.util; - -import org.eclipse.eef.eef.*; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see org.eclipse.eef.eef.EefPackage - * @generated - */ -public class EefSwitch extends Switch { - /** - * The cached model package - * - * - * @generated - */ - protected static EefPackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public EefSwitch() { - if (modelPackage == null) { - modelPackage = EefPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case EefPackage.EEF_VIEW_DESCRIPTION: { - EEFViewDescription eefViewDescription = (EEFViewDescription) theEObject; - T result = caseEEFViewDescription(eefViewDescription); - if (result == null) - result = caseContextableElement(eefViewDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_PAGE_DESCRIPTION: { - EEFPageDescription eefPageDescription = (EEFPageDescription) theEObject; - T result = caseEEFPageDescription(eefPageDescription); - if (result == null) - result = caseContextableElement(eefPageDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_GROUP_DESCRIPTION: { - EEFGroupDescription eefGroupDescription = (EEFGroupDescription) theEObject; - T result = caseEEFGroupDescription(eefGroupDescription); - if (result == null) - result = caseContextableElement(eefGroupDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_CONTAINER_DESCRIPTION: { - EEFContainerDescription eefContainerDescription = (EEFContainerDescription) theEObject; - T result = caseEEFContainerDescription(eefContainerDescription); - if (result == null) - result = caseContextableElement(eefContainerDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_WIDGET_DESCRIPTION: { - EEFWidgetDescription eefWidgetDescription = (EEFWidgetDescription) theEObject; - T result = caseEEFWidgetDescription(eefWidgetDescription); - if (result == null) - result = caseContextableElement(eefWidgetDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION: { - EEFJavaExtensionDescription eefJavaExtensionDescription = (EEFJavaExtensionDescription) theEObject; - T result = caseEEFJavaExtensionDescription(eefJavaExtensionDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION: { - EEFTreeStructureDescription eefTreeStructureDescription = (EEFTreeStructureDescription) theEObject; - T result = caseEEFTreeStructureDescription(eefTreeStructureDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION: { - EEFInterpretedTableStructureDescription eefInterpretedTableStructureDescription = (EEFInterpretedTableStructureDescription) theEObject; - T result = caseEEFInterpretedTableStructureDescription(eefInterpretedTableStructureDescription); - if (result == null) - result = caseEEFTableStructureDescription(eefInterpretedTableStructureDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_CELL_WIDGET_DESCRIPTION: { - EEFCellWidgetDescription eefCellWidgetDescription = (EEFCellWidgetDescription) theEObject; - T result = caseEEFCellWidgetDescription(eefCellWidgetDescription); - if (result == null) - result = caseEEFWidgetDescription(eefCellWidgetDescription); - if (result == null) - result = caseContextableElement(eefCellWidgetDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION: { - EEFAdapterFactoryTreeStructureDescription eefAdapterFactoryTreeStructureDescription = (EEFAdapterFactoryTreeStructureDescription) theEObject; - T result = caseEEFAdapterFactoryTreeStructureDescription(eefAdapterFactoryTreeStructureDescription); - if (result == null) - result = caseEEFTreeStructureDescription(eefAdapterFactoryTreeStructureDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION: { - EEFInterpretedTreeStructureDescription eefInterpretedTreeStructureDescription = (EEFInterpretedTreeStructureDescription) theEObject; - T result = caseEEFInterpretedTreeStructureDescription(eefInterpretedTreeStructureDescription); - if (result == null) - result = caseEEFTreeStructureDescription(eefInterpretedTreeStructureDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TEXT_DESCRIPTION: { - EEFTextDescription eefTextDescription = (EEFTextDescription) theEObject; - T result = caseEEFTextDescription(eefTextDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefTextDescription); - if (result == null) - result = caseEEFWidgetDescription(eefTextDescription); - if (result == null) - result = caseContextableElement(eefTextDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_CHECKBOX_DESCRIPTION: { - EEFCheckboxDescription eefCheckboxDescription = (EEFCheckboxDescription) theEObject; - T result = caseEEFCheckboxDescription(eefCheckboxDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefCheckboxDescription); - if (result == null) - result = caseEEFWidgetDescription(eefCheckboxDescription); - if (result == null) - result = caseContextableElement(eefCheckboxDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_SELECT_DESCRIPTION: { - EEFSelectDescription eefSelectDescription = (EEFSelectDescription) theEObject; - T result = caseEEFSelectDescription(eefSelectDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefSelectDescription); - if (result == null) - result = caseEEFWidgetDescription(eefSelectDescription); - if (result == null) - result = caseContextableElement(eefSelectDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_LABEL_DESCRIPTION: { - EEFLabelDescription eefLabelDescription = (EEFLabelDescription) theEObject; - T result = caseEEFLabelDescription(eefLabelDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefLabelDescription); - if (result == null) - result = caseEEFWidgetDescription(eefLabelDescription); - if (result == null) - result = caseContextableElement(eefLabelDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_RADIO_DESCRIPTION: { - EEFRadioDescription eefRadioDescription = (EEFRadioDescription) theEObject; - T result = caseEEFRadioDescription(eefRadioDescription); - if (result == null) - result = caseEEFWidgetDescription(eefRadioDescription); - if (result == null) - result = caseContextableElement(eefRadioDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION: { - EEFTreeDialogSelectDescription eefTreeDialogSelectDescription = (EEFTreeDialogSelectDescription) theEObject; - T result = caseEEFTreeDialogSelectDescription(eefTreeDialogSelectDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefTreeDialogSelectDescription); - if (result == null) - result = caseEEFWidgetDescription(eefTreeDialogSelectDescription); - if (result == null) - result = caseContextableElement(eefTreeDialogSelectDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_LINK_DESCRIPTION: { - EEFLinkDescription eefLinkDescription = (EEFLinkDescription) theEObject; - T result = caseEEFLinkDescription(eefLinkDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefLinkDescription); - if (result == null) - result = caseEEFWidgetDescription(eefLinkDescription); - if (result == null) - result = caseContextableElement(eefLinkDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_IMAGE_DESCRIPTION: { - EEFImageDescription eefImageDescription = (EEFImageDescription) theEObject; - T result = caseEEFImageDescription(eefImageDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefImageDescription); - if (result == null) - result = caseEEFWidgetDescription(eefImageDescription); - if (result == null) - result = caseContextableElement(eefImageDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TREE_DESCRIPTION: { - EEFTreeDescription eefTreeDescription = (EEFTreeDescription) theEObject; - T result = caseEEFTreeDescription(eefTreeDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefTreeDescription); - if (result == null) - result = caseEEFWidgetDescription(eefTreeDescription); - if (result == null) - result = caseContextableElement(eefTreeDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION: { - EEFImagePickerDescription eefImagePickerDescription = (EEFImagePickerDescription) theEObject; - T result = caseEEFImagePickerDescription(eefImagePickerDescription); - if (result == null) - result = caseEEFWidgetDescription(eefImagePickerDescription); - if (result == null) - result = caseContextableElement(eefImagePickerDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TABLE_DESCRIPTION: { - EEFTableDescription eefTableDescription = (EEFTableDescription) theEObject; - T result = caseEEFTableDescription(eefTableDescription); - if (result == null) - result = caseEEFWidgetDescription(eefTableDescription); - if (result == null) - result = caseContextableElement(eefTableDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_COLUMN_DESCRIPTION: { - EEFColumnDescription eefColumnDescription = (EEFColumnDescription) theEObject; - T result = caseEEFColumnDescription(eefColumnDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_LINE_DESCRIPTION: { - EEFLineDescription eefLineDescription = (EEFLineDescription) theEObject; - T result = caseEEFLineDescription(eefLineDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION: { - EEFTableStructureDescription eefTableStructureDescription = (EEFTableStructureDescription) theEObject; - T result = caseEEFTableStructureDescription(eefTableStructureDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION: { - EEFAdapterFactoryTableStructureDescription eefAdapterFactoryTableStructureDescription = (EEFAdapterFactoryTableStructureDescription) theEObject; - T result = caseEEFAdapterFactoryTableStructureDescription(eefAdapterFactoryTableStructureDescription); - if (result == null) - result = caseEEFTableStructureDescription(eefAdapterFactoryTableStructureDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.CONTEXTABLE_ELEMENT: { - ContextableElement contextableElement = (ContextableElement) theEObject; - T result = caseContextableElement(contextableElement); - if (result == null) - result = defaultCase(theEObject); - return result; - } - default: - return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF View Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF View Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFViewDescription(EEFViewDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Page Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Page Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFPageDescription(EEFPageDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Group Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Group Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFGroupDescription(EEFGroupDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Container Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Container Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFContainerDescription(EEFContainerDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Widget Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Widget Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFWidgetDescription(EEFWidgetDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Java Extension Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Java Extension Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFJavaExtensionDescription(EEFJavaExtensionDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Tree Structure Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Tree Structure Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTreeStructureDescription(EEFTreeStructureDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Interpreted Table Structure Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Interpreted Table Structure Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFInterpretedTableStructureDescription(EEFInterpretedTableStructureDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Cell Widget Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Cell Widget Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFCellWidgetDescription(EEFCellWidgetDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Adapter Factory Tree Structure Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Adapter Factory Tree Structure Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFAdapterFactoryTreeStructureDescription(EEFAdapterFactoryTreeStructureDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Interpreted Tree Structure Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Interpreted Tree Structure Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFInterpretedTreeStructureDescription(EEFInterpretedTreeStructureDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Text Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Text Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTextDescription(EEFTextDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Checkbox Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Checkbox Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFCheckboxDescription(EEFCheckboxDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Select Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Select Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFSelectDescription(EEFSelectDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Label Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Label Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFLabelDescription(EEFLabelDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Radio Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Radio Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFRadioDescription(EEFRadioDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Tree Dialog Select Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Tree Dialog Select Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTreeDialogSelectDescription(EEFTreeDialogSelectDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Link Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Link Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFLinkDescription(EEFLinkDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Image Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Image Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFImageDescription(EEFImageDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Tree Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Tree Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTreeDescription(EEFTreeDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Image Picker Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Image Picker Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFImagePickerDescription(EEFImagePickerDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Table Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Table Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTableDescription(EEFTableDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Column Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Column Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFColumnDescription(EEFColumnDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Line Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Line Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFLineDescription(EEFLineDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Table Structure Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Table Structure Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTableStructureDescription(EEFTableStructureDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Adapter Factory Table Structure Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Adapter Factory Table Structure Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFAdapterFactoryTableStructureDescription(EEFAdapterFactoryTableStructureDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Contextable Element'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Contextable Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseContextableElement(ContextableElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //EefSwitch diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/ContextableElementImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/ContextableElementImpl.java new file mode 100644 index 000000000..5dd9cd654 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/ContextableElementImpl.java @@ -0,0 +1,199 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import java.util.Collection; + +import org.eclipse.eef.ContextableElement; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.sirius.context.ContextVariable; + +/** + * + * An implementation of the model object 'Contextable Element'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.ContextableElementImpl#getRequiredContextVariables Required Context Variables}
  • + *
  • {@link org.eclipse.eef.impl.ContextableElementImpl#getExcludedContextVariables Excluded Context Variables}
  • + *
+ * + * @generated + */ +public abstract class ContextableElementImpl extends MinimalEObjectImpl.Container implements ContextableElement { + /** + * The cached value of the '{@link #getRequiredContextVariables() Required Context Variables}' containment reference list. + * + * + * @see #getRequiredContextVariables() + * @generated + * @ordered + */ + protected EList requiredContextVariables; + + /** + * The cached value of the '{@link #getExcludedContextVariables() Excluded Context Variables}' containment reference list. + * + * + * @see #getExcludedContextVariables() + * @generated + * @ordered + */ + protected EList excludedContextVariables; + + /** + * + * + * @generated + */ + protected ContextableElementImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.CONTEXTABLE_ELEMENT; + } + + /** + * + * + * @generated + */ + @Override + public EList getRequiredContextVariables() { + if (requiredContextVariables == null) { + requiredContextVariables = new EObjectContainmentEList.Resolving(ContextVariable.class, this, + EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES); + } + return requiredContextVariables; + } + + /** + * + * + * @generated + */ + @Override + public EList getExcludedContextVariables() { + if (excludedContextVariables == null) { + excludedContextVariables = new EObjectContainmentEList.Resolving(ContextVariable.class, this, + EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES); + } + return excludedContextVariables; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: + return ((InternalEList) getRequiredContextVariables()).basicRemove(otherEnd, msgs); + case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: + return ((InternalEList) getExcludedContextVariables()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: + return getRequiredContextVariables(); + case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: + return getExcludedContextVariables(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: + getRequiredContextVariables().clear(); + getRequiredContextVariables().addAll((Collection) newValue); + return; + case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: + getExcludedContextVariables().clear(); + getExcludedContextVariables().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: + getRequiredContextVariables().clear(); + return; + case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: + getExcludedContextVariables().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: + return requiredContextVariables != null && !requiredContextVariables.isEmpty(); + case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: + return excludedContextVariables != null && !excludedContextVariables.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ContextableElementImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java new file mode 100644 index 000000000..61b41f398 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java @@ -0,0 +1,175 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFAdapterFactoryTableStructureDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Adapter Factory Table Structure Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl#getAdapterFactoryProvider Adapter Factory Provider}
  • + *
+ * + * @generated + */ +public class EEFAdapterFactoryTableStructureDescriptionImpl extends EEFTableStructureDescriptionImpl + implements EEFAdapterFactoryTableStructureDescription { + /** + * The default value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. + * + * + * @see #getAdapterFactoryProvider() + * @generated + * @ordered + */ + protected static final String ADAPTER_FACTORY_PROVIDER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. + * + * + * @see #getAdapterFactoryProvider() + * @generated + * @ordered + */ + protected String adapterFactoryProvider = ADAPTER_FACTORY_PROVIDER_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFAdapterFactoryTableStructureDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getAdapterFactoryProvider() { + return adapterFactoryProvider; + } + + /** + * + * + * @generated + */ + @Override + public void setAdapterFactoryProvider(String newAdapterFactoryProvider) { + String oldAdapterFactoryProvider = adapterFactoryProvider; + adapterFactoryProvider = newAdapterFactoryProvider; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, oldAdapterFactoryProvider, + adapterFactoryProvider)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + return getAdapterFactoryProvider(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + setAdapterFactoryProvider((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + setAdapterFactoryProvider(ADAPTER_FACTORY_PROVIDER_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + return ADAPTER_FACTORY_PROVIDER_EDEFAULT == null ? adapterFactoryProvider != null + : !ADAPTER_FACTORY_PROVIDER_EDEFAULT.equals(adapterFactoryProvider); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (adapterFactoryProvider: "); //$NON-NLS-1$ + result.append(adapterFactoryProvider); + result.append(')'); + return result.toString(); + } + +} //EEFAdapterFactoryTableStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java new file mode 100644 index 000000000..f13f7879a --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java @@ -0,0 +1,174 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Adapter Factory Tree Structure Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl#getAdapterFactoryProvider Adapter Factory Provider}
  • + *
+ * + * @generated + */ +public class EEFAdapterFactoryTreeStructureDescriptionImpl extends EEFTreeStructureDescriptionImpl + implements EEFAdapterFactoryTreeStructureDescription { + /** + * The default value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. + * + * + * @see #getAdapterFactoryProvider() + * @generated + * @ordered + */ + protected static final String ADAPTER_FACTORY_PROVIDER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. + * + * + * @see #getAdapterFactoryProvider() + * @generated + * @ordered + */ + protected String adapterFactoryProvider = ADAPTER_FACTORY_PROVIDER_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFAdapterFactoryTreeStructureDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getAdapterFactoryProvider() { + return adapterFactoryProvider; + } + + /** + * + * + * @generated + */ + @Override + public void setAdapterFactoryProvider(String newAdapterFactoryProvider) { + String oldAdapterFactoryProvider = adapterFactoryProvider; + adapterFactoryProvider = newAdapterFactoryProvider; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, + oldAdapterFactoryProvider, adapterFactoryProvider)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + return getAdapterFactoryProvider(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + setAdapterFactoryProvider((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + setAdapterFactoryProvider(ADAPTER_FACTORY_PROVIDER_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: + return ADAPTER_FACTORY_PROVIDER_EDEFAULT == null ? adapterFactoryProvider != null + : !ADAPTER_FACTORY_PROVIDER_EDEFAULT.equals(adapterFactoryProvider); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (adapterFactoryProvider: "); //$NON-NLS-1$ + result.append(adapterFactoryProvider); + result.append(')'); + return result.toString(); + } + +} //EEFAdapterFactoryTreeStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCellWidgetDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCellWidgetDescriptionImpl.java new file mode 100644 index 000000000..a4ab0f3ad --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCellWidgetDescriptionImpl.java @@ -0,0 +1,43 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFCellWidgetDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'EEF Cell Widget Description'. + * + * + * @generated + */ +public abstract class EEFCellWidgetDescriptionImpl extends EEFWidgetDescriptionImpl implements EEFCellWidgetDescription { + /** + * + * + * @generated + */ + protected EEFCellWidgetDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_CELL_WIDGET_DESCRIPTION; + } + +} //EEFCellWidgetDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxDescriptionImpl.java new file mode 100644 index 000000000..2e7c8b361 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxDescriptionImpl.java @@ -0,0 +1,229 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFCheckboxDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Checkbox Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFCheckboxDescriptionImpl#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFCheckboxDescriptionImpl#getEditExpression Edit Expression}
  • + *
+ * + * @generated + */ +public class EEFCheckboxDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFCheckboxDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected static final String EDIT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected String editExpression = EDIT_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFCheckboxDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_CHECKBOX_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, + valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getEditExpression() { + return editExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setEditExpression(String newEditExpression) { + String oldEditExpression = editExpression; + editExpression = newEditExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, + editExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: + return getEditExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression(EDIT_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: + return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(", editExpression: "); //$NON-NLS-1$ + result.append(editExpression); + result.append(')'); + return result.toString(); + } + +} //EEFCheckboxDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnDescriptionImpl.java new file mode 100644 index 000000000..11c24084e --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnDescriptionImpl.java @@ -0,0 +1,353 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFCellWidgetDescription; +import org.eclipse.eef.EEFColumnDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'EEF Column Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFColumnDescriptionImpl#getWidth Width}
  • + *
  • {@link org.eclipse.eef.impl.EEFColumnDescriptionImpl#getHeaderExpression Header Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFColumnDescriptionImpl#getCellWidget Cell Widget}
  • + *
  • {@link org.eclipse.eef.impl.EEFColumnDescriptionImpl#getContextCandidatesExpression Context Candidates Expression}
  • + *
+ * + * @generated + */ +public class EEFColumnDescriptionImpl extends MinimalEObjectImpl.Container implements EEFColumnDescription { + /** + * The default value of the '{@link #getWidth() Width}' attribute. + * + * + * @see #getWidth() + * @generated + * @ordered + */ + protected static final int WIDTH_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getWidth() Width}' attribute. + * + * + * @see #getWidth() + * @generated + * @ordered + */ + protected int width = WIDTH_EDEFAULT; + + /** + * The default value of the '{@link #getHeaderExpression() Header Expression}' attribute. + * + * + * @see #getHeaderExpression() + * @generated + * @ordered + */ + protected static final String HEADER_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getHeaderExpression() Header Expression}' attribute. + * + * + * @see #getHeaderExpression() + * @generated + * @ordered + */ + protected String headerExpression = HEADER_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getCellWidget() Cell Widget}' reference. + * + * + * @see #getCellWidget() + * @generated + * @ordered + */ + protected EEFCellWidgetDescription cellWidget; + + /** + * The default value of the '{@link #getContextCandidatesExpression() Context Candidates Expression}' attribute. + * + * + * @see #getContextCandidatesExpression() + * @generated + * @ordered + */ + protected static final String CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getContextCandidatesExpression() Context Candidates Expression}' attribute. + * + * + * @see #getContextCandidatesExpression() + * @generated + * @ordered + */ + protected String contextCandidatesExpression = CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFColumnDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_COLUMN_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public int getWidth() { + return width; + } + + /** + * + * + * @generated + */ + @Override + public void setWidth(int newWidth) { + int oldWidth = width; + width = newWidth; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH, oldWidth, width)); + } + + /** + * + * + * @generated + */ + @Override + public String getHeaderExpression() { + return headerExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setHeaderExpression(String newHeaderExpression) { + String oldHeaderExpression = headerExpression; + headerExpression = newHeaderExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION, oldHeaderExpression, + headerExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EEFCellWidgetDescription getCellWidget() { + if (cellWidget != null && cellWidget.eIsProxy()) { + InternalEObject oldCellWidget = (InternalEObject) cellWidget; + cellWidget = (EEFCellWidgetDescription) eResolveProxy(oldCellWidget); + if (cellWidget != oldCellWidget) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET, oldCellWidget, + cellWidget)); + } + } + return cellWidget; + } + + /** + * + * + * @generated + */ + public EEFCellWidgetDescription basicGetCellWidget() { + return cellWidget; + } + + /** + * + * + * @generated + */ + @Override + public void setCellWidget(EEFCellWidgetDescription newCellWidget) { + EEFCellWidgetDescription oldCellWidget = cellWidget; + cellWidget = newCellWidget; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET, oldCellWidget, cellWidget)); + } + + /** + * + * + * @generated + */ + @Override + public String getContextCandidatesExpression() { + return contextCandidatesExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setContextCandidatesExpression(String newContextCandidatesExpression) { + String oldContextCandidatesExpression = contextCandidatesExpression; + contextCandidatesExpression = newContextCandidatesExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION, + oldContextCandidatesExpression, contextCandidatesExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: + return getWidth(); + case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: + return getHeaderExpression(); + case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: + if (resolve) + return getCellWidget(); + return basicGetCellWidget(); + case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: + return getContextCandidatesExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: + setWidth((Integer) newValue); + return; + case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: + setHeaderExpression((String) newValue); + return; + case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: + setCellWidget((EEFCellWidgetDescription) newValue); + return; + case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: + setContextCandidatesExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: + setWidth(WIDTH_EDEFAULT); + return; + case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: + setHeaderExpression(HEADER_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: + setCellWidget((EEFCellWidgetDescription) null); + return; + case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: + setContextCandidatesExpression(CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: + return width != WIDTH_EDEFAULT; + case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: + return HEADER_EXPRESSION_EDEFAULT == null ? headerExpression != null : !HEADER_EXPRESSION_EDEFAULT.equals(headerExpression); + case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: + return cellWidget != null; + case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: + return CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT == null ? contextCandidatesExpression != null + : !CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT.equals(contextCandidatesExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (width: "); //$NON-NLS-1$ + result.append(width); + result.append(", headerExpression: "); //$NON-NLS-1$ + result.append(headerExpression); + result.append(", contextCandidatesExpression: "); //$NON-NLS-1$ + result.append(contextCandidatesExpression); + result.append(')'); + return result.toString(); + } + +} //EEFColumnDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFContainerDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFContainerDescriptionImpl.java new file mode 100644 index 000000000..3a667c84b --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFContainerDescriptionImpl.java @@ -0,0 +1,441 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import java.util.Collection; + +import org.eclipse.eef.EEFContainerDescription; +import org.eclipse.eef.EEFWidgetDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'EEF Container Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getLayoutColumnCount Layout Column Count}
  • + *
  • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getContainers Containers}
  • + *
  • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getWidgets Widgets}
  • + *
+ * + * @generated + */ +public class EEFContainerDescriptionImpl extends ContextableElementImpl implements EEFContainerDescription { + /** + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. + * + * + * @see #getSemanticCandidateExpression() + * @generated + * @ordered + */ + protected static final String SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. + * + * + * @see #getSemanticCandidateExpression() + * @generated + * @ordered + */ + protected String semanticCandidateExpression = SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected static final String DOMAIN_CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected String domainClass = DOMAIN_CLASS_EDEFAULT; + + /** + * The default value of the '{@link #getLayoutColumnCount() Layout Column Count}' attribute. + * + * + * @see #getLayoutColumnCount() + * @generated + * @ordered + */ + protected static final int LAYOUT_COLUMN_COUNT_EDEFAULT = 1; + + /** + * The cached value of the '{@link #getLayoutColumnCount() Layout Column Count}' attribute. + * + * + * @see #getLayoutColumnCount() + * @generated + * @ordered + */ + protected int layoutColumnCount = LAYOUT_COLUMN_COUNT_EDEFAULT; + + /** + * The cached value of the '{@link #getContainers() Containers}' containment reference list. + * + * + * @see #getContainers() + * @generated + * @ordered + */ + protected EList containers; + + /** + * The cached value of the '{@link #getWidgets() Widgets}' containment reference list. + * + * + * @see #getWidgets() + * @generated + * @ordered + */ + protected EList widgets; + + /** + * + * + * @generated + */ + protected EEFContainerDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_CONTAINER_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); + } + + /** + * + * + * @generated + */ + @Override + public String getSemanticCandidateExpression() { + return semanticCandidateExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setSemanticCandidateExpression(String newSemanticCandidateExpression) { + String oldSemanticCandidateExpression = semanticCandidateExpression; + semanticCandidateExpression = newSemanticCandidateExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, + oldSemanticCandidateExpression, semanticCandidateExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getDomainClass() { + return domainClass; + } + + /** + * + * + * @generated + */ + @Override + public void setDomainClass(String newDomainClass) { + String oldDomainClass = domainClass; + domainClass = newDomainClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS, oldDomainClass, domainClass)); + } + + /** + * + * + * @generated + */ + @Override + public int getLayoutColumnCount() { + return layoutColumnCount; + } + + /** + * + * + * @generated + */ + @Override + public void setLayoutColumnCount(int newLayoutColumnCount) { + int oldLayoutColumnCount = layoutColumnCount; + layoutColumnCount = newLayoutColumnCount; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT, oldLayoutColumnCount, + layoutColumnCount)); + } + + /** + * + * + * @generated + */ + @Override + public EList getContainers() { + if (containers == null) { + containers = new EObjectContainmentEList.Resolving(EEFContainerDescription.class, this, + EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS); + } + return containers; + } + + /** + * + * + * @generated + */ + @Override + public EList getWidgets() { + if (widgets == null) { + widgets = new EObjectContainmentEList.Resolving(EEFWidgetDescription.class, this, + EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS); + } + return widgets; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: + return ((InternalEList) getContainers()).basicRemove(otherEnd, msgs); + case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: + return ((InternalEList) getWidgets()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: + return getIdentifier(); + case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + return getSemanticCandidateExpression(); + case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: + return getDomainClass(); + case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: + return getLayoutColumnCount(); + case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: + return getContainers(); + case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: + return getWidgets(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: + setIdentifier((String) newValue); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + setSemanticCandidateExpression((String) newValue); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: + setDomainClass((String) newValue); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: + setLayoutColumnCount((Integer) newValue); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: + getContainers().clear(); + getContainers().addAll((Collection) newValue); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: + getWidgets().clear(); + getWidgets().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + setSemanticCandidateExpression(SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: + setDomainClass(DOMAIN_CLASS_EDEFAULT); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: + setLayoutColumnCount(LAYOUT_COLUMN_COUNT_EDEFAULT); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: + getContainers().clear(); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: + getWidgets().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + return SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null + : !SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); + case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: + return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); + case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: + return layoutColumnCount != LAYOUT_COLUMN_COUNT_EDEFAULT; + case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: + return containers != null && !containers.isEmpty(); + case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: + return widgets != null && !widgets.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (identifier: "); //$NON-NLS-1$ + result.append(identifier); + result.append(", semanticCandidateExpression: "); //$NON-NLS-1$ + result.append(semanticCandidateExpression); + result.append(", domainClass: "); //$NON-NLS-1$ + result.append(domainClass); + result.append(", layoutColumnCount: "); //$NON-NLS-1$ + result.append(layoutColumnCount); + result.append(')'); + return result.toString(); + } + +} //EEFContainerDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java new file mode 100644 index 000000000..5b5d56c0b --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java @@ -0,0 +1,458 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFContainerDescription; +import org.eclipse.eef.EEFGroupDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Group Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getLabelExpression Label Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getContainer Container}
  • + *
+ * + * @generated + */ +public class EEFGroupDescriptionImpl extends ContextableElementImpl implements EEFGroupDescription { + /** + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected static final String LABEL_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected static final String DOMAIN_CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected String domainClass = DOMAIN_CLASS_EDEFAULT; + + /** + * The default value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. + * + * + * @see #getSemanticCandidateExpression() + * @generated + * @ordered + */ + protected static final String SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. + * + * + * @see #getSemanticCandidateExpression() + * @generated + * @ordered + */ + protected String semanticCandidateExpression = SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getContainer() Container}' containment reference. + * + * + * @see #getContainer() + * @generated + * @ordered + */ + protected EEFContainerDescription container; + + /** + * + * + * @generated + */ + protected EEFGroupDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_GROUP_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); + } + + /** + * + * + * @generated + */ + @Override + public String getLabelExpression() { + return labelExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setLabelExpression(String newLabelExpression) { + String oldLabelExpression = labelExpression; + labelExpression = newLabelExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION, oldLabelExpression, + labelExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getDomainClass() { + return domainClass; + } + + /** + * + * + * @generated + */ + @Override + public void setDomainClass(String newDomainClass) { + String oldDomainClass = domainClass; + domainClass = newDomainClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS, oldDomainClass, domainClass)); + } + + /** + * + * + * @generated + */ + @Override + public String getSemanticCandidateExpression() { + return semanticCandidateExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setSemanticCandidateExpression(String newSemanticCandidateExpression) { + String oldSemanticCandidateExpression = semanticCandidateExpression; + semanticCandidateExpression = newSemanticCandidateExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, + oldSemanticCandidateExpression, semanticCandidateExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EEFContainerDescription getContainer() { + if (container != null && container.eIsProxy()) { + InternalEObject oldContainer = (InternalEObject) container; + container = (EEFContainerDescription) eResolveProxy(oldContainer); + if (container != oldContainer) { + InternalEObject newContainer = (InternalEObject) container; + NotificationChain msgs = oldContainer.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, + null); + if (newContainer.eInternalContainer() == null) { + msgs = newContainer.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, oldContainer, container)); + } + } + return container; + } + + /** + * + * + * @generated + */ + public EEFContainerDescription basicGetContainer() { + return container; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetContainer(EEFContainerDescription newContainer, NotificationChain msgs) { + EEFContainerDescription oldContainer = container; + container = newContainer; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, oldContainer, + newContainer); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setContainer(EEFContainerDescription newContainer) { + if (newContainer != container) { + NotificationChain msgs = null; + if (container != null) + msgs = ((InternalEObject) container).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, + msgs); + if (newContainer != null) + msgs = ((InternalEObject) newContainer).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, + msgs); + msgs = basicSetContainer(newContainer, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, newContainer, newContainer)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: + return basicSetContainer(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: + return getIdentifier(); + case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: + return getLabelExpression(); + case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: + return getDomainClass(); + case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + return getSemanticCandidateExpression(); + case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: + if (resolve) + return getContainer(); + return basicGetContainer(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: + setIdentifier((String) newValue); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression((String) newValue); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: + setDomainClass((String) newValue); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + setSemanticCandidateExpression((String) newValue); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: + setContainer((EEFContainerDescription) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression(LABEL_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: + setDomainClass(DOMAIN_CLASS_EDEFAULT); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + setSemanticCandidateExpression(SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: + setContainer((EEFContainerDescription) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: + return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); + case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: + return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); + case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + return SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null + : !SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); + case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: + return container != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (identifier: "); //$NON-NLS-1$ + result.append(identifier); + result.append(", labelExpression: "); //$NON-NLS-1$ + result.append(labelExpression); + result.append(", domainClass: "); //$NON-NLS-1$ + result.append(domainClass); + result.append(", semanticCandidateExpression: "); //$NON-NLS-1$ + result.append(semanticCandidateExpression); + result.append(')'); + return result.toString(); + } + +} //EEFGroupDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImageDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImageDescriptionImpl.java new file mode 100644 index 000000000..ca2168e06 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImageDescriptionImpl.java @@ -0,0 +1,172 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFImageDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Image Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFImageDescriptionImpl#getValueExpression Value Expression}
  • + *
+ * + * @generated + */ +public class EEFImageDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFImageDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFImageDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_IMAGE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, + valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(')'); + return result.toString(); + } + +} //EEFImageDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImagePickerDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImagePickerDescriptionImpl.java new file mode 100644 index 000000000..fb5187da7 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImagePickerDescriptionImpl.java @@ -0,0 +1,287 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFImagePickerDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Image Picker Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFImagePickerDescriptionImpl#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFImagePickerDescriptionImpl#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFImagePickerDescriptionImpl#getCandidatesExpression Candidates Expression}
  • + *
+ * + * @generated + */ +public class EEFImagePickerDescriptionImpl extends EEFWidgetDescriptionImpl implements EEFImagePickerDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected static final String EDIT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected String editExpression = EDIT_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. + * + * + * @see #getCandidatesExpression() + * @generated + * @ordered + */ + protected static final String CANDIDATES_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. + * + * + * @see #getCandidatesExpression() + * @generated + * @ordered + */ + protected String candidatesExpression = CANDIDATES_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFImagePickerDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, + valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getEditExpression() { + return editExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setEditExpression(String newEditExpression) { + String oldEditExpression = editExpression; + editExpression = newEditExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, + editExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getCandidatesExpression() { + return candidatesExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setCandidatesExpression(String newCandidatesExpression) { + String oldCandidatesExpression = candidatesExpression; + candidatesExpression = newCandidatesExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION, + oldCandidatesExpression, candidatesExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: + return getEditExpression(); + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: + return getCandidatesExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression((String) newValue); + return; + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: + setCandidatesExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression(EDIT_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: + setCandidatesExpression(CANDIDATES_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: + return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: + return CANDIDATES_EXPRESSION_EDEFAULT == null ? candidatesExpression != null + : !CANDIDATES_EXPRESSION_EDEFAULT.equals(candidatesExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(", editExpression: "); //$NON-NLS-1$ + result.append(editExpression); + result.append(", candidatesExpression: "); //$NON-NLS-1$ + result.append(candidatesExpression); + result.append(')'); + return result.toString(); + } + +} //EEFImagePickerDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java new file mode 100644 index 000000000..e482b5495 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java @@ -0,0 +1,265 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import java.util.Collection; + +import org.eclipse.eef.EEFColumnDescription; +import org.eclipse.eef.EEFInterpretedTableStructureDescription; +import org.eclipse.eef.EEFLineDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'EEF Interpreted Table Structure Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl#getColumns Columns}
  • + *
  • {@link org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl#getLine Line}
  • + *
+ * + * @generated + */ +public class EEFInterpretedTableStructureDescriptionImpl extends EEFTableStructureDescriptionImpl implements EEFInterpretedTableStructureDescription { + /** + * The cached value of the '{@link #getColumns() Columns}' containment reference list. + * + * + * @see #getColumns() + * @generated + * @ordered + */ + protected EList columns; + + /** + * The cached value of the '{@link #getLine() Line}' containment reference. + * + * + * @see #getLine() + * @generated + * @ordered + */ + protected EEFLineDescription line; + + /** + * + * + * @generated + */ + protected EEFInterpretedTableStructureDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public EList getColumns() { + if (columns == null) { + columns = new EObjectContainmentEList.Resolving(EEFColumnDescription.class, this, + EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS); + } + return columns; + } + + /** + * + * + * @generated + */ + @Override + public EEFLineDescription getLine() { + if (line != null && line.eIsProxy()) { + InternalEObject oldLine = (InternalEObject) line; + line = (EEFLineDescription) eResolveProxy(oldLine); + if (line != oldLine) { + InternalEObject newLine = (InternalEObject) line; + NotificationChain msgs = oldLine.eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, null); + if (newLine.eInternalContainer() == null) { + msgs = newLine.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, + msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, oldLine, + line)); + } + } + return line; + } + + /** + * + * + * @generated + */ + public EEFLineDescription basicGetLine() { + return line; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLine(EEFLineDescription newLine, NotificationChain msgs) { + EEFLineDescription oldLine = line; + line = newLine; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, oldLine, newLine); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setLine(EEFLineDescription newLine) { + if (newLine != line) { + NotificationChain msgs = null; + if (line != null) + msgs = ((InternalEObject) line).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, msgs); + if (newLine != null) + msgs = ((InternalEObject) newLine).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, msgs); + msgs = basicSetLine(newLine, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, newLine, newLine)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: + return ((InternalEList) getColumns()).basicRemove(otherEnd, msgs); + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: + return basicSetLine(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: + return getColumns(); + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: + if (resolve) + return getLine(); + return basicGetLine(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: + getColumns().clear(); + getColumns().addAll((Collection) newValue); + return; + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: + setLine((EEFLineDescription) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: + getColumns().clear(); + return; + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: + setLine((EEFLineDescription) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: + return columns != null && !columns.isEmpty(); + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: + return line != null; + } + return super.eIsSet(featureID); + } + +} //EEFInterpretedTableStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java new file mode 100644 index 000000000..202a3f13f --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java @@ -0,0 +1,346 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFInterpretedTreeStructureDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Interpreted Tree Structure Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getRootsExpression Roots Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getChildrenExpression Children Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getSelectablePredicateExpression Selectable Predicate Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getCandidateDisplayExpression Candidate Display Expression}
  • + *
+ * + * @generated + */ +public class EEFInterpretedTreeStructureDescriptionImpl extends EEFTreeStructureDescriptionImpl implements EEFInterpretedTreeStructureDescription { + /** + * The default value of the '{@link #getRootsExpression() Roots Expression}' attribute. + * + * + * @see #getRootsExpression() + * @generated + * @ordered + */ + protected static final String ROOTS_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getRootsExpression() Roots Expression}' attribute. + * + * + * @see #getRootsExpression() + * @generated + * @ordered + */ + protected String rootsExpression = ROOTS_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getChildrenExpression() Children Expression}' attribute. + * + * + * @see #getChildrenExpression() + * @generated + * @ordered + */ + protected static final String CHILDREN_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getChildrenExpression() Children Expression}' attribute. + * + * + * @see #getChildrenExpression() + * @generated + * @ordered + */ + protected String childrenExpression = CHILDREN_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getSelectablePredicateExpression() Selectable Predicate Expression}' attribute. + * + * + * @see #getSelectablePredicateExpression() + * @generated + * @ordered + */ + protected static final String SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSelectablePredicateExpression() Selectable Predicate Expression}' attribute. + * + * + * @see #getSelectablePredicateExpression() + * @generated + * @ordered + */ + protected String selectablePredicateExpression = SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. + * + * + * @see #getCandidateDisplayExpression() + * @generated + * @ordered + */ + protected static final String CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. + * + * + * @see #getCandidateDisplayExpression() + * @generated + * @ordered + */ + protected String candidateDisplayExpression = CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFInterpretedTreeStructureDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getRootsExpression() { + return rootsExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setRootsExpression(String newRootsExpression) { + String oldRootsExpression = rootsExpression; + rootsExpression = newRootsExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION, + oldRootsExpression, rootsExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getChildrenExpression() { + return childrenExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setChildrenExpression(String newChildrenExpression) { + String oldChildrenExpression = childrenExpression; + childrenExpression = newChildrenExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION, + oldChildrenExpression, childrenExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getSelectablePredicateExpression() { + return selectablePredicateExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setSelectablePredicateExpression(String newSelectablePredicateExpression) { + String oldSelectablePredicateExpression = selectablePredicateExpression; + selectablePredicateExpression = newSelectablePredicateExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION, oldSelectablePredicateExpression, + selectablePredicateExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getCandidateDisplayExpression() { + return candidateDisplayExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setCandidateDisplayExpression(String newCandidateDisplayExpression) { + String oldCandidateDisplayExpression = candidateDisplayExpression; + candidateDisplayExpression = newCandidateDisplayExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, + oldCandidateDisplayExpression, candidateDisplayExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: + return getRootsExpression(); + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: + return getChildrenExpression(); + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: + return getSelectablePredicateExpression(); + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + return getCandidateDisplayExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: + setRootsExpression((String) newValue); + return; + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: + setChildrenExpression((String) newValue); + return; + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: + setSelectablePredicateExpression((String) newValue); + return; + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + setCandidateDisplayExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: + setRootsExpression(ROOTS_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: + setChildrenExpression(CHILDREN_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: + setSelectablePredicateExpression(SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + setCandidateDisplayExpression(CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: + return ROOTS_EXPRESSION_EDEFAULT == null ? rootsExpression != null : !ROOTS_EXPRESSION_EDEFAULT.equals(rootsExpression); + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: + return CHILDREN_EXPRESSION_EDEFAULT == null ? childrenExpression != null : !CHILDREN_EXPRESSION_EDEFAULT.equals(childrenExpression); + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: + return SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT == null ? selectablePredicateExpression != null + : !SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT.equals(selectablePredicateExpression); + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + return CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT == null ? candidateDisplayExpression != null + : !CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT.equals(candidateDisplayExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (rootsExpression: "); //$NON-NLS-1$ + result.append(rootsExpression); + result.append(", childrenExpression: "); //$NON-NLS-1$ + result.append(childrenExpression); + result.append(", selectablePredicateExpression: "); //$NON-NLS-1$ + result.append(selectablePredicateExpression); + result.append(", candidateDisplayExpression: "); //$NON-NLS-1$ + result.append(candidateDisplayExpression); + result.append(')'); + return result.toString(); + } + +} //EEFInterpretedTreeStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFJavaExtensionDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFJavaExtensionDescriptionImpl.java new file mode 100644 index 000000000..c82929b86 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFJavaExtensionDescriptionImpl.java @@ -0,0 +1,173 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFJavaExtensionDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'EEF Java Extension Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl#getQualifiedName Qualified Name}
  • + *
+ * + * @generated + */ +public class EEFJavaExtensionDescriptionImpl extends MinimalEObjectImpl.Container implements EEFJavaExtensionDescription { + /** + * The default value of the '{@link #getQualifiedName() Qualified Name}' attribute. + * + * + * @see #getQualifiedName() + * @generated + * @ordered + */ + protected static final String QUALIFIED_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getQualifiedName() Qualified Name}' attribute. + * + * + * @see #getQualifiedName() + * @generated + * @ordered + */ + protected String qualifiedName = QUALIFIED_NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFJavaExtensionDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_JAVA_EXTENSION_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getQualifiedName() { + return qualifiedName; + } + + /** + * + * + * @generated + */ + @Override + public void setQualifiedName(String newQualifiedName) { + String oldQualifiedName = qualifiedName; + qualifiedName = newQualifiedName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME, oldQualifiedName, + qualifiedName)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: + return getQualifiedName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: + setQualifiedName((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: + setQualifiedName(QUALIFIED_NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: + return QUALIFIED_NAME_EDEFAULT == null ? qualifiedName != null : !QUALIFIED_NAME_EDEFAULT.equals(qualifiedName); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (qualifiedName: "); //$NON-NLS-1$ + result.append(qualifiedName); + result.append(')'); + return result.toString(); + } + +} //EEFJavaExtensionDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelDescriptionImpl.java new file mode 100644 index 000000000..a170a2388 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelDescriptionImpl.java @@ -0,0 +1,172 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFLabelDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Label Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFLabelDescriptionImpl#getValueExpression Value Expression}
  • + *
+ * + * @generated + */ +public class EEFLabelDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFLabelDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFLabelDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_LABEL_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, + valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(')'); + return result.toString(); + } + +} //EEFLabelDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineDescriptionImpl.java new file mode 100644 index 000000000..a647c9692 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineDescriptionImpl.java @@ -0,0 +1,347 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import java.util.Collection; + +import org.eclipse.eef.EEFLineDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'EEF Line Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFLineDescriptionImpl#getHeaderExpression Header Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFLineDescriptionImpl#getSemanticCandidatesExpression Semantic Candidates Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFLineDescriptionImpl#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.impl.EEFLineDescriptionImpl#getSubLines Sub Lines}
  • + *
+ * + * @generated + */ +public class EEFLineDescriptionImpl extends MinimalEObjectImpl.Container implements EEFLineDescription { + /** + * The default value of the '{@link #getHeaderExpression() Header Expression}' attribute. + * + * + * @see #getHeaderExpression() + * @generated + * @ordered + */ + protected static final String HEADER_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getHeaderExpression() Header Expression}' attribute. + * + * + * @see #getHeaderExpression() + * @generated + * @ordered + */ + protected String headerExpression = HEADER_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. + * + * + * @see #getSemanticCandidatesExpression() + * @generated + * @ordered + */ + protected static final String SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. + * + * + * @see #getSemanticCandidatesExpression() + * @generated + * @ordered + */ + protected String semanticCandidatesExpression = SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected static final String DOMAIN_CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected String domainClass = DOMAIN_CLASS_EDEFAULT; + + /** + * The cached value of the '{@link #getSubLines() Sub Lines}' containment reference list. + * + * + * @see #getSubLines() + * @generated + * @ordered + */ + protected EList subLines; + + /** + * + * + * @generated + */ + protected EEFLineDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_LINE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getHeaderExpression() { + return headerExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setHeaderExpression(String newHeaderExpression) { + String oldHeaderExpression = headerExpression; + headerExpression = newHeaderExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION, oldHeaderExpression, + headerExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getSemanticCandidatesExpression() { + return semanticCandidatesExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setSemanticCandidatesExpression(String newSemanticCandidatesExpression) { + String oldSemanticCandidatesExpression = semanticCandidatesExpression; + semanticCandidatesExpression = newSemanticCandidatesExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, + oldSemanticCandidatesExpression, semanticCandidatesExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getDomainClass() { + return domainClass; + } + + /** + * + * + * @generated + */ + @Override + public void setDomainClass(String newDomainClass) { + String oldDomainClass = domainClass; + domainClass = newDomainClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS, oldDomainClass, domainClass)); + } + + /** + * + * + * @generated + */ + @Override + public EList getSubLines() { + if (subLines == null) { + subLines = new EObjectContainmentEList.Resolving(EEFLineDescription.class, this, + EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES); + } + return subLines; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: + return ((InternalEList) getSubLines()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: + return getHeaderExpression(); + case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + return getSemanticCandidatesExpression(); + case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: + return getDomainClass(); + case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: + return getSubLines(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: + setHeaderExpression((String) newValue); + return; + case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + setSemanticCandidatesExpression((String) newValue); + return; + case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: + setDomainClass((String) newValue); + return; + case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: + getSubLines().clear(); + getSubLines().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: + setHeaderExpression(HEADER_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + setSemanticCandidatesExpression(SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: + setDomainClass(DOMAIN_CLASS_EDEFAULT); + return; + case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: + getSubLines().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: + return HEADER_EXPRESSION_EDEFAULT == null ? headerExpression != null : !HEADER_EXPRESSION_EDEFAULT.equals(headerExpression); + case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: + return SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT == null ? semanticCandidatesExpression != null + : !SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT.equals(semanticCandidatesExpression); + case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: + return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); + case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: + return subLines != null && !subLines.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (headerExpression: "); //$NON-NLS-1$ + result.append(headerExpression); + result.append(", semanticCandidatesExpression: "); //$NON-NLS-1$ + result.append(semanticCandidatesExpression); + result.append(", domainClass: "); //$NON-NLS-1$ + result.append(domainClass); + result.append(')'); + return result.toString(); + } + +} //EEFLineDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkDescriptionImpl.java new file mode 100644 index 000000000..ad7fb5cdc --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkDescriptionImpl.java @@ -0,0 +1,172 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFLinkDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Link Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFLinkDescriptionImpl#getOnClickExpression On Click Expression}
  • + *
+ * + * @generated + */ +public class EEFLinkDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFLinkDescription { + /** + * The default value of the '{@link #getOnClickExpression() On Click Expression}' attribute. + * + * + * @see #getOnClickExpression() + * @generated + * @ordered + */ + protected static final String ON_CLICK_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getOnClickExpression() On Click Expression}' attribute. + * + * + * @see #getOnClickExpression() + * @generated + * @ordered + */ + protected String onClickExpression = ON_CLICK_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFLinkDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_LINK_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getOnClickExpression() { + return onClickExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setOnClickExpression(String newOnClickExpression) { + String oldOnClickExpression = onClickExpression; + onClickExpression = newOnClickExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION, oldOnClickExpression, + onClickExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: + return getOnClickExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: + setOnClickExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: + setOnClickExpression(ON_CLICK_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: + return ON_CLICK_EXPRESSION_EDEFAULT == null ? onClickExpression != null : !ON_CLICK_EXPRESSION_EDEFAULT.equals(onClickExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (onClickExpression: "); //$NON-NLS-1$ + result.append(onClickExpression); + result.append(')'); + return result.toString(); + } + +} //EEFLinkDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFPageDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFPageDescriptionImpl.java new file mode 100644 index 000000000..370d96031 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFPageDescriptionImpl.java @@ -0,0 +1,450 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import java.util.Collection; + +import org.eclipse.eef.EEFGroupDescription; +import org.eclipse.eef.EEFPageDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +/** + * + * An implementation of the model object 'EEF Page Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getLabelExpression Label Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getGroups Groups}
  • + *
  • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getExtendedPage Extended Page}
  • + *
+ * + * @generated + */ +public class EEFPageDescriptionImpl extends ContextableElementImpl implements EEFPageDescription { + /** + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected static final String LABEL_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected static final String DOMAIN_CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected String domainClass = DOMAIN_CLASS_EDEFAULT; + + /** + * The default value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. + * + * + * @see #getSemanticCandidateExpression() + * @generated + * @ordered + */ + protected static final String SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT = ""; //$NON-NLS-1$ + + /** + * The cached value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. + * + * + * @see #getSemanticCandidateExpression() + * @generated + * @ordered + */ + protected String semanticCandidateExpression = SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getGroups() Groups}' reference list. + * + * + * @see #getGroups() + * @generated + * @ordered + */ + protected EList groups; + + /** + * The cached value of the '{@link #getExtendedPage() Extended Page}' reference. + * + * + * @see #getExtendedPage() + * @generated + * @ordered + */ + protected EEFPageDescription extendedPage; + + /** + * + * + * @generated + */ + protected EEFPageDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_PAGE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); + } + + /** + * + * + * @generated + */ + @Override + public String getLabelExpression() { + return labelExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setLabelExpression(String newLabelExpression) { + String oldLabelExpression = labelExpression; + labelExpression = newLabelExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION, oldLabelExpression, + labelExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getDomainClass() { + return domainClass; + } + + /** + * + * + * @generated + */ + @Override + public void setDomainClass(String newDomainClass) { + String oldDomainClass = domainClass; + domainClass = newDomainClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS, oldDomainClass, domainClass)); + } + + /** + * + * + * @generated + */ + @Override + public String getSemanticCandidateExpression() { + return semanticCandidateExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setSemanticCandidateExpression(String newSemanticCandidateExpression) { + String oldSemanticCandidateExpression = semanticCandidateExpression; + semanticCandidateExpression = newSemanticCandidateExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, + oldSemanticCandidateExpression, semanticCandidateExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EList getGroups() { + if (groups == null) { + groups = new EObjectResolvingEList(EEFGroupDescription.class, this, EefPackage.EEF_PAGE_DESCRIPTION__GROUPS); + } + return groups; + } + + /** + * + * + * @generated + */ + @Override + public EEFPageDescription getExtendedPage() { + if (extendedPage != null && extendedPage.eIsProxy()) { + InternalEObject oldExtendedPage = (InternalEObject) extendedPage; + extendedPage = (EEFPageDescription) eResolveProxy(oldExtendedPage); + if (extendedPage != oldExtendedPage) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE, oldExtendedPage, + extendedPage)); + } + } + return extendedPage; + } + + /** + * + * + * @generated + */ + public EEFPageDescription basicGetExtendedPage() { + return extendedPage; + } + + /** + * + * + * @generated + */ + @Override + public void setExtendedPage(EEFPageDescription newExtendedPage) { + EEFPageDescription oldExtendedPage = extendedPage; + extendedPage = newExtendedPage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE, oldExtendedPage, extendedPage)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: + return getIdentifier(); + case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: + return getLabelExpression(); + case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: + return getDomainClass(); + case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + return getSemanticCandidateExpression(); + case EefPackage.EEF_PAGE_DESCRIPTION__GROUPS: + return getGroups(); + case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: + if (resolve) + return getExtendedPage(); + return basicGetExtendedPage(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: + setIdentifier((String) newValue); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression((String) newValue); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: + setDomainClass((String) newValue); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + setSemanticCandidateExpression((String) newValue); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__GROUPS: + getGroups().clear(); + getGroups().addAll((Collection) newValue); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: + setExtendedPage((EEFPageDescription) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression(LABEL_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: + setDomainClass(DOMAIN_CLASS_EDEFAULT); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + setSemanticCandidateExpression(SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__GROUPS: + getGroups().clear(); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: + setExtendedPage((EEFPageDescription) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: + return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); + case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: + return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); + case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + return SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null + : !SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); + case EefPackage.EEF_PAGE_DESCRIPTION__GROUPS: + return groups != null && !groups.isEmpty(); + case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: + return extendedPage != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (identifier: "); //$NON-NLS-1$ + result.append(identifier); + result.append(", labelExpression: "); //$NON-NLS-1$ + result.append(labelExpression); + result.append(", domainClass: "); //$NON-NLS-1$ + result.append(domainClass); + result.append(", semanticCandidateExpression: "); //$NON-NLS-1$ + result.append(semanticCandidateExpression); + result.append(')'); + return result.toString(); + } + +} //EEFPageDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioDescriptionImpl.java new file mode 100644 index 000000000..c8c7f26cb --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioDescriptionImpl.java @@ -0,0 +1,345 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFRadioDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Radio Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFRadioDescriptionImpl#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFRadioDescriptionImpl#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFRadioDescriptionImpl#getCandidatesExpression Candidates Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFRadioDescriptionImpl#getCandidateDisplayExpression Candidate Display Expression}
  • + *
+ * + * @generated + */ +public class EEFRadioDescriptionImpl extends EEFWidgetDescriptionImpl implements EEFRadioDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected static final String EDIT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected String editExpression = EDIT_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. + * + * + * @see #getCandidatesExpression() + * @generated + * @ordered + */ + protected static final String CANDIDATES_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. + * + * + * @see #getCandidatesExpression() + * @generated + * @ordered + */ + protected String candidatesExpression = CANDIDATES_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. + * + * + * @see #getCandidateDisplayExpression() + * @generated + * @ordered + */ + protected static final String CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. + * + * + * @see #getCandidateDisplayExpression() + * @generated + * @ordered + */ + protected String candidateDisplayExpression = CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFRadioDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_RADIO_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, + valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getEditExpression() { + return editExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setEditExpression(String newEditExpression) { + String oldEditExpression = editExpression; + editExpression = newEditExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, + editExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getCandidatesExpression() { + return candidatesExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setCandidatesExpression(String newCandidatesExpression) { + String oldCandidatesExpression = candidatesExpression; + candidatesExpression = newCandidatesExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION, oldCandidatesExpression, + candidatesExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getCandidateDisplayExpression() { + return candidateDisplayExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setCandidateDisplayExpression(String newCandidateDisplayExpression) { + String oldCandidateDisplayExpression = candidateDisplayExpression; + candidateDisplayExpression = newCandidateDisplayExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, + oldCandidateDisplayExpression, candidateDisplayExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: + return getEditExpression(); + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: + return getCandidatesExpression(); + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + return getCandidateDisplayExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression((String) newValue); + return; + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: + setCandidatesExpression((String) newValue); + return; + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + setCandidateDisplayExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression(EDIT_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: + setCandidatesExpression(CANDIDATES_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + setCandidateDisplayExpression(CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: + return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: + return CANDIDATES_EXPRESSION_EDEFAULT == null ? candidatesExpression != null + : !CANDIDATES_EXPRESSION_EDEFAULT.equals(candidatesExpression); + case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + return CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT == null ? candidateDisplayExpression != null + : !CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT.equals(candidateDisplayExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(", editExpression: "); //$NON-NLS-1$ + result.append(editExpression); + result.append(", candidatesExpression: "); //$NON-NLS-1$ + result.append(candidatesExpression); + result.append(", candidateDisplayExpression: "); //$NON-NLS-1$ + result.append(candidateDisplayExpression); + result.append(')'); + return result.toString(); + } + +} //EEFRadioDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectDescriptionImpl.java new file mode 100644 index 000000000..cb9fd6993 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectDescriptionImpl.java @@ -0,0 +1,401 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFSelectDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Select Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFSelectDescriptionImpl#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFSelectDescriptionImpl#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFSelectDescriptionImpl#getCandidatesExpression Candidates Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFSelectDescriptionImpl#isMultiple Multiple}
  • + *
  • {@link org.eclipse.eef.impl.EEFSelectDescriptionImpl#getCandidateDisplayExpression Candidate Display Expression}
  • + *
+ * + * @generated + */ +public class EEFSelectDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFSelectDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected static final String EDIT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected String editExpression = EDIT_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. + * + * + * @see #getCandidatesExpression() + * @generated + * @ordered + */ + protected static final String CANDIDATES_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. + * + * + * @see #getCandidatesExpression() + * @generated + * @ordered + */ + protected String candidatesExpression = CANDIDATES_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #isMultiple() Multiple}' attribute. + * + * + * @see #isMultiple() + * @generated + * @ordered + */ + protected static final boolean MULTIPLE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isMultiple() Multiple}' attribute. + * + * + * @see #isMultiple() + * @generated + * @ordered + */ + protected boolean multiple = MULTIPLE_EDEFAULT; + + /** + * The default value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. + * + * + * @see #getCandidateDisplayExpression() + * @generated + * @ordered + */ + protected static final String CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. + * + * + * @see #getCandidateDisplayExpression() + * @generated + * @ordered + */ + protected String candidateDisplayExpression = CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFSelectDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_SELECT_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, + valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getEditExpression() { + return editExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setEditExpression(String newEditExpression) { + String oldEditExpression = editExpression; + editExpression = newEditExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, + editExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getCandidatesExpression() { + return candidatesExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setCandidatesExpression(String newCandidatesExpression) { + String oldCandidatesExpression = candidatesExpression; + candidatesExpression = newCandidatesExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION, oldCandidatesExpression, + candidatesExpression)); + } + + /** + * + * + * @generated + */ + @Override + public boolean isMultiple() { + return multiple; + } + + /** + * + * + * @generated + */ + @Override + public void setMultiple(boolean newMultiple) { + boolean oldMultiple = multiple; + multiple = newMultiple; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE, oldMultiple, multiple)); + } + + /** + * + * + * @generated + */ + @Override + public String getCandidateDisplayExpression() { + return candidateDisplayExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setCandidateDisplayExpression(String newCandidateDisplayExpression) { + String oldCandidateDisplayExpression = candidateDisplayExpression; + candidateDisplayExpression = newCandidateDisplayExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, + oldCandidateDisplayExpression, candidateDisplayExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: + return getEditExpression(); + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: + return getCandidatesExpression(); + case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: + return isMultiple(); + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + return getCandidateDisplayExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression((String) newValue); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: + setCandidatesExpression((String) newValue); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: + setMultiple((Boolean) newValue); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + setCandidateDisplayExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression(EDIT_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: + setCandidatesExpression(CANDIDATES_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: + setMultiple(MULTIPLE_EDEFAULT); + return; + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + setCandidateDisplayExpression(CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: + return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: + return CANDIDATES_EXPRESSION_EDEFAULT == null ? candidatesExpression != null + : !CANDIDATES_EXPRESSION_EDEFAULT.equals(candidatesExpression); + case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: + return multiple != MULTIPLE_EDEFAULT; + case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: + return CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT == null ? candidateDisplayExpression != null + : !CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT.equals(candidateDisplayExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(", editExpression: "); //$NON-NLS-1$ + result.append(editExpression); + result.append(", candidatesExpression: "); //$NON-NLS-1$ + result.append(candidatesExpression); + result.append(", multiple: "); //$NON-NLS-1$ + result.append(multiple); + result.append(", candidateDisplayExpression: "); //$NON-NLS-1$ + result.append(candidateDisplayExpression); + result.append(')'); + return result.toString(); + } + +} //EEFSelectDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableDescriptionImpl.java new file mode 100644 index 000000000..b897c03ac --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableDescriptionImpl.java @@ -0,0 +1,296 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFTableDescription; +import org.eclipse.eef.EEFTableStructureDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Table Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFTableDescriptionImpl#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFTableDescriptionImpl#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFTableDescriptionImpl#getTableStructure Table Structure}
  • + *
+ * + * @generated + */ +public class EEFTableDescriptionImpl extends EEFWidgetDescriptionImpl implements EEFTableDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected static final String EDIT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected String editExpression = EDIT_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getTableStructure() Table Structure}' reference. + * + * + * @see #getTableStructure() + * @generated + * @ordered + */ + protected EEFTableStructureDescription tableStructure; + + /** + * + * + * @generated + */ + protected EEFTableDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TABLE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, + valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getEditExpression() { + return editExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setEditExpression(String newEditExpression) { + String oldEditExpression = editExpression; + editExpression = newEditExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, + editExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EEFTableStructureDescription getTableStructure() { + if (tableStructure != null && tableStructure.eIsProxy()) { + InternalEObject oldTableStructure = (InternalEObject) tableStructure; + tableStructure = (EEFTableStructureDescription) eResolveProxy(oldTableStructure); + if (tableStructure != oldTableStructure) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE, oldTableStructure, + tableStructure)); + } + } + return tableStructure; + } + + /** + * + * + * @generated + */ + public EEFTableStructureDescription basicGetTableStructure() { + return tableStructure; + } + + /** + * + * + * @generated + */ + @Override + public void setTableStructure(EEFTableStructureDescription newTableStructure) { + EEFTableStructureDescription oldTableStructure = tableStructure; + tableStructure = newTableStructure; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE, oldTableStructure, + tableStructure)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: + return getEditExpression(); + case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: + if (resolve) + return getTableStructure(); + return basicGetTableStructure(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression((String) newValue); + return; + case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: + setTableStructure((EEFTableStructureDescription) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression(EDIT_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: + setTableStructure((EEFTableStructureDescription) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: + return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); + case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: + return tableStructure != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(", editExpression: "); //$NON-NLS-1$ + result.append(editExpression); + result.append(')'); + return result.toString(); + } + +} //EEFTableDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStructureDescriptionImpl.java new file mode 100644 index 000000000..a4f89f1c9 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStructureDescriptionImpl.java @@ -0,0 +1,228 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFTableStructureDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'EEF Table Structure Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl#isMultiple Multiple}
  • + *
  • {@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl#getIdentifier Identifier}
  • + *
+ * + * @generated + */ +public abstract class EEFTableStructureDescriptionImpl extends MinimalEObjectImpl.Container implements EEFTableStructureDescription { + /** + * The default value of the '{@link #isMultiple() Multiple}' attribute. + * + * + * @see #isMultiple() + * @generated + * @ordered + */ + protected static final boolean MULTIPLE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isMultiple() Multiple}' attribute. + * + * + * @see #isMultiple() + * @generated + * @ordered + */ + protected boolean multiple = MULTIPLE_EDEFAULT; + + /** + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFTableStructureDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public boolean isMultiple() { + return multiple; + } + + /** + * + * + * @generated + */ + @Override + public void setMultiple(boolean newMultiple) { + boolean oldMultiple = multiple; + multiple = newMultiple; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE, oldMultiple, multiple)); + } + + /** + * + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: + return isMultiple(); + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: + return getIdentifier(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: + setMultiple((Boolean) newValue); + return; + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: + setIdentifier((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: + setMultiple(MULTIPLE_EDEFAULT); + return; + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: + return multiple != MULTIPLE_EDEFAULT; + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (multiple: "); //$NON-NLS-1$ + result.append(multiple); + result.append(", identifier: "); //$NON-NLS-1$ + result.append(identifier); + result.append(')'); + return result.toString(); + } + +} //EEFTableStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java new file mode 100644 index 000000000..b00a0ec67 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java @@ -0,0 +1,285 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Text Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getEditExpression Edit Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getLineCount Line Count}
  • + *
+ * + * @generated + */ +public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFTextDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected static final String EDIT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected String editExpression = EDIT_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getLineCount() Line Count}' attribute. + * + * + * @see #getLineCount() + * @generated + * @ordered + */ + protected static final int LINE_COUNT_EDEFAULT = 1; + + /** + * The cached value of the '{@link #getLineCount() Line Count}' attribute. + * + * + * @see #getLineCount() + * @generated + * @ordered + */ + protected int lineCount = LINE_COUNT_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFTextDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TEXT_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, + valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getEditExpression() { + return editExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setEditExpression(String newEditExpression) { + String oldEditExpression = editExpression; + editExpression = newEditExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, + editExpression)); + } + + /** + * + * + * @generated + */ + @Override + public int getLineCount() { + return lineCount; + } + + /** + * + * + * @generated + */ + @Override + public void setLineCount(int newLineCount) { + int oldLineCount = lineCount; + lineCount = newLineCount; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT, oldLineCount, lineCount)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: + return getEditExpression(); + case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: + return getLineCount(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression((String) newValue); + return; + case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: + setLineCount((Integer) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression(EDIT_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: + setLineCount(LINE_COUNT_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: + return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); + case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: + return lineCount != LINE_COUNT_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(", editExpression: "); //$NON-NLS-1$ + result.append(editExpression); + result.append(", lineCount: "); //$NON-NLS-1$ + result.append(lineCount); + result.append(')'); + return result.toString(); + } + +} //EEFTextDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDescriptionImpl.java new file mode 100644 index 000000000..b058ca5f8 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDescriptionImpl.java @@ -0,0 +1,295 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFTreeDescription; +import org.eclipse.eef.EEFTreeStructureDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Tree Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFTreeDescriptionImpl#getValueExpression Value Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFTreeDescriptionImpl#getTreeStructure Tree Structure}
  • + *
  • {@link org.eclipse.eef.impl.EEFTreeDescriptionImpl#getEditExpression Edit Expression}
  • + *
+ * + * @generated + */ +public class EEFTreeDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFTreeDescription { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getTreeStructure() Tree Structure}' reference. + * + * + * @see #getTreeStructure() + * @generated + * @ordered + */ + protected EEFTreeStructureDescription treeStructure; + + /** + * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected static final String EDIT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. + * + * + * @see #getEditExpression() + * @generated + * @ordered + */ + protected String editExpression = EDIT_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFTreeDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TREE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, + valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EEFTreeStructureDescription getTreeStructure() { + if (treeStructure != null && treeStructure.eIsProxy()) { + InternalEObject oldTreeStructure = (InternalEObject) treeStructure; + treeStructure = (EEFTreeStructureDescription) eResolveProxy(oldTreeStructure); + if (treeStructure != oldTreeStructure) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE, oldTreeStructure, + treeStructure)); + } + } + return treeStructure; + } + + /** + * + * + * @generated + */ + public EEFTreeStructureDescription basicGetTreeStructure() { + return treeStructure; + } + + /** + * + * + * @generated + */ + @Override + public void setTreeStructure(EEFTreeStructureDescription newTreeStructure) { + EEFTreeStructureDescription oldTreeStructure = treeStructure; + treeStructure = newTreeStructure; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE, oldTreeStructure, treeStructure)); + } + + /** + * + * + * @generated + */ + @Override + public String getEditExpression() { + return editExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setEditExpression(String newEditExpression) { + String oldEditExpression = editExpression; + editExpression = newEditExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, + editExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: + return getValueExpression(); + case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: + if (resolve) + return getTreeStructure(); + return basicGetTreeStructure(); + case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: + return getEditExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression((String) newValue); + return; + case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: + setTreeStructure((EEFTreeStructureDescription) newValue); + return; + case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: + setTreeStructure((EEFTreeStructureDescription) null); + return; + case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: + setEditExpression(EDIT_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: + return treeStructure != null; + case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: + return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(", editExpression: "); //$NON-NLS-1$ + result.append(editExpression); + result.append(')'); + return result.toString(); + } + +} //EEFTreeDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDialogSelectDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDialogSelectDescriptionImpl.java new file mode 100644 index 000000000..d9df5c55e --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDialogSelectDescriptionImpl.java @@ -0,0 +1,352 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFTreeDescription; +import org.eclipse.eef.EEFTreeDialogSelectDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Tree Dialog Select Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl#getDefaultFilter Default Filter}
  • + *
  • {@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl#getDomainClass Domain Class}
  • + *
  • {@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl#getTree Tree}
  • + *
+ * + * @generated + */ +public class EEFTreeDialogSelectDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFTreeDialogSelectDescription { + /** + * The default value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. + * + * + * @see #getSemanticCandidateExpression() + * @generated + * @ordered + */ + protected static final String SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. + * + * + * @see #getSemanticCandidateExpression() + * @generated + * @ordered + */ + protected String semanticCandidateExpression = SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getDefaultFilter() Default Filter}' attribute. + * + * + * @see #getDefaultFilter() + * @generated + * @ordered + */ + protected static final String DEFAULT_FILTER_EDEFAULT = "*"; //$NON-NLS-1$ + + /** + * The cached value of the '{@link #getDefaultFilter() Default Filter}' attribute. + * + * + * @see #getDefaultFilter() + * @generated + * @ordered + */ + protected String defaultFilter = DEFAULT_FILTER_EDEFAULT; + + /** + * The default value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected static final String DOMAIN_CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. + * + * + * @see #getDomainClass() + * @generated + * @ordered + */ + protected String domainClass = DOMAIN_CLASS_EDEFAULT; + + /** + * The cached value of the '{@link #getTree() Tree}' reference. + * + * + * @see #getTree() + * @generated + * @ordered + */ + protected EEFTreeDescription tree; + + /** + * + * + * @generated + */ + protected EEFTreeDialogSelectDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getSemanticCandidateExpression() { + return semanticCandidateExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setSemanticCandidateExpression(String newSemanticCandidateExpression) { + String oldSemanticCandidateExpression = semanticCandidateExpression; + semanticCandidateExpression = newSemanticCandidateExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, + oldSemanticCandidateExpression, semanticCandidateExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getDefaultFilter() { + return defaultFilter; + } + + /** + * + * + * @generated + */ + @Override + public void setDefaultFilter(String newDefaultFilter) { + String oldDefaultFilter = defaultFilter; + defaultFilter = newDefaultFilter; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER, oldDefaultFilter, + defaultFilter)); + } + + /** + * + * + * @generated + */ + @Override + public String getDomainClass() { + return domainClass; + } + + /** + * + * + * @generated + */ + @Override + public void setDomainClass(String newDomainClass) { + String oldDomainClass = domainClass; + domainClass = newDomainClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS, oldDomainClass, + domainClass)); + } + + /** + * + * + * @generated + */ + @Override + public EEFTreeDescription getTree() { + if (tree != null && tree.eIsProxy()) { + InternalEObject oldTree = (InternalEObject) tree; + tree = (EEFTreeDescription) eResolveProxy(oldTree); + if (tree != oldTree) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE, oldTree, tree)); + } + } + return tree; + } + + /** + * + * + * @generated + */ + public EEFTreeDescription basicGetTree() { + return tree; + } + + /** + * + * + * @generated + */ + @Override + public void setTree(EEFTreeDescription newTree) { + EEFTreeDescription oldTree = tree; + tree = newTree; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE, oldTree, tree)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + return getSemanticCandidateExpression(); + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: + return getDefaultFilter(); + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: + return getDomainClass(); + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: + if (resolve) + return getTree(); + return basicGetTree(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + setSemanticCandidateExpression((String) newValue); + return; + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: + setDefaultFilter((String) newValue); + return; + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: + setDomainClass((String) newValue); + return; + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: + setTree((EEFTreeDescription) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + setSemanticCandidateExpression(SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: + setDefaultFilter(DEFAULT_FILTER_EDEFAULT); + return; + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: + setDomainClass(DOMAIN_CLASS_EDEFAULT); + return; + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: + setTree((EEFTreeDescription) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + return SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null + : !SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: + return DEFAULT_FILTER_EDEFAULT == null ? defaultFilter != null : !DEFAULT_FILTER_EDEFAULT.equals(defaultFilter); + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: + return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: + return tree != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (semanticCandidateExpression: "); //$NON-NLS-1$ + result.append(semanticCandidateExpression); + result.append(", defaultFilter: "); //$NON-NLS-1$ + result.append(defaultFilter); + result.append(", domainClass: "); //$NON-NLS-1$ + result.append(domainClass); + result.append(')'); + return result.toString(); + } + +} //EEFTreeDialogSelectDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStructureDescriptionImpl.java new file mode 100644 index 000000000..a666ca253 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStructureDescriptionImpl.java @@ -0,0 +1,228 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFTreeStructureDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'EEF Tree Structure Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl#isMultiple Multiple}
  • + *
+ * + * @generated + */ +public abstract class EEFTreeStructureDescriptionImpl extends MinimalEObjectImpl.Container implements EEFTreeStructureDescription { + /** + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #isMultiple() Multiple}' attribute. + * + * + * @see #isMultiple() + * @generated + * @ordered + */ + protected static final boolean MULTIPLE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isMultiple() Multiple}' attribute. + * + * + * @see #isMultiple() + * @generated + * @ordered + */ + protected boolean multiple = MULTIPLE_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFTreeStructureDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TREE_STRUCTURE_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); + } + + /** + * + * + * @generated + */ + @Override + public boolean isMultiple() { + return multiple; + } + + /** + * + * + * @generated + */ + @Override + public void setMultiple(boolean newMultiple) { + boolean oldMultiple = multiple; + multiple = newMultiple; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE, oldMultiple, multiple)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: + return getIdentifier(); + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: + return isMultiple(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: + setIdentifier((String) newValue); + return; + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: + setMultiple((Boolean) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: + setMultiple(MULTIPLE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: + return multiple != MULTIPLE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (identifier: "); //$NON-NLS-1$ + result.append(identifier); + result.append(", multiple: "); //$NON-NLS-1$ + result.append(multiple); + result.append(')'); + return result.toString(); + } + +} //EEFTreeStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java new file mode 100644 index 000000000..a3c1900f2 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java @@ -0,0 +1,519 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import java.util.Collection; + +import org.eclipse.eef.EEFGroupDescription; +import org.eclipse.eef.EEFJavaExtensionDescription; +import org.eclipse.eef.EEFPageDescription; +import org.eclipse.eef.EEFTableStructureDescription; +import org.eclipse.eef.EEFTreeStructureDescription; +import org.eclipse.eef.EEFViewDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EDataTypeUniqueEList; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.EObjectResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'EEF View Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getLabelExpression Label Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getEPackageNsUris EPackage Ns Uris}
  • + *
  • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getGroups Groups}
  • + *
  • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getPages Pages}
  • + *
  • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getJavaExtensions Java Extensions}
  • + *
  • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getImportedViews Imported Views}
  • + *
  • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getTreeStructures Tree Structures}
  • + *
  • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getTableStructures Table Structures}
  • + *
+ * + * @generated + */ +public class EEFViewDescriptionImpl extends ContextableElementImpl implements EEFViewDescription { + /** + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected static final String LABEL_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getEPackageNsUris() EPackage Ns Uris}' attribute list. + * + * + * @see #getEPackageNsUris() + * @generated + * @ordered + */ + protected EList ePackageNsUris; + + /** + * The cached value of the '{@link #getGroups() Groups}' containment reference list. + * + * + * @see #getGroups() + * @generated + * @ordered + */ + protected EList groups; + + /** + * The cached value of the '{@link #getPages() Pages}' containment reference list. + * + * + * @see #getPages() + * @generated + * @ordered + */ + protected EList pages; + + /** + * The cached value of the '{@link #getJavaExtensions() Java Extensions}' containment reference list. + * + * + * @see #getJavaExtensions() + * @generated + * @ordered + */ + protected EList javaExtensions; + + /** + * The cached value of the '{@link #getImportedViews() Imported Views}' reference list. + * + * + * @see #getImportedViews() + * @generated + * @ordered + */ + protected EList importedViews; + + /** + * The cached value of the '{@link #getTreeStructures() Tree Structures}' containment reference list. + * + * + * @see #getTreeStructures() + * @generated + * @ordered + */ + protected EList treeStructures; + + /** + * The cached value of the '{@link #getTableStructures() Table Structures}' containment reference list. + * + * + * @see #getTableStructures() + * @generated + * @ordered + */ + protected EList tableStructures; + + /** + * + * + * @generated + */ + protected EEFViewDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_VIEW_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); + } + + /** + * + * + * @generated + */ + @Override + public String getLabelExpression() { + return labelExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setLabelExpression(String newLabelExpression) { + String oldLabelExpression = labelExpression; + labelExpression = newLabelExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION, oldLabelExpression, + labelExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EList getEPackageNsUris() { + if (ePackageNsUris == null) { + ePackageNsUris = new EDataTypeUniqueEList(String.class, this, EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS); + } + return ePackageNsUris; + } + + /** + * + * + * @generated + */ + @Override + public EList getGroups() { + if (groups == null) { + groups = new EObjectContainmentEList.Resolving(EEFGroupDescription.class, this, + EefPackage.EEF_VIEW_DESCRIPTION__GROUPS); + } + return groups; + } + + /** + * + * + * @generated + */ + @Override + public EList getPages() { + if (pages == null) { + pages = new EObjectContainmentEList.Resolving(EEFPageDescription.class, this, EefPackage.EEF_VIEW_DESCRIPTION__PAGES); + } + return pages; + } + + /** + * + * + * @generated + */ + @Override + public EList getJavaExtensions() { + if (javaExtensions == null) { + javaExtensions = new EObjectContainmentEList.Resolving(EEFJavaExtensionDescription.class, this, + EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS); + } + return javaExtensions; + } + + /** + * + * + * @generated + */ + @Override + public EList getImportedViews() { + if (importedViews == null) { + importedViews = new EObjectResolvingEList(EEFViewDescription.class, this, + EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS); + } + return importedViews; + } + + /** + * + * + * @generated + */ + @Override + public EList getTreeStructures() { + if (treeStructures == null) { + treeStructures = new EObjectContainmentEList.Resolving(EEFTreeStructureDescription.class, this, + EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES); + } + return treeStructures; + } + + /** + * + * + * @generated + */ + @Override + public EList getTableStructures() { + if (tableStructures == null) { + tableStructures = new EObjectContainmentEList.Resolving(EEFTableStructureDescription.class, this, + EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES); + } + return tableStructures; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: + return ((InternalEList) getGroups()).basicRemove(otherEnd, msgs); + case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: + return ((InternalEList) getPages()).basicRemove(otherEnd, msgs); + case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: + return ((InternalEList) getJavaExtensions()).basicRemove(otherEnd, msgs); + case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: + return ((InternalEList) getTreeStructures()).basicRemove(otherEnd, msgs); + case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: + return ((InternalEList) getTableStructures()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: + return getIdentifier(); + case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: + return getLabelExpression(); + case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: + return getEPackageNsUris(); + case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: + return getGroups(); + case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: + return getPages(); + case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: + return getJavaExtensions(); + case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: + return getImportedViews(); + case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: + return getTreeStructures(); + case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: + return getTableStructures(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: + setIdentifier((String) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression((String) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: + getEPackageNsUris().clear(); + getEPackageNsUris().addAll((Collection) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: + getGroups().clear(); + getGroups().addAll((Collection) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: + getPages().clear(); + getPages().addAll((Collection) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: + getJavaExtensions().clear(); + getJavaExtensions().addAll((Collection) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: + getImportedViews().clear(); + getImportedViews().addAll((Collection) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: + getTreeStructures().clear(); + getTreeStructures().addAll((Collection) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: + getTableStructures().clear(); + getTableStructures().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression(LABEL_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: + getEPackageNsUris().clear(); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: + getGroups().clear(); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: + getPages().clear(); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: + getJavaExtensions().clear(); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: + getImportedViews().clear(); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: + getTreeStructures().clear(); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: + getTableStructures().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: + return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); + case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: + return ePackageNsUris != null && !ePackageNsUris.isEmpty(); + case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: + return groups != null && !groups.isEmpty(); + case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: + return pages != null && !pages.isEmpty(); + case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: + return javaExtensions != null && !javaExtensions.isEmpty(); + case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: + return importedViews != null && !importedViews.isEmpty(); + case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: + return treeStructures != null && !treeStructures.isEmpty(); + case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: + return tableStructures != null && !tableStructures.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (identifier: "); //$NON-NLS-1$ + result.append(identifier); + result.append(", labelExpression: "); //$NON-NLS-1$ + result.append(labelExpression); + result.append(", ePackageNsUris: "); //$NON-NLS-1$ + result.append(ePackageNsUris); + result.append(')'); + return result.toString(); + } + +} //EEFViewDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java new file mode 100644 index 000000000..5cff9abc6 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java @@ -0,0 +1,228 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFWidgetDescription; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Widget Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getLabelExpression Label Expression}
  • + *
+ * + * @generated + */ +public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl implements EEFWidgetDescription { + /** + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected static final String LABEL_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. + * + * + * @see #getLabelExpression() + * @generated + * @ordered + */ + protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFWidgetDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_WIDGET_DESCRIPTION; + } + + /** + * + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); + } + + /** + * + * + * @generated + */ + @Override + public String getLabelExpression() { + return labelExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setLabelExpression(String newLabelExpression) { + String oldLabelExpression = labelExpression; + labelExpression = newLabelExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION, oldLabelExpression, + labelExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: + return getIdentifier(); + case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: + return getLabelExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: + setIdentifier((String) newValue); + return; + case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: + setLabelExpression(LABEL_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: + return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (identifier: "); //$NON-NLS-1$ + result.append(identifier); + result.append(", labelExpression: "); //$NON-NLS-1$ + result.append(labelExpression); + result.append(')'); + return result.toString(); + } + +} //EEFWidgetDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java new file mode 100644 index 000000000..55e1c6b91 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java @@ -0,0 +1,447 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.*; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class EefFactoryImpl extends EFactoryImpl implements EefFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static EefFactory init() { + try { + EefFactory theEefFactory = (EefFactory) EPackage.Registry.INSTANCE.getEFactory(EefPackage.eNS_URI); + if (theEefFactory != null) { + return theEefFactory; + } + } catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new EefFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public EefFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case EefPackage.EEF_VIEW_DESCRIPTION: + return createEEFViewDescription(); + case EefPackage.EEF_PAGE_DESCRIPTION: + return createEEFPageDescription(); + case EefPackage.EEF_GROUP_DESCRIPTION: + return createEEFGroupDescription(); + case EefPackage.EEF_CONTAINER_DESCRIPTION: + return createEEFContainerDescription(); + case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION: + return createEEFJavaExtensionDescription(); + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION: + return createEEFInterpretedTableStructureDescription(); + case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION: + return createEEFAdapterFactoryTreeStructureDescription(); + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION: + return createEEFInterpretedTreeStructureDescription(); + case EefPackage.EEF_TEXT_DESCRIPTION: + return createEEFTextDescription(); + case EefPackage.EEF_CHECKBOX_DESCRIPTION: + return createEEFCheckboxDescription(); + case EefPackage.EEF_SELECT_DESCRIPTION: + return createEEFSelectDescription(); + case EefPackage.EEF_LABEL_DESCRIPTION: + return createEEFLabelDescription(); + case EefPackage.EEF_RADIO_DESCRIPTION: + return createEEFRadioDescription(); + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION: + return createEEFTreeDialogSelectDescription(); + case EefPackage.EEF_LINK_DESCRIPTION: + return createEEFLinkDescription(); + case EefPackage.EEF_IMAGE_DESCRIPTION: + return createEEFImageDescription(); + case EefPackage.EEF_TREE_DESCRIPTION: + return createEEFTreeDescription(); + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION: + return createEEFImagePickerDescription(); + case EefPackage.EEF_TABLE_DESCRIPTION: + return createEEFTableDescription(); + case EefPackage.EEF_COLUMN_DESCRIPTION: + return createEEFColumnDescription(); + case EefPackage.EEF_LINE_DESCRIPTION: + return createEEFLineDescription(); + case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION: + return createEEFAdapterFactoryTableStructureDescription(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case EefPackage.EXPRESSION: + return createExpressionFromString(eDataType, initialValue); + case EefPackage.TYPE_NAME: + return createTypeNameFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case EefPackage.EXPRESSION: + return convertExpressionToString(eDataType, instanceValue); + case EefPackage.TYPE_NAME: + return convertTypeNameToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + @Override + public EEFViewDescription createEEFViewDescription() { + EEFViewDescriptionImpl eefViewDescription = new EEFViewDescriptionImpl(); + return eefViewDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFPageDescription createEEFPageDescription() { + EEFPageDescriptionImpl eefPageDescription = new EEFPageDescriptionImpl(); + return eefPageDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFGroupDescription createEEFGroupDescription() { + EEFGroupDescriptionImpl eefGroupDescription = new EEFGroupDescriptionImpl(); + return eefGroupDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFContainerDescription createEEFContainerDescription() { + EEFContainerDescriptionImpl eefContainerDescription = new EEFContainerDescriptionImpl(); + return eefContainerDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFJavaExtensionDescription createEEFJavaExtensionDescription() { + EEFJavaExtensionDescriptionImpl eefJavaExtensionDescription = new EEFJavaExtensionDescriptionImpl(); + return eefJavaExtensionDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFInterpretedTableStructureDescription createEEFInterpretedTableStructureDescription() { + EEFInterpretedTableStructureDescriptionImpl eefInterpretedTableStructureDescription = new EEFInterpretedTableStructureDescriptionImpl(); + return eefInterpretedTableStructureDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFAdapterFactoryTreeStructureDescription createEEFAdapterFactoryTreeStructureDescription() { + EEFAdapterFactoryTreeStructureDescriptionImpl eefAdapterFactoryTreeStructureDescription = new EEFAdapterFactoryTreeStructureDescriptionImpl(); + return eefAdapterFactoryTreeStructureDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFInterpretedTreeStructureDescription createEEFInterpretedTreeStructureDescription() { + EEFInterpretedTreeStructureDescriptionImpl eefInterpretedTreeStructureDescription = new EEFInterpretedTreeStructureDescriptionImpl(); + return eefInterpretedTreeStructureDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFTextDescription createEEFTextDescription() { + EEFTextDescriptionImpl eefTextDescription = new EEFTextDescriptionImpl(); + return eefTextDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFCheckboxDescription createEEFCheckboxDescription() { + EEFCheckboxDescriptionImpl eefCheckboxDescription = new EEFCheckboxDescriptionImpl(); + return eefCheckboxDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFSelectDescription createEEFSelectDescription() { + EEFSelectDescriptionImpl eefSelectDescription = new EEFSelectDescriptionImpl(); + return eefSelectDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFLabelDescription createEEFLabelDescription() { + EEFLabelDescriptionImpl eefLabelDescription = new EEFLabelDescriptionImpl(); + return eefLabelDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFRadioDescription createEEFRadioDescription() { + EEFRadioDescriptionImpl eefRadioDescription = new EEFRadioDescriptionImpl(); + return eefRadioDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFTreeDialogSelectDescription createEEFTreeDialogSelectDescription() { + EEFTreeDialogSelectDescriptionImpl eefTreeDialogSelectDescription = new EEFTreeDialogSelectDescriptionImpl(); + return eefTreeDialogSelectDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFLinkDescription createEEFLinkDescription() { + EEFLinkDescriptionImpl eefLinkDescription = new EEFLinkDescriptionImpl(); + return eefLinkDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFImageDescription createEEFImageDescription() { + EEFImageDescriptionImpl eefImageDescription = new EEFImageDescriptionImpl(); + return eefImageDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFTreeDescription createEEFTreeDescription() { + EEFTreeDescriptionImpl eefTreeDescription = new EEFTreeDescriptionImpl(); + return eefTreeDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFImagePickerDescription createEEFImagePickerDescription() { + EEFImagePickerDescriptionImpl eefImagePickerDescription = new EEFImagePickerDescriptionImpl(); + return eefImagePickerDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFTableDescription createEEFTableDescription() { + EEFTableDescriptionImpl eefTableDescription = new EEFTableDescriptionImpl(); + return eefTableDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFColumnDescription createEEFColumnDescription() { + EEFColumnDescriptionImpl eefColumnDescription = new EEFColumnDescriptionImpl(); + return eefColumnDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFLineDescription createEEFLineDescription() { + EEFLineDescriptionImpl eefLineDescription = new EEFLineDescriptionImpl(); + return eefLineDescription; + } + + /** + * + * + * @generated + */ + @Override + public EEFAdapterFactoryTableStructureDescription createEEFAdapterFactoryTableStructureDescription() { + EEFAdapterFactoryTableStructureDescriptionImpl eefAdapterFactoryTableStructureDescription = new EEFAdapterFactoryTableStructureDescriptionImpl(); + return eefAdapterFactoryTableStructureDescription; + } + + /** + * + * + * @generated + */ + public String createExpressionFromString(EDataType eDataType, String initialValue) { + return (String) super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertExpressionToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public String createTypeNameFromString(EDataType eDataType, String initialValue) { + return (String) super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertTypeNameToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + @Override + public EefPackage getEefPackage() { + return (EefPackage) getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static EefPackage getPackage() { + return EefPackage.eINSTANCE; + } + +} //EefFactoryImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java new file mode 100644 index 000000000..5ec6aa888 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java @@ -0,0 +1,1935 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.ContextableElement; +import org.eclipse.eef.EEFAdapterFactoryTableStructureDescription; +import org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription; +import org.eclipse.eef.EEFCellWidgetDescription; +import org.eclipse.eef.EEFCheckboxDescription; +import org.eclipse.eef.EEFColumnDescription; +import org.eclipse.eef.EEFContainerDescription; +import org.eclipse.eef.EEFGroupDescription; +import org.eclipse.eef.EEFImageDescription; +import org.eclipse.eef.EEFImagePickerDescription; +import org.eclipse.eef.EEFInterpretedTableStructureDescription; +import org.eclipse.eef.EEFInterpretedTreeStructureDescription; +import org.eclipse.eef.EEFJavaExtensionDescription; +import org.eclipse.eef.EEFLabelDescription; +import org.eclipse.eef.EEFLineDescription; +import org.eclipse.eef.EEFLinkDescription; +import org.eclipse.eef.EEFPageDescription; +import org.eclipse.eef.EEFRadioDescription; +import org.eclipse.eef.EEFSelectDescription; +import org.eclipse.eef.EEFTableDescription; +import org.eclipse.eef.EEFTableStructureDescription; +import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.EEFTreeDescription; +import org.eclipse.eef.EEFTreeDialogSelectDescription; +import org.eclipse.eef.EEFTreeStructureDescription; +import org.eclipse.eef.EEFViewDescription; +import org.eclipse.eef.EEFWidgetDescription; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.sirius.context.ContextPackage; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class EefPackageImpl extends EPackageImpl implements EefPackage { + /** + * + * + * @generated + */ + private EClass eefViewDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefPageDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefGroupDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefContainerDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefWidgetDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefJavaExtensionDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTreeStructureDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefInterpretedTableStructureDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefCellWidgetDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefAdapterFactoryTreeStructureDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefInterpretedTreeStructureDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTextDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefCheckboxDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefSelectDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefLabelDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefRadioDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTreeDialogSelectDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefLinkDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefImageDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTreeDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefImagePickerDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTableDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefColumnDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefLineDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTableStructureDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass eefAdapterFactoryTableStructureDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass contextableElementEClass = null; + + /** + * + * + * @generated + */ + private EDataType expressionEDataType = null; + + /** + * + * + * @generated + */ + private EDataType typeNameEDataType = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.eef.EefPackage#eNS_URI + * @see #init() + * @generated + */ + private EefPackageImpl() { + super(eNS_URI, EefFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

This method is used to initialize {@link EefPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static EefPackage init() { + if (isInited) + return (EefPackage) EPackage.Registry.INSTANCE.getEPackage(EefPackage.eNS_URI); + + // Obtain or create and register package + EefPackageImpl theEefPackage = (EefPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EefPackageImpl + ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EefPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + ContextPackage.eINSTANCE.eClass(); + + // Create package meta-data objects + theEefPackage.createPackageContents(); + + // Initialize created meta-data + theEefPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theEefPackage.freeze(); + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(EefPackage.eNS_URI, theEefPackage); + return theEefPackage; + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFViewDescription() { + return eefViewDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFViewDescription_Identifier() { + return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFViewDescription_LabelExpression() { + return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFViewDescription_EPackageNsUris() { + return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFViewDescription_Groups() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFViewDescription_Pages() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFViewDescription_JavaExtensions() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFViewDescription_ImportedViews() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFViewDescription_TreeStructures() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(7); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFViewDescription_TableStructures() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(8); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFPageDescription() { + return eefPageDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFPageDescription_Identifier() { + return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFPageDescription_LabelExpression() { + return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFPageDescription_DomainClass() { + return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFPageDescription_SemanticCandidateExpression() { + return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFPageDescription_Groups() { + return (EReference) eefPageDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFPageDescription_ExtendedPage() { + return (EReference) eefPageDescriptionEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFGroupDescription() { + return eefGroupDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFGroupDescription_Identifier() { + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFGroupDescription_LabelExpression() { + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFGroupDescription_DomainClass() { + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFGroupDescription_SemanticCandidateExpression() { + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFGroupDescription_Container() { + return (EReference) eefGroupDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFContainerDescription() { + return eefContainerDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFContainerDescription_Identifier() { + return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFContainerDescription_SemanticCandidateExpression() { + return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFContainerDescription_DomainClass() { + return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFContainerDescription_LayoutColumnCount() { + return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFContainerDescription_Containers() { + return (EReference) eefContainerDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFContainerDescription_Widgets() { + return (EReference) eefContainerDescriptionEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFWidgetDescription() { + return eefWidgetDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFWidgetDescription_Identifier() { + return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFWidgetDescription_LabelExpression() { + return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFJavaExtensionDescription() { + return eefJavaExtensionDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFJavaExtensionDescription_QualifiedName() { + return (EAttribute) eefJavaExtensionDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTreeStructureDescription() { + return eefTreeStructureDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeStructureDescription_Identifier() { + return (EAttribute) eefTreeStructureDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeStructureDescription_Multiple() { + return (EAttribute) eefTreeStructureDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFInterpretedTableStructureDescription() { + return eefInterpretedTableStructureDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFInterpretedTableStructureDescription_Columns() { + return (EReference) eefInterpretedTableStructureDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFInterpretedTableStructureDescription_Line() { + return (EReference) eefInterpretedTableStructureDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFCellWidgetDescription() { + return eefCellWidgetDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFAdapterFactoryTreeStructureDescription() { + return eefAdapterFactoryTreeStructureDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider() { + return (EAttribute) eefAdapterFactoryTreeStructureDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFInterpretedTreeStructureDescription() { + return eefInterpretedTreeStructureDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFInterpretedTreeStructureDescription_RootsExpression() { + return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFInterpretedTreeStructureDescription_ChildrenExpression() { + return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression() { + return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression() { + return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTextDescription() { + return eefTextDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTextDescription_ValueExpression() { + return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTextDescription_EditExpression() { + return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTextDescription_LineCount() { + return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFCheckboxDescription() { + return eefCheckboxDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFCheckboxDescription_ValueExpression() { + return (EAttribute) eefCheckboxDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFCheckboxDescription_EditExpression() { + return (EAttribute) eefCheckboxDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFSelectDescription() { + return eefSelectDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFSelectDescription_ValueExpression() { + return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFSelectDescription_EditExpression() { + return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFSelectDescription_CandidatesExpression() { + return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFSelectDescription_Multiple() { + return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFSelectDescription_CandidateDisplayExpression() { + return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFLabelDescription() { + return eefLabelDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFLabelDescription_ValueExpression() { + return (EAttribute) eefLabelDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFRadioDescription() { + return eefRadioDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFRadioDescription_ValueExpression() { + return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFRadioDescription_EditExpression() { + return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFRadioDescription_CandidatesExpression() { + return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFRadioDescription_CandidateDisplayExpression() { + return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTreeDialogSelectDescription() { + return eefTreeDialogSelectDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeDialogSelectDescription_SemanticCandidateExpression() { + return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeDialogSelectDescription_DefaultFilter() { + return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeDialogSelectDescription_DomainClass() { + return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFTreeDialogSelectDescription_Tree() { + return (EReference) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFLinkDescription() { + return eefLinkDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFLinkDescription_OnClickExpression() { + return (EAttribute) eefLinkDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFImageDescription() { + return eefImageDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFImageDescription_ValueExpression() { + return (EAttribute) eefImageDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTreeDescription() { + return eefTreeDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeDescription_ValueExpression() { + return (EAttribute) eefTreeDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFTreeDescription_TreeStructure() { + return (EReference) eefTreeDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeDescription_EditExpression() { + return (EAttribute) eefTreeDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFImagePickerDescription() { + return eefImagePickerDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFImagePickerDescription_ValueExpression() { + return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFImagePickerDescription_EditExpression() { + return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFImagePickerDescription_CandidatesExpression() { + return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTableDescription() { + return eefTableDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTableDescription_ValueExpression() { + return (EAttribute) eefTableDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTableDescription_EditExpression() { + return (EAttribute) eefTableDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFTableDescription_TableStructure() { + return (EReference) eefTableDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFColumnDescription() { + return eefColumnDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFColumnDescription_Width() { + return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFColumnDescription_HeaderExpression() { + return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFColumnDescription_CellWidget() { + return (EReference) eefColumnDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFColumnDescription_ContextCandidatesExpression() { + return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFLineDescription() { + return eefLineDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFLineDescription_HeaderExpression() { + return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFLineDescription_SemanticCandidatesExpression() { + return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFLineDescription_DomainClass() { + return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFLineDescription_SubLines() { + return (EReference) eefLineDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTableStructureDescription() { + return eefTableStructureDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTableStructureDescription_Multiple() { + return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTableStructureDescription_Identifier() { + return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFAdapterFactoryTableStructureDescription() { + return eefAdapterFactoryTableStructureDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider() { + return (EAttribute) eefAdapterFactoryTableStructureDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getContextableElement() { + return contextableElementEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getContextableElement_RequiredContextVariables() { + return (EReference) contextableElementEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getContextableElement_ExcludedContextVariables() { + return (EReference) contextableElementEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EDataType getExpression() { + return expressionEDataType; + } + + /** + * + * + * @generated + */ + @Override + public EDataType getTypeName() { + return typeNameEDataType; + } + + /** + * + * + * @generated + */ + @Override + public EefFactory getEefFactory() { + return (EefFactory) getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) + return; + isCreated = true; + + // Create classes and their features + eefViewDescriptionEClass = createEClass(EEF_VIEW_DESCRIPTION); + createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__IDENTIFIER); + createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION); + createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS); + createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__GROUPS); + createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__PAGES); + createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS); + createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS); + createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__TREE_STRUCTURES); + createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES); + + eefPageDescriptionEClass = createEClass(EEF_PAGE_DESCRIPTION); + createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__IDENTIFIER); + createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION); + createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__DOMAIN_CLASS); + createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); + createEReference(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__GROUPS); + createEReference(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__EXTENDED_PAGE); + + eefGroupDescriptionEClass = createEClass(EEF_GROUP_DESCRIPTION); + createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__IDENTIFIER); + createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION); + createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__DOMAIN_CLASS); + createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); + createEReference(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__CONTAINER); + + eefContainerDescriptionEClass = createEClass(EEF_CONTAINER_DESCRIPTION); + createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__IDENTIFIER); + createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); + createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS); + createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT); + createEReference(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__CONTAINERS); + createEReference(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__WIDGETS); + + eefWidgetDescriptionEClass = createEClass(EEF_WIDGET_DESCRIPTION); + createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__IDENTIFIER); + createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION); + + eefJavaExtensionDescriptionEClass = createEClass(EEF_JAVA_EXTENSION_DESCRIPTION); + createEAttribute(eefJavaExtensionDescriptionEClass, EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME); + + eefTreeStructureDescriptionEClass = createEClass(EEF_TREE_STRUCTURE_DESCRIPTION); + createEAttribute(eefTreeStructureDescriptionEClass, EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER); + createEAttribute(eefTreeStructureDescriptionEClass, EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE); + + eefInterpretedTableStructureDescriptionEClass = createEClass(EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION); + createEReference(eefInterpretedTableStructureDescriptionEClass, EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS); + createEReference(eefInterpretedTableStructureDescriptionEClass, EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE); + + eefCellWidgetDescriptionEClass = createEClass(EEF_CELL_WIDGET_DESCRIPTION); + + eefAdapterFactoryTreeStructureDescriptionEClass = createEClass(EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION); + createEAttribute(eefAdapterFactoryTreeStructureDescriptionEClass, EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER); + + eefInterpretedTreeStructureDescriptionEClass = createEClass(EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION); + createEAttribute(eefInterpretedTreeStructureDescriptionEClass, EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION); + createEAttribute(eefInterpretedTreeStructureDescriptionEClass, EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION); + createEAttribute(eefInterpretedTreeStructureDescriptionEClass, EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION); + createEAttribute(eefInterpretedTreeStructureDescriptionEClass, EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION); + + eefTextDescriptionEClass = createEClass(EEF_TEXT_DESCRIPTION); + createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION); + createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION); + createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__LINE_COUNT); + + eefCheckboxDescriptionEClass = createEClass(EEF_CHECKBOX_DESCRIPTION); + createEAttribute(eefCheckboxDescriptionEClass, EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION); + createEAttribute(eefCheckboxDescriptionEClass, EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION); + + eefSelectDescriptionEClass = createEClass(EEF_SELECT_DESCRIPTION); + createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION); + createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION); + createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION); + createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__MULTIPLE); + createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION); + + eefLabelDescriptionEClass = createEClass(EEF_LABEL_DESCRIPTION); + createEAttribute(eefLabelDescriptionEClass, EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION); + + eefRadioDescriptionEClass = createEClass(EEF_RADIO_DESCRIPTION); + createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION); + createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION); + createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION); + createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION); + + eefTreeDialogSelectDescriptionEClass = createEClass(EEF_TREE_DIALOG_SELECT_DESCRIPTION); + createEAttribute(eefTreeDialogSelectDescriptionEClass, EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); + createEAttribute(eefTreeDialogSelectDescriptionEClass, EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER); + createEAttribute(eefTreeDialogSelectDescriptionEClass, EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS); + createEReference(eefTreeDialogSelectDescriptionEClass, EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE); + + eefLinkDescriptionEClass = createEClass(EEF_LINK_DESCRIPTION); + createEAttribute(eefLinkDescriptionEClass, EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION); + + eefImageDescriptionEClass = createEClass(EEF_IMAGE_DESCRIPTION); + createEAttribute(eefImageDescriptionEClass, EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION); + + eefTreeDescriptionEClass = createEClass(EEF_TREE_DESCRIPTION); + createEAttribute(eefTreeDescriptionEClass, EEF_TREE_DESCRIPTION__VALUE_EXPRESSION); + createEReference(eefTreeDescriptionEClass, EEF_TREE_DESCRIPTION__TREE_STRUCTURE); + createEAttribute(eefTreeDescriptionEClass, EEF_TREE_DESCRIPTION__EDIT_EXPRESSION); + + eefImagePickerDescriptionEClass = createEClass(EEF_IMAGE_PICKER_DESCRIPTION); + createEAttribute(eefImagePickerDescriptionEClass, EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION); + createEAttribute(eefImagePickerDescriptionEClass, EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION); + createEAttribute(eefImagePickerDescriptionEClass, EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION); + + eefTableDescriptionEClass = createEClass(EEF_TABLE_DESCRIPTION); + createEAttribute(eefTableDescriptionEClass, EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION); + createEAttribute(eefTableDescriptionEClass, EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION); + createEReference(eefTableDescriptionEClass, EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE); + + eefColumnDescriptionEClass = createEClass(EEF_COLUMN_DESCRIPTION); + createEAttribute(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__WIDTH); + createEAttribute(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION); + createEReference(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__CELL_WIDGET); + createEAttribute(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION); + + eefLineDescriptionEClass = createEClass(EEF_LINE_DESCRIPTION); + createEAttribute(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__HEADER_EXPRESSION); + createEAttribute(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION); + createEAttribute(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__DOMAIN_CLASS); + createEReference(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__SUB_LINES); + + eefTableStructureDescriptionEClass = createEClass(EEF_TABLE_STRUCTURE_DESCRIPTION); + createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE); + createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER); + + eefAdapterFactoryTableStructureDescriptionEClass = createEClass(EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION); + createEAttribute(eefAdapterFactoryTableStructureDescriptionEClass, EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER); + + contextableElementEClass = createEClass(CONTEXTABLE_ELEMENT); + createEReference(contextableElementEClass, CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES); + createEReference(contextableElementEClass, CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES); + + // Create data types + expressionEDataType = createEDataType(EXPRESSION); + typeNameEDataType = createEDataType(TYPE_NAME); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) + return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + ContextPackage theContextPackage = (ContextPackage) EPackage.Registry.INSTANCE.getEPackage(ContextPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + eefViewDescriptionEClass.getESuperTypes().add(this.getContextableElement()); + eefPageDescriptionEClass.getESuperTypes().add(this.getContextableElement()); + eefGroupDescriptionEClass.getESuperTypes().add(this.getContextableElement()); + eefContainerDescriptionEClass.getESuperTypes().add(this.getContextableElement()); + eefWidgetDescriptionEClass.getESuperTypes().add(this.getContextableElement()); + eefInterpretedTableStructureDescriptionEClass.getESuperTypes().add(this.getEEFTableStructureDescription()); + eefCellWidgetDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); + eefAdapterFactoryTreeStructureDescriptionEClass.getESuperTypes().add(this.getEEFTreeStructureDescription()); + eefInterpretedTreeStructureDescriptionEClass.getESuperTypes().add(this.getEEFTreeStructureDescription()); + eefTextDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefCheckboxDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefSelectDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefLabelDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefRadioDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); + eefTreeDialogSelectDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefLinkDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefImageDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefTreeDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); + eefImagePickerDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); + eefTableDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); + eefAdapterFactoryTableStructureDescriptionEClass.getESuperTypes().add(this.getEEFTableStructureDescription()); + + // Initialize classes and features; add operations and parameters + initEClass(eefViewDescriptionEClass, EEFViewDescription.class, "EEFViewDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFViewDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, EEFViewDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFViewDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, EEFViewDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFViewDescription_EPackageNsUris(), ecorePackage.getEString(), "ePackageNsUris", null, 0, -1, EEFViewDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFViewDescription_Groups(), this.getEEFGroupDescription(), null, "groups", null, 0, -1, EEFViewDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFViewDescription_Pages(), this.getEEFPageDescription(), null, "pages", null, 1, -1, EEFViewDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFViewDescription_JavaExtensions(), this.getEEFJavaExtensionDescription(), null, "javaExtensions", null, 0, -1, //$NON-NLS-1$ + EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEReference(getEEFViewDescription_ImportedViews(), this.getEEFViewDescription(), null, "importedViews", null, 0, -1, //$NON-NLS-1$ + EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEReference(getEEFViewDescription_TreeStructures(), this.getEEFTreeStructureDescription(), null, "treeStructures", null, 0, -1, //$NON-NLS-1$ + EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEReference(getEEFViewDescription_TableStructures(), this.getEEFTableStructureDescription(), null, "tableStructures", null, 0, -1, //$NON-NLS-1$ + EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + initEClass(eefPageDescriptionEClass, EEFPageDescription.class, "EEFPageDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFPageDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, EEFPageDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFPageDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, EEFPageDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFPageDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, EEFPageDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFPageDescription_SemanticCandidateExpression(), this.getExpression(), "semanticCandidateExpression", "", 0, 1, //$NON-NLS-1$//$NON-NLS-2$ + EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFPageDescription_Groups(), this.getEEFGroupDescription(), null, "groups", null, 0, -1, EEFPageDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFPageDescription_ExtendedPage(), this.getEEFPageDescription(), null, "extendedPage", null, 0, 1, EEFPageDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefGroupDescriptionEClass, EEFGroupDescription.class, "EEFGroupDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFGroupDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, EEFGroupDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFGroupDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, EEFGroupDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFGroupDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, EEFGroupDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFGroupDescription_SemanticCandidateExpression(), this.getExpression(), "semanticCandidateExpression", null, 0, 1, //$NON-NLS-1$ + EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFGroupDescription_Container(), this.getEEFContainerDescription(), null, "container", null, 1, 1, //$NON-NLS-1$ + EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + initEClass(eefContainerDescriptionEClass, EEFContainerDescription.class, "EEFContainerDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFContainerDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, EEFContainerDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFContainerDescription_SemanticCandidateExpression(), this.getExpression(), "semanticCandidateExpression", null, 0, 1, //$NON-NLS-1$ + EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEAttribute(getEEFContainerDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, EEFContainerDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFContainerDescription_LayoutColumnCount(), ecorePackage.getEInt(), "layoutColumnCount", "1", 0, 1, //$NON-NLS-1$//$NON-NLS-2$ + EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEReference(getEEFContainerDescription_Containers(), this.getEEFContainerDescription(), null, "containers", null, 0, -1, //$NON-NLS-1$ + EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFContainerDescription_Widgets(), this.getEEFWidgetDescription(), null, "widgets", null, 1, -1, //$NON-NLS-1$ + EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefWidgetDescriptionEClass, EEFWidgetDescription.class, "EEFWidgetDescription", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFWidgetDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, EEFWidgetDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFWidgetDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, EEFWidgetDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefJavaExtensionDescriptionEClass, EEFJavaExtensionDescription.class, "EEFJavaExtensionDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFJavaExtensionDescription_QualifiedName(), ecorePackage.getEString(), "qualifiedName", null, 0, 1, //$NON-NLS-1$ + EEFJavaExtensionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(eefTreeStructureDescriptionEClass, EEFTreeStructureDescription.class, "EEFTreeStructureDescription", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFTreeStructureDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ + EEFTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEAttribute(getEEFTreeStructureDescription_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, //$NON-NLS-1$ + EEFTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(eefInterpretedTableStructureDescriptionEClass, EEFInterpretedTableStructureDescription.class, + "EEFInterpretedTableStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getEEFInterpretedTableStructureDescription_Columns(), this.getEEFColumnDescription(), null, "columns", null, 0, -1, //$NON-NLS-1$ + EEFInterpretedTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFInterpretedTableStructureDescription_Line(), this.getEEFLineDescription(), null, "line", null, 0, 1, //$NON-NLS-1$ + EEFInterpretedTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefCellWidgetDescriptionEClass, EEFCellWidgetDescription.class, "EEFCellWidgetDescription", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + + initEClass(eefAdapterFactoryTreeStructureDescriptionEClass, EEFAdapterFactoryTreeStructureDescription.class, + "EEFAdapterFactoryTreeStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(), ecorePackage.getEString(), "adapterFactoryProvider", //$NON-NLS-1$ + null, 0, 1, EEFAdapterFactoryTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefInterpretedTreeStructureDescriptionEClass, EEFInterpretedTreeStructureDescription.class, + "EEFInterpretedTreeStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFInterpretedTreeStructureDescription_RootsExpression(), this.getExpression(), "rootsExpression", null, 0, 1, //$NON-NLS-1$ + EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFInterpretedTreeStructureDescription_ChildrenExpression(), this.getExpression(), "childrenExpression", null, 0, 1, //$NON-NLS-1$ + EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(), this.getExpression(), + "selectablePredicateExpression", null, 0, 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ + !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(), this.getExpression(), "candidateDisplayExpression", //$NON-NLS-1$ + null, 0, 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTextDescriptionEClass, EEFTextDescription.class, "EEFTextDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFTextDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFTextDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTextDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, EEFTextDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTextDescription_LineCount(), ecorePackage.getEInt(), "lineCount", "1", 0, 1, EEFTextDescription.class, !IS_TRANSIENT, //$NON-NLS-1$//$NON-NLS-2$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefCheckboxDescriptionEClass, EEFCheckboxDescription.class, "EEFCheckboxDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFCheckboxDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFCheckboxDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFCheckboxDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, EEFCheckboxDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefSelectDescriptionEClass, EEFSelectDescription.class, "EEFSelectDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFSelectDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFSelectDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFSelectDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, EEFSelectDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFSelectDescription_CandidatesExpression(), this.getExpression(), "candidatesExpression", null, 0, 1, //$NON-NLS-1$ + EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFSelectDescription_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, EEFSelectDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFSelectDescription_CandidateDisplayExpression(), this.getExpression(), "candidateDisplayExpression", null, 0, 1, //$NON-NLS-1$ + EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefLabelDescriptionEClass, EEFLabelDescription.class, "EEFLabelDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFLabelDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFLabelDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefRadioDescriptionEClass, EEFRadioDescription.class, "EEFRadioDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFRadioDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFRadioDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFRadioDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, EEFRadioDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFRadioDescription_CandidatesExpression(), this.getExpression(), "candidatesExpression", null, 0, 1, //$NON-NLS-1$ + EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFRadioDescription_CandidateDisplayExpression(), this.getExpression(), "candidateDisplayExpression", null, 0, 1, //$NON-NLS-1$ + EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTreeDialogSelectDescriptionEClass, EEFTreeDialogSelectDescription.class, "EEFTreeDialogSelectDescription", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFTreeDialogSelectDescription_SemanticCandidateExpression(), this.getExpression(), "semanticCandidateExpression", null, 0, //$NON-NLS-1$ + 1, EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEAttribute(getEEFTreeDialogSelectDescription_DefaultFilter(), ecorePackage.getEString(), "defaultFilter", "*", 0, 1, //$NON-NLS-1$//$NON-NLS-2$ + EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEAttribute(getEEFTreeDialogSelectDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, //$NON-NLS-1$ + EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEReference(getEEFTreeDialogSelectDescription_Tree(), this.getEEFTreeDescription(), null, "tree", null, 0, 1, //$NON-NLS-1$ + EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefLinkDescriptionEClass, EEFLinkDescription.class, "EEFLinkDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFLinkDescription_OnClickExpression(), this.getExpression(), "onClickExpression", null, 0, 1, EEFLinkDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefImageDescriptionEClass, EEFImageDescription.class, "EEFImageDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFImageDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFImageDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTreeDescriptionEClass, EEFTreeDescription.class, "EEFTreeDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFTreeDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFTreeDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFTreeDescription_TreeStructure(), this.getEEFTreeStructureDescription(), null, "treeStructure", null, 0, 1, //$NON-NLS-1$ + EEFTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTreeDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, EEFTreeDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefImagePickerDescriptionEClass, EEFImagePickerDescription.class, "EEFImagePickerDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFImagePickerDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFImagePickerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEAttribute(getEEFImagePickerDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ + EEFImagePickerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEAttribute(getEEFImagePickerDescription_CandidatesExpression(), this.getExpression(), "candidatesExpression", null, 0, 1, //$NON-NLS-1$ + EEFImagePickerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(eefTableDescriptionEClass, EEFTableDescription.class, "EEFTableDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFTableDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFTableDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTableDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, EEFTableDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFTableDescription_TableStructure(), this.getEEFTableStructureDescription(), null, "tableStructure", null, 0, 1, //$NON-NLS-1$ + EEFTableDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + initEClass(eefColumnDescriptionEClass, EEFColumnDescription.class, "EEFColumnDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFColumnDescription_Width(), ecorePackage.getEInt(), "width", null, 0, 1, EEFColumnDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFColumnDescription_HeaderExpression(), this.getExpression(), "headerExpression", null, 0, 1, EEFColumnDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFColumnDescription_CellWidget(), this.getEEFCellWidgetDescription(), null, "cellWidget", null, 0, 1, //$NON-NLS-1$ + EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFColumnDescription_ContextCandidatesExpression(), this.getExpression(), "contextCandidatesExpression", null, 0, 1, //$NON-NLS-1$ + EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefLineDescriptionEClass, EEFLineDescription.class, "EEFLineDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFLineDescription_HeaderExpression(), ecorePackage.getEString(), "headerExpression", null, 0, 1, EEFLineDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLineDescription_SemanticCandidatesExpression(), this.getExpression(), "semanticCandidatesExpression", null, 0, 1, //$NON-NLS-1$ + EEFLineDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLineDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, EEFLineDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFLineDescription_SubLines(), this.getEEFLineDescription(), null, "subLines", null, 0, -1, EEFLineDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTableStructureDescriptionEClass, EEFTableStructureDescription.class, "EEFTableStructureDescription", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFTableStructureDescription_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, //$NON-NLS-1$ + EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEAttribute(getEEFTableStructureDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ + EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(eefAdapterFactoryTableStructureDescriptionEClass, EEFAdapterFactoryTableStructureDescription.class, + "EEFAdapterFactoryTableStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(), ecorePackage.getEString(), "adapterFactoryProvider", //$NON-NLS-1$ + null, 0, 1, EEFAdapterFactoryTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(contextableElementEClass, ContextableElement.class, "ContextableElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getContextableElement_RequiredContextVariables(), theContextPackage.getContextVariable(), null, "requiredContextVariables", //$NON-NLS-1$ + null, 0, -1, ContextableElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getContextableElement_ExcludedContextVariables(), theContextPackage.getContextVariable(), null, "excludedContextVariables", //$NON-NLS-1$ + null, 0, -1, ContextableElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize data types + initEDataType(expressionEDataType, String.class, "Expression", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEDataType(typeNameEDataType, String.class, "TypeName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + // Create resource + createResource(eNS_URI); + } + +} //EefPackageImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java new file mode 100644 index 000000000..bd09cd529 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java @@ -0,0 +1,619 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.util; + +import org.eclipse.eef.*; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see org.eclipse.eef.EefPackage + * @generated + */ +public class EefAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static EefPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public EefAdapterFactory() { + if (modelPackage == null) { + modelPackage = EefPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject) object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected EefSwitch modelSwitch = new EefSwitch() { + @Override + public Adapter caseEEFViewDescription(EEFViewDescription object) { + return createEEFViewDescriptionAdapter(); + } + + @Override + public Adapter caseEEFPageDescription(EEFPageDescription object) { + return createEEFPageDescriptionAdapter(); + } + + @Override + public Adapter caseEEFGroupDescription(EEFGroupDescription object) { + return createEEFGroupDescriptionAdapter(); + } + + @Override + public Adapter caseEEFContainerDescription(EEFContainerDescription object) { + return createEEFContainerDescriptionAdapter(); + } + + @Override + public Adapter caseEEFWidgetDescription(EEFWidgetDescription object) { + return createEEFWidgetDescriptionAdapter(); + } + + @Override + public Adapter caseEEFJavaExtensionDescription(EEFJavaExtensionDescription object) { + return createEEFJavaExtensionDescriptionAdapter(); + } + + @Override + public Adapter caseEEFTreeStructureDescription(EEFTreeStructureDescription object) { + return createEEFTreeStructureDescriptionAdapter(); + } + + @Override + public Adapter caseEEFInterpretedTableStructureDescription(EEFInterpretedTableStructureDescription object) { + return createEEFInterpretedTableStructureDescriptionAdapter(); + } + + @Override + public Adapter caseEEFCellWidgetDescription(EEFCellWidgetDescription object) { + return createEEFCellWidgetDescriptionAdapter(); + } + + @Override + public Adapter caseEEFAdapterFactoryTreeStructureDescription(EEFAdapterFactoryTreeStructureDescription object) { + return createEEFAdapterFactoryTreeStructureDescriptionAdapter(); + } + + @Override + public Adapter caseEEFInterpretedTreeStructureDescription(EEFInterpretedTreeStructureDescription object) { + return createEEFInterpretedTreeStructureDescriptionAdapter(); + } + + @Override + public Adapter caseEEFTextDescription(EEFTextDescription object) { + return createEEFTextDescriptionAdapter(); + } + + @Override + public Adapter caseEEFCheckboxDescription(EEFCheckboxDescription object) { + return createEEFCheckboxDescriptionAdapter(); + } + + @Override + public Adapter caseEEFSelectDescription(EEFSelectDescription object) { + return createEEFSelectDescriptionAdapter(); + } + + @Override + public Adapter caseEEFLabelDescription(EEFLabelDescription object) { + return createEEFLabelDescriptionAdapter(); + } + + @Override + public Adapter caseEEFRadioDescription(EEFRadioDescription object) { + return createEEFRadioDescriptionAdapter(); + } + + @Override + public Adapter caseEEFTreeDialogSelectDescription(EEFTreeDialogSelectDescription object) { + return createEEFTreeDialogSelectDescriptionAdapter(); + } + + @Override + public Adapter caseEEFLinkDescription(EEFLinkDescription object) { + return createEEFLinkDescriptionAdapter(); + } + + @Override + public Adapter caseEEFImageDescription(EEFImageDescription object) { + return createEEFImageDescriptionAdapter(); + } + + @Override + public Adapter caseEEFTreeDescription(EEFTreeDescription object) { + return createEEFTreeDescriptionAdapter(); + } + + @Override + public Adapter caseEEFImagePickerDescription(EEFImagePickerDescription object) { + return createEEFImagePickerDescriptionAdapter(); + } + + @Override + public Adapter caseEEFTableDescription(EEFTableDescription object) { + return createEEFTableDescriptionAdapter(); + } + + @Override + public Adapter caseEEFColumnDescription(EEFColumnDescription object) { + return createEEFColumnDescriptionAdapter(); + } + + @Override + public Adapter caseEEFLineDescription(EEFLineDescription object) { + return createEEFLineDescriptionAdapter(); + } + + @Override + public Adapter caseEEFTableStructureDescription(EEFTableStructureDescription object) { + return createEEFTableStructureDescriptionAdapter(); + } + + @Override + public Adapter caseEEFAdapterFactoryTableStructureDescription(EEFAdapterFactoryTableStructureDescription object) { + return createEEFAdapterFactoryTableStructureDescriptionAdapter(); + } + + @Override + public Adapter caseContextableElement(ContextableElement object) { + return createContextableElementAdapter(); + } + + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject) target); + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFViewDescription EEF View Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFViewDescription + * @generated + */ + public Adapter createEEFViewDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFPageDescription EEF Page Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFPageDescription + * @generated + */ + public Adapter createEEFPageDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFGroupDescription EEF Group Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFGroupDescription + * @generated + */ + public Adapter createEEFGroupDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFContainerDescription EEF Container Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFContainerDescription + * @generated + */ + public Adapter createEEFContainerDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFWidgetDescription EEF Widget Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFWidgetDescription + * @generated + */ + public Adapter createEEFWidgetDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFJavaExtensionDescription EEF Java Extension Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFJavaExtensionDescription + * @generated + */ + public Adapter createEEFJavaExtensionDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTreeStructureDescription EEF Tree Structure Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFTreeStructureDescription + * @generated + */ + public Adapter createEEFTreeStructureDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription EEF Interpreted Table Structure Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFInterpretedTableStructureDescription + * @generated + */ + public Adapter createEEFInterpretedTableStructureDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFCellWidgetDescription EEF Cell Widget Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFCellWidgetDescription + * @generated + */ + public Adapter createEEFCellWidgetDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription EEF Adapter Factory Tree Structure Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription + * @generated + */ + public Adapter createEEFAdapterFactoryTreeStructureDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription EEF Interpreted Tree Structure Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription + * @generated + */ + public Adapter createEEFInterpretedTreeStructureDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTextDescription EEF Text Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFTextDescription + * @generated + */ + public Adapter createEEFTextDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFCheckboxDescription EEF Checkbox Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFCheckboxDescription + * @generated + */ + public Adapter createEEFCheckboxDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFSelectDescription EEF Select Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFSelectDescription + * @generated + */ + public Adapter createEEFSelectDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLabelDescription EEF Label Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFLabelDescription + * @generated + */ + public Adapter createEEFLabelDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFRadioDescription EEF Radio Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFRadioDescription + * @generated + */ + public Adapter createEEFRadioDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTreeDialogSelectDescription EEF Tree Dialog Select Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFTreeDialogSelectDescription + * @generated + */ + public Adapter createEEFTreeDialogSelectDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLinkDescription EEF Link Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFLinkDescription + * @generated + */ + public Adapter createEEFLinkDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFImageDescription EEF Image Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFImageDescription + * @generated + */ + public Adapter createEEFImageDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTreeDescription EEF Tree Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFTreeDescription + * @generated + */ + public Adapter createEEFTreeDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFImagePickerDescription EEF Image Picker Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFImagePickerDescription + * @generated + */ + public Adapter createEEFImagePickerDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTableDescription EEF Table Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFTableDescription + * @generated + */ + public Adapter createEEFTableDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFColumnDescription EEF Column Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFColumnDescription + * @generated + */ + public Adapter createEEFColumnDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLineDescription EEF Line Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFLineDescription + * @generated + */ + public Adapter createEEFLineDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTableStructureDescription EEF Table Structure Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFTableStructureDescription + * @generated + */ + public Adapter createEEFTableStructureDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription EEF Adapter Factory Table Structure Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFAdapterFactoryTableStructureDescription + * @generated + */ + public Adapter createEEFAdapterFactoryTableStructureDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.ContextableElement Contextable Element}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.ContextableElement + * @generated + */ + public Adapter createContextableElementAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //EefAdapterFactory diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java new file mode 100644 index 000000000..84b074b15 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java @@ -0,0 +1,772 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.util; + +import org.eclipse.eef.*; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see org.eclipse.eef.EefPackage + * @generated + */ +public class EefSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static EefPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public EefSwitch() { + if (modelPackage == null) { + modelPackage = EefPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case EefPackage.EEF_VIEW_DESCRIPTION: { + EEFViewDescription eefViewDescription = (EEFViewDescription) theEObject; + T result = caseEEFViewDescription(eefViewDescription); + if (result == null) + result = caseContextableElement(eefViewDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_PAGE_DESCRIPTION: { + EEFPageDescription eefPageDescription = (EEFPageDescription) theEObject; + T result = caseEEFPageDescription(eefPageDescription); + if (result == null) + result = caseContextableElement(eefPageDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_GROUP_DESCRIPTION: { + EEFGroupDescription eefGroupDescription = (EEFGroupDescription) theEObject; + T result = caseEEFGroupDescription(eefGroupDescription); + if (result == null) + result = caseContextableElement(eefGroupDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_CONTAINER_DESCRIPTION: { + EEFContainerDescription eefContainerDescription = (EEFContainerDescription) theEObject; + T result = caseEEFContainerDescription(eefContainerDescription); + if (result == null) + result = caseContextableElement(eefContainerDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_WIDGET_DESCRIPTION: { + EEFWidgetDescription eefWidgetDescription = (EEFWidgetDescription) theEObject; + T result = caseEEFWidgetDescription(eefWidgetDescription); + if (result == null) + result = caseContextableElement(eefWidgetDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION: { + EEFJavaExtensionDescription eefJavaExtensionDescription = (EEFJavaExtensionDescription) theEObject; + T result = caseEEFJavaExtensionDescription(eefJavaExtensionDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION: { + EEFTreeStructureDescription eefTreeStructureDescription = (EEFTreeStructureDescription) theEObject; + T result = caseEEFTreeStructureDescription(eefTreeStructureDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION: { + EEFInterpretedTableStructureDescription eefInterpretedTableStructureDescription = (EEFInterpretedTableStructureDescription) theEObject; + T result = caseEEFInterpretedTableStructureDescription(eefInterpretedTableStructureDescription); + if (result == null) + result = caseEEFTableStructureDescription(eefInterpretedTableStructureDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_CELL_WIDGET_DESCRIPTION: { + EEFCellWidgetDescription eefCellWidgetDescription = (EEFCellWidgetDescription) theEObject; + T result = caseEEFCellWidgetDescription(eefCellWidgetDescription); + if (result == null) + result = caseEEFWidgetDescription(eefCellWidgetDescription); + if (result == null) + result = caseContextableElement(eefCellWidgetDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION: { + EEFAdapterFactoryTreeStructureDescription eefAdapterFactoryTreeStructureDescription = (EEFAdapterFactoryTreeStructureDescription) theEObject; + T result = caseEEFAdapterFactoryTreeStructureDescription(eefAdapterFactoryTreeStructureDescription); + if (result == null) + result = caseEEFTreeStructureDescription(eefAdapterFactoryTreeStructureDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION: { + EEFInterpretedTreeStructureDescription eefInterpretedTreeStructureDescription = (EEFInterpretedTreeStructureDescription) theEObject; + T result = caseEEFInterpretedTreeStructureDescription(eefInterpretedTreeStructureDescription); + if (result == null) + result = caseEEFTreeStructureDescription(eefInterpretedTreeStructureDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TEXT_DESCRIPTION: { + EEFTextDescription eefTextDescription = (EEFTextDescription) theEObject; + T result = caseEEFTextDescription(eefTextDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefTextDescription); + if (result == null) + result = caseEEFWidgetDescription(eefTextDescription); + if (result == null) + result = caseContextableElement(eefTextDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_CHECKBOX_DESCRIPTION: { + EEFCheckboxDescription eefCheckboxDescription = (EEFCheckboxDescription) theEObject; + T result = caseEEFCheckboxDescription(eefCheckboxDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefCheckboxDescription); + if (result == null) + result = caseEEFWidgetDescription(eefCheckboxDescription); + if (result == null) + result = caseContextableElement(eefCheckboxDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_SELECT_DESCRIPTION: { + EEFSelectDescription eefSelectDescription = (EEFSelectDescription) theEObject; + T result = caseEEFSelectDescription(eefSelectDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefSelectDescription); + if (result == null) + result = caseEEFWidgetDescription(eefSelectDescription); + if (result == null) + result = caseContextableElement(eefSelectDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_LABEL_DESCRIPTION: { + EEFLabelDescription eefLabelDescription = (EEFLabelDescription) theEObject; + T result = caseEEFLabelDescription(eefLabelDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefLabelDescription); + if (result == null) + result = caseEEFWidgetDescription(eefLabelDescription); + if (result == null) + result = caseContextableElement(eefLabelDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_RADIO_DESCRIPTION: { + EEFRadioDescription eefRadioDescription = (EEFRadioDescription) theEObject; + T result = caseEEFRadioDescription(eefRadioDescription); + if (result == null) + result = caseEEFWidgetDescription(eefRadioDescription); + if (result == null) + result = caseContextableElement(eefRadioDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION: { + EEFTreeDialogSelectDescription eefTreeDialogSelectDescription = (EEFTreeDialogSelectDescription) theEObject; + T result = caseEEFTreeDialogSelectDescription(eefTreeDialogSelectDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefTreeDialogSelectDescription); + if (result == null) + result = caseEEFWidgetDescription(eefTreeDialogSelectDescription); + if (result == null) + result = caseContextableElement(eefTreeDialogSelectDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_LINK_DESCRIPTION: { + EEFLinkDescription eefLinkDescription = (EEFLinkDescription) theEObject; + T result = caseEEFLinkDescription(eefLinkDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefLinkDescription); + if (result == null) + result = caseEEFWidgetDescription(eefLinkDescription); + if (result == null) + result = caseContextableElement(eefLinkDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_IMAGE_DESCRIPTION: { + EEFImageDescription eefImageDescription = (EEFImageDescription) theEObject; + T result = caseEEFImageDescription(eefImageDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefImageDescription); + if (result == null) + result = caseEEFWidgetDescription(eefImageDescription); + if (result == null) + result = caseContextableElement(eefImageDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TREE_DESCRIPTION: { + EEFTreeDescription eefTreeDescription = (EEFTreeDescription) theEObject; + T result = caseEEFTreeDescription(eefTreeDescription); + if (result == null) + result = caseEEFCellWidgetDescription(eefTreeDescription); + if (result == null) + result = caseEEFWidgetDescription(eefTreeDescription); + if (result == null) + result = caseContextableElement(eefTreeDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION: { + EEFImagePickerDescription eefImagePickerDescription = (EEFImagePickerDescription) theEObject; + T result = caseEEFImagePickerDescription(eefImagePickerDescription); + if (result == null) + result = caseEEFWidgetDescription(eefImagePickerDescription); + if (result == null) + result = caseContextableElement(eefImagePickerDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TABLE_DESCRIPTION: { + EEFTableDescription eefTableDescription = (EEFTableDescription) theEObject; + T result = caseEEFTableDescription(eefTableDescription); + if (result == null) + result = caseEEFWidgetDescription(eefTableDescription); + if (result == null) + result = caseContextableElement(eefTableDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_COLUMN_DESCRIPTION: { + EEFColumnDescription eefColumnDescription = (EEFColumnDescription) theEObject; + T result = caseEEFColumnDescription(eefColumnDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_LINE_DESCRIPTION: { + EEFLineDescription eefLineDescription = (EEFLineDescription) theEObject; + T result = caseEEFLineDescription(eefLineDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION: { + EEFTableStructureDescription eefTableStructureDescription = (EEFTableStructureDescription) theEObject; + T result = caseEEFTableStructureDescription(eefTableStructureDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION: { + EEFAdapterFactoryTableStructureDescription eefAdapterFactoryTableStructureDescription = (EEFAdapterFactoryTableStructureDescription) theEObject; + T result = caseEEFAdapterFactoryTableStructureDescription(eefAdapterFactoryTableStructureDescription); + if (result == null) + result = caseEEFTableStructureDescription(eefAdapterFactoryTableStructureDescription); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.CONTEXTABLE_ELEMENT: { + ContextableElement contextableElement = (ContextableElement) theEObject; + T result = caseContextableElement(contextableElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + default: + return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF View Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF View Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFViewDescription(EEFViewDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Page Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Page Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFPageDescription(EEFPageDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Group Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Group Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFGroupDescription(EEFGroupDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Container Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Container Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFContainerDescription(EEFContainerDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Widget Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Widget Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFWidgetDescription(EEFWidgetDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Java Extension Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Java Extension Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFJavaExtensionDescription(EEFJavaExtensionDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Tree Structure Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Tree Structure Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTreeStructureDescription(EEFTreeStructureDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Interpreted Table Structure Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Interpreted Table Structure Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFInterpretedTableStructureDescription(EEFInterpretedTableStructureDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Cell Widget Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Cell Widget Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFCellWidgetDescription(EEFCellWidgetDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Adapter Factory Tree Structure Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Adapter Factory Tree Structure Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFAdapterFactoryTreeStructureDescription(EEFAdapterFactoryTreeStructureDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Interpreted Tree Structure Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Interpreted Tree Structure Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFInterpretedTreeStructureDescription(EEFInterpretedTreeStructureDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Text Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Text Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTextDescription(EEFTextDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Checkbox Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Checkbox Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFCheckboxDescription(EEFCheckboxDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Select Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Select Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFSelectDescription(EEFSelectDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Label Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Label Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFLabelDescription(EEFLabelDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Radio Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Radio Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFRadioDescription(EEFRadioDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Tree Dialog Select Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Tree Dialog Select Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTreeDialogSelectDescription(EEFTreeDialogSelectDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Link Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Link Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFLinkDescription(EEFLinkDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Image Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Image Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFImageDescription(EEFImageDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Tree Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Tree Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTreeDescription(EEFTreeDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Image Picker Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Image Picker Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFImagePickerDescription(EEFImagePickerDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Table Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Table Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTableDescription(EEFTableDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Column Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Column Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFColumnDescription(EEFColumnDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Line Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Line Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFLineDescription(EEFLineDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Table Structure Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Table Structure Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTableStructureDescription(EEFTableStructureDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Adapter Factory Table Structure Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Adapter Factory Table Structure Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFAdapterFactoryTableStructureDescription(EEFAdapterFactoryTableStructureDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Contextable Element'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Contextable Element'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContextableElement(ContextableElement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //EefSwitch diff --git a/plugins/org.eclipse.eef/src/org/eclipse/eef/api/IEEFViewDescriptionProvider.java b/plugins/org.eclipse.eef/src/org/eclipse/eef/api/IEEFViewDescriptionProvider.java new file mode 100644 index 000000000..fa0957357 --- /dev/null +++ b/plugins/org.eclipse.eef/src/org/eclipse/eef/api/IEEFViewDescriptionProvider.java @@ -0,0 +1,27 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.api; + +import org.eclipse.eef.EEFViewDescription; + +/** + * This interface is used to provide an {@link EEFViewDescription}. + * + * @author sbegaudeau + */ +public interface IEEFViewDescriptionProvider { + /** + * Returns an {@link EEFViewDescription}. + * + * @return An {@link EEFViewDescription} + */ + EEFViewDescription get(); +} diff --git a/plugins/org.eclipse.sirius.context.edit/.checkstyle b/plugins/org.eclipse.sirius.context.edit/.checkstyle new file mode 100644 index 000000000..f1a81eec7 --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/.checkstyle @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.context.edit/.classpath b/plugins/org.eclipse.sirius.context.edit/.classpath index 75556083f..6292ea58a 100644 --- a/plugins/org.eclipse.sirius.context.edit/.classpath +++ b/plugins/org.eclipse.sirius.context.edit/.classpath @@ -1,7 +1,11 @@ - - + + + + + + diff --git a/plugins/org.eclipse.sirius.context.edit/.project b/plugins/org.eclipse.sirius.context.edit/.project index c4e3a4d06..3b8694e27 100644 --- a/plugins/org.eclipse.sirius.context.edit/.project +++ b/plugins/org.eclipse.sirius.context.edit/.project @@ -20,9 +20,15 @@ + + net.sf.eclipsecs.core.CheckstyleBuilder + + + org.eclipse.jdt.core.javanature org.eclipse.pde.PluginNature + net.sf.eclipsecs.core.CheckstyleNature diff --git a/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..fb8257839 --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,398 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.builder.invalidClasspath=abort +org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=150 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +org.eclipse.jdt.core.incompleteClasspath=error +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.launching.prefs new file mode 100644 index 000000000..3bb235278 --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.launching.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..e6ceed5c2 --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,67 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;java;javax;org; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=false +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=false +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=true +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=false +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=false +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=false +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=false +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=false +sp_cleanup.remove_unused_private_types=false +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false +sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..3112e810d --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=1 +compilers.p.build.java.compiler=1 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=0 +compilers.p.missing-version-import-package=0 +compilers.p.missing-version-require-bundle=0 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=0 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.sirius.context.edit/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.context.edit/META-INF/MANIFEST.MF index 48b8a3aec..4bae6727a 100644 --- a/plugins/org.eclipse.sirius.context.edit/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.sirius.context.edit/META-INF/MANIFEST.MF @@ -4,12 +4,12 @@ Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.sirius.context.edit;singleton:=true Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . -Bundle-Activator: org.eclipse.sirius.context.context.provider.ContextEditPlugin$Implementation +Bundle-Activator: org.eclipse.sirius.context.provider.ContextEditPlugin$Implementation Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 -Export-Package: org.eclipse.sirius.context.context.provider -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.sirius.context;visibility:=reexport, - org.eclipse.emf.edit;visibility:=reexport +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.sirius.context.provider;version="1.0.0" +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", + org.eclipse.sirius.context;bundle-version="[1.0.0,2.0.0)", + org.eclipse.emf.edit;bundle-version="[2.8.0,3.0.0)" Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.context.edit/about.html b/plugins/org.eclipse.sirius.context.edit/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.context.edit/build.properties b/plugins/org.eclipse.sirius.context.edit/build.properties index 32b94f088..0b892ee53 100644 --- a/plugins/org.eclipse.sirius.context.edit/build.properties +++ b/plugins/org.eclipse.sirius.context.edit/build.properties @@ -8,7 +8,9 @@ bin.includes = .,\ icons/,\ META-INF/,\ plugin.xml,\ - plugin.properties + plugin.properties,\ + about.html jars.compile.order = . source.. = src-gen/ output.. = bin/ +javacProjectSettings = true diff --git a/plugins/org.eclipse.sirius.context.edit/plugin.properties b/plugins/org.eclipse.sirius.context.edit/plugin.properties index 923a786ba..2cfc73ccf 100644 --- a/plugins/org.eclipse.sirius.context.edit/plugin.properties +++ b/plugins/org.eclipse.sirius.context.edit/plugin.properties @@ -4,8 +4,8 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.htm -pluginName = Context Edit Support -providerName = www.example.org +pluginName = Sirius Context Edit Support +providerName = Eclipse Modeling Project _UI_CreateChild_text = {0} _UI_CreateChild_text2 = {1} {0} diff --git a/plugins/org.eclipse.sirius.context.edit/plugin.xml b/plugins/org.eclipse.sirius.context.edit/plugin.xml index 3cd4e76f3..f5888c115 100644 --- a/plugins/org.eclipse.sirius.context.edit/plugin.xml +++ b/plugins/org.eclipse.sirius.context.edit/plugin.xml @@ -15,7 +15,7 @@ - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Context_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ContextEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextItemProviderAdapterFactory.java b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextItemProviderAdapterFactory.java deleted file mode 100644 index 2ce78b359..000000000 --- a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextItemProviderAdapterFactory.java +++ /dev/null @@ -1,237 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.context.provider; - -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.edit.provider.ChangeNotifier; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.ComposedAdapterFactory; -import org.eclipse.emf.edit.provider.IChangeNotifier; -import org.eclipse.emf.edit.provider.IDisposable; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.INotifyChangedListener; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; - -import org.eclipse.sirius.context.context.util.ContextAdapterFactory; - -/** - * This is the factory that is used to provide the interfaces needed to support Viewers. - * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. - * The adapters also support Eclipse property sheets. - * Note that most of the adapters are shared among multiple instances. - * - * - * @generated - */ -public class ContextItemProviderAdapterFactory extends ContextAdapterFactory - implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { - /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * - * - * @generated - */ - protected ComposedAdapterFactory parentAdapterFactory; - - /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * - * - * @generated - */ - protected IChangeNotifier changeNotifier = new ChangeNotifier(); - - /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * - * - * @generated - */ - protected Collection supportedTypes = new ArrayList(); - - /** - * This constructs an instance. - * - * - * @generated - */ - public ContextItemProviderAdapterFactory() { - supportedTypes.add(IEditingDomainItemProvider.class); - supportedTypes.add(IStructuredItemContentProvider.class); - supportedTypes.add(ITreeItemContentProvider.class); - supportedTypes.add(IItemLabelProvider.class); - supportedTypes.add(IItemPropertySource.class); - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.context.context.Context} instances. - * - * - * @generated - */ - protected ContextItemProvider contextItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.sirius.context.context.Context}. - * - * - * @generated - */ - @Override - public Adapter createContextAdapter() { - if (contextItemProvider == null) { - contextItemProvider = new ContextItemProvider(this); - } - - return contextItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.context.context.ContextVariable} instances. - * - * - * @generated - */ - protected ContextVariableItemProvider contextVariableItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.sirius.context.context.ContextVariable}. - * - * - * @generated - */ - @Override - public Adapter createContextVariableAdapter() { - if (contextVariableItemProvider == null) { - contextVariableItemProvider = new ContextVariableItemProvider(this); - } - - return contextVariableItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * - * - * @generated - */ - @Override - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * - * - * @generated - */ - @Override - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * - * - * @generated - */ - @Override - public boolean isFactoryForType(Object type) { - return supportedTypes.contains(type) || super.isFactoryForType(type); - } - - /** - * This implementation substitutes the factory itself as the key for the adapter. - * - * - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * - * - * @generated - */ - @Override - public Object adapt(Object object, Object type) { - if (isFactoryForType(type)) { - Object adapter = super.adapt(object, type); - if (!(type instanceof Class) || (((Class) type).isInstance(adapter))) { - return adapter; - } - } - - return null; - } - - /** - * This adds a listener. - * - * - * @generated - */ - @Override - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * - * - * @generated - */ - @Override - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * - * - * @generated - */ - @Override - public void fireNotifyChanged(Notification notification) { - changeNotifier.fireNotifyChanged(notification); - - if (parentAdapterFactory != null) { - parentAdapterFactory.fireNotifyChanged(notification); - } - } - - /** - * This disposes all of the item providers created by this factory. - * - * - * @generated - */ - @Override - public void dispose() { - if (contextItemProvider != null) - contextItemProvider.dispose(); - if (contextVariableItemProvider != null) - contextVariableItemProvider.dispose(); - } - -} diff --git a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextVariableItemProvider.java b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextVariableItemProvider.java deleted file mode 100644 index 59db10785..000000000 --- a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/context/provider/ContextVariableItemProvider.java +++ /dev/null @@ -1,193 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.context.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.sirius.context.context.ContextPackage; -import org.eclipse.sirius.context.context.ContextVariable; - -/** - * This is the item provider adapter for a {@link org.eclipse.sirius.context.context.ContextVariable} object. - * - * - * @generated - */ -public class ContextVariableItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, - IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public ContextVariableItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addContextPropertyDescriptor(object); - addNamePropertyDescriptor(object); - addDocumentationPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Context feature. - * - * - * @generated - */ - protected void addContextPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_ContextVariable_context_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ContextVariable_context_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_ContextVariable_type"), //$NON-NLS-1$ - ContextPackage.Literals.CONTEXT_VARIABLE__CONTEXT, true, false, true, null, null, null)); - } - - /** - * This adds a property descriptor for the Name feature. - * - * - * @generated - */ - protected void addNamePropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_ContextVariable_name_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ContextVariable_name_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_ContextVariable_type"), //$NON-NLS-1$ - ContextPackage.Literals.CONTEXT_VARIABLE__NAME, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Documentation feature. - * - * - * @generated - */ - protected void addDocumentationPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_ContextVariable_documentation_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ContextVariable_documentation_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_ContextVariable_type"), //$NON-NLS-1$ - ContextPackage.Literals.CONTEXT_VARIABLE__DOCUMENTATION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns ContextVariable.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ContextVariable")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((ContextVariable) object).getName(); - return label == null || label.length() == 0 ? getString("_UI_ContextVariable_type") //$NON-NLS-1$ - : - getString("_UI_ContextVariable_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(ContextVariable.class)) { - case ContextPackage.CONTEXT_VARIABLE__NAME: - case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ContextEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextEditPlugin.java b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextEditPlugin.java new file mode 100644 index 000000000..6edd2423f --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextEditPlugin.java @@ -0,0 +1,92 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.provider; + +import org.eclipse.emf.common.EMFPlugin; + +import org.eclipse.emf.common.util.ResourceLocator; + +/** + * This is the central singleton for the Context edit plugin. + * + * + * @generated + */ +public final class ContextEditPlugin extends EMFPlugin { + /** + * Keep track of the singleton. + * + * + * @generated + */ + public static final ContextEditPlugin INSTANCE = new ContextEditPlugin(); + + /** + * Keep track of the singleton. + * + * + * @generated + */ + private static Implementation plugin; + + /** + * Create the instance. + * + * + * @generated + */ + public ContextEditPlugin() { + super(new ResourceLocator[] {}); + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + @Override + public ResourceLocator getPluginResourceLocator() { + return plugin; + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + public static Implementation getPlugin() { + return plugin; + } + + /** + * The actual implementation of the Eclipse Plugin. + * + * + * @generated + */ + public static class Implementation extends EclipsePlugin { + /** + * Creates an instance. + * + * + * @generated + */ + public Implementation() { + super(); + + // Remember the static instance. + // + plugin = this; + } + } + +} diff --git a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProvider.java b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProvider.java new file mode 100644 index 000000000..cd4a977c9 --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProvider.java @@ -0,0 +1,127 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.context.Context} object. + * + * + * @generated + */ +public class ContextItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, + IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public ContextItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * This returns Context.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Context")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Context_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ContextEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProviderAdapterFactory.java b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProviderAdapterFactory.java new file mode 100644 index 000000000..8c7b46e1e --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProviderAdapterFactory.java @@ -0,0 +1,237 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +import org.eclipse.sirius.context.util.ContextAdapterFactory; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. + * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. + * The adapters also support Eclipse property sheets. + * Note that most of the adapters are shared among multiple instances. + * + * + * @generated + */ +public class ContextItemProviderAdapterFactory extends ContextAdapterFactory + implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * + * + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * + * + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * + * + * @generated + */ + protected Collection supportedTypes = new ArrayList(); + + /** + * This constructs an instance. + * + * + * @generated + */ + public ContextItemProviderAdapterFactory() { + supportedTypes.add(IEditingDomainItemProvider.class); + supportedTypes.add(IStructuredItemContentProvider.class); + supportedTypes.add(ITreeItemContentProvider.class); + supportedTypes.add(IItemLabelProvider.class); + supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.context.Context} instances. + * + * + * @generated + */ + protected ContextItemProvider contextItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.context.Context}. + * + * + * @generated + */ + @Override + public Adapter createContextAdapter() { + if (contextItemProvider == null) { + contextItemProvider = new ContextItemProvider(this); + } + + return contextItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.context.ContextVariable} instances. + * + * + * @generated + */ + protected ContextVariableItemProvider contextVariableItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.context.ContextVariable}. + * + * + * @generated + */ + @Override + public Adapter createContextVariableAdapter() { + if (contextVariableItemProvider == null) { + contextVariableItemProvider = new ContextVariableItemProvider(this); + } + + return contextVariableItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * + * + * @generated + */ + @Override + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * + * + * @generated + */ + @Override + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * + * + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * + * + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * + * + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class) || (((Class) type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * + * + * @generated + */ + @Override + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * + * + * @generated + */ + @Override + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * + * + * @generated + */ + @Override + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); + + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * + * + * @generated + */ + @Override + public void dispose() { + if (contextItemProvider != null) + contextItemProvider.dispose(); + if (contextVariableItemProvider != null) + contextVariableItemProvider.dispose(); + } + +} diff --git a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextVariableItemProvider.java b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextVariableItemProvider.java new file mode 100644 index 000000000..4dc25db2b --- /dev/null +++ b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextVariableItemProvider.java @@ -0,0 +1,193 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.context.ContextPackage; +import org.eclipse.sirius.context.ContextVariable; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.context.ContextVariable} object. + * + * + * @generated + */ +public class ContextVariableItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, + IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public ContextVariableItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addContextPropertyDescriptor(object); + addNamePropertyDescriptor(object); + addDocumentationPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Context feature. + * + * + * @generated + */ + protected void addContextPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_ContextVariable_context_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ContextVariable_context_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_ContextVariable_type"), //$NON-NLS-1$ + ContextPackage.Literals.CONTEXT_VARIABLE__CONTEXT, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Name feature. + * + * + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_ContextVariable_name_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ContextVariable_name_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_ContextVariable_type"), //$NON-NLS-1$ + ContextPackage.Literals.CONTEXT_VARIABLE__NAME, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Documentation feature. + * + * + * @generated + */ + protected void addDocumentationPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_ContextVariable_documentation_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ContextVariable_documentation_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_ContextVariable_type"), //$NON-NLS-1$ + ContextPackage.Literals.CONTEXT_VARIABLE__DOCUMENTATION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns ContextVariable.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/ContextVariable")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((ContextVariable) object).getName(); + return label == null || label.length() == 0 ? getString("_UI_ContextVariable_type") //$NON-NLS-1$ + : + getString("_UI_ContextVariable_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(ContextVariable.class)) { + case ContextPackage.CONTEXT_VARIABLE__NAME: + case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ContextEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.sirius.context/.checkstyle b/plugins/org.eclipse.sirius.context/.checkstyle new file mode 100644 index 000000000..f1a81eec7 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/.checkstyle @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.context/.classpath b/plugins/org.eclipse.sirius.context/.classpath index 2eb385039..6292ea58a 100644 --- a/plugins/org.eclipse.sirius.context/.classpath +++ b/plugins/org.eclipse.sirius.context/.classpath @@ -1,8 +1,11 @@ - - - + + + + + + diff --git a/plugins/org.eclipse.sirius.context/.project b/plugins/org.eclipse.sirius.context/.project index 5870c6907..0128a779d 100644 --- a/plugins/org.eclipse.sirius.context/.project +++ b/plugins/org.eclipse.sirius.context/.project @@ -20,10 +20,16 @@ + + net.sf.eclipsecs.core.CheckstyleBuilder + + + org.eclipse.sirius.nature.modelingproject org.eclipse.jdt.core.javanature org.eclipse.pde.PluginNature + net.sf.eclipsecs.core.CheckstyleNature diff --git a/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..fb8257839 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,398 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.builder.invalidClasspath=abort +org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=150 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +org.eclipse.jdt.core.incompleteClasspath=error +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.launching.prefs new file mode 100644 index 000000000..3bb235278 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.launching.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..e6ceed5c2 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,67 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;java;javax;org; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=false +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=false +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=true +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=false +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=false +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=false +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=false +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=false +sp_cleanup.remove_unused_private_types=false +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false +sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.sirius.context/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.sirius.context/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..3112e810d --- /dev/null +++ b/plugins/org.eclipse.sirius.context/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=1 +compilers.p.build.java.compiler=1 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=0 +compilers.p.missing-version-import-package=0 +compilers.p.missing-version-require-bundle=0 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=0 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.sirius.context/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.context/META-INF/MANIFEST.MF index 5853a0aaa..f7132a99c 100644 --- a/plugins/org.eclipse.sirius.context/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.sirius.context/META-INF/MANIFEST.MF @@ -6,10 +6,9 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 -Export-Package: org.eclipse.sirius.context.context, - org.eclipse.sirius.context.context.impl, - org.eclipse.sirius.context.context.util -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.emf.ecore;visibility:=reexport +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Require-Bundle: org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)" Bundle-ActivationPolicy: lazy +Export-Package: org.eclipse.sirius.context;version="1.0.0", + org.eclipse.sirius.context.impl;version="1.0.0", + org.eclipse.sirius.context.util;version="1.0.0" diff --git a/plugins/org.eclipse.sirius.context/about.html b/plugins/org.eclipse.sirius.context/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.sirius.context/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.context/build.properties b/plugins/org.eclipse.sirius.context/build.properties index d84572d37..7dafef1b5 100644 --- a/plugins/org.eclipse.sirius.context/build.properties +++ b/plugins/org.eclipse.sirius.context/build.properties @@ -8,7 +8,9 @@ bin.includes = .,\ model/,\ META-INF/,\ plugin.xml,\ - plugin.properties + plugin.properties,\ + about.html jars.compile.order = . source.. = src-gen/ output.. = bin/ +javacProjectSettings = true diff --git a/plugins/org.eclipse.sirius.context/model/context.genmodel b/plugins/org.eclipse.sirius.context/model/context.genmodel index 3cb3953cd..e0f8c6688 100644 --- a/plugins/org.eclipse.sirius.context/model/context.genmodel +++ b/plugins/org.eclipse.sirius.context/model/context.genmodel @@ -5,10 +5,10 @@ editorDirectory="/org.eclipse.sirius.context.editor/src-gen" modelPluginID="org.eclipse.sirius.context" modelName="Context" nonNLSMarkers="true" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.ecore" - containmentProxies="true" complianceLevel="7.0" copyrightFields="false" classNamePattern="" - operationReflection="true" importOrganizing="true" cleanup="true"> + containmentProxies="true" complianceLevel="6.0" copyrightFields="false" classNamePattern="" + importOrganizing="true" cleanup="true"> context.ecore - diff --git a/plugins/org.eclipse.sirius.context/plugin.properties b/plugins/org.eclipse.sirius.context/plugin.properties index 254a17074..f2d4059c9 100644 --- a/plugins/org.eclipse.sirius.context/plugin.properties +++ b/plugins/org.eclipse.sirius.context/plugin.properties @@ -4,5 +4,5 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.htm -pluginName = Context Model -providerName = www.example.org +pluginName = Sirius Context Model +providerName = Eclipse Modeling Project diff --git a/plugins/org.eclipse.sirius.context/plugin.xml b/plugins/org.eclipse.sirius.context/plugin.xml index bf3863b12..7ff4e20be 100644 --- a/plugins/org.eclipse.sirius.context/plugin.xml +++ b/plugins/org.eclipse.sirius.context/plugin.xml @@ -15,7 +15,7 @@ diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/Context.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/Context.java new file mode 100644 index 000000000..4a7d0f27a --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/Context.java @@ -0,0 +1,27 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Context'. + * + * + * + * Represents a Context. + * + * + * + * @see org.eclipse.sirius.context.ContextPackage#getContext() + * @model + * @generated + */ +public interface Context extends EObject { +} // Context diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextFactory.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextFactory.java new file mode 100644 index 000000000..eb76327ff --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextFactory.java @@ -0,0 +1,56 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.sirius.context.ContextPackage + * @generated + */ +public interface ContextFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + ContextFactory eINSTANCE = org.eclipse.sirius.context.impl.ContextFactoryImpl.init(); + + /** + * Returns a new object of class 'Context'. + * + * + * @return a new object of class 'Context'. + * @generated + */ + Context createContext(); + + /** + * Returns a new object of class 'Variable'. + * + * + * @return a new object of class 'Variable'. + * @generated + */ + ContextVariable createContextVariable(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + ContextPackage getContextPackage(); + +} //ContextFactory diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextPackage.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextPackage.java new file mode 100644 index 000000000..6e29948d6 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextPackage.java @@ -0,0 +1,269 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @see org.eclipse.sirius.context.ContextFactory + * @model kind="package" + * @generated + */ +public interface ContextPackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "context"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.eclipse.org/sirius/context"; //$NON-NLS-1$ + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "context"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * + * + * @generated + */ + ContextPackage eINSTANCE = org.eclipse.sirius.context.impl.ContextPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.sirius.context.impl.ContextImpl Context}' class. + * + * + * @see org.eclipse.sirius.context.impl.ContextImpl + * @see org.eclipse.sirius.context.impl.ContextPackageImpl#getContext() + * @generated + */ + int CONTEXT = 0; + + /** + * The number of structural features of the 'Context' class. + * + * + * @generated + * @ordered + */ + int CONTEXT_FEATURE_COUNT = 0; + + /** + * The number of operations of the 'Context' class. + * + * + * @generated + * @ordered + */ + int CONTEXT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.sirius.context.impl.ContextVariableImpl Variable}' class. + * + * + * @see org.eclipse.sirius.context.impl.ContextVariableImpl + * @see org.eclipse.sirius.context.impl.ContextPackageImpl#getContextVariable() + * @generated + */ + int CONTEXT_VARIABLE = 1; + + /** + * The feature id for the 'Context' reference. + * + * + * @generated + * @ordered + */ + int CONTEXT_VARIABLE__CONTEXT = 0; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int CONTEXT_VARIABLE__NAME = 1; + + /** + * The feature id for the 'Documentation' attribute. + * + * + * @generated + * @ordered + */ + int CONTEXT_VARIABLE__DOCUMENTATION = 2; + + /** + * The number of structural features of the 'Variable' class. + * + * + * @generated + * @ordered + */ + int CONTEXT_VARIABLE_FEATURE_COUNT = 3; + + /** + * The number of operations of the 'Variable' class. + * + * + * @generated + * @ordered + */ + int CONTEXT_VARIABLE_OPERATION_COUNT = 0; + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.context.Context Context}'. + * + * + * @return the meta object for class 'Context'. + * @see org.eclipse.sirius.context.Context + * @generated + */ + EClass getContext(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.context.ContextVariable Variable}'. + * + * + * @return the meta object for class 'Variable'. + * @see org.eclipse.sirius.context.ContextVariable + * @generated + */ + EClass getContextVariable(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.context.ContextVariable#getContext Context}'. + * + * + * @return the meta object for the reference 'Context'. + * @see org.eclipse.sirius.context.ContextVariable#getContext() + * @see #getContextVariable() + * @generated + */ + EReference getContextVariable_Context(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.context.ContextVariable#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.sirius.context.ContextVariable#getName() + * @see #getContextVariable() + * @generated + */ + EAttribute getContextVariable_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.context.ContextVariable#getDocumentation Documentation}'. + * + * + * @return the meta object for the attribute 'Documentation'. + * @see org.eclipse.sirius.context.ContextVariable#getDocumentation() + * @see #getContextVariable() + * @generated + */ + EAttribute getContextVariable_Documentation(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + ContextFactory getContextFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.sirius.context.impl.ContextImpl Context}' class. + * + * + * @see org.eclipse.sirius.context.impl.ContextImpl + * @see org.eclipse.sirius.context.impl.ContextPackageImpl#getContext() + * @generated + */ + EClass CONTEXT = eINSTANCE.getContext(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.context.impl.ContextVariableImpl Variable}' class. + * + * + * @see org.eclipse.sirius.context.impl.ContextVariableImpl + * @see org.eclipse.sirius.context.impl.ContextPackageImpl#getContextVariable() + * @generated + */ + EClass CONTEXT_VARIABLE = eINSTANCE.getContextVariable(); + + /** + * The meta object literal for the 'Context' reference feature. + * + * + * @generated + */ + EReference CONTEXT_VARIABLE__CONTEXT = eINSTANCE.getContextVariable_Context(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute CONTEXT_VARIABLE__NAME = eINSTANCE.getContextVariable_Name(); + + /** + * The meta object literal for the 'Documentation' attribute feature. + * + * + * @generated + */ + EAttribute CONTEXT_VARIABLE__DOCUMENTATION = eINSTANCE.getContextVariable_Documentation(); + + } + +} //ContextPackage diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextVariable.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextVariable.java new file mode 100644 index 000000000..5c3800f2d --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextVariable.java @@ -0,0 +1,110 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Variable'. + * + * + * + * Represents a variable associated to a context. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.sirius.context.ContextVariable#getContext Context}
  • + *
  • {@link org.eclipse.sirius.context.ContextVariable#getName Name}
  • + *
  • {@link org.eclipse.sirius.context.ContextVariable#getDocumentation Documentation}
  • + *
+ * + * @see org.eclipse.sirius.context.ContextPackage#getContextVariable() + * @model + * @generated + */ +public interface ContextVariable extends EObject { + /** + * Returns the value of the 'Context' reference. + * + * + * + * Defines the context. + * + * @return the value of the 'Context' reference. + * @see #setContext(Context) + * @see org.eclipse.sirius.context.ContextPackage#getContextVariable_Context() + * @model required="true" + * @generated + */ + Context getContext(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.context.ContextVariable#getContext Context}' reference. + * + * + * @param value the new value of the 'Context' reference. + * @see #getContext() + * @generated + */ + void setContext(Context value); + + /** + * Returns the value of the 'Name' attribute. + * + * + * + * Defines the name of the variable. + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.sirius.context.ContextPackage#getContextVariable_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.context.ContextVariable#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Documentation' attribute. + * + * + * + * Define the documentation of the variable. + * + * @return the value of the 'Documentation' attribute. + * @see #setDocumentation(String) + * @see org.eclipse.sirius.context.ContextPackage#getContextVariable_Documentation() + * @model + * @generated + */ + String getDocumentation(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.context.ContextVariable#getDocumentation Documentation}' attribute. + * + * + * @param value the new value of the 'Documentation' attribute. + * @see #getDocumentation() + * @generated + */ + void setDocumentation(String value); + +} // ContextVariable diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/Context.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/Context.java deleted file mode 100644 index 0facead6f..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/Context.java +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.context; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Context'. - * - * - * - * Represents a Context. - * - * - * - * @see org.eclipse.sirius.context.context.ContextPackage#getContext() - * @model - * @generated - */ -public interface Context extends EObject { -} // Context diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextFactory.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextFactory.java deleted file mode 100644 index b9c74b7ee..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextFactory.java +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.context; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.sirius.context.context.ContextPackage - * @generated - */ -public interface ContextFactory extends EFactory { - /** - * The singleton instance of the factory. - * - * - * @generated - */ - ContextFactory eINSTANCE = org.eclipse.sirius.context.context.impl.ContextFactoryImpl.init(); - - /** - * Returns a new object of class 'Context'. - * - * - * @return a new object of class 'Context'. - * @generated - */ - Context createContext(); - - /** - * Returns a new object of class 'Variable'. - * - * - * @return a new object of class 'Variable'. - * @generated - */ - ContextVariable createContextVariable(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - ContextPackage getContextPackage(); - -} //ContextFactory diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextPackage.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextPackage.java deleted file mode 100644 index 335ac45fb..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextPackage.java +++ /dev/null @@ -1,269 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.context; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each operation of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @see org.eclipse.sirius.context.context.ContextFactory - * @model kind="package" - * @generated - */ -public interface ContextPackage extends EPackage { - /** - * The package name. - * - * - * @generated - */ - String eNAME = "context"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "http://www.eclipse.org/sirius/context"; //$NON-NLS-1$ - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "context"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * - * - * @generated - */ - ContextPackage eINSTANCE = org.eclipse.sirius.context.context.impl.ContextPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.sirius.context.context.impl.ContextImpl Context}' class. - * - * - * @see org.eclipse.sirius.context.context.impl.ContextImpl - * @see org.eclipse.sirius.context.context.impl.ContextPackageImpl#getContext() - * @generated - */ - int CONTEXT = 0; - - /** - * The number of structural features of the 'Context' class. - * - * - * @generated - * @ordered - */ - int CONTEXT_FEATURE_COUNT = 0; - - /** - * The number of operations of the 'Context' class. - * - * - * @generated - * @ordered - */ - int CONTEXT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.sirius.context.context.impl.ContextVariableImpl Variable}' class. - * - * - * @see org.eclipse.sirius.context.context.impl.ContextVariableImpl - * @see org.eclipse.sirius.context.context.impl.ContextPackageImpl#getContextVariable() - * @generated - */ - int CONTEXT_VARIABLE = 1; - - /** - * The feature id for the 'Context' reference. - * - * - * @generated - * @ordered - */ - int CONTEXT_VARIABLE__CONTEXT = 0; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int CONTEXT_VARIABLE__NAME = 1; - - /** - * The feature id for the 'Documentation' attribute. - * - * - * @generated - * @ordered - */ - int CONTEXT_VARIABLE__DOCUMENTATION = 2; - - /** - * The number of structural features of the 'Variable' class. - * - * - * @generated - * @ordered - */ - int CONTEXT_VARIABLE_FEATURE_COUNT = 3; - - /** - * The number of operations of the 'Variable' class. - * - * - * @generated - * @ordered - */ - int CONTEXT_VARIABLE_OPERATION_COUNT = 0; - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.context.context.Context Context}'. - * - * - * @return the meta object for class 'Context'. - * @see org.eclipse.sirius.context.context.Context - * @generated - */ - EClass getContext(); - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.context.context.ContextVariable Variable}'. - * - * - * @return the meta object for class 'Variable'. - * @see org.eclipse.sirius.context.context.ContextVariable - * @generated - */ - EClass getContextVariable(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.context.context.ContextVariable#getContext Context}'. - * - * - * @return the meta object for the reference 'Context'. - * @see org.eclipse.sirius.context.context.ContextVariable#getContext() - * @see #getContextVariable() - * @generated - */ - EReference getContextVariable_Context(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.context.context.ContextVariable#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.sirius.context.context.ContextVariable#getName() - * @see #getContextVariable() - * @generated - */ - EAttribute getContextVariable_Name(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.context.context.ContextVariable#getDocumentation Documentation}'. - * - * - * @return the meta object for the attribute 'Documentation'. - * @see org.eclipse.sirius.context.context.ContextVariable#getDocumentation() - * @see #getContextVariable() - * @generated - */ - EAttribute getContextVariable_Documentation(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - ContextFactory getContextFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each operation of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.sirius.context.context.impl.ContextImpl Context}' class. - * - * - * @see org.eclipse.sirius.context.context.impl.ContextImpl - * @see org.eclipse.sirius.context.context.impl.ContextPackageImpl#getContext() - * @generated - */ - EClass CONTEXT = eINSTANCE.getContext(); - - /** - * The meta object literal for the '{@link org.eclipse.sirius.context.context.impl.ContextVariableImpl Variable}' class. - * - * - * @see org.eclipse.sirius.context.context.impl.ContextVariableImpl - * @see org.eclipse.sirius.context.context.impl.ContextPackageImpl#getContextVariable() - * @generated - */ - EClass CONTEXT_VARIABLE = eINSTANCE.getContextVariable(); - - /** - * The meta object literal for the 'Context' reference feature. - * - * - * @generated - */ - EReference CONTEXT_VARIABLE__CONTEXT = eINSTANCE.getContextVariable_Context(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute CONTEXT_VARIABLE__NAME = eINSTANCE.getContextVariable_Name(); - - /** - * The meta object literal for the 'Documentation' attribute feature. - * - * - * @generated - */ - EAttribute CONTEXT_VARIABLE__DOCUMENTATION = eINSTANCE.getContextVariable_Documentation(); - - } - -} //ContextPackage diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextVariable.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextVariable.java deleted file mode 100644 index 4e4123615..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/ContextVariable.java +++ /dev/null @@ -1,110 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.context; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Variable'. - * - * - * - * Represents a variable associated to a context. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.sirius.context.context.ContextVariable#getContext Context}
  • - *
  • {@link org.eclipse.sirius.context.context.ContextVariable#getName Name}
  • - *
  • {@link org.eclipse.sirius.context.context.ContextVariable#getDocumentation Documentation}
  • - *
- * - * @see org.eclipse.sirius.context.context.ContextPackage#getContextVariable() - * @model - * @generated - */ -public interface ContextVariable extends EObject { - /** - * Returns the value of the 'Context' reference. - * - * - * - * Defines the context. - * - * @return the value of the 'Context' reference. - * @see #setContext(Context) - * @see org.eclipse.sirius.context.context.ContextPackage#getContextVariable_Context() - * @model required="true" - * @generated - */ - Context getContext(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.context.context.ContextVariable#getContext Context}' reference. - * - * - * @param value the new value of the 'Context' reference. - * @see #getContext() - * @generated - */ - void setContext(Context value); - - /** - * Returns the value of the 'Name' attribute. - * - * - * - * Defines the name of the variable. - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.sirius.context.context.ContextPackage#getContextVariable_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.context.context.ContextVariable#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Documentation' attribute. - * - * - * - * Define the documentation of the variable. - * - * @return the value of the 'Documentation' attribute. - * @see #setDocumentation(String) - * @see org.eclipse.sirius.context.context.ContextPackage#getContextVariable_Documentation() - * @model - * @generated - */ - String getDocumentation(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.context.context.ContextVariable#getDocumentation Documentation}' attribute. - * - * - * @param value the new value of the 'Documentation' attribute. - * @see #getDocumentation() - * @generated - */ - void setDocumentation(String value); - -} // ContextVariable diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextFactoryImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextFactoryImpl.java deleted file mode 100644 index 6008262a9..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextFactoryImpl.java +++ /dev/null @@ -1,116 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.context.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.sirius.context.context.*; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class ContextFactoryImpl extends EFactoryImpl implements ContextFactory { - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static ContextFactory init() { - try { - ContextFactory theContextFactory = (ContextFactory) EPackage.Registry.INSTANCE - .getEFactory(ContextPackage.eNS_URI); - if (theContextFactory != null) { - return theContextFactory; - } - } catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new ContextFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public ContextFactoryImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case ContextPackage.CONTEXT: - return createContext(); - case ContextPackage.CONTEXT_VARIABLE: - return createContextVariable(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * - * - * @generated - */ - @Override - public Context createContext() { - ContextImpl context = new ContextImpl(); - return context; - } - - /** - * - * - * @generated - */ - @Override - public ContextVariable createContextVariable() { - ContextVariableImpl contextVariable = new ContextVariableImpl(); - return contextVariable; - } - - /** - * - * - * @generated - */ - @Override - public ContextPackage getContextPackage() { - return (ContextPackage) getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static ContextPackage getPackage() { - return ContextPackage.eINSTANCE; - } - -} //ContextFactoryImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextImpl.java deleted file mode 100644 index a45ba227c..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextImpl.java +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.context.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.sirius.context.context.Context; -import org.eclipse.sirius.context.context.ContextPackage; - -/** - * - * An implementation of the model object 'Context'. - * - * - * @generated - */ -public class ContextImpl extends MinimalEObjectImpl.Container implements Context { - /** - * - * - * @generated - */ - protected ContextImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ContextPackage.Literals.CONTEXT; - } - -} //ContextImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextPackageImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextPackageImpl.java deleted file mode 100644 index 3b4024de1..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextPackageImpl.java +++ /dev/null @@ -1,242 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.context.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.sirius.context.context.Context; -import org.eclipse.sirius.context.context.ContextFactory; -import org.eclipse.sirius.context.context.ContextPackage; -import org.eclipse.sirius.context.context.ContextVariable; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class ContextPackageImpl extends EPackageImpl implements ContextPackage { - /** - * - * - * @generated - */ - private EClass contextEClass = null; - - /** - * - * - * @generated - */ - private EClass contextVariableEClass = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.sirius.context.context.ContextPackage#eNS_URI - * @see #init() - * @generated - */ - private ContextPackageImpl() { - super(eNS_URI, ContextFactory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

This method is used to initialize {@link ContextPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static ContextPackage init() { - if (isInited) - return (ContextPackage) EPackage.Registry.INSTANCE.getEPackage(ContextPackage.eNS_URI); - - // Obtain or create and register package - ContextPackageImpl theContextPackage = (ContextPackageImpl) (EPackage.Registry.INSTANCE - .get(eNS_URI) instanceof ContextPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) - : new ContextPackageImpl()); - - isInited = true; - - // Create package meta-data objects - theContextPackage.createPackageContents(); - - // Initialize created meta-data - theContextPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theContextPackage.freeze(); - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(ContextPackage.eNS_URI, theContextPackage); - return theContextPackage; - } - - /** - * - * - * @generated - */ - @Override - public EClass getContext() { - return contextEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getContextVariable() { - return contextVariableEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getContextVariable_Context() { - return (EReference) contextVariableEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getContextVariable_Name() { - return (EAttribute) contextVariableEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getContextVariable_Documentation() { - return (EAttribute) contextVariableEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public ContextFactory getContextFactory() { - return (ContextFactory) getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() { - if (isCreated) - return; - isCreated = true; - - // Create classes and their features - contextEClass = createEClass(CONTEXT); - - contextVariableEClass = createEClass(CONTEXT_VARIABLE); - createEReference(contextVariableEClass, CONTEXT_VARIABLE__CONTEXT); - createEAttribute(contextVariableEClass, CONTEXT_VARIABLE__NAME); - createEAttribute(contextVariableEClass, CONTEXT_VARIABLE__DOCUMENTATION); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() { - if (isInitialized) - return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes, features, and operations; add parameters - initEClass(contextEClass, Context.class, "Context", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - initEClass(contextVariableEClass, ContextVariable.class, "ContextVariable", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getContextVariable_Context(), this.getContext(), null, "context", null, 1, 1, //$NON-NLS-1$ - ContextVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getContextVariable_Name(), ecorePackage.getEString(), "name", null, 0, 1, ContextVariable.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getContextVariable_Documentation(), ecorePackage.getEString(), "documentation", null, 0, 1, //$NON-NLS-1$ - ContextVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - - // Create resource - createResource(eNS_URI); - } - -} //ContextPackageImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextVariableImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextVariableImpl.java deleted file mode 100644 index 30512a388..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/impl/ContextVariableImpl.java +++ /dev/null @@ -1,297 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.context.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.sirius.context.context.Context; -import org.eclipse.sirius.context.context.ContextPackage; -import org.eclipse.sirius.context.context.ContextVariable; - -/** - * - * An implementation of the model object 'Variable'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.sirius.context.context.impl.ContextVariableImpl#getContext Context}
  • - *
  • {@link org.eclipse.sirius.context.context.impl.ContextVariableImpl#getName Name}
  • - *
  • {@link org.eclipse.sirius.context.context.impl.ContextVariableImpl#getDocumentation Documentation}
  • - *
- * - * @generated - */ -public class ContextVariableImpl extends MinimalEObjectImpl.Container implements ContextVariable { - /** - * The cached value of the '{@link #getContext() Context}' reference. - * - * - * @see #getContext() - * @generated - * @ordered - */ - protected Context context; - - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getDocumentation() Documentation}' attribute. - * - * - * @see #getDocumentation() - * @generated - * @ordered - */ - protected static final String DOCUMENTATION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDocumentation() Documentation}' attribute. - * - * - * @see #getDocumentation() - * @generated - * @ordered - */ - protected String documentation = DOCUMENTATION_EDEFAULT; - - /** - * - * - * @generated - */ - protected ContextVariableImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ContextPackage.Literals.CONTEXT_VARIABLE; - } - - /** - * - * - * @generated - */ - @Override - public Context getContext() { - if (context != null && context.eIsProxy()) { - InternalEObject oldContext = (InternalEObject) context; - context = (Context) eResolveProxy(oldContext); - if (context != oldContext) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ContextPackage.CONTEXT_VARIABLE__CONTEXT, - oldContext, context)); - } - } - return context; - } - - /** - * - * - * @generated - */ - public Context basicGetContext() { - return context; - } - - /** - * - * - * @generated - */ - @Override - public void setContext(Context newContext) { - Context oldContext = context; - context = newContext; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ContextPackage.CONTEXT_VARIABLE__CONTEXT, oldContext, - context)); - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ContextPackage.CONTEXT_VARIABLE__NAME, oldName, - name)); - } - - /** - * - * - * @generated - */ - @Override - public String getDocumentation() { - return documentation; - } - - /** - * - * - * @generated - */ - @Override - public void setDocumentation(String newDocumentation) { - String oldDocumentation = documentation; - documentation = newDocumentation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION, - oldDocumentation, documentation)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ContextPackage.CONTEXT_VARIABLE__CONTEXT: - if (resolve) - return getContext(); - return basicGetContext(); - case ContextPackage.CONTEXT_VARIABLE__NAME: - return getName(); - case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: - return getDocumentation(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ContextPackage.CONTEXT_VARIABLE__CONTEXT: - setContext((Context) newValue); - return; - case ContextPackage.CONTEXT_VARIABLE__NAME: - setName((String) newValue); - return; - case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: - setDocumentation((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ContextPackage.CONTEXT_VARIABLE__CONTEXT: - setContext((Context) null); - return; - case ContextPackage.CONTEXT_VARIABLE__NAME: - setName(NAME_EDEFAULT); - return; - case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: - setDocumentation(DOCUMENTATION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ContextPackage.CONTEXT_VARIABLE__CONTEXT: - return context != null; - case ContextPackage.CONTEXT_VARIABLE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: - return DOCUMENTATION_EDEFAULT == null ? documentation != null - : !DOCUMENTATION_EDEFAULT.equals(documentation); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); //$NON-NLS-1$ - result.append(name); - result.append(", documentation: "); //$NON-NLS-1$ - result.append(documentation); - result.append(')'); - return result.toString(); - } - -} //ContextVariableImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextAdapterFactory.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextAdapterFactory.java deleted file mode 100644 index 8356a206f..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextAdapterFactory.java +++ /dev/null @@ -1,143 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.context.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.sirius.context.context.*; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see org.eclipse.sirius.context.context.ContextPackage - * @generated - */ -public class ContextAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * - * - * @generated - */ - protected static ContextPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public ContextAdapterFactory() { - if (modelPackage == null) { - modelPackage = ContextPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject) object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected ContextSwitch modelSwitch = new ContextSwitch() { - @Override - public Adapter caseContext(Context object) { - return createContextAdapter(); - } - - @Override - public Adapter caseContextVariable(ContextVariable object) { - return createContextVariableAdapter(); - } - - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject) target); - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.context.context.Context Context}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.context.context.Context - * @generated - */ - public Adapter createContextAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.context.context.ContextVariable Variable}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.context.context.ContextVariable - * @generated - */ - public Adapter createContextVariableAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //ContextAdapterFactory diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextSwitch.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextSwitch.java deleted file mode 100644 index 87d1d2614..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/context/util/ContextSwitch.java +++ /dev/null @@ -1,139 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.context.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.sirius.context.context.*; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see org.eclipse.sirius.context.context.ContextPackage - * @generated - */ -public class ContextSwitch extends Switch { - /** - * The cached model package - * - * - * @generated - */ - protected static ContextPackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public ContextSwitch() { - if (modelPackage == null) { - modelPackage = ContextPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case ContextPackage.CONTEXT: { - Context context = (Context) theEObject; - T result = caseContext(context); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case ContextPackage.CONTEXT_VARIABLE: { - ContextVariable contextVariable = (ContextVariable) theEObject; - T result = caseContextVariable(contextVariable); - if (result == null) - result = defaultCase(theEObject); - return result; - } - default: - return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Context'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Context'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseContext(Context object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Variable'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Variable'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseContextVariable(ContextVariable object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //ContextSwitch diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextFactoryImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextFactoryImpl.java new file mode 100644 index 000000000..ced785a21 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextFactoryImpl.java @@ -0,0 +1,116 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.sirius.context.*; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class ContextFactoryImpl extends EFactoryImpl implements ContextFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static ContextFactory init() { + try { + ContextFactory theContextFactory = (ContextFactory) EPackage.Registry.INSTANCE + .getEFactory(ContextPackage.eNS_URI); + if (theContextFactory != null) { + return theContextFactory; + } + } catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new ContextFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public ContextFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case ContextPackage.CONTEXT: + return createContext(); + case ContextPackage.CONTEXT_VARIABLE: + return createContextVariable(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + @Override + public Context createContext() { + ContextImpl context = new ContextImpl(); + return context; + } + + /** + * + * + * @generated + */ + @Override + public ContextVariable createContextVariable() { + ContextVariableImpl contextVariable = new ContextVariableImpl(); + return contextVariable; + } + + /** + * + * + * @generated + */ + @Override + public ContextPackage getContextPackage() { + return (ContextPackage) getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static ContextPackage getPackage() { + return ContextPackage.eINSTANCE; + } + +} //ContextFactoryImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextImpl.java new file mode 100644 index 000000000..1882337f5 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextImpl.java @@ -0,0 +1,44 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.context.Context; +import org.eclipse.sirius.context.ContextPackage; + +/** + * + * An implementation of the model object 'Context'. + * + * + * @generated + */ +public class ContextImpl extends MinimalEObjectImpl.Container implements Context { + /** + * + * + * @generated + */ + protected ContextImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ContextPackage.Literals.CONTEXT; + } + +} //ContextImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextPackageImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextPackageImpl.java new file mode 100644 index 000000000..83f09556f --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextPackageImpl.java @@ -0,0 +1,242 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.sirius.context.Context; +import org.eclipse.sirius.context.ContextFactory; +import org.eclipse.sirius.context.ContextPackage; +import org.eclipse.sirius.context.ContextVariable; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class ContextPackageImpl extends EPackageImpl implements ContextPackage { + /** + * + * + * @generated + */ + private EClass contextEClass = null; + + /** + * + * + * @generated + */ + private EClass contextVariableEClass = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.sirius.context.ContextPackage#eNS_URI + * @see #init() + * @generated + */ + private ContextPackageImpl() { + super(eNS_URI, ContextFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

This method is used to initialize {@link ContextPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ContextPackage init() { + if (isInited) + return (ContextPackage) EPackage.Registry.INSTANCE.getEPackage(ContextPackage.eNS_URI); + + // Obtain or create and register package + ContextPackageImpl theContextPackage = (ContextPackageImpl) (EPackage.Registry.INSTANCE + .get(eNS_URI) instanceof ContextPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) + : new ContextPackageImpl()); + + isInited = true; + + // Create package meta-data objects + theContextPackage.createPackageContents(); + + // Initialize created meta-data + theContextPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theContextPackage.freeze(); + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ContextPackage.eNS_URI, theContextPackage); + return theContextPackage; + } + + /** + * + * + * @generated + */ + @Override + public EClass getContext() { + return contextEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getContextVariable() { + return contextVariableEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getContextVariable_Context() { + return (EReference) contextVariableEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getContextVariable_Name() { + return (EAttribute) contextVariableEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getContextVariable_Documentation() { + return (EAttribute) contextVariableEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public ContextFactory getContextFactory() { + return (ContextFactory) getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) + return; + isCreated = true; + + // Create classes and their features + contextEClass = createEClass(CONTEXT); + + contextVariableEClass = createEClass(CONTEXT_VARIABLE); + createEReference(contextVariableEClass, CONTEXT_VARIABLE__CONTEXT); + createEAttribute(contextVariableEClass, CONTEXT_VARIABLE__NAME); + createEAttribute(contextVariableEClass, CONTEXT_VARIABLE__DOCUMENTATION); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) + return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes, features, and operations; add parameters + initEClass(contextEClass, Context.class, "Context", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + initEClass(contextVariableEClass, ContextVariable.class, "ContextVariable", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getContextVariable_Context(), this.getContext(), null, "context", null, 1, 1, //$NON-NLS-1$ + ContextVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getContextVariable_Name(), ecorePackage.getEString(), "name", null, 0, 1, ContextVariable.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getContextVariable_Documentation(), ecorePackage.getEString(), "documentation", null, 0, 1, //$NON-NLS-1$ + ContextVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + // Create resource + createResource(eNS_URI); + } + +} //ContextPackageImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextVariableImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextVariableImpl.java new file mode 100644 index 000000000..2426801a5 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextVariableImpl.java @@ -0,0 +1,297 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.context.Context; +import org.eclipse.sirius.context.ContextPackage; +import org.eclipse.sirius.context.ContextVariable; + +/** + * + * An implementation of the model object 'Variable'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.sirius.context.impl.ContextVariableImpl#getContext Context}
  • + *
  • {@link org.eclipse.sirius.context.impl.ContextVariableImpl#getName Name}
  • + *
  • {@link org.eclipse.sirius.context.impl.ContextVariableImpl#getDocumentation Documentation}
  • + *
+ * + * @generated + */ +public class ContextVariableImpl extends MinimalEObjectImpl.Container implements ContextVariable { + /** + * The cached value of the '{@link #getContext() Context}' reference. + * + * + * @see #getContext() + * @generated + * @ordered + */ + protected Context context; + + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected static final String DOCUMENTATION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected String documentation = DOCUMENTATION_EDEFAULT; + + /** + * + * + * @generated + */ + protected ContextVariableImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ContextPackage.Literals.CONTEXT_VARIABLE; + } + + /** + * + * + * @generated + */ + @Override + public Context getContext() { + if (context != null && context.eIsProxy()) { + InternalEObject oldContext = (InternalEObject) context; + context = (Context) eResolveProxy(oldContext); + if (context != oldContext) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ContextPackage.CONTEXT_VARIABLE__CONTEXT, + oldContext, context)); + } + } + return context; + } + + /** + * + * + * @generated + */ + public Context basicGetContext() { + return context; + } + + /** + * + * + * @generated + */ + @Override + public void setContext(Context newContext) { + Context oldContext = context; + context = newContext; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContextPackage.CONTEXT_VARIABLE__CONTEXT, oldContext, + context)); + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContextPackage.CONTEXT_VARIABLE__NAME, oldName, + name)); + } + + /** + * + * + * @generated + */ + @Override + public String getDocumentation() { + return documentation; + } + + /** + * + * + * @generated + */ + @Override + public void setDocumentation(String newDocumentation) { + String oldDocumentation = documentation; + documentation = newDocumentation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION, + oldDocumentation, documentation)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ContextPackage.CONTEXT_VARIABLE__CONTEXT: + if (resolve) + return getContext(); + return basicGetContext(); + case ContextPackage.CONTEXT_VARIABLE__NAME: + return getName(); + case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: + return getDocumentation(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ContextPackage.CONTEXT_VARIABLE__CONTEXT: + setContext((Context) newValue); + return; + case ContextPackage.CONTEXT_VARIABLE__NAME: + setName((String) newValue); + return; + case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: + setDocumentation((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ContextPackage.CONTEXT_VARIABLE__CONTEXT: + setContext((Context) null); + return; + case ContextPackage.CONTEXT_VARIABLE__NAME: + setName(NAME_EDEFAULT); + return; + case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: + setDocumentation(DOCUMENTATION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ContextPackage.CONTEXT_VARIABLE__CONTEXT: + return context != null; + case ContextPackage.CONTEXT_VARIABLE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: + return DOCUMENTATION_EDEFAULT == null ? documentation != null + : !DOCUMENTATION_EDEFAULT.equals(documentation); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); //$NON-NLS-1$ + result.append(name); + result.append(", documentation: "); //$NON-NLS-1$ + result.append(documentation); + result.append(')'); + return result.toString(); + } + +} //ContextVariableImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextAdapterFactory.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextAdapterFactory.java new file mode 100644 index 000000000..6800c1ca1 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextAdapterFactory.java @@ -0,0 +1,143 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.context.*; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see org.eclipse.sirius.context.ContextPackage + * @generated + */ +public class ContextAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static ContextPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public ContextAdapterFactory() { + if (modelPackage == null) { + modelPackage = ContextPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject) object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected ContextSwitch modelSwitch = new ContextSwitch() { + @Override + public Adapter caseContext(Context object) { + return createContextAdapter(); + } + + @Override + public Adapter caseContextVariable(ContextVariable object) { + return createContextVariableAdapter(); + } + + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject) target); + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.context.Context Context}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.context.Context + * @generated + */ + public Adapter createContextAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.context.ContextVariable Variable}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.context.ContextVariable + * @generated + */ + public Adapter createContextVariableAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //ContextAdapterFactory diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextSwitch.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextSwitch.java new file mode 100644 index 000000000..221975f19 --- /dev/null +++ b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextSwitch.java @@ -0,0 +1,139 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.context.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.sirius.context.*; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see org.eclipse.sirius.context.ContextPackage + * @generated + */ +public class ContextSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static ContextPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public ContextSwitch() { + if (modelPackage == null) { + modelPackage = ContextPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case ContextPackage.CONTEXT: { + Context context = (Context) theEObject; + T result = caseContext(context); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case ContextPackage.CONTEXT_VARIABLE: { + ContextVariable contextVariable = (ContextVariable) theEObject; + T result = caseContextVariable(contextVariable); + if (result == null) + result = defaultCase(theEObject); + return result; + } + default: + return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Context'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Context'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContext(Context object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Variable'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Variable'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContextVariable(ContextVariable object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //ContextSwitch diff --git a/plugins/org.eclipse.sirius.expression.design/.classpath b/plugins/org.eclipse.sirius.expression.design/.classpath deleted file mode 100644 index 39810b7d6..000000000 --- a/plugins/org.eclipse.sirius.expression.design/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.design/.project b/plugins/org.eclipse.sirius.expression.design/.project deleted file mode 100644 index ba1d71323..000000000 --- a/plugins/org.eclipse.sirius.expression.design/.project +++ /dev/null @@ -1,35 +0,0 @@ - - - org.eclipse.sirius.expression.design - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.acceleo.ide.ui.acceleoBuilder - - - - - - org.eclipse.acceleo.ide.ui.acceleoNature - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - - - diff --git a/plugins/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF deleted file mode 100644 index b9132d898..000000000 --- a/plugins/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF +++ /dev/null @@ -1,13 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: org.eclipse.sirius.expression.design -Bundle-SymbolicName: org.eclipse.sirius.expression.design;singleton:=true -Bundle-Version: 1.0.0 -Bundle-Activator: org.eclipse.sirius.expression.design.Activator -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime, - org.eclipse.core.resources, - org.eclipse.sirius, - org.eclipse.sirius.common.acceleo.mtl -Bundle-ActivationPolicy: lazy -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 diff --git a/plugins/org.eclipse.sirius.expression.design/build.properties b/plugins/org.eclipse.sirius.expression.design/build.properties deleted file mode 100644 index bbbc4ce49..000000000 --- a/plugins/org.eclipse.sirius.expression.design/build.properties +++ /dev/null @@ -1,7 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - description/,\ - plugin.xml -customBuildCallbacks = build.acceleo diff --git a/plugins/org.eclipse.sirius.expression.design/description/expression.odesign b/plugins/org.eclipse.sirius.expression.design/description/expression.odesign deleted file mode 100644 index e76d4b847..000000000 --- a/plugins/org.eclipse.sirius.expression.design/description/expression.odesign +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.design/plugin.xml b/plugins/org.eclipse.sirius.expression.design/plugin.xml deleted file mode 100644 index 5ecb2c479..000000000 --- a/plugins/org.eclipse.sirius.expression.design/plugin.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java b/plugins/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java deleted file mode 100644 index f4b15886c..000000000 --- a/plugins/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java +++ /dev/null @@ -1,66 +0,0 @@ -package org.eclipse.sirius.expression.design; - -import java.util.HashSet; -import java.util.Set; - -import org.eclipse.sirius.business.api.componentization.ViewpointRegistry; -import org.eclipse.sirius.viewpoint.description.Viewpoint; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.osgi.framework.BundleContext; - -/** - * The activator class controls the plug-in life cycle - */ -public class Activator extends AbstractUIPlugin { - // The plug-in ID - public static final String PLUGIN_ID = "org.eclipse.sirius.expression.design"; - - // The shared instance - private static Activator plugin; - - private static Set viewpoints; - - /** - * The constructor - */ - public Activator() { - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) - */ - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - viewpoints = new HashSet(); - viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/expression.odesign")); - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) - */ - public void stop(BundleContext context) throws Exception { - plugin = null; - if (viewpoints != null) { - for (final Viewpoint viewpoint: viewpoints) { - ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint); - } - viewpoints.clear(); - viewpoints = null; - } - super.stop(context); - } - - /** - * Returns the shared instance - * - * @return the shared instance - */ - public static Activator getDefault() { - return plugin; - } -} diff --git a/plugins/org.eclipse.sirius.expression.edit/.checkstyle b/plugins/org.eclipse.sirius.expression.edit/.checkstyle new file mode 100644 index 000000000..f1a81eec7 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/.checkstyle @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.edit/.classpath b/plugins/org.eclipse.sirius.expression.edit/.classpath index 75556083f..6292ea58a 100644 --- a/plugins/org.eclipse.sirius.expression.edit/.classpath +++ b/plugins/org.eclipse.sirius.expression.edit/.classpath @@ -1,7 +1,11 @@ - - + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.edit/.project b/plugins/org.eclipse.sirius.expression.edit/.project index 7c771e62e..4a7c2dc15 100644 --- a/plugins/org.eclipse.sirius.expression.edit/.project +++ b/plugins/org.eclipse.sirius.expression.edit/.project @@ -20,9 +20,15 @@ + + net.sf.eclipsecs.core.CheckstyleBuilder + + + org.eclipse.jdt.core.javanature org.eclipse.pde.PluginNature + net.sf.eclipsecs.core.CheckstyleNature diff --git a/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..fb8257839 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,398 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.builder.invalidClasspath=abort +org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=150 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +org.eclipse.jdt.core.incompleteClasspath=error +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.launching.prefs new file mode 100644 index 000000000..3bb235278 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.launching.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..e6ceed5c2 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,67 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;java;javax;org; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=false +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=false +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=true +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=false +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=false +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=false +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=false +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=false +sp_cleanup.remove_unused_private_types=false +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false +sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..3112e810d --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=1 +compilers.p.build.java.compiler=1 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=0 +compilers.p.missing-version-import-package=0 +compilers.p.missing-version-require-bundle=0 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=0 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF index 04534e807..fd7007400 100644 --- a/plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF @@ -4,12 +4,12 @@ Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.sirius.expression.edit;singleton:=true Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . -Bundle-Activator: org.eclipse.sirius.expression.expression.provider.ExpressionEditPlugin$Implementation +Bundle-Activator: org.eclipse.sirius.expression.provider.ExpressionEditPlugin$Implementation Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 -Export-Package: org.eclipse.sirius.expression.expression.provider -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.sirius.expression;visibility:=reexport, - org.eclipse.emf.edit;visibility:=reexport +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.sirius.expression.provider;version="1.0.0" +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", + org.eclipse.sirius.expression;bundle-version="[1.0.0,2.0.0)", + org.eclipse.emf.edit;bundle-version="[2.8.0,3.0.0)" Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.expression.edit/about.html b/plugins/org.eclipse.sirius.expression.edit/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.edit/build.properties b/plugins/org.eclipse.sirius.expression.edit/build.properties index 32b94f088..0b892ee53 100644 --- a/plugins/org.eclipse.sirius.expression.edit/build.properties +++ b/plugins/org.eclipse.sirius.expression.edit/build.properties @@ -8,7 +8,9 @@ bin.includes = .,\ icons/,\ META-INF/,\ plugin.xml,\ - plugin.properties + plugin.properties,\ + about.html jars.compile.order = . source.. = src-gen/ output.. = bin/ +javacProjectSettings = true diff --git a/plugins/org.eclipse.sirius.expression.edit/plugin.properties b/plugins/org.eclipse.sirius.expression.edit/plugin.properties index 069e2c0f4..712c91ee2 100644 --- a/plugins/org.eclipse.sirius.expression.edit/plugin.properties +++ b/plugins/org.eclipse.sirius.expression.edit/plugin.properties @@ -4,8 +4,8 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.htm -pluginName = Expression Edit Support -providerName = www.example.org +pluginName = Sirius Expression Edit Support +providerName = Eclipse Modeling Project _UI_CreateChild_text = {0} _UI_CreateChild_text2 = {1} {0} diff --git a/plugins/org.eclipse.sirius.expression.edit/plugin.xml b/plugins/org.eclipse.sirius.expression.edit/plugin.xml index 7b0672dbe..3098b8618 100644 --- a/plugins/org.eclipse.sirius.expression.edit/plugin.xml +++ b/plugins/org.eclipse.sirius.expression.edit/plugin.xml @@ -15,7 +15,7 @@ - * - * @generated - */ - protected void addUpperBoundPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ExpressionDescription_upperBound_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_upperBound_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__UPPER_BOUND, - true, - false, - false, - ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Expression feature. - * - * - * @generated - */ - protected void addExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ExpressionDescription_expression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_expression_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__EXPRESSION, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Variables feature. - * - * - * @generated - */ - protected void addVariablesPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ExpressionDescription_variables_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_variables_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__VARIABLES, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Return Type feature. - * - * - * @generated - */ - protected void addReturnTypePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ExpressionDescription_returnType_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_returnType_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__RETURN_TYPE, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Label feature. - * - * - * @generated - */ - protected void addLabelPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ExpressionDescription_label_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_label_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__LABEL, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Contextable Elements feature. - * - * - * @generated - */ - protected void addContextableElementsPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ExpressionDescription_contextableElements_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_contextableElements_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns ExpressionDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ExpressionDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - ExpressionDescription expressionDescription = (ExpressionDescription)object; - return getString("_UI_ExpressionDescription_type") + " " + expressionDescription.getLowerBound(); //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(ExpressionDescription.class)) { - case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: - case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: - case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ExpressionEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionEditPlugin.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionEditPlugin.java deleted file mode 100644 index 8902130f5..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionEditPlugin.java +++ /dev/null @@ -1,94 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression.provider; - -import org.eclipse.emf.common.EMFPlugin; - -import org.eclipse.emf.common.util.ResourceLocator; - -/** - * This is the central singleton for the Expression edit plugin. - * - * - * @generated - */ -public final class ExpressionEditPlugin extends EMFPlugin { - /** - * Keep track of the singleton. - * - * - * @generated - */ - public static final ExpressionEditPlugin INSTANCE = new ExpressionEditPlugin(); - - /** - * Keep track of the singleton. - * - * - * @generated - */ - private static Implementation plugin; - - /** - * Create the instance. - * - * - * @generated - */ - public ExpressionEditPlugin() { - super - (new ResourceLocator [] { - }); - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * - * @return the singleton instance. - * @generated - */ - @Override - public ResourceLocator getPluginResourceLocator() { - return plugin; - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * - * @return the singleton instance. - * @generated - */ - public static Implementation getPlugin() { - return plugin; - } - - /** - * The actual implementation of the Eclipse Plugin. - * - * - * @generated - */ - public static class Implementation extends EclipsePlugin { - /** - * Creates an instance. - * - * - * @generated - */ - public Implementation() { - super(); - - // Remember the static instance. - // - plugin = this; - } - } - -} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionItemProviderAdapterFactory.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionItemProviderAdapterFactory.java deleted file mode 100644 index 8ddbf74f3..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/ExpressionItemProviderAdapterFactory.java +++ /dev/null @@ -1,276 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression.provider; - -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.edit.provider.ChangeNotifier; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.ComposedAdapterFactory; -import org.eclipse.emf.edit.provider.IChangeNotifier; -import org.eclipse.emf.edit.provider.IDisposable; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.INotifyChangedListener; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; - -import org.eclipse.sirius.expression.expression.util.ExpressionAdapterFactory; - -/** - * This is the factory that is used to provide the interfaces needed to support Viewers. - * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. - * The adapters also support Eclipse property sheets. - * Note that most of the adapters are shared among multiple instances. - * - * - * @generated - */ -public class ExpressionItemProviderAdapterFactory extends ExpressionAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { - /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * - * - * @generated - */ - protected ComposedAdapterFactory parentAdapterFactory; - - /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * - * - * @generated - */ - protected IChangeNotifier changeNotifier = new ChangeNotifier(); - - /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * - * - * @generated - */ - protected Collection supportedTypes = new ArrayList(); - - /** - * This constructs an instance. - * - * - * @generated - */ - public ExpressionItemProviderAdapterFactory() { - supportedTypes.add(IEditingDomainItemProvider.class); - supportedTypes.add(IStructuredItemContentProvider.class); - supportedTypes.add(ITreeItemContentProvider.class); - supportedTypes.add(IItemLabelProvider.class); - supportedTypes.add(IItemPropertySource.class); - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage} instances. - * - * - * @generated - */ - protected SiriusExpressionPackageItemProvider siriusExpressionPackageItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage}. - * - * - * @generated - */ - @Override - public Adapter createSiriusExpressionPackageAdapter() { - if (siriusExpressionPackageItemProvider == null) { - siriusExpressionPackageItemProvider = new SiriusExpressionPackageItemProvider(this); - } - - return siriusExpressionPackageItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.expression.ExpressionDescription} instances. - * - * - * @generated - */ - protected ExpressionDescriptionItemProvider expressionDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.sirius.expression.expression.ExpressionDescription}. - * - * - * @generated - */ - @Override - public Adapter createExpressionDescriptionAdapter() { - if (expressionDescriptionItemProvider == null) { - expressionDescriptionItemProvider = new ExpressionDescriptionItemProvider(this); - } - - return expressionDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.expression.Variable} instances. - * - * - * @generated - */ - protected VariableItemProvider variableItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.sirius.expression.expression.Variable}. - * - * - * @generated - */ - @Override - public Adapter createVariableAdapter() { - if (variableItemProvider == null) { - variableItemProvider = new VariableItemProvider(this); - } - - return variableItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.expression.SiriusExpressionClass} instances. - * - * - * @generated - */ - protected SiriusExpressionClassItemProvider siriusExpressionClassItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.sirius.expression.expression.SiriusExpressionClass}. - * - * - * @generated - */ - @Override - public Adapter createSiriusExpressionClassAdapter() { - if (siriusExpressionClassItemProvider == null) { - siriusExpressionClassItemProvider = new SiriusExpressionClassItemProvider(this); - } - - return siriusExpressionClassItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * - * - * @generated - */ - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * - * - * @generated - */ - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * - * - * @generated - */ - @Override - public boolean isFactoryForType(Object type) { - return supportedTypes.contains(type) || super.isFactoryForType(type); - } - - /** - * This implementation substitutes the factory itself as the key for the adapter. - * - * - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * - * - * @generated - */ - @Override - public Object adapt(Object object, Object type) { - if (isFactoryForType(type)) { - Object adapter = super.adapt(object, type); - if (!(type instanceof Class) || (((Class)type).isInstance(adapter))) { - return adapter; - } - } - - return null; - } - - /** - * This adds a listener. - * - * - * @generated - */ - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * - * - * @generated - */ - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * - * - * @generated - */ - public void fireNotifyChanged(Notification notification) { - changeNotifier.fireNotifyChanged(notification); - - if (parentAdapterFactory != null) { - parentAdapterFactory.fireNotifyChanged(notification); - } - } - - /** - * This disposes all of the item providers created by this factory. - * - * - * @generated - */ - public void dispose() { - if (siriusExpressionPackageItemProvider != null) siriusExpressionPackageItemProvider.dispose(); - if (expressionDescriptionItemProvider != null) expressionDescriptionItemProvider.dispose(); - if (variableItemProvider != null) variableItemProvider.dispose(); - if (siriusExpressionClassItemProvider != null) siriusExpressionClassItemProvider.dispose(); - } - -} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionClassItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionClassItemProvider.java deleted file mode 100644 index 41ef12e1b..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionClassItemProvider.java +++ /dev/null @@ -1,221 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.sirius.expression.expression.ExpressionFactory; -import org.eclipse.sirius.expression.expression.ExpressionPackage; -import org.eclipse.sirius.expression.expression.SiriusExpressionClass; - -/** - * This is the item provider adapter for a {@link org.eclipse.sirius.expression.expression.SiriusExpressionClass} object. - * - * - * @generated - */ -public class SiriusExpressionClassItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public SiriusExpressionClassItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addLabelPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Label feature. - * - * - * @generated - */ - protected void addLabelPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_SiriusExpressionClass_label_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionClass_label_feature", "_UI_SiriusExpressionClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__LABEL, - 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__VARIABLES); - childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns SiriusExpressionClass.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusExpressionClass")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((SiriusExpressionClass)object).getLabel(); - return label == null || label.length() == 0 ? - getString("_UI_SiriusExpressionClass_type") : //$NON-NLS-1$ - getString("_UI_SiriusExpressionClass_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(SiriusExpressionClass.class)) { - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add - (createChildParameter - (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__VARIABLES, - ExpressionFactory.eINSTANCE.createVariable())); - - newChildDescriptors.add - (createChildParameter - (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS, - ExpressionFactory.eINSTANCE.createExpressionDescription())); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ExpressionEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionPackageItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionPackageItemProvider.java deleted file mode 100644 index a510d77b9..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/SiriusExpressionPackageItemProvider.java +++ /dev/null @@ -1,207 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.sirius.expression.expression.ExpressionFactory; -import org.eclipse.sirius.expression.expression.ExpressionPackage; -import org.eclipse.sirius.expression.expression.SiriusExpressionPackage; - -/** - * This is the item provider adapter for a {@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage} object. - * - * - * @generated - */ -public class SiriusExpressionPackageItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public SiriusExpressionPackageItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addEPackagePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the EPackage feature. - * - * - * @generated - */ - protected void addEPackagePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_SiriusExpressionPackage_ePackage_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionPackage_ePackage_feature", "_UI_SiriusExpressionPackage_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, - true, - false, - true, - null, - 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns SiriusExpressionPackage.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusExpressionPackage")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_SiriusExpressionPackage_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(SiriusExpressionPackage.class)) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add - (createChildParameter - (ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES, - ExpressionFactory.eINSTANCE.createSiriusExpressionClass())); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ExpressionEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/VariableItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/VariableItemProvider.java deleted file mode 100644 index c83caa94c..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/expression/provider/VariableItemProvider.java +++ /dev/null @@ -1,197 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.sirius.expression.expression.ExpressionPackage; -import org.eclipse.sirius.expression.expression.Variable; - -/** - * This is the item provider adapter for a {@link org.eclipse.sirius.expression.expression.Variable} object. - * - * - * @generated - */ -public class VariableItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public VariableItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addNamePropertyDescriptor(object); - addDocumentationPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Name feature. - * - * - * @generated - */ - protected void addNamePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Variable_name_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Variable_name_feature", "_UI_Variable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.VARIABLE__NAME, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Documentation feature. - * - * - * @generated - */ - protected void addDocumentationPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Variable_documentation_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Variable_documentation_feature", "_UI_Variable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.VARIABLE__DOCUMENTATION, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This returns Variable.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Variable")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((Variable)object).getName(); - return label == null || label.length() == 0 ? - getString("_UI_Variable_type") : //$NON-NLS-1$ - getString("_UI_Variable_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(Variable.class)) { - case ExpressionPackage.VARIABLE__NAME: - case ExpressionPackage.VARIABLE__DOCUMENTATION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ExpressionEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionDescriptionItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionDescriptionItemProvider.java new file mode 100644 index 000000000..7b3341e13 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionDescriptionItemProvider.java @@ -0,0 +1,311 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.ExpressionDescription; +import org.eclipse.sirius.expression.ExpressionPackage; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.ExpressionDescription} object. + * + * + * @generated + */ +public class ExpressionDescriptionItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public ExpressionDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addLowerBoundPropertyDescriptor(object); + addUpperBoundPropertyDescriptor(object); + addExpressionPropertyDescriptor(object); + addVariablesPropertyDescriptor(object); + addReturnTypePropertyDescriptor(object); + addLabelPropertyDescriptor(object); + addContextableElementsPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Lower Bound feature. + * + * + * @generated + */ + protected void addLowerBoundPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ExpressionDescription_lowerBound_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_lowerBound_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__LOWER_BOUND, + true, + false, + false, + ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Upper Bound feature. + * + * + * @generated + */ + protected void addUpperBoundPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ExpressionDescription_upperBound_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_upperBound_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__UPPER_BOUND, + true, + false, + false, + ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Expression feature. + * + * + * @generated + */ + protected void addExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ExpressionDescription_expression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_expression_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__EXPRESSION, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Variables feature. + * + * + * @generated + */ + protected void addVariablesPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ExpressionDescription_variables_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_variables_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__VARIABLES, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Return Type feature. + * + * + * @generated + */ + protected void addReturnTypePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ExpressionDescription_returnType_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_returnType_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__RETURN_TYPE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Label feature. + * + * + * @generated + */ + protected void addLabelPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ExpressionDescription_label_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_label_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__LABEL, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Contextable Elements feature. + * + * + * @generated + */ + protected void addContextableElementsPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ExpressionDescription_contextableElements_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_contextableElements_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns ExpressionDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/ExpressionDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + ExpressionDescription expressionDescription = (ExpressionDescription)object; + return getString("_UI_ExpressionDescription_type") + " " + expressionDescription.getLowerBound(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(ExpressionDescription.class)) { + case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: + case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: + case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java new file mode 100644 index 000000000..79725e43b --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java @@ -0,0 +1,94 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + +import org.eclipse.emf.common.EMFPlugin; + +import org.eclipse.emf.common.util.ResourceLocator; + +/** + * This is the central singleton for the Expression edit plugin. + * + * + * @generated + */ +public final class ExpressionEditPlugin extends EMFPlugin { + /** + * Keep track of the singleton. + * + * + * @generated + */ + public static final ExpressionEditPlugin INSTANCE = new ExpressionEditPlugin(); + + /** + * Keep track of the singleton. + * + * + * @generated + */ + private static Implementation plugin; + + /** + * Create the instance. + * + * + * @generated + */ + public ExpressionEditPlugin() { + super + (new ResourceLocator [] { + }); + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + @Override + public ResourceLocator getPluginResourceLocator() { + return plugin; + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + public static Implementation getPlugin() { + return plugin; + } + + /** + * The actual implementation of the Eclipse Plugin. + * + * + * @generated + */ + public static class Implementation extends EclipsePlugin { + /** + * Creates an instance. + * + * + * @generated + */ + public Implementation() { + super(); + + // Remember the static instance. + // + plugin = this; + } + } + +} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java new file mode 100644 index 000000000..e408c6b18 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java @@ -0,0 +1,276 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +import org.eclipse.sirius.expression.util.ExpressionAdapterFactory; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. + * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. + * The adapters also support Eclipse property sheets. + * Note that most of the adapters are shared among multiple instances. + * + * + * @generated + */ +public class ExpressionItemProviderAdapterFactory extends ExpressionAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * + * + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * + * + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * + * + * @generated + */ + protected Collection supportedTypes = new ArrayList(); + + /** + * This constructs an instance. + * + * + * @generated + */ + public ExpressionItemProviderAdapterFactory() { + supportedTypes.add(IEditingDomainItemProvider.class); + supportedTypes.add(IStructuredItemContentProvider.class); + supportedTypes.add(ITreeItemContentProvider.class); + supportedTypes.add(IItemLabelProvider.class); + supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.SiriusExpressionPackage} instances. + * + * + * @generated + */ + protected SiriusExpressionPackageItemProvider siriusExpressionPackageItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionPackage}. + * + * + * @generated + */ + @Override + public Adapter createSiriusExpressionPackageAdapter() { + if (siriusExpressionPackageItemProvider == null) { + siriusExpressionPackageItemProvider = new SiriusExpressionPackageItemProvider(this); + } + + return siriusExpressionPackageItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.ExpressionDescription} instances. + * + * + * @generated + */ + protected ExpressionDescriptionItemProvider expressionDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.ExpressionDescription}. + * + * + * @generated + */ + @Override + public Adapter createExpressionDescriptionAdapter() { + if (expressionDescriptionItemProvider == null) { + expressionDescriptionItemProvider = new ExpressionDescriptionItemProvider(this); + } + + return expressionDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.Variable} instances. + * + * + * @generated + */ + protected VariableItemProvider variableItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.Variable}. + * + * + * @generated + */ + @Override + public Adapter createVariableAdapter() { + if (variableItemProvider == null) { + variableItemProvider = new VariableItemProvider(this); + } + + return variableItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.SiriusExpressionClass} instances. + * + * + * @generated + */ + protected SiriusExpressionClassItemProvider siriusExpressionClassItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionClass}. + * + * + * @generated + */ + @Override + public Adapter createSiriusExpressionClassAdapter() { + if (siriusExpressionClassItemProvider == null) { + siriusExpressionClassItemProvider = new SiriusExpressionClassItemProvider(this); + } + + return siriusExpressionClassItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * + * + * @generated + */ + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * + * + * @generated + */ + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * + * + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * + * + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * + * + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class) || (((Class)type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * + * + * @generated + */ + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * + * + * @generated + */ + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * + * + * @generated + */ + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); + + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * + * + * @generated + */ + public void dispose() { + if (siriusExpressionPackageItemProvider != null) siriusExpressionPackageItemProvider.dispose(); + if (expressionDescriptionItemProvider != null) expressionDescriptionItemProvider.dispose(); + if (variableItemProvider != null) variableItemProvider.dispose(); + if (siriusExpressionClassItemProvider != null) siriusExpressionClassItemProvider.dispose(); + } + +} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java new file mode 100644 index 000000000..be114b635 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java @@ -0,0 +1,221 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.ExpressionFactory; +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionClass; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionClass} object. + * + * + * @generated + */ +public class SiriusExpressionClassItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public SiriusExpressionClassItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addLabelPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Label feature. + * + * + * @generated + */ + protected void addLabelPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionClass_label_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionClass_label_feature", "_UI_SiriusExpressionClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__LABEL, + 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__VARIABLES); + childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns SiriusExpressionClass.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusExpressionClass")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((SiriusExpressionClass)object).getLabel(); + return label == null || label.length() == 0 ? + getString("_UI_SiriusExpressionClass_type") : //$NON-NLS-1$ + getString("_UI_SiriusExpressionClass_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(SiriusExpressionClass.class)) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add + (createChildParameter + (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__VARIABLES, + ExpressionFactory.eINSTANCE.createVariable())); + + newChildDescriptors.add + (createChildParameter + (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS, + ExpressionFactory.eINSTANCE.createExpressionDescription())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionPackageItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionPackageItemProvider.java new file mode 100644 index 000000000..71ba24b31 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionPackageItemProvider.java @@ -0,0 +1,207 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.ExpressionFactory; +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionPackage; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionPackage} object. + * + * + * @generated + */ +public class SiriusExpressionPackageItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public SiriusExpressionPackageItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addEPackagePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the EPackage feature. + * + * + * @generated + */ + protected void addEPackagePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionPackage_ePackage_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionPackage_ePackage_feature", "_UI_SiriusExpressionPackage_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, + true, + false, + true, + null, + 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns SiriusExpressionPackage.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusExpressionPackage")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_SiriusExpressionPackage_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(SiriusExpressionPackage.class)) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add + (createChildParameter + (ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES, + ExpressionFactory.eINSTANCE.createSiriusExpressionClass())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/VariableItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/VariableItemProvider.java new file mode 100644 index 000000000..38ba718ff --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/VariableItemProvider.java @@ -0,0 +1,197 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.Variable; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.Variable} object. + * + * + * @generated + */ +public class VariableItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public VariableItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addNamePropertyDescriptor(object); + addDocumentationPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Name feature. + * + * + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Variable_name_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Variable_name_feature", "_UI_Variable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.VARIABLE__NAME, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Documentation feature. + * + * + * @generated + */ + protected void addDocumentationPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Variable_documentation_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Variable_documentation_feature", "_UI_Variable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.VARIABLE__DOCUMENTATION, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This returns Variable.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Variable")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((Variable)object).getName(); + return label == null || label.length() == 0 ? + getString("_UI_Variable_type") : //$NON-NLS-1$ + getString("_UI_Variable_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(Variable.class)) { + case ExpressionPackage.VARIABLE__NAME: + case ExpressionPackage.VARIABLE__DOCUMENTATION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.sirius.expression/.checkstyle b/plugins/org.eclipse.sirius.expression/.checkstyle new file mode 100644 index 000000000..f1a81eec7 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/.checkstyle @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression/.classpath b/plugins/org.eclipse.sirius.expression/.classpath index 75556083f..6292ea58a 100644 --- a/plugins/org.eclipse.sirius.expression/.classpath +++ b/plugins/org.eclipse.sirius.expression/.classpath @@ -1,7 +1,11 @@ - - + + + + + + diff --git a/plugins/org.eclipse.sirius.expression/.project b/plugins/org.eclipse.sirius.expression/.project index 4bb43d4a9..bace3fa3e 100644 --- a/plugins/org.eclipse.sirius.expression/.project +++ b/plugins/org.eclipse.sirius.expression/.project @@ -20,10 +20,16 @@ + + net.sf.eclipsecs.core.CheckstyleBuilder + + + org.eclipse.sirius.nature.modelingproject org.eclipse.jdt.core.javanature org.eclipse.pde.PluginNature + net.sf.eclipsecs.core.CheckstyleNature diff --git a/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..fb8257839 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,398 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.builder.invalidClasspath=abort +org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=150 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +org.eclipse.jdt.core.incompleteClasspath=error +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.launching.prefs new file mode 100644 index 000000000..3bb235278 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.launching.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..e6ceed5c2 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,67 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;java;javax;org; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=false +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=false +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=true +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=false +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=false +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=false +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=false +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=false +sp_cleanup.remove_unused_private_types=false +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false +sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..3112e810d --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=1 +compilers.p.build.java.compiler=1 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=0 +compilers.p.missing-version-import-package=0 +compilers.p.missing-version-require-bundle=0 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=0 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF index 7fe3b95c4..97f462b68 100644 --- a/plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF @@ -2,15 +2,15 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.sirius.expression;singleton:=true -Bundle-Version: 0.1.0.qualifier +Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 -Export-Package: org.eclipse.sirius.expression.expression, - org.eclipse.sirius.expression.expression.impl, - org.eclipse.sirius.expression.expression.util -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.emf.ecore;visibility:=reexport, - org.eclipse.emf.ecore.xmi +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.sirius.expression;version="1.0.0", + org.eclipse.sirius.expression.impl;version="1.0.0", + org.eclipse.sirius.expression.util;version="1.0.0" +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", + org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)", + org.eclipse.emf.ecore.xmi;bundle-version="[2.8.0,3.0.0)" Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.expression/about.html b/plugins/org.eclipse.sirius.expression/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression/build.properties b/plugins/org.eclipse.sirius.expression/build.properties index d84572d37..7dafef1b5 100644 --- a/plugins/org.eclipse.sirius.expression/build.properties +++ b/plugins/org.eclipse.sirius.expression/build.properties @@ -8,7 +8,9 @@ bin.includes = .,\ model/,\ META-INF/,\ plugin.xml,\ - plugin.properties + plugin.properties,\ + about.html jars.compile.order = . source.. = src-gen/ output.. = bin/ +javacProjectSettings = true diff --git a/plugins/org.eclipse.sirius.expression/model/expression.genmodel b/plugins/org.eclipse.sirius.expression/model/expression.genmodel index 031b5a717..e3c72f35a 100644 --- a/plugins/org.eclipse.sirius.expression/model/expression.genmodel +++ b/plugins/org.eclipse.sirius.expression/model/expression.genmodel @@ -5,10 +5,10 @@ editDirectory="/org.eclipse.sirius.expression.edit/src-gen" editorDirectory="/org.eclipse.sirius.expression.editor/src-gen" modelPluginID="org.eclipse.sirius.expression" modelName="Expression" nonNLSMarkers="true" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" testsDirectory="" - importerID="org.eclipse.emf.importer.ecore" containmentProxies="true" complianceLevel="7.0" + importerID="org.eclipse.emf.importer.ecore" containmentProxies="true" complianceLevel="6.0" copyrightFields="false" language="" operationReflection="true" importOrganizing="true"> expression.ecore - diff --git a/plugins/org.eclipse.sirius.expression/plugin.properties b/plugins/org.eclipse.sirius.expression/plugin.properties index 42f8c79b7..ea65427ae 100644 --- a/plugins/org.eclipse.sirius.expression/plugin.properties +++ b/plugins/org.eclipse.sirius.expression/plugin.properties @@ -4,5 +4,5 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.htm -pluginName = Expression Model -providerName = www.example.org +pluginName = Sirius Expression Model +providerName = Eclipse Modeling Project diff --git a/plugins/org.eclipse.sirius.expression/plugin.xml b/plugins/org.eclipse.sirius.expression/plugin.xml index 51a1ee612..975d0f12f 100644 --- a/plugins/org.eclipse.sirius.expression/plugin.xml +++ b/plugins/org.eclipse.sirius.expression/plugin.xml @@ -15,7 +15,7 @@ diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionDescription.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionDescription.java new file mode 100644 index 000000000..ff02c37a6 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionDescription.java @@ -0,0 +1,200 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EStructuralFeature; + +/** + * + * A representation of the model object 'Description'. + * + * + * + * Defines an expression. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.ExpressionDescription#getLowerBound Lower Bound}
  • + *
  • {@link org.eclipse.sirius.expression.ExpressionDescription#getUpperBound Upper Bound}
  • + *
  • {@link org.eclipse.sirius.expression.ExpressionDescription#getExpression Expression}
  • + *
  • {@link org.eclipse.sirius.expression.ExpressionDescription#getVariables Variables}
  • + *
  • {@link org.eclipse.sirius.expression.ExpressionDescription#getReturnType Return Type}
  • + *
  • {@link org.eclipse.sirius.expression.ExpressionDescription#getLabel Label}
  • + *
  • {@link org.eclipse.sirius.expression.ExpressionDescription#getContextableElements Contextable Elements}
  • + *
+ * + * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription() + * @model + * @generated + */ +public interface ExpressionDescription extends EObject { + /** + * Returns the value of the 'Lower Bound' attribute. + * + * + * + * Defines the return type lower bound. + * + * @return the value of the 'Lower Bound' attribute. + * @see #setLowerBound(int) + * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription_LowerBound() + * @model + * @generated + */ + int getLowerBound(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.ExpressionDescription#getLowerBound Lower Bound}' attribute. + * + * + * @param value the new value of the 'Lower Bound' attribute. + * @see #getLowerBound() + * @generated + */ + void setLowerBound(int value); + + /** + * Returns the value of the 'Upper Bound' attribute. + * The default value is "1". + * + * + * + * Defines the return type upper bound. + * + * @return the value of the 'Upper Bound' attribute. + * @see #setUpperBound(int) + * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription_UpperBound() + * @model default="1" + * @generated + */ + int getUpperBound(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.ExpressionDescription#getUpperBound Upper Bound}' attribute. + * + * + * @param value the new value of the 'Upper Bound' attribute. + * @see #getUpperBound() + * @generated + */ + void setUpperBound(int value); + + /** + * Returns the value of the 'Expression' reference. + * + * + * + * References an expression from another metamodel. + * + * @return the value of the 'Expression' reference. + * @see #setExpression(EStructuralFeature) + * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription_Expression() + * @model + * @generated + */ + EStructuralFeature getExpression(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.ExpressionDescription#getExpression Expression}' reference. + * + * + * @param value the new value of the 'Expression' reference. + * @see #getExpression() + * @generated + */ + void setExpression(EStructuralFeature value); + + /** + * Returns the value of the 'Variables' reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.Variable}. + * + * + * + * Contains the variables associated to an expression description. + * + * @return the value of the 'Variables' reference list. + * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription_Variables() + * @model + * @generated + */ + EList getVariables(); + + /** + * Returns the value of the 'Return Type' reference. + * + * + * + * Defines the return type of an expression. + * + * @return the value of the 'Return Type' reference. + * @see #setReturnType(EClassifier) + * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription_ReturnType() + * @model + * @generated + */ + EClassifier getReturnType(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.ExpressionDescription#getReturnType Return Type}' reference. + * + * + * @param value the new value of the 'Return Type' reference. + * @see #getReturnType() + * @generated + */ + void setReturnType(EClassifier value); + + /** + * Returns the value of the 'Label' attribute. + * + * + * + * Defines the label of theexpression. + * + * @return the value of the 'Label' attribute. + * @see #setLabel(String) + * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription_Label() + * @model + * @generated + */ + String getLabel(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.ExpressionDescription#getLabel Label}' attribute. + * + * + * @param value the new value of the 'Label' attribute. + * @see #getLabel() + * @generated + */ + void setLabel(String value); + + /** + * Returns the value of the 'Contextable Elements' reference list. + * The list contents are of type {@link org.eclipse.emf.ecore.EClass}. + * + * + * + * References contextable elements to get the associated context variables. + * + * @return the value of the 'Contextable Elements' reference list. + * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription_ContextableElements() + * @model + * @generated + */ + EList getContextableElements(); + +} // ExpressionDescription diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java new file mode 100644 index 000000000..d48332d96 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java @@ -0,0 +1,74 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.sirius.expression.ExpressionPackage + * @generated + */ +public interface ExpressionFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + ExpressionFactory eINSTANCE = org.eclipse.sirius.expression.impl.ExpressionFactoryImpl.init(); + + /** + * Returns a new object of class 'Sirius Expression Package'. + * + * + * @return a new object of class 'Sirius Expression Package'. + * @generated + */ + SiriusExpressionPackage createSiriusExpressionPackage(); + + /** + * Returns a new object of class 'Description'. + * + * + * @return a new object of class 'Description'. + * @generated + */ + ExpressionDescription createExpressionDescription(); + + /** + * Returns a new object of class 'Variable'. + * + * + * @return a new object of class 'Variable'. + * @generated + */ + Variable createVariable(); + + /** + * Returns a new object of class 'Sirius Expression Class'. + * + * + * @return a new object of class 'Sirius Expression Class'. + * @generated + */ + SiriusExpressionClass createSiriusExpressionClass(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + ExpressionPackage getExpressionPackage(); + +} //ExpressionFactory diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java new file mode 100644 index 000000000..ff973ed6d --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java @@ -0,0 +1,768 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @see org.eclipse.sirius.expression.ExpressionFactory + * @model kind="package" + * @generated + */ +public interface ExpressionPackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "expression"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.eclipse.org/sirius/expression"; //$NON-NLS-1$ + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "expression"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * + * + * @generated + */ + ExpressionPackage eINSTANCE = org.eclipse.sirius.expression.impl.ExpressionPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl Sirius Expression Package}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionPackage() + * @generated + */ + int SIRIUS_EXPRESSION_PACKAGE = 0; + + /** + * The feature id for the 'Expression Classes' containment reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES = 0; + + /** + * The feature id for the 'EPackage' reference. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_PACKAGE__EPACKAGE = 1; + + /** + * The number of structural features of the 'Sirius Expression Package' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_PACKAGE_FEATURE_COUNT = 2; + + /** + * The number of operations of the 'Sirius Expression Package' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_PACKAGE_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl Description}' class. + * + * + * @see org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getExpressionDescription() + * @generated + */ + int EXPRESSION_DESCRIPTION = 1; + + /** + * The feature id for the 'Lower Bound' attribute. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION__LOWER_BOUND = 0; + + /** + * The feature id for the 'Upper Bound' attribute. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION__UPPER_BOUND = 1; + + /** + * The feature id for the 'Expression' reference. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION__EXPRESSION = 2; + + /** + * The feature id for the 'Variables' reference list. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION__VARIABLES = 3; + + /** + * The feature id for the 'Return Type' reference. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION__RETURN_TYPE = 4; + + /** + * The feature id for the 'Label' attribute. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION__LABEL = 5; + + /** + * The feature id for the 'Contextable Elements' reference list. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS = 6; + + /** + * The number of structural features of the 'Description' class. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION_FEATURE_COUNT = 7; + + /** + * The number of operations of the 'Description' class. + * + * + * @generated + * @ordered + */ + int EXPRESSION_DESCRIPTION_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.impl.VariableImpl Variable}' class. + * + * + * @see org.eclipse.sirius.expression.impl.VariableImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getVariable() + * @generated + */ + int VARIABLE = 2; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int VARIABLE__NAME = 0; + + /** + * The feature id for the 'Documentation' attribute. + * + * + * @generated + * @ordered + */ + int VARIABLE__DOCUMENTATION = 1; + + /** + * The number of structural features of the 'Variable' class. + * + * + * @generated + * @ordered + */ + int VARIABLE_FEATURE_COUNT = 2; + + /** + * The number of operations of the 'Variable' class. + * + * + * @generated + * @ordered + */ + int VARIABLE_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionClass() + * @generated + */ + int SIRIUS_EXPRESSION_CLASS = 3; + + /** + * The feature id for the 'Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS__VARIABLES = 0; + + /** + * The feature id for the 'Expression Descriptions' containment reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = 1; + + /** + * The feature id for the 'Label' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS__LABEL = 2; + + /** + * The number of structural features of the 'Sirius Expression Class' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS_FEATURE_COUNT = 3; + + /** + * The number of operations of the 'Sirius Expression Class' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS_OPERATION_COUNT = 0; + + /** + * The meta object id for the 'Void' data type. + * + * + * @see java.lang.Void + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getVoid() + * @generated + */ + int VOID = 4; + + /** + * The meta object id for the 'Object' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getObject() + * @generated + */ + int OBJECT = 5; + + /** + * The meta object id for the 'Predicate' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getPredicate() + * @generated + */ + int PREDICATE = 6; + + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusExpressionPackage Sirius Expression Package}'. + * + * + * @return the meta object for class 'Sirius Expression Package'. + * @see org.eclipse.sirius.expression.SiriusExpressionPackage + * @generated + */ + EClass getSiriusExpressionPackage(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.SiriusExpressionPackage#getExpressionClasses Expression Classes}'. + * + * + * @return the meta object for the containment reference list 'Expression Classes'. + * @see org.eclipse.sirius.expression.SiriusExpressionPackage#getExpressionClasses() + * @see #getSiriusExpressionPackage() + * @generated + */ + EReference getSiriusExpressionPackage_ExpressionClasses(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusExpressionPackage#getEPackage EPackage}'. + * + * + * @return the meta object for the reference 'EPackage'. + * @see org.eclipse.sirius.expression.SiriusExpressionPackage#getEPackage() + * @see #getSiriusExpressionPackage() + * @generated + */ + EReference getSiriusExpressionPackage_EPackage(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.ExpressionDescription Description}'. + * + * + * @return the meta object for class 'Description'. + * @see org.eclipse.sirius.expression.ExpressionDescription + * @generated + */ + EClass getExpressionDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.ExpressionDescription#getLowerBound Lower Bound}'. + * + * + * @return the meta object for the attribute 'Lower Bound'. + * @see org.eclipse.sirius.expression.ExpressionDescription#getLowerBound() + * @see #getExpressionDescription() + * @generated + */ + EAttribute getExpressionDescription_LowerBound(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.ExpressionDescription#getUpperBound Upper Bound}'. + * + * + * @return the meta object for the attribute 'Upper Bound'. + * @see org.eclipse.sirius.expression.ExpressionDescription#getUpperBound() + * @see #getExpressionDescription() + * @generated + */ + EAttribute getExpressionDescription_UpperBound(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.ExpressionDescription#getExpression Expression}'. + * + * + * @return the meta object for the reference 'Expression'. + * @see org.eclipse.sirius.expression.ExpressionDescription#getExpression() + * @see #getExpressionDescription() + * @generated + */ + EReference getExpressionDescription_Expression(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.sirius.expression.ExpressionDescription#getVariables Variables}'. + * + * + * @return the meta object for the reference list 'Variables'. + * @see org.eclipse.sirius.expression.ExpressionDescription#getVariables() + * @see #getExpressionDescription() + * @generated + */ + EReference getExpressionDescription_Variables(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.ExpressionDescription#getReturnType Return Type}'. + * + * + * @return the meta object for the reference 'Return Type'. + * @see org.eclipse.sirius.expression.ExpressionDescription#getReturnType() + * @see #getExpressionDescription() + * @generated + */ + EReference getExpressionDescription_ReturnType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.ExpressionDescription#getLabel Label}'. + * + * + * @return the meta object for the attribute 'Label'. + * @see org.eclipse.sirius.expression.ExpressionDescription#getLabel() + * @see #getExpressionDescription() + * @generated + */ + EAttribute getExpressionDescription_Label(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.sirius.expression.ExpressionDescription#getContextableElements Contextable Elements}'. + * + * + * @return the meta object for the reference list 'Contextable Elements'. + * @see org.eclipse.sirius.expression.ExpressionDescription#getContextableElements() + * @see #getExpressionDescription() + * @generated + */ + EReference getExpressionDescription_ContextableElements(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.Variable Variable}'. + * + * + * @return the meta object for class 'Variable'. + * @see org.eclipse.sirius.expression.Variable + * @generated + */ + EClass getVariable(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.Variable#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.sirius.expression.Variable#getName() + * @see #getVariable() + * @generated + */ + EAttribute getVariable_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.Variable#getDocumentation Documentation}'. + * + * + * @return the meta object for the attribute 'Documentation'. + * @see org.eclipse.sirius.expression.Variable#getDocumentation() + * @see #getVariable() + * @generated + */ + EAttribute getVariable_Documentation(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusExpressionClass Sirius Expression Class}'. + * + * + * @return the meta object for class 'Sirius Expression Class'. + * @see org.eclipse.sirius.expression.SiriusExpressionClass + * @generated + */ + EClass getSiriusExpressionClass(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getVariables Variables}'. + * + * + * @return the meta object for the containment reference list 'Variables'. + * @see org.eclipse.sirius.expression.SiriusExpressionClass#getVariables() + * @see #getSiriusExpressionClass() + * @generated + */ + EReference getSiriusExpressionClass_Variables(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getExpressionDescriptions Expression Descriptions}'. + * + * + * @return the meta object for the containment reference list 'Expression Descriptions'. + * @see org.eclipse.sirius.expression.SiriusExpressionClass#getExpressionDescriptions() + * @see #getSiriusExpressionClass() + * @generated + */ + EReference getSiriusExpressionClass_ExpressionDescriptions(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getLabel Label}'. + * + * + * @return the meta object for the attribute 'Label'. + * @see org.eclipse.sirius.expression.SiriusExpressionClass#getLabel() + * @see #getSiriusExpressionClass() + * @generated + */ + EAttribute getSiriusExpressionClass_Label(); + + /** + * Returns the meta object for data type '{@link java.lang.Void Void}'. + * + * + * @return the meta object for data type 'Void'. + * @see java.lang.Void + * @model instanceClass="java.lang.Void" + * @generated + */ + EDataType getVoid(); + + /** + * Returns the meta object for data type '{@link java.lang.Object Object}'. + * + * + * @return the meta object for data type 'Object'. + * @see java.lang.Object + * @model instanceClass="java.lang.Object" + * @generated + */ + EDataType getObject(); + + /** + * Returns the meta object for data type '{@link java.lang.Object Predicate}'. + * + * + * @return the meta object for data type 'Predicate'. + * @see java.lang.Object + * @model instanceClass="java.lang.Object" + * @generated + */ + EDataType getPredicate(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + ExpressionFactory getExpressionFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl Sirius Expression Package}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionPackage() + * @generated + */ + EClass SIRIUS_EXPRESSION_PACKAGE = eINSTANCE.getSiriusExpressionPackage(); + + /** + * The meta object literal for the 'Expression Classes' containment reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES = eINSTANCE.getSiriusExpressionPackage_ExpressionClasses(); + + /** + * The meta object literal for the 'EPackage' reference feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_PACKAGE__EPACKAGE = eINSTANCE.getSiriusExpressionPackage_EPackage(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl Description}' class. + * + * + * @see org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getExpressionDescription() + * @generated + */ + EClass EXPRESSION_DESCRIPTION = eINSTANCE.getExpressionDescription(); + + /** + * The meta object literal for the 'Lower Bound' attribute feature. + * + * + * @generated + */ + EAttribute EXPRESSION_DESCRIPTION__LOWER_BOUND = eINSTANCE.getExpressionDescription_LowerBound(); + + /** + * The meta object literal for the 'Upper Bound' attribute feature. + * + * + * @generated + */ + EAttribute EXPRESSION_DESCRIPTION__UPPER_BOUND = eINSTANCE.getExpressionDescription_UpperBound(); + + /** + * The meta object literal for the 'Expression' reference feature. + * + * + * @generated + */ + EReference EXPRESSION_DESCRIPTION__EXPRESSION = eINSTANCE.getExpressionDescription_Expression(); + + /** + * The meta object literal for the 'Variables' reference list feature. + * + * + * @generated + */ + EReference EXPRESSION_DESCRIPTION__VARIABLES = eINSTANCE.getExpressionDescription_Variables(); + + /** + * The meta object literal for the 'Return Type' reference feature. + * + * + * @generated + */ + EReference EXPRESSION_DESCRIPTION__RETURN_TYPE = eINSTANCE.getExpressionDescription_ReturnType(); + + /** + * The meta object literal for the 'Label' attribute feature. + * + * + * @generated + */ + EAttribute EXPRESSION_DESCRIPTION__LABEL = eINSTANCE.getExpressionDescription_Label(); + + /** + * The meta object literal for the 'Contextable Elements' reference list feature. + * + * + * @generated + */ + EReference EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS = eINSTANCE.getExpressionDescription_ContextableElements(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.VariableImpl Variable}' class. + * + * + * @see org.eclipse.sirius.expression.impl.VariableImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getVariable() + * @generated + */ + EClass VARIABLE = eINSTANCE.getVariable(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute VARIABLE__NAME = eINSTANCE.getVariable_Name(); + + /** + * The meta object literal for the 'Documentation' attribute feature. + * + * + * @generated + */ + EAttribute VARIABLE__DOCUMENTATION = eINSTANCE.getVariable_Documentation(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionClass() + * @generated + */ + EClass SIRIUS_EXPRESSION_CLASS = eINSTANCE.getSiriusExpressionClass(); + + /** + * The meta object literal for the 'Variables' containment reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_CLASS__VARIABLES = eINSTANCE.getSiriusExpressionClass_Variables(); + + /** + * The meta object literal for the 'Expression Descriptions' containment reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = eINSTANCE.getSiriusExpressionClass_ExpressionDescriptions(); + + /** + * The meta object literal for the 'Label' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_EXPRESSION_CLASS__LABEL = eINSTANCE.getSiriusExpressionClass_Label(); + + /** + * The meta object literal for the 'Void' data type. + * + * + * @see java.lang.Void + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getVoid() + * @generated + */ + EDataType VOID = eINSTANCE.getVoid(); + + /** + * The meta object literal for the 'Object' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getObject() + * @generated + */ + EDataType OBJECT = eINSTANCE.getObject(); + + /** + * The meta object literal for the 'Predicate' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getPredicate() + * @generated + */ + EDataType PREDICATE = eINSTANCE.getPredicate(); + + } + +} //ExpressionPackage diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java new file mode 100644 index 000000000..648175cda --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java @@ -0,0 +1,92 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Sirius Expression Class'. + * + * + * + * Holds expression descriptions and variables. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.SiriusExpressionClass#getVariables Variables}
  • + *
  • {@link org.eclipse.sirius.expression.SiriusExpressionClass#getExpressionDescriptions Expression Descriptions}
  • + *
  • {@link org.eclipse.sirius.expression.SiriusExpressionClass#getLabel Label}
  • + *
+ * + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionClass() + * @model + * @generated + */ +public interface SiriusExpressionClass extends EObject { + /** + * Returns the value of the 'Variables' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.Variable}. + * + * + * + * References the variables. Variables are global as they can be referenced by any expression description. + * + * @return the value of the 'Variables' containment reference list. + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionClass_Variables() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getVariables(); + + /** + * Returns the value of the 'Expression Descriptions' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.ExpressionDescription}. + * + * + * + * References the expressions. + * + * @return the value of the 'Expression Descriptions' containment reference list. + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionClass_ExpressionDescriptions() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getExpressionDescriptions(); + + /** + * Returns the value of the 'Label' attribute. + * + * + * + * Lable to identify an expression class. + * + * @return the value of the 'Label' attribute. + * @see #setLabel(String) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionClass_Label() + * @model + * @generated + */ + String getLabel(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getLabel Label}' attribute. + * + * + * @param value the new value of the 'Label' attribute. + * @see #getLabel() + * @generated + */ + void setLabel(String value); + +} // SiriusExpressionClass diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionPackage.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionPackage.java new file mode 100644 index 000000000..0198a0d36 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionPackage.java @@ -0,0 +1,77 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +/** + * + * A representation of the model object 'Sirius Expression Package'. + * + * + * + * An ExpressionPackage is the root concept of the expression metamodel. This metamodel is used to define the link between expressions and the variables that could be used by the expressions.An ExpressionPackage defines groups of ExpressionClasses. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.SiriusExpressionPackage#getExpressionClasses Expression Classes}
  • + *
  • {@link org.eclipse.sirius.expression.SiriusExpressionPackage#getEPackage EPackage}
  • + *
+ * + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionPackage() + * @model + * @generated + */ +public interface SiriusExpressionPackage extends EObject { + /** + * Returns the value of the 'Expression Classes' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.SiriusExpressionClass}. + * + * + * + * References expression classes. + * + * @return the value of the 'Expression Classes' containment reference list. + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionPackage_ExpressionClasses() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getExpressionClasses(); + + /** + * Returns the value of the 'EPackage' reference. + * + * + * + * References the ePackage of the EClasses defining expressions. + * + * @return the value of the 'EPackage' reference. + * @see #setEPackage(EPackage) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionPackage_EPackage() + * @model + * @generated + */ + EPackage getEPackage(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionPackage#getEPackage EPackage}' reference. + * + * + * @param value the new value of the 'EPackage' reference. + * @see #getEPackage() + * @generated + */ + void setEPackage(EPackage value); + +} // SiriusExpressionPackage diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/Variable.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/Variable.java new file mode 100644 index 000000000..a169b71fd --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/Variable.java @@ -0,0 +1,84 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Variable'. + * + * + * + * Represents a variable. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.Variable#getName Name}
  • + *
  • {@link org.eclipse.sirius.expression.Variable#getDocumentation Documentation}
  • + *
+ * + * @see org.eclipse.sirius.expression.ExpressionPackage#getVariable() + * @model + * @generated + */ +public interface Variable extends EObject { + /** + * Returns the value of the 'Name' attribute. + * + * + * + * Defines the name of the varriable. + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.sirius.expression.ExpressionPackage#getVariable_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.Variable#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Documentation' attribute. + * + * + * + * Defines the documentation of the variables. + * + * @return the value of the 'Documentation' attribute. + * @see #setDocumentation(String) + * @see org.eclipse.sirius.expression.ExpressionPackage#getVariable_Documentation() + * @model + * @generated + */ + String getDocumentation(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.Variable#getDocumentation Documentation}' attribute. + * + * + * @param value the new value of the 'Documentation' attribute. + * @see #getDocumentation() + * @generated + */ + void setDocumentation(String value); + +} // Variable diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionDescription.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionDescription.java deleted file mode 100644 index e35e8b8dc..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionDescription.java +++ /dev/null @@ -1,200 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EStructuralFeature; - -/** - * - * A representation of the model object 'Description'. - * - * - * - * Defines an expression. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.sirius.expression.expression.ExpressionDescription#getLowerBound Lower Bound}
  • - *
  • {@link org.eclipse.sirius.expression.expression.ExpressionDescription#getUpperBound Upper Bound}
  • - *
  • {@link org.eclipse.sirius.expression.expression.ExpressionDescription#getExpression Expression}
  • - *
  • {@link org.eclipse.sirius.expression.expression.ExpressionDescription#getVariables Variables}
  • - *
  • {@link org.eclipse.sirius.expression.expression.ExpressionDescription#getReturnType Return Type}
  • - *
  • {@link org.eclipse.sirius.expression.expression.ExpressionDescription#getLabel Label}
  • - *
  • {@link org.eclipse.sirius.expression.expression.ExpressionDescription#getContextableElements Contextable Elements}
  • - *
- * - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription() - * @model - * @generated - */ -public interface ExpressionDescription extends EObject { - /** - * Returns the value of the 'Lower Bound' attribute. - * - * - * - * Defines the return type lower bound. - * - * @return the value of the 'Lower Bound' attribute. - * @see #setLowerBound(int) - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription_LowerBound() - * @model - * @generated - */ - int getLowerBound(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getLowerBound Lower Bound}' attribute. - * - * - * @param value the new value of the 'Lower Bound' attribute. - * @see #getLowerBound() - * @generated - */ - void setLowerBound(int value); - - /** - * Returns the value of the 'Upper Bound' attribute. - * The default value is "1". - * - * - * - * Defines the return type upper bound. - * - * @return the value of the 'Upper Bound' attribute. - * @see #setUpperBound(int) - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription_UpperBound() - * @model default="1" - * @generated - */ - int getUpperBound(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getUpperBound Upper Bound}' attribute. - * - * - * @param value the new value of the 'Upper Bound' attribute. - * @see #getUpperBound() - * @generated - */ - void setUpperBound(int value); - - /** - * Returns the value of the 'Expression' reference. - * - * - * - * References an expression from another metamodel. - * - * @return the value of the 'Expression' reference. - * @see #setExpression(EStructuralFeature) - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription_Expression() - * @model - * @generated - */ - EStructuralFeature getExpression(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getExpression Expression}' reference. - * - * - * @param value the new value of the 'Expression' reference. - * @see #getExpression() - * @generated - */ - void setExpression(EStructuralFeature value); - - /** - * Returns the value of the 'Variables' reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.expression.Variable}. - * - * - * - * Contains the variables associated to an expression description. - * - * @return the value of the 'Variables' reference list. - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription_Variables() - * @model - * @generated - */ - EList getVariables(); - - /** - * Returns the value of the 'Return Type' reference. - * - * - * - * Defines the return type of an expression. - * - * @return the value of the 'Return Type' reference. - * @see #setReturnType(EClassifier) - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription_ReturnType() - * @model - * @generated - */ - EClassifier getReturnType(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getReturnType Return Type}' reference. - * - * - * @param value the new value of the 'Return Type' reference. - * @see #getReturnType() - * @generated - */ - void setReturnType(EClassifier value); - - /** - * Returns the value of the 'Label' attribute. - * - * - * - * Defines the label of theexpression. - * - * @return the value of the 'Label' attribute. - * @see #setLabel(String) - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription_Label() - * @model - * @generated - */ - String getLabel(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getLabel Label}' attribute. - * - * - * @param value the new value of the 'Label' attribute. - * @see #getLabel() - * @generated - */ - void setLabel(String value); - - /** - * Returns the value of the 'Contextable Elements' reference list. - * The list contents are of type {@link org.eclipse.emf.ecore.EClass}. - * - * - * - * References contextable elements to get the associated context variables. - * - * @return the value of the 'Contextable Elements' reference list. - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getExpressionDescription_ContextableElements() - * @model - * @generated - */ - EList getContextableElements(); - -} // ExpressionDescription diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionFactory.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionFactory.java deleted file mode 100644 index 4966947c1..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionFactory.java +++ /dev/null @@ -1,74 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.sirius.expression.expression.ExpressionPackage - * @generated - */ -public interface ExpressionFactory extends EFactory { - /** - * The singleton instance of the factory. - * - * - * @generated - */ - ExpressionFactory eINSTANCE = org.eclipse.sirius.expression.expression.impl.ExpressionFactoryImpl.init(); - - /** - * Returns a new object of class 'Sirius Expression Package'. - * - * - * @return a new object of class 'Sirius Expression Package'. - * @generated - */ - SiriusExpressionPackage createSiriusExpressionPackage(); - - /** - * Returns a new object of class 'Description'. - * - * - * @return a new object of class 'Description'. - * @generated - */ - ExpressionDescription createExpressionDescription(); - - /** - * Returns a new object of class 'Variable'. - * - * - * @return a new object of class 'Variable'. - * @generated - */ - Variable createVariable(); - - /** - * Returns a new object of class 'Sirius Expression Class'. - * - * - * @return a new object of class 'Sirius Expression Class'. - * @generated - */ - SiriusExpressionClass createSiriusExpressionClass(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - ExpressionPackage getExpressionPackage(); - -} //ExpressionFactory diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionPackage.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionPackage.java deleted file mode 100644 index 477f58241..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/ExpressionPackage.java +++ /dev/null @@ -1,768 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each operation of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @see org.eclipse.sirius.expression.expression.ExpressionFactory - * @model kind="package" - * @generated - */ -public interface ExpressionPackage extends EPackage { - /** - * The package name. - * - * - * @generated - */ - String eNAME = "expression"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "http://www.eclipse.org/sirius/expression"; //$NON-NLS-1$ - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "expression"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * - * - * @generated - */ - ExpressionPackage eINSTANCE = org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionPackageImpl Sirius Expression Package}' class. - * - * - * @see org.eclipse.sirius.expression.expression.impl.SiriusExpressionPackageImpl - * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getSiriusExpressionPackage() - * @generated - */ - int SIRIUS_EXPRESSION_PACKAGE = 0; - - /** - * The feature id for the 'Expression Classes' containment reference list. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES = 0; - - /** - * The feature id for the 'EPackage' reference. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_PACKAGE__EPACKAGE = 1; - - /** - * The number of structural features of the 'Sirius Expression Package' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_PACKAGE_FEATURE_COUNT = 2; - - /** - * The number of operations of the 'Sirius Expression Package' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_PACKAGE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl Description}' class. - * - * - * @see org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl - * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getExpressionDescription() - * @generated - */ - int EXPRESSION_DESCRIPTION = 1; - - /** - * The feature id for the 'Lower Bound' attribute. - * - * - * @generated - * @ordered - */ - int EXPRESSION_DESCRIPTION__LOWER_BOUND = 0; - - /** - * The feature id for the 'Upper Bound' attribute. - * - * - * @generated - * @ordered - */ - int EXPRESSION_DESCRIPTION__UPPER_BOUND = 1; - - /** - * The feature id for the 'Expression' reference. - * - * - * @generated - * @ordered - */ - int EXPRESSION_DESCRIPTION__EXPRESSION = 2; - - /** - * The feature id for the 'Variables' reference list. - * - * - * @generated - * @ordered - */ - int EXPRESSION_DESCRIPTION__VARIABLES = 3; - - /** - * The feature id for the 'Return Type' reference. - * - * - * @generated - * @ordered - */ - int EXPRESSION_DESCRIPTION__RETURN_TYPE = 4; - - /** - * The feature id for the 'Label' attribute. - * - * - * @generated - * @ordered - */ - int EXPRESSION_DESCRIPTION__LABEL = 5; - - /** - * The feature id for the 'Contextable Elements' reference list. - * - * - * @generated - * @ordered - */ - int EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS = 6; - - /** - * The number of structural features of the 'Description' class. - * - * - * @generated - * @ordered - */ - int EXPRESSION_DESCRIPTION_FEATURE_COUNT = 7; - - /** - * The number of operations of the 'Description' class. - * - * - * @generated - * @ordered - */ - int EXPRESSION_DESCRIPTION_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.sirius.expression.expression.impl.VariableImpl Variable}' class. - * - * - * @see org.eclipse.sirius.expression.expression.impl.VariableImpl - * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getVariable() - * @generated - */ - int VARIABLE = 2; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int VARIABLE__NAME = 0; - - /** - * The feature id for the 'Documentation' attribute. - * - * - * @generated - * @ordered - */ - int VARIABLE__DOCUMENTATION = 1; - - /** - * The number of structural features of the 'Variable' class. - * - * - * @generated - * @ordered - */ - int VARIABLE_FEATURE_COUNT = 2; - - /** - * The number of operations of the 'Variable' class. - * - * - * @generated - * @ordered - */ - int VARIABLE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. - * - * - * @see org.eclipse.sirius.expression.expression.impl.SiriusExpressionClassImpl - * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getSiriusExpressionClass() - * @generated - */ - int SIRIUS_EXPRESSION_CLASS = 3; - - /** - * The feature id for the 'Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_CLASS__VARIABLES = 0; - - /** - * The feature id for the 'Expression Descriptions' containment reference list. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = 1; - - /** - * The feature id for the 'Label' attribute. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_CLASS__LABEL = 2; - - /** - * The number of structural features of the 'Sirius Expression Class' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_CLASS_FEATURE_COUNT = 3; - - /** - * The number of operations of the 'Sirius Expression Class' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_CLASS_OPERATION_COUNT = 0; - - /** - * The meta object id for the 'Void' data type. - * - * - * @see java.lang.Void - * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getVoid() - * @generated - */ - int VOID = 4; - - /** - * The meta object id for the 'Object' data type. - * - * - * @see java.lang.Object - * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getObject() - * @generated - */ - int OBJECT = 5; - - /** - * The meta object id for the 'Predicate' data type. - * - * - * @see java.lang.Object - * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getPredicate() - * @generated - */ - int PREDICATE = 6; - - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage Sirius Expression Package}'. - * - * - * @return the meta object for class 'Sirius Expression Package'. - * @see org.eclipse.sirius.expression.expression.SiriusExpressionPackage - * @generated - */ - EClass getSiriusExpressionPackage(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage#getExpressionClasses Expression Classes}'. - * - * - * @return the meta object for the containment reference list 'Expression Classes'. - * @see org.eclipse.sirius.expression.expression.SiriusExpressionPackage#getExpressionClasses() - * @see #getSiriusExpressionPackage() - * @generated - */ - EReference getSiriusExpressionPackage_ExpressionClasses(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage#getEPackage EPackage}'. - * - * - * @return the meta object for the reference 'EPackage'. - * @see org.eclipse.sirius.expression.expression.SiriusExpressionPackage#getEPackage() - * @see #getSiriusExpressionPackage() - * @generated - */ - EReference getSiriusExpressionPackage_EPackage(); - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.expression.ExpressionDescription Description}'. - * - * - * @return the meta object for class 'Description'. - * @see org.eclipse.sirius.expression.expression.ExpressionDescription - * @generated - */ - EClass getExpressionDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getLowerBound Lower Bound}'. - * - * - * @return the meta object for the attribute 'Lower Bound'. - * @see org.eclipse.sirius.expression.expression.ExpressionDescription#getLowerBound() - * @see #getExpressionDescription() - * @generated - */ - EAttribute getExpressionDescription_LowerBound(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getUpperBound Upper Bound}'. - * - * - * @return the meta object for the attribute 'Upper Bound'. - * @see org.eclipse.sirius.expression.expression.ExpressionDescription#getUpperBound() - * @see #getExpressionDescription() - * @generated - */ - EAttribute getExpressionDescription_UpperBound(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getExpression Expression}'. - * - * - * @return the meta object for the reference 'Expression'. - * @see org.eclipse.sirius.expression.expression.ExpressionDescription#getExpression() - * @see #getExpressionDescription() - * @generated - */ - EReference getExpressionDescription_Expression(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getVariables Variables}'. - * - * - * @return the meta object for the reference list 'Variables'. - * @see org.eclipse.sirius.expression.expression.ExpressionDescription#getVariables() - * @see #getExpressionDescription() - * @generated - */ - EReference getExpressionDescription_Variables(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getReturnType Return Type}'. - * - * - * @return the meta object for the reference 'Return Type'. - * @see org.eclipse.sirius.expression.expression.ExpressionDescription#getReturnType() - * @see #getExpressionDescription() - * @generated - */ - EReference getExpressionDescription_ReturnType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getLabel Label}'. - * - * - * @return the meta object for the attribute 'Label'. - * @see org.eclipse.sirius.expression.expression.ExpressionDescription#getLabel() - * @see #getExpressionDescription() - * @generated - */ - EAttribute getExpressionDescription_Label(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.sirius.expression.expression.ExpressionDescription#getContextableElements Contextable Elements}'. - * - * - * @return the meta object for the reference list 'Contextable Elements'. - * @see org.eclipse.sirius.expression.expression.ExpressionDescription#getContextableElements() - * @see #getExpressionDescription() - * @generated - */ - EReference getExpressionDescription_ContextableElements(); - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.expression.Variable Variable}'. - * - * - * @return the meta object for class 'Variable'. - * @see org.eclipse.sirius.expression.expression.Variable - * @generated - */ - EClass getVariable(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.expression.Variable#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.sirius.expression.expression.Variable#getName() - * @see #getVariable() - * @generated - */ - EAttribute getVariable_Name(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.expression.Variable#getDocumentation Documentation}'. - * - * - * @return the meta object for the attribute 'Documentation'. - * @see org.eclipse.sirius.expression.expression.Variable#getDocumentation() - * @see #getVariable() - * @generated - */ - EAttribute getVariable_Documentation(); - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.expression.SiriusExpressionClass Sirius Expression Class}'. - * - * - * @return the meta object for class 'Sirius Expression Class'. - * @see org.eclipse.sirius.expression.expression.SiriusExpressionClass - * @generated - */ - EClass getSiriusExpressionClass(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.expression.SiriusExpressionClass#getVariables Variables}'. - * - * - * @return the meta object for the containment reference list 'Variables'. - * @see org.eclipse.sirius.expression.expression.SiriusExpressionClass#getVariables() - * @see #getSiriusExpressionClass() - * @generated - */ - EReference getSiriusExpressionClass_Variables(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.expression.SiriusExpressionClass#getExpressionDescriptions Expression Descriptions}'. - * - * - * @return the meta object for the containment reference list 'Expression Descriptions'. - * @see org.eclipse.sirius.expression.expression.SiriusExpressionClass#getExpressionDescriptions() - * @see #getSiriusExpressionClass() - * @generated - */ - EReference getSiriusExpressionClass_ExpressionDescriptions(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.expression.SiriusExpressionClass#getLabel Label}'. - * - * - * @return the meta object for the attribute 'Label'. - * @see org.eclipse.sirius.expression.expression.SiriusExpressionClass#getLabel() - * @see #getSiriusExpressionClass() - * @generated - */ - EAttribute getSiriusExpressionClass_Label(); - - /** - * Returns the meta object for data type '{@link java.lang.Void Void}'. - * - * - * @return the meta object for data type 'Void'. - * @see java.lang.Void - * @model instanceClass="java.lang.Void" - * @generated - */ - EDataType getVoid(); - - /** - * Returns the meta object for data type '{@link java.lang.Object Object}'. - * - * - * @return the meta object for data type 'Object'. - * @see java.lang.Object - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getObject(); - - /** - * Returns the meta object for data type '{@link java.lang.Object Predicate}'. - * - * - * @return the meta object for data type 'Predicate'. - * @see java.lang.Object - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getPredicate(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - ExpressionFactory getExpressionFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each operation of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionPackageImpl Sirius Expression Package}' class. - * - * - * @see org.eclipse.sirius.expression.expression.impl.SiriusExpressionPackageImpl - * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getSiriusExpressionPackage() - * @generated - */ - EClass SIRIUS_EXPRESSION_PACKAGE = eINSTANCE.getSiriusExpressionPackage(); - - /** - * The meta object literal for the 'Expression Classes' containment reference list feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES = eINSTANCE.getSiriusExpressionPackage_ExpressionClasses(); - - /** - * The meta object literal for the 'EPackage' reference feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_PACKAGE__EPACKAGE = eINSTANCE.getSiriusExpressionPackage_EPackage(); - - /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl Description}' class. - * - * - * @see org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl - * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getExpressionDescription() - * @generated - */ - EClass EXPRESSION_DESCRIPTION = eINSTANCE.getExpressionDescription(); - - /** - * The meta object literal for the 'Lower Bound' attribute feature. - * - * - * @generated - */ - EAttribute EXPRESSION_DESCRIPTION__LOWER_BOUND = eINSTANCE.getExpressionDescription_LowerBound(); - - /** - * The meta object literal for the 'Upper Bound' attribute feature. - * - * - * @generated - */ - EAttribute EXPRESSION_DESCRIPTION__UPPER_BOUND = eINSTANCE.getExpressionDescription_UpperBound(); - - /** - * The meta object literal for the 'Expression' reference feature. - * - * - * @generated - */ - EReference EXPRESSION_DESCRIPTION__EXPRESSION = eINSTANCE.getExpressionDescription_Expression(); - - /** - * The meta object literal for the 'Variables' reference list feature. - * - * - * @generated - */ - EReference EXPRESSION_DESCRIPTION__VARIABLES = eINSTANCE.getExpressionDescription_Variables(); - - /** - * The meta object literal for the 'Return Type' reference feature. - * - * - * @generated - */ - EReference EXPRESSION_DESCRIPTION__RETURN_TYPE = eINSTANCE.getExpressionDescription_ReturnType(); - - /** - * The meta object literal for the 'Label' attribute feature. - * - * - * @generated - */ - EAttribute EXPRESSION_DESCRIPTION__LABEL = eINSTANCE.getExpressionDescription_Label(); - - /** - * The meta object literal for the 'Contextable Elements' reference list feature. - * - * - * @generated - */ - EReference EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS = eINSTANCE.getExpressionDescription_ContextableElements(); - - /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.expression.impl.VariableImpl Variable}' class. - * - * - * @see org.eclipse.sirius.expression.expression.impl.VariableImpl - * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getVariable() - * @generated - */ - EClass VARIABLE = eINSTANCE.getVariable(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute VARIABLE__NAME = eINSTANCE.getVariable_Name(); - - /** - * The meta object literal for the 'Documentation' attribute feature. - * - * - * @generated - */ - EAttribute VARIABLE__DOCUMENTATION = eINSTANCE.getVariable_Documentation(); - - /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. - * - * - * @see org.eclipse.sirius.expression.expression.impl.SiriusExpressionClassImpl - * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getSiriusExpressionClass() - * @generated - */ - EClass SIRIUS_EXPRESSION_CLASS = eINSTANCE.getSiriusExpressionClass(); - - /** - * The meta object literal for the 'Variables' containment reference list feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_CLASS__VARIABLES = eINSTANCE.getSiriusExpressionClass_Variables(); - - /** - * The meta object literal for the 'Expression Descriptions' containment reference list feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = eINSTANCE.getSiriusExpressionClass_ExpressionDescriptions(); - - /** - * The meta object literal for the 'Label' attribute feature. - * - * - * @generated - */ - EAttribute SIRIUS_EXPRESSION_CLASS__LABEL = eINSTANCE.getSiriusExpressionClass_Label(); - - /** - * The meta object literal for the 'Void' data type. - * - * - * @see java.lang.Void - * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getVoid() - * @generated - */ - EDataType VOID = eINSTANCE.getVoid(); - - /** - * The meta object literal for the 'Object' data type. - * - * - * @see java.lang.Object - * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getObject() - * @generated - */ - EDataType OBJECT = eINSTANCE.getObject(); - - /** - * The meta object literal for the 'Predicate' data type. - * - * - * @see java.lang.Object - * @see org.eclipse.sirius.expression.expression.impl.ExpressionPackageImpl#getPredicate() - * @generated - */ - EDataType PREDICATE = eINSTANCE.getPredicate(); - - } - -} //ExpressionPackage diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionClass.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionClass.java deleted file mode 100644 index e82bc7dc6..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionClass.java +++ /dev/null @@ -1,92 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Sirius Expression Class'. - * - * - * - * Holds expression descriptions and variables. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.sirius.expression.expression.SiriusExpressionClass#getVariables Variables}
  • - *
  • {@link org.eclipse.sirius.expression.expression.SiriusExpressionClass#getExpressionDescriptions Expression Descriptions}
  • - *
  • {@link org.eclipse.sirius.expression.expression.SiriusExpressionClass#getLabel Label}
  • - *
- * - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getSiriusExpressionClass() - * @model - * @generated - */ -public interface SiriusExpressionClass extends EObject { - /** - * Returns the value of the 'Variables' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.expression.Variable}. - * - * - * - * References the variables. Variables are global as they can be referenced by any expression description. - * - * @return the value of the 'Variables' containment reference list. - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getSiriusExpressionClass_Variables() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getVariables(); - - /** - * Returns the value of the 'Expression Descriptions' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.expression.ExpressionDescription}. - * - * - * - * References the expressions. - * - * @return the value of the 'Expression Descriptions' containment reference list. - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getSiriusExpressionClass_ExpressionDescriptions() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getExpressionDescriptions(); - - /** - * Returns the value of the 'Label' attribute. - * - * - * - * Lable to identify an expression class. - * - * @return the value of the 'Label' attribute. - * @see #setLabel(String) - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getSiriusExpressionClass_Label() - * @model - * @generated - */ - String getLabel(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.expression.SiriusExpressionClass#getLabel Label}' attribute. - * - * - * @param value the new value of the 'Label' attribute. - * @see #getLabel() - * @generated - */ - void setLabel(String value); - -} // SiriusExpressionClass diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionPackage.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionPackage.java deleted file mode 100644 index 69564079d..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/SiriusExpressionPackage.java +++ /dev/null @@ -1,77 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -/** - * - * A representation of the model object 'Sirius Expression Package'. - * - * - * - * An ExpressionPackage is the root concept of the expression metamodel. This metamodel is used to define the link between expressions and the variables that could be used by the expressions.An ExpressionPackage defines groups of ExpressionClasses. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage#getExpressionClasses Expression Classes}
  • - *
  • {@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage#getEPackage EPackage}
  • - *
- * - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getSiriusExpressionPackage() - * @model - * @generated - */ -public interface SiriusExpressionPackage extends EObject { - /** - * Returns the value of the 'Expression Classes' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.expression.SiriusExpressionClass}. - * - * - * - * References expression classes. - * - * @return the value of the 'Expression Classes' containment reference list. - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getSiriusExpressionPackage_ExpressionClasses() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getExpressionClasses(); - - /** - * Returns the value of the 'EPackage' reference. - * - * - * - * References the ePackage of the EClasses defining expressions. - * - * @return the value of the 'EPackage' reference. - * @see #setEPackage(EPackage) - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getSiriusExpressionPackage_EPackage() - * @model - * @generated - */ - EPackage getEPackage(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage#getEPackage EPackage}' reference. - * - * - * @param value the new value of the 'EPackage' reference. - * @see #getEPackage() - * @generated - */ - void setEPackage(EPackage value); - -} // SiriusExpressionPackage diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/Variable.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/Variable.java deleted file mode 100644 index f8e0cf170..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/Variable.java +++ /dev/null @@ -1,84 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Variable'. - * - * - * - * Represents a variable. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link org.eclipse.sirius.expression.expression.Variable#getName Name}
  • - *
  • {@link org.eclipse.sirius.expression.expression.Variable#getDocumentation Documentation}
  • - *
- * - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getVariable() - * @model - * @generated - */ -public interface Variable extends EObject { - /** - * Returns the value of the 'Name' attribute. - * - * - * - * Defines the name of the varriable. - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getVariable_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.expression.Variable#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Documentation' attribute. - * - * - * - * Defines the documentation of the variables. - * - * @return the value of the 'Documentation' attribute. - * @see #setDocumentation(String) - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#getVariable_Documentation() - * @model - * @generated - */ - String getDocumentation(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.expression.Variable#getDocumentation Documentation}' attribute. - * - * - * @param value the new value of the 'Documentation' attribute. - * @see #getDocumentation() - * @generated - */ - void setDocumentation(String value); - -} // Variable diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionDescriptionImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionDescriptionImpl.java deleted file mode 100644 index 4f5090b64..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionDescriptionImpl.java +++ /dev/null @@ -1,475 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -import org.eclipse.sirius.expression.expression.ExpressionDescription; -import org.eclipse.sirius.expression.expression.ExpressionPackage; -import org.eclipse.sirius.expression.expression.Variable; - -/** - * - * An implementation of the model object 'Description'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl#getLowerBound Lower Bound}
  • - *
  • {@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl#getUpperBound Upper Bound}
  • - *
  • {@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl#getExpression Expression}
  • - *
  • {@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl#getVariables Variables}
  • - *
  • {@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl#getReturnType Return Type}
  • - *
  • {@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl#getLabel Label}
  • - *
  • {@link org.eclipse.sirius.expression.expression.impl.ExpressionDescriptionImpl#getContextableElements Contextable Elements}
  • - *
- * - * @generated - */ -public class ExpressionDescriptionImpl extends MinimalEObjectImpl.Container implements ExpressionDescription { - /** - * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected static final int LOWER_BOUND_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected int lowerBound = LOWER_BOUND_EDEFAULT; - - /** - * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected static final int UPPER_BOUND_EDEFAULT = 1; - - /** - * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected int upperBound = UPPER_BOUND_EDEFAULT; - - /** - * The cached value of the '{@link #getExpression() Expression}' reference. - * - * - * @see #getExpression() - * @generated - * @ordered - */ - protected EStructuralFeature expression; - - /** - * The cached value of the '{@link #getVariables() Variables}' reference list. - * - * - * @see #getVariables() - * @generated - * @ordered - */ - protected EList variables; - - /** - * The cached value of the '{@link #getReturnType() Return Type}' reference. - * - * - * @see #getReturnType() - * @generated - * @ordered - */ - protected EClassifier returnType; - - /** - * The default value of the '{@link #getLabel() Label}' attribute. - * - * - * @see #getLabel() - * @generated - * @ordered - */ - protected static final String LABEL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLabel() Label}' attribute. - * - * - * @see #getLabel() - * @generated - * @ordered - */ - protected String label = LABEL_EDEFAULT; - - /** - * The cached value of the '{@link #getContextableElements() Contextable Elements}' reference list. - * - * - * @see #getContextableElements() - * @generated - * @ordered - */ - protected EList contextableElements; - - /** - * - * - * @generated - */ - protected ExpressionDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ExpressionPackage.Literals.EXPRESSION_DESCRIPTION; - } - - /** - * - * - * @generated - */ - public int getLowerBound() { - return lowerBound; - } - - /** - * - * - * @generated - */ - public void setLowerBound(int newLowerBound) { - int oldLowerBound = lowerBound; - lowerBound = newLowerBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND, oldLowerBound, lowerBound)); - } - - /** - * - * - * @generated - */ - public int getUpperBound() { - return upperBound; - } - - /** - * - * - * @generated - */ - public void setUpperBound(int newUpperBound) { - int oldUpperBound = upperBound; - upperBound = newUpperBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND, oldUpperBound, upperBound)); - } - - /** - * - * - * @generated - */ - public EStructuralFeature getExpression() { - if (expression != null && expression.eIsProxy()) { - InternalEObject oldExpression = (InternalEObject)expression; - expression = (EStructuralFeature)eResolveProxy(oldExpression); - if (expression != oldExpression) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); - } - } - return expression; - } - - /** - * - * - * @generated - */ - public EStructuralFeature basicGetExpression() { - return expression; - } - - /** - * - * - * @generated - */ - public void setExpression(EStructuralFeature newExpression) { - EStructuralFeature oldExpression = expression; - expression = newExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); - } - - /** - * - * - * @generated - */ - public EList getVariables() { - if (variables == null) { - variables = new EObjectResolvingEList(Variable.class, this, ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES); - } - return variables; - } - - /** - * - * - * @generated - */ - public EClassifier getReturnType() { - if (returnType != null && returnType.eIsProxy()) { - InternalEObject oldReturnType = (InternalEObject)returnType; - returnType = (EClassifier)eResolveProxy(oldReturnType); - if (returnType != oldReturnType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE, oldReturnType, returnType)); - } - } - return returnType; - } - - /** - * - * - * @generated - */ - public EClassifier basicGetReturnType() { - return returnType; - } - - /** - * - * - * @generated - */ - public void setReturnType(EClassifier newReturnType) { - EClassifier oldReturnType = returnType; - returnType = newReturnType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE, oldReturnType, returnType)); - } - - /** - * - * - * @generated - */ - public String getLabel() { - return label; - } - - /** - * - * - * @generated - */ - public void setLabel(String newLabel) { - String oldLabel = label; - label = newLabel; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL, oldLabel, label)); - } - - /** - * - * - * @generated - */ - public EList getContextableElements() { - if (contextableElements == null) { - contextableElements = new EObjectResolvingEList(EClass.class, this, ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS); - } - return contextableElements; - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: - return getLowerBound(); - case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: - return getUpperBound(); - case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: - if (resolve) return getExpression(); - return basicGetExpression(); - case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: - return getVariables(); - case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: - if (resolve) return getReturnType(); - return basicGetReturnType(); - case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: - return getLabel(); - case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: - return getContextableElements(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: - setLowerBound((Integer)newValue); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: - setUpperBound((Integer)newValue); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: - setExpression((EStructuralFeature)newValue); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: - getVariables().clear(); - getVariables().addAll((Collection)newValue); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: - setReturnType((EClassifier)newValue); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: - setLabel((String)newValue); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: - getContextableElements().clear(); - getContextableElements().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: - setLowerBound(LOWER_BOUND_EDEFAULT); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: - setUpperBound(UPPER_BOUND_EDEFAULT); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: - setExpression((EStructuralFeature)null); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: - getVariables().clear(); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: - setReturnType((EClassifier)null); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: - setLabel(LABEL_EDEFAULT); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: - getContextableElements().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: - return lowerBound != LOWER_BOUND_EDEFAULT; - case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: - return upperBound != UPPER_BOUND_EDEFAULT; - case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: - return expression != null; - case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: - return variables != null && !variables.isEmpty(); - case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: - return returnType != null; - case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: - return LABEL_EDEFAULT == null ? label != null : !LABEL_EDEFAULT.equals(label); - case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: - return contextableElements != null && !contextableElements.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (lowerBound: "); //$NON-NLS-1$ - result.append(lowerBound); - result.append(", upperBound: "); //$NON-NLS-1$ - result.append(upperBound); - result.append(", label: "); //$NON-NLS-1$ - result.append(label); - result.append(')'); - return result.toString(); - } - -} //ExpressionDescriptionImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionFactoryImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionFactoryImpl.java deleted file mode 100644 index b49a5bf79..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionFactoryImpl.java +++ /dev/null @@ -1,226 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.sirius.expression.expression.*; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class ExpressionFactoryImpl extends EFactoryImpl implements ExpressionFactory { - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static ExpressionFactory init() { - try { - ExpressionFactory theExpressionFactory = (ExpressionFactory)EPackage.Registry.INSTANCE.getEFactory(ExpressionPackage.eNS_URI); - if (theExpressionFactory != null) { - return theExpressionFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new ExpressionFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public ExpressionFactoryImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE: return createSiriusExpressionPackage(); - case ExpressionPackage.EXPRESSION_DESCRIPTION: return createExpressionDescription(); - case ExpressionPackage.VARIABLE: return createVariable(); - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS: return createSiriusExpressionClass(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case ExpressionPackage.VOID: - return createVoidFromString(eDataType, initialValue); - case ExpressionPackage.OBJECT: - return createObjectFromString(eDataType, initialValue); - case ExpressionPackage.PREDICATE: - return createPredicateFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case ExpressionPackage.VOID: - return convertVoidToString(eDataType, instanceValue); - case ExpressionPackage.OBJECT: - return convertObjectToString(eDataType, instanceValue); - case ExpressionPackage.PREDICATE: - return convertPredicateToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * - * - * @generated - */ - public SiriusExpressionPackage createSiriusExpressionPackage() { - SiriusExpressionPackageImpl siriusExpressionPackage = new SiriusExpressionPackageImpl(); - return siriusExpressionPackage; - } - - /** - * - * - * @generated - */ - public ExpressionDescription createExpressionDescription() { - ExpressionDescriptionImpl expressionDescription = new ExpressionDescriptionImpl(); - return expressionDescription; - } - - /** - * - * - * @generated - */ - public Variable createVariable() { - VariableImpl variable = new VariableImpl(); - return variable; - } - - /** - * - * - * @generated - */ - public SiriusExpressionClass createSiriusExpressionClass() { - SiriusExpressionClassImpl siriusExpressionClass = new SiriusExpressionClassImpl(); - return siriusExpressionClass; - } - - /** - * - * - * @generated - */ - public Void createVoidFromString(EDataType eDataType, String initialValue) { - return (Void)super.createFromString(eDataType, initialValue); - } - - /** - * - * - * @generated - */ - public String convertVoidToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * - * - * @generated - */ - public Object createObjectFromString(EDataType eDataType, String initialValue) { - return super.createFromString(eDataType, initialValue); - } - - /** - * - * - * @generated - */ - public String convertObjectToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * - * - * @generated - */ - public Object createPredicateFromString(EDataType eDataType, String initialValue) { - return super.createFromString(eDataType, initialValue); - } - - /** - * - * - * @generated - */ - public String convertPredicateToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * - * - * @generated - */ - public ExpressionPackage getExpressionPackage() { - return (ExpressionPackage)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static ExpressionPackage getPackage() { - return ExpressionPackage.eINSTANCE; - } - -} //ExpressionFactoryImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionPackageImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionPackageImpl.java deleted file mode 100644 index c297d7553..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/ExpressionPackageImpl.java +++ /dev/null @@ -1,448 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.sirius.expression.expression.ExpressionDescription; -import org.eclipse.sirius.expression.expression.ExpressionFactory; -import org.eclipse.sirius.expression.expression.ExpressionPackage; -import org.eclipse.sirius.expression.expression.SiriusExpressionClass; -import org.eclipse.sirius.expression.expression.SiriusExpressionPackage; -import org.eclipse.sirius.expression.expression.Variable; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPackage { - /** - * - * - * @generated - */ - private EClass siriusExpressionPackageEClass = null; - - /** - * - * - * @generated - */ - private EClass expressionDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass variableEClass = null; - - /** - * - * - * @generated - */ - private EClass siriusExpressionClassEClass = null; - - /** - * - * - * @generated - */ - private EDataType voidEDataType = null; - - /** - * - * - * @generated - */ - private EDataType objectEDataType = null; - - /** - * - * - * @generated - */ - private EDataType predicateEDataType = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.sirius.expression.expression.ExpressionPackage#eNS_URI - * @see #init() - * @generated - */ - private ExpressionPackageImpl() { - super(eNS_URI, ExpressionFactory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

This method is used to initialize {@link ExpressionPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static ExpressionPackage init() { - if (isInited) return (ExpressionPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionPackage.eNS_URI); - - // Obtain or create and register package - ExpressionPackageImpl theExpressionPackage = (ExpressionPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ExpressionPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ExpressionPackageImpl()); - - isInited = true; - - // Create package meta-data objects - theExpressionPackage.createPackageContents(); - - // Initialize created meta-data - theExpressionPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theExpressionPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(ExpressionPackage.eNS_URI, theExpressionPackage); - return theExpressionPackage; - } - - /** - * - * - * @generated - */ - public EClass getSiriusExpressionPackage() { - return siriusExpressionPackageEClass; - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionPackage_ExpressionClasses() { - return (EReference)siriusExpressionPackageEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionPackage_EPackage() { - return (EReference)siriusExpressionPackageEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getExpressionDescription() { - return expressionDescriptionEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getExpressionDescription_LowerBound() { - return (EAttribute)expressionDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getExpressionDescription_UpperBound() { - return (EAttribute)expressionDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EReference getExpressionDescription_Expression() { - return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EReference getExpressionDescription_Variables() { - return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - public EReference getExpressionDescription_ReturnType() { - return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - public EAttribute getExpressionDescription_Label() { - return (EAttribute)expressionDescriptionEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - public EReference getExpressionDescription_ContextableElements() { - return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(6); - } - - /** - * - * - * @generated - */ - public EClass getVariable() { - return variableEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getVariable_Name() { - return (EAttribute)variableEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getVariable_Documentation() { - return (EAttribute)variableEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getSiriusExpressionClass() { - return siriusExpressionClassEClass; - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionClass_Variables() { - return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionClass_ExpressionDescriptions() { - return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EAttribute getSiriusExpressionClass_Label() { - return (EAttribute)siriusExpressionClassEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EDataType getVoid() { - return voidEDataType; - } - - /** - * - * - * @generated - */ - public EDataType getObject() { - return objectEDataType; - } - - /** - * - * - * @generated - */ - public EDataType getPredicate() { - return predicateEDataType; - } - - /** - * - * - * @generated - */ - public ExpressionFactory getExpressionFactory() { - return (ExpressionFactory)getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - siriusExpressionPackageEClass = createEClass(SIRIUS_EXPRESSION_PACKAGE); - createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); - createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EPACKAGE); - - expressionDescriptionEClass = createEClass(EXPRESSION_DESCRIPTION); - createEAttribute(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__LOWER_BOUND); - createEAttribute(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__UPPER_BOUND); - createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__EXPRESSION); - createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__VARIABLES); - createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__RETURN_TYPE); - createEAttribute(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__LABEL); - createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS); - - variableEClass = createEClass(VARIABLE); - createEAttribute(variableEClass, VARIABLE__NAME); - createEAttribute(variableEClass, VARIABLE__DOCUMENTATION); - - siriusExpressionClassEClass = createEClass(SIRIUS_EXPRESSION_CLASS); - createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__VARIABLES); - createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); - createEAttribute(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__LABEL); - - // Create data types - voidEDataType = createEDataType(VOID); - objectEDataType = createEDataType(OBJECT); - predicateEDataType = createEDataType(PREDICATE); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes, features, and operations; add parameters - initEClass(siriusExpressionPackageEClass, SiriusExpressionPackage.class, "SiriusExpressionPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getSiriusExpressionPackage_ExpressionClasses(), this.getSiriusExpressionClass(), null, "expressionClasses", null, 0, -1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getSiriusExpressionPackage_EPackage(), ecorePackage.getEPackage(), null, "ePackage", null, 0, 1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(expressionDescriptionEClass, ExpressionDescription.class, "ExpressionDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getExpressionDescription_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getExpressionDescription_UpperBound(), ecorePackage.getEInt(), "upperBound", "1", 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - initEReference(getExpressionDescription_Expression(), ecorePackage.getEStructuralFeature(), null, "expression", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getExpressionDescription_Variables(), this.getVariable(), null, "variables", null, 0, -1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getExpressionDescription_ReturnType(), ecorePackage.getEClassifier(), null, "returnType", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getExpressionDescription_Label(), ecorePackage.getEString(), "label", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getExpressionDescription_ContextableElements(), ecorePackage.getEClass(), null, "contextableElements", null, 0, -1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getVariable_Name(), ecorePackage.getEString(), "name", null, 0, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getVariable_Documentation(), ecorePackage.getEString(), "documentation", null, 0, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(siriusExpressionClassEClass, SiriusExpressionClass.class, "SiriusExpressionClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getSiriusExpressionClass_Variables(), this.getVariable(), null, "variables", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getSiriusExpressionClass_ExpressionDescriptions(), this.getExpressionDescription(), null, "expressionDescriptions", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getSiriusExpressionClass_Label(), ecorePackage.getEString(), "label", null, 0, 1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - // Initialize data types - initEDataType(voidEDataType, Void.class, "Void", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(objectEDataType, Object.class, "Object", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(predicateEDataType, Object.class, "Predicate", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - // Create resource - createResource(eNS_URI); - } - -} //ExpressionPackageImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionClassImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionClassImpl.java deleted file mode 100644 index 3b760326d..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionClassImpl.java +++ /dev/null @@ -1,264 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.sirius.expression.expression.ExpressionDescription; -import org.eclipse.sirius.expression.expression.ExpressionPackage; -import org.eclipse.sirius.expression.expression.SiriusExpressionClass; -import org.eclipse.sirius.expression.expression.Variable; - -/** - * - * An implementation of the model object 'Sirius Expression Class'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionClassImpl#getVariables Variables}
  • - *
  • {@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionClassImpl#getExpressionDescriptions Expression Descriptions}
  • - *
  • {@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionClassImpl#getLabel Label}
  • - *
- * - * @generated - */ -public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container implements SiriusExpressionClass { - /** - * The cached value of the '{@link #getVariables() Variables}' containment reference list. - * - * - * @see #getVariables() - * @generated - * @ordered - */ - protected EList variables; - - /** - * The cached value of the '{@link #getExpressionDescriptions() Expression Descriptions}' containment reference list. - * - * - * @see #getExpressionDescriptions() - * @generated - * @ordered - */ - protected EList expressionDescriptions; - - /** - * The default value of the '{@link #getLabel() Label}' attribute. - * - * - * @see #getLabel() - * @generated - * @ordered - */ - protected static final String LABEL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLabel() Label}' attribute. - * - * - * @see #getLabel() - * @generated - * @ordered - */ - protected String label = LABEL_EDEFAULT; - - /** - * - * - * @generated - */ - protected SiriusExpressionClassImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS; - } - - /** - * - * - * @generated - */ - public EList getVariables() { - if (variables == null) { - variables = new EObjectContainmentEList.Resolving(Variable.class, this, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES); - } - return variables; - } - - /** - * - * - * @generated - */ - public EList getExpressionDescriptions() { - if (expressionDescriptions == null) { - expressionDescriptions = new EObjectContainmentEList.Resolving(ExpressionDescription.class, this, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); - } - return expressionDescriptions; - } - - /** - * - * - * @generated - */ - public String getLabel() { - return label; - } - - /** - * - * - * @generated - */ - public void setLabel(String newLabel) { - String oldLabel = label; - label = newLabel; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL, oldLabel, label)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - return ((InternalEList)getVariables()).basicRemove(otherEnd, msgs); - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - return ((InternalEList)getExpressionDescriptions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - return getVariables(); - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - return getExpressionDescriptions(); - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: - return getLabel(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - getVariables().clear(); - getVariables().addAll((Collection)newValue); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - getExpressionDescriptions().clear(); - getExpressionDescriptions().addAll((Collection)newValue); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: - setLabel((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - getVariables().clear(); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - getExpressionDescriptions().clear(); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: - setLabel(LABEL_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - return variables != null && !variables.isEmpty(); - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - return expressionDescriptions != null && !expressionDescriptions.isEmpty(); - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: - return LABEL_EDEFAULT == null ? label != null : !LABEL_EDEFAULT.equals(label); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (label: "); //$NON-NLS-1$ - result.append(label); - result.append(')'); - return result.toString(); - } - -} //SiriusExpressionClassImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionPackageImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionPackageImpl.java deleted file mode 100644 index 81c763347..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/SiriusExpressionPackageImpl.java +++ /dev/null @@ -1,220 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.sirius.expression.expression.ExpressionPackage; -import org.eclipse.sirius.expression.expression.SiriusExpressionClass; -import org.eclipse.sirius.expression.expression.SiriusExpressionPackage; - -/** - * - * An implementation of the model object 'Sirius Expression Package'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionPackageImpl#getExpressionClasses Expression Classes}
  • - *
  • {@link org.eclipse.sirius.expression.expression.impl.SiriusExpressionPackageImpl#getEPackage EPackage}
  • - *
- * - * @generated - */ -public class SiriusExpressionPackageImpl extends MinimalEObjectImpl.Container implements SiriusExpressionPackage { - /** - * The cached value of the '{@link #getExpressionClasses() Expression Classes}' containment reference list. - * - * - * @see #getExpressionClasses() - * @generated - * @ordered - */ - protected EList expressionClasses; - - /** - * The cached value of the '{@link #getEPackage() EPackage}' reference. - * - * - * @see #getEPackage() - * @generated - * @ordered - */ - protected EPackage ePackage; - - /** - * - * - * @generated - */ - protected SiriusExpressionPackageImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE; - } - - /** - * - * - * @generated - */ - public EList getExpressionClasses() { - if (expressionClasses == null) { - expressionClasses = new EObjectContainmentEList.Resolving(SiriusExpressionClass.class, this, ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); - } - return expressionClasses; - } - - /** - * - * - * @generated - */ - public EPackage getEPackage() { - if (ePackage != null && ePackage.eIsProxy()) { - InternalEObject oldEPackage = (InternalEObject)ePackage; - ePackage = (EPackage)eResolveProxy(oldEPackage); - if (ePackage != oldEPackage) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, oldEPackage, ePackage)); - } - } - return ePackage; - } - - /** - * - * - * @generated - */ - public EPackage basicGetEPackage() { - return ePackage; - } - - /** - * - * - * @generated - */ - public void setEPackage(EPackage newEPackage) { - EPackage oldEPackage = ePackage; - ePackage = newEPackage; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, oldEPackage, ePackage)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - return ((InternalEList)getExpressionClasses()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - return getExpressionClasses(); - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: - if (resolve) return getEPackage(); - return basicGetEPackage(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - getExpressionClasses().clear(); - getExpressionClasses().addAll((Collection)newValue); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: - setEPackage((EPackage)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - getExpressionClasses().clear(); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: - setEPackage((EPackage)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - return expressionClasses != null && !expressionClasses.isEmpty(); - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: - return ePackage != null; - } - return super.eIsSet(featureID); - } - -} //SiriusExpressionPackageImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/VariableImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/VariableImpl.java deleted file mode 100644 index e52578a5b..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/impl/VariableImpl.java +++ /dev/null @@ -1,222 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.sirius.expression.expression.ExpressionPackage; -import org.eclipse.sirius.expression.expression.Variable; - -/** - * - * An implementation of the model object 'Variable'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link org.eclipse.sirius.expression.expression.impl.VariableImpl#getName Name}
  • - *
  • {@link org.eclipse.sirius.expression.expression.impl.VariableImpl#getDocumentation Documentation}
  • - *
- * - * @generated - */ -public class VariableImpl extends MinimalEObjectImpl.Container implements Variable { - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getDocumentation() Documentation}' attribute. - * - * - * @see #getDocumentation() - * @generated - * @ordered - */ - protected static final String DOCUMENTATION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDocumentation() Documentation}' attribute. - * - * - * @see #getDocumentation() - * @generated - * @ordered - */ - protected String documentation = DOCUMENTATION_EDEFAULT; - - /** - * - * - * @generated - */ - protected VariableImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ExpressionPackage.Literals.VARIABLE; - } - - /** - * - * - * @generated - */ - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.VARIABLE__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - public String getDocumentation() { - return documentation; - } - - /** - * - * - * @generated - */ - public void setDocumentation(String newDocumentation) { - String oldDocumentation = documentation; - documentation = newDocumentation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.VARIABLE__DOCUMENTATION, oldDocumentation, documentation)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ExpressionPackage.VARIABLE__NAME: - return getName(); - case ExpressionPackage.VARIABLE__DOCUMENTATION: - return getDocumentation(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ExpressionPackage.VARIABLE__NAME: - setName((String)newValue); - return; - case ExpressionPackage.VARIABLE__DOCUMENTATION: - setDocumentation((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ExpressionPackage.VARIABLE__NAME: - setName(NAME_EDEFAULT); - return; - case ExpressionPackage.VARIABLE__DOCUMENTATION: - setDocumentation(DOCUMENTATION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ExpressionPackage.VARIABLE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case ExpressionPackage.VARIABLE__DOCUMENTATION: - return DOCUMENTATION_EDEFAULT == null ? documentation != null : !DOCUMENTATION_EDEFAULT.equals(documentation); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); //$NON-NLS-1$ - result.append(name); - result.append(", documentation: "); //$NON-NLS-1$ - result.append(documentation); - result.append(')'); - return result.toString(); - } - -} //VariableImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionAdapterFactory.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionAdapterFactory.java deleted file mode 100644 index fd78d05f8..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionAdapterFactory.java +++ /dev/null @@ -1,179 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.sirius.expression.expression.*; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see org.eclipse.sirius.expression.expression.ExpressionPackage - * @generated - */ -public class ExpressionAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * - * - * @generated - */ - protected static ExpressionPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public ExpressionAdapterFactory() { - if (modelPackage == null) { - modelPackage = ExpressionPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected ExpressionSwitch modelSwitch = - new ExpressionSwitch() { - @Override - public Adapter caseSiriusExpressionPackage(SiriusExpressionPackage object) { - return createSiriusExpressionPackageAdapter(); - } - @Override - public Adapter caseExpressionDescription(ExpressionDescription object) { - return createExpressionDescriptionAdapter(); - } - @Override - public Adapter caseVariable(Variable object) { - return createVariableAdapter(); - } - @Override - public Adapter caseSiriusExpressionClass(SiriusExpressionClass object) { - return createSiriusExpressionClassAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.expression.SiriusExpressionPackage Sirius Expression Package}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.expression.expression.SiriusExpressionPackage - * @generated - */ - public Adapter createSiriusExpressionPackageAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.expression.ExpressionDescription Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.expression.expression.ExpressionDescription - * @generated - */ - public Adapter createExpressionDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.expression.Variable Variable}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.expression.expression.Variable - * @generated - */ - public Adapter createVariableAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.expression.SiriusExpressionClass Sirius Expression Class}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.expression.expression.SiriusExpressionClass - * @generated - */ - public Adapter createSiriusExpressionClassAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //ExpressionAdapterFactory diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionSwitch.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionSwitch.java deleted file mode 100644 index 5fc1de8b9..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/expression/util/ExpressionSwitch.java +++ /dev/null @@ -1,178 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.expression.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.sirius.expression.expression.*; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see org.eclipse.sirius.expression.expression.ExpressionPackage - * @generated - */ -public class ExpressionSwitch extends Switch { - /** - * The cached model package - * - * - * @generated - */ - protected static ExpressionPackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public ExpressionSwitch() { - if (modelPackage == null) { - modelPackage = ExpressionPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE: { - SiriusExpressionPackage siriusExpressionPackage = (SiriusExpressionPackage)theEObject; - T result = caseSiriusExpressionPackage(siriusExpressionPackage); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ExpressionPackage.EXPRESSION_DESCRIPTION: { - ExpressionDescription expressionDescription = (ExpressionDescription)theEObject; - T result = caseExpressionDescription(expressionDescription); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ExpressionPackage.VARIABLE: { - Variable variable = (Variable)theEObject; - T result = caseVariable(variable); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS: { - SiriusExpressionClass siriusExpressionClass = (SiriusExpressionClass)theEObject; - T result = caseSiriusExpressionClass(siriusExpressionClass); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Sirius Expression Package'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Sirius Expression Package'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSiriusExpressionPackage(SiriusExpressionPackage object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExpressionDescription(ExpressionDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Variable'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Variable'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseVariable(Variable object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Sirius Expression Class'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Sirius Expression Class'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSiriusExpressionClass(SiriusExpressionClass object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //ExpressionSwitch diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionDescriptionImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionDescriptionImpl.java new file mode 100644 index 000000000..6e5a816f7 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionDescriptionImpl.java @@ -0,0 +1,475 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import org.eclipse.sirius.expression.ExpressionDescription; +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.Variable; + +/** + * + * An implementation of the model object 'Description'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl#getLowerBound Lower Bound}
  • + *
  • {@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl#getUpperBound Upper Bound}
  • + *
  • {@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl#getExpression Expression}
  • + *
  • {@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl#getVariables Variables}
  • + *
  • {@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl#getReturnType Return Type}
  • + *
  • {@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl#getLabel Label}
  • + *
  • {@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl#getContextableElements Contextable Elements}
  • + *
+ * + * @generated + */ +public class ExpressionDescriptionImpl extends MinimalEObjectImpl.Container implements ExpressionDescription { + /** + * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected static final int LOWER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected int lowerBound = LOWER_BOUND_EDEFAULT; + + /** + * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected static final int UPPER_BOUND_EDEFAULT = 1; + + /** + * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected int upperBound = UPPER_BOUND_EDEFAULT; + + /** + * The cached value of the '{@link #getExpression() Expression}' reference. + * + * + * @see #getExpression() + * @generated + * @ordered + */ + protected EStructuralFeature expression; + + /** + * The cached value of the '{@link #getVariables() Variables}' reference list. + * + * + * @see #getVariables() + * @generated + * @ordered + */ + protected EList variables; + + /** + * The cached value of the '{@link #getReturnType() Return Type}' reference. + * + * + * @see #getReturnType() + * @generated + * @ordered + */ + protected EClassifier returnType; + + /** + * The default value of the '{@link #getLabel() Label}' attribute. + * + * + * @see #getLabel() + * @generated + * @ordered + */ + protected static final String LABEL_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLabel() Label}' attribute. + * + * + * @see #getLabel() + * @generated + * @ordered + */ + protected String label = LABEL_EDEFAULT; + + /** + * The cached value of the '{@link #getContextableElements() Contextable Elements}' reference list. + * + * + * @see #getContextableElements() + * @generated + * @ordered + */ + protected EList contextableElements; + + /** + * + * + * @generated + */ + protected ExpressionDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.EXPRESSION_DESCRIPTION; + } + + /** + * + * + * @generated + */ + public int getLowerBound() { + return lowerBound; + } + + /** + * + * + * @generated + */ + public void setLowerBound(int newLowerBound) { + int oldLowerBound = lowerBound; + lowerBound = newLowerBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND, oldLowerBound, lowerBound)); + } + + /** + * + * + * @generated + */ + public int getUpperBound() { + return upperBound; + } + + /** + * + * + * @generated + */ + public void setUpperBound(int newUpperBound) { + int oldUpperBound = upperBound; + upperBound = newUpperBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND, oldUpperBound, upperBound)); + } + + /** + * + * + * @generated + */ + public EStructuralFeature getExpression() { + if (expression != null && expression.eIsProxy()) { + InternalEObject oldExpression = (InternalEObject)expression; + expression = (EStructuralFeature)eResolveProxy(oldExpression); + if (expression != oldExpression) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); + } + } + return expression; + } + + /** + * + * + * @generated + */ + public EStructuralFeature basicGetExpression() { + return expression; + } + + /** + * + * + * @generated + */ + public void setExpression(EStructuralFeature newExpression) { + EStructuralFeature oldExpression = expression; + expression = newExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); + } + + /** + * + * + * @generated + */ + public EList getVariables() { + if (variables == null) { + variables = new EObjectResolvingEList(Variable.class, this, ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES); + } + return variables; + } + + /** + * + * + * @generated + */ + public EClassifier getReturnType() { + if (returnType != null && returnType.eIsProxy()) { + InternalEObject oldReturnType = (InternalEObject)returnType; + returnType = (EClassifier)eResolveProxy(oldReturnType); + if (returnType != oldReturnType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE, oldReturnType, returnType)); + } + } + return returnType; + } + + /** + * + * + * @generated + */ + public EClassifier basicGetReturnType() { + return returnType; + } + + /** + * + * + * @generated + */ + public void setReturnType(EClassifier newReturnType) { + EClassifier oldReturnType = returnType; + returnType = newReturnType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE, oldReturnType, returnType)); + } + + /** + * + * + * @generated + */ + public String getLabel() { + return label; + } + + /** + * + * + * @generated + */ + public void setLabel(String newLabel) { + String oldLabel = label; + label = newLabel; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL, oldLabel, label)); + } + + /** + * + * + * @generated + */ + public EList getContextableElements() { + if (contextableElements == null) { + contextableElements = new EObjectResolvingEList(EClass.class, this, ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS); + } + return contextableElements; + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: + return getLowerBound(); + case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: + return getUpperBound(); + case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: + if (resolve) return getExpression(); + return basicGetExpression(); + case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: + return getVariables(); + case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: + if (resolve) return getReturnType(); + return basicGetReturnType(); + case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: + return getLabel(); + case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: + return getContextableElements(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: + setLowerBound((Integer)newValue); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: + setUpperBound((Integer)newValue); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: + setExpression((EStructuralFeature)newValue); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: + getVariables().clear(); + getVariables().addAll((Collection)newValue); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: + setReturnType((EClassifier)newValue); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: + setLabel((String)newValue); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: + getContextableElements().clear(); + getContextableElements().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: + setLowerBound(LOWER_BOUND_EDEFAULT); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: + setUpperBound(UPPER_BOUND_EDEFAULT); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: + setExpression((EStructuralFeature)null); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: + getVariables().clear(); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: + setReturnType((EClassifier)null); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: + setLabel(LABEL_EDEFAULT); + return; + case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: + getContextableElements().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: + return lowerBound != LOWER_BOUND_EDEFAULT; + case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: + return upperBound != UPPER_BOUND_EDEFAULT; + case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: + return expression != null; + case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: + return variables != null && !variables.isEmpty(); + case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: + return returnType != null; + case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: + return LABEL_EDEFAULT == null ? label != null : !LABEL_EDEFAULT.equals(label); + case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: + return contextableElements != null && !contextableElements.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (lowerBound: "); //$NON-NLS-1$ + result.append(lowerBound); + result.append(", upperBound: "); //$NON-NLS-1$ + result.append(upperBound); + result.append(", label: "); //$NON-NLS-1$ + result.append(label); + result.append(')'); + return result.toString(); + } + +} //ExpressionDescriptionImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java new file mode 100644 index 000000000..1472afaf4 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java @@ -0,0 +1,226 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.sirius.expression.*; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class ExpressionFactoryImpl extends EFactoryImpl implements ExpressionFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static ExpressionFactory init() { + try { + ExpressionFactory theExpressionFactory = (ExpressionFactory)EPackage.Registry.INSTANCE.getEFactory(ExpressionPackage.eNS_URI); + if (theExpressionFactory != null) { + return theExpressionFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new ExpressionFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public ExpressionFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE: return createSiriusExpressionPackage(); + case ExpressionPackage.EXPRESSION_DESCRIPTION: return createExpressionDescription(); + case ExpressionPackage.VARIABLE: return createVariable(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS: return createSiriusExpressionClass(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case ExpressionPackage.VOID: + return createVoidFromString(eDataType, initialValue); + case ExpressionPackage.OBJECT: + return createObjectFromString(eDataType, initialValue); + case ExpressionPackage.PREDICATE: + return createPredicateFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case ExpressionPackage.VOID: + return convertVoidToString(eDataType, instanceValue); + case ExpressionPackage.OBJECT: + return convertObjectToString(eDataType, instanceValue); + case ExpressionPackage.PREDICATE: + return convertPredicateToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + public SiriusExpressionPackage createSiriusExpressionPackage() { + SiriusExpressionPackageImpl siriusExpressionPackage = new SiriusExpressionPackageImpl(); + return siriusExpressionPackage; + } + + /** + * + * + * @generated + */ + public ExpressionDescription createExpressionDescription() { + ExpressionDescriptionImpl expressionDescription = new ExpressionDescriptionImpl(); + return expressionDescription; + } + + /** + * + * + * @generated + */ + public Variable createVariable() { + VariableImpl variable = new VariableImpl(); + return variable; + } + + /** + * + * + * @generated + */ + public SiriusExpressionClass createSiriusExpressionClass() { + SiriusExpressionClassImpl siriusExpressionClass = new SiriusExpressionClassImpl(); + return siriusExpressionClass; + } + + /** + * + * + * @generated + */ + public Void createVoidFromString(EDataType eDataType, String initialValue) { + return (Void)super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertVoidToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public Object createObjectFromString(EDataType eDataType, String initialValue) { + return super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertObjectToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public Object createPredicateFromString(EDataType eDataType, String initialValue) { + return super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertPredicateToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public ExpressionPackage getExpressionPackage() { + return (ExpressionPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static ExpressionPackage getPackage() { + return ExpressionPackage.eINSTANCE; + } + +} //ExpressionFactoryImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java new file mode 100644 index 000000000..73dc3f0d9 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java @@ -0,0 +1,448 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.sirius.expression.ExpressionDescription; +import org.eclipse.sirius.expression.ExpressionFactory; +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionClass; +import org.eclipse.sirius.expression.SiriusExpressionPackage; +import org.eclipse.sirius.expression.Variable; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPackage { + /** + * + * + * @generated + */ + private EClass siriusExpressionPackageEClass = null; + + /** + * + * + * @generated + */ + private EClass expressionDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass variableEClass = null; + + /** + * + * + * @generated + */ + private EClass siriusExpressionClassEClass = null; + + /** + * + * + * @generated + */ + private EDataType voidEDataType = null; + + /** + * + * + * @generated + */ + private EDataType objectEDataType = null; + + /** + * + * + * @generated + */ + private EDataType predicateEDataType = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.sirius.expression.ExpressionPackage#eNS_URI + * @see #init() + * @generated + */ + private ExpressionPackageImpl() { + super(eNS_URI, ExpressionFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

This method is used to initialize {@link ExpressionPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ExpressionPackage init() { + if (isInited) return (ExpressionPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionPackage.eNS_URI); + + // Obtain or create and register package + ExpressionPackageImpl theExpressionPackage = (ExpressionPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ExpressionPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ExpressionPackageImpl()); + + isInited = true; + + // Create package meta-data objects + theExpressionPackage.createPackageContents(); + + // Initialize created meta-data + theExpressionPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theExpressionPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ExpressionPackage.eNS_URI, theExpressionPackage); + return theExpressionPackage; + } + + /** + * + * + * @generated + */ + public EClass getSiriusExpressionPackage() { + return siriusExpressionPackageEClass; + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionPackage_ExpressionClasses() { + return (EReference)siriusExpressionPackageEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionPackage_EPackage() { + return (EReference)siriusExpressionPackageEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getExpressionDescription() { + return expressionDescriptionEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getExpressionDescription_LowerBound() { + return (EAttribute)expressionDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getExpressionDescription_UpperBound() { + return (EAttribute)expressionDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getExpressionDescription_Expression() { + return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getExpressionDescription_Variables() { + return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getExpressionDescription_ReturnType() { + return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EAttribute getExpressionDescription_Label() { + return (EAttribute)expressionDescriptionEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EReference getExpressionDescription_ContextableElements() { + return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + public EClass getVariable() { + return variableEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getVariable_Name() { + return (EAttribute)variableEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getVariable_Documentation() { + return (EAttribute)variableEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getSiriusExpressionClass() { + return siriusExpressionClassEClass; + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionClass_Variables() { + return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionClass_ExpressionDescriptions() { + return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusExpressionClass_Label() { + return (EAttribute)siriusExpressionClassEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EDataType getVoid() { + return voidEDataType; + } + + /** + * + * + * @generated + */ + public EDataType getObject() { + return objectEDataType; + } + + /** + * + * + * @generated + */ + public EDataType getPredicate() { + return predicateEDataType; + } + + /** + * + * + * @generated + */ + public ExpressionFactory getExpressionFactory() { + return (ExpressionFactory)getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + siriusExpressionPackageEClass = createEClass(SIRIUS_EXPRESSION_PACKAGE); + createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); + createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EPACKAGE); + + expressionDescriptionEClass = createEClass(EXPRESSION_DESCRIPTION); + createEAttribute(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__LOWER_BOUND); + createEAttribute(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__UPPER_BOUND); + createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__EXPRESSION); + createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__VARIABLES); + createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__RETURN_TYPE); + createEAttribute(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__LABEL); + createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS); + + variableEClass = createEClass(VARIABLE); + createEAttribute(variableEClass, VARIABLE__NAME); + createEAttribute(variableEClass, VARIABLE__DOCUMENTATION); + + siriusExpressionClassEClass = createEClass(SIRIUS_EXPRESSION_CLASS); + createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__VARIABLES); + createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); + createEAttribute(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__LABEL); + + // Create data types + voidEDataType = createEDataType(VOID); + objectEDataType = createEDataType(OBJECT); + predicateEDataType = createEDataType(PREDICATE); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes, features, and operations; add parameters + initEClass(siriusExpressionPackageEClass, SiriusExpressionPackage.class, "SiriusExpressionPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getSiriusExpressionPackage_ExpressionClasses(), this.getSiriusExpressionClass(), null, "expressionClasses", null, 0, -1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionPackage_EPackage(), ecorePackage.getEPackage(), null, "ePackage", null, 0, 1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + initEClass(expressionDescriptionEClass, ExpressionDescription.class, "ExpressionDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getExpressionDescription_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getExpressionDescription_UpperBound(), ecorePackage.getEInt(), "upperBound", "1", 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ + initEReference(getExpressionDescription_Expression(), ecorePackage.getEStructuralFeature(), null, "expression", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getExpressionDescription_Variables(), this.getVariable(), null, "variables", null, 0, -1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getExpressionDescription_ReturnType(), ecorePackage.getEClassifier(), null, "returnType", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getExpressionDescription_Label(), ecorePackage.getEString(), "label", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getExpressionDescription_ContextableElements(), ecorePackage.getEClass(), null, "contextableElements", null, 0, -1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getVariable_Name(), ecorePackage.getEString(), "name", null, 0, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getVariable_Documentation(), ecorePackage.getEString(), "documentation", null, 0, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + initEClass(siriusExpressionClassEClass, SiriusExpressionClass.class, "SiriusExpressionClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getSiriusExpressionClass_Variables(), this.getVariable(), null, "variables", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionClass_ExpressionDescriptions(), this.getExpressionDescription(), null, "expressionDescriptions", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getSiriusExpressionClass_Label(), ecorePackage.getEString(), "label", null, 0, 1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + // Initialize data types + initEDataType(voidEDataType, Void.class, "Void", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEDataType(objectEDataType, Object.class, "Object", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEDataType(predicateEDataType, Object.class, "Predicate", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + // Create resource + createResource(eNS_URI); + } + +} //ExpressionPackageImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java new file mode 100644 index 000000000..27c018907 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java @@ -0,0 +1,264 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.sirius.expression.ExpressionDescription; +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionClass; +import org.eclipse.sirius.expression.Variable; + +/** + * + * An implementation of the model object 'Sirius Expression Class'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl#getVariables Variables}
  • + *
  • {@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl#getExpressionDescriptions Expression Descriptions}
  • + *
  • {@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl#getLabel Label}
  • + *
+ * + * @generated + */ +public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container implements SiriusExpressionClass { + /** + * The cached value of the '{@link #getVariables() Variables}' containment reference list. + * + * + * @see #getVariables() + * @generated + * @ordered + */ + protected EList variables; + + /** + * The cached value of the '{@link #getExpressionDescriptions() Expression Descriptions}' containment reference list. + * + * + * @see #getExpressionDescriptions() + * @generated + * @ordered + */ + protected EList expressionDescriptions; + + /** + * The default value of the '{@link #getLabel() Label}' attribute. + * + * + * @see #getLabel() + * @generated + * @ordered + */ + protected static final String LABEL_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLabel() Label}' attribute. + * + * + * @see #getLabel() + * @generated + * @ordered + */ + protected String label = LABEL_EDEFAULT; + + /** + * + * + * @generated + */ + protected SiriusExpressionClassImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS; + } + + /** + * + * + * @generated + */ + public EList getVariables() { + if (variables == null) { + variables = new EObjectContainmentEList.Resolving(Variable.class, this, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES); + } + return variables; + } + + /** + * + * + * @generated + */ + public EList getExpressionDescriptions() { + if (expressionDescriptions == null) { + expressionDescriptions = new EObjectContainmentEList.Resolving(ExpressionDescription.class, this, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); + } + return expressionDescriptions; + } + + /** + * + * + * @generated + */ + public String getLabel() { + return label; + } + + /** + * + * + * @generated + */ + public void setLabel(String newLabel) { + String oldLabel = label; + label = newLabel; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL, oldLabel, label)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + return ((InternalEList)getVariables()).basicRemove(otherEnd, msgs); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + return ((InternalEList)getExpressionDescriptions()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + return getVariables(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + return getExpressionDescriptions(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: + return getLabel(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + getVariables().clear(); + getVariables().addAll((Collection)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + getExpressionDescriptions().clear(); + getExpressionDescriptions().addAll((Collection)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: + setLabel((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + getVariables().clear(); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + getExpressionDescriptions().clear(); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: + setLabel(LABEL_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + return variables != null && !variables.isEmpty(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + return expressionDescriptions != null && !expressionDescriptions.isEmpty(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: + return LABEL_EDEFAULT == null ? label != null : !LABEL_EDEFAULT.equals(label); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (label: "); //$NON-NLS-1$ + result.append(label); + result.append(')'); + return result.toString(); + } + +} //SiriusExpressionClassImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionPackageImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionPackageImpl.java new file mode 100644 index 000000000..79687b3b5 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionPackageImpl.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionClass; +import org.eclipse.sirius.expression.SiriusExpressionPackage; + +/** + * + * An implementation of the model object 'Sirius Expression Package'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl#getExpressionClasses Expression Classes}
  • + *
  • {@link org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl#getEPackage EPackage}
  • + *
+ * + * @generated + */ +public class SiriusExpressionPackageImpl extends MinimalEObjectImpl.Container implements SiriusExpressionPackage { + /** + * The cached value of the '{@link #getExpressionClasses() Expression Classes}' containment reference list. + * + * + * @see #getExpressionClasses() + * @generated + * @ordered + */ + protected EList expressionClasses; + + /** + * The cached value of the '{@link #getEPackage() EPackage}' reference. + * + * + * @see #getEPackage() + * @generated + * @ordered + */ + protected EPackage ePackage; + + /** + * + * + * @generated + */ + protected SiriusExpressionPackageImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE; + } + + /** + * + * + * @generated + */ + public EList getExpressionClasses() { + if (expressionClasses == null) { + expressionClasses = new EObjectContainmentEList.Resolving(SiriusExpressionClass.class, this, ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); + } + return expressionClasses; + } + + /** + * + * + * @generated + */ + public EPackage getEPackage() { + if (ePackage != null && ePackage.eIsProxy()) { + InternalEObject oldEPackage = (InternalEObject)ePackage; + ePackage = (EPackage)eResolveProxy(oldEPackage); + if (ePackage != oldEPackage) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, oldEPackage, ePackage)); + } + } + return ePackage; + } + + /** + * + * + * @generated + */ + public EPackage basicGetEPackage() { + return ePackage; + } + + /** + * + * + * @generated + */ + public void setEPackage(EPackage newEPackage) { + EPackage oldEPackage = ePackage; + ePackage = newEPackage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, oldEPackage, ePackage)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + return ((InternalEList)getExpressionClasses()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + return getExpressionClasses(); + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + if (resolve) return getEPackage(); + return basicGetEPackage(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + getExpressionClasses().clear(); + getExpressionClasses().addAll((Collection)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + setEPackage((EPackage)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + getExpressionClasses().clear(); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + setEPackage((EPackage)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + return expressionClasses != null && !expressionClasses.isEmpty(); + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + return ePackage != null; + } + return super.eIsSet(featureID); + } + +} //SiriusExpressionPackageImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/VariableImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/VariableImpl.java new file mode 100644 index 000000000..1a2326d60 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/VariableImpl.java @@ -0,0 +1,222 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.Variable; + +/** + * + * An implementation of the model object 'Variable'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link org.eclipse.sirius.expression.impl.VariableImpl#getName Name}
  • + *
  • {@link org.eclipse.sirius.expression.impl.VariableImpl#getDocumentation Documentation}
  • + *
+ * + * @generated + */ +public class VariableImpl extends MinimalEObjectImpl.Container implements Variable { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected static final String DOCUMENTATION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected String documentation = DOCUMENTATION_EDEFAULT; + + /** + * + * + * @generated + */ + protected VariableImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.VARIABLE; + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.VARIABLE__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + public String getDocumentation() { + return documentation; + } + + /** + * + * + * @generated + */ + public void setDocumentation(String newDocumentation) { + String oldDocumentation = documentation; + documentation = newDocumentation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.VARIABLE__DOCUMENTATION, oldDocumentation, documentation)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.VARIABLE__NAME: + return getName(); + case ExpressionPackage.VARIABLE__DOCUMENTATION: + return getDocumentation(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.VARIABLE__NAME: + setName((String)newValue); + return; + case ExpressionPackage.VARIABLE__DOCUMENTATION: + setDocumentation((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.VARIABLE__NAME: + setName(NAME_EDEFAULT); + return; + case ExpressionPackage.VARIABLE__DOCUMENTATION: + setDocumentation(DOCUMENTATION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.VARIABLE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case ExpressionPackage.VARIABLE__DOCUMENTATION: + return DOCUMENTATION_EDEFAULT == null ? documentation != null : !DOCUMENTATION_EDEFAULT.equals(documentation); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); //$NON-NLS-1$ + result.append(name); + result.append(", documentation: "); //$NON-NLS-1$ + result.append(documentation); + result.append(')'); + return result.toString(); + } + +} //VariableImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java new file mode 100644 index 000000000..ddfda92fe --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java @@ -0,0 +1,179 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.expression.*; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see org.eclipse.sirius.expression.ExpressionPackage + * @generated + */ +public class ExpressionAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static ExpressionPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public ExpressionAdapterFactory() { + if (modelPackage == null) { + modelPackage = ExpressionPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected ExpressionSwitch modelSwitch = + new ExpressionSwitch() { + @Override + public Adapter caseSiriusExpressionPackage(SiriusExpressionPackage object) { + return createSiriusExpressionPackageAdapter(); + } + @Override + public Adapter caseExpressionDescription(ExpressionDescription object) { + return createExpressionDescriptionAdapter(); + } + @Override + public Adapter caseVariable(Variable object) { + return createVariableAdapter(); + } + @Override + public Adapter caseSiriusExpressionClass(SiriusExpressionClass object) { + return createSiriusExpressionClassAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.SiriusExpressionPackage Sirius Expression Package}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.SiriusExpressionPackage + * @generated + */ + public Adapter createSiriusExpressionPackageAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.ExpressionDescription Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.ExpressionDescription + * @generated + */ + public Adapter createExpressionDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.Variable Variable}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.Variable + * @generated + */ + public Adapter createVariableAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.SiriusExpressionClass Sirius Expression Class}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.SiriusExpressionClass + * @generated + */ + public Adapter createSiriusExpressionClassAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //ExpressionAdapterFactory diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java new file mode 100644 index 000000000..affcf41b8 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java @@ -0,0 +1,178 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.sirius.expression.*; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see org.eclipse.sirius.expression.ExpressionPackage + * @generated + */ +public class ExpressionSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static ExpressionPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public ExpressionSwitch() { + if (modelPackage == null) { + modelPackage = ExpressionPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE: { + SiriusExpressionPackage siriusExpressionPackage = (SiriusExpressionPackage)theEObject; + T result = caseSiriusExpressionPackage(siriusExpressionPackage); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpressionPackage.EXPRESSION_DESCRIPTION: { + ExpressionDescription expressionDescription = (ExpressionDescription)theEObject; + T result = caseExpressionDescription(expressionDescription); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpressionPackage.VARIABLE: { + Variable variable = (Variable)theEObject; + T result = caseVariable(variable); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS: { + SiriusExpressionClass siriusExpressionClass = (SiriusExpressionClass)theEObject; + T result = caseSiriusExpressionClass(siriusExpressionClass); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Sirius Expression Package'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Expression Package'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusExpressionPackage(SiriusExpressionPackage object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExpressionDescription(ExpressionDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Variable'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Variable'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseVariable(Variable object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Sirius Expression Class'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Expression Class'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusExpressionClass(SiriusExpressionClass object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //ExpressionSwitch diff --git a/releng/org.eclipse.eef.releng/.project b/releng/org.eclipse.eef.releng/.project new file mode 100644 index 000000000..c26fde7b2 --- /dev/null +++ b/releng/org.eclipse.eef.releng/.project @@ -0,0 +1,11 @@ + + + org.eclipse.eef.releng + + + + + + + + diff --git a/releng/org.eclipse.eef.releng/about.html b/releng/org.eclipse.eef.releng/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/releng/org.eclipse.eef.releng/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 15, 2010

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/releng/org.eclipse.eef.releng/codestyle/EEF.importorder b/releng/org.eclipse.eef.releng/codestyle/EEF.importorder new file mode 100644 index 000000000..bf67fa57e --- /dev/null +++ b/releng/org.eclipse.eef.releng/codestyle/EEF.importorder @@ -0,0 +1,6 @@ +#Organize Import Order +#Fri Oct 02 14:05:24 CEST 2015 +3=org +2=javax +1=java +0=com diff --git a/releng/org.eclipse.eef.releng/codestyle/EEFCheckstyleConfiguration.xml b/releng/org.eclipse.eef.releng/codestyle/EEFCheckstyleConfiguration.xml new file mode 100644 index 000000000..e7c625c07 --- /dev/null +++ b/releng/org.eclipse.eef.releng/codestyle/EEFCheckstyleConfiguration.xml @@ -0,0 +1,338 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/releng/org.eclipse.eef.releng/codestyle/EEFCodeTemplates.xml b/releng/org.eclipse.eef.releng/codestyle/EEFCodeTemplates.xml new file mode 100644 index 000000000..8997dd9fc --- /dev/null +++ b/releng/org.eclipse.eef.releng/codestyle/EEFCodeTemplates.xml @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/releng/org.eclipse.eef.releng/codestyle/EEFFormatter.xml b/releng/org.eclipse.eef.releng/codestyle/EEFFormatter.xml new file mode 100644 index 000000000..0bd015564 --- /dev/null +++ b/releng/org.eclipse.eef.releng/codestyle/EEFFormatter.xml @@ -0,0 +1,295 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.target b/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.target new file mode 100644 index 000000000..026d0e9cf --- /dev/null +++ b/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.target @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.tpd b/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.tpd new file mode 100644 index 000000000..bbc0a5090 --- /dev/null +++ b/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.tpd @@ -0,0 +1,13 @@ +target "Eclipse Neon" + +with source requirements + +location "http://download.eclipse.org/releases/neon" { + org.eclipse.platform.feature.group lazy + org.eclipse.sdk.feature.group lazy + org.eclipse.acceleo.query.feature.group lazy + org.eclipse.sirius.aql.feature.group lazy + org.eclipse.sirius.specifier.feature.group lazy + org.eclipse.uml2.uml.feature.group lazy + org.eclipse.uml2.uml.editor lazy +} \ No newline at end of file diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/.classpath b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/.classpath new file mode 100644 index 000000000..eca7bdba8 --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/.project b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/.project new file mode 100644 index 000000000..0b7f3b986 --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/.project @@ -0,0 +1,28 @@ + + + org.eclipse.sirius.editor.custom + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/.settings/org.eclipse.jdt.core.prefs b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..0c68a61dc --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/META-INF/MANIFEST.MF b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/META-INF/MANIFEST.MF new file mode 100644 index 000000000..b03a0bdbb --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/META-INF/MANIFEST.MF @@ -0,0 +1,39 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Custom +Bundle-SymbolicName: org.eclipse.sirius.editor.custom;singleton:=true +Bundle-Version: 1.0.0.qualifier +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.ui, + org.eclipse.sirius.editor;bundle-version="3.0.0", + org.eclipse.sirius.common.ui;bundle-version="3.0.0", + org.eclipse.sirius.common;bundle-version="3.0.0", + org.eclipse.sirius.editor.diagram;bundle-version="3.0.0", + org.eclipse.sirius.editor.sequence;bundle-version="3.0.0", + org.eclipse.sirius.editor.table;bundle-version="3.0.0", + org.eclipse.sirius.editor.tree;bundle-version="3.0.0", + org.eclipse.sirius.ext.base;bundle-version="3.0.0", + org.eclipse.sirius.ext.draw2d;bundle-version="3.0.0", + org.eclipse.sirius.ext.e3;bundle-version="3.0.0", + org.eclipse.sirius.ext.e3.ui;bundle-version="3.0.0", + org.eclipse.sirius.ext.emf;bundle-version="3.0.0", + org.eclipse.sirius.ext.emf.edit;bundle-version="3.0.0", + org.eclipse.sirius.ext.emf.tx;bundle-version="3.0.0", + org.eclipse.sirius.ext.emf.ui;bundle-version="3.0.0", + org.eclipse.sirius.ext.gef;bundle-version="3.0.0", + org.eclipse.sirius.ext.gmf.notation;bundle-version="3.0.0", + org.eclipse.sirius.ext.gmf.runtime;bundle-version="3.0.0", + org.eclipse.sirius.ext.jface;bundle-version="3.0.0", + org.eclipse.sirius.ext.swt;bundle-version="3.0.0", + org.eclipse.sirius.ui;bundle-version="3.0.0", + org.eclipse.sirius.ui.ext;bundle-version="3.0.0", + org.eclipse.ui.ide;bundle-version="3.11.0", + org.eclipse.core.resources;bundle-version="3.10.0", + org.eclipse.ui.editors;bundle-version="3.9.0", + org.eclipse.ui.forms;bundle-version="3.6.200", + org.eclipse.ui.workbench.texteditor;bundle-version="3.9.100", + org.eclipse.ui.views;bundle-version="3.8.0", + org.eclipse.ui.views.properties.tabbed;bundle-version="3.6.100", + org.eclipse.emf.common.ui;bundle-version="2.10.0", + org.eclipse.sirius.editor.properties;bundle-version="1.0.0" +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/build.properties b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/build.properties new file mode 100644 index 000000000..0d3d3a745 --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/build.properties @@ -0,0 +1,6 @@ +source.. = src/ +output.. = bin/ +bin.includes = plugin.xml,\ + META-INF/,\ + .,\ + icons/ diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/icons/sample.gif b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/icons/sample.gif new file mode 100644 index 000000000..34fb3c9d8 Binary files /dev/null and b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/icons/sample.gif differ diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/plugin.xml b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/plugin.xml new file mode 100644 index 000000000..d552dd5d8 --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/plugin.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/src/org/eclipse/sirius/editor/custom/editors/CustomEditor.java b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/src/org/eclipse/sirius/editor/custom/editors/CustomEditor.java new file mode 100644 index 000000000..d444fdaf2 --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/src/org/eclipse/sirius/editor/custom/editors/CustomEditor.java @@ -0,0 +1,32 @@ +package org.eclipse.sirius.editor.custom.editors; + +import org.eclipse.sirius.editor.tools.internal.presentation.CustomSiriusEditor; +import org.eclipse.ui.views.properties.IPropertySheetPage; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; + +@SuppressWarnings("restriction") +public class CustomEditor extends CustomSiriusEditor { + @Override + public Object getAdapter(@SuppressWarnings("rawtypes") Class key) { + if (key.equals(IPropertySheetPage.class)) { + return getPropertySheetPage(); + } + return super.getAdapter(key); + } + + @Override + public TabbedPropertySheetPage getPropertySheetPage() { + if (propertySheetPage == null || propertySheetPage.getControl() == null) { + propertySheetPage = new SiriusPropertySheetPage(this); + } + return propertySheetPage; + } + + /** + * The contributor id for this configuration + */ + @Override + public String getContributorId() { + return "org.eclipse.sirius.editor.editorPlugin.CustomSiriusEditorContributor"; + } +} diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/src/org/eclipse/sirius/editor/custom/editors/SiriusPropertySheetPage.java b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/src/org/eclipse/sirius/editor/custom/editors/SiriusPropertySheetPage.java new file mode 100644 index 000000000..e1d7a5a75 --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/src/org/eclipse/sirius/editor/custom/editors/SiriusPropertySheetPage.java @@ -0,0 +1,11 @@ +package org.eclipse.sirius.editor.custom.editors; + +import org.eclipse.sirius.editor.properties.ViewpointPropertySheetPage; + +public class SiriusPropertySheetPage extends ViewpointPropertySheetPage { + + public SiriusPropertySheetPage(CustomEditor editor) { + super(editor); + } + +} diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/.classpath b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/.classpath new file mode 100644 index 000000000..ad32c83a7 --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/.project b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/.project new file mode 100644 index 000000000..c3537b615 --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/.project @@ -0,0 +1,28 @@ + + + org.eclipse.sirius.editor.properties + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/.settings/org.eclipse.jdt.core.prefs b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..c537b6306 --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/META-INF/MANIFEST.MF b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/META-INF/MANIFEST.MF new file mode 100644 index 000000000..5ae99bd93 --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/META-INF/MANIFEST.MF @@ -0,0 +1,23 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-SymbolicName: org.eclipse.sirius.editor.properties;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-Vendor: %Bundle-Vendor +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Require-Bundle: org.eclipse.ui.views.properties.tabbed;bundle-version="3.6.100", + org.eclipse.core.runtime;bundle-version="3.11.0", + com.google.guava;bundle-version="15.0.0", + org.eclipse.eef.ide.ui;bundle-version="2.0.0", + org.eclipse.emf.ecore, + org.eclipse.eef.ide, + org.eclipse.sirius.editor;bundle-version="3.0.0", + org.eclipse.sirius.common.ui;bundle-version="3.0.0", + org.eclipse.emf.transaction;bundle-version="1.9.0", + org.eclipse.sirius;bundle-version="3.0.0", + org.eclipse.sirius.common;bundle-version="3.0.0" +Export-Package: org.eclipse.sirius.editor.properties.api +Import-Package: org.eclipse.eef;version="2.0.0", + org.eclipse.eef.api;version="2.0.0", + org.eclipse.eef.core.api;version="2.0.0", + org.eclipse.eef.interpreter.api;version="2.0.0" diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/build.properties b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/build.properties new file mode 100644 index 000000000..e9863e281 --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.xml diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/plugin.xml b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/plugin.xml new file mode 100644 index 000000000..4e187a0be --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/plugin.xml @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/api/EEFTabDescriptorProvider.java b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/api/EEFTabDescriptorProvider.java new file mode 100644 index 000000000..6fc0c2e78 --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/api/EEFTabDescriptorProvider.java @@ -0,0 +1,42 @@ +package org.eclipse.sirius.editor.properties.api; + +import java.util.List; + +import org.eclipse.eef.ide.ui.api.TabDescriptorFilter; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.sirius.business.api.session.Session; +import org.eclipse.sirius.business.api.session.SessionManager; +import org.eclipse.sirius.editor.tools.internal.presentation.CustomSiriusEditor; +import org.eclipse.ui.IEditorPart; +import org.eclipse.ui.IWorkbenchPart; +import org.eclipse.ui.views.properties.tabbed.ITabDescriptor; +import org.eclipse.ui.views.properties.tabbed.ITabDescriptorProvider; + +public class EEFTabDescriptorProvider implements ITabDescriptorProvider { + + @Override + public ITabDescriptor[] getTabDescriptors(IWorkbenchPart part, ISelection selection) { + if (part instanceof IEditorPart) { + IEditorPart iEditorPart = (IEditorPart) part; + if (iEditorPart instanceof CustomSiriusEditor) { + + Session session = SessionManager.INSTANCE.getSessions().iterator().next(); + + // We have our editor, let's retrieve the tab descriptors + if (selection instanceof IStructuredSelection) { + IStructuredSelection iStructuredSelection = (IStructuredSelection) selection; + final Object[] objects = iStructuredSelection.toArray(); + + TabDescriptorFilter tabDescriptorFilter = new TabDescriptorFilter(); + List descriptors = tabDescriptorFilter.getTabDescriptors(objects, session.getTransactionalEditingDomain()); + return descriptors.toArray(new ITabDescriptor[descriptors.size()]); + + } + } + } + return new ITabDescriptor[] {}; + } + +} diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/internal/EEFBundleActivator.java b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/internal/EEFBundleActivator.java new file mode 100644 index 000000000..637316c52 --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/internal/EEFBundleActivator.java @@ -0,0 +1,23 @@ +package org.eclipse.sirius.editor.properties.internal; + +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + +public class EEFBundleActivator implements BundleActivator { + + private static EEFBundleActivator instance; + + public static EEFBundleActivator getInstance() { + return instance; + } + + @Override + public void start(BundleContext context) throws Exception { + instance = this; + } + + @Override + public void stop(BundleContext context) throws Exception { + instance = null; + } +} diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/internal/EEFViewDescriptionProvider.java b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/internal/EEFViewDescriptionProvider.java new file mode 100644 index 000000000..bc91fc43a --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/internal/EEFViewDescriptionProvider.java @@ -0,0 +1,43 @@ +package org.eclipse.sirius.editor.properties.internal; + +import org.eclipse.eef.EEFContainerDescription; +import org.eclipse.eef.EEFGroupDescription; +import org.eclipse.eef.EEFPageDescription; +import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.EEFViewDescription; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; +import org.eclipse.eef.api.IEEFViewDescriptionProvider; + +public class EEFViewDescriptionProvider implements IEEFViewDescriptionProvider { + + @Override + public EEFViewDescription get() { + EefFactory eefFactory = EefPackage.eINSTANCE.getEefFactory(); + EEFViewDescription eefViewDescription = eefFactory.createEEFViewDescription(); + eefViewDescription.setIdentifier("eefPage"); + + EEFPageDescription eefPageDescription = eefFactory.createEEFPageDescription(); + eefPageDescription.setIdentifier("eefPage"); + eefPageDescription.setLabelExpression("aql:'General'"); + eefPageDescription.setSemanticCandidateExpression("aql:viewSemanticCandidate"); + eefViewDescription.getPages().add(eefPageDescription); + + EEFGroupDescription eefGroupDescription = eefFactory.createEEFGroupDescription(); + eefGroupDescription.setIdentifier("eefGroup"); + eefViewDescription.getGroups().add(eefGroupDescription); + eefPageDescription.getGroups().add(eefGroupDescription); + + EEFContainerDescription eefContainerDescription = eefFactory.createEEFContainerDescription(); + EEFTextDescription eefTextDescription = eefFactory.createEEFTextDescription(); + eefTextDescription.setLabelExpression("aql:'Name'"); + eefTextDescription.setValueExpression("aql:viewSemanticCandidate.name"); + eefTextDescription.setEditExpression("aql:viewSemanticCandidate.eSet('name', newValue)"); + eefTextDescription.setLabelExpression("aql:viewSemanticCandidate.name"); + eefContainerDescription.getWidgets().add(eefTextDescription); + eefGroupDescription.setContainer(eefContainerDescription); + + return eefViewDescription; + } + +} diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.checkstyle b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.checkstyle new file mode 100644 index 000000000..121faf77d --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.checkstyle @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.classpath b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.classpath new file mode 100644 index 000000000..ad32c83a7 --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.project b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.project new file mode 100644 index 000000000..dbfb23aa4 --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.project @@ -0,0 +1,34 @@ + + + org.eclipse.eef.uml.editor.sample + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + net.sf.eclipsecs.core.CheckstyleNature + + diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.core.prefs b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..fb8257839 --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,398 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.builder.invalidClasspath=abort +org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=150 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +org.eclipse.jdt.core.incompleteClasspath=error +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.launching.prefs b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.launching.prefs new file mode 100644 index 000000000..3bb235278 --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.launching.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.ui.prefs b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..a7564c761 --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,68 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_profile=_EEF +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;java;javax;org; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=false +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=false +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=true +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=false +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=false +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=false +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=false +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=false +sp_cleanup.remove_unused_private_types=false +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false +sp_cleanup.use_type_arguments=false diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.core.prefs b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 000000000..923c37fb8 --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +resolve.requirebundle=false diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.prefs b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..3112e810d --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=1 +compilers.p.build.java.compiler=1 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=0 +compilers.p.missing-version-import-package=0 +compilers.p.missing-version-require-bundle=0 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=0 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/META-INF/MANIFEST.MF b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/META-INF/MANIFEST.MF new file mode 100644 index 000000000..213455ddd --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/META-INF/MANIFEST.MF @@ -0,0 +1,24 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.eef.uml.editor.sample;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-Vendor: %providerName +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Bundle-ActivationPolicy: lazy +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", + org.eclipse.emf.common;bundle-version="[2.8.0,3.0.0)", + org.eclipse.eef;bundle-version="[2.0.0,3.0.0)", + org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)", + org.eclipse.emf.ecore.xmi;bundle-version="[2.8.0,3.0.0)", + org.eclipse.uml2.uml.editor;bundle-version="[5.0.0,6.0.0)", + org.eclipse.ui.views.properties.tabbed;bundle-version="[3.0.0,4.0.0)", + org.eclipse.eef.ide;bundle-version="[2.0.0,3.0.0)", + org.eclipse.sirius;bundle-version="[3.0.0,5.0.0)", + org.eclipse.eef.ide.ui;bundle-version="[2.0.0,3.0.0)", + org.eclipse.emf.transaction;bundle-version="[1.5.0,2.0.0)" +Bundle-Localization: plugin +Export-Package: org.eclipse.eef.uml.editor.sample.internal;version="1.0.0";x-internal:=true, + org.eclipse.eef.uml.editor.sample.internal.description;version="1.0.0";x-internal:=true, + org.eclipse.eef.uml.editor.sample.internal.editor;version="1.0.0";x-internal:=true, + org.eclipse.eef.uml.editor.sample.internal.properties;version="1.0.0";x-internal:=true diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/build.properties b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/build.properties new file mode 100644 index 000000000..5c27a621f --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/build.properties @@ -0,0 +1,14 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.properties,\ + plugin.xml +javacProjectSettings = true diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/description/EEFViewDescription.xmi b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/description/EEFViewDescription.xmi new file mode 100644 index 000000000..f1bffa910 --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/description/EEFViewDescription.xmi @@ -0,0 +1,27 @@ + + + http://www.eclipse.org/uml2/5.0.0/UML + + + + + + + diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.properties b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.properties new file mode 100644 index 000000000..42109e1aa --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.properties @@ -0,0 +1,11 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +pluginName=EEF UML Sample +providerName=Eclipse Modeling Project + +UMLEditor_Name=EEF UML Editor \ No newline at end of file diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.xml b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.xml new file mode 100644 index 000000000..c114b8c10 --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/UmlSamplePlugin.java b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/UmlSamplePlugin.java new file mode 100644 index 000000000..4b5be3e38 --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/UmlSamplePlugin.java @@ -0,0 +1,93 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.uml.editor.sample.internal; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.emf.common.EMFPlugin; +import org.eclipse.emf.common.util.ResourceLocator; + +/** + * The plugin class of the bundle. + * + * @author sbegaudeau + */ +public class UmlSamplePlugin extends EMFPlugin { + /** + * The identifier of the plugin. + */ + public static final String PLUGIN_ID = "org.eclipse.eef.uml.editor.sample"; //$NON-NLS-1$ + + /** + * The sole instance of the plugin. + */ + public static final UmlSamplePlugin INSTANCE = new UmlSamplePlugin(); + + /** + * The OSGi related implementation of the plugin. + */ + private static Implementation plugin; + + /** + * The constructor. + */ + public UmlSamplePlugin() { + super(new ResourceLocator[0]); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.emf.common.EMFPlugin#getPluginResourceLocator() + */ + @Override + public ResourceLocator getPluginResourceLocator() { + return plugin; + } + + /** + * Returns the OSGi related implementation. + * + * @return The OSGi related implementation + */ + public static Implementation getImplementation() { + return plugin; + } + + /** + * This class is used as the bundle activator of the plugin. + * + * @author sbegaudeau + */ + public static class Implementation extends EclipsePlugin { + /** + * The constructor. + */ + public Implementation() { + super(); + + plugin = this; + } + + /** + * Logs an error with the exception and the given message. + * + * @param message + * The message + * @param exception + * The exception + */ + public void logError(String message, Exception exception) { + IStatus status = new Status(IStatus.ERROR, PLUGIN_ID, message, exception); + this.getLog().log(status); + } + } +} diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/description/EEFViewDescriptionProvider.java b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/description/EEFViewDescriptionProvider.java new file mode 100644 index 000000000..eaa3a6152 --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/description/EEFViewDescriptionProvider.java @@ -0,0 +1,58 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.uml.editor.sample.internal.description; + +import java.util.List; + +import org.eclipse.eef.EEFViewDescription; +import org.eclipse.eef.api.IEEFViewDescriptionProvider; +import org.eclipse.eef.uml.editor.sample.internal.UmlSamplePlugin; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.ResourceSet; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; + +/** + * This class returns the EEFViewDescription for the custom UML editor. + * + * @author sbegaudeau + */ +public class EEFViewDescriptionProvider implements IEEFViewDescriptionProvider { + + /** + * The path of the EEF description model. + */ + private static final String MODEL_PATH = UmlSamplePlugin.PLUGIN_ID + "/description/EEFViewDescription.xmi"; //$NON-NLS-1$ + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.api.IEEFViewDescriptionProvider#get() + */ + @Override + public EEFViewDescription get() { + EEFViewDescription eefViewDescription = null; + + ResourceSet resourceSet = new ResourceSetImpl(); + URI uri = URI.createPlatformPluginURI(MODEL_PATH, true); + Resource resource = resourceSet.getResource(uri, true); + if (resource != null) { + List contents = resource.getContents(); + if (contents.size() > 0 && contents.get(0) instanceof EEFViewDescription) { + eefViewDescription = (EEFViewDescription) contents.get(0); + } + } + + return eefViewDescription; + } + +} diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/editor/EEFUmlEditor.java b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/editor/EEFUmlEditor.java new file mode 100644 index 000000000..3c0d42183 --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/editor/EEFUmlEditor.java @@ -0,0 +1,86 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.uml.editor.sample.internal.editor; + +import java.util.Iterator; + +import org.eclipse.eef.uml.editor.sample.internal.properties.UmlPropertySheetPage; +import org.eclipse.emf.edit.domain.EditingDomain; +import org.eclipse.sirius.business.api.session.Session; +import org.eclipse.sirius.business.api.session.SessionManager; +import org.eclipse.ui.views.properties.IPropertySheetPage; +import org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; +import org.eclipse.uml2.uml.editor.presentation.UMLEditor; + +/** + * Our custom UML editor. + * + * @author sbegaudeau + */ +public class EEFUmlEditor extends UMLEditor implements ITabbedPropertySheetPageContributor { + + /** + * The property sheet page. + */ + private TabbedPropertySheetPage propertySheetPage; + + /** + * {@inheritDoc} + * + * @see org.eclipse.uml2.uml.editor.presentation.UMLEditor#getAdapter(java.lang.Class) + */ + @Override + public Object getAdapter(@SuppressWarnings("rawtypes") Class key) { + if (key.equals(IPropertySheetPage.class)) { + return getPropertySheetPage(); + } + return super.getAdapter(key); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.uml2.uml.editor.presentation.UMLEditor#getPropertySheetPage() + */ + @Override + public TabbedPropertySheetPage getPropertySheetPage() { + if (propertySheetPage == null || propertySheetPage.getControl() == null) { + propertySheetPage = new UmlPropertySheetPage(this); + } + return propertySheetPage; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor#getContributorId() + */ + @Override + public String getContributorId() { + return "org.eclipse.eef.uml.editor.sample.contributorId"; //$NON-NLS-1$ + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.uml2.uml.editor.presentation.UMLEditor#getEditingDomain() + */ + @Override + public EditingDomain getEditingDomain() { + Iterator iterator = SessionManager.INSTANCE.getSessions().iterator(); + if (iterator.hasNext()) { + Session session = iterator.next(); + return session.getTransactionalEditingDomain(); + } + return super.getEditingDomain(); + } +} diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UMLTabDescriptorProvider.java b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UMLTabDescriptorProvider.java new file mode 100644 index 000000000..b8e324c64 --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UMLTabDescriptorProvider.java @@ -0,0 +1,71 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.uml.editor.sample.internal.properties; + +import java.util.List; + +import org.eclipse.eef.ide.ui.api.TabDescriptorFilter; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.edit.domain.EditingDomain; +import org.eclipse.emf.edit.domain.IEditingDomainProvider; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.ui.IWorkbenchPart; +import org.eclipse.ui.views.properties.tabbed.ITabDescriptor; +import org.eclipse.ui.views.properties.tabbed.ITabDescriptorProvider; + +/** + * The tab descriptor provider for the UML properties view. + * + * @author sbegaudeau + */ +public class UMLTabDescriptorProvider implements ITabDescriptorProvider { + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.ITabDescriptorProvider#getTabDescriptors(org.eclipse.ui.IWorkbenchPart, + * org.eclipse.jface.viewers.ISelection) + */ + @Override + public ITabDescriptor[] getTabDescriptors(IWorkbenchPart part, ISelection selection) { + if (part instanceof IEditingDomainProvider && selection instanceof IStructuredSelection) { + IStructuredSelection structuredSelection = (IStructuredSelection) selection; + Object[] objects = structuredSelection.toArray(); + + IEditingDomainProvider editingDomainProvider = (IEditingDomainProvider) part; + EditingDomain editingDomain = editingDomainProvider.getEditingDomain(); + + Object[] eObjects = new Object[objects.length]; + + for (int i = 0; i < objects.length; i = i + 1) { + Object object = objects[i]; + if (object instanceof EObject) { + EObject eObject = (EObject) object; + URI uri = EcoreUtil.getURI(eObject); + EObject domainEObject = editingDomain.getResourceSet().getEObject(uri, true); + eObjects[i] = domainEObject; + } + } + + if (editingDomain instanceof TransactionalEditingDomain) { + TransactionalEditingDomain transactionalEditingDomain = (TransactionalEditingDomain) editingDomain; + List descriptors = new TabDescriptorFilter().getTabDescriptors(eObjects, transactionalEditingDomain); + return descriptors.toArray(new ITabDescriptor[descriptors.size()]); + } + } + return new ITabDescriptor[0]; + } + +} diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UmlPropertySheetPage.java b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UmlPropertySheetPage.java new file mode 100644 index 000000000..a142737cb --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UmlPropertySheetPage.java @@ -0,0 +1,33 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.uml.editor.sample.internal.properties; + +import org.eclipse.eef.uml.editor.sample.internal.editor.EEFUmlEditor; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; + +/** + * The tabbed property sheet page. + * + * @author sbegaudeau + */ +public class UmlPropertySheetPage extends TabbedPropertySheetPage { + + /** + * The constructor. + * + * @param eefUmlEditor + * The editor + */ + public UmlPropertySheetPage(EEFUmlEditor eefUmlEditor) { + super(eefUmlEditor); + } + +} -- cgit v1.2.3 From fb1715216a928d3700b98690aea20b8b7d33f88a Mon Sep 17 00:00:00 2001 From: Stéphane Bégaudeau Date: Thu, 22 Oct 2015 15:48:22 +0200 Subject: Update metamodel with styles & validation Change-Id: Ibce4c4d08ae149e0b572a953866b9f7130f7dad1 Signed-off-by: Stéphane Bégaudeau --- .../userstories/US-16.xmi | 6 +- doc/org.eclipse.sirius.expression.design/.project | 1 - .../description/expression.odesign | 24 +- .../eclipse/eef/core/internal/EEFGroupImpl.java | 6 +- .../org/eclipse/eef/core/internal/EEFPageImpl.java | 10 +- .../full/obj16/EEFCheckboxConditionalStyle.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFCheckboxStyle.gif | Bin 0 -> 129 bytes .../full/obj16/EEFCheckboxStyleCustomization.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFColumnConditionalStyle.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFColumnStyle.gif | Bin 0 -> 129 bytes .../full/obj16/EEFColumnStyleCustomization.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFGroupConditionalStyle.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFGroupStyle.gif | Bin 0 -> 129 bytes .../full/obj16/EEFGroupStyleCustomization.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFLabelConditionalStyle.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFLabelStyle.gif | Bin 0 -> 129 bytes .../full/obj16/EEFLabelStyleCustomization.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFLineConditionalStyle.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFLineStyle.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFLineStyleCustomization.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFLinkConditionalStyle.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFLinkStyle.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFLinkStyleCustomization.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFRadioConditionalStyle.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFRadioStyle.gif | Bin 0 -> 129 bytes .../full/obj16/EEFRadioStyleCustomization.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFSelectConditionalStyle.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFSelectStyle.gif | Bin 0 -> 129 bytes .../full/obj16/EEFSelectStyleCustomization.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFTableConditionalStyle.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFTableStyle.gif | Bin 0 -> 129 bytes .../full/obj16/EEFTableStyleCustomization.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFTextConditionalStyle.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFTextStyle.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFTextStyleCustomization.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFTreeConditionalStyle.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFTreeStyle.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFTreeStyleCustomization.gif | Bin 0 -> 129 bytes plugins/org.eclipse.eef.edit/plugin.properties | 99 +- .../EEFCheckboxConditionalStyleItemProvider.java | 174 + .../EEFCheckboxStyleCustomizationItemProvider.java | 154 + .../eef/provider/EEFCheckboxStyleItemProvider.java | 156 + .../EEFColumnConditionalStyleItemProvider.java | 157 + .../provider/EEFColumnDescriptionItemProvider.java | 17 - .../EEFColumnStyleCustomizationItemProvider.java | 154 + .../eef/provider/EEFColumnStyleItemProvider.java | 188 + .../provider/EEFConditionalStyleItemProvider.java | 148 + .../EEFGroupConditionalStyleItemProvider.java | 157 + .../provider/EEFGroupDescriptionItemProvider.java | 51 + .../EEFGroupStyleCustomizationItemProvider.java | 154 + .../eef/provider/EEFGroupStyleItemProvider.java | 138 + .../EEFLabelConditionalStyleItemProvider.java | 157 + .../EEFLabelStyleCustomizationItemProvider.java | 154 + .../eef/provider/EEFLabelStyleItemProvider.java | 154 + .../EEFLineConditionalStyleItemProvider.java | 157 + .../EEFLineStyleCustomizationItemProvider.java | 154 + .../eef/provider/EEFLineStyleItemProvider.java | 186 + .../EEFLinkConditionalStyleItemProvider.java | 157 + .../EEFLinkStyleCustomizationItemProvider.java | 154 + .../eef/provider/EEFLinkStyleItemProvider.java | 170 + .../EEFRadioConditionalStyleItemProvider.java | 157 + .../EEFRadioStyleCustomizationItemProvider.java | 154 + .../eef/provider/EEFRadioStyleItemProvider.java | 154 + .../EEFSelectConditionalStyleItemProvider.java | 157 + .../EEFSelectStyleCustomizationItemProvider.java | 154 + .../eef/provider/EEFSelectStyleItemProvider.java | 154 + .../EEFStyleCustomizationItemProvider.java | 117 + .../eclipse/eef/provider/EEFStyleItemProvider.java | 146 + .../EEFTableConditionalStyleItemProvider.java | 157 + .../EEFTableStyleCustomizationItemProvider.java | 154 + .../eef/provider/EEFTableStyleItemProvider.java | 113 + .../EEFTextConditionalStyleItemProvider.java | 157 + .../provider/EEFTextDescriptionItemProvider.java | 92 + .../EEFTextStyleCustomizationItemProvider.java | 154 + .../eef/provider/EEFTextStyleItemProvider.java | 154 + .../EEFTreeConditionalStyleItemProvider.java | 157 + .../EEFTreeStyleCustomizationItemProvider.java | 154 + .../eef/provider/EEFTreeStyleItemProvider.java | 113 + .../provider/EEFViewDescriptionItemProvider.java | 14 + .../provider/EEFWidgetDescriptionItemProvider.java | 64 + .../provider/EefItemProviderAdapterFactory.java | 825 +++ plugins/org.eclipse.eef/model/EEFExpression.xmi | 1621 +++--- plugins/org.eclipse.eef/model/eef.aird | 1616 +++++- plugins/org.eclipse.eef/model/eef.ecore | 507 +- plugins/org.eclipse.eef/model/eef.genmodel | 129 +- .../eclipse/eef/EEFCheckboxConditionalStyle.java | 59 + .../src-gen/org/eclipse/eef/EEFCheckboxStyle.java | 85 + .../eclipse/eef/EEFCheckboxStyleCustomization.java | 57 + .../org/eclipse/eef/EEFColumnConditionalStyle.java | 57 + .../org/eclipse/eef/EEFColumnDescription.java | 27 - .../src-gen/org/eclipse/eef/EEFColumnStyle.java | 137 + .../eclipse/eef/EEFColumnStyleCustomization.java | 57 + .../org/eclipse/eef/EEFConditionalStyle.java | 59 + .../org/eclipse/eef/EEFGroupConditionalStyle.java | 57 + .../org/eclipse/eef/EEFGroupDescription.java | 78 + .../src-gen/org/eclipse/eef/EEFGroupStyle.java | 57 + .../eclipse/eef/EEFGroupStyleCustomization.java | 57 + .../org/eclipse/eef/EEFLabelConditionalStyle.java | 57 + .../src-gen/org/eclipse/eef/EEFLabelStyle.java | 83 + .../eclipse/eef/EEFLabelStyleCustomization.java | 57 + .../org/eclipse/eef/EEFLineConditionalStyle.java | 57 + .../src-gen/org/eclipse/eef/EEFLineStyle.java | 137 + .../org/eclipse/eef/EEFLineStyleCustomization.java | 57 + .../org/eclipse/eef/EEFLinkConditionalStyle.java | 57 + .../src-gen/org/eclipse/eef/EEFLinkStyle.java | 109 + .../org/eclipse/eef/EEFLinkStyleCustomization.java | 57 + .../org/eclipse/eef/EEFRadioConditionalStyle.java | 57 + .../src-gen/org/eclipse/eef/EEFRadioStyle.java | 83 + .../eclipse/eef/EEFRadioStyleCustomization.java | 57 + .../org/eclipse/eef/EEFSelectConditionalStyle.java | 57 + .../src-gen/org/eclipse/eef/EEFSelectStyle.java | 83 + .../eclipse/eef/EEFSelectStyleCustomization.java | 57 + .../src-gen/org/eclipse/eef/EEFStyle.java | 59 + .../org/eclipse/eef/EEFStyleCustomization.java | 28 + .../org/eclipse/eef/EEFTableConditionalStyle.java | 57 + .../src-gen/org/eclipse/eef/EEFTableStyle.java | 26 + .../eclipse/eef/EEFTableStyleCustomization.java | 57 + .../org/eclipse/eef/EEFTextConditionalStyle.java | 57 + .../org/eclipse/eef/EEFTextDescription.java | 122 + .../src-gen/org/eclipse/eef/EEFTextStyle.java | 83 + .../org/eclipse/eef/EEFTextStyleCustomization.java | 57 + .../org/eclipse/eef/EEFTreeConditionalStyle.java | 57 + .../src-gen/org/eclipse/eef/EEFTreeStyle.java | 26 + .../org/eclipse/eef/EEFTreeStyleCustomization.java | 57 + .../org/eclipse/eef/EEFViewDescription.java | 18 +- .../org/eclipse/eef/EEFWidgetDescription.java | 104 + .../src-gen/org/eclipse/eef/EefFactory.java | 297 ++ .../src-gen/org/eclipse/eef/EefPackage.java | 5451 ++++++++++++++++---- .../eef/impl/EEFCheckboxConditionalStyleImpl.java | 217 + .../impl/EEFCheckboxStyleCustomizationImpl.java | 216 + .../org/eclipse/eef/impl/EEFCheckboxStyleImpl.java | 231 + .../eef/impl/EEFColumnConditionalStyleImpl.java | 216 + .../eclipse/eef/impl/EEFColumnDescriptionImpl.java | 58 - .../eef/impl/EEFColumnStyleCustomizationImpl.java | 216 + .../org/eclipse/eef/impl/EEFColumnStyleImpl.java | 347 ++ .../eclipse/eef/impl/EEFConditionalStyleImpl.java | 174 + .../eef/impl/EEFGroupConditionalStyleImpl.java | 216 + .../eclipse/eef/impl/EEFGroupDescriptionImpl.java | 174 + .../eef/impl/EEFGroupStyleCustomizationImpl.java | 216 + .../org/eclipse/eef/impl/EEFGroupStyleImpl.java | 173 + .../eef/impl/EEFLabelConditionalStyleImpl.java | 216 + .../eef/impl/EEFLabelStyleCustomizationImpl.java | 216 + .../org/eclipse/eef/impl/EEFLabelStyleImpl.java | 231 + .../eef/impl/EEFLineConditionalStyleImpl.java | 216 + .../eef/impl/EEFLineStyleCustomizationImpl.java | 216 + .../org/eclipse/eef/impl/EEFLineStyleImpl.java | 347 ++ .../eef/impl/EEFLinkConditionalStyleImpl.java | 216 + .../eef/impl/EEFLinkStyleCustomizationImpl.java | 216 + .../org/eclipse/eef/impl/EEFLinkStyleImpl.java | 289 ++ .../eef/impl/EEFRadioConditionalStyleImpl.java | 216 + .../eef/impl/EEFRadioStyleCustomizationImpl.java | 216 + .../org/eclipse/eef/impl/EEFRadioStyleImpl.java | 231 + .../eef/impl/EEFSelectConditionalStyleImpl.java | 216 + .../eef/impl/EEFSelectStyleCustomizationImpl.java | 216 + .../org/eclipse/eef/impl/EEFSelectStyleImpl.java | 231 + .../eef/impl/EEFStyleCustomizationImpl.java | 45 + .../src-gen/org/eclipse/eef/impl/EEFStyleImpl.java | 172 + .../eef/impl/EEFTableConditionalStyleImpl.java | 216 + .../eef/impl/EEFTableStyleCustomizationImpl.java | 216 + .../org/eclipse/eef/impl/EEFTableStyleImpl.java | 43 + .../eef/impl/EEFTextConditionalStyleImpl.java | 216 + .../eclipse/eef/impl/EEFTextDescriptionImpl.java | 330 ++ .../eef/impl/EEFTextStyleCustomizationImpl.java | 216 + .../org/eclipse/eef/impl/EEFTextStyleImpl.java | 231 + .../eef/impl/EEFTreeConditionalStyleImpl.java | 216 + .../eef/impl/EEFTreeStyleCustomizationImpl.java | 216 + .../org/eclipse/eef/impl/EEFTreeStyleImpl.java | 43 + .../eclipse/eef/impl/EEFViewDescriptionImpl.java | 37 + .../eclipse/eef/impl/EEFWidgetDescriptionImpl.java | 238 + .../org/eclipse/eef/impl/EefFactoryImpl.java | 429 ++ .../org/eclipse/eef/impl/EefPackageImpl.java | 1876 ++++++- .../org/eclipse/eef/util/EefAdapterFactory.java | 684 +++ .../src-gen/org/eclipse/eef/util/EefSwitch.java | 856 +++ .../org.eclipse.sirius.contentassist/.classpath | 8 + plugins/org.eclipse.sirius.contentassist/.project | 29 + .../META-INF/MANIFEST.MF | 15 + .../build.properties | 10 + .../model/contentassist.aird | 200 + .../model/contentassist.ecore | 16 + .../model/contentassist.genmodel | 23 + .../plugin.properties | 4 + .../org.eclipse.sirius.contentassist/plugin.xml | 17 + .../sirius/contentassist/CompletionProposal.java | 218 + .../sirius/contentassist/ContentassistFactory.java | 48 + .../sirius/contentassist/ContentassistPackage.java | 397 ++ .../contentassist/impl/CompletionProposalImpl.java | 463 ++ .../impl/ContentassistFactoryImpl.java | 172 + .../impl/ContentassistPackageImpl.java | 290 ++ .../util/ContentassistAdapterFactory.java | 126 + .../contentassist/util/ContentassistSwitch.java | 116 + plugins/org.eclipse.sirius.validation/.classpath | 8 + plugins/org.eclipse.sirius.validation/.project | 29 + .../META-INF/MANIFEST.MF | 15 + .../org.eclipse.sirius.validation/build.properties | 15 + .../model/validation.aird | 184 + .../model/validation.ecore | 17 + .../model/validation.genmodel | 24 + .../plugin.properties | 9 + plugins/org.eclipse.sirius.validation/plugin.xml | 23 + .../org/eclipse/sirius/validation/Severity.java | 274 + .../eclipse/sirius/validation/SiriusStatus.java | 113 + .../sirius/validation/ValidationFactory.java | 48 + .../sirius/validation/ValidationPackage.java | 285 + .../sirius/validation/impl/SiriusStatusImpl.java | 268 + .../validation/impl/ValidationFactoryImpl.java | 174 + .../validation/impl/ValidationPackageImpl.java | 256 + .../validation/util/ValidationAdapterFactory.java | 126 + .../sirius/validation/util/ValidationSwitch.java | 116 + .../description/EEFViewDescription.xmi | 2 +- 209 files changed, 33080 insertions(+), 2300 deletions(-) create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxConditionalStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyleCustomization.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnConditionalStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyleCustomization.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupConditionalStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyleCustomization.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelConditionalStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyleCustomization.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineConditionalStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyleCustomization.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkConditionalStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyleCustomization.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioConditionalStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyleCustomization.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectConditionalStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyleCustomization.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableConditionalStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyleCustomization.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextConditionalStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyleCustomization.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeConditionalStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyle.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyleCustomization.gif create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxConditionalStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleCustomizationItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnConditionalStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleCustomizationItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFConditionalStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupConditionalStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleCustomizationItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelConditionalStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleCustomizationItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineConditionalStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleCustomizationItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkConditionalStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleCustomizationItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioConditionalStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleCustomizationItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectConditionalStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleCustomizationItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleCustomizationItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableConditionalStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleCustomizationItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextConditionalStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleCustomizationItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeConditionalStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleCustomizationItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleItemProvider.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxConditionalStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyleCustomization.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnConditionalStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyleCustomization.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFConditionalStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupConditionalStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyleCustomization.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelConditionalStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyleCustomization.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineConditionalStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyleCustomization.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkConditionalStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyleCustomization.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioConditionalStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyleCustomization.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectConditionalStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyleCustomization.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyleCustomization.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableConditionalStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyleCustomization.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextConditionalStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyleCustomization.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeConditionalStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyle.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyleCustomization.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxConditionalStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleCustomizationImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnConditionalStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleCustomizationImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFConditionalStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupConditionalStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleCustomizationImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelConditionalStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleCustomizationImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineConditionalStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleCustomizationImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkConditionalStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleCustomizationImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioConditionalStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleCustomizationImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectConditionalStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleCustomizationImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleCustomizationImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableConditionalStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleCustomizationImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextConditionalStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleCustomizationImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeConditionalStyleImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleCustomizationImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleImpl.java create mode 100644 plugins/org.eclipse.sirius.contentassist/.classpath create mode 100644 plugins/org.eclipse.sirius.contentassist/.project create mode 100644 plugins/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.sirius.contentassist/build.properties create mode 100644 plugins/org.eclipse.sirius.contentassist/model/contentassist.aird create mode 100644 plugins/org.eclipse.sirius.contentassist/model/contentassist.ecore create mode 100644 plugins/org.eclipse.sirius.contentassist/model/contentassist.genmodel create mode 100644 plugins/org.eclipse.sirius.contentassist/plugin.properties create mode 100644 plugins/org.eclipse.sirius.contentassist/plugin.xml create mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/CompletionProposal.java create mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistFactory.java create mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistPackage.java create mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/CompletionProposalImpl.java create mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistFactoryImpl.java create mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistPackageImpl.java create mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistAdapterFactory.java create mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistSwitch.java create mode 100644 plugins/org.eclipse.sirius.validation/.classpath create mode 100644 plugins/org.eclipse.sirius.validation/.project create mode 100644 plugins/org.eclipse.sirius.validation/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.sirius.validation/build.properties create mode 100644 plugins/org.eclipse.sirius.validation/model/validation.aird create mode 100644 plugins/org.eclipse.sirius.validation/model/validation.ecore create mode 100644 plugins/org.eclipse.sirius.validation/model/validation.genmodel create mode 100644 plugins/org.eclipse.sirius.validation/plugin.properties create mode 100644 plugins/org.eclipse.sirius.validation/plugin.xml create mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/Severity.java create mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/SiriusStatus.java create mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationFactory.java create mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationPackage.java create mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/SiriusStatusImpl.java create mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationFactoryImpl.java create mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationPackageImpl.java create mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationAdapterFactory.java create mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationSwitch.java diff --git a/doc/org.eclipse.eef.documentation/userstories/US-16.xmi b/doc/org.eclipse.eef.documentation/userstories/US-16.xmi index eb652fbb5..a18b05328 100644 --- a/doc/org.eclipse.eef.documentation/userstories/US-16.xmi +++ b/doc/org.eclipse.eef.documentation/userstories/US-16.xmi @@ -49,12 +49,10 @@ identifier="org.eclipse.eef.ecore.tablestructure"> + cellWidget="//@groups.0/@container/@widgets.1"/> + cellWidget="//@groups.0/@container/@widgets.2"/> diff --git a/doc/org.eclipse.sirius.expression.design/.project b/doc/org.eclipse.sirius.expression.design/.project index ba1d71323..f77fd4860 100644 --- a/doc/org.eclipse.sirius.expression.design/.project +++ b/doc/org.eclipse.sirius.expression.design/.project @@ -32,4 +32,3 @@ org.eclipse.pde.PluginNature - diff --git a/doc/org.eclipse.sirius.expression.design/description/expression.odesign b/doc/org.eclipse.sirius.expression.design/description/expression.odesign index e76d4b847..68de55fe1 100644 --- a/doc/org.eclipse.sirius.expression.design/description/expression.odesign +++ b/doc/org.eclipse.sirius.expression.design/description/expression.odesign @@ -1,11 +1,11 @@ - + - + - + - + - + @@ -64,7 +64,7 @@ - + @@ -83,7 +83,7 @@ - + @@ -98,7 +98,7 @@ - + - + @@ -118,7 +118,7 @@ - + @@ -144,7 +144,7 @@ - + @@ -169,7 +169,7 @@ - + diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java index 7ea34c16e..b22099f1d 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java @@ -72,9 +72,9 @@ public class EEFGroupImpl extends AbstractEEFChildObject implements EEFGroup { @Override public void createControl() { EEFContainerDescription eefContainerDescription = this.eefGroupDescription.getContainer(); - String semanticCandidatesExpression = eefContainerDescription.getSemanticCandidateExpression(); - if (semanticCandidatesExpression != null) { - // TODO Support semantic candidates for the container + String semanticCandidateExpression = eefContainerDescription.getSemanticCandidateExpression(); + if (semanticCandidateExpression != null) { + // TODO Support semantic candidate for the container } IVariableManager childVariableManager = this.getVariableManager().createChild(); diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java index f602dfd15..24ee18342 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java @@ -128,14 +128,8 @@ public class EEFPageImpl extends AbstractEEFChildObject implements EEFPage { if (semanticCandidatesExpression != null && semanticCandidatesExpression.trim().length() > 0) { IEvaluationResult evaluationResult = this.getInterpreter().evaluateExpression(this.getVariableManager().getVariables(), null, semanticCandidatesExpression); - if (evaluationResult.getValue() instanceof Iterable) { - @SuppressWarnings("unchecked") - Iterable groupSemanticCandidates = (Iterable) evaluationResult.getValue(); - throw new UnsupportedOperationException("OMG MY HEAD HURTS!!!!"); //$NON-NLS-1$ - } else { - Object groupSemanticCandidate = evaluationResult.getValue(); - eefGroupImpl.setInput(groupSemanticCandidate); - } + Object groupSemanticCandidate = evaluationResult.getValue(); + eefGroupImpl.setInput(groupSemanticCandidate); } else { eefGroupImpl.setInput(null); } diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxConditionalStyle.gif new file mode 100644 index 000000000..134551bff Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxConditionalStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyle.gif new file mode 100644 index 000000000..c414fe9f7 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyleCustomization.gif new file mode 100644 index 000000000..b3643da04 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyleCustomization.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnConditionalStyle.gif new file mode 100644 index 000000000..904159880 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnConditionalStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyle.gif new file mode 100644 index 000000000..53500daf9 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyleCustomization.gif new file mode 100644 index 000000000..d3dc5a9ad Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyleCustomization.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupConditionalStyle.gif new file mode 100644 index 000000000..cb1755a71 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupConditionalStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyle.gif new file mode 100644 index 000000000..c4fb30e96 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyleCustomization.gif new file mode 100644 index 000000000..83afb9b3c Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyleCustomization.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelConditionalStyle.gif new file mode 100644 index 000000000..136e3b272 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelConditionalStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyle.gif new file mode 100644 index 000000000..d92f34c8a Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyleCustomization.gif new file mode 100644 index 000000000..33854e98c Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyleCustomization.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineConditionalStyle.gif new file mode 100644 index 000000000..d92f34c8a Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineConditionalStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyle.gif new file mode 100644 index 000000000..739ebbfa6 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyleCustomization.gif new file mode 100644 index 000000000..14af8aaee Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyleCustomization.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkConditionalStyle.gif new file mode 100644 index 000000000..2b6925602 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkConditionalStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyle.gif new file mode 100644 index 000000000..8a5c70cbd Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyleCustomization.gif new file mode 100644 index 000000000..2124f3e3a Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyleCustomization.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioConditionalStyle.gif new file mode 100644 index 000000000..ef56c1408 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioConditionalStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyle.gif new file mode 100644 index 000000000..c3370c7dd Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyleCustomization.gif new file mode 100644 index 000000000..33a997a16 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyleCustomization.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectConditionalStyle.gif new file mode 100644 index 000000000..a17dc7d88 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectConditionalStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyle.gif new file mode 100644 index 000000000..48e3cf226 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyleCustomization.gif new file mode 100644 index 000000000..904159880 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyleCustomization.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableConditionalStyle.gif new file mode 100644 index 000000000..498364f1c Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableConditionalStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyle.gif new file mode 100644 index 000000000..98b351f1c Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyleCustomization.gif new file mode 100644 index 000000000..caf280451 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyleCustomization.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextConditionalStyle.gif new file mode 100644 index 000000000..a26660ec2 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextConditionalStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyle.gif new file mode 100644 index 000000000..c4a8af418 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyleCustomization.gif new file mode 100644 index 000000000..134551bff Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyleCustomization.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeConditionalStyle.gif new file mode 100644 index 000000000..98b351f1c Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeConditionalStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyle.gif new file mode 100644 index 000000000..591559182 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyle.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyleCustomization.gif new file mode 100644 index 000000000..be22463d2 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyleCustomization.gif differ diff --git a/plugins/org.eclipse.eef.edit/plugin.properties b/plugins/org.eclipse.eef.edit/plugin.properties index ad39508fb..719b70977 100644 --- a/plugins/org.eclipse.eef.edit/plugin.properties +++ b/plugins/org.eclipse.eef.edit/plugin.properties @@ -66,10 +66,10 @@ _UI_EEFPageDescription_extendedPage_feature = Extended Page _UI_EEFGroupDescription_identifier_feature = Identifier _UI_EEFGroupDescription_labelExpression_feature = Label Expression _UI_EEFGroupDescription_domainClass_feature = Domain Class -_UI_EEFGroupDescription_semanticCandidatesExpression_feature = Semantic Candidates Expression +_UI_EEFGroupDescription_semanticCandidateExpression_feature = Semantic Candidate Expression _UI_EEFGroupDescription_container_feature = Container _UI_EEFContainerDescription_identifier_feature = Identifier -_UI_EEFContainerDescription_semanticCandidatesExpression_feature = Semantic Candidates Expression +_UI_EEFContainerDescription_semanticCandidateExpression_feature = Semantic Candidate Expression _UI_EEFContainerDescription_domainClass_feature = Domain Class _UI_EEFContainerDescription_layoutColumnCount_feature = Layout Column Count _UI_EEFContainerDescription_containers_feature = Containers @@ -134,3 +134,98 @@ _UI_Unknown_feature = Unspecified _UI_EEFGroupDescription_semanticCandidateExpression_feature = Semantic Candidate Expression _UI_EEFContainerDescription_semanticCandidateExpression_feature = Semantic Candidate Expression +_UI_EEFStyle_type = EEF Style +_UI_EEFConditionalStyle_type = EEF Conditional Style +_UI_EEFStyleCustomization_type = EEF Style Customization +_UI_EEFGroupStyle_type = EEF Group Style +_UI_EEFGroupConditionalStyle_type = EEF Group Conditional Style +_UI_EEFGroupStyleCustomization_type = EEF Group Style Customization +_UI_EEFTextStyle_type = EEF Text Style +_UI_EEFTextConditionalStyle_type = EEF Text Conditional Style +_UI_EEFTextStyleCustomization_type = EEF Text Style Customization +_UI_EEFCheckboxStyle_type = EEF Checkbox Style +_UI_EEFCheckboxConditionalStyle_type = EEF Checkbox Conditional Style +_UI_EEFCheckboxStyleCustomization_type = EEF Checkbox Style Customization +_UI_EEFLabelStyle_type = EEF Label Style +_UI_EEFLabelConditionalStyle_type = EEF Label Conditional Style +_UI_EEFLabelStyleCustomization_type = EEF Label Style Customization +_UI_EEFRadioStyle_type = EEF Radio Style +_UI_EEFRadioConditionalStyle_type = EEF Radio Conditional Style +_UI_EEFRadioStyleCustomization_type = EEF Radio Style Customization +_UI_EEFLinkStyle_type = EEF Link Style +_UI_EEFLinkConditionalStyle_type = EEF Link Conditional Style +_UI_EEFLinkStyleCustomization_type = EEF Link Style Customization +_UI_EEFSelectStyle_type = EEF Select Style +_UI_EEFSelectConditionalStyle_type = EEF Select Conditional Style +_UI_EEFSelectStyleCustomization_type = EEF Select Style Customization +_UI_EEFTreeStyle_type = EEF Tree Style +_UI_EEFTreeConditionalStyle_type = EEF Tree Conditional Style +_UI_EEFTreeStyleCustomization_type = EEF Tree Style Customization +_UI_EEFTableStyle_type = EEF Table Style +_UI_EEFTableConditionalStyle_type = EEF Table Conditional Style +_UI_EEFTableStyleCustomization_type = EEF Table Style Customization +_UI_EEFLineStyle_type = EEF Line Style +_UI_EEFLineConditionalStyle_type = EEF Line Conditional Style +_UI_EEFLineStyleCustomization_type = EEF Line Style Customization +_UI_EEFColumnStyle_type = EEF Column Style +_UI_EEFColumnConditionalStyle_type = EEF Column Conditional Style +_UI_EEFColumnStyleCustomization_type = EEF Column Style Customization +_UI_EEFViewDescription_styleCustomizations_feature = Style Customizations +_UI_EEFGroupDescription_collapsibleExpression_feature = Collapsible Expression +_UI_EEFGroupDescription_collapsedByDefaultExpression_feature = Collapsed By Default Expression +_UI_EEFGroupDescription_validationExpression_feature = Validation Expression +_UI_EEFWidgetDescription_labelStyle_feature = Label Style +_UI_EEFWidgetDescription_tooltipExpression_feature = Tooltip Expression +_UI_EEFWidgetDescription_helpExpression_feature = Help Expression +_UI_EEFWidgetDescription_validationExpression_feature = Validation Expression +_UI_EEFTextDescription_readOnlyExpression_feature = Read Only Expression +_UI_EEFTextDescription_contentAssistExpression_feature = Content Assist Expression +_UI_EEFTextDescription_placeholderExpression_feature = Placeholder Expression +_UI_EEFTextDescription_style_feature = Style +_UI_EEFTextDescription_conditionalStyles_feature = Conditional Styles +_UI_EEFStyle_fontExpression_feature = Font Expression +_UI_EEFConditionalStyle_conditionalExpression_feature = Conditional Expression +_UI_EEFGroupStyle_foregroundColorExpression_feature = Foreground Color Expression +_UI_EEFGroupConditionalStyle_style_feature = Style +_UI_EEFGroupStyleCustomization_style_feature = Style +_UI_EEFTextStyle_backgroundColorExpression_feature = Background Color Expression +_UI_EEFTextStyle_foregroundColorExpression_feature = Foreground Color Expression +_UI_EEFTextConditionalStyle_style_feature = Style +_UI_EEFTextStyleCustomization_style_feature = Style +_UI_EEFCheckboxStyle_backgroundColorExpression_feature = Background Color Expression +_UI_EEFCheckboxStyle_foregroundColorExpression_feature = Foreground Color Expression +_UI_EEFCheckboxConditionalStyle_style_feature = Style +_UI_EEFCheckboxStyleCustomization_style_feature = Style +_UI_EEFLabelStyle_backgroundColorExpression_feature = Background Color Expression +_UI_EEFLabelStyle_foregroundColorExpression_feature = Foreground Color Expression +_UI_EEFLabelConditionalStyle_style_feature = Style +_UI_EEFLabelStyleCustomization_style_feature = Style +_UI_EEFRadioStyle_backgroundColorExpression_feature = Background Color Expression +_UI_EEFRadioStyle_foregroundColorExpression_feature = Foreground Color Expression +_UI_EEFRadioConditionalStyle_style_feature = Style +_UI_EEFRadioStyleCustomization_style_feature = Style +_UI_EEFLinkStyle_backgroundColorExpression_feature = Background Color Expression +_UI_EEFLinkStyle_foregroundColorExpression_feature = Foreground Color Expression +_UI_EEFLinkStyle_backgroundImageExpression_feature = Background Image Expression +_UI_EEFLinkConditionalStyle_style_feature = Style +_UI_EEFLinkStyleCustomization_style_feature = Style +_UI_EEFSelectStyle_backgroundColorExpression_feature = Background Color Expression +_UI_EEFSelectStyle_foregroundColorExpression_feature = Foreground Color Expression +_UI_EEFSelectConditionalStyle_style_feature = Style +_UI_EEFSelectStyleCustomization_style_feature = Style +_UI_EEFTreeConditionalStyle_style_feature = Style +_UI_EEFTreeStyleCustomization_style_feature = Style +_UI_EEFTableConditionalStyle_style_feature = Style +_UI_EEFTableStyleCustomization_style_feature = Style +_UI_EEFLineStyle_backgroundColorExpression_feature = Background Color Expression +_UI_EEFLineStyle_foregroundColorExpression_feature = Foreground Color Expression +_UI_EEFLineStyle_headerBackgroundColorExpression_feature = Header Background Color Expression +_UI_EEFLineStyle_headerForegroundColorExpression_feature = Header Foreground Color Expression +_UI_EEFLineConditionalStyle_style_feature = Style +_UI_EEFLineStyleCustomization_style_feature = Style +_UI_EEFColumnStyle_backgroundColorExpression_feature = Background Color Expression +_UI_EEFColumnStyle_foregroundColorExpression_feature = Foreground Color Expression +_UI_EEFColumnStyle_headerBackgroundColorExpression_feature = Header Background Color Expression +_UI_EEFColumnStyle_headerForegroundColorExpression_feature = Header Foreground Color Expression +_UI_EEFColumnConditionalStyle_style_feature = Style +_UI_EEFColumnStyleCustomization_style_feature = Style diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxConditionalStyleItemProvider.java new file mode 100644 index 000000000..2b0b5578e --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxConditionalStyleItemProvider.java @@ -0,0 +1,174 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFCheckboxConditionalStyle; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFCheckboxConditionalStyle} object. + * + * + * @generated + */ +public class EEFCheckboxConditionalStyleItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFCheckboxConditionalStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFCheckboxConditionalStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFCheckboxConditionalStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_EEFCheckboxConditionalStyle_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFCheckboxConditionalStyle.class)) { + case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFCheckboxStyle())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleCustomizationItemProvider.java new file mode 100644 index 000000000..e6a27555d --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleCustomizationItemProvider.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFCheckboxStyleCustomization; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFCheckboxStyleCustomization} object. + * + * + * @generated + */ +public class EEFCheckboxStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFCheckboxStyleCustomizationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFCheckboxStyleCustomization.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFCheckboxStyleCustomization")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_EEFCheckboxStyleCustomization_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFCheckboxStyleCustomization.class)) { + case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add( + createChildParameter(EefPackage.Literals.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFCheckboxStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleItemProvider.java new file mode 100644 index 000000000..859ee977e --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleItemProvider.java @@ -0,0 +1,156 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFCheckboxStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFCheckboxStyle} object. + * + * + * @generated + */ +public class EEFCheckboxStyleItemProvider extends EEFStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFCheckboxStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBackgroundColorExpressionPropertyDescriptor(object); + addForegroundColorExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Background Color Expression feature. + * + * + * @generated + */ + protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFCheckboxStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFCheckboxStyle_backgroundColorExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFCheckboxStyle_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This adds a property descriptor for the Foreground Color Expression feature. + * + * + * @generated + */ + protected void addForegroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFCheckboxStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFCheckboxStyle_foregroundColorExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFCheckboxStyle_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This returns EEFCheckboxStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFCheckboxStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFCheckboxStyle) object).getFontExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFCheckboxStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFCheckboxStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFCheckboxStyle.class)) { + case EefPackage.EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION: + case EefPackage.EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnConditionalStyleItemProvider.java new file mode 100644 index 000000000..2bbd0e6df --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnConditionalStyleItemProvider.java @@ -0,0 +1,157 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFColumnConditionalStyle; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFColumnConditionalStyle} object. + * + * + * @generated + */ +public class EEFColumnConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFColumnConditionalStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_COLUMN_CONDITIONAL_STYLE__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFColumnConditionalStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFColumnConditionalStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFColumnConditionalStyle) object).getConditionalExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFColumnConditionalStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFColumnConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFColumnConditionalStyle.class)) { + case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFColumnStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnDescriptionItemProvider.java index 6057d5d5b..76f1e568b 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnDescriptionItemProvider.java @@ -62,7 +62,6 @@ public class EEFColumnDescriptionItemProvider extends ItemProviderAdapter addWidthPropertyDescriptor(object); addHeaderExpressionPropertyDescriptor(object); addCellWidgetPropertyDescriptor(object); - addContextCandidatesExpressionPropertyDescriptor(object); } return itemPropertyDescriptors; } @@ -107,21 +106,6 @@ public class EEFColumnDescriptionItemProvider extends ItemProviderAdapter EefPackage.Literals.EEF_COLUMN_DESCRIPTION__CELL_WIDGET, true, false, true, null, null, null)); } - /** - * This adds a property descriptor for the Context Candidates Expression feature. - * - * - * @generated - */ - protected void addContextCandidatesExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFColumnDescription_contextCandidatesExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnDescription_contextCandidatesExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - /** * This returns EEFColumnDescription.gif. * @@ -169,7 +153,6 @@ public class EEFColumnDescriptionItemProvider extends ItemProviderAdapter switch (notification.getFeatureID(EEFColumnDescription.class)) { case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: - case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleCustomizationItemProvider.java new file mode 100644 index 000000000..b6d7e0eda --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleCustomizationItemProvider.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFColumnStyleCustomization; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFColumnStyleCustomization} object. + * + * + * @generated + */ +public class EEFColumnStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFColumnStyleCustomizationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFColumnStyleCustomization.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFColumnStyleCustomization")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_EEFColumnStyleCustomization_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFColumnStyleCustomization.class)) { + case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFColumnStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleItemProvider.java new file mode 100644 index 000000000..743f91bc7 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleItemProvider.java @@ -0,0 +1,188 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFColumnStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFColumnStyle} object. + * + * + * @generated + */ +public class EEFColumnStyleItemProvider extends EEFStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFColumnStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBackgroundColorExpressionPropertyDescriptor(object); + addForegroundColorExpressionPropertyDescriptor(object); + addHeaderBackgroundColorExpressionPropertyDescriptor(object); + addHeaderForegroundColorExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Background Color Expression feature. + * + * + * @generated + */ + protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFColumnStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnStyle_backgroundColorExpression_feature", "_UI_EEFColumnStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This adds a property descriptor for the Foreground Color Expression feature. + * + * + * @generated + */ + protected void addForegroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFColumnStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnStyle_foregroundColorExpression_feature", "_UI_EEFColumnStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This adds a property descriptor for the Header Background Color Expression feature. + * + * + * @generated + */ + protected void addHeaderBackgroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFColumnStyle_headerBackgroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnStyle_headerBackgroundColorExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFColumnStyle_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Header Foreground Color Expression feature. + * + * + * @generated + */ + protected void addHeaderForegroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFColumnStyle_headerForegroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnStyle_headerForegroundColorExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFColumnStyle_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFColumnStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFColumnStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFColumnStyle) object).getFontExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFColumnStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFColumnStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFColumnStyle.class)) { + case EefPackage.EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION: + case EefPackage.EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION: + case EefPackage.EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: + case EefPackage.EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFConditionalStyleItemProvider.java new file mode 100644 index 000000000..99288acfb --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFConditionalStyleItemProvider.java @@ -0,0 +1,148 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFConditionalStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFConditionalStyle} object. + * + * + * @generated + */ +public class EEFConditionalStyleItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFConditionalStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addConditionalExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Conditional Expression feature. + * + * + * @generated + */ + protected void addConditionalExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFConditionalStyle_conditionalExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFConditionalStyle_conditionalExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFConditionalStyle_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFConditionalStyle) object).getConditionalExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFConditionalStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFConditionalStyle.class)) { + case EefPackage.EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupConditionalStyleItemProvider.java new file mode 100644 index 000000000..8cb3f2422 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupConditionalStyleItemProvider.java @@ -0,0 +1,157 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFGroupConditionalStyle; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFGroupConditionalStyle} object. + * + * + * @generated + */ +public class EEFGroupConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFGroupConditionalStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_GROUP_CONDITIONAL_STYLE__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFGroupConditionalStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFGroupConditionalStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFGroupConditionalStyle) object).getConditionalExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFGroupConditionalStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFGroupConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFGroupConditionalStyle.class)) { + case EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_GROUP_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFGroupStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java index 509a35edb..c1a3353e7 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java @@ -57,6 +57,9 @@ public class EEFGroupDescriptionItemProvider extends ContextableElementItemProvi addLabelExpressionPropertyDescriptor(object); addDomainClassPropertyDescriptor(object); addSemanticCandidateExpressionPropertyDescriptor(object); + addCollapsibleExpressionPropertyDescriptor(object); + addCollapsedByDefaultExpressionPropertyDescriptor(object); + addValidationExpressionPropertyDescriptor(object); } return itemPropertyDescriptors; } @@ -116,6 +119,51 @@ public class EEFGroupDescriptionItemProvider extends ContextableElementItemProvi ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); } + /** + * This adds a property descriptor for the Collapsible Expression feature. + * + * + * @generated + */ + protected void addCollapsibleExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFGroupDescription_collapsibleExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_collapsibleExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This adds a property descriptor for the Collapsed By Default Expression feature. + * + * + * @generated + */ + protected void addCollapsedByDefaultExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFGroupDescription_collapsedByDefaultExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_collapsedByDefaultExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Validation Expression feature. + * + * + * @generated + */ + protected void addValidationExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFGroupDescription_validationExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_validationExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION, 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 @@ -197,6 +245,9 @@ public class EEFGroupDescriptionItemProvider extends ContextableElementItemProvi case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: + case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION: + case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION: + case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleCustomizationItemProvider.java new file mode 100644 index 000000000..b1a34e5a4 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleCustomizationItemProvider.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFGroupStyleCustomization; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFGroupStyleCustomization} object. + * + * + * @generated + */ +public class EEFGroupStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFGroupStyleCustomizationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFGroupStyleCustomization.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFGroupStyleCustomization")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_EEFGroupStyleCustomization_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFGroupStyleCustomization.class)) { + case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFGroupStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleItemProvider.java new file mode 100644 index 000000000..5d0816393 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleItemProvider.java @@ -0,0 +1,138 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFGroupStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFGroupStyle} object. + * + * + * @generated + */ +public class EEFGroupStyleItemProvider extends EEFStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFGroupStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addForegroundColorExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Foreground Color Expression feature. + * + * + * @generated + */ + protected void addForegroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFGroupStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupStyle_foregroundColorExpression_feature", "_UI_EEFGroupStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This returns EEFGroupStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFGroupStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFGroupStyle) object).getFontExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFGroupStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFGroupStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFGroupStyle.class)) { + case EefPackage.EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelConditionalStyleItemProvider.java new file mode 100644 index 000000000..069b443cb --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelConditionalStyleItemProvider.java @@ -0,0 +1,157 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFLabelConditionalStyle; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFLabelConditionalStyle} object. + * + * + * @generated + */ +public class EEFLabelConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFLabelConditionalStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_LABEL_CONDITIONAL_STYLE__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFLabelConditionalStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLabelConditionalStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFLabelConditionalStyle) object).getConditionalExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFLabelConditionalStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFLabelConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFLabelConditionalStyle.class)) { + case EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_LABEL_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFLabelStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleCustomizationItemProvider.java new file mode 100644 index 000000000..c9d69fb9b --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleCustomizationItemProvider.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFLabelStyleCustomization; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFLabelStyleCustomization} object. + * + * + * @generated + */ +public class EEFLabelStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFLabelStyleCustomizationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFLabelStyleCustomization.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLabelStyleCustomization")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_EEFLabelStyleCustomization_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFLabelStyleCustomization.class)) { + case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFLabelStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleItemProvider.java new file mode 100644 index 000000000..cc3000284 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleItemProvider.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFLabelStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFLabelStyle} object. + * + * + * @generated + */ +public class EEFLabelStyleItemProvider extends EEFStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFLabelStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBackgroundColorExpressionPropertyDescriptor(object); + addForegroundColorExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Background Color Expression feature. + * + * + * @generated + */ + protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLabelStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFLabelStyle_backgroundColorExpression_feature", "_UI_EEFLabelStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This adds a property descriptor for the Foreground Color Expression feature. + * + * + * @generated + */ + protected void addForegroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLabelStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFLabelStyle_foregroundColorExpression_feature", "_UI_EEFLabelStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This returns EEFLabelStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLabelStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFLabelStyle) object).getFontExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFLabelStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFLabelStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFLabelStyle.class)) { + case EefPackage.EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION: + case EefPackage.EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineConditionalStyleItemProvider.java new file mode 100644 index 000000000..c98276a13 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineConditionalStyleItemProvider.java @@ -0,0 +1,157 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFLineConditionalStyle; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFLineConditionalStyle} object. + * + * + * @generated + */ +public class EEFLineConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFLineConditionalStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_LINE_CONDITIONAL_STYLE__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFLineConditionalStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLineConditionalStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFLineConditionalStyle) object).getConditionalExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFLineConditionalStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFLineConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFLineConditionalStyle.class)) { + case EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_LINE_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFLineStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleCustomizationItemProvider.java new file mode 100644 index 000000000..2ac3186db --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleCustomizationItemProvider.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFLineStyleCustomization; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFLineStyleCustomization} object. + * + * + * @generated + */ +public class EEFLineStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFLineStyleCustomizationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_LINE_STYLE_CUSTOMIZATION__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFLineStyleCustomization.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLineStyleCustomization")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_EEFLineStyleCustomization_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFLineStyleCustomization.class)) { + case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFLineStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleItemProvider.java new file mode 100644 index 000000000..823f63395 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleItemProvider.java @@ -0,0 +1,186 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFLineStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFLineStyle} object. + * + * + * @generated + */ +public class EEFLineStyleItemProvider extends EEFStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFLineStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBackgroundColorExpressionPropertyDescriptor(object); + addForegroundColorExpressionPropertyDescriptor(object); + addHeaderBackgroundColorExpressionPropertyDescriptor(object); + addHeaderForegroundColorExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Background Color Expression feature. + * + * + * @generated + */ + protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLineStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFLineStyle_backgroundColorExpression_feature", "_UI_EEFLineStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Foreground Color Expression feature. + * + * + * @generated + */ + protected void addForegroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLineStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFLineStyle_foregroundColorExpression_feature", "_UI_EEFLineStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Header Background Color Expression feature. + * + * + * @generated + */ + protected void addHeaderBackgroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLineStyle_headerBackgroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFLineStyle_headerBackgroundColorExpression_feature", "_UI_EEFLineStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Header Foreground Color Expression feature. + * + * + * @generated + */ + protected void addHeaderForegroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLineStyle_headerForegroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFLineStyle_headerForegroundColorExpression_feature", "_UI_EEFLineStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFLineStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLineStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFLineStyle) object).getFontExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFLineStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFLineStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFLineStyle.class)) { + case EefPackage.EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION: + case EefPackage.EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION: + case EefPackage.EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: + case EefPackage.EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkConditionalStyleItemProvider.java new file mode 100644 index 000000000..a6090551e --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkConditionalStyleItemProvider.java @@ -0,0 +1,157 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFLinkConditionalStyle; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFLinkConditionalStyle} object. + * + * + * @generated + */ +public class EEFLinkConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFLinkConditionalStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_LINK_CONDITIONAL_STYLE__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFLinkConditionalStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLinkConditionalStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFLinkConditionalStyle) object).getConditionalExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFLinkConditionalStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFLinkConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFLinkConditionalStyle.class)) { + case EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_LINK_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFLinkStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleCustomizationItemProvider.java new file mode 100644 index 000000000..603f04cf5 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleCustomizationItemProvider.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFLinkStyleCustomization; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFLinkStyleCustomization} object. + * + * + * @generated + */ +public class EEFLinkStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFLinkStyleCustomizationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_LINK_STYLE_CUSTOMIZATION__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFLinkStyleCustomization.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLinkStyleCustomization")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_EEFLinkStyleCustomization_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFLinkStyleCustomization.class)) { + case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFLinkStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleItemProvider.java new file mode 100644 index 000000000..ffe344852 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleItemProvider.java @@ -0,0 +1,170 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFLinkStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFLinkStyle} object. + * + * + * @generated + */ +public class EEFLinkStyleItemProvider extends EEFStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFLinkStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBackgroundColorExpressionPropertyDescriptor(object); + addForegroundColorExpressionPropertyDescriptor(object); + addBackgroundImageExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Background Color Expression feature. + * + * + * @generated + */ + protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLinkStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFLinkStyle_backgroundColorExpression_feature", "_UI_EEFLinkStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Foreground Color Expression feature. + * + * + * @generated + */ + protected void addForegroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLinkStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFLinkStyle_foregroundColorExpression_feature", "_UI_EEFLinkStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Background Image Expression feature. + * + * + * @generated + */ + protected void addBackgroundImageExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFLinkStyle_backgroundImageExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFLinkStyle_backgroundImageExpression_feature", "_UI_EEFLinkStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This returns EEFLinkStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLinkStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFLinkStyle) object).getFontExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFLinkStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFLinkStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFLinkStyle.class)) { + case EefPackage.EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION: + case EefPackage.EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION: + case EefPackage.EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioConditionalStyleItemProvider.java new file mode 100644 index 000000000..f7f990301 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioConditionalStyleItemProvider.java @@ -0,0 +1,157 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFRadioConditionalStyle; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFRadioConditionalStyle} object. + * + * + * @generated + */ +public class EEFRadioConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFRadioConditionalStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_RADIO_CONDITIONAL_STYLE__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFRadioConditionalStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFRadioConditionalStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFRadioConditionalStyle) object).getConditionalExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFRadioConditionalStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFRadioConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFRadioConditionalStyle.class)) { + case EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_RADIO_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFRadioStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleCustomizationItemProvider.java new file mode 100644 index 000000000..e8163dc11 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleCustomizationItemProvider.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFRadioStyleCustomization; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFRadioStyleCustomization} object. + * + * + * @generated + */ +public class EEFRadioStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFRadioStyleCustomizationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFRadioStyleCustomization.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFRadioStyleCustomization")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_EEFRadioStyleCustomization_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFRadioStyleCustomization.class)) { + case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFRadioStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleItemProvider.java new file mode 100644 index 000000000..3fd2097a6 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleItemProvider.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFRadioStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFRadioStyle} object. + * + * + * @generated + */ +public class EEFRadioStyleItemProvider extends EEFStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFRadioStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBackgroundColorExpressionPropertyDescriptor(object); + addForegroundColorExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Background Color Expression feature. + * + * + * @generated + */ + protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFRadioStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFRadioStyle_backgroundColorExpression_feature", "_UI_EEFRadioStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This adds a property descriptor for the Foreground Color Expression feature. + * + * + * @generated + */ + protected void addForegroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFRadioStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFRadioStyle_foregroundColorExpression_feature", "_UI_EEFRadioStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This returns EEFRadioStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFRadioStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFRadioStyle) object).getFontExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFRadioStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFRadioStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFRadioStyle.class)) { + case EefPackage.EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION: + case EefPackage.EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectConditionalStyleItemProvider.java new file mode 100644 index 000000000..ed1f8d70a --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectConditionalStyleItemProvider.java @@ -0,0 +1,157 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFSelectConditionalStyle; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFSelectConditionalStyle} object. + * + * + * @generated + */ +public class EEFSelectConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFSelectConditionalStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_SELECT_CONDITIONAL_STYLE__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFSelectConditionalStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFSelectConditionalStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFSelectConditionalStyle) object).getConditionalExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFSelectConditionalStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFSelectConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFSelectConditionalStyle.class)) { + case EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_SELECT_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFSelectStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleCustomizationItemProvider.java new file mode 100644 index 000000000..2be0f902e --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleCustomizationItemProvider.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFSelectStyleCustomization; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFSelectStyleCustomization} object. + * + * + * @generated + */ +public class EEFSelectStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFSelectStyleCustomizationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFSelectStyleCustomization.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFSelectStyleCustomization")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_EEFSelectStyleCustomization_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFSelectStyleCustomization.class)) { + case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFSelectStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleItemProvider.java new file mode 100644 index 000000000..5aeba47c8 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleItemProvider.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFSelectStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFSelectStyle} object. + * + * + * @generated + */ +public class EEFSelectStyleItemProvider extends EEFStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFSelectStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBackgroundColorExpressionPropertyDescriptor(object); + addForegroundColorExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Background Color Expression feature. + * + * + * @generated + */ + protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFSelectStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectStyle_backgroundColorExpression_feature", "_UI_EEFSelectStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This adds a property descriptor for the Foreground Color Expression feature. + * + * + * @generated + */ + protected void addForegroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFSelectStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectStyle_foregroundColorExpression_feature", "_UI_EEFSelectStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This returns EEFSelectStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFSelectStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFSelectStyle) object).getFontExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFSelectStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFSelectStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFSelectStyle.class)) { + case EefPackage.EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION: + case EefPackage.EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleCustomizationItemProvider.java new file mode 100644 index 000000000..9be323a6e --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleCustomizationItemProvider.java @@ -0,0 +1,117 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFStyleCustomization} object. + * + * + * @generated + */ +public class EEFStyleCustomizationItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFStyleCustomizationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_EEFStyleCustomization_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleItemProvider.java new file mode 100644 index 000000000..ab479dd87 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleItemProvider.java @@ -0,0 +1,146 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFStyle} object. + * + * + * @generated + */ +public class EEFStyleItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addFontExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Font Expression feature. + * + * + * @generated + */ + protected void addFontExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFStyle_fontExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFStyle_fontExpression_feature", "_UI_EEFStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_STYLE__FONT_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFStyle) object).getFontExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFStyle.class)) { + case EefPackage.EEF_STYLE__FONT_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableConditionalStyleItemProvider.java new file mode 100644 index 000000000..a4399f62d --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableConditionalStyleItemProvider.java @@ -0,0 +1,157 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFTableConditionalStyle; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTableConditionalStyle} object. + * + * + * @generated + */ +public class EEFTableConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTableConditionalStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_TABLE_CONDITIONAL_STYLE__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFTableConditionalStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTableConditionalStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTableConditionalStyle) object).getConditionalExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFTableConditionalStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFTableConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTableConditionalStyle.class)) { + case EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_TABLE_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFTableStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleCustomizationItemProvider.java new file mode 100644 index 000000000..d9d478947 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleCustomizationItemProvider.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFTableStyleCustomization; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTableStyleCustomization} object. + * + * + * @generated + */ +public class EEFTableStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTableStyleCustomizationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFTableStyleCustomization.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTableStyleCustomization")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_EEFTableStyleCustomization_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTableStyleCustomization.class)) { + case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFTableStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleItemProvider.java new file mode 100644 index 000000000..8096febab --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleItemProvider.java @@ -0,0 +1,113 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFTableStyle; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTableStyle} object. + * + * + * @generated + */ +public class EEFTableStyleItemProvider extends EEFStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTableStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * This returns EEFTableStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTableStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTableStyle) object).getFontExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFTableStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFTableStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextConditionalStyleItemProvider.java new file mode 100644 index 000000000..d8119cd03 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextConditionalStyleItemProvider.java @@ -0,0 +1,157 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFTextConditionalStyle; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTextConditionalStyle} object. + * + * + * @generated + */ +public class EEFTextConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTextConditionalStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_TEXT_CONDITIONAL_STYLE__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFTextConditionalStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTextConditionalStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTextConditionalStyle) object).getConditionalExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFTextConditionalStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFTextConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTextConditionalStyle.class)) { + case EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_TEXT_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFTextStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java index 857773f4b..6fb84c894 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java @@ -12,11 +12,13 @@ import java.util.Collection; import java.util.List; import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.EefFactory; import org.eclipse.eef.EefPackage; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EStructuralFeature; import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; @@ -52,6 +54,9 @@ public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItem addValueExpressionPropertyDescriptor(object); addEditExpressionPropertyDescriptor(object); + addReadOnlyExpressionPropertyDescriptor(object); + addContentAssistExpressionPropertyDescriptor(object); + addPlaceholderExpressionPropertyDescriptor(object); addLineCountPropertyDescriptor(object); } return itemPropertyDescriptors; @@ -85,6 +90,50 @@ public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItem null)); } + /** + * This adds a property descriptor for the Read Only Expression feature. + * + * + * @generated + */ + protected void addReadOnlyExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTextDescription_readOnlyExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTextDescription_readOnlyExpression_feature", "_UI_EEFTextDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Content Assist Expression feature. + * + * + * @generated + */ + protected void addContentAssistExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTextDescription_contentAssistExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTextDescription_contentAssistExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTextDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This adds a property descriptor for the Placeholder Expression feature. + * + * + * @generated + */ + protected void addPlaceholderExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTextDescription_placeholderExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTextDescription_placeholderExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTextDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + /** * This adds a property descriptor for the Line Count feature. * @@ -98,6 +147,37 @@ public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItem EefPackage.Literals.EEF_TEXT_DESCRIPTION__LINE_COUNT, true, false, false, ItemPropertyDescriptor.INTEGRAL_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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_TEXT_DESCRIPTION__STYLE); + childrenFeatures.add(EefPackage.Literals.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + /** * This returns EEFTextDescription.gif. * @@ -147,9 +227,16 @@ public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItem switch (notification.getFeatureID(EEFTextDescription.class)) { case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: + case EefPackage.EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION: + case EefPackage.EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION: + case EefPackage.EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION: case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; + case EefPackage.EEF_TEXT_DESCRIPTION__STYLE: + case EefPackage.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; } super.notifyChanged(notification); } @@ -164,6 +251,11 @@ public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItem @Override protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_TEXT_DESCRIPTION__STYLE, EefFactory.eINSTANCE.createEEFTextStyle())); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES, + EefFactory.eINSTANCE.createEEFTextConditionalStyle())); } /** diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleCustomizationItemProvider.java new file mode 100644 index 000000000..e1e93eb35 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleCustomizationItemProvider.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFTextStyleCustomization; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTextStyleCustomization} object. + * + * + * @generated + */ +public class EEFTextStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTextStyleCustomizationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFTextStyleCustomization.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTextStyleCustomization")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_EEFTextStyleCustomization_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTextStyleCustomization.class)) { + case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFTextStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleItemProvider.java new file mode 100644 index 000000000..87bf63f3f --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleItemProvider.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFTextStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTextStyle} object. + * + * + * @generated + */ +public class EEFTextStyleItemProvider extends EEFStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTextStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBackgroundColorExpressionPropertyDescriptor(object); + addForegroundColorExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Background Color Expression feature. + * + * + * @generated + */ + protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTextStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTextStyle_backgroundColorExpression_feature", "_UI_EEFTextStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Foreground Color Expression feature. + * + * + * @generated + */ + protected void addForegroundColorExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTextStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTextStyle_foregroundColorExpression_feature", "_UI_EEFTextStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This returns EEFTextStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTextStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTextStyle) object).getFontExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFTextStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFTextStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTextStyle.class)) { + case EefPackage.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION: + case EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeConditionalStyleItemProvider.java new file mode 100644 index 000000000..44bbeccce --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeConditionalStyleItemProvider.java @@ -0,0 +1,157 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFTreeConditionalStyle; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTreeConditionalStyle} object. + * + * + * @generated + */ +public class EEFTreeConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTreeConditionalStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_TREE_CONDITIONAL_STYLE__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFTreeConditionalStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeConditionalStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTreeConditionalStyle) object).getConditionalExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFTreeConditionalStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFTreeConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTreeConditionalStyle.class)) { + case EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_TREE_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFTreeStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleCustomizationItemProvider.java new file mode 100644 index 000000000..837962ff4 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleCustomizationItemProvider.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFTreeStyleCustomization; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTreeStyleCustomization} object. + * + * + * @generated + */ +public class EEFTreeStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTreeStyleCustomizationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_TREE_STYLE_CUSTOMIZATION__STYLE); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFTreeStyleCustomization.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeStyleCustomization")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_EEFTreeStyleCustomization_type"); //$NON-NLS-1$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFTreeStyleCustomization.class)) { + case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFTreeStyle())); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleItemProvider.java new file mode 100644 index 000000000..c3bb83ae6 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleItemProvider.java @@ -0,0 +1,113 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFTreeStyle; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTreeStyle} object. + * + * + * @generated + */ +public class EEFTreeStyleItemProvider extends EEFStyleItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFTreeStyleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * This returns EEFTreeStyle.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeStyle")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFTreeStyle) object).getFontExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFTreeStyle_type") //$NON-NLS-1$ + : + getString("_UI_EEFTreeStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java index 53312178a..732774af5 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java @@ -57,6 +57,7 @@ public class EEFViewDescriptionItemProvider extends ContextableElementItemProvid addLabelExpressionPropertyDescriptor(object); addEPackageNsUrisPropertyDescriptor(object); addImportedViewsPropertyDescriptor(object); + addStyleCustomizationsPropertyDescriptor(object); } return itemPropertyDescriptors; } @@ -115,6 +116,19 @@ public class EEFViewDescriptionItemProvider extends ContextableElementItemProvid EefPackage.Literals.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS, true, false, true, null, null, null)); } + /** + * This adds a property descriptor for the Style Customizations feature. + * + * + * @generated + */ + protected void addStyleCustomizationsPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFViewDescription_styleCustomizations_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_styleCustomizations_feature", "_UI_EEFViewDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS, true, false, true, null, 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 diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java index 31e131f22..af0e9670e 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java @@ -52,6 +52,10 @@ public class EEFWidgetDescriptionItemProvider extends ContextableElementItemProv addIdentifierPropertyDescriptor(object); addLabelExpressionPropertyDescriptor(object); + addLabelStylePropertyDescriptor(object); + addTooltipExpressionPropertyDescriptor(object); + addHelpExpressionPropertyDescriptor(object); + addValidationExpressionPropertyDescriptor(object); } return itemPropertyDescriptors; } @@ -83,6 +87,63 @@ public class EEFWidgetDescriptionItemProvider extends ContextableElementItemProv null)); } + /** + * This adds a property descriptor for the Label Style feature. + * + * + * @generated + */ + protected void addLabelStylePropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFWidgetDescription_labelStyle_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFWidgetDescription_labelStyle_feature", "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_WIDGET_DESCRIPTION__LABEL_STYLE, true, false, true, null, null, null)); + } + + /** + * This adds a property descriptor for the Tooltip Expression feature. + * + * + * @generated + */ + protected void addTooltipExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFWidgetDescription_tooltipExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFWidgetDescription_tooltipExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Help Expression feature. + * + * + * @generated + */ + protected void addHelpExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFWidgetDescription_helpExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFWidgetDescription_helpExpression_feature", "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Validation Expression feature. + * + * + * @generated + */ + protected void addValidationExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFWidgetDescription_validationExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFWidgetDescription_validationExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + /** * This returns EEFWidgetDescription.gif. * @@ -132,6 +193,9 @@ public class EEFWidgetDescriptionItemProvider extends ContextableElementItemProv switch (notification.getFeatureID(EEFWidgetDescription.class)) { case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: + case EefPackage.EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION: + case EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION: + case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java index 003abf0df..e4e38d5e6 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java @@ -583,6 +583,765 @@ public class EefItemProviderAdapterFactory extends EefAdapterFactory implements return eefAdapterFactoryTableStructureDescriptionItemProvider; } + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFGroupStyle} instances. + * + * + * @generated + */ + protected EEFGroupStyleItemProvider eefGroupStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFGroupStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFGroupStyleAdapter() { + if (eefGroupStyleItemProvider == null) { + eefGroupStyleItemProvider = new EEFGroupStyleItemProvider(this); + } + + return eefGroupStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFGroupConditionalStyle} instances. + * + * + * @generated + */ + protected EEFGroupConditionalStyleItemProvider eefGroupConditionalStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFGroupConditionalStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFGroupConditionalStyleAdapter() { + if (eefGroupConditionalStyleItemProvider == null) { + eefGroupConditionalStyleItemProvider = new EEFGroupConditionalStyleItemProvider(this); + } + + return eefGroupConditionalStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFGroupStyleCustomization} instances. + * + * + * @generated + */ + protected EEFGroupStyleCustomizationItemProvider eefGroupStyleCustomizationItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFGroupStyleCustomization}. + * + * + * @generated + */ + @Override + public Adapter createEEFGroupStyleCustomizationAdapter() { + if (eefGroupStyleCustomizationItemProvider == null) { + eefGroupStyleCustomizationItemProvider = new EEFGroupStyleCustomizationItemProvider(this); + } + + return eefGroupStyleCustomizationItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTextStyle} instances. + * + * + * @generated + */ + protected EEFTextStyleItemProvider eefTextStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFTextStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFTextStyleAdapter() { + if (eefTextStyleItemProvider == null) { + eefTextStyleItemProvider = new EEFTextStyleItemProvider(this); + } + + return eefTextStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTextConditionalStyle} instances. + * + * + * @generated + */ + protected EEFTextConditionalStyleItemProvider eefTextConditionalStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFTextConditionalStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFTextConditionalStyleAdapter() { + if (eefTextConditionalStyleItemProvider == null) { + eefTextConditionalStyleItemProvider = new EEFTextConditionalStyleItemProvider(this); + } + + return eefTextConditionalStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTextStyleCustomization} instances. + * + * + * @generated + */ + protected EEFTextStyleCustomizationItemProvider eefTextStyleCustomizationItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFTextStyleCustomization}. + * + * + * @generated + */ + @Override + public Adapter createEEFTextStyleCustomizationAdapter() { + if (eefTextStyleCustomizationItemProvider == null) { + eefTextStyleCustomizationItemProvider = new EEFTextStyleCustomizationItemProvider(this); + } + + return eefTextStyleCustomizationItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFCheckboxStyle} instances. + * + * + * @generated + */ + protected EEFCheckboxStyleItemProvider eefCheckboxStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFCheckboxStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFCheckboxStyleAdapter() { + if (eefCheckboxStyleItemProvider == null) { + eefCheckboxStyleItemProvider = new EEFCheckboxStyleItemProvider(this); + } + + return eefCheckboxStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFCheckboxConditionalStyle} instances. + * + * + * @generated + */ + protected EEFCheckboxConditionalStyleItemProvider eefCheckboxConditionalStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFCheckboxConditionalStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFCheckboxConditionalStyleAdapter() { + if (eefCheckboxConditionalStyleItemProvider == null) { + eefCheckboxConditionalStyleItemProvider = new EEFCheckboxConditionalStyleItemProvider(this); + } + + return eefCheckboxConditionalStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFCheckboxStyleCustomization} instances. + * + * + * @generated + */ + protected EEFCheckboxStyleCustomizationItemProvider eefCheckboxStyleCustomizationItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFCheckboxStyleCustomization}. + * + * + * @generated + */ + @Override + public Adapter createEEFCheckboxStyleCustomizationAdapter() { + if (eefCheckboxStyleCustomizationItemProvider == null) { + eefCheckboxStyleCustomizationItemProvider = new EEFCheckboxStyleCustomizationItemProvider(this); + } + + return eefCheckboxStyleCustomizationItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLabelStyle} instances. + * + * + * @generated + */ + protected EEFLabelStyleItemProvider eefLabelStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFLabelStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFLabelStyleAdapter() { + if (eefLabelStyleItemProvider == null) { + eefLabelStyleItemProvider = new EEFLabelStyleItemProvider(this); + } + + return eefLabelStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLabelConditionalStyle} instances. + * + * + * @generated + */ + protected EEFLabelConditionalStyleItemProvider eefLabelConditionalStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFLabelConditionalStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFLabelConditionalStyleAdapter() { + if (eefLabelConditionalStyleItemProvider == null) { + eefLabelConditionalStyleItemProvider = new EEFLabelConditionalStyleItemProvider(this); + } + + return eefLabelConditionalStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLabelStyleCustomization} instances. + * + * + * @generated + */ + protected EEFLabelStyleCustomizationItemProvider eefLabelStyleCustomizationItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFLabelStyleCustomization}. + * + * + * @generated + */ + @Override + public Adapter createEEFLabelStyleCustomizationAdapter() { + if (eefLabelStyleCustomizationItemProvider == null) { + eefLabelStyleCustomizationItemProvider = new EEFLabelStyleCustomizationItemProvider(this); + } + + return eefLabelStyleCustomizationItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFRadioStyle} instances. + * + * + * @generated + */ + protected EEFRadioStyleItemProvider eefRadioStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFRadioStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFRadioStyleAdapter() { + if (eefRadioStyleItemProvider == null) { + eefRadioStyleItemProvider = new EEFRadioStyleItemProvider(this); + } + + return eefRadioStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFRadioConditionalStyle} instances. + * + * + * @generated + */ + protected EEFRadioConditionalStyleItemProvider eefRadioConditionalStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFRadioConditionalStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFRadioConditionalStyleAdapter() { + if (eefRadioConditionalStyleItemProvider == null) { + eefRadioConditionalStyleItemProvider = new EEFRadioConditionalStyleItemProvider(this); + } + + return eefRadioConditionalStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFRadioStyleCustomization} instances. + * + * + * @generated + */ + protected EEFRadioStyleCustomizationItemProvider eefRadioStyleCustomizationItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFRadioStyleCustomization}. + * + * + * @generated + */ + @Override + public Adapter createEEFRadioStyleCustomizationAdapter() { + if (eefRadioStyleCustomizationItemProvider == null) { + eefRadioStyleCustomizationItemProvider = new EEFRadioStyleCustomizationItemProvider(this); + } + + return eefRadioStyleCustomizationItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLinkStyle} instances. + * + * + * @generated + */ + protected EEFLinkStyleItemProvider eefLinkStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFLinkStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFLinkStyleAdapter() { + if (eefLinkStyleItemProvider == null) { + eefLinkStyleItemProvider = new EEFLinkStyleItemProvider(this); + } + + return eefLinkStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLinkConditionalStyle} instances. + * + * + * @generated + */ + protected EEFLinkConditionalStyleItemProvider eefLinkConditionalStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFLinkConditionalStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFLinkConditionalStyleAdapter() { + if (eefLinkConditionalStyleItemProvider == null) { + eefLinkConditionalStyleItemProvider = new EEFLinkConditionalStyleItemProvider(this); + } + + return eefLinkConditionalStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLinkStyleCustomization} instances. + * + * + * @generated + */ + protected EEFLinkStyleCustomizationItemProvider eefLinkStyleCustomizationItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFLinkStyleCustomization}. + * + * + * @generated + */ + @Override + public Adapter createEEFLinkStyleCustomizationAdapter() { + if (eefLinkStyleCustomizationItemProvider == null) { + eefLinkStyleCustomizationItemProvider = new EEFLinkStyleCustomizationItemProvider(this); + } + + return eefLinkStyleCustomizationItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFSelectStyle} instances. + * + * + * @generated + */ + protected EEFSelectStyleItemProvider eefSelectStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFSelectStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFSelectStyleAdapter() { + if (eefSelectStyleItemProvider == null) { + eefSelectStyleItemProvider = new EEFSelectStyleItemProvider(this); + } + + return eefSelectStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFSelectConditionalStyle} instances. + * + * + * @generated + */ + protected EEFSelectConditionalStyleItemProvider eefSelectConditionalStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFSelectConditionalStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFSelectConditionalStyleAdapter() { + if (eefSelectConditionalStyleItemProvider == null) { + eefSelectConditionalStyleItemProvider = new EEFSelectConditionalStyleItemProvider(this); + } + + return eefSelectConditionalStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFSelectStyleCustomization} instances. + * + * + * @generated + */ + protected EEFSelectStyleCustomizationItemProvider eefSelectStyleCustomizationItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFSelectStyleCustomization}. + * + * + * @generated + */ + @Override + public Adapter createEEFSelectStyleCustomizationAdapter() { + if (eefSelectStyleCustomizationItemProvider == null) { + eefSelectStyleCustomizationItemProvider = new EEFSelectStyleCustomizationItemProvider(this); + } + + return eefSelectStyleCustomizationItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTreeStyle} instances. + * + * + * @generated + */ + protected EEFTreeStyleItemProvider eefTreeStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFTreeStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFTreeStyleAdapter() { + if (eefTreeStyleItemProvider == null) { + eefTreeStyleItemProvider = new EEFTreeStyleItemProvider(this); + } + + return eefTreeStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTreeConditionalStyle} instances. + * + * + * @generated + */ + protected EEFTreeConditionalStyleItemProvider eefTreeConditionalStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFTreeConditionalStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFTreeConditionalStyleAdapter() { + if (eefTreeConditionalStyleItemProvider == null) { + eefTreeConditionalStyleItemProvider = new EEFTreeConditionalStyleItemProvider(this); + } + + return eefTreeConditionalStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTreeStyleCustomization} instances. + * + * + * @generated + */ + protected EEFTreeStyleCustomizationItemProvider eefTreeStyleCustomizationItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFTreeStyleCustomization}. + * + * + * @generated + */ + @Override + public Adapter createEEFTreeStyleCustomizationAdapter() { + if (eefTreeStyleCustomizationItemProvider == null) { + eefTreeStyleCustomizationItemProvider = new EEFTreeStyleCustomizationItemProvider(this); + } + + return eefTreeStyleCustomizationItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTableStyle} instances. + * + * + * @generated + */ + protected EEFTableStyleItemProvider eefTableStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFTableStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFTableStyleAdapter() { + if (eefTableStyleItemProvider == null) { + eefTableStyleItemProvider = new EEFTableStyleItemProvider(this); + } + + return eefTableStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTableConditionalStyle} instances. + * + * + * @generated + */ + protected EEFTableConditionalStyleItemProvider eefTableConditionalStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFTableConditionalStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFTableConditionalStyleAdapter() { + if (eefTableConditionalStyleItemProvider == null) { + eefTableConditionalStyleItemProvider = new EEFTableConditionalStyleItemProvider(this); + } + + return eefTableConditionalStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTableStyleCustomization} instances. + * + * + * @generated + */ + protected EEFTableStyleCustomizationItemProvider eefTableStyleCustomizationItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFTableStyleCustomization}. + * + * + * @generated + */ + @Override + public Adapter createEEFTableStyleCustomizationAdapter() { + if (eefTableStyleCustomizationItemProvider == null) { + eefTableStyleCustomizationItemProvider = new EEFTableStyleCustomizationItemProvider(this); + } + + return eefTableStyleCustomizationItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLineStyle} instances. + * + * + * @generated + */ + protected EEFLineStyleItemProvider eefLineStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFLineStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFLineStyleAdapter() { + if (eefLineStyleItemProvider == null) { + eefLineStyleItemProvider = new EEFLineStyleItemProvider(this); + } + + return eefLineStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLineConditionalStyle} instances. + * + * + * @generated + */ + protected EEFLineConditionalStyleItemProvider eefLineConditionalStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFLineConditionalStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFLineConditionalStyleAdapter() { + if (eefLineConditionalStyleItemProvider == null) { + eefLineConditionalStyleItemProvider = new EEFLineConditionalStyleItemProvider(this); + } + + return eefLineConditionalStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLineStyleCustomization} instances. + * + * + * @generated + */ + protected EEFLineStyleCustomizationItemProvider eefLineStyleCustomizationItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFLineStyleCustomization}. + * + * + * @generated + */ + @Override + public Adapter createEEFLineStyleCustomizationAdapter() { + if (eefLineStyleCustomizationItemProvider == null) { + eefLineStyleCustomizationItemProvider = new EEFLineStyleCustomizationItemProvider(this); + } + + return eefLineStyleCustomizationItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFColumnStyle} instances. + * + * + * @generated + */ + protected EEFColumnStyleItemProvider eefColumnStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFColumnStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFColumnStyleAdapter() { + if (eefColumnStyleItemProvider == null) { + eefColumnStyleItemProvider = new EEFColumnStyleItemProvider(this); + } + + return eefColumnStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFColumnConditionalStyle} instances. + * + * + * @generated + */ + protected EEFColumnConditionalStyleItemProvider eefColumnConditionalStyleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFColumnConditionalStyle}. + * + * + * @generated + */ + @Override + public Adapter createEEFColumnConditionalStyleAdapter() { + if (eefColumnConditionalStyleItemProvider == null) { + eefColumnConditionalStyleItemProvider = new EEFColumnConditionalStyleItemProvider(this); + } + + return eefColumnConditionalStyleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFColumnStyleCustomization} instances. + * + * + * @generated + */ + protected EEFColumnStyleCustomizationItemProvider eefColumnStyleCustomizationItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFColumnStyleCustomization}. + * + * + * @generated + */ + @Override + public Adapter createEEFColumnStyleCustomizationAdapter() { + if (eefColumnStyleCustomizationItemProvider == null) { + eefColumnStyleCustomizationItemProvider = new EEFColumnStyleCustomizationItemProvider(this); + } + + return eefColumnStyleCustomizationItemProvider; + } + /** * This returns the root adapter factory that contains this factory. * @@ -732,6 +1491,72 @@ public class EefItemProviderAdapterFactory extends EefAdapterFactory implements eefLineDescriptionItemProvider.dispose(); if (eefAdapterFactoryTableStructureDescriptionItemProvider != null) eefAdapterFactoryTableStructureDescriptionItemProvider.dispose(); + if (eefGroupStyleItemProvider != null) + eefGroupStyleItemProvider.dispose(); + if (eefGroupConditionalStyleItemProvider != null) + eefGroupConditionalStyleItemProvider.dispose(); + if (eefGroupStyleCustomizationItemProvider != null) + eefGroupStyleCustomizationItemProvider.dispose(); + if (eefTextStyleItemProvider != null) + eefTextStyleItemProvider.dispose(); + if (eefTextConditionalStyleItemProvider != null) + eefTextConditionalStyleItemProvider.dispose(); + if (eefTextStyleCustomizationItemProvider != null) + eefTextStyleCustomizationItemProvider.dispose(); + if (eefCheckboxStyleItemProvider != null) + eefCheckboxStyleItemProvider.dispose(); + if (eefCheckboxConditionalStyleItemProvider != null) + eefCheckboxConditionalStyleItemProvider.dispose(); + if (eefCheckboxStyleCustomizationItemProvider != null) + eefCheckboxStyleCustomizationItemProvider.dispose(); + if (eefLabelStyleItemProvider != null) + eefLabelStyleItemProvider.dispose(); + if (eefLabelConditionalStyleItemProvider != null) + eefLabelConditionalStyleItemProvider.dispose(); + if (eefLabelStyleCustomizationItemProvider != null) + eefLabelStyleCustomizationItemProvider.dispose(); + if (eefRadioStyleItemProvider != null) + eefRadioStyleItemProvider.dispose(); + if (eefRadioConditionalStyleItemProvider != null) + eefRadioConditionalStyleItemProvider.dispose(); + if (eefRadioStyleCustomizationItemProvider != null) + eefRadioStyleCustomizationItemProvider.dispose(); + if (eefLinkStyleItemProvider != null) + eefLinkStyleItemProvider.dispose(); + if (eefLinkConditionalStyleItemProvider != null) + eefLinkConditionalStyleItemProvider.dispose(); + if (eefLinkStyleCustomizationItemProvider != null) + eefLinkStyleCustomizationItemProvider.dispose(); + if (eefSelectStyleItemProvider != null) + eefSelectStyleItemProvider.dispose(); + if (eefSelectConditionalStyleItemProvider != null) + eefSelectConditionalStyleItemProvider.dispose(); + if (eefSelectStyleCustomizationItemProvider != null) + eefSelectStyleCustomizationItemProvider.dispose(); + if (eefTreeStyleItemProvider != null) + eefTreeStyleItemProvider.dispose(); + if (eefTreeConditionalStyleItemProvider != null) + eefTreeConditionalStyleItemProvider.dispose(); + if (eefTreeStyleCustomizationItemProvider != null) + eefTreeStyleCustomizationItemProvider.dispose(); + if (eefTableStyleItemProvider != null) + eefTableStyleItemProvider.dispose(); + if (eefTableConditionalStyleItemProvider != null) + eefTableConditionalStyleItemProvider.dispose(); + if (eefTableStyleCustomizationItemProvider != null) + eefTableStyleCustomizationItemProvider.dispose(); + if (eefLineStyleItemProvider != null) + eefLineStyleItemProvider.dispose(); + if (eefLineConditionalStyleItemProvider != null) + eefLineConditionalStyleItemProvider.dispose(); + if (eefLineStyleCustomizationItemProvider != null) + eefLineStyleCustomizationItemProvider.dispose(); + if (eefColumnStyleItemProvider != null) + eefColumnStyleItemProvider.dispose(); + if (eefColumnConditionalStyleItemProvider != null) + eefColumnConditionalStyleItemProvider.dispose(); + if (eefColumnStyleCustomizationItemProvider != null) + eefColumnStyleCustomizationItemProvider.dispose(); } } diff --git a/plugins/org.eclipse.eef/model/EEFExpression.xmi b/plugins/org.eclipse.eef/model/EEFExpression.xmi index dee7f5341..ac3c10801 100644 --- a/plugins/org.eclipse.eef/model/EEFExpression.xmi +++ b/plugins/org.eclipse.eef/model/EEFExpression.xmi @@ -1,943 +1,758 @@ - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef/model/eef.aird b/plugins/org.eclipse.eef/model/eef.aird index 30dc665c9..a53841eff 100644 --- a/plugins/org.eclipse.eef/model/eef.aird +++ b/plugins/org.eclipse.eef/model/eef.aird @@ -1,5 +1,5 @@ - + eef.ecore eef.genmodel EEFInterpretedExpression.xmi @@ -8,6 +8,8 @@ platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore platform:/resource/org.eclipse.sirius.context/model/context.genmodel http://www.eclipse.org/emf/2002/Ecore + platform:/resource/org.eclipse.sirius.contentassist/model/contentassist.ecore + platform:/resource/org.eclipse.sirius.validation/model/validation.ecore @@ -3304,8 +3306,6 @@ - - @@ -4443,7 +4443,7 @@ - + @@ -4543,6 +4543,19 @@ + + + + + + + + + + + + + @@ -4686,14 +4699,14 @@ - - - + + + - - - - + + + + @@ -4712,6 +4725,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4738,14 +4790,14 @@ - - - + + + - - - - + + + + @@ -4842,14 +4894,53 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -5128,6 +5219,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5141,6 +5271,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5509,357 +5665,1370 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - + + + + - - - - - + + + + + - - - - + + + + - - - + + + + + + + + + + + + + + + + - - - - + + + + - - - + + + - - - - + + + + - + - - - - + + + + - - - - - + + + + + - - - - + + + + - - - + + + + + + + + + + + + + + + + - - - - + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + - + - - - - + + + + - - - - - + + + + + - - - - + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + - - - + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - + - - - - + + + + - - - - - + + + + + - - - - + + + + - - - + + + - - - - + + + + - - - + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + - - - - + + + + - + - - - - + + + + - - - - - + + + + + - - - - + + + + - - - + + + - - - - + + + + - + + + + + + + + + + + - - - - + + + + - - - - - + + + + + - - - - + + + + - + - - - - + + + + - - - - - - - - - - - - - - - - - - + + + + + - - - - + + + + - + - - - - + + + + - + @@ -11587,8 +12756,6 @@ - - @@ -16973,4 +18140,7 @@ + + + diff --git a/plugins/org.eclipse.eef/model/eef.ecore b/plugins/org.eclipse.eef/model/eef.ecore index 2deadfad9..08c5006a3 100644 --- a/plugins/org.eclipse.eef/model/eef.ecore +++ b/plugins/org.eclipse.eef/model/eef.ecore @@ -13,7 +13,7 @@ -
+
+ + +
+ + @@ -129,6 +135,23 @@
+ + +
+ + + + +
+ + + + +
+ + @@ -186,6 +209,26 @@
+ + +
+ + + + +
+ + + + +
+ + + + +
+ + @@ -301,12 +344,41 @@
+ + +
+ + + + +
+ + + + +
+ +
+ + +
+ + + + +
+ + @@ -516,8 +588,6 @@
- @@ -593,4 +663,435 @@ + + +
+ + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + + +
+ + + + + + + +
+ + + +
+ + + + + +
+ + + +
+ + + diff --git a/plugins/org.eclipse.eef/model/eef.genmodel b/plugins/org.eclipse.eef/model/eef.genmodel index d4f31f53f..c809432a5 100644 --- a/plugins/org.eclipse.eef/model/eef.genmodel +++ b/plugins/org.eclipse.eef/model/eef.genmodel @@ -22,6 +22,7 @@ + @@ -37,6 +38,9 @@ + + + @@ -49,6 +53,10 @@ + + + + @@ -74,7 +82,12 @@ + + + + + @@ -127,7 +140,6 @@ - @@ -146,5 +158,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxConditionalStyle.java new file mode 100644 index 000000000..c8f1c8215 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxConditionalStyle.java @@ -0,0 +1,59 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Checkbox Conditional Style'. + * + * + * + * Represents a conditional style for a checkbox widget. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFCheckboxConditionalStyle#getStyle Style}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFCheckboxConditionalStyle() + * @model + * @generated + */ +public interface EEFCheckboxConditionalStyle extends EObject { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFCheckboxStyle) + * @see org.eclipse.eef.EefPackage#getEEFCheckboxConditionalStyle_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFCheckboxStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFCheckboxConditionalStyle#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFCheckboxStyle value); + +} // EEFCheckboxConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyle.java new file mode 100644 index 000000000..55c83218c --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyle.java @@ -0,0 +1,85 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Checkbox Style'. + * + * + * + * Represents a style that can be applied on checkbox widgets. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFCheckboxStyle#getBackgroundColorExpression Background Color Expression}
  • + *
  • {@link org.eclipse.eef.EEFCheckboxStyle#getForegroundColorExpression Foreground Color Expression}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFCheckboxStyle() + * @model + * @generated + */ +public interface EEFCheckboxStyle extends EEFStyle { + /** + * Returns the value of the 'Background Color Expression' attribute. + * + *

+ * If the meaning of the 'Background Color Expression' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Background Color Expression' attribute. + * @see #setBackgroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFCheckboxStyle_BackgroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getBackgroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFCheckboxStyle#getBackgroundColorExpression Background Color Expression}' attribute. + * + * + * @param value the new value of the 'Background Color Expression' attribute. + * @see #getBackgroundColorExpression() + * @generated + */ + void setBackgroundColorExpression(String value); + + /** + * Returns the value of the 'Foreground Color Expression' attribute. + * + *

+ * If the meaning of the 'Foreground Color Expression' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Foreground Color Expression' attribute. + * @see #setForegroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFCheckboxStyle_ForegroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getForegroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFCheckboxStyle#getForegroundColorExpression Foreground Color Expression}' attribute. + * + * + * @param value the new value of the 'Foreground Color Expression' attribute. + * @see #getForegroundColorExpression() + * @generated + */ + void setForegroundColorExpression(String value); + +} // EEFCheckboxStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyleCustomization.java new file mode 100644 index 000000000..aa1918710 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyleCustomization.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Checkbox Style Customization'. + * + * + * + * Represents a style customization applied on a checkbox widget. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFCheckboxStyleCustomization#getStyle Style}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFCheckboxStyleCustomization() + * @model + * @generated + */ +public interface EEFCheckboxStyleCustomization extends EEFStyleCustomization { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFCheckboxStyle) + * @see org.eclipse.eef.EefPackage#getEEFCheckboxStyleCustomization_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFCheckboxStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFCheckboxStyleCustomization#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFCheckboxStyle value); + +} // EEFCheckboxStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnConditionalStyle.java new file mode 100644 index 000000000..11d1bb426 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnConditionalStyle.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Column Conditional Style'. + * + * + * + * Represents a conditional style for a column widget. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link org.eclipse.eef.EEFColumnConditionalStyle#getStyle Style}
  • + *
+ * + * @see org.eclipse.eef.EefPackage#getEEFColumnConditionalStyle() + * @model + * @generated + */ +public interface EEFColumnConditionalStyle extends EEFConditionalStyle { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFColumnStyle) + * @see org.eclipse.eef.EefPackage#getEEFColumnConditionalStyle_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFColumnStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFColumnConditionalStyle#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFColumnStyle value); + +} // EEFColumnConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java index de2ca0d8e..9dcf9500d 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java @@ -26,7 +26,6 @@ import org.eclipse.emf.ecore.EObject; *
  • {@link org.eclipse.eef.EEFColumnDescription#getWidth Width}
  • *
  • {@link org.eclipse.eef.EEFColumnDescription#getHeaderExpression Header Expression}
  • *
  • {@link org.eclipse.eef.EEFColumnDescription#getCellWidget Cell Widget}
  • - *
  • {@link org.eclipse.eef.EEFColumnDescription#getContextCandidatesExpression Context Candidates Expression}
  • * * * @see org.eclipse.eef.EefPackage#getEEFColumnDescription() @@ -109,30 +108,4 @@ public interface EEFColumnDescription extends EObject { */ void setCellWidget(EEFCellWidgetDescription value); - /** - * Returns the value of the 'Context Candidates Expression' attribute. - * - *

    - * If the meaning of the 'Context Candidates Expression' attribute isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Context Candidates Expression' attribute. - * @see #setContextCandidatesExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFColumnDescription_ContextCandidatesExpression() - * @model dataType="org.eclipse.eef.Expression" - * @generated - */ - String getContextCandidatesExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFColumnDescription#getContextCandidatesExpression Context Candidates Expression}' attribute. - * - * - * @param value the new value of the 'Context Candidates Expression' attribute. - * @see #getContextCandidatesExpression() - * @generated - */ - void setContextCandidatesExpression(String value); - } // EEFColumnDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyle.java new file mode 100644 index 000000000..05458bed6 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyle.java @@ -0,0 +1,137 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Column Style'. + * + * + * + * Represents a style that can be applied on column widgets. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFColumnStyle#getBackgroundColorExpression Background Color Expression}
    • + *
    • {@link org.eclipse.eef.EEFColumnStyle#getForegroundColorExpression Foreground Color Expression}
    • + *
    • {@link org.eclipse.eef.EEFColumnStyle#getHeaderBackgroundColorExpression Header Background Color Expression}
    • + *
    • {@link org.eclipse.eef.EEFColumnStyle#getHeaderForegroundColorExpression Header Foreground Color Expression}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFColumnStyle() + * @model + * @generated + */ +public interface EEFColumnStyle extends EEFStyle { + /** + * Returns the value of the 'Background Color Expression' attribute. + * + * + * + * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * + * @return the value of the 'Background Color Expression' attribute. + * @see #setBackgroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFColumnStyle_BackgroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getBackgroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFColumnStyle#getBackgroundColorExpression Background Color Expression}' attribute. + * + * + * @param value the new value of the 'Background Color Expression' attribute. + * @see #getBackgroundColorExpression() + * @generated + */ + void setBackgroundColorExpression(String value); + + /** + * Returns the value of the 'Foreground Color Expression' attribute. + * + * + * + * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * + * @return the value of the 'Foreground Color Expression' attribute. + * @see #setForegroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFColumnStyle_ForegroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getForegroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFColumnStyle#getForegroundColorExpression Foreground Color Expression}' attribute. + * + * + * @param value the new value of the 'Foreground Color Expression' attribute. + * @see #getForegroundColorExpression() + * @generated + */ + void setForegroundColorExpression(String value); + + /** + * Returns the value of the 'Header Background Color Expression' attribute. + * + *

    + * If the meaning of the 'Header Background Color Expression' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Header Background Color Expression' attribute. + * @see #setHeaderBackgroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFColumnStyle_HeaderBackgroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getHeaderBackgroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFColumnStyle#getHeaderBackgroundColorExpression Header Background Color Expression}' attribute. + * + * + * @param value the new value of the 'Header Background Color Expression' attribute. + * @see #getHeaderBackgroundColorExpression() + * @generated + */ + void setHeaderBackgroundColorExpression(String value); + + /** + * Returns the value of the 'Header Foreground Color Expression' attribute. + * + *

    + * If the meaning of the 'Header Foreground Color Expression' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Header Foreground Color Expression' attribute. + * @see #setHeaderForegroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFColumnStyle_HeaderForegroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getHeaderForegroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFColumnStyle#getHeaderForegroundColorExpression Header Foreground Color Expression}' attribute. + * + * + * @param value the new value of the 'Header Foreground Color Expression' attribute. + * @see #getHeaderForegroundColorExpression() + * @generated + */ + void setHeaderForegroundColorExpression(String value); + +} // EEFColumnStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyleCustomization.java new file mode 100644 index 000000000..a3d59ea11 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyleCustomization.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Column Style Customization'. + * + * + * + * Represents a style customization applied on a column widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFColumnStyleCustomization#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFColumnStyleCustomization() + * @model + * @generated + */ +public interface EEFColumnStyleCustomization extends EEFStyleCustomization { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFColumnStyle) + * @see org.eclipse.eef.EefPackage#getEEFColumnStyleCustomization_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFColumnStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFColumnStyleCustomization#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFColumnStyle value); + +} // EEFColumnStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFConditionalStyle.java new file mode 100644 index 000000000..a555e470c --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFConditionalStyle.java @@ -0,0 +1,59 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Conditional Style'. + * + * + * + * Represents a conditional style. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFConditionalStyle#getConditionalExpression Conditional Expression}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFConditionalStyle() + * @model abstract="true" + * @generated + */ +public interface EEFConditionalStyle extends EObject { + /** + * Returns the value of the 'Conditional Expression' attribute. + * + * + * + * Defines the condition on which a style must be applied on a widget. + * + * @return the value of the 'Conditional Expression' attribute. + * @see #setConditionalExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFConditionalStyle_ConditionalExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getConditionalExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFConditionalStyle#getConditionalExpression Conditional Expression}' attribute. + * + * + * @param value the new value of the 'Conditional Expression' attribute. + * @see #getConditionalExpression() + * @generated + */ + void setConditionalExpression(String value); + +} // EEFConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupConditionalStyle.java new file mode 100644 index 000000000..664b81ab4 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupConditionalStyle.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Group Conditional Style'. + * + * + * + * Represents a conditional style for a group. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFGroupConditionalStyle#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFGroupConditionalStyle() + * @model + * @generated + */ +public interface EEFGroupConditionalStyle extends EEFConditionalStyle { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style of the group. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFGroupStyle) + * @see org.eclipse.eef.EefPackage#getEEFGroupConditionalStyle_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFGroupStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFGroupConditionalStyle#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFGroupStyle value); + +} // EEFGroupConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java index 5c82d26fd..a6b703da6 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java @@ -26,6 +26,9 @@ package org.eclipse.eef; *
  • {@link org.eclipse.eef.EEFGroupDescription#getDomainClass Domain Class}
  • *
  • {@link org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression Semantic Candidate Expression}
  • *
  • {@link org.eclipse.eef.EEFGroupDescription#getContainer Container}
  • + *
  • {@link org.eclipse.eef.EEFGroupDescription#getCollapsibleExpression Collapsible Expression}
  • + *
  • {@link org.eclipse.eef.EEFGroupDescription#getCollapsedByDefaultExpression Collapsed By Default Expression}
  • + *
  • {@link org.eclipse.eef.EEFGroupDescription#getValidationExpression Validation Expression}
  • * * * @see org.eclipse.eef.EefPackage#getEEFGroupDescription() @@ -158,4 +161,79 @@ public interface EEFGroupDescription extends ContextableElement { */ void setContainer(EEFContainerDescription value); + /** + * Returns the value of the 'Collapsible Expression' attribute. + * + * + * + * Defines if a group is collapsible or not. + * + * @return the value of the 'Collapsible Expression' attribute. + * @see #setCollapsibleExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_CollapsibleExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getCollapsibleExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getCollapsibleExpression Collapsible Expression}' attribute. + * + * + * @param value the new value of the 'Collapsible Expression' attribute. + * @see #getCollapsibleExpression() + * @generated + */ + void setCollapsibleExpression(String value); + + /** + * Returns the value of the 'Collapsed By Default Expression' attribute. + * + * + * + * Defines if a collapsible group must be collapsed by default or not. + * + * @return the value of the 'Collapsed By Default Expression' attribute. + * @see #setCollapsedByDefaultExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_CollapsedByDefaultExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getCollapsedByDefaultExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getCollapsedByDefaultExpression Collapsed By Default Expression}' attribute. + * + * + * @param value the new value of the 'Collapsed By Default Expression' attribute. + * @see #getCollapsedByDefaultExpression() + * @generated + */ + void setCollapsedByDefaultExpression(String value); + + /** + * Returns the value of the 'Validation Expression' attribute. + * + * + * + * Defines if a group value is valid or not. + * + * @return the value of the 'Validation Expression' attribute. + * @see #setValidationExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_ValidationExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getValidationExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getValidationExpression Validation Expression}' attribute. + * + * + * @param value the new value of the 'Validation Expression' attribute. + * @see #getValidationExpression() + * @generated + */ + void setValidationExpression(String value); + } // EEFGroupDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyle.java new file mode 100644 index 000000000..6bcb74d4e --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyle.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Group Style'. + * + * + * + * Represents a style that can be applied on group widgets. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFGroupStyle#getForegroundColorExpression Foreground Color Expression}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFGroupStyle() + * @model + * @generated + */ +public interface EEFGroupStyle extends EEFStyle { + /** + * Returns the value of the 'Foreground Color Expression' attribute. + * + * + * + * Defines the foreground color of the group label. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * + * @return the value of the 'Foreground Color Expression' attribute. + * @see #setForegroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFGroupStyle_ForegroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getForegroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFGroupStyle#getForegroundColorExpression Foreground Color Expression}' attribute. + * + * + * @param value the new value of the 'Foreground Color Expression' attribute. + * @see #getForegroundColorExpression() + * @generated + */ + void setForegroundColorExpression(String value); + +} // EEFGroupStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyleCustomization.java new file mode 100644 index 000000000..12aa418fd --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyleCustomization.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Group Style Customization'. + * + * + * + * Represents a style customization applied on a group. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFGroupStyleCustomization#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFGroupStyleCustomization() + * @model + * @generated + */ +public interface EEFGroupStyleCustomization extends EEFStyleCustomization { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFGroupStyle) + * @see org.eclipse.eef.EefPackage#getEEFGroupStyleCustomization_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFGroupStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFGroupStyleCustomization#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFGroupStyle value); + +} // EEFGroupStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelConditionalStyle.java new file mode 100644 index 000000000..85578688f --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelConditionalStyle.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Label Conditional Style'. + * + * + * + * Represents a conditional style for a label widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFLabelConditionalStyle#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFLabelConditionalStyle() + * @model + * @generated + */ +public interface EEFLabelConditionalStyle extends EEFConditionalStyle { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFLabelStyle) + * @see org.eclipse.eef.EefPackage#getEEFLabelConditionalStyle_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFLabelStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLabelConditionalStyle#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFLabelStyle value); + +} // EEFLabelConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyle.java new file mode 100644 index 000000000..5b752d9c5 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyle.java @@ -0,0 +1,83 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Label Style'. + * + * + * + * Represents a style that can be applied on label widgets. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFLabelStyle#getBackgroundColorExpression Background Color Expression}
    • + *
    • {@link org.eclipse.eef.EEFLabelStyle#getForegroundColorExpression Foreground Color Expression}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFLabelStyle() + * @model + * @generated + */ +public interface EEFLabelStyle extends EEFStyle { + /** + * Returns the value of the 'Background Color Expression' attribute. + * + * + * + * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * + * @return the value of the 'Background Color Expression' attribute. + * @see #setBackgroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFLabelStyle_BackgroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getBackgroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLabelStyle#getBackgroundColorExpression Background Color Expression}' attribute. + * + * + * @param value the new value of the 'Background Color Expression' attribute. + * @see #getBackgroundColorExpression() + * @generated + */ + void setBackgroundColorExpression(String value); + + /** + * Returns the value of the 'Foreground Color Expression' attribute. + * + * + * + * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * + * @return the value of the 'Foreground Color Expression' attribute. + * @see #setForegroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFLabelStyle_ForegroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getForegroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLabelStyle#getForegroundColorExpression Foreground Color Expression}' attribute. + * + * + * @param value the new value of the 'Foreground Color Expression' attribute. + * @see #getForegroundColorExpression() + * @generated + */ + void setForegroundColorExpression(String value); + +} // EEFLabelStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyleCustomization.java new file mode 100644 index 000000000..77c62484f --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyleCustomization.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Label Style Customization'. + * + * + * + * Represents a style customization applied on a label widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFLabelStyleCustomization#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFLabelStyleCustomization() + * @model + * @generated + */ +public interface EEFLabelStyleCustomization extends EEFStyleCustomization { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFLabelStyle) + * @see org.eclipse.eef.EefPackage#getEEFLabelStyleCustomization_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFLabelStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLabelStyleCustomization#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFLabelStyle value); + +} // EEFLabelStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineConditionalStyle.java new file mode 100644 index 000000000..f631605b6 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineConditionalStyle.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Line Conditional Style'. + * + * + * + * Represents a conditional style for a line widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFLineConditionalStyle#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFLineConditionalStyle() + * @model + * @generated + */ +public interface EEFLineConditionalStyle extends EEFConditionalStyle { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFLineStyle) + * @see org.eclipse.eef.EefPackage#getEEFLineConditionalStyle_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFLineStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLineConditionalStyle#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFLineStyle value); + +} // EEFLineConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyle.java new file mode 100644 index 000000000..d4b75c1e0 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyle.java @@ -0,0 +1,137 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Line Style'. + * + * + * + * Represents a style that can be applied on line widgets. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFLineStyle#getBackgroundColorExpression Background Color Expression}
    • + *
    • {@link org.eclipse.eef.EEFLineStyle#getForegroundColorExpression Foreground Color Expression}
    • + *
    • {@link org.eclipse.eef.EEFLineStyle#getHeaderBackgroundColorExpression Header Background Color Expression}
    • + *
    • {@link org.eclipse.eef.EEFLineStyle#getHeaderForegroundColorExpression Header Foreground Color Expression}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFLineStyle() + * @model + * @generated + */ +public interface EEFLineStyle extends EEFStyle { + /** + * Returns the value of the 'Background Color Expression' attribute. + * + * + * + * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * + * @return the value of the 'Background Color Expression' attribute. + * @see #setBackgroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFLineStyle_BackgroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getBackgroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLineStyle#getBackgroundColorExpression Background Color Expression}' attribute. + * + * + * @param value the new value of the 'Background Color Expression' attribute. + * @see #getBackgroundColorExpression() + * @generated + */ + void setBackgroundColorExpression(String value); + + /** + * Returns the value of the 'Foreground Color Expression' attribute. + * + * + * + * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * + * @return the value of the 'Foreground Color Expression' attribute. + * @see #setForegroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFLineStyle_ForegroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getForegroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLineStyle#getForegroundColorExpression Foreground Color Expression}' attribute. + * + * + * @param value the new value of the 'Foreground Color Expression' attribute. + * @see #getForegroundColorExpression() + * @generated + */ + void setForegroundColorExpression(String value); + + /** + * Returns the value of the 'Header Background Color Expression' attribute. + * + *

    + * If the meaning of the 'Header Background Color Expression' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Header Background Color Expression' attribute. + * @see #setHeaderBackgroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFLineStyle_HeaderBackgroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getHeaderBackgroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLineStyle#getHeaderBackgroundColorExpression Header Background Color Expression}' attribute. + * + * + * @param value the new value of the 'Header Background Color Expression' attribute. + * @see #getHeaderBackgroundColorExpression() + * @generated + */ + void setHeaderBackgroundColorExpression(String value); + + /** + * Returns the value of the 'Header Foreground Color Expression' attribute. + * + *

    + * If the meaning of the 'Header Foreground Color Expression' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Header Foreground Color Expression' attribute. + * @see #setHeaderForegroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFLineStyle_HeaderForegroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getHeaderForegroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLineStyle#getHeaderForegroundColorExpression Header Foreground Color Expression}' attribute. + * + * + * @param value the new value of the 'Header Foreground Color Expression' attribute. + * @see #getHeaderForegroundColorExpression() + * @generated + */ + void setHeaderForegroundColorExpression(String value); + +} // EEFLineStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyleCustomization.java new file mode 100644 index 000000000..f0ec86a9a --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyleCustomization.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Line Style Customization'. + * + * + * + * Represents a style customization applied on a line widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFLineStyleCustomization#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFLineStyleCustomization() + * @model + * @generated + */ +public interface EEFLineStyleCustomization extends EEFStyleCustomization { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFLineStyle) + * @see org.eclipse.eef.EefPackage#getEEFLineStyleCustomization_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFLineStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLineStyleCustomization#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFLineStyle value); + +} // EEFLineStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkConditionalStyle.java new file mode 100644 index 000000000..5f28c6e48 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkConditionalStyle.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Link Conditional Style'. + * + * + * + * Represents a conditional style for a link widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFLinkConditionalStyle#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFLinkConditionalStyle() + * @model + * @generated + */ +public interface EEFLinkConditionalStyle extends EEFConditionalStyle { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFLinkStyle) + * @see org.eclipse.eef.EefPackage#getEEFLinkConditionalStyle_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFLinkStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLinkConditionalStyle#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFLinkStyle value); + +} // EEFLinkConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyle.java new file mode 100644 index 000000000..4b383ab12 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyle.java @@ -0,0 +1,109 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Link Style'. + * + * + * + * Represents a style that can be applied on link widgets. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFLinkStyle#getBackgroundColorExpression Background Color Expression}
    • + *
    • {@link org.eclipse.eef.EEFLinkStyle#getForegroundColorExpression Foreground Color Expression}
    • + *
    • {@link org.eclipse.eef.EEFLinkStyle#getBackgroundImageExpression Background Image Expression}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFLinkStyle() + * @model + * @generated + */ +public interface EEFLinkStyle extends EEFStyle { + /** + * Returns the value of the 'Background Color Expression' attribute. + * + * + * + * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * + * @return the value of the 'Background Color Expression' attribute. + * @see #setBackgroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFLinkStyle_BackgroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getBackgroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLinkStyle#getBackgroundColorExpression Background Color Expression}' attribute. + * + * + * @param value the new value of the 'Background Color Expression' attribute. + * @see #getBackgroundColorExpression() + * @generated + */ + void setBackgroundColorExpression(String value); + + /** + * Returns the value of the 'Foreground Color Expression' attribute. + * + * + * + * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * + * @return the value of the 'Foreground Color Expression' attribute. + * @see #setForegroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFLinkStyle_ForegroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getForegroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLinkStyle#getForegroundColorExpression Foreground Color Expression}' attribute. + * + * + * @param value the new value of the 'Foreground Color Expression' attribute. + * @see #getForegroundColorExpression() + * @generated + */ + void setForegroundColorExpression(String value); + + /** + * Returns the value of the 'Background Image Expression' attribute. + * + * + * + * Defines the background image. It must be define as an URI. If the background image is not define then only text is represented else if the value expression of a link is not set and there is a background image defined then eef runtime shows only an image, else it shows text and image. + * + * @return the value of the 'Background Image Expression' attribute. + * @see #setBackgroundImageExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFLinkStyle_BackgroundImageExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getBackgroundImageExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLinkStyle#getBackgroundImageExpression Background Image Expression}' attribute. + * + * + * @param value the new value of the 'Background Image Expression' attribute. + * @see #getBackgroundImageExpression() + * @generated + */ + void setBackgroundImageExpression(String value); + +} // EEFLinkStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyleCustomization.java new file mode 100644 index 000000000..bcdb5721e --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyleCustomization.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Link Style Customization'. + * + * + * + * Represents a style customization applied on a link widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFLinkStyleCustomization#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFLinkStyleCustomization() + * @model + * @generated + */ +public interface EEFLinkStyleCustomization extends EEFStyleCustomization { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFLinkStyle) + * @see org.eclipse.eef.EefPackage#getEEFLinkStyleCustomization_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFLinkStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFLinkStyleCustomization#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFLinkStyle value); + +} // EEFLinkStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioConditionalStyle.java new file mode 100644 index 000000000..18ccde1e2 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioConditionalStyle.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Radio Conditional Style'. + * + * + * + * Represents a conditional style for a radio widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFRadioConditionalStyle#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFRadioConditionalStyle() + * @model + * @generated + */ +public interface EEFRadioConditionalStyle extends EEFConditionalStyle { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFRadioStyle) + * @see org.eclipse.eef.EefPackage#getEEFRadioConditionalStyle_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFRadioStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFRadioConditionalStyle#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFRadioStyle value); + +} // EEFRadioConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyle.java new file mode 100644 index 000000000..357646208 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyle.java @@ -0,0 +1,83 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Radio Style'. + * + * + * + * Represents a style that can be applied on radio widgets. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFRadioStyle#getBackgroundColorExpression Background Color Expression}
    • + *
    • {@link org.eclipse.eef.EEFRadioStyle#getForegroundColorExpression Foreground Color Expression}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFRadioStyle() + * @model + * @generated + */ +public interface EEFRadioStyle extends EEFStyle { + /** + * Returns the value of the 'Background Color Expression' attribute. + * + * + * + * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * + * @return the value of the 'Background Color Expression' attribute. + * @see #setBackgroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFRadioStyle_BackgroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getBackgroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFRadioStyle#getBackgroundColorExpression Background Color Expression}' attribute. + * + * + * @param value the new value of the 'Background Color Expression' attribute. + * @see #getBackgroundColorExpression() + * @generated + */ + void setBackgroundColorExpression(String value); + + /** + * Returns the value of the 'Foreground Color Expression' attribute. + * + * + * + * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * + * @return the value of the 'Foreground Color Expression' attribute. + * @see #setForegroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFRadioStyle_ForegroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getForegroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFRadioStyle#getForegroundColorExpression Foreground Color Expression}' attribute. + * + * + * @param value the new value of the 'Foreground Color Expression' attribute. + * @see #getForegroundColorExpression() + * @generated + */ + void setForegroundColorExpression(String value); + +} // EEFRadioStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyleCustomization.java new file mode 100644 index 000000000..a95d1ddc8 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyleCustomization.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Radio Style Customization'. + * + * + * + * Represents a style customization applied on a radio widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFRadioStyleCustomization#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFRadioStyleCustomization() + * @model + * @generated + */ +public interface EEFRadioStyleCustomization extends EEFStyleCustomization { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFRadioStyle) + * @see org.eclipse.eef.EefPackage#getEEFRadioStyleCustomization_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFRadioStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFRadioStyleCustomization#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFRadioStyle value); + +} // EEFRadioStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectConditionalStyle.java new file mode 100644 index 000000000..469546227 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectConditionalStyle.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Select Conditional Style'. + * + * + * + * Represents a conditional style for a combo widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFSelectConditionalStyle#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFSelectConditionalStyle() + * @model + * @generated + */ +public interface EEFSelectConditionalStyle extends EEFConditionalStyle { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFSelectStyle) + * @see org.eclipse.eef.EefPackage#getEEFSelectConditionalStyle_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFSelectStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFSelectConditionalStyle#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFSelectStyle value); + +} // EEFSelectConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyle.java new file mode 100644 index 000000000..f66eba8b3 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyle.java @@ -0,0 +1,83 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Select Style'. + * + * + * + * Represents a style that can be applied on combo widgets. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFSelectStyle#getBackgroundColorExpression Background Color Expression}
    • + *
    • {@link org.eclipse.eef.EEFSelectStyle#getForegroundColorExpression Foreground Color Expression}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFSelectStyle() + * @model + * @generated + */ +public interface EEFSelectStyle extends EEFStyle { + /** + * Returns the value of the 'Background Color Expression' attribute. + * + * + * + * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * + * @return the value of the 'Background Color Expression' attribute. + * @see #setBackgroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFSelectStyle_BackgroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getBackgroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFSelectStyle#getBackgroundColorExpression Background Color Expression}' attribute. + * + * + * @param value the new value of the 'Background Color Expression' attribute. + * @see #getBackgroundColorExpression() + * @generated + */ + void setBackgroundColorExpression(String value); + + /** + * Returns the value of the 'Foreground Color Expression' attribute. + * + * + * + * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * + * @return the value of the 'Foreground Color Expression' attribute. + * @see #setForegroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFSelectStyle_ForegroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getForegroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFSelectStyle#getForegroundColorExpression Foreground Color Expression}' attribute. + * + * + * @param value the new value of the 'Foreground Color Expression' attribute. + * @see #getForegroundColorExpression() + * @generated + */ + void setForegroundColorExpression(String value); + +} // EEFSelectStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyleCustomization.java new file mode 100644 index 000000000..3bb270c38 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyleCustomization.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Select Style Customization'. + * + * + * + * Represents a style customization applied on a combo widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFSelectStyleCustomization#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFSelectStyleCustomization() + * @model + * @generated + */ +public interface EEFSelectStyleCustomization extends EEFStyleCustomization { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFSelectStyle) + * @see org.eclipse.eef.EefPackage#getEEFSelectStyleCustomization_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFSelectStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFSelectStyleCustomization#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFSelectStyle value); + +} // EEFSelectStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyle.java new file mode 100644 index 000000000..63ce7171d --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyle.java @@ -0,0 +1,59 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Style'. + * + * + * + * Represents a widget style. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFStyle#getFontExpression Font Expression}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFStyle() + * @model abstract="true" + * @generated + */ +public interface EEFStyle extends EObject { + /** + * Returns the value of the 'Font Expression' attribute. + * + * + * + * Defines the widget font. + * + * @return the value of the 'Font Expression' attribute. + * @see #setFontExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFStyle_FontExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getFontExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFStyle#getFontExpression Font Expression}' attribute. + * + * + * @param value the new value of the 'Font Expression' attribute. + * @see #getFontExpression() + * @generated + */ + void setFontExpression(String value); + +} // EEFStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyleCustomization.java new file mode 100644 index 000000000..d28b8f83c --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyleCustomization.java @@ -0,0 +1,28 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Style Customization'. + * + * + * + * Represents a style customization. + * + * + * + * @see org.eclipse.eef.EefPackage#getEEFStyleCustomization() + * @model abstract="true" + * @generated + */ +public interface EEFStyleCustomization extends EObject { +} // EEFStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableConditionalStyle.java new file mode 100644 index 000000000..4a4a69e64 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableConditionalStyle.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Table Conditional Style'. + * + * + * + * Represents a conditional style for a table widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFTableConditionalStyle#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFTableConditionalStyle() + * @model + * @generated + */ +public interface EEFTableConditionalStyle extends EEFConditionalStyle { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFTableStyle) + * @see org.eclipse.eef.EefPackage#getEEFTableConditionalStyle_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFTableStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTableConditionalStyle#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFTableStyle value); + +} // EEFTableConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyle.java new file mode 100644 index 000000000..1db8d91db --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyle.java @@ -0,0 +1,26 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Table Style'. + * + * + * + * Represents a style that can be applied on table widgets. + * + * + * + * @see org.eclipse.eef.EefPackage#getEEFTableStyle() + * @model + * @generated + */ +public interface EEFTableStyle extends EEFStyle { +} // EEFTableStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyleCustomization.java new file mode 100644 index 000000000..8089fea3e --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyleCustomization.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Table Style Customization'. + * + * + * + * Represents a style customization applied on a table widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFTableStyleCustomization#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFTableStyleCustomization() + * @model + * @generated + */ +public interface EEFTableStyleCustomization extends EEFStyleCustomization { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFTableStyle) + * @see org.eclipse.eef.EefPackage#getEEFTableStyleCustomization_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFTableStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTableStyleCustomization#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFTableStyle value); + +} // EEFTableStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextConditionalStyle.java new file mode 100644 index 000000000..2fe53d7f7 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextConditionalStyle.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Text Conditional Style'. + * + * + * + * Represents a conditional style for a text widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFTextConditionalStyle#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFTextConditionalStyle() + * @model + * @generated + */ +public interface EEFTextConditionalStyle extends EEFConditionalStyle { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFTextStyle) + * @see org.eclipse.eef.EefPackage#getEEFTextConditionalStyle_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFTextStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTextConditionalStyle#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFTextStyle value); + +} // EEFTextConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java index f5507f311..8458e3436 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java @@ -8,6 +8,8 @@ */ package org.eclipse.eef; +import org.eclipse.emf.common.util.EList; + /** * * A representation of the model object 'EEF Text Description'. @@ -23,7 +25,12 @@ package org.eclipse.eef; *
      *
    • {@link org.eclipse.eef.EEFTextDescription#getValueExpression Value Expression}
    • *
    • {@link org.eclipse.eef.EEFTextDescription#getEditExpression Edit Expression}
    • + *
    • {@link org.eclipse.eef.EEFTextDescription#getReadOnlyExpression Read Only Expression}
    • + *
    • {@link org.eclipse.eef.EEFTextDescription#getContentAssistExpression Content Assist Expression}
    • + *
    • {@link org.eclipse.eef.EEFTextDescription#getPlaceholderExpression Placeholder Expression}
    • *
    • {@link org.eclipse.eef.EEFTextDescription#getLineCount Line Count}
    • + *
    • {@link org.eclipse.eef.EEFTextDescription#getStyle Style}
    • + *
    • {@link org.eclipse.eef.EEFTextDescription#getConditionalStyles Conditional Styles}
    • *
    * * @see org.eclipse.eef.EefPackage#getEEFTextDescription() @@ -81,6 +88,81 @@ public interface EEFTextDescription extends EEFCellWidgetDescription { */ void setEditExpression(String value); + /** + * Returns the value of the 'Read Only Expression' attribute. + * + * + * + * Defines if the text widget is read only or not. + * + * @return the value of the 'Read Only Expression' attribute. + * @see #setReadOnlyExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTextDescription_ReadOnlyExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getReadOnlyExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getReadOnlyExpression Read Only Expression}' attribute. + * + * + * @param value the new value of the 'Read Only Expression' attribute. + * @see #getReadOnlyExpression() + * @generated + */ + void setReadOnlyExpression(String value); + + /** + * Returns the value of the 'Content Assist Expression' attribute. + * + * + * + * Defines the proposals available for completion. + * + * @return the value of the 'Content Assist Expression' attribute. + * @see #setContentAssistExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTextDescription_ContentAssistExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getContentAssistExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getContentAssistExpression Content Assist Expression}' attribute. + * + * + * @param value the new value of the 'Content Assist Expression' attribute. + * @see #getContentAssistExpression() + * @generated + */ + void setContentAssistExpression(String value); + + /** + * Returns the value of the 'Placeholder Expression' attribute. + * + * + * + * Defines the text placeholder. + * + * @return the value of the 'Placeholder Expression' attribute. + * @see #setPlaceholderExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTextDescription_PlaceholderExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getPlaceholderExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getPlaceholderExpression Placeholder Expression}' attribute. + * + * + * @param value the new value of the 'Placeholder Expression' attribute. + * @see #getPlaceholderExpression() + * @generated + */ + void setPlaceholderExpression(String value); + /** * Returns the value of the 'Line Count' attribute. * The default value is "1". @@ -107,4 +189,44 @@ public interface EEFTextDescription extends EEFCellWidgetDescription { */ void setLineCount(int value); + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the text style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFTextStyle) + * @see org.eclipse.eef.EefPackage#getEEFTextDescription_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFTextStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFTextStyle value); + + /** + * Returns the value of the 'Conditional Styles' containment reference list. + * The list contents are of type {@link org.eclipse.eef.EEFTextConditionalStyle}. + * + * + * + * Defines the text conditional styles. + * + * @return the value of the 'Conditional Styles' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFTextDescription_ConditionalStyles() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getConditionalStyles(); + } // EEFTextDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyle.java new file mode 100644 index 000000000..94cb8a3b4 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyle.java @@ -0,0 +1,83 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Text Style'. + * + * + * + * Represents a style that can be applied on text widgets. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFTextStyle#getBackgroundColorExpression Background Color Expression}
    • + *
    • {@link org.eclipse.eef.EEFTextStyle#getForegroundColorExpression Foreground Color Expression}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFTextStyle() + * @model + * @generated + */ +public interface EEFTextStyle extends EEFStyle { + /** + * Returns the value of the 'Background Color Expression' attribute. + * + * + * + * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * + * @return the value of the 'Background Color Expression' attribute. + * @see #setBackgroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTextStyle_BackgroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getBackgroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTextStyle#getBackgroundColorExpression Background Color Expression}' attribute. + * + * + * @param value the new value of the 'Background Color Expression' attribute. + * @see #getBackgroundColorExpression() + * @generated + */ + void setBackgroundColorExpression(String value); + + /** + * Returns the value of the 'Foreground Color Expression' attribute. + * + * + * + * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * + * @return the value of the 'Foreground Color Expression' attribute. + * @see #setForegroundColorExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTextStyle_ForegroundColorExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getForegroundColorExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTextStyle#getForegroundColorExpression Foreground Color Expression}' attribute. + * + * + * @param value the new value of the 'Foreground Color Expression' attribute. + * @see #getForegroundColorExpression() + * @generated + */ + void setForegroundColorExpression(String value); + +} // EEFTextStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyleCustomization.java new file mode 100644 index 000000000..a5cc96a72 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyleCustomization.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Text Style Customization'. + * + * + * + * Represents a style customization applied on a text widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFTextStyleCustomization#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFTextStyleCustomization() + * @model + * @generated + */ +public interface EEFTextStyleCustomization extends EEFStyleCustomization { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFTextStyle) + * @see org.eclipse.eef.EefPackage#getEEFTextStyleCustomization_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFTextStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTextStyleCustomization#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFTextStyle value); + +} // EEFTextStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeConditionalStyle.java new file mode 100644 index 000000000..b9c046736 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeConditionalStyle.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Tree Conditional Style'. + * + * + * + * Represents a conditional style for a tree widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFTreeConditionalStyle#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFTreeConditionalStyle() + * @model + * @generated + */ +public interface EEFTreeConditionalStyle extends EEFConditionalStyle { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFTreeStyle) + * @see org.eclipse.eef.EefPackage#getEEFTreeConditionalStyle_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFTreeStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTreeConditionalStyle#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFTreeStyle value); + +} // EEFTreeConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyle.java new file mode 100644 index 000000000..f9e102dd0 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyle.java @@ -0,0 +1,26 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Tree Style'. + * + * + * + * Represents a style that can be applied on tree widgets. + * + * + * + * @see org.eclipse.eef.EefPackage#getEEFTreeStyle() + * @model + * @generated + */ +public interface EEFTreeStyle extends EEFStyle { +} // EEFTreeStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyleCustomization.java new file mode 100644 index 000000000..32d3bca2a --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyleCustomization.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +/** + * + * A representation of the model object 'EEF Tree Style Customization'. + * + * + * + * Represents a style customization applied on a tree widget. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.eef.EEFTreeStyleCustomization#getStyle Style}
    • + *
    + * + * @see org.eclipse.eef.EefPackage#getEEFTreeStyleCustomization() + * @model + * @generated + */ +public interface EEFTreeStyleCustomization extends EEFStyleCustomization { + /** + * Returns the value of the 'Style' containment reference. + * + * + * + * Defines the style. + * + * @return the value of the 'Style' containment reference. + * @see #setStyle(EEFTreeStyle) + * @see org.eclipse.eef.EefPackage#getEEFTreeStyleCustomization_Style() + * @model containment="true" resolveProxies="true" + * @generated + */ + EEFTreeStyle getStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTreeStyleCustomization#getStyle Style}' containment reference. + * + * + * @param value the new value of the 'Style' containment reference. + * @see #getStyle() + * @generated + */ + void setStyle(EEFTreeStyle value); + +} // EEFTreeStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java index fd3b57868..6802f5aa5 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java @@ -32,6 +32,7 @@ import org.eclipse.emf.common.util.EList; *
  • {@link org.eclipse.eef.EEFViewDescription#getImportedViews Imported Views}
  • *
  • {@link org.eclipse.eef.EEFViewDescription#getTreeStructures Tree Structures}
  • *
  • {@link org.eclipse.eef.EEFViewDescription#getTableStructures Table Structures}
  • + *
  • {@link org.eclipse.eef.EEFViewDescription#getStyleCustomizations Style Customizations}
  • * * * @see org.eclipse.eef.EefPackage#getEEFViewDescription() @@ -69,7 +70,7 @@ public interface EEFViewDescription extends ContextableElement { * * * - * The label of the View visible by the end-users. + * The label of the View visible by the end-users. * * @return the value of the 'Label Expression' attribute. * @see #setLabelExpression(String) @@ -194,4 +195,19 @@ public interface EEFViewDescription extends ContextableElement { */ EList getTableStructures(); + /** + * Returns the value of the 'Style Customizations' reference list. + * The list contents are of type {@link org.eclipse.eef.EEFStyleCustomization}. + * + * + * + * Contains all the style customizations defined for a view. + * + * @return the value of the 'Style Customizations' reference list. + * @see org.eclipse.eef.EefPackage#getEEFViewDescription_StyleCustomizations() + * @model + * @generated + */ + EList getStyleCustomizations(); + } // EEFViewDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java index 2a0190d08..22c461131 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java @@ -23,6 +23,10 @@ package org.eclipse.eef; *
      *
    • {@link org.eclipse.eef.EEFWidgetDescription#getIdentifier Identifier}
    • *
    • {@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression Label Expression}
    • + *
    • {@link org.eclipse.eef.EEFWidgetDescription#getLabelStyle Label Style}
    • + *
    • {@link org.eclipse.eef.EEFWidgetDescription#getTooltipExpression Tooltip Expression}
    • + *
    • {@link org.eclipse.eef.EEFWidgetDescription#getHelpExpression Help Expression}
    • + *
    • {@link org.eclipse.eef.EEFWidgetDescription#getValidationExpression Validation Expression}
    • *
    * * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription() @@ -80,4 +84,104 @@ public interface EEFWidgetDescription extends ContextableElement { */ void setLabelExpression(String value); + /** + * Returns the value of the 'Label Style' reference. + * + * + * + * The style of the label. + * + * @return the value of the 'Label Style' reference. + * @see #setLabelStyle(EEFLabelStyle) + * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_LabelStyle() + * @model + * @generated + */ + EEFLabelStyle getLabelStyle(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getLabelStyle Label Style}' reference. + * + * + * @param value the new value of the 'Label Style' reference. + * @see #getLabelStyle() + * @generated + */ + void setLabelStyle(EEFLabelStyle value); + + /** + * Returns the value of the 'Tooltip Expression' attribute. + * + * + * + * The tooltip of the Widget visible by the end-users. + * + * @return the value of the 'Tooltip Expression' attribute. + * @see #setTooltipExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_TooltipExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getTooltipExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getTooltipExpression Tooltip Expression}' attribute. + * + * + * @param value the new value of the 'Tooltip Expression' attribute. + * @see #getTooltipExpression() + * @generated + */ + void setTooltipExpression(String value); + + /** + * Returns the value of the 'Help Expression' attribute. + * + * + * + * The help of the Widget visible by the end-users. + * + * @return the value of the 'Help Expression' attribute. + * @see #setHelpExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_HelpExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getHelpExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getHelpExpression Help Expression}' attribute. + * + * + * @param value the new value of the 'Help Expression' attribute. + * @see #getHelpExpression() + * @generated + */ + void setHelpExpression(String value); + + /** + * Returns the value of the 'Validation Expression' attribute. + * + * + * + * Defines if the widget value is valid or not. + * + * @return the value of the 'Validation Expression' attribute. + * @see #setValidationExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_ValidationExpression() + * @model dataType="org.eclipse.eef.Expression" + * @generated + */ + String getValidationExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getValidationExpression Validation Expression}' attribute. + * + * + * @param value the new value of the 'Validation Expression' attribute. + * @see #getValidationExpression() + * @generated + */ + void setValidationExpression(String value); + } // EEFWidgetDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java index e77c8320f..84f00048d 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java @@ -225,6 +225,303 @@ public interface EefFactory extends EFactory { */ EEFAdapterFactoryTableStructureDescription createEEFAdapterFactoryTableStructureDescription(); + /** + * Returns a new object of class 'EEF Group Style'. + * + * + * @return a new object of class 'EEF Group Style'. + * @generated + */ + EEFGroupStyle createEEFGroupStyle(); + + /** + * Returns a new object of class 'EEF Group Conditional Style'. + * + * + * @return a new object of class 'EEF Group Conditional Style'. + * @generated + */ + EEFGroupConditionalStyle createEEFGroupConditionalStyle(); + + /** + * Returns a new object of class 'EEF Group Style Customization'. + * + * + * @return a new object of class 'EEF Group Style Customization'. + * @generated + */ + EEFGroupStyleCustomization createEEFGroupStyleCustomization(); + + /** + * Returns a new object of class 'EEF Text Style'. + * + * + * @return a new object of class 'EEF Text Style'. + * @generated + */ + EEFTextStyle createEEFTextStyle(); + + /** + * Returns a new object of class 'EEF Text Conditional Style'. + * + * + * @return a new object of class 'EEF Text Conditional Style'. + * @generated + */ + EEFTextConditionalStyle createEEFTextConditionalStyle(); + + /** + * Returns a new object of class 'EEF Text Style Customization'. + * + * + * @return a new object of class 'EEF Text Style Customization'. + * @generated + */ + EEFTextStyleCustomization createEEFTextStyleCustomization(); + + /** + * Returns a new object of class 'EEF Checkbox Style'. + * + * + * @return a new object of class 'EEF Checkbox Style'. + * @generated + */ + EEFCheckboxStyle createEEFCheckboxStyle(); + + /** + * Returns a new object of class 'EEF Checkbox Conditional Style'. + * + * + * @return a new object of class 'EEF Checkbox Conditional Style'. + * @generated + */ + EEFCheckboxConditionalStyle createEEFCheckboxConditionalStyle(); + + /** + * Returns a new object of class 'EEF Checkbox Style Customization'. + * + * + * @return a new object of class 'EEF Checkbox Style Customization'. + * @generated + */ + EEFCheckboxStyleCustomization createEEFCheckboxStyleCustomization(); + + /** + * Returns a new object of class 'EEF Label Style'. + * + * + * @return a new object of class 'EEF Label Style'. + * @generated + */ + EEFLabelStyle createEEFLabelStyle(); + + /** + * Returns a new object of class 'EEF Label Conditional Style'. + * + * + * @return a new object of class 'EEF Label Conditional Style'. + * @generated + */ + EEFLabelConditionalStyle createEEFLabelConditionalStyle(); + + /** + * Returns a new object of class 'EEF Label Style Customization'. + * + * + * @return a new object of class 'EEF Label Style Customization'. + * @generated + */ + EEFLabelStyleCustomization createEEFLabelStyleCustomization(); + + /** + * Returns a new object of class 'EEF Radio Style'. + * + * + * @return a new object of class 'EEF Radio Style'. + * @generated + */ + EEFRadioStyle createEEFRadioStyle(); + + /** + * Returns a new object of class 'EEF Radio Conditional Style'. + * + * + * @return a new object of class 'EEF Radio Conditional Style'. + * @generated + */ + EEFRadioConditionalStyle createEEFRadioConditionalStyle(); + + /** + * Returns a new object of class 'EEF Radio Style Customization'. + * + * + * @return a new object of class 'EEF Radio Style Customization'. + * @generated + */ + EEFRadioStyleCustomization createEEFRadioStyleCustomization(); + + /** + * Returns a new object of class 'EEF Link Style'. + * + * + * @return a new object of class 'EEF Link Style'. + * @generated + */ + EEFLinkStyle createEEFLinkStyle(); + + /** + * Returns a new object of class 'EEF Link Conditional Style'. + * + * + * @return a new object of class 'EEF Link Conditional Style'. + * @generated + */ + EEFLinkConditionalStyle createEEFLinkConditionalStyle(); + + /** + * Returns a new object of class 'EEF Link Style Customization'. + * + * + * @return a new object of class 'EEF Link Style Customization'. + * @generated + */ + EEFLinkStyleCustomization createEEFLinkStyleCustomization(); + + /** + * Returns a new object of class 'EEF Select Style'. + * + * + * @return a new object of class 'EEF Select Style'. + * @generated + */ + EEFSelectStyle createEEFSelectStyle(); + + /** + * Returns a new object of class 'EEF Select Conditional Style'. + * + * + * @return a new object of class 'EEF Select Conditional Style'. + * @generated + */ + EEFSelectConditionalStyle createEEFSelectConditionalStyle(); + + /** + * Returns a new object of class 'EEF Select Style Customization'. + * + * + * @return a new object of class 'EEF Select Style Customization'. + * @generated + */ + EEFSelectStyleCustomization createEEFSelectStyleCustomization(); + + /** + * Returns a new object of class 'EEF Tree Style'. + * + * + * @return a new object of class 'EEF Tree Style'. + * @generated + */ + EEFTreeStyle createEEFTreeStyle(); + + /** + * Returns a new object of class 'EEF Tree Conditional Style'. + * + * + * @return a new object of class 'EEF Tree Conditional Style'. + * @generated + */ + EEFTreeConditionalStyle createEEFTreeConditionalStyle(); + + /** + * Returns a new object of class 'EEF Tree Style Customization'. + * + * + * @return a new object of class 'EEF Tree Style Customization'. + * @generated + */ + EEFTreeStyleCustomization createEEFTreeStyleCustomization(); + + /** + * Returns a new object of class 'EEF Table Style'. + * + * + * @return a new object of class 'EEF Table Style'. + * @generated + */ + EEFTableStyle createEEFTableStyle(); + + /** + * Returns a new object of class 'EEF Table Conditional Style'. + * + * + * @return a new object of class 'EEF Table Conditional Style'. + * @generated + */ + EEFTableConditionalStyle createEEFTableConditionalStyle(); + + /** + * Returns a new object of class 'EEF Table Style Customization'. + * + * + * @return a new object of class 'EEF Table Style Customization'. + * @generated + */ + EEFTableStyleCustomization createEEFTableStyleCustomization(); + + /** + * Returns a new object of class 'EEF Line Style'. + * + * + * @return a new object of class 'EEF Line Style'. + * @generated + */ + EEFLineStyle createEEFLineStyle(); + + /** + * Returns a new object of class 'EEF Line Conditional Style'. + * + * + * @return a new object of class 'EEF Line Conditional Style'. + * @generated + */ + EEFLineConditionalStyle createEEFLineConditionalStyle(); + + /** + * Returns a new object of class 'EEF Line Style Customization'. + * + * + * @return a new object of class 'EEF Line Style Customization'. + * @generated + */ + EEFLineStyleCustomization createEEFLineStyleCustomization(); + + /** + * Returns a new object of class 'EEF Column Style'. + * + * + * @return a new object of class 'EEF Column Style'. + * @generated + */ + EEFColumnStyle createEEFColumnStyle(); + + /** + * Returns a new object of class 'EEF Column Conditional Style'. + * + * + * @return a new object of class 'EEF Column Conditional Style'. + * @generated + */ + EEFColumnConditionalStyle createEEFColumnConditionalStyle(); + + /** + * Returns a new object of class 'EEF Column Style Customization'. + * + * + * @return a new object of class 'EEF Column Style Customization'. + * @generated + */ + EEFColumnStyleCustomization createEEFColumnStyleCustomization(); + /** * Returns the package supported by this factory. * diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java index 0668b0d40..b38c465e6 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java @@ -208,6 +208,15 @@ public interface EefPackage extends EPackage { */ int EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 8; + /** + * The feature id for the 'Style Customizations' reference list. + * + * + * @generated + * @ordered + */ + int EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 9; + /** * The number of structural features of the 'EEF View Description' class. * @@ -215,7 +224,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 9; + int EEF_VIEW_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 10; /** * The meta object id for the '{@link org.eclipse.eef.impl.EEFPageDescriptionImpl EEF Page Description}' class. @@ -381,6 +390,33 @@ public interface EefPackage extends EPackage { */ int EEF_GROUP_DESCRIPTION__CONTAINER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; + /** + * The feature id for the 'Collapsible Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + + /** + * The feature id for the 'Collapsed By Default Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; + + /** + * The feature id for the 'Validation Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 7; + /** * The number of structural features of the 'EEF Group Description' class. * @@ -388,7 +424,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + int EEF_GROUP_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 8; /** * The meta object id for the '{@link org.eclipse.eef.impl.EEFContainerDescriptionImpl EEF Container Description}' class. @@ -527,6 +563,42 @@ public interface EefPackage extends EPackage { */ int EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + /** + * The feature id for the 'Label Style' reference. + * + * + * @generated + * @ordered + */ + int EEF_WIDGET_DESCRIPTION__LABEL_STYLE = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Tooltip Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Help Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; + + /** + * The feature id for the 'Validation Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + /** * The number of structural features of the 'EEF Widget Description' class. * @@ -534,7 +606,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_WIDGET_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + int EEF_WIDGET_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; /** * The meta object id for the '{@link org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl EEF Java Extension Description}' class. @@ -739,6 +811,42 @@ public interface EefPackage extends EPackage { */ int EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + /** + * The feature id for the 'Label Style' reference. + * + * + * @generated + * @ordered + */ + int EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE = EEF_WIDGET_DESCRIPTION__LABEL_STYLE; + + /** + * The feature id for the 'Tooltip Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; + + /** + * The feature id for the 'Help Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION = EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION; + + /** + * The feature id for the 'Validation Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION = EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + /** * The number of structural features of the 'EEF Cell Widget Description' class. * @@ -913,6 +1021,42 @@ public interface EefPackage extends EPackage { */ int EEF_TEXT_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + /** + * The feature id for the 'Label Style' reference. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; + + /** + * The feature id for the 'Tooltip Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; + + /** + * The feature id for the 'Help Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; + + /** + * The feature id for the 'Validation Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + /** * The feature id for the 'Value Expression' attribute. * @@ -931,6 +1075,33 @@ public interface EefPackage extends EPackage { */ int EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + /** + * The feature id for the 'Read Only Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Content Assist Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Placeholder Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; + /** * The feature id for the 'Line Count' attribute. * @@ -938,7 +1109,25 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_TEXT_DESCRIPTION__LINE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + int EEF_TEXT_DESCRIPTION__LINE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 5; + + /** + * The feature id for the 'Style' containment reference. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__STYLE = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 6; + + /** + * The feature id for the 'Conditional Styles' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 7; /** * The number of structural features of the 'EEF Text Description' class. @@ -947,7 +1136,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_TEXT_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + int EEF_TEXT_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 8; /** * The meta object id for the '{@link org.eclipse.eef.impl.EEFCheckboxDescriptionImpl EEF Checkbox Description}' class. @@ -995,6 +1184,42 @@ public interface EefPackage extends EPackage { */ int EEF_CHECKBOX_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + /** + * The feature id for the 'Label Style' reference. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; + + /** + * The feature id for the 'Tooltip Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; + + /** + * The feature id for the 'Help Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; + + /** + * The feature id for the 'Validation Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_CHECKBOX_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + /** * The feature id for the 'Value Expression' attribute. * @@ -1068,6 +1293,42 @@ public interface EefPackage extends EPackage { */ int EEF_SELECT_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + /** + * The feature id for the 'Label Style' reference. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; + + /** + * The feature id for the 'Tooltip Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; + + /** + * The feature id for the 'Help Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; + + /** + * The feature id for the 'Validation Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_SELECT_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + /** * The feature id for the 'Value Expression' attribute. * @@ -1168,6 +1429,42 @@ public interface EefPackage extends EPackage { */ int EEF_LABEL_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + /** + * The feature id for the 'Label Style' reference. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; + + /** + * The feature id for the 'Tooltip Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; + + /** + * The feature id for the 'Help Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; + + /** + * The feature id for the 'Validation Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LABEL_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + /** * The feature id for the 'Value Expression' attribute. * @@ -1233,71 +1530,107 @@ public interface EefPackage extends EPackage { int EEF_RADIO_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; /** - * The feature id for the 'Value Expression' attribute. + * The feature id for the 'Label Style' reference. * * * @generated * @ordered */ - int EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + int EEF_RADIO_DESCRIPTION__LABEL_STYLE = EEF_WIDGET_DESCRIPTION__LABEL_STYLE; /** - * The feature id for the 'Edit Expression' attribute. + * The feature id for the 'Tooltip Expression' attribute. * * * @generated * @ordered */ - int EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + int EEF_RADIO_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; /** - * The feature id for the 'Candidates Expression' attribute. + * The feature id for the 'Help Expression' attribute. * * * @generated * @ordered */ - int EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + int EEF_RADIO_DESCRIPTION__HELP_EXPRESSION = EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION; /** - * The feature id for the 'Candidate Display Expression' attribute. + * The feature id for the 'Validation Expression' attribute. * * * @generated * @ordered */ - int EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + int EEF_RADIO_DESCRIPTION__VALIDATION_EXPRESSION = EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; /** - * The number of structural features of the 'EEF Radio Description' class. + * The feature id for the 'Value Expression' attribute. * * * @generated * @ordered */ - int EEF_RADIO_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; + int EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl EEF Tree Dialog Select Description}' class. + * The feature id for the 'Edit Expression' attribute. * * - * @see org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeDialogSelectDescription() * @generated + * @ordered */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION = 16; + int EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Candidates Expression' attribute. * * * @generated * @ordered */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + int EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Candidate Display Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; + + /** + * The number of structural features of the 'EEF Radio Description' class. + * + * + * @generated + * @ordered + */ + int EEF_RADIO_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl EEF Tree Dialog Select Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeDialogSelectDescription() + * @generated + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION = 16; + + /** + * The feature id for the 'Required Context Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + + /** + * The feature id for the 'Excluded Context Variables' containment reference list. * * * @generated @@ -1323,6 +1656,42 @@ public interface EefPackage extends EPackage { */ int EEF_TREE_DIALOG_SELECT_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + /** + * The feature id for the 'Label Style' reference. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; + + /** + * The feature id for the 'Tooltip Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; + + /** + * The feature id for the 'Help Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; + + /** + * The feature id for the 'Validation Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + /** * The feature id for the 'Semantic Candidate Expression' attribute. * @@ -1414,6 +1783,42 @@ public interface EefPackage extends EPackage { */ int EEF_LINK_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + /** + * The feature id for the 'Label Style' reference. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; + + /** + * The feature id for the 'Tooltip Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; + + /** + * The feature id for the 'Help Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; + + /** + * The feature id for the 'Validation Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINK_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + /** * The feature id for the 'On Click Expression' attribute. * @@ -1478,6 +1883,42 @@ public interface EefPackage extends EPackage { */ int EEF_IMAGE_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + /** + * The feature id for the 'Label Style' reference. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; + + /** + * The feature id for the 'Tooltip Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; + + /** + * The feature id for the 'Help Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; + + /** + * The feature id for the 'Validation Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + /** * The feature id for the 'Value Expression' attribute. * @@ -1542,6 +1983,42 @@ public interface EefPackage extends EPackage { */ int EEF_TREE_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + /** + * The feature id for the 'Label Style' reference. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; + + /** + * The feature id for the 'Tooltip Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; + + /** + * The feature id for the 'Help Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; + + /** + * The feature id for the 'Validation Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TREE_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + /** * The feature id for the 'Value Expression' attribute. * @@ -1624,6 +2101,42 @@ public interface EefPackage extends EPackage { */ int EEF_IMAGE_PICKER_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + /** + * The feature id for the 'Label Style' reference. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__LABEL_STYLE = EEF_WIDGET_DESCRIPTION__LABEL_STYLE; + + /** + * The feature id for the 'Tooltip Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; + + /** + * The feature id for the 'Help Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__HELP_EXPRESSION = EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION; + + /** + * The feature id for the 'Validation Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_IMAGE_PICKER_DESCRIPTION__VALIDATION_EXPRESSION = EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + /** * The feature id for the 'Value Expression' attribute. * @@ -1706,6 +2219,42 @@ public interface EefPackage extends EPackage { */ int EEF_TABLE_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; + /** + * The feature id for the 'Label Style' reference. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__LABEL_STYLE = EEF_WIDGET_DESCRIPTION__LABEL_STYLE; + + /** + * The feature id for the 'Tooltip Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; + + /** + * The feature id for the 'Help Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__HELP_EXPRESSION = EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION; + + /** + * The feature id for the 'Validation Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_DESCRIPTION__VALIDATION_EXPRESSION = EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + /** * The feature id for the 'Value Expression' attribute. * @@ -1779,15 +2328,6 @@ public interface EefPackage extends EPackage { */ int EEF_COLUMN_DESCRIPTION__CELL_WIDGET = 2; - /** - * The feature id for the 'Context Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION = 3; - /** * The number of structural features of the 'EEF Column Description' class. * @@ -1795,7 +2335,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_COLUMN_DESCRIPTION_FEATURE_COUNT = 4; + int EEF_COLUMN_DESCRIPTION_FEATURE_COUNT = 3; /** * The meta object id for the '{@link org.eclipse.eef.impl.EEFLineDescriptionImpl EEF Line Description}' class. @@ -1899,2154 +2439,5263 @@ public interface EefPackage extends EPackage { int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 1; /** - * The meta object id for the 'Expression' data type. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFStyleImpl EEF Style}' class. * * - * @see java.lang.String - * @see org.eclipse.eef.impl.EefPackageImpl#getExpression() + * @see org.eclipse.eef.impl.EEFStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFStyle() * @generated */ - int EXPRESSION = 27; + int EEF_STYLE = 27; /** - * The meta object id for the 'Type Name' data type. + * The feature id for the 'Font Expression' attribute. * * - * @see java.lang.String - * @see org.eclipse.eef.impl.EefPackageImpl#getTypeName() * @generated + * @ordered */ - int TYPE_NAME = 28; + int EEF_STYLE__FONT_EXPRESSION = 0; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFViewDescription EEF View Description}'. + * The number of structural features of the 'EEF Style' class. * * - * @return the meta object for class 'EEF View Description'. - * @see org.eclipse.eef.EEFViewDescription * @generated + * @ordered */ - EClass getEEFViewDescription(); + int EEF_STYLE_FEATURE_COUNT = 1; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFViewDescription#getIdentifier Identifier}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFConditionalStyleImpl EEF Conditional Style}' class. * * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.EEFViewDescription#getIdentifier() - * @see #getEEFViewDescription() + * @see org.eclipse.eef.impl.EEFConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFConditionalStyle() * @generated */ - EAttribute getEEFViewDescription_Identifier(); + int EEF_CONDITIONAL_STYLE = 28; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFViewDescription#getLabelExpression Label Expression}'. + * The feature id for the 'Conditional Expression' attribute. * * - * @return the meta object for the attribute 'Label Expression'. - * @see org.eclipse.eef.EEFViewDescription#getLabelExpression() - * @see #getEEFViewDescription() * @generated + * @ordered */ - EAttribute getEEFViewDescription_LabelExpression(); + int EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = 0; /** - * Returns the meta object for the attribute list '{@link org.eclipse.eef.EEFViewDescription#getEPackageNsUris EPackage Ns Uris}'. + * The number of structural features of the 'EEF Conditional Style' class. * * - * @return the meta object for the attribute list 'EPackage Ns Uris'. - * @see org.eclipse.eef.EEFViewDescription#getEPackageNsUris() - * @see #getEEFViewDescription() * @generated + * @ordered */ - EAttribute getEEFViewDescription_EPackageNsUris(); + int EEF_CONDITIONAL_STYLE_FEATURE_COUNT = 1; /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getGroups Groups}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFStyleCustomizationImpl EEF Style Customization}' class. * * - * @return the meta object for the containment reference list 'Groups'. - * @see org.eclipse.eef.EEFViewDescription#getGroups() - * @see #getEEFViewDescription() + * @see org.eclipse.eef.impl.EEFStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFStyleCustomization() * @generated */ - EReference getEEFViewDescription_Groups(); + int EEF_STYLE_CUSTOMIZATION = 29; /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getPages Pages}'. + * The number of structural features of the 'EEF Style Customization' class. * * - * @return the meta object for the containment reference list 'Pages'. - * @see org.eclipse.eef.EEFViewDescription#getPages() - * @see #getEEFViewDescription() * @generated + * @ordered */ - EReference getEEFViewDescription_Pages(); + int EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT = 0; /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getJavaExtensions Java Extensions}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFGroupStyleImpl EEF Group Style}' class. * * - * @return the meta object for the containment reference list 'Java Extensions'. - * @see org.eclipse.eef.EEFViewDescription#getJavaExtensions() - * @see #getEEFViewDescription() + * @see org.eclipse.eef.impl.EEFGroupStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupStyle() * @generated */ - EReference getEEFViewDescription_JavaExtensions(); + int EEF_GROUP_STYLE = 30; /** - * Returns the meta object for the reference list '{@link org.eclipse.eef.EEFViewDescription#getImportedViews Imported Views}'. + * The feature id for the 'Font Expression' attribute. * * - * @return the meta object for the reference list 'Imported Views'. - * @see org.eclipse.eef.EEFViewDescription#getImportedViews() - * @see #getEEFViewDescription() * @generated + * @ordered */ - EReference getEEFViewDescription_ImportedViews(); + int EEF_GROUP_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getTreeStructures Tree Structures}'. + * The feature id for the 'Foreground Color Expression' attribute. * * - * @return the meta object for the containment reference list 'Tree Structures'. - * @see org.eclipse.eef.EEFViewDescription#getTreeStructures() - * @see #getEEFViewDescription() * @generated + * @ordered */ - EReference getEEFViewDescription_TreeStructures(); + int EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getTableStructures Table Structures}'. + * The number of structural features of the 'EEF Group Style' class. * * - * @return the meta object for the containment reference list 'Table Structures'. - * @see org.eclipse.eef.EEFViewDescription#getTableStructures() - * @see #getEEFViewDescription() * @generated + * @ordered */ - EReference getEEFViewDescription_TableStructures(); + int EEF_GROUP_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 1; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFPageDescription EEF Page Description}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFGroupConditionalStyleImpl EEF Group Conditional Style}' class. * * - * @return the meta object for class 'EEF Page Description'. - * @see org.eclipse.eef.EEFPageDescription + * @see org.eclipse.eef.impl.EEFGroupConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupConditionalStyle() * @generated */ - EClass getEEFPageDescription(); + int EEF_GROUP_CONDITIONAL_STYLE = 31; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getIdentifier Identifier}'. + * The feature id for the 'Conditional Expression' attribute. * * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.EEFPageDescription#getIdentifier() - * @see #getEEFPageDescription() * @generated + * @ordered */ - EAttribute getEEFPageDescription_Identifier(); + int EEF_GROUP_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getLabelExpression Label Expression}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for the attribute 'Label Expression'. - * @see org.eclipse.eef.EEFPageDescription#getLabelExpression() - * @see #getEEFPageDescription() * @generated + * @ordered */ - EAttribute getEEFPageDescription_LabelExpression(); + int EEF_GROUP_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getDomainClass Domain Class}'. + * The number of structural features of the 'EEF Group Conditional Style' class. * * - * @return the meta object for the attribute 'Domain Class'. - * @see org.eclipse.eef.EEFPageDescription#getDomainClass() - * @see #getEEFPageDescription() * @generated + * @ordered */ - EAttribute getEEFPageDescription_DomainClass(); + int EEF_GROUP_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFGroupStyleCustomizationImpl EEF Group Style Customization}' class. * * - * @return the meta object for the attribute 'Semantic Candidate Expression'. - * @see org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression() - * @see #getEEFPageDescription() + * @see org.eclipse.eef.impl.EEFGroupStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupStyleCustomization() * @generated */ - EAttribute getEEFPageDescription_SemanticCandidateExpression(); + int EEF_GROUP_STYLE_CUSTOMIZATION = 32; /** - * Returns the meta object for the reference list '{@link org.eclipse.eef.EEFPageDescription#getGroups Groups}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for the reference list 'Groups'. - * @see org.eclipse.eef.EEFPageDescription#getGroups() - * @see #getEEFPageDescription() * @generated + * @ordered */ - EReference getEEFPageDescription_Groups(); + int EEF_GROUP_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; /** - * Returns the meta object for the reference '{@link org.eclipse.eef.EEFPageDescription#getExtendedPage Extended Page}'. + * The number of structural features of the 'EEF Group Style Customization' class. * * - * @return the meta object for the reference 'Extended Page'. - * @see org.eclipse.eef.EEFPageDescription#getExtendedPage() - * @see #getEEFPageDescription() * @generated + * @ordered */ - EReference getEEFPageDescription_ExtendedPage(); + int EEF_GROUP_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFGroupDescription EEF Group Description}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTextStyleImpl EEF Text Style}' class. * * - * @return the meta object for class 'EEF Group Description'. - * @see org.eclipse.eef.EEFGroupDescription + * @see org.eclipse.eef.impl.EEFTextStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextStyle() * @generated */ - EClass getEEFGroupDescription(); + int EEF_TEXT_STYLE = 33; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getIdentifier Identifier}'. + * The feature id for the 'Font Expression' attribute. * * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.EEFGroupDescription#getIdentifier() - * @see #getEEFGroupDescription() * @generated + * @ordered */ - EAttribute getEEFGroupDescription_Identifier(); + int EEF_TEXT_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getLabelExpression Label Expression}'. + * The feature id for the 'Background Color Expression' attribute. * * - * @return the meta object for the attribute 'Label Expression'. - * @see org.eclipse.eef.EEFGroupDescription#getLabelExpression() - * @see #getEEFGroupDescription() * @generated + * @ordered */ - EAttribute getEEFGroupDescription_LabelExpression(); + int EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getDomainClass Domain Class}'. + * The feature id for the 'Foreground Color Expression' attribute. * * - * @return the meta object for the attribute 'Domain Class'. - * @see org.eclipse.eef.EEFGroupDescription#getDomainClass() - * @see #getEEFGroupDescription() * @generated + * @ordered */ - EAttribute getEEFGroupDescription_DomainClass(); + int EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. + * The number of structural features of the 'EEF Text Style' class. * * - * @return the meta object for the attribute 'Semantic Candidate Expression'. - * @see org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression() - * @see #getEEFGroupDescription() * @generated + * @ordered */ - EAttribute getEEFGroupDescription_SemanticCandidateExpression(); + int EEF_TEXT_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 2; /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFGroupDescription#getContainer Container}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTextConditionalStyleImpl EEF Text Conditional Style}' class. * * - * @return the meta object for the containment reference 'Container'. - * @see org.eclipse.eef.EEFGroupDescription#getContainer() - * @see #getEEFGroupDescription() + * @see org.eclipse.eef.impl.EEFTextConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextConditionalStyle() * @generated */ - EReference getEEFGroupDescription_Container(); + int EEF_TEXT_CONDITIONAL_STYLE = 34; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFContainerDescription EEF Container Description}'. + * The feature id for the 'Conditional Expression' attribute. * * - * @return the meta object for class 'EEF Container Description'. - * @see org.eclipse.eef.EEFContainerDescription * @generated + * @ordered */ - EClass getEEFContainerDescription(); + int EEF_TEXT_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getIdentifier Identifier}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.EEFContainerDescription#getIdentifier() - * @see #getEEFContainerDescription() * @generated + * @ordered */ - EAttribute getEEFContainerDescription_Identifier(); + int EEF_TEXT_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. + * The number of structural features of the 'EEF Text Conditional Style' class. * * - * @return the meta object for the attribute 'Semantic Candidate Expression'. - * @see org.eclipse.eef.EEFContainerDescription#getSemanticCandidateExpression() - * @see #getEEFContainerDescription() * @generated + * @ordered */ - EAttribute getEEFContainerDescription_SemanticCandidateExpression(); + int EEF_TEXT_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getDomainClass Domain Class}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTextStyleCustomizationImpl EEF Text Style Customization}' class. * * - * @return the meta object for the attribute 'Domain Class'. - * @see org.eclipse.eef.EEFContainerDescription#getDomainClass() - * @see #getEEFContainerDescription() + * @see org.eclipse.eef.impl.EEFTextStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextStyleCustomization() * @generated */ - EAttribute getEEFContainerDescription_DomainClass(); + int EEF_TEXT_STYLE_CUSTOMIZATION = 35; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getLayoutColumnCount Layout Column Count}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for the attribute 'Layout Column Count'. - * @see org.eclipse.eef.EEFContainerDescription#getLayoutColumnCount() - * @see #getEEFContainerDescription() * @generated + * @ordered */ - EAttribute getEEFContainerDescription_LayoutColumnCount(); + int EEF_TEXT_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFContainerDescription#getContainers Containers}'. + * The number of structural features of the 'EEF Text Style Customization' class. * * - * @return the meta object for the containment reference list 'Containers'. - * @see org.eclipse.eef.EEFContainerDescription#getContainers() - * @see #getEEFContainerDescription() * @generated + * @ordered */ - EReference getEEFContainerDescription_Containers(); + int EEF_TEXT_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFContainerDescription#getWidgets Widgets}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFCheckboxStyleImpl EEF Checkbox Style}' class. * * - * @return the meta object for the containment reference list 'Widgets'. - * @see org.eclipse.eef.EEFContainerDescription#getWidgets() - * @see #getEEFContainerDescription() + * @see org.eclipse.eef.impl.EEFCheckboxStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxStyle() * @generated */ - EReference getEEFContainerDescription_Widgets(); + int EEF_CHECKBOX_STYLE = 36; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFWidgetDescription EEF Widget Description}'. + * The feature id for the 'Font Expression' attribute. * * - * @return the meta object for class 'EEF Widget Description'. - * @see org.eclipse.eef.EEFWidgetDescription * @generated + * @ordered */ - EClass getEEFWidgetDescription(); + int EEF_CHECKBOX_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getIdentifier Identifier}'. + * The feature id for the 'Background Color Expression' attribute. * * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.EEFWidgetDescription#getIdentifier() - * @see #getEEFWidgetDescription() * @generated + * @ordered */ - EAttribute getEEFWidgetDescription_Identifier(); + int EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression Label Expression}'. + * The feature id for the 'Foreground Color Expression' attribute. * * - * @return the meta object for the attribute 'Label Expression'. - * @see org.eclipse.eef.EEFWidgetDescription#getLabelExpression() - * @see #getEEFWidgetDescription() * @generated + * @ordered */ - EAttribute getEEFWidgetDescription_LabelExpression(); + int EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFJavaExtensionDescription EEF Java Extension Description}'. + * The number of structural features of the 'EEF Checkbox Style' class. * * - * @return the meta object for class 'EEF Java Extension Description'. - * @see org.eclipse.eef.EEFJavaExtensionDescription * @generated + * @ordered */ - EClass getEEFJavaExtensionDescription(); + int EEF_CHECKBOX_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 2; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFJavaExtensionDescription#getQualifiedName Qualified Name}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFCheckboxConditionalStyleImpl EEF Checkbox Conditional Style}' class. * * - * @return the meta object for the attribute 'Qualified Name'. - * @see org.eclipse.eef.EEFJavaExtensionDescription#getQualifiedName() - * @see #getEEFJavaExtensionDescription() + * @see org.eclipse.eef.impl.EEFCheckboxConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxConditionalStyle() * @generated */ - EAttribute getEEFJavaExtensionDescription_QualifiedName(); + int EEF_CHECKBOX_CONDITIONAL_STYLE = 37; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeStructureDescription EEF Tree Structure Description}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for class 'EEF Tree Structure Description'. - * @see org.eclipse.eef.EEFTreeStructureDescription * @generated + * @ordered */ - EClass getEEFTreeStructureDescription(); + int EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE = 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeStructureDescription#getIdentifier Identifier}'. + * The number of structural features of the 'EEF Checkbox Conditional Style' class. * * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.EEFTreeStructureDescription#getIdentifier() - * @see #getEEFTreeStructureDescription() * @generated + * @ordered */ - EAttribute getEEFTreeStructureDescription_Identifier(); + int EEF_CHECKBOX_CONDITIONAL_STYLE_FEATURE_COUNT = 1; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeStructureDescription#isMultiple Multiple}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFCheckboxStyleCustomizationImpl EEF Checkbox Style Customization}' class. * * - * @return the meta object for the attribute 'Multiple'. - * @see org.eclipse.eef.EEFTreeStructureDescription#isMultiple() - * @see #getEEFTreeStructureDescription() + * @see org.eclipse.eef.impl.EEFCheckboxStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxStyleCustomization() * @generated */ - EAttribute getEEFTreeStructureDescription_Multiple(); + int EEF_CHECKBOX_STYLE_CUSTOMIZATION = 38; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription EEF Interpreted Table Structure Description}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for class 'EEF Interpreted Table Structure Description'. - * @see org.eclipse.eef.EEFInterpretedTableStructureDescription * @generated + * @ordered */ - EClass getEEFInterpretedTableStructureDescription(); + int EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription#getColumns Columns}'. + * The number of structural features of the 'EEF Checkbox Style Customization' class. * * - * @return the meta object for the containment reference list 'Columns'. - * @see org.eclipse.eef.EEFInterpretedTableStructureDescription#getColumns() - * @see #getEEFInterpretedTableStructureDescription() * @generated + * @ordered */ - EReference getEEFInterpretedTableStructureDescription_Columns(); + int EEF_CHECKBOX_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription#getLine Line}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFLabelStyleImpl EEF Label Style}' class. * * - * @return the meta object for the containment reference 'Line'. - * @see org.eclipse.eef.EEFInterpretedTableStructureDescription#getLine() - * @see #getEEFInterpretedTableStructureDescription() + * @see org.eclipse.eef.impl.EEFLabelStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelStyle() * @generated */ - EReference getEEFInterpretedTableStructureDescription_Line(); + int EEF_LABEL_STYLE = 39; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFCellWidgetDescription EEF Cell Widget Description}'. + * The feature id for the 'Font Expression' attribute. * * - * @return the meta object for class 'EEF Cell Widget Description'. - * @see org.eclipse.eef.EEFCellWidgetDescription * @generated + * @ordered */ - EClass getEEFCellWidgetDescription(); + int EEF_LABEL_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription EEF Adapter Factory Tree Structure Description}'. + * The feature id for the 'Background Color Expression' attribute. * * - * @return the meta object for class 'EEF Adapter Factory Tree Structure Description'. - * @see org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription * @generated + * @ordered */ - EClass getEEFAdapterFactoryTreeStructureDescription(); + int EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}'. + * The feature id for the 'Foreground Color Expression' attribute. * * - * @return the meta object for the attribute 'Adapter Factory Provider'. - * @see org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider() - * @see #getEEFAdapterFactoryTreeStructureDescription() * @generated + * @ordered */ - EAttribute getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(); + int EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription EEF Interpreted Tree Structure Description}'. + * The number of structural features of the 'EEF Label Style' class. * * - * @return the meta object for class 'EEF Interpreted Tree Structure Description'. - * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription * @generated + * @ordered */ - EClass getEEFInterpretedTreeStructureDescription(); + int EEF_LABEL_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 2; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getRootsExpression Roots Expression}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFLabelConditionalStyleImpl EEF Label Conditional Style}' class. * * - * @return the meta object for the attribute 'Roots Expression'. - * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getRootsExpression() - * @see #getEEFInterpretedTreeStructureDescription() + * @see org.eclipse.eef.impl.EEFLabelConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelConditionalStyle() * @generated */ - EAttribute getEEFInterpretedTreeStructureDescription_RootsExpression(); + int EEF_LABEL_CONDITIONAL_STYLE = 40; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression Children Expression}'. + * The feature id for the 'Conditional Expression' attribute. * * - * @return the meta object for the attribute 'Children Expression'. - * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression() - * @see #getEEFInterpretedTreeStructureDescription() * @generated + * @ordered */ - EAttribute getEEFInterpretedTreeStructureDescription_ChildrenExpression(); + int EEF_LABEL_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression Selectable Predicate Expression}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for the attribute 'Selectable Predicate Expression'. - * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression() - * @see #getEEFInterpretedTreeStructureDescription() * @generated + * @ordered */ - EAttribute getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(); + int EEF_LABEL_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression Candidate Display Expression}'. + * The number of structural features of the 'EEF Label Conditional Style' class. * * - * @return the meta object for the attribute 'Candidate Display Expression'. - * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression() - * @see #getEEFInterpretedTreeStructureDescription() * @generated + * @ordered */ - EAttribute getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(); + int EEF_LABEL_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTextDescription EEF Text Description}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFLabelStyleCustomizationImpl EEF Label Style Customization}' class. * * - * @return the meta object for class 'EEF Text Description'. - * @see org.eclipse.eef.EEFTextDescription + * @see org.eclipse.eef.impl.EEFLabelStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelStyleCustomization() * @generated */ - EClass getEEFTextDescription(); + int EEF_LABEL_STYLE_CUSTOMIZATION = 41; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getValueExpression Value Expression}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFTextDescription#getValueExpression() - * @see #getEEFTextDescription() * @generated + * @ordered */ - EAttribute getEEFTextDescription_ValueExpression(); + int EEF_LABEL_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getEditExpression Edit Expression}'. + * The number of structural features of the 'EEF Label Style Customization' class. * * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.EEFTextDescription#getEditExpression() - * @see #getEEFTextDescription() * @generated + * @ordered */ - EAttribute getEEFTextDescription_EditExpression(); + int EEF_LABEL_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getLineCount Line Count}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFRadioStyleImpl EEF Radio Style}' class. * * - * @return the meta object for the attribute 'Line Count'. - * @see org.eclipse.eef.EEFTextDescription#getLineCount() - * @see #getEEFTextDescription() + * @see org.eclipse.eef.impl.EEFRadioStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioStyle() * @generated */ - EAttribute getEEFTextDescription_LineCount(); + int EEF_RADIO_STYLE = 42; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFCheckboxDescription EEF Checkbox Description}'. + * The feature id for the 'Font Expression' attribute. * * - * @return the meta object for class 'EEF Checkbox Description'. - * @see org.eclipse.eef.EEFCheckboxDescription * @generated + * @ordered */ - EClass getEEFCheckboxDescription(); + int EEF_RADIO_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFCheckboxDescription#getValueExpression Value Expression}'. + * The feature id for the 'Background Color Expression' attribute. * * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFCheckboxDescription#getValueExpression() - * @see #getEEFCheckboxDescription() * @generated + * @ordered */ - EAttribute getEEFCheckboxDescription_ValueExpression(); + int EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFCheckboxDescription#getEditExpression Edit Expression}'. + * The feature id for the 'Foreground Color Expression' attribute. * * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.EEFCheckboxDescription#getEditExpression() - * @see #getEEFCheckboxDescription() * @generated + * @ordered */ - EAttribute getEEFCheckboxDescription_EditExpression(); + int EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFSelectDescription EEF Select Description}'. + * The number of structural features of the 'EEF Radio Style' class. * * - * @return the meta object for class 'EEF Select Description'. - * @see org.eclipse.eef.EEFSelectDescription * @generated + * @ordered */ - EClass getEEFSelectDescription(); + int EEF_RADIO_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 2; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getValueExpression Value Expression}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFRadioConditionalStyleImpl EEF Radio Conditional Style}' class. * * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFSelectDescription#getValueExpression() - * @see #getEEFSelectDescription() + * @see org.eclipse.eef.impl.EEFRadioConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioConditionalStyle() * @generated */ - EAttribute getEEFSelectDescription_ValueExpression(); + int EEF_RADIO_CONDITIONAL_STYLE = 43; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getEditExpression Edit Expression}'. + * The feature id for the 'Conditional Expression' attribute. * * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.EEFSelectDescription#getEditExpression() - * @see #getEEFSelectDescription() * @generated + * @ordered */ - EAttribute getEEFSelectDescription_EditExpression(); + int EEF_RADIO_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getCandidatesExpression Candidates Expression}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for the attribute 'Candidates Expression'. - * @see org.eclipse.eef.EEFSelectDescription#getCandidatesExpression() - * @see #getEEFSelectDescription() * @generated + * @ordered */ - EAttribute getEEFSelectDescription_CandidatesExpression(); + int EEF_RADIO_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#isMultiple Multiple}'. + * The number of structural features of the 'EEF Radio Conditional Style' class. * * - * @return the meta object for the attribute 'Multiple'. - * @see org.eclipse.eef.EEFSelectDescription#isMultiple() - * @see #getEEFSelectDescription() * @generated + * @ordered */ - EAttribute getEEFSelectDescription_Multiple(); + int EEF_RADIO_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getCandidateDisplayExpression Candidate Display Expression}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFRadioStyleCustomizationImpl EEF Radio Style Customization}' class. * * - * @return the meta object for the attribute 'Candidate Display Expression'. - * @see org.eclipse.eef.EEFSelectDescription#getCandidateDisplayExpression() - * @see #getEEFSelectDescription() + * @see org.eclipse.eef.impl.EEFRadioStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioStyleCustomization() * @generated */ - EAttribute getEEFSelectDescription_CandidateDisplayExpression(); + int EEF_RADIO_STYLE_CUSTOMIZATION = 44; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFLabelDescription EEF Label Description}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for class 'EEF Label Description'. - * @see org.eclipse.eef.EEFLabelDescription * @generated + * @ordered */ - EClass getEEFLabelDescription(); + int EEF_RADIO_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLabelDescription#getValueExpression Value Expression}'. + * The number of structural features of the 'EEF Radio Style Customization' class. * * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFLabelDescription#getValueExpression() - * @see #getEEFLabelDescription() * @generated + * @ordered */ - EAttribute getEEFLabelDescription_ValueExpression(); + int EEF_RADIO_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFRadioDescription EEF Radio Description}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFLinkStyleImpl EEF Link Style}' class. * * - * @return the meta object for class 'EEF Radio Description'. - * @see org.eclipse.eef.EEFRadioDescription + * @see org.eclipse.eef.impl.EEFLinkStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkStyle() * @generated */ - EClass getEEFRadioDescription(); + int EEF_LINK_STYLE = 45; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getValueExpression Value Expression}'. + * The feature id for the 'Font Expression' attribute. * * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFRadioDescription#getValueExpression() - * @see #getEEFRadioDescription() * @generated + * @ordered */ - EAttribute getEEFRadioDescription_ValueExpression(); + int EEF_LINK_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getEditExpression Edit Expression}'. + * The feature id for the 'Background Color Expression' attribute. * * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.EEFRadioDescription#getEditExpression() - * @see #getEEFRadioDescription() * @generated + * @ordered */ - EAttribute getEEFRadioDescription_EditExpression(); + int EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getCandidatesExpression Candidates Expression}'. + * The feature id for the 'Foreground Color Expression' attribute. * * - * @return the meta object for the attribute 'Candidates Expression'. - * @see org.eclipse.eef.EEFRadioDescription#getCandidatesExpression() - * @see #getEEFRadioDescription() * @generated + * @ordered */ - EAttribute getEEFRadioDescription_CandidatesExpression(); + int EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getCandidateDisplayExpression Candidate Display Expression}'. + * The feature id for the 'Background Image Expression' attribute. * * - * @return the meta object for the attribute 'Candidate Display Expression'. - * @see org.eclipse.eef.EEFRadioDescription#getCandidateDisplayExpression() - * @see #getEEFRadioDescription() * @generated + * @ordered */ - EAttribute getEEFRadioDescription_CandidateDisplayExpression(); + int EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 2; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeDialogSelectDescription EEF Tree Dialog Select Description}'. + * The number of structural features of the 'EEF Link Style' class. * * - * @return the meta object for class 'EEF Tree Dialog Select Description'. - * @see org.eclipse.eef.EEFTreeDialogSelectDescription * @generated + * @ordered */ - EClass getEEFTreeDialogSelectDescription(); + int EEF_LINK_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 3; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFLinkConditionalStyleImpl EEF Link Conditional Style}' class. * * - * @return the meta object for the attribute 'Semantic Candidate Expression'. - * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression() - * @see #getEEFTreeDialogSelectDescription() + * @see org.eclipse.eef.impl.EEFLinkConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkConditionalStyle() * @generated */ - EAttribute getEEFTreeDialogSelectDescription_SemanticCandidateExpression(); + int EEF_LINK_CONDITIONAL_STYLE = 46; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDefaultFilter Default Filter}'. + * The feature id for the 'Conditional Expression' attribute. * * - * @return the meta object for the attribute 'Default Filter'. - * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getDefaultFilter() - * @see #getEEFTreeDialogSelectDescription() * @generated + * @ordered */ - EAttribute getEEFTreeDialogSelectDescription_DefaultFilter(); + int EEF_LINK_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDomainClass Domain Class}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for the attribute 'Domain Class'. - * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getDomainClass() - * @see #getEEFTreeDialogSelectDescription() * @generated + * @ordered */ - EAttribute getEEFTreeDialogSelectDescription_DomainClass(); + int EEF_LINK_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; /** - * Returns the meta object for the reference '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getTree Tree}'. + * The number of structural features of the 'EEF Link Conditional Style' class. * * - * @return the meta object for the reference 'Tree'. - * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getTree() - * @see #getEEFTreeDialogSelectDescription() * @generated + * @ordered */ - EReference getEEFTreeDialogSelectDescription_Tree(); + int EEF_LINK_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFLinkDescription EEF Link Description}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFLinkStyleCustomizationImpl EEF Link Style Customization}' class. * * - * @return the meta object for class 'EEF Link Description'. - * @see org.eclipse.eef.EEFLinkDescription + * @see org.eclipse.eef.impl.EEFLinkStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkStyleCustomization() * @generated */ - EClass getEEFLinkDescription(); + int EEF_LINK_STYLE_CUSTOMIZATION = 47; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLinkDescription#getOnClickExpression On Click Expression}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for the attribute 'On Click Expression'. - * @see org.eclipse.eef.EEFLinkDescription#getOnClickExpression() - * @see #getEEFLinkDescription() * @generated + * @ordered */ - EAttribute getEEFLinkDescription_OnClickExpression(); + int EEF_LINK_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFImageDescription EEF Image Description}'. + * The number of structural features of the 'EEF Link Style Customization' class. * * - * @return the meta object for class 'EEF Image Description'. - * @see org.eclipse.eef.EEFImageDescription * @generated + * @ordered */ - EClass getEEFImageDescription(); + int EEF_LINK_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImageDescription#getValueExpression Value Expression}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFSelectStyleImpl EEF Select Style}' class. * * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFImageDescription#getValueExpression() - * @see #getEEFImageDescription() + * @see org.eclipse.eef.impl.EEFSelectStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectStyle() * @generated */ - EAttribute getEEFImageDescription_ValueExpression(); + int EEF_SELECT_STYLE = 48; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeDescription EEF Tree Description}'. + * The feature id for the 'Font Expression' attribute. * * - * @return the meta object for class 'EEF Tree Description'. - * @see org.eclipse.eef.EEFTreeDescription * @generated + * @ordered */ - EClass getEEFTreeDescription(); + int EEF_SELECT_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDescription#getValueExpression Value Expression}'. + * The feature id for the 'Background Color Expression' attribute. * * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFTreeDescription#getValueExpression() - * @see #getEEFTreeDescription() * @generated + * @ordered */ - EAttribute getEEFTreeDescription_ValueExpression(); + int EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; /** - * Returns the meta object for the reference '{@link org.eclipse.eef.EEFTreeDescription#getTreeStructure Tree Structure}'. + * The feature id for the 'Foreground Color Expression' attribute. * * - * @return the meta object for the reference 'Tree Structure'. - * @see org.eclipse.eef.EEFTreeDescription#getTreeStructure() - * @see #getEEFTreeDescription() * @generated + * @ordered */ - EReference getEEFTreeDescription_TreeStructure(); + int EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDescription#getEditExpression Edit Expression}'. + * The number of structural features of the 'EEF Select Style' class. * * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.EEFTreeDescription#getEditExpression() - * @see #getEEFTreeDescription() * @generated + * @ordered */ - EAttribute getEEFTreeDescription_EditExpression(); + int EEF_SELECT_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 2; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFImagePickerDescription EEF Image Picker Description}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFSelectConditionalStyleImpl EEF Select Conditional Style}' class. * * - * @return the meta object for class 'EEF Image Picker Description'. - * @see org.eclipse.eef.EEFImagePickerDescription + * @see org.eclipse.eef.impl.EEFSelectConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectConditionalStyle() * @generated */ - EClass getEEFImagePickerDescription(); + int EEF_SELECT_CONDITIONAL_STYLE = 49; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImagePickerDescription#getValueExpression Value Expression}'. + * The feature id for the 'Conditional Expression' attribute. * * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFImagePickerDescription#getValueExpression() - * @see #getEEFImagePickerDescription() * @generated + * @ordered */ - EAttribute getEEFImagePickerDescription_ValueExpression(); + int EEF_SELECT_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImagePickerDescription#getEditExpression Edit Expression}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.EEFImagePickerDescription#getEditExpression() - * @see #getEEFImagePickerDescription() * @generated + * @ordered */ - EAttribute getEEFImagePickerDescription_EditExpression(); + int EEF_SELECT_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImagePickerDescription#getCandidatesExpression Candidates Expression}'. + * The number of structural features of the 'EEF Select Conditional Style' class. * * - * @return the meta object for the attribute 'Candidates Expression'. - * @see org.eclipse.eef.EEFImagePickerDescription#getCandidatesExpression() - * @see #getEEFImagePickerDescription() * @generated + * @ordered */ - EAttribute getEEFImagePickerDescription_CandidatesExpression(); + int EEF_SELECT_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTableDescription EEF Table Description}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFSelectStyleCustomizationImpl EEF Select Style Customization}' class. * * - * @return the meta object for class 'EEF Table Description'. - * @see org.eclipse.eef.EEFTableDescription + * @see org.eclipse.eef.impl.EEFSelectStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectStyleCustomization() * @generated */ - EClass getEEFTableDescription(); + int EEF_SELECT_STYLE_CUSTOMIZATION = 50; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableDescription#getValueExpression Value Expression}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFTableDescription#getValueExpression() - * @see #getEEFTableDescription() * @generated + * @ordered */ - EAttribute getEEFTableDescription_ValueExpression(); + int EEF_SELECT_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableDescription#getEditExpression Edit Expression}'. + * The number of structural features of the 'EEF Select Style Customization' class. * * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.EEFTableDescription#getEditExpression() - * @see #getEEFTableDescription() * @generated + * @ordered */ - EAttribute getEEFTableDescription_EditExpression(); + int EEF_SELECT_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; /** - * Returns the meta object for the reference '{@link org.eclipse.eef.EEFTableDescription#getTableStructure Table Structure}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTreeStyleImpl EEF Tree Style}' class. * * - * @return the meta object for the reference 'Table Structure'. - * @see org.eclipse.eef.EEFTableDescription#getTableStructure() - * @see #getEEFTableDescription() + * @see org.eclipse.eef.impl.EEFTreeStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStyle() * @generated */ - EReference getEEFTableDescription_TableStructure(); + int EEF_TREE_STYLE = 51; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFColumnDescription EEF Column Description}'. + * The feature id for the 'Font Expression' attribute. * * - * @return the meta object for class 'EEF Column Description'. - * @see org.eclipse.eef.EEFColumnDescription * @generated + * @ordered */ - EClass getEEFColumnDescription(); + int EEF_TREE_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnDescription#getWidth Width}'. + * The number of structural features of the 'EEF Tree Style' class. * * - * @return the meta object for the attribute 'Width'. - * @see org.eclipse.eef.EEFColumnDescription#getWidth() - * @see #getEEFColumnDescription() * @generated + * @ordered */ - EAttribute getEEFColumnDescription_Width(); + int EEF_TREE_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnDescription#getHeaderExpression Header Expression}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTreeConditionalStyleImpl EEF Tree Conditional Style}' class. * * - * @return the meta object for the attribute 'Header Expression'. - * @see org.eclipse.eef.EEFColumnDescription#getHeaderExpression() - * @see #getEEFColumnDescription() + * @see org.eclipse.eef.impl.EEFTreeConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeConditionalStyle() * @generated */ - EAttribute getEEFColumnDescription_HeaderExpression(); + int EEF_TREE_CONDITIONAL_STYLE = 52; /** - * Returns the meta object for the reference '{@link org.eclipse.eef.EEFColumnDescription#getCellWidget Cell Widget}'. + * The feature id for the 'Conditional Expression' attribute. * * - * @return the meta object for the reference 'Cell Widget'. - * @see org.eclipse.eef.EEFColumnDescription#getCellWidget() - * @see #getEEFColumnDescription() * @generated + * @ordered */ - EReference getEEFColumnDescription_CellWidget(); + int EEF_TREE_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnDescription#getContextCandidatesExpression Context Candidates Expression}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for the attribute 'Context Candidates Expression'. - * @see org.eclipse.eef.EEFColumnDescription#getContextCandidatesExpression() - * @see #getEEFColumnDescription() * @generated + * @ordered */ - EAttribute getEEFColumnDescription_ContextCandidatesExpression(); + int EEF_TREE_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFLineDescription EEF Line Description}'. + * The number of structural features of the 'EEF Tree Conditional Style' class. * * - * @return the meta object for class 'EEF Line Description'. - * @see org.eclipse.eef.EEFLineDescription * @generated + * @ordered */ - EClass getEEFLineDescription(); + int EEF_TREE_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineDescription#getHeaderExpression Header Expression}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTreeStyleCustomizationImpl EEF Tree Style Customization}' class. * * - * @return the meta object for the attribute 'Header Expression'. - * @see org.eclipse.eef.EEFLineDescription#getHeaderExpression() - * @see #getEEFLineDescription() + * @see org.eclipse.eef.impl.EEFTreeStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStyleCustomization() * @generated */ - EAttribute getEEFLineDescription_HeaderExpression(); + int EEF_TREE_STYLE_CUSTOMIZATION = 53; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineDescription#getSemanticCandidatesExpression Semantic Candidates Expression}'. + * The feature id for the 'Style' containment reference. * * - * @return the meta object for the attribute 'Semantic Candidates Expression'. - * @see org.eclipse.eef.EEFLineDescription#getSemanticCandidatesExpression() - * @see #getEEFLineDescription() * @generated + * @ordered */ - EAttribute getEEFLineDescription_SemanticCandidatesExpression(); + int EEF_TREE_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineDescription#getDomainClass Domain Class}'. + * The number of structural features of the 'EEF Tree Style Customization' class. * * - * @return the meta object for the attribute 'Domain Class'. - * @see org.eclipse.eef.EEFLineDescription#getDomainClass() - * @see #getEEFLineDescription() * @generated + * @ordered */ - EAttribute getEEFLineDescription_DomainClass(); + int EEF_TREE_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFLineDescription#getSubLines Sub Lines}'. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTableStyleImpl EEF Table Style}' class. * * - * @return the meta object for the containment reference list 'Sub Lines'. - * @see org.eclipse.eef.EEFLineDescription#getSubLines() - * @see #getEEFLineDescription() + * @see org.eclipse.eef.impl.EEFTableStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStyle() * @generated */ - EReference getEEFLineDescription_SubLines(); + int EEF_TABLE_STYLE = 54; /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTableStructureDescription EEF Table Structure Description}'. + * The feature id for the 'Font Expression' attribute. * * - * @return the meta object for class 'EEF Table Structure Description'. - * @see org.eclipse.eef.EEFTableStructureDescription * @generated + * @ordered */ - EClass getEEFTableStructureDescription(); + int EEF_TABLE_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#isMultiple Multiple}'. + * The number of structural features of the 'EEF Table Style' class. * * - * @return the meta object for the attribute 'Multiple'. - * @see org.eclipse.eef.EEFTableStructureDescription#isMultiple() - * @see #getEEFTableStructureDescription() * @generated + * @ordered */ - EAttribute getEEFTableStructureDescription_Multiple(); + int EEF_TABLE_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTableConditionalStyleImpl EEF Table Conditional Style}' class. + * + * + * @see org.eclipse.eef.impl.EEFTableConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableConditionalStyle() + * @generated + */ + int EEF_TABLE_CONDITIONAL_STYLE = 55; + + /** + * The feature id for the 'Conditional Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; + + /** + * The feature id for the 'Style' containment reference. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'EEF Table Conditional Style' class. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTableStyleCustomizationImpl EEF Table Style Customization}' class. + * + * + * @see org.eclipse.eef.impl.EEFTableStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStyleCustomization() + * @generated + */ + int EEF_TABLE_STYLE_CUSTOMIZATION = 56; + + /** + * The feature id for the 'Style' containment reference. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'EEF Table Style Customization' class. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFLineStyleImpl EEF Line Style}' class. + * + * + * @see org.eclipse.eef.impl.EEFLineStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineStyle() + * @generated + */ + int EEF_LINE_STYLE = 57; + + /** + * The feature id for the 'Font Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINE_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; + + /** + * The feature id for the 'Background Color Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Foreground Color Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Header Background Color Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Header Foreground Color Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 3; + + /** + * The number of structural features of the 'EEF Line Style' class. + * + * + * @generated + * @ordered + */ + int EEF_LINE_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 4; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFLineConditionalStyleImpl EEF Line Conditional Style}' class. + * + * + * @see org.eclipse.eef.impl.EEFLineConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineConditionalStyle() + * @generated + */ + int EEF_LINE_CONDITIONAL_STYLE = 58; + + /** + * The feature id for the 'Conditional Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_LINE_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; + + /** + * The feature id for the 'Style' containment reference. + * + * + * @generated + * @ordered + */ + int EEF_LINE_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'EEF Line Conditional Style' class. + * + * + * @generated + * @ordered + */ + int EEF_LINE_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFLineStyleCustomizationImpl EEF Line Style Customization}' class. + * + * + * @see org.eclipse.eef.impl.EEFLineStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineStyleCustomization() + * @generated + */ + int EEF_LINE_STYLE_CUSTOMIZATION = 59; + + /** + * The feature id for the 'Style' containment reference. + * + * + * @generated + * @ordered + */ + int EEF_LINE_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'EEF Line Style Customization' class. + * + * + * @generated + * @ordered + */ + int EEF_LINE_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFColumnStyleImpl EEF Column Style}' class. + * + * + * @see org.eclipse.eef.impl.EEFColumnStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnStyle() + * @generated + */ + int EEF_COLUMN_STYLE = 60; + + /** + * The feature id for the 'Font Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; + + /** + * The feature id for the 'Background Color Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Foreground Color Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Header Background Color Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Header Foreground Color Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 3; + + /** + * The number of structural features of the 'EEF Column Style' class. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 4; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFColumnConditionalStyleImpl EEF Column Conditional Style}' class. + * + * + * @see org.eclipse.eef.impl.EEFColumnConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnConditionalStyle() + * @generated + */ + int EEF_COLUMN_CONDITIONAL_STYLE = 61; + + /** + * The feature id for the 'Conditional Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; + + /** + * The feature id for the 'Style' containment reference. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'EEF Column Conditional Style' class. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFColumnStyleCustomizationImpl EEF Column Style Customization}' class. + * + * + * @see org.eclipse.eef.impl.EEFColumnStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnStyleCustomization() + * @generated + */ + int EEF_COLUMN_STYLE_CUSTOMIZATION = 62; + + /** + * The feature id for the 'Style' containment reference. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'EEF Column Style Customization' class. + * + * + * @generated + * @ordered + */ + int EEF_COLUMN_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the 'Expression' data type. + * + * + * @see java.lang.String + * @see org.eclipse.eef.impl.EefPackageImpl#getExpression() + * @generated + */ + int EXPRESSION = 63; + + /** + * The meta object id for the 'Type Name' data type. + * + * + * @see java.lang.String + * @see org.eclipse.eef.impl.EefPackageImpl#getTypeName() + * @generated + */ + int TYPE_NAME = 64; + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFViewDescription EEF View Description}'. + * + * + * @return the meta object for class 'EEF View Description'. + * @see org.eclipse.eef.EEFViewDescription + * @generated + */ + EClass getEEFViewDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFViewDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFViewDescription#getIdentifier() + * @see #getEEFViewDescription() + * @generated + */ + EAttribute getEEFViewDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFViewDescription#getLabelExpression Label Expression}'. + * + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.EEFViewDescription#getLabelExpression() + * @see #getEEFViewDescription() + * @generated + */ + EAttribute getEEFViewDescription_LabelExpression(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.eef.EEFViewDescription#getEPackageNsUris EPackage Ns Uris}'. + * + * + * @return the meta object for the attribute list 'EPackage Ns Uris'. + * @see org.eclipse.eef.EEFViewDescription#getEPackageNsUris() + * @see #getEEFViewDescription() + * @generated + */ + EAttribute getEEFViewDescription_EPackageNsUris(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getGroups Groups}'. + * + * + * @return the meta object for the containment reference list 'Groups'. + * @see org.eclipse.eef.EEFViewDescription#getGroups() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_Groups(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getPages Pages}'. + * + * + * @return the meta object for the containment reference list 'Pages'. + * @see org.eclipse.eef.EEFViewDescription#getPages() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_Pages(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getJavaExtensions Java Extensions}'. + * + * + * @return the meta object for the containment reference list 'Java Extensions'. + * @see org.eclipse.eef.EEFViewDescription#getJavaExtensions() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_JavaExtensions(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.eef.EEFViewDescription#getImportedViews Imported Views}'. + * + * + * @return the meta object for the reference list 'Imported Views'. + * @see org.eclipse.eef.EEFViewDescription#getImportedViews() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_ImportedViews(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getTreeStructures Tree Structures}'. + * + * + * @return the meta object for the containment reference list 'Tree Structures'. + * @see org.eclipse.eef.EEFViewDescription#getTreeStructures() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_TreeStructures(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getTableStructures Table Structures}'. + * + * + * @return the meta object for the containment reference list 'Table Structures'. + * @see org.eclipse.eef.EEFViewDescription#getTableStructures() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_TableStructures(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.eef.EEFViewDescription#getStyleCustomizations Style Customizations}'. + * + * + * @return the meta object for the reference list 'Style Customizations'. + * @see org.eclipse.eef.EEFViewDescription#getStyleCustomizations() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_StyleCustomizations(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFPageDescription EEF Page Description}'. + * + * + * @return the meta object for class 'EEF Page Description'. + * @see org.eclipse.eef.EEFPageDescription + * @generated + */ + EClass getEEFPageDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFPageDescription#getIdentifier() + * @see #getEEFPageDescription() + * @generated + */ + EAttribute getEEFPageDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getLabelExpression Label Expression}'. + * + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.EEFPageDescription#getLabelExpression() + * @see #getEEFPageDescription() + * @generated + */ + EAttribute getEEFPageDescription_LabelExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getDomainClass Domain Class}'. + * + * + * @return the meta object for the attribute 'Domain Class'. + * @see org.eclipse.eef.EEFPageDescription#getDomainClass() + * @see #getEEFPageDescription() + * @generated + */ + EAttribute getEEFPageDescription_DomainClass(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. + * + * + * @return the meta object for the attribute 'Semantic Candidate Expression'. + * @see org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression() + * @see #getEEFPageDescription() + * @generated + */ + EAttribute getEEFPageDescription_SemanticCandidateExpression(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.eef.EEFPageDescription#getGroups Groups}'. + * + * + * @return the meta object for the reference list 'Groups'. + * @see org.eclipse.eef.EEFPageDescription#getGroups() + * @see #getEEFPageDescription() + * @generated + */ + EReference getEEFPageDescription_Groups(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.EEFPageDescription#getExtendedPage Extended Page}'. + * + * + * @return the meta object for the reference 'Extended Page'. + * @see org.eclipse.eef.EEFPageDescription#getExtendedPage() + * @see #getEEFPageDescription() + * @generated + */ + EReference getEEFPageDescription_ExtendedPage(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFGroupDescription EEF Group Description}'. + * + * + * @return the meta object for class 'EEF Group Description'. + * @see org.eclipse.eef.EEFGroupDescription + * @generated + */ + EClass getEEFGroupDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFGroupDescription#getIdentifier() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getLabelExpression Label Expression}'. + * + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.EEFGroupDescription#getLabelExpression() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_LabelExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getDomainClass Domain Class}'. + * + * + * @return the meta object for the attribute 'Domain Class'. + * @see org.eclipse.eef.EEFGroupDescription#getDomainClass() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_DomainClass(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. + * + * + * @return the meta object for the attribute 'Semantic Candidate Expression'. + * @see org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_SemanticCandidateExpression(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFGroupDescription#getContainer Container}'. + * + * + * @return the meta object for the containment reference 'Container'. + * @see org.eclipse.eef.EEFGroupDescription#getContainer() + * @see #getEEFGroupDescription() + * @generated + */ + EReference getEEFGroupDescription_Container(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getCollapsibleExpression Collapsible Expression}'. + * + * + * @return the meta object for the attribute 'Collapsible Expression'. + * @see org.eclipse.eef.EEFGroupDescription#getCollapsibleExpression() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_CollapsibleExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getCollapsedByDefaultExpression Collapsed By Default Expression}'. + * + * + * @return the meta object for the attribute 'Collapsed By Default Expression'. + * @see org.eclipse.eef.EEFGroupDescription#getCollapsedByDefaultExpression() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_CollapsedByDefaultExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getValidationExpression Validation Expression}'. + * + * + * @return the meta object for the attribute 'Validation Expression'. + * @see org.eclipse.eef.EEFGroupDescription#getValidationExpression() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_ValidationExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFContainerDescription EEF Container Description}'. + * + * + * @return the meta object for class 'EEF Container Description'. + * @see org.eclipse.eef.EEFContainerDescription + * @generated + */ + EClass getEEFContainerDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFContainerDescription#getIdentifier() + * @see #getEEFContainerDescription() + * @generated + */ + EAttribute getEEFContainerDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. + * + * + * @return the meta object for the attribute 'Semantic Candidate Expression'. + * @see org.eclipse.eef.EEFContainerDescription#getSemanticCandidateExpression() + * @see #getEEFContainerDescription() + * @generated + */ + EAttribute getEEFContainerDescription_SemanticCandidateExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getDomainClass Domain Class}'. + * + * + * @return the meta object for the attribute 'Domain Class'. + * @see org.eclipse.eef.EEFContainerDescription#getDomainClass() + * @see #getEEFContainerDescription() + * @generated + */ + EAttribute getEEFContainerDescription_DomainClass(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getLayoutColumnCount Layout Column Count}'. + * + * + * @return the meta object for the attribute 'Layout Column Count'. + * @see org.eclipse.eef.EEFContainerDescription#getLayoutColumnCount() + * @see #getEEFContainerDescription() + * @generated + */ + EAttribute getEEFContainerDescription_LayoutColumnCount(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFContainerDescription#getContainers Containers}'. + * + * + * @return the meta object for the containment reference list 'Containers'. + * @see org.eclipse.eef.EEFContainerDescription#getContainers() + * @see #getEEFContainerDescription() + * @generated + */ + EReference getEEFContainerDescription_Containers(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFContainerDescription#getWidgets Widgets}'. + * + * + * @return the meta object for the containment reference list 'Widgets'. + * @see org.eclipse.eef.EEFContainerDescription#getWidgets() + * @see #getEEFContainerDescription() + * @generated + */ + EReference getEEFContainerDescription_Widgets(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFWidgetDescription EEF Widget Description}'. + * + * + * @return the meta object for class 'EEF Widget Description'. + * @see org.eclipse.eef.EEFWidgetDescription + * @generated + */ + EClass getEEFWidgetDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFWidgetDescription#getIdentifier() + * @see #getEEFWidgetDescription() + * @generated + */ + EAttribute getEEFWidgetDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression Label Expression}'. + * + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.EEFWidgetDescription#getLabelExpression() + * @see #getEEFWidgetDescription() + * @generated + */ + EAttribute getEEFWidgetDescription_LabelExpression(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.EEFWidgetDescription#getLabelStyle Label Style}'. + * + * + * @return the meta object for the reference 'Label Style'. + * @see org.eclipse.eef.EEFWidgetDescription#getLabelStyle() + * @see #getEEFWidgetDescription() + * @generated + */ + EReference getEEFWidgetDescription_LabelStyle(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getTooltipExpression Tooltip Expression}'. + * + * + * @return the meta object for the attribute 'Tooltip Expression'. + * @see org.eclipse.eef.EEFWidgetDescription#getTooltipExpression() + * @see #getEEFWidgetDescription() + * @generated + */ + EAttribute getEEFWidgetDescription_TooltipExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getHelpExpression Help Expression}'. + * + * + * @return the meta object for the attribute 'Help Expression'. + * @see org.eclipse.eef.EEFWidgetDescription#getHelpExpression() + * @see #getEEFWidgetDescription() + * @generated + */ + EAttribute getEEFWidgetDescription_HelpExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getValidationExpression Validation Expression}'. + * + * + * @return the meta object for the attribute 'Validation Expression'. + * @see org.eclipse.eef.EEFWidgetDescription#getValidationExpression() + * @see #getEEFWidgetDescription() + * @generated + */ + EAttribute getEEFWidgetDescription_ValidationExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFJavaExtensionDescription EEF Java Extension Description}'. + * + * + * @return the meta object for class 'EEF Java Extension Description'. + * @see org.eclipse.eef.EEFJavaExtensionDescription + * @generated + */ + EClass getEEFJavaExtensionDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFJavaExtensionDescription#getQualifiedName Qualified Name}'. + * + * + * @return the meta object for the attribute 'Qualified Name'. + * @see org.eclipse.eef.EEFJavaExtensionDescription#getQualifiedName() + * @see #getEEFJavaExtensionDescription() + * @generated + */ + EAttribute getEEFJavaExtensionDescription_QualifiedName(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeStructureDescription EEF Tree Structure Description}'. + * + * + * @return the meta object for class 'EEF Tree Structure Description'. + * @see org.eclipse.eef.EEFTreeStructureDescription + * @generated + */ + EClass getEEFTreeStructureDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeStructureDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFTreeStructureDescription#getIdentifier() + * @see #getEEFTreeStructureDescription() + * @generated + */ + EAttribute getEEFTreeStructureDescription_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeStructureDescription#isMultiple Multiple}'. + * + * + * @return the meta object for the attribute 'Multiple'. + * @see org.eclipse.eef.EEFTreeStructureDescription#isMultiple() + * @see #getEEFTreeStructureDescription() + * @generated + */ + EAttribute getEEFTreeStructureDescription_Multiple(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription EEF Interpreted Table Structure Description}'. + * + * + * @return the meta object for class 'EEF Interpreted Table Structure Description'. + * @see org.eclipse.eef.EEFInterpretedTableStructureDescription + * @generated + */ + EClass getEEFInterpretedTableStructureDescription(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription#getColumns Columns}'. + * + * + * @return the meta object for the containment reference list 'Columns'. + * @see org.eclipse.eef.EEFInterpretedTableStructureDescription#getColumns() + * @see #getEEFInterpretedTableStructureDescription() + * @generated + */ + EReference getEEFInterpretedTableStructureDescription_Columns(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription#getLine Line}'. + * + * + * @return the meta object for the containment reference 'Line'. + * @see org.eclipse.eef.EEFInterpretedTableStructureDescription#getLine() + * @see #getEEFInterpretedTableStructureDescription() + * @generated + */ + EReference getEEFInterpretedTableStructureDescription_Line(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFCellWidgetDescription EEF Cell Widget Description}'. + * + * + * @return the meta object for class 'EEF Cell Widget Description'. + * @see org.eclipse.eef.EEFCellWidgetDescription + * @generated + */ + EClass getEEFCellWidgetDescription(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription EEF Adapter Factory Tree Structure Description}'. + * + * + * @return the meta object for class 'EEF Adapter Factory Tree Structure Description'. + * @see org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription + * @generated + */ + EClass getEEFAdapterFactoryTreeStructureDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}'. + * + * + * @return the meta object for the attribute 'Adapter Factory Provider'. + * @see org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider() + * @see #getEEFAdapterFactoryTreeStructureDescription() + * @generated + */ + EAttribute getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription EEF Interpreted Tree Structure Description}'. + * + * + * @return the meta object for class 'EEF Interpreted Tree Structure Description'. + * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription + * @generated + */ + EClass getEEFInterpretedTreeStructureDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getRootsExpression Roots Expression}'. + * + * + * @return the meta object for the attribute 'Roots Expression'. + * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getRootsExpression() + * @see #getEEFInterpretedTreeStructureDescription() + * @generated + */ + EAttribute getEEFInterpretedTreeStructureDescription_RootsExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression Children Expression}'. + * + * + * @return the meta object for the attribute 'Children Expression'. + * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression() + * @see #getEEFInterpretedTreeStructureDescription() + * @generated + */ + EAttribute getEEFInterpretedTreeStructureDescription_ChildrenExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression Selectable Predicate Expression}'. + * + * + * @return the meta object for the attribute 'Selectable Predicate Expression'. + * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression() + * @see #getEEFInterpretedTreeStructureDescription() + * @generated + */ + EAttribute getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression Candidate Display Expression}'. + * + * + * @return the meta object for the attribute 'Candidate Display Expression'. + * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression() + * @see #getEEFInterpretedTreeStructureDescription() + * @generated + */ + EAttribute getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTextDescription EEF Text Description}'. + * + * + * @return the meta object for class 'EEF Text Description'. + * @see org.eclipse.eef.EEFTextDescription + * @generated + */ + EClass getEEFTextDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFTextDescription#getValueExpression() + * @see #getEEFTextDescription() + * @generated + */ + EAttribute getEEFTextDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.EEFTextDescription#getEditExpression() + * @see #getEEFTextDescription() + * @generated + */ + EAttribute getEEFTextDescription_EditExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getReadOnlyExpression Read Only Expression}'. + * + * + * @return the meta object for the attribute 'Read Only Expression'. + * @see org.eclipse.eef.EEFTextDescription#getReadOnlyExpression() + * @see #getEEFTextDescription() + * @generated + */ + EAttribute getEEFTextDescription_ReadOnlyExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getContentAssistExpression Content Assist Expression}'. + * + * + * @return the meta object for the attribute 'Content Assist Expression'. + * @see org.eclipse.eef.EEFTextDescription#getContentAssistExpression() + * @see #getEEFTextDescription() + * @generated + */ + EAttribute getEEFTextDescription_ContentAssistExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getPlaceholderExpression Placeholder Expression}'. + * + * + * @return the meta object for the attribute 'Placeholder Expression'. + * @see org.eclipse.eef.EEFTextDescription#getPlaceholderExpression() + * @see #getEEFTextDescription() + * @generated + */ + EAttribute getEEFTextDescription_PlaceholderExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getLineCount Line Count}'. + * + * + * @return the meta object for the attribute 'Line Count'. + * @see org.eclipse.eef.EEFTextDescription#getLineCount() + * @see #getEEFTextDescription() + * @generated + */ + EAttribute getEEFTextDescription_LineCount(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFTextDescription#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFTextDescription#getStyle() + * @see #getEEFTextDescription() + * @generated + */ + EReference getEEFTextDescription_Style(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFTextDescription#getConditionalStyles Conditional Styles}'. + * + * + * @return the meta object for the containment reference list 'Conditional Styles'. + * @see org.eclipse.eef.EEFTextDescription#getConditionalStyles() + * @see #getEEFTextDescription() + * @generated + */ + EReference getEEFTextDescription_ConditionalStyles(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFCheckboxDescription EEF Checkbox Description}'. + * + * + * @return the meta object for class 'EEF Checkbox Description'. + * @see org.eclipse.eef.EEFCheckboxDescription + * @generated + */ + EClass getEEFCheckboxDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFCheckboxDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFCheckboxDescription#getValueExpression() + * @see #getEEFCheckboxDescription() + * @generated + */ + EAttribute getEEFCheckboxDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFCheckboxDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.EEFCheckboxDescription#getEditExpression() + * @see #getEEFCheckboxDescription() + * @generated + */ + EAttribute getEEFCheckboxDescription_EditExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFSelectDescription EEF Select Description}'. + * + * + * @return the meta object for class 'EEF Select Description'. + * @see org.eclipse.eef.EEFSelectDescription + * @generated + */ + EClass getEEFSelectDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFSelectDescription#getValueExpression() + * @see #getEEFSelectDescription() + * @generated + */ + EAttribute getEEFSelectDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.EEFSelectDescription#getEditExpression() + * @see #getEEFSelectDescription() + * @generated + */ + EAttribute getEEFSelectDescription_EditExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getCandidatesExpression Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Candidates Expression'. + * @see org.eclipse.eef.EEFSelectDescription#getCandidatesExpression() + * @see #getEEFSelectDescription() + * @generated + */ + EAttribute getEEFSelectDescription_CandidatesExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#isMultiple Multiple}'. + * + * + * @return the meta object for the attribute 'Multiple'. + * @see org.eclipse.eef.EEFSelectDescription#isMultiple() + * @see #getEEFSelectDescription() + * @generated + */ + EAttribute getEEFSelectDescription_Multiple(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getCandidateDisplayExpression Candidate Display Expression}'. + * + * + * @return the meta object for the attribute 'Candidate Display Expression'. + * @see org.eclipse.eef.EEFSelectDescription#getCandidateDisplayExpression() + * @see #getEEFSelectDescription() + * @generated + */ + EAttribute getEEFSelectDescription_CandidateDisplayExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFLabelDescription EEF Label Description}'. + * + * + * @return the meta object for class 'EEF Label Description'. + * @see org.eclipse.eef.EEFLabelDescription + * @generated + */ + EClass getEEFLabelDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLabelDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFLabelDescription#getValueExpression() + * @see #getEEFLabelDescription() + * @generated + */ + EAttribute getEEFLabelDescription_ValueExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFRadioDescription EEF Radio Description}'. + * + * + * @return the meta object for class 'EEF Radio Description'. + * @see org.eclipse.eef.EEFRadioDescription + * @generated + */ + EClass getEEFRadioDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFRadioDescription#getValueExpression() + * @see #getEEFRadioDescription() + * @generated + */ + EAttribute getEEFRadioDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.EEFRadioDescription#getEditExpression() + * @see #getEEFRadioDescription() + * @generated + */ + EAttribute getEEFRadioDescription_EditExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getCandidatesExpression Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Candidates Expression'. + * @see org.eclipse.eef.EEFRadioDescription#getCandidatesExpression() + * @see #getEEFRadioDescription() + * @generated + */ + EAttribute getEEFRadioDescription_CandidatesExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getCandidateDisplayExpression Candidate Display Expression}'. + * + * + * @return the meta object for the attribute 'Candidate Display Expression'. + * @see org.eclipse.eef.EEFRadioDescription#getCandidateDisplayExpression() + * @see #getEEFRadioDescription() + * @generated + */ + EAttribute getEEFRadioDescription_CandidateDisplayExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeDialogSelectDescription EEF Tree Dialog Select Description}'. + * + * + * @return the meta object for class 'EEF Tree Dialog Select Description'. + * @see org.eclipse.eef.EEFTreeDialogSelectDescription + * @generated + */ + EClass getEEFTreeDialogSelectDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. + * + * + * @return the meta object for the attribute 'Semantic Candidate Expression'. + * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression() + * @see #getEEFTreeDialogSelectDescription() + * @generated + */ + EAttribute getEEFTreeDialogSelectDescription_SemanticCandidateExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDefaultFilter Default Filter}'. + * + * + * @return the meta object for the attribute 'Default Filter'. + * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getDefaultFilter() + * @see #getEEFTreeDialogSelectDescription() + * @generated + */ + EAttribute getEEFTreeDialogSelectDescription_DefaultFilter(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDomainClass Domain Class}'. + * + * + * @return the meta object for the attribute 'Domain Class'. + * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getDomainClass() + * @see #getEEFTreeDialogSelectDescription() + * @generated + */ + EAttribute getEEFTreeDialogSelectDescription_DomainClass(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getTree Tree}'. + * + * + * @return the meta object for the reference 'Tree'. + * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getTree() + * @see #getEEFTreeDialogSelectDescription() + * @generated + */ + EReference getEEFTreeDialogSelectDescription_Tree(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFLinkDescription EEF Link Description}'. + * + * + * @return the meta object for class 'EEF Link Description'. + * @see org.eclipse.eef.EEFLinkDescription + * @generated + */ + EClass getEEFLinkDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLinkDescription#getOnClickExpression On Click Expression}'. + * + * + * @return the meta object for the attribute 'On Click Expression'. + * @see org.eclipse.eef.EEFLinkDescription#getOnClickExpression() + * @see #getEEFLinkDescription() + * @generated + */ + EAttribute getEEFLinkDescription_OnClickExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFImageDescription EEF Image Description}'. + * + * + * @return the meta object for class 'EEF Image Description'. + * @see org.eclipse.eef.EEFImageDescription + * @generated + */ + EClass getEEFImageDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImageDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFImageDescription#getValueExpression() + * @see #getEEFImageDescription() + * @generated + */ + EAttribute getEEFImageDescription_ValueExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeDescription EEF Tree Description}'. + * + * + * @return the meta object for class 'EEF Tree Description'. + * @see org.eclipse.eef.EEFTreeDescription + * @generated + */ + EClass getEEFTreeDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFTreeDescription#getValueExpression() + * @see #getEEFTreeDescription() + * @generated + */ + EAttribute getEEFTreeDescription_ValueExpression(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.EEFTreeDescription#getTreeStructure Tree Structure}'. + * + * + * @return the meta object for the reference 'Tree Structure'. + * @see org.eclipse.eef.EEFTreeDescription#getTreeStructure() + * @see #getEEFTreeDescription() + * @generated + */ + EReference getEEFTreeDescription_TreeStructure(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.EEFTreeDescription#getEditExpression() + * @see #getEEFTreeDescription() + * @generated + */ + EAttribute getEEFTreeDescription_EditExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFImagePickerDescription EEF Image Picker Description}'. + * + * + * @return the meta object for class 'EEF Image Picker Description'. + * @see org.eclipse.eef.EEFImagePickerDescription + * @generated + */ + EClass getEEFImagePickerDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImagePickerDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFImagePickerDescription#getValueExpression() + * @see #getEEFImagePickerDescription() + * @generated + */ + EAttribute getEEFImagePickerDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImagePickerDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.EEFImagePickerDescription#getEditExpression() + * @see #getEEFImagePickerDescription() + * @generated + */ + EAttribute getEEFImagePickerDescription_EditExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImagePickerDescription#getCandidatesExpression Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Candidates Expression'. + * @see org.eclipse.eef.EEFImagePickerDescription#getCandidatesExpression() + * @see #getEEFImagePickerDescription() + * @generated + */ + EAttribute getEEFImagePickerDescription_CandidatesExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTableDescription EEF Table Description}'. + * + * + * @return the meta object for class 'EEF Table Description'. + * @see org.eclipse.eef.EEFTableDescription + * @generated + */ + EClass getEEFTableDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableDescription#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFTableDescription#getValueExpression() + * @see #getEEFTableDescription() + * @generated + */ + EAttribute getEEFTableDescription_ValueExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableDescription#getEditExpression Edit Expression}'. + * + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.EEFTableDescription#getEditExpression() + * @see #getEEFTableDescription() + * @generated + */ + EAttribute getEEFTableDescription_EditExpression(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.EEFTableDescription#getTableStructure Table Structure}'. + * + * + * @return the meta object for the reference 'Table Structure'. + * @see org.eclipse.eef.EEFTableDescription#getTableStructure() + * @see #getEEFTableDescription() + * @generated + */ + EReference getEEFTableDescription_TableStructure(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFColumnDescription EEF Column Description}'. + * + * + * @return the meta object for class 'EEF Column Description'. + * @see org.eclipse.eef.EEFColumnDescription + * @generated + */ + EClass getEEFColumnDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnDescription#getWidth Width}'. + * + * + * @return the meta object for the attribute 'Width'. + * @see org.eclipse.eef.EEFColumnDescription#getWidth() + * @see #getEEFColumnDescription() + * @generated + */ + EAttribute getEEFColumnDescription_Width(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnDescription#getHeaderExpression Header Expression}'. + * + * + * @return the meta object for the attribute 'Header Expression'. + * @see org.eclipse.eef.EEFColumnDescription#getHeaderExpression() + * @see #getEEFColumnDescription() + * @generated + */ + EAttribute getEEFColumnDescription_HeaderExpression(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.eef.EEFColumnDescription#getCellWidget Cell Widget}'. + * + * + * @return the meta object for the reference 'Cell Widget'. + * @see org.eclipse.eef.EEFColumnDescription#getCellWidget() + * @see #getEEFColumnDescription() + * @generated + */ + EReference getEEFColumnDescription_CellWidget(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFLineDescription EEF Line Description}'. + * + * + * @return the meta object for class 'EEF Line Description'. + * @see org.eclipse.eef.EEFLineDescription + * @generated + */ + EClass getEEFLineDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineDescription#getHeaderExpression Header Expression}'. + * + * + * @return the meta object for the attribute 'Header Expression'. + * @see org.eclipse.eef.EEFLineDescription#getHeaderExpression() + * @see #getEEFLineDescription() + * @generated + */ + EAttribute getEEFLineDescription_HeaderExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineDescription#getSemanticCandidatesExpression Semantic Candidates Expression}'. + * + * + * @return the meta object for the attribute 'Semantic Candidates Expression'. + * @see org.eclipse.eef.EEFLineDescription#getSemanticCandidatesExpression() + * @see #getEEFLineDescription() + * @generated + */ + EAttribute getEEFLineDescription_SemanticCandidatesExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineDescription#getDomainClass Domain Class}'. + * + * + * @return the meta object for the attribute 'Domain Class'. + * @see org.eclipse.eef.EEFLineDescription#getDomainClass() + * @see #getEEFLineDescription() + * @generated + */ + EAttribute getEEFLineDescription_DomainClass(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFLineDescription#getSubLines Sub Lines}'. + * + * + * @return the meta object for the containment reference list 'Sub Lines'. + * @see org.eclipse.eef.EEFLineDescription#getSubLines() + * @see #getEEFLineDescription() + * @generated + */ + EReference getEEFLineDescription_SubLines(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTableStructureDescription EEF Table Structure Description}'. + * + * + * @return the meta object for class 'EEF Table Structure Description'. + * @see org.eclipse.eef.EEFTableStructureDescription + * @generated + */ + EClass getEEFTableStructureDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#isMultiple Multiple}'. + * + * + * @return the meta object for the attribute 'Multiple'. + * @see org.eclipse.eef.EEFTableStructureDescription#isMultiple() + * @see #getEEFTableStructureDescription() + * @generated + */ + EAttribute getEEFTableStructureDescription_Multiple(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFTableStructureDescription#getIdentifier() + * @see #getEEFTableStructureDescription() + * @generated + */ + EAttribute getEEFTableStructureDescription_Identifier(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription EEF Adapter Factory Table Structure Description}'. + * + * + * @return the meta object for class 'EEF Adapter Factory Table Structure Description'. + * @see org.eclipse.eef.EEFAdapterFactoryTableStructureDescription + * @generated + */ + EClass getEEFAdapterFactoryTableStructureDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}'. + * + * + * @return the meta object for the attribute 'Adapter Factory Provider'. + * @see org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider() + * @see #getEEFAdapterFactoryTableStructureDescription() + * @generated + */ + EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.ContextableElement Contextable Element}'. + * + * + * @return the meta object for class 'Contextable Element'. + * @see org.eclipse.eef.ContextableElement + * @generated + */ + EClass getContextableElement(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.ContextableElement#getRequiredContextVariables Required Context Variables}'. + * + * + * @return the meta object for the containment reference list 'Required Context Variables'. + * @see org.eclipse.eef.ContextableElement#getRequiredContextVariables() + * @see #getContextableElement() + * @generated + */ + EReference getContextableElement_RequiredContextVariables(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.ContextableElement#getExcludedContextVariables Excluded Context Variables}'. + * + * + * @return the meta object for the containment reference list 'Excluded Context Variables'. + * @see org.eclipse.eef.ContextableElement#getExcludedContextVariables() + * @see #getContextableElement() + * @generated + */ + EReference getContextableElement_ExcludedContextVariables(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFStyle EEF Style}'. + * + * + * @return the meta object for class 'EEF Style'. + * @see org.eclipse.eef.EEFStyle + * @generated + */ + EClass getEEFStyle(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFStyle#getFontExpression Font Expression}'. + * + * + * @return the meta object for the attribute 'Font Expression'. + * @see org.eclipse.eef.EEFStyle#getFontExpression() + * @see #getEEFStyle() + * @generated + */ + EAttribute getEEFStyle_FontExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFConditionalStyle EEF Conditional Style}'. + * + * + * @return the meta object for class 'EEF Conditional Style'. + * @see org.eclipse.eef.EEFConditionalStyle + * @generated + */ + EClass getEEFConditionalStyle(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFConditionalStyle#getConditionalExpression Conditional Expression}'. + * + * + * @return the meta object for the attribute 'Conditional Expression'. + * @see org.eclipse.eef.EEFConditionalStyle#getConditionalExpression() + * @see #getEEFConditionalStyle() + * @generated + */ + EAttribute getEEFConditionalStyle_ConditionalExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFStyleCustomization EEF Style Customization}'. + * + * + * @return the meta object for class 'EEF Style Customization'. + * @see org.eclipse.eef.EEFStyleCustomization + * @generated + */ + EClass getEEFStyleCustomization(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFGroupStyle EEF Group Style}'. + * + * + * @return the meta object for class 'EEF Group Style'. + * @see org.eclipse.eef.EEFGroupStyle + * @generated + */ + EClass getEEFGroupStyle(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupStyle#getForegroundColorExpression Foreground Color Expression}'. + * + * + * @return the meta object for the attribute 'Foreground Color Expression'. + * @see org.eclipse.eef.EEFGroupStyle#getForegroundColorExpression() + * @see #getEEFGroupStyle() + * @generated + */ + EAttribute getEEFGroupStyle_ForegroundColorExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFGroupConditionalStyle EEF Group Conditional Style}'. + * + * + * @return the meta object for class 'EEF Group Conditional Style'. + * @see org.eclipse.eef.EEFGroupConditionalStyle + * @generated + */ + EClass getEEFGroupConditionalStyle(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFGroupConditionalStyle#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFGroupConditionalStyle#getStyle() + * @see #getEEFGroupConditionalStyle() + * @generated + */ + EReference getEEFGroupConditionalStyle_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFGroupStyleCustomization EEF Group Style Customization}'. + * + * + * @return the meta object for class 'EEF Group Style Customization'. + * @see org.eclipse.eef.EEFGroupStyleCustomization + * @generated + */ + EClass getEEFGroupStyleCustomization(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFGroupStyleCustomization#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFGroupStyleCustomization#getStyle() + * @see #getEEFGroupStyleCustomization() + * @generated + */ + EReference getEEFGroupStyleCustomization_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTextStyle EEF Text Style}'. + * + * + * @return the meta object for class 'EEF Text Style'. + * @see org.eclipse.eef.EEFTextStyle + * @generated + */ + EClass getEEFTextStyle(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextStyle#getBackgroundColorExpression Background Color Expression}'. + * + * + * @return the meta object for the attribute 'Background Color Expression'. + * @see org.eclipse.eef.EEFTextStyle#getBackgroundColorExpression() + * @see #getEEFTextStyle() + * @generated + */ + EAttribute getEEFTextStyle_BackgroundColorExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextStyle#getForegroundColorExpression Foreground Color Expression}'. + * + * + * @return the meta object for the attribute 'Foreground Color Expression'. + * @see org.eclipse.eef.EEFTextStyle#getForegroundColorExpression() + * @see #getEEFTextStyle() + * @generated + */ + EAttribute getEEFTextStyle_ForegroundColorExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTextConditionalStyle EEF Text Conditional Style}'. + * + * + * @return the meta object for class 'EEF Text Conditional Style'. + * @see org.eclipse.eef.EEFTextConditionalStyle + * @generated + */ + EClass getEEFTextConditionalStyle(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFTextConditionalStyle#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFTextConditionalStyle#getStyle() + * @see #getEEFTextConditionalStyle() + * @generated + */ + EReference getEEFTextConditionalStyle_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTextStyleCustomization EEF Text Style Customization}'. + * + * + * @return the meta object for class 'EEF Text Style Customization'. + * @see org.eclipse.eef.EEFTextStyleCustomization + * @generated + */ + EClass getEEFTextStyleCustomization(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFTextStyleCustomization#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFTextStyleCustomization#getStyle() + * @see #getEEFTextStyleCustomization() + * @generated + */ + EReference getEEFTextStyleCustomization_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFCheckboxStyle EEF Checkbox Style}'. + * + * + * @return the meta object for class 'EEF Checkbox Style'. + * @see org.eclipse.eef.EEFCheckboxStyle + * @generated + */ + EClass getEEFCheckboxStyle(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFCheckboxStyle#getBackgroundColorExpression Background Color Expression}'. + * + * + * @return the meta object for the attribute 'Background Color Expression'. + * @see org.eclipse.eef.EEFCheckboxStyle#getBackgroundColorExpression() + * @see #getEEFCheckboxStyle() + * @generated + */ + EAttribute getEEFCheckboxStyle_BackgroundColorExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFCheckboxStyle#getForegroundColorExpression Foreground Color Expression}'. + * + * + * @return the meta object for the attribute 'Foreground Color Expression'. + * @see org.eclipse.eef.EEFCheckboxStyle#getForegroundColorExpression() + * @see #getEEFCheckboxStyle() + * @generated + */ + EAttribute getEEFCheckboxStyle_ForegroundColorExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFCheckboxConditionalStyle EEF Checkbox Conditional Style}'. + * + * + * @return the meta object for class 'EEF Checkbox Conditional Style'. + * @see org.eclipse.eef.EEFCheckboxConditionalStyle + * @generated + */ + EClass getEEFCheckboxConditionalStyle(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFCheckboxConditionalStyle#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFCheckboxConditionalStyle#getStyle() + * @see #getEEFCheckboxConditionalStyle() + * @generated + */ + EReference getEEFCheckboxConditionalStyle_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFCheckboxStyleCustomization EEF Checkbox Style Customization}'. + * + * + * @return the meta object for class 'EEF Checkbox Style Customization'. + * @see org.eclipse.eef.EEFCheckboxStyleCustomization + * @generated + */ + EClass getEEFCheckboxStyleCustomization(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFCheckboxStyleCustomization#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFCheckboxStyleCustomization#getStyle() + * @see #getEEFCheckboxStyleCustomization() + * @generated + */ + EReference getEEFCheckboxStyleCustomization_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFLabelStyle EEF Label Style}'. + * + * + * @return the meta object for class 'EEF Label Style'. + * @see org.eclipse.eef.EEFLabelStyle + * @generated + */ + EClass getEEFLabelStyle(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLabelStyle#getBackgroundColorExpression Background Color Expression}'. + * + * + * @return the meta object for the attribute 'Background Color Expression'. + * @see org.eclipse.eef.EEFLabelStyle#getBackgroundColorExpression() + * @see #getEEFLabelStyle() + * @generated + */ + EAttribute getEEFLabelStyle_BackgroundColorExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLabelStyle#getForegroundColorExpression Foreground Color Expression}'. + * + * + * @return the meta object for the attribute 'Foreground Color Expression'. + * @see org.eclipse.eef.EEFLabelStyle#getForegroundColorExpression() + * @see #getEEFLabelStyle() + * @generated + */ + EAttribute getEEFLabelStyle_ForegroundColorExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFLabelConditionalStyle EEF Label Conditional Style}'. + * + * + * @return the meta object for class 'EEF Label Conditional Style'. + * @see org.eclipse.eef.EEFLabelConditionalStyle + * @generated + */ + EClass getEEFLabelConditionalStyle(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFLabelConditionalStyle#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFLabelConditionalStyle#getStyle() + * @see #getEEFLabelConditionalStyle() + * @generated + */ + EReference getEEFLabelConditionalStyle_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFLabelStyleCustomization EEF Label Style Customization}'. + * + * + * @return the meta object for class 'EEF Label Style Customization'. + * @see org.eclipse.eef.EEFLabelStyleCustomization + * @generated + */ + EClass getEEFLabelStyleCustomization(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFLabelStyleCustomization#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFLabelStyleCustomization#getStyle() + * @see #getEEFLabelStyleCustomization() + * @generated + */ + EReference getEEFLabelStyleCustomization_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFRadioStyle EEF Radio Style}'. + * + * + * @return the meta object for class 'EEF Radio Style'. + * @see org.eclipse.eef.EEFRadioStyle + * @generated + */ + EClass getEEFRadioStyle(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioStyle#getBackgroundColorExpression Background Color Expression}'. + * + * + * @return the meta object for the attribute 'Background Color Expression'. + * @see org.eclipse.eef.EEFRadioStyle#getBackgroundColorExpression() + * @see #getEEFRadioStyle() + * @generated + */ + EAttribute getEEFRadioStyle_BackgroundColorExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioStyle#getForegroundColorExpression Foreground Color Expression}'. + * + * + * @return the meta object for the attribute 'Foreground Color Expression'. + * @see org.eclipse.eef.EEFRadioStyle#getForegroundColorExpression() + * @see #getEEFRadioStyle() + * @generated + */ + EAttribute getEEFRadioStyle_ForegroundColorExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFRadioConditionalStyle EEF Radio Conditional Style}'. + * + * + * @return the meta object for class 'EEF Radio Conditional Style'. + * @see org.eclipse.eef.EEFRadioConditionalStyle + * @generated + */ + EClass getEEFRadioConditionalStyle(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFRadioConditionalStyle#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFRadioConditionalStyle#getStyle() + * @see #getEEFRadioConditionalStyle() + * @generated + */ + EReference getEEFRadioConditionalStyle_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFRadioStyleCustomization EEF Radio Style Customization}'. + * + * + * @return the meta object for class 'EEF Radio Style Customization'. + * @see org.eclipse.eef.EEFRadioStyleCustomization + * @generated + */ + EClass getEEFRadioStyleCustomization(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFRadioStyleCustomization#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFRadioStyleCustomization#getStyle() + * @see #getEEFRadioStyleCustomization() + * @generated + */ + EReference getEEFRadioStyleCustomization_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFLinkStyle EEF Link Style}'. + * + * + * @return the meta object for class 'EEF Link Style'. + * @see org.eclipse.eef.EEFLinkStyle + * @generated + */ + EClass getEEFLinkStyle(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLinkStyle#getBackgroundColorExpression Background Color Expression}'. + * + * + * @return the meta object for the attribute 'Background Color Expression'. + * @see org.eclipse.eef.EEFLinkStyle#getBackgroundColorExpression() + * @see #getEEFLinkStyle() + * @generated + */ + EAttribute getEEFLinkStyle_BackgroundColorExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLinkStyle#getForegroundColorExpression Foreground Color Expression}'. + * + * + * @return the meta object for the attribute 'Foreground Color Expression'. + * @see org.eclipse.eef.EEFLinkStyle#getForegroundColorExpression() + * @see #getEEFLinkStyle() + * @generated + */ + EAttribute getEEFLinkStyle_ForegroundColorExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLinkStyle#getBackgroundImageExpression Background Image Expression}'. + * + * + * @return the meta object for the attribute 'Background Image Expression'. + * @see org.eclipse.eef.EEFLinkStyle#getBackgroundImageExpression() + * @see #getEEFLinkStyle() + * @generated + */ + EAttribute getEEFLinkStyle_BackgroundImageExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFLinkConditionalStyle EEF Link Conditional Style}'. + * + * + * @return the meta object for class 'EEF Link Conditional Style'. + * @see org.eclipse.eef.EEFLinkConditionalStyle + * @generated + */ + EClass getEEFLinkConditionalStyle(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFLinkConditionalStyle#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFLinkConditionalStyle#getStyle() + * @see #getEEFLinkConditionalStyle() + * @generated + */ + EReference getEEFLinkConditionalStyle_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFLinkStyleCustomization EEF Link Style Customization}'. + * + * + * @return the meta object for class 'EEF Link Style Customization'. + * @see org.eclipse.eef.EEFLinkStyleCustomization + * @generated + */ + EClass getEEFLinkStyleCustomization(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFLinkStyleCustomization#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFLinkStyleCustomization#getStyle() + * @see #getEEFLinkStyleCustomization() + * @generated + */ + EReference getEEFLinkStyleCustomization_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFSelectStyle EEF Select Style}'. + * + * + * @return the meta object for class 'EEF Select Style'. + * @see org.eclipse.eef.EEFSelectStyle + * @generated + */ + EClass getEEFSelectStyle(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectStyle#getBackgroundColorExpression Background Color Expression}'. + * + * + * @return the meta object for the attribute 'Background Color Expression'. + * @see org.eclipse.eef.EEFSelectStyle#getBackgroundColorExpression() + * @see #getEEFSelectStyle() + * @generated + */ + EAttribute getEEFSelectStyle_BackgroundColorExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectStyle#getForegroundColorExpression Foreground Color Expression}'. + * + * + * @return the meta object for the attribute 'Foreground Color Expression'. + * @see org.eclipse.eef.EEFSelectStyle#getForegroundColorExpression() + * @see #getEEFSelectStyle() + * @generated + */ + EAttribute getEEFSelectStyle_ForegroundColorExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFSelectConditionalStyle EEF Select Conditional Style}'. + * + * + * @return the meta object for class 'EEF Select Conditional Style'. + * @see org.eclipse.eef.EEFSelectConditionalStyle + * @generated + */ + EClass getEEFSelectConditionalStyle(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFSelectConditionalStyle#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFSelectConditionalStyle#getStyle() + * @see #getEEFSelectConditionalStyle() + * @generated + */ + EReference getEEFSelectConditionalStyle_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFSelectStyleCustomization EEF Select Style Customization}'. + * + * + * @return the meta object for class 'EEF Select Style Customization'. + * @see org.eclipse.eef.EEFSelectStyleCustomization + * @generated + */ + EClass getEEFSelectStyleCustomization(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFSelectStyleCustomization#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFSelectStyleCustomization#getStyle() + * @see #getEEFSelectStyleCustomization() + * @generated + */ + EReference getEEFSelectStyleCustomization_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeStyle EEF Tree Style}'. + * + * + * @return the meta object for class 'EEF Tree Style'. + * @see org.eclipse.eef.EEFTreeStyle + * @generated + */ + EClass getEEFTreeStyle(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeConditionalStyle EEF Tree Conditional Style}'. + * + * + * @return the meta object for class 'EEF Tree Conditional Style'. + * @see org.eclipse.eef.EEFTreeConditionalStyle + * @generated + */ + EClass getEEFTreeConditionalStyle(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFTreeConditionalStyle#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFTreeConditionalStyle#getStyle() + * @see #getEEFTreeConditionalStyle() + * @generated + */ + EReference getEEFTreeConditionalStyle_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeStyleCustomization EEF Tree Style Customization}'. + * + * + * @return the meta object for class 'EEF Tree Style Customization'. + * @see org.eclipse.eef.EEFTreeStyleCustomization + * @generated + */ + EClass getEEFTreeStyleCustomization(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFTreeStyleCustomization#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFTreeStyleCustomization#getStyle() + * @see #getEEFTreeStyleCustomization() + * @generated + */ + EReference getEEFTreeStyleCustomization_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTableStyle EEF Table Style}'. + * + * + * @return the meta object for class 'EEF Table Style'. + * @see org.eclipse.eef.EEFTableStyle + * @generated + */ + EClass getEEFTableStyle(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTableConditionalStyle EEF Table Conditional Style}'. + * + * + * @return the meta object for class 'EEF Table Conditional Style'. + * @see org.eclipse.eef.EEFTableConditionalStyle + * @generated + */ + EClass getEEFTableConditionalStyle(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFTableConditionalStyle#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFTableConditionalStyle#getStyle() + * @see #getEEFTableConditionalStyle() + * @generated + */ + EReference getEEFTableConditionalStyle_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFTableStyleCustomization EEF Table Style Customization}'. + * + * + * @return the meta object for class 'EEF Table Style Customization'. + * @see org.eclipse.eef.EEFTableStyleCustomization + * @generated + */ + EClass getEEFTableStyleCustomization(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFTableStyleCustomization#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFTableStyleCustomization#getStyle() + * @see #getEEFTableStyleCustomization() + * @generated + */ + EReference getEEFTableStyleCustomization_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFLineStyle EEF Line Style}'. + * + * + * @return the meta object for class 'EEF Line Style'. + * @see org.eclipse.eef.EEFLineStyle + * @generated + */ + EClass getEEFLineStyle(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineStyle#getBackgroundColorExpression Background Color Expression}'. + * + * + * @return the meta object for the attribute 'Background Color Expression'. + * @see org.eclipse.eef.EEFLineStyle#getBackgroundColorExpression() + * @see #getEEFLineStyle() + * @generated + */ + EAttribute getEEFLineStyle_BackgroundColorExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineStyle#getForegroundColorExpression Foreground Color Expression}'. + * + * + * @return the meta object for the attribute 'Foreground Color Expression'. + * @see org.eclipse.eef.EEFLineStyle#getForegroundColorExpression() + * @see #getEEFLineStyle() + * @generated + */ + EAttribute getEEFLineStyle_ForegroundColorExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineStyle#getHeaderBackgroundColorExpression Header Background Color Expression}'. + * + * + * @return the meta object for the attribute 'Header Background Color Expression'. + * @see org.eclipse.eef.EEFLineStyle#getHeaderBackgroundColorExpression() + * @see #getEEFLineStyle() + * @generated + */ + EAttribute getEEFLineStyle_HeaderBackgroundColorExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineStyle#getHeaderForegroundColorExpression Header Foreground Color Expression}'. + * + * + * @return the meta object for the attribute 'Header Foreground Color Expression'. + * @see org.eclipse.eef.EEFLineStyle#getHeaderForegroundColorExpression() + * @see #getEEFLineStyle() + * @generated + */ + EAttribute getEEFLineStyle_HeaderForegroundColorExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFLineConditionalStyle EEF Line Conditional Style}'. + * + * + * @return the meta object for class 'EEF Line Conditional Style'. + * @see org.eclipse.eef.EEFLineConditionalStyle + * @generated + */ + EClass getEEFLineConditionalStyle(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFLineConditionalStyle#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFLineConditionalStyle#getStyle() + * @see #getEEFLineConditionalStyle() + * @generated + */ + EReference getEEFLineConditionalStyle_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFLineStyleCustomization EEF Line Style Customization}'. + * + * + * @return the meta object for class 'EEF Line Style Customization'. + * @see org.eclipse.eef.EEFLineStyleCustomization + * @generated + */ + EClass getEEFLineStyleCustomization(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFLineStyleCustomization#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFLineStyleCustomization#getStyle() + * @see #getEEFLineStyleCustomization() + * @generated + */ + EReference getEEFLineStyleCustomization_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFColumnStyle EEF Column Style}'. + * + * + * @return the meta object for class 'EEF Column Style'. + * @see org.eclipse.eef.EEFColumnStyle + * @generated + */ + EClass getEEFColumnStyle(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnStyle#getBackgroundColorExpression Background Color Expression}'. + * + * + * @return the meta object for the attribute 'Background Color Expression'. + * @see org.eclipse.eef.EEFColumnStyle#getBackgroundColorExpression() + * @see #getEEFColumnStyle() + * @generated + */ + EAttribute getEEFColumnStyle_BackgroundColorExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnStyle#getForegroundColorExpression Foreground Color Expression}'. + * + * + * @return the meta object for the attribute 'Foreground Color Expression'. + * @see org.eclipse.eef.EEFColumnStyle#getForegroundColorExpression() + * @see #getEEFColumnStyle() + * @generated + */ + EAttribute getEEFColumnStyle_ForegroundColorExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnStyle#getHeaderBackgroundColorExpression Header Background Color Expression}'. + * + * + * @return the meta object for the attribute 'Header Background Color Expression'. + * @see org.eclipse.eef.EEFColumnStyle#getHeaderBackgroundColorExpression() + * @see #getEEFColumnStyle() + * @generated + */ + EAttribute getEEFColumnStyle_HeaderBackgroundColorExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnStyle#getHeaderForegroundColorExpression Header Foreground Color Expression}'. + * + * + * @return the meta object for the attribute 'Header Foreground Color Expression'. + * @see org.eclipse.eef.EEFColumnStyle#getHeaderForegroundColorExpression() + * @see #getEEFColumnStyle() + * @generated + */ + EAttribute getEEFColumnStyle_HeaderForegroundColorExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFColumnConditionalStyle EEF Column Conditional Style}'. + * + * + * @return the meta object for class 'EEF Column Conditional Style'. + * @see org.eclipse.eef.EEFColumnConditionalStyle + * @generated + */ + EClass getEEFColumnConditionalStyle(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFColumnConditionalStyle#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFColumnConditionalStyle#getStyle() + * @see #getEEFColumnConditionalStyle() + * @generated + */ + EReference getEEFColumnConditionalStyle_Style(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFColumnStyleCustomization EEF Column Style Customization}'. + * + * + * @return the meta object for class 'EEF Column Style Customization'. + * @see org.eclipse.eef.EEFColumnStyleCustomization + * @generated + */ + EClass getEEFColumnStyleCustomization(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFColumnStyleCustomization#getStyle Style}'. + * + * + * @return the meta object for the containment reference 'Style'. + * @see org.eclipse.eef.EEFColumnStyleCustomization#getStyle() + * @see #getEEFColumnStyleCustomization() + * @generated + */ + EReference getEEFColumnStyleCustomization_Style(); + + /** + * Returns the meta object for data type '{@link java.lang.String Expression}'. + * + * + * @return the meta object for data type 'Expression'. + * @see java.lang.String + * @model instanceClass="java.lang.String" + * @generated + */ + EDataType getExpression(); + + /** + * Returns the meta object for data type '{@link java.lang.String Type Name}'. + * + * + * @return the meta object for data type 'Type Name'. + * @see java.lang.String + * @model instanceClass="java.lang.String" + * @generated + */ + EDataType getTypeName(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + EefFactory getEefFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
      + *
    • each class,
    • + *
    • each feature of each class,
    • + *
    • each enum,
    • + *
    • and each data type
    • + *
    + * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFViewDescriptionImpl EEF View Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFViewDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFViewDescription() + * @generated + */ + EClass EEF_VIEW_DESCRIPTION = eINSTANCE.getEEFViewDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_VIEW_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFViewDescription_Identifier(); + + /** + * The meta object literal for the 'Label Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFViewDescription_LabelExpression(); + + /** + * The meta object literal for the 'EPackage Ns Uris' attribute list feature. + * + * + * @generated + */ + EAttribute EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS = eINSTANCE.getEEFViewDescription_EPackageNsUris(); + + /** + * The meta object literal for the 'Groups' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__GROUPS = eINSTANCE.getEEFViewDescription_Groups(); + + /** + * The meta object literal for the 'Pages' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__PAGES = eINSTANCE.getEEFViewDescription_Pages(); + + /** + * The meta object literal for the 'Java Extensions' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS = eINSTANCE.getEEFViewDescription_JavaExtensions(); + + /** + * The meta object literal for the 'Imported Views' reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS = eINSTANCE.getEEFViewDescription_ImportedViews(); + + /** + * The meta object literal for the 'Tree Structures' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__TREE_STRUCTURES = eINSTANCE.getEEFViewDescription_TreeStructures(); + + /** + * The meta object literal for the 'Table Structures' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES = eINSTANCE.getEEFViewDescription_TableStructures(); + + /** + * The meta object literal for the 'Style Customizations' reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS = eINSTANCE.getEEFViewDescription_StyleCustomizations(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFPageDescriptionImpl EEF Page Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFPageDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFPageDescription() + * @generated + */ + EClass EEF_PAGE_DESCRIPTION = eINSTANCE.getEEFPageDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_PAGE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFPageDescription_Identifier(); + + /** + * The meta object literal for the 'Label Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFPageDescription_LabelExpression(); + + /** + * The meta object literal for the 'Domain Class' attribute feature. + * + * + * @generated + */ + EAttribute EEF_PAGE_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFPageDescription_DomainClass(); + + /** + * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE.getEEFPageDescription_SemanticCandidateExpression(); + + /** + * The meta object literal for the 'Groups' reference list feature. + * + * + * @generated + */ + EReference EEF_PAGE_DESCRIPTION__GROUPS = eINSTANCE.getEEFPageDescription_Groups(); + + /** + * The meta object literal for the 'Extended Page' reference feature. + * + * + * @generated + */ + EReference EEF_PAGE_DESCRIPTION__EXTENDED_PAGE = eINSTANCE.getEEFPageDescription_ExtendedPage(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFGroupDescriptionImpl EEF Group Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFGroupDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupDescription() + * @generated + */ + EClass EEF_GROUP_DESCRIPTION = eINSTANCE.getEEFGroupDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFGroupDescription_Identifier(); + + /** + * The meta object literal for the 'Label Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFGroupDescription_LabelExpression(); + + /** + * The meta object literal for the 'Domain Class' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFGroupDescription_DomainClass(); + + /** + * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE.getEEFGroupDescription_SemanticCandidateExpression(); + + /** + * The meta object literal for the 'Container' containment reference feature. + * + * + * @generated + */ + EReference EEF_GROUP_DESCRIPTION__CONTAINER = eINSTANCE.getEEFGroupDescription_Container(); + + /** + * The meta object literal for the 'Collapsible Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION = eINSTANCE.getEEFGroupDescription_CollapsibleExpression(); + + /** + * The meta object literal for the 'Collapsed By Default Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION = eINSTANCE.getEEFGroupDescription_CollapsedByDefaultExpression(); + + /** + * The meta object literal for the 'Validation Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION = eINSTANCE.getEEFGroupDescription_ValidationExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFContainerDescriptionImpl EEF Container Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFContainerDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFContainerDescription() + * @generated + */ + EClass EEF_CONTAINER_DESCRIPTION = eINSTANCE.getEEFContainerDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CONTAINER_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFContainerDescription_Identifier(); + + /** + * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE.getEEFContainerDescription_SemanticCandidateExpression(); + + /** + * The meta object literal for the 'Domain Class' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFContainerDescription_DomainClass(); + + /** + * The meta object literal for the 'Layout Column Count' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT = eINSTANCE.getEEFContainerDescription_LayoutColumnCount(); + + /** + * The meta object literal for the 'Containers' containment reference list feature. + * + * + * @generated + */ + EReference EEF_CONTAINER_DESCRIPTION__CONTAINERS = eINSTANCE.getEEFContainerDescription_Containers(); + + /** + * The meta object literal for the 'Widgets' containment reference list feature. + * + * + * @generated + */ + EReference EEF_CONTAINER_DESCRIPTION__WIDGETS = eINSTANCE.getEEFContainerDescription_Widgets(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl EEF Widget Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFWidgetDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFWidgetDescription() + * @generated + */ + EClass EEF_WIDGET_DESCRIPTION = eINSTANCE.getEEFWidgetDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_WIDGET_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFWidgetDescription_Identifier(); + + /** + * The meta object literal for the 'Label Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFWidgetDescription_LabelExpression(); + + /** + * The meta object literal for the 'Label Style' reference feature. + * + * + * @generated + */ + EReference EEF_WIDGET_DESCRIPTION__LABEL_STYLE = eINSTANCE.getEEFWidgetDescription_LabelStyle(); + + /** + * The meta object literal for the 'Tooltip Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION = eINSTANCE.getEEFWidgetDescription_TooltipExpression(); + + /** + * The meta object literal for the 'Help Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION = eINSTANCE.getEEFWidgetDescription_HelpExpression(); + + /** + * The meta object literal for the 'Validation Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION = eINSTANCE.getEEFWidgetDescription_ValidationExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl EEF Java Extension Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFJavaExtensionDescription() + * @generated + */ + EClass EEF_JAVA_EXTENSION_DESCRIPTION = eINSTANCE.getEEFJavaExtensionDescription(); + + /** + * The meta object literal for the 'Qualified Name' attribute feature. + * + * + * @generated + */ + EAttribute EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME = eINSTANCE.getEEFJavaExtensionDescription_QualifiedName(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl EEF Tree Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStructureDescription() + * @generated + */ + EClass EEF_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFTreeStructureDescription(); + + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFTreeStructureDescription_Identifier(); + + /** + * The meta object literal for the 'Multiple' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFTreeStructureDescription_Multiple(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl EEF Interpreted Table Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFInterpretedTableStructureDescription() + * @generated + */ + EClass EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFInterpretedTableStructureDescription(); + + /** + * The meta object literal for the 'Columns' containment reference list feature. + * + * + * @generated + */ + EReference EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS = eINSTANCE.getEEFInterpretedTableStructureDescription_Columns(); + + /** + * The meta object literal for the 'Line' containment reference feature. + * + * + * @generated + */ + EReference EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE = eINSTANCE.getEEFInterpretedTableStructureDescription_Line(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFCellWidgetDescriptionImpl EEF Cell Widget Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFCellWidgetDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCellWidgetDescription() + * @generated + */ + EClass EEF_CELL_WIDGET_DESCRIPTION = eINSTANCE.getEEFCellWidgetDescription(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl EEF Adapter Factory Tree Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFAdapterFactoryTreeStructureDescription() + * @generated + */ + EClass EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFAdapterFactoryTreeStructureDescription(); + + /** + * The meta object literal for the 'Adapter Factory Provider' attribute feature. + * + * + * @generated + */ + EAttribute EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = eINSTANCE + .getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl EEF Interpreted Tree Structure Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFInterpretedTreeStructureDescription() + * @generated + */ + EClass EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFInterpretedTreeStructureDescription(); + + /** + * The meta object literal for the 'Roots Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION = eINSTANCE + .getEEFInterpretedTreeStructureDescription_RootsExpression(); + + /** + * The meta object literal for the 'Children Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION = eINSTANCE + .getEEFInterpretedTreeStructureDescription_ChildrenExpression(); + + /** + * The meta object literal for the 'Selectable Predicate Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION = eINSTANCE + .getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(); + + /** + * The meta object literal for the 'Candidate Display Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE + .getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTextDescriptionImpl EEF Text Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTextDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextDescription() + * @generated + */ + EClass EEF_TEXT_DESCRIPTION = eINSTANCE.getEEFTextDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTextDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTextDescription_EditExpression(); + + /** + * The meta object literal for the 'Read Only Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION = eINSTANCE.getEEFTextDescription_ReadOnlyExpression(); + + /** + * The meta object literal for the 'Content Assist Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION = eINSTANCE.getEEFTextDescription_ContentAssistExpression(); + + /** + * The meta object literal for the 'Placeholder Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION = eINSTANCE.getEEFTextDescription_PlaceholderExpression(); + + /** + * The meta object literal for the 'Line Count' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TEXT_DESCRIPTION__LINE_COUNT = eINSTANCE.getEEFTextDescription_LineCount(); + + /** + * The meta object literal for the 'Style' containment reference feature. + * + * + * @generated + */ + EReference EEF_TEXT_DESCRIPTION__STYLE = eINSTANCE.getEEFTextDescription_Style(); + + /** + * The meta object literal for the 'Conditional Styles' containment reference list feature. + * + * + * @generated + */ + EReference EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES = eINSTANCE.getEEFTextDescription_ConditionalStyles(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFCheckboxDescriptionImpl EEF Checkbox Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFCheckboxDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxDescription() + * @generated + */ + EClass EEF_CHECKBOX_DESCRIPTION = eINSTANCE.getEEFCheckboxDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFCheckboxDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFCheckboxDescription_EditExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFSelectDescriptionImpl EEF Select Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFSelectDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectDescription() + * @generated + */ + EClass EEF_SELECT_DESCRIPTION = eINSTANCE.getEEFSelectDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFSelectDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFSelectDescription_EditExpression(); + + /** + * The meta object literal for the 'Candidates Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE.getEEFSelectDescription_CandidatesExpression(); + + /** + * The meta object literal for the 'Multiple' attribute feature. + * + * + * @generated + */ + EAttribute EEF_SELECT_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFSelectDescription_Multiple(); + + /** + * The meta object literal for the 'Candidate Display Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE.getEEFSelectDescription_CandidateDisplayExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLabelDescriptionImpl EEF Label Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFLabelDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelDescription() + * @generated + */ + EClass EEF_LABEL_DESCRIPTION = eINSTANCE.getEEFLabelDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFLabelDescription_ValueExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFRadioDescriptionImpl EEF Radio Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFRadioDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioDescription() + * @generated + */ + EClass EEF_RADIO_DESCRIPTION = eINSTANCE.getEEFRadioDescription(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFRadioDescription_ValueExpression(); + + /** + * The meta object literal for the 'Edit Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFRadioDescription_EditExpression(); + + /** + * The meta object literal for the 'Candidates Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE.getEEFRadioDescription_CandidatesExpression(); + + /** + * The meta object literal for the 'Candidate Display Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE.getEEFRadioDescription_CandidateDisplayExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl EEF Tree Dialog Select Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeDialogSelectDescription() + * @generated + */ + EClass EEF_TREE_DIALOG_SELECT_DESCRIPTION = eINSTANCE.getEEFTreeDialogSelectDescription(); + + /** + * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE + .getEEFTreeDialogSelectDescription_SemanticCandidateExpression(); + + /** + * The meta object literal for the 'Default Filter' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER = eINSTANCE.getEEFTreeDialogSelectDescription_DefaultFilter(); - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#getIdentifier Identifier}'. - * - * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.EEFTableStructureDescription#getIdentifier() - * @see #getEEFTableStructureDescription() - * @generated - */ - EAttribute getEEFTableStructureDescription_Identifier(); + /** + * The meta object literal for the 'Domain Class' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFTreeDialogSelectDescription_DomainClass(); - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription EEF Adapter Factory Table Structure Description}'. - * - * - * @return the meta object for class 'EEF Adapter Factory Table Structure Description'. - * @see org.eclipse.eef.EEFAdapterFactoryTableStructureDescription - * @generated - */ - EClass getEEFAdapterFactoryTableStructureDescription(); + /** + * The meta object literal for the 'Tree' reference feature. + * + * + * @generated + */ + EReference EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE = eINSTANCE.getEEFTreeDialogSelectDescription_Tree(); - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}'. - * - * - * @return the meta object for the attribute 'Adapter Factory Provider'. - * @see org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider() - * @see #getEEFAdapterFactoryTableStructureDescription() - * @generated - */ - EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLinkDescriptionImpl EEF Link Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFLinkDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkDescription() + * @generated + */ + EClass EEF_LINK_DESCRIPTION = eINSTANCE.getEEFLinkDescription(); - /** - * Returns the meta object for class '{@link org.eclipse.eef.ContextableElement Contextable Element}'. - * - * - * @return the meta object for class 'Contextable Element'. - * @see org.eclipse.eef.ContextableElement - * @generated - */ - EClass getContextableElement(); + /** + * The meta object literal for the 'On Click Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION = eINSTANCE.getEEFLinkDescription_OnClickExpression(); - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.ContextableElement#getRequiredContextVariables Required Context Variables}'. - * - * - * @return the meta object for the containment reference list 'Required Context Variables'. - * @see org.eclipse.eef.ContextableElement#getRequiredContextVariables() - * @see #getContextableElement() - * @generated - */ - EReference getContextableElement_RequiredContextVariables(); + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFImageDescriptionImpl EEF Image Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFImageDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFImageDescription() + * @generated + */ + EClass EEF_IMAGE_DESCRIPTION = eINSTANCE.getEEFImageDescription(); - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.ContextableElement#getExcludedContextVariables Excluded Context Variables}'. - * - * - * @return the meta object for the containment reference list 'Excluded Context Variables'. - * @see org.eclipse.eef.ContextableElement#getExcludedContextVariables() - * @see #getContextableElement() - * @generated - */ - EReference getContextableElement_ExcludedContextVariables(); + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFImageDescription_ValueExpression(); - /** - * Returns the meta object for data type '{@link java.lang.String Expression}'. - * - * - * @return the meta object for data type 'Expression'. - * @see java.lang.String - * @model instanceClass="java.lang.String" - * @generated - */ - EDataType getExpression(); + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeDescriptionImpl EEF Tree Description}' class. + * + * + * @see org.eclipse.eef.impl.EEFTreeDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeDescription() + * @generated + */ + EClass EEF_TREE_DESCRIPTION = eINSTANCE.getEEFTreeDescription(); - /** - * Returns the meta object for data type '{@link java.lang.String Type Name}'. - * - * - * @return the meta object for data type 'Type Name'. - * @see java.lang.String - * @model instanceClass="java.lang.String" - * @generated - */ - EDataType getTypeName(); + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TREE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTreeDescription_ValueExpression(); - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - EefFactory getEefFactory(); + /** + * The meta object literal for the 'Tree Structure' reference feature. + * + * + * @generated + */ + EReference EEF_TREE_DESCRIPTION__TREE_STRUCTURE = eINSTANCE.getEEFTreeDescription_TreeStructure(); - /** - * - * Defines literals for the meta objects that represent - *
      - *
    • each class,
    • - *
    • each feature of each class,
    • - *
    • each enum,
    • - *
    • and each data type
    • - *
    - * - * @generated - */ - interface Literals { /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFViewDescriptionImpl EEF View Description}' class. + * The meta object literal for the 'Edit Expression' attribute feature. * * - * @see org.eclipse.eef.impl.EEFViewDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFViewDescription() * @generated */ - EClass EEF_VIEW_DESCRIPTION = eINSTANCE.getEEFViewDescription(); + EAttribute EEF_TREE_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTreeDescription_EditExpression(); /** - * The meta object literal for the 'Identifier' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFImagePickerDescriptionImpl EEF Image Picker Description}' class. * * + * @see org.eclipse.eef.impl.EEFImagePickerDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFImagePickerDescription() * @generated */ - EAttribute EEF_VIEW_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFViewDescription_Identifier(); + EClass EEF_IMAGE_PICKER_DESCRIPTION = eINSTANCE.getEEFImagePickerDescription(); /** - * The meta object literal for the 'Label Expression' attribute feature. + * The meta object literal for the 'Value Expression' attribute feature. * * * @generated */ - EAttribute EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFViewDescription_LabelExpression(); + EAttribute EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFImagePickerDescription_ValueExpression(); /** - * The meta object literal for the 'EPackage Ns Uris' attribute list feature. + * The meta object literal for the 'Edit Expression' attribute feature. * * * @generated */ - EAttribute EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS = eINSTANCE.getEEFViewDescription_EPackageNsUris(); + EAttribute EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFImagePickerDescription_EditExpression(); /** - * The meta object literal for the 'Groups' containment reference list feature. + * The meta object literal for the 'Candidates Expression' attribute feature. * * * @generated */ - EReference EEF_VIEW_DESCRIPTION__GROUPS = eINSTANCE.getEEFViewDescription_Groups(); + EAttribute EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE.getEEFImagePickerDescription_CandidatesExpression(); /** - * The meta object literal for the 'Pages' containment reference list feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTableDescriptionImpl EEF Table Description}' class. * * + * @see org.eclipse.eef.impl.EEFTableDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableDescription() * @generated */ - EReference EEF_VIEW_DESCRIPTION__PAGES = eINSTANCE.getEEFViewDescription_Pages(); + EClass EEF_TABLE_DESCRIPTION = eINSTANCE.getEEFTableDescription(); /** - * The meta object literal for the 'Java Extensions' containment reference list feature. + * The meta object literal for the 'Value Expression' attribute feature. * * * @generated */ - EReference EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS = eINSTANCE.getEEFViewDescription_JavaExtensions(); + EAttribute EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTableDescription_ValueExpression(); /** - * The meta object literal for the 'Imported Views' reference list feature. + * The meta object literal for the 'Edit Expression' attribute feature. * * * @generated */ - EReference EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS = eINSTANCE.getEEFViewDescription_ImportedViews(); + EAttribute EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTableDescription_EditExpression(); /** - * The meta object literal for the 'Tree Structures' containment reference list feature. + * The meta object literal for the 'Table Structure' reference feature. * * * @generated */ - EReference EEF_VIEW_DESCRIPTION__TREE_STRUCTURES = eINSTANCE.getEEFViewDescription_TreeStructures(); + EReference EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE = eINSTANCE.getEEFTableDescription_TableStructure(); /** - * The meta object literal for the 'Table Structures' containment reference list feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFColumnDescriptionImpl EEF Column Description}' class. * * + * @see org.eclipse.eef.impl.EEFColumnDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnDescription() * @generated */ - EReference EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES = eINSTANCE.getEEFViewDescription_TableStructures(); + EClass EEF_COLUMN_DESCRIPTION = eINSTANCE.getEEFColumnDescription(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFPageDescriptionImpl EEF Page Description}' class. + * The meta object literal for the 'Width' attribute feature. * * - * @see org.eclipse.eef.impl.EEFPageDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFPageDescription() * @generated */ - EClass EEF_PAGE_DESCRIPTION = eINSTANCE.getEEFPageDescription(); + EAttribute EEF_COLUMN_DESCRIPTION__WIDTH = eINSTANCE.getEEFColumnDescription_Width(); /** - * The meta object literal for the 'Identifier' attribute feature. + * The meta object literal for the 'Header Expression' attribute feature. * * * @generated */ - EAttribute EEF_PAGE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFPageDescription_Identifier(); + EAttribute EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION = eINSTANCE.getEEFColumnDescription_HeaderExpression(); /** - * The meta object literal for the 'Label Expression' attribute feature. + * The meta object literal for the 'Cell Widget' reference feature. * * * @generated */ - EAttribute EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFPageDescription_LabelExpression(); + EReference EEF_COLUMN_DESCRIPTION__CELL_WIDGET = eINSTANCE.getEEFColumnDescription_CellWidget(); /** - * The meta object literal for the 'Domain Class' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLineDescriptionImpl EEF Line Description}' class. * * + * @see org.eclipse.eef.impl.EEFLineDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineDescription() * @generated */ - EAttribute EEF_PAGE_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFPageDescription_DomainClass(); + EClass EEF_LINE_DESCRIPTION = eINSTANCE.getEEFLineDescription(); /** - * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * The meta object literal for the 'Header Expression' attribute feature. * * * @generated */ - EAttribute EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE.getEEFPageDescription_SemanticCandidateExpression(); + EAttribute EEF_LINE_DESCRIPTION__HEADER_EXPRESSION = eINSTANCE.getEEFLineDescription_HeaderExpression(); /** - * The meta object literal for the 'Groups' reference list feature. + * The meta object literal for the 'Semantic Candidates Expression' attribute feature. * * * @generated */ - EReference EEF_PAGE_DESCRIPTION__GROUPS = eINSTANCE.getEEFPageDescription_Groups(); + EAttribute EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = eINSTANCE.getEEFLineDescription_SemanticCandidatesExpression(); /** - * The meta object literal for the 'Extended Page' reference feature. + * The meta object literal for the 'Domain Class' attribute feature. * * * @generated */ - EReference EEF_PAGE_DESCRIPTION__EXTENDED_PAGE = eINSTANCE.getEEFPageDescription_ExtendedPage(); + EAttribute EEF_LINE_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFLineDescription_DomainClass(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFGroupDescriptionImpl EEF Group Description}' class. + * The meta object literal for the 'Sub Lines' containment reference list feature. * * - * @see org.eclipse.eef.impl.EEFGroupDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupDescription() * @generated */ - EClass EEF_GROUP_DESCRIPTION = eINSTANCE.getEEFGroupDescription(); + EReference EEF_LINE_DESCRIPTION__SUB_LINES = eINSTANCE.getEEFLineDescription_SubLines(); /** - * The meta object literal for the 'Identifier' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl EEF Table Structure Description}' class. * * + * @see org.eclipse.eef.impl.EEFTableStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStructureDescription() * @generated */ - EAttribute EEF_GROUP_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFGroupDescription_Identifier(); + EClass EEF_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFTableStructureDescription(); /** - * The meta object literal for the 'Label Expression' attribute feature. + * The meta object literal for the 'Multiple' attribute feature. * * * @generated */ - EAttribute EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFGroupDescription_LabelExpression(); + EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFTableStructureDescription_Multiple(); /** - * The meta object literal for the 'Domain Class' attribute feature. + * The meta object literal for the 'Identifier' attribute feature. * * * @generated */ - EAttribute EEF_GROUP_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFGroupDescription_DomainClass(); + EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFTableStructureDescription_Identifier(); /** - * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl EEF Adapter Factory Table Structure Description}' class. * * + * @see org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFAdapterFactoryTableStructureDescription() * @generated */ - EAttribute EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE.getEEFGroupDescription_SemanticCandidateExpression(); + EClass EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFAdapterFactoryTableStructureDescription(); /** - * The meta object literal for the 'Container' containment reference feature. + * The meta object literal for the 'Adapter Factory Provider' attribute feature. * * * @generated */ - EReference EEF_GROUP_DESCRIPTION__CONTAINER = eINSTANCE.getEEFGroupDescription_Container(); + EAttribute EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = eINSTANCE + .getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFContainerDescriptionImpl EEF Container Description}' class. + * The meta object literal for the '{@link org.eclipse.eef.impl.ContextableElementImpl Contextable Element}' class. * * - * @see org.eclipse.eef.impl.EEFContainerDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFContainerDescription() + * @see org.eclipse.eef.impl.ContextableElementImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getContextableElement() * @generated */ - EClass EEF_CONTAINER_DESCRIPTION = eINSTANCE.getEEFContainerDescription(); + EClass CONTEXTABLE_ELEMENT = eINSTANCE.getContextableElement(); /** - * The meta object literal for the 'Identifier' attribute feature. + * The meta object literal for the 'Required Context Variables' containment reference list feature. * * * @generated */ - EAttribute EEF_CONTAINER_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFContainerDescription_Identifier(); + EReference CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES = eINSTANCE.getContextableElement_RequiredContextVariables(); /** - * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * The meta object literal for the 'Excluded Context Variables' containment reference list feature. * * * @generated */ - EAttribute EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE.getEEFContainerDescription_SemanticCandidateExpression(); + EReference CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES = eINSTANCE.getContextableElement_ExcludedContextVariables(); /** - * The meta object literal for the 'Domain Class' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFStyleImpl EEF Style}' class. * * + * @see org.eclipse.eef.impl.EEFStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFStyle() * @generated */ - EAttribute EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFContainerDescription_DomainClass(); + EClass EEF_STYLE = eINSTANCE.getEEFStyle(); /** - * The meta object literal for the 'Layout Column Count' attribute feature. + * The meta object literal for the 'Font Expression' attribute feature. * * * @generated */ - EAttribute EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT = eINSTANCE.getEEFContainerDescription_LayoutColumnCount(); + EAttribute EEF_STYLE__FONT_EXPRESSION = eINSTANCE.getEEFStyle_FontExpression(); /** - * The meta object literal for the 'Containers' containment reference list feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFConditionalStyleImpl EEF Conditional Style}' class. * * + * @see org.eclipse.eef.impl.EEFConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFConditionalStyle() * @generated */ - EReference EEF_CONTAINER_DESCRIPTION__CONTAINERS = eINSTANCE.getEEFContainerDescription_Containers(); + EClass EEF_CONDITIONAL_STYLE = eINSTANCE.getEEFConditionalStyle(); /** - * The meta object literal for the 'Widgets' containment reference list feature. + * The meta object literal for the 'Conditional Expression' attribute feature. * * * @generated */ - EReference EEF_CONTAINER_DESCRIPTION__WIDGETS = eINSTANCE.getEEFContainerDescription_Widgets(); + EAttribute EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = eINSTANCE.getEEFConditionalStyle_ConditionalExpression(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl EEF Widget Description}' class. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFStyleCustomizationImpl EEF Style Customization}' class. * * - * @see org.eclipse.eef.impl.EEFWidgetDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFWidgetDescription() + * @see org.eclipse.eef.impl.EEFStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFStyleCustomization() * @generated */ - EClass EEF_WIDGET_DESCRIPTION = eINSTANCE.getEEFWidgetDescription(); + EClass EEF_STYLE_CUSTOMIZATION = eINSTANCE.getEEFStyleCustomization(); /** - * The meta object literal for the 'Identifier' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFGroupStyleImpl EEF Group Style}' class. * * + * @see org.eclipse.eef.impl.EEFGroupStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupStyle() * @generated */ - EAttribute EEF_WIDGET_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFWidgetDescription_Identifier(); + EClass EEF_GROUP_STYLE = eINSTANCE.getEEFGroupStyle(); /** - * The meta object literal for the 'Label Expression' attribute feature. + * The meta object literal for the 'Foreground Color Expression' attribute feature. * * * @generated */ - EAttribute EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFWidgetDescription_LabelExpression(); + EAttribute EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFGroupStyle_ForegroundColorExpression(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl EEF Java Extension Description}' class. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFGroupConditionalStyleImpl EEF Group Conditional Style}' class. * * - * @see org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFJavaExtensionDescription() + * @see org.eclipse.eef.impl.EEFGroupConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupConditionalStyle() * @generated */ - EClass EEF_JAVA_EXTENSION_DESCRIPTION = eINSTANCE.getEEFJavaExtensionDescription(); + EClass EEF_GROUP_CONDITIONAL_STYLE = eINSTANCE.getEEFGroupConditionalStyle(); /** - * The meta object literal for the 'Qualified Name' attribute feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EAttribute EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME = eINSTANCE.getEEFJavaExtensionDescription_QualifiedName(); + EReference EEF_GROUP_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFGroupConditionalStyle_Style(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl EEF Tree Structure Description}' class. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFGroupStyleCustomizationImpl EEF Group Style Customization}' class. * * - * @see org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStructureDescription() + * @see org.eclipse.eef.impl.EEFGroupStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupStyleCustomization() * @generated */ - EClass EEF_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFTreeStructureDescription(); + EClass EEF_GROUP_STYLE_CUSTOMIZATION = eINSTANCE.getEEFGroupStyleCustomization(); /** - * The meta object literal for the 'Identifier' attribute feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EAttribute EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFTreeStructureDescription_Identifier(); + EReference EEF_GROUP_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFGroupStyleCustomization_Style(); /** - * The meta object literal for the 'Multiple' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTextStyleImpl EEF Text Style}' class. * * + * @see org.eclipse.eef.impl.EEFTextStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextStyle() * @generated */ - EAttribute EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFTreeStructureDescription_Multiple(); + EClass EEF_TEXT_STYLE = eINSTANCE.getEEFTextStyle(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl EEF Interpreted Table Structure Description}' class. + * The meta object literal for the 'Background Color Expression' attribute feature. * * - * @see org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFInterpretedTableStructureDescription() * @generated */ - EClass EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFInterpretedTableStructureDescription(); + EAttribute EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFTextStyle_BackgroundColorExpression(); /** - * The meta object literal for the 'Columns' containment reference list feature. + * The meta object literal for the 'Foreground Color Expression' attribute feature. * * * @generated */ - EReference EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS = eINSTANCE.getEEFInterpretedTableStructureDescription_Columns(); + EAttribute EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFTextStyle_ForegroundColorExpression(); /** - * The meta object literal for the 'Line' containment reference feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTextConditionalStyleImpl EEF Text Conditional Style}' class. * * + * @see org.eclipse.eef.impl.EEFTextConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextConditionalStyle() * @generated */ - EReference EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE = eINSTANCE.getEEFInterpretedTableStructureDescription_Line(); + EClass EEF_TEXT_CONDITIONAL_STYLE = eINSTANCE.getEEFTextConditionalStyle(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFCellWidgetDescriptionImpl EEF Cell Widget Description}' class. + * The meta object literal for the 'Style' containment reference feature. * * - * @see org.eclipse.eef.impl.EEFCellWidgetDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCellWidgetDescription() * @generated */ - EClass EEF_CELL_WIDGET_DESCRIPTION = eINSTANCE.getEEFCellWidgetDescription(); + EReference EEF_TEXT_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFTextConditionalStyle_Style(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl EEF Adapter Factory Tree Structure Description}' class. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTextStyleCustomizationImpl EEF Text Style Customization}' class. * * - * @see org.eclipse.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFAdapterFactoryTreeStructureDescription() + * @see org.eclipse.eef.impl.EEFTextStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextStyleCustomization() * @generated */ - EClass EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFAdapterFactoryTreeStructureDescription(); + EClass EEF_TEXT_STYLE_CUSTOMIZATION = eINSTANCE.getEEFTextStyleCustomization(); /** - * The meta object literal for the 'Adapter Factory Provider' attribute feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EAttribute EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = eINSTANCE - .getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(); + EReference EEF_TEXT_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFTextStyleCustomization_Style(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl EEF Interpreted Tree Structure Description}' class. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFCheckboxStyleImpl EEF Checkbox Style}' class. * * - * @see org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFInterpretedTreeStructureDescription() + * @see org.eclipse.eef.impl.EEFCheckboxStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxStyle() * @generated */ - EClass EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFInterpretedTreeStructureDescription(); + EClass EEF_CHECKBOX_STYLE = eINSTANCE.getEEFCheckboxStyle(); /** - * The meta object literal for the 'Roots Expression' attribute feature. + * The meta object literal for the 'Background Color Expression' attribute feature. * * * @generated */ - EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION = eINSTANCE - .getEEFInterpretedTreeStructureDescription_RootsExpression(); + EAttribute EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFCheckboxStyle_BackgroundColorExpression(); /** - * The meta object literal for the 'Children Expression' attribute feature. + * The meta object literal for the 'Foreground Color Expression' attribute feature. * * * @generated */ - EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION = eINSTANCE - .getEEFInterpretedTreeStructureDescription_ChildrenExpression(); + EAttribute EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFCheckboxStyle_ForegroundColorExpression(); /** - * The meta object literal for the 'Selectable Predicate Expression' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFCheckboxConditionalStyleImpl EEF Checkbox Conditional Style}' class. * * + * @see org.eclipse.eef.impl.EEFCheckboxConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxConditionalStyle() * @generated */ - EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION = eINSTANCE - .getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(); + EClass EEF_CHECKBOX_CONDITIONAL_STYLE = eINSTANCE.getEEFCheckboxConditionalStyle(); /** - * The meta object literal for the 'Candidate Display Expression' attribute feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE - .getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(); + EReference EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFCheckboxConditionalStyle_Style(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTextDescriptionImpl EEF Text Description}' class. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFCheckboxStyleCustomizationImpl EEF Checkbox Style Customization}' class. * * - * @see org.eclipse.eef.impl.EEFTextDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextDescription() + * @see org.eclipse.eef.impl.EEFCheckboxStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxStyleCustomization() * @generated */ - EClass EEF_TEXT_DESCRIPTION = eINSTANCE.getEEFTextDescription(); + EClass EEF_CHECKBOX_STYLE_CUSTOMIZATION = eINSTANCE.getEEFCheckboxStyleCustomization(); /** - * The meta object literal for the 'Value Expression' attribute feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EAttribute EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTextDescription_ValueExpression(); + EReference EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFCheckboxStyleCustomization_Style(); /** - * The meta object literal for the 'Edit Expression' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLabelStyleImpl EEF Label Style}' class. * * + * @see org.eclipse.eef.impl.EEFLabelStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelStyle() * @generated */ - EAttribute EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTextDescription_EditExpression(); + EClass EEF_LABEL_STYLE = eINSTANCE.getEEFLabelStyle(); /** - * The meta object literal for the 'Line Count' attribute feature. + * The meta object literal for the 'Background Color Expression' attribute feature. * * * @generated */ - EAttribute EEF_TEXT_DESCRIPTION__LINE_COUNT = eINSTANCE.getEEFTextDescription_LineCount(); + EAttribute EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLabelStyle_BackgroundColorExpression(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFCheckboxDescriptionImpl EEF Checkbox Description}' class. + * The meta object literal for the 'Foreground Color Expression' attribute feature. * * - * @see org.eclipse.eef.impl.EEFCheckboxDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxDescription() * @generated */ - EClass EEF_CHECKBOX_DESCRIPTION = eINSTANCE.getEEFCheckboxDescription(); + EAttribute EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLabelStyle_ForegroundColorExpression(); /** - * The meta object literal for the 'Value Expression' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLabelConditionalStyleImpl EEF Label Conditional Style}' class. * * + * @see org.eclipse.eef.impl.EEFLabelConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelConditionalStyle() * @generated */ - EAttribute EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFCheckboxDescription_ValueExpression(); + EClass EEF_LABEL_CONDITIONAL_STYLE = eINSTANCE.getEEFLabelConditionalStyle(); /** - * The meta object literal for the 'Edit Expression' attribute feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EAttribute EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFCheckboxDescription_EditExpression(); + EReference EEF_LABEL_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFLabelConditionalStyle_Style(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFSelectDescriptionImpl EEF Select Description}' class. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLabelStyleCustomizationImpl EEF Label Style Customization}' class. * * - * @see org.eclipse.eef.impl.EEFSelectDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectDescription() + * @see org.eclipse.eef.impl.EEFLabelStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelStyleCustomization() * @generated */ - EClass EEF_SELECT_DESCRIPTION = eINSTANCE.getEEFSelectDescription(); + EClass EEF_LABEL_STYLE_CUSTOMIZATION = eINSTANCE.getEEFLabelStyleCustomization(); /** - * The meta object literal for the 'Value Expression' attribute feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EAttribute EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFSelectDescription_ValueExpression(); + EReference EEF_LABEL_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFLabelStyleCustomization_Style(); /** - * The meta object literal for the 'Edit Expression' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFRadioStyleImpl EEF Radio Style}' class. * * + * @see org.eclipse.eef.impl.EEFRadioStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioStyle() * @generated */ - EAttribute EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFSelectDescription_EditExpression(); + EClass EEF_RADIO_STYLE = eINSTANCE.getEEFRadioStyle(); /** - * The meta object literal for the 'Candidates Expression' attribute feature. + * The meta object literal for the 'Background Color Expression' attribute feature. * * * @generated */ - EAttribute EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE.getEEFSelectDescription_CandidatesExpression(); + EAttribute EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFRadioStyle_BackgroundColorExpression(); /** - * The meta object literal for the 'Multiple' attribute feature. + * The meta object literal for the 'Foreground Color Expression' attribute feature. * * * @generated */ - EAttribute EEF_SELECT_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFSelectDescription_Multiple(); + EAttribute EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFRadioStyle_ForegroundColorExpression(); /** - * The meta object literal for the 'Candidate Display Expression' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFRadioConditionalStyleImpl EEF Radio Conditional Style}' class. * * + * @see org.eclipse.eef.impl.EEFRadioConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioConditionalStyle() * @generated */ - EAttribute EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE.getEEFSelectDescription_CandidateDisplayExpression(); + EClass EEF_RADIO_CONDITIONAL_STYLE = eINSTANCE.getEEFRadioConditionalStyle(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLabelDescriptionImpl EEF Label Description}' class. + * The meta object literal for the 'Style' containment reference feature. * * - * @see org.eclipse.eef.impl.EEFLabelDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelDescription() * @generated */ - EClass EEF_LABEL_DESCRIPTION = eINSTANCE.getEEFLabelDescription(); + EReference EEF_RADIO_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFRadioConditionalStyle_Style(); /** - * The meta object literal for the 'Value Expression' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFRadioStyleCustomizationImpl EEF Radio Style Customization}' class. * * + * @see org.eclipse.eef.impl.EEFRadioStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioStyleCustomization() * @generated */ - EAttribute EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFLabelDescription_ValueExpression(); + EClass EEF_RADIO_STYLE_CUSTOMIZATION = eINSTANCE.getEEFRadioStyleCustomization(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFRadioDescriptionImpl EEF Radio Description}' class. + * The meta object literal for the 'Style' containment reference feature. * * - * @see org.eclipse.eef.impl.EEFRadioDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioDescription() * @generated */ - EClass EEF_RADIO_DESCRIPTION = eINSTANCE.getEEFRadioDescription(); + EReference EEF_RADIO_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFRadioStyleCustomization_Style(); /** - * The meta object literal for the 'Value Expression' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLinkStyleImpl EEF Link Style}' class. * * + * @see org.eclipse.eef.impl.EEFLinkStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkStyle() * @generated */ - EAttribute EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFRadioDescription_ValueExpression(); + EClass EEF_LINK_STYLE = eINSTANCE.getEEFLinkStyle(); /** - * The meta object literal for the 'Edit Expression' attribute feature. + * The meta object literal for the 'Background Color Expression' attribute feature. * * * @generated */ - EAttribute EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFRadioDescription_EditExpression(); + EAttribute EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLinkStyle_BackgroundColorExpression(); /** - * The meta object literal for the 'Candidates Expression' attribute feature. + * The meta object literal for the 'Foreground Color Expression' attribute feature. * * * @generated */ - EAttribute EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE.getEEFRadioDescription_CandidatesExpression(); + EAttribute EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLinkStyle_ForegroundColorExpression(); /** - * The meta object literal for the 'Candidate Display Expression' attribute feature. + * The meta object literal for the 'Background Image Expression' attribute feature. * * * @generated */ - EAttribute EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE.getEEFRadioDescription_CandidateDisplayExpression(); + EAttribute EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION = eINSTANCE.getEEFLinkStyle_BackgroundImageExpression(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl EEF Tree Dialog Select Description}' class. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLinkConditionalStyleImpl EEF Link Conditional Style}' class. * * - * @see org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeDialogSelectDescription() + * @see org.eclipse.eef.impl.EEFLinkConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkConditionalStyle() * @generated */ - EClass EEF_TREE_DIALOG_SELECT_DESCRIPTION = eINSTANCE.getEEFTreeDialogSelectDescription(); + EClass EEF_LINK_CONDITIONAL_STYLE = eINSTANCE.getEEFLinkConditionalStyle(); /** - * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE - .getEEFTreeDialogSelectDescription_SemanticCandidateExpression(); + EReference EEF_LINK_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFLinkConditionalStyle_Style(); /** - * The meta object literal for the 'Default Filter' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLinkStyleCustomizationImpl EEF Link Style Customization}' class. * * + * @see org.eclipse.eef.impl.EEFLinkStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkStyleCustomization() * @generated */ - EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER = eINSTANCE.getEEFTreeDialogSelectDescription_DefaultFilter(); + EClass EEF_LINK_STYLE_CUSTOMIZATION = eINSTANCE.getEEFLinkStyleCustomization(); /** - * The meta object literal for the 'Domain Class' attribute feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFTreeDialogSelectDescription_DomainClass(); + EReference EEF_LINK_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFLinkStyleCustomization_Style(); /** - * The meta object literal for the 'Tree' reference feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFSelectStyleImpl EEF Select Style}' class. * * + * @see org.eclipse.eef.impl.EEFSelectStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectStyle() * @generated */ - EReference EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE = eINSTANCE.getEEFTreeDialogSelectDescription_Tree(); + EClass EEF_SELECT_STYLE = eINSTANCE.getEEFSelectStyle(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLinkDescriptionImpl EEF Link Description}' class. + * The meta object literal for the 'Background Color Expression' attribute feature. * * - * @see org.eclipse.eef.impl.EEFLinkDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkDescription() * @generated */ - EClass EEF_LINK_DESCRIPTION = eINSTANCE.getEEFLinkDescription(); + EAttribute EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFSelectStyle_BackgroundColorExpression(); /** - * The meta object literal for the 'On Click Expression' attribute feature. + * The meta object literal for the 'Foreground Color Expression' attribute feature. * * * @generated */ - EAttribute EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION = eINSTANCE.getEEFLinkDescription_OnClickExpression(); + EAttribute EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFSelectStyle_ForegroundColorExpression(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFImageDescriptionImpl EEF Image Description}' class. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFSelectConditionalStyleImpl EEF Select Conditional Style}' class. * * - * @see org.eclipse.eef.impl.EEFImageDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFImageDescription() + * @see org.eclipse.eef.impl.EEFSelectConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectConditionalStyle() * @generated */ - EClass EEF_IMAGE_DESCRIPTION = eINSTANCE.getEEFImageDescription(); + EClass EEF_SELECT_CONDITIONAL_STYLE = eINSTANCE.getEEFSelectConditionalStyle(); /** - * The meta object literal for the 'Value Expression' attribute feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EAttribute EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFImageDescription_ValueExpression(); + EReference EEF_SELECT_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFSelectConditionalStyle_Style(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeDescriptionImpl EEF Tree Description}' class. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFSelectStyleCustomizationImpl EEF Select Style Customization}' class. * * - * @see org.eclipse.eef.impl.EEFTreeDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeDescription() + * @see org.eclipse.eef.impl.EEFSelectStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectStyleCustomization() * @generated */ - EClass EEF_TREE_DESCRIPTION = eINSTANCE.getEEFTreeDescription(); + EClass EEF_SELECT_STYLE_CUSTOMIZATION = eINSTANCE.getEEFSelectStyleCustomization(); /** - * The meta object literal for the 'Value Expression' attribute feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EAttribute EEF_TREE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTreeDescription_ValueExpression(); + EReference EEF_SELECT_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFSelectStyleCustomization_Style(); /** - * The meta object literal for the 'Tree Structure' reference feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeStyleImpl EEF Tree Style}' class. * * + * @see org.eclipse.eef.impl.EEFTreeStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStyle() * @generated */ - EReference EEF_TREE_DESCRIPTION__TREE_STRUCTURE = eINSTANCE.getEEFTreeDescription_TreeStructure(); + EClass EEF_TREE_STYLE = eINSTANCE.getEEFTreeStyle(); /** - * The meta object literal for the 'Edit Expression' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeConditionalStyleImpl EEF Tree Conditional Style}' class. * * + * @see org.eclipse.eef.impl.EEFTreeConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeConditionalStyle() * @generated */ - EAttribute EEF_TREE_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTreeDescription_EditExpression(); + EClass EEF_TREE_CONDITIONAL_STYLE = eINSTANCE.getEEFTreeConditionalStyle(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFImagePickerDescriptionImpl EEF Image Picker Description}' class. + * The meta object literal for the 'Style' containment reference feature. * * - * @see org.eclipse.eef.impl.EEFImagePickerDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFImagePickerDescription() * @generated */ - EClass EEF_IMAGE_PICKER_DESCRIPTION = eINSTANCE.getEEFImagePickerDescription(); + EReference EEF_TREE_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFTreeConditionalStyle_Style(); /** - * The meta object literal for the 'Value Expression' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeStyleCustomizationImpl EEF Tree Style Customization}' class. * * + * @see org.eclipse.eef.impl.EEFTreeStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStyleCustomization() * @generated */ - EAttribute EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFImagePickerDescription_ValueExpression(); + EClass EEF_TREE_STYLE_CUSTOMIZATION = eINSTANCE.getEEFTreeStyleCustomization(); /** - * The meta object literal for the 'Edit Expression' attribute feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EAttribute EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFImagePickerDescription_EditExpression(); + EReference EEF_TREE_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFTreeStyleCustomization_Style(); /** - * The meta object literal for the 'Candidates Expression' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTableStyleImpl EEF Table Style}' class. * * + * @see org.eclipse.eef.impl.EEFTableStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStyle() * @generated */ - EAttribute EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE.getEEFImagePickerDescription_CandidatesExpression(); + EClass EEF_TABLE_STYLE = eINSTANCE.getEEFTableStyle(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTableDescriptionImpl EEF Table Description}' class. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTableConditionalStyleImpl EEF Table Conditional Style}' class. * * - * @see org.eclipse.eef.impl.EEFTableDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableDescription() + * @see org.eclipse.eef.impl.EEFTableConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableConditionalStyle() * @generated */ - EClass EEF_TABLE_DESCRIPTION = eINSTANCE.getEEFTableDescription(); + EClass EEF_TABLE_CONDITIONAL_STYLE = eINSTANCE.getEEFTableConditionalStyle(); /** - * The meta object literal for the 'Value Expression' attribute feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EAttribute EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTableDescription_ValueExpression(); + EReference EEF_TABLE_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFTableConditionalStyle_Style(); /** - * The meta object literal for the 'Edit Expression' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTableStyleCustomizationImpl EEF Table Style Customization}' class. * * + * @see org.eclipse.eef.impl.EEFTableStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStyleCustomization() * @generated */ - EAttribute EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTableDescription_EditExpression(); + EClass EEF_TABLE_STYLE_CUSTOMIZATION = eINSTANCE.getEEFTableStyleCustomization(); /** - * The meta object literal for the 'Table Structure' reference feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EReference EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE = eINSTANCE.getEEFTableDescription_TableStructure(); + EReference EEF_TABLE_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFTableStyleCustomization_Style(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFColumnDescriptionImpl EEF Column Description}' class. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLineStyleImpl EEF Line Style}' class. * * - * @see org.eclipse.eef.impl.EEFColumnDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnDescription() + * @see org.eclipse.eef.impl.EEFLineStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineStyle() * @generated */ - EClass EEF_COLUMN_DESCRIPTION = eINSTANCE.getEEFColumnDescription(); + EClass EEF_LINE_STYLE = eINSTANCE.getEEFLineStyle(); /** - * The meta object literal for the 'Width' attribute feature. + * The meta object literal for the 'Background Color Expression' attribute feature. * * * @generated */ - EAttribute EEF_COLUMN_DESCRIPTION__WIDTH = eINSTANCE.getEEFColumnDescription_Width(); + EAttribute EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLineStyle_BackgroundColorExpression(); /** - * The meta object literal for the 'Header Expression' attribute feature. + * The meta object literal for the 'Foreground Color Expression' attribute feature. * * * @generated */ - EAttribute EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION = eINSTANCE.getEEFColumnDescription_HeaderExpression(); + EAttribute EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLineStyle_ForegroundColorExpression(); /** - * The meta object literal for the 'Cell Widget' reference feature. + * The meta object literal for the 'Header Background Color Expression' attribute feature. * * * @generated */ - EReference EEF_COLUMN_DESCRIPTION__CELL_WIDGET = eINSTANCE.getEEFColumnDescription_CellWidget(); + EAttribute EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLineStyle_HeaderBackgroundColorExpression(); /** - * The meta object literal for the 'Context Candidates Expression' attribute feature. + * The meta object literal for the 'Header Foreground Color Expression' attribute feature. * * * @generated */ - EAttribute EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION = eINSTANCE.getEEFColumnDescription_ContextCandidatesExpression(); + EAttribute EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLineStyle_HeaderForegroundColorExpression(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLineDescriptionImpl EEF Line Description}' class. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLineConditionalStyleImpl EEF Line Conditional Style}' class. * * - * @see org.eclipse.eef.impl.EEFLineDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineDescription() + * @see org.eclipse.eef.impl.EEFLineConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineConditionalStyle() * @generated */ - EClass EEF_LINE_DESCRIPTION = eINSTANCE.getEEFLineDescription(); + EClass EEF_LINE_CONDITIONAL_STYLE = eINSTANCE.getEEFLineConditionalStyle(); /** - * The meta object literal for the 'Header Expression' attribute feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EAttribute EEF_LINE_DESCRIPTION__HEADER_EXPRESSION = eINSTANCE.getEEFLineDescription_HeaderExpression(); + EReference EEF_LINE_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFLineConditionalStyle_Style(); /** - * The meta object literal for the 'Semantic Candidates Expression' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLineStyleCustomizationImpl EEF Line Style Customization}' class. * * + * @see org.eclipse.eef.impl.EEFLineStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineStyleCustomization() * @generated */ - EAttribute EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = eINSTANCE.getEEFLineDescription_SemanticCandidatesExpression(); + EClass EEF_LINE_STYLE_CUSTOMIZATION = eINSTANCE.getEEFLineStyleCustomization(); /** - * The meta object literal for the 'Domain Class' attribute feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EAttribute EEF_LINE_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFLineDescription_DomainClass(); + EReference EEF_LINE_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFLineStyleCustomization_Style(); /** - * The meta object literal for the 'Sub Lines' containment reference list feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFColumnStyleImpl EEF Column Style}' class. * * + * @see org.eclipse.eef.impl.EEFColumnStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnStyle() * @generated */ - EReference EEF_LINE_DESCRIPTION__SUB_LINES = eINSTANCE.getEEFLineDescription_SubLines(); + EClass EEF_COLUMN_STYLE = eINSTANCE.getEEFColumnStyle(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl EEF Table Structure Description}' class. + * The meta object literal for the 'Background Color Expression' attribute feature. * * - * @see org.eclipse.eef.impl.EEFTableStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStructureDescription() * @generated */ - EClass EEF_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFTableStructureDescription(); + EAttribute EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFColumnStyle_BackgroundColorExpression(); /** - * The meta object literal for the 'Multiple' attribute feature. + * The meta object literal for the 'Foreground Color Expression' attribute feature. * * * @generated */ - EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFTableStructureDescription_Multiple(); + EAttribute EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFColumnStyle_ForegroundColorExpression(); /** - * The meta object literal for the 'Identifier' attribute feature. + * The meta object literal for the 'Header Background Color Expression' attribute feature. * * * @generated */ - EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFTableStructureDescription_Identifier(); + EAttribute EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFColumnStyle_HeaderBackgroundColorExpression(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl EEF Adapter Factory Table Structure Description}' class. + * The meta object literal for the 'Header Foreground Color Expression' attribute feature. * * - * @see org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFAdapterFactoryTableStructureDescription() * @generated */ - EClass EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFAdapterFactoryTableStructureDescription(); + EAttribute EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFColumnStyle_HeaderForegroundColorExpression(); /** - * The meta object literal for the 'Adapter Factory Provider' attribute feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFColumnConditionalStyleImpl EEF Column Conditional Style}' class. * * + * @see org.eclipse.eef.impl.EEFColumnConditionalStyleImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnConditionalStyle() * @generated */ - EAttribute EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = eINSTANCE - .getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); + EClass EEF_COLUMN_CONDITIONAL_STYLE = eINSTANCE.getEEFColumnConditionalStyle(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.ContextableElementImpl Contextable Element}' class. + * The meta object literal for the 'Style' containment reference feature. * * - * @see org.eclipse.eef.impl.ContextableElementImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getContextableElement() * @generated */ - EClass CONTEXTABLE_ELEMENT = eINSTANCE.getContextableElement(); + EReference EEF_COLUMN_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFColumnConditionalStyle_Style(); /** - * The meta object literal for the 'Required Context Variables' containment reference list feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFColumnStyleCustomizationImpl EEF Column Style Customization}' class. * * + * @see org.eclipse.eef.impl.EEFColumnStyleCustomizationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnStyleCustomization() * @generated */ - EReference CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES = eINSTANCE.getContextableElement_RequiredContextVariables(); + EClass EEF_COLUMN_STYLE_CUSTOMIZATION = eINSTANCE.getEEFColumnStyleCustomization(); /** - * The meta object literal for the 'Excluded Context Variables' containment reference list feature. + * The meta object literal for the 'Style' containment reference feature. * * * @generated */ - EReference CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES = eINSTANCE.getContextableElement_ExcludedContextVariables(); + EReference EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFColumnStyleCustomization_Style(); /** * The meta object literal for the 'Expression' data type. diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxConditionalStyleImpl.java new file mode 100644 index 000000000..70a792414 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxConditionalStyleImpl.java @@ -0,0 +1,217 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFCheckboxConditionalStyle; +import org.eclipse.eef.EEFCheckboxStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'EEF Checkbox Conditional Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFCheckboxConditionalStyleImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFCheckboxConditionalStyleImpl extends MinimalEObjectImpl.Container implements EEFCheckboxConditionalStyle { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFCheckboxStyle style; + + /** + * + * + * @generated + */ + protected EEFCheckboxConditionalStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_CHECKBOX_CONDITIONAL_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public EEFCheckboxStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFCheckboxStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, + null, null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFCheckboxStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFCheckboxStyle newStyle, NotificationChain msgs) { + EEFCheckboxStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFCheckboxStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE: + setStyle((EEFCheckboxStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE: + setStyle((EEFCheckboxStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFCheckboxConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleCustomizationImpl.java new file mode 100644 index 000000000..06ec02b8d --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleCustomizationImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFCheckboxStyle; +import org.eclipse.eef.EEFCheckboxStyleCustomization; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Checkbox Style Customization'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFCheckboxStyleCustomizationImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFCheckboxStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFCheckboxStyleCustomization { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFCheckboxStyle style; + + /** + * + * + * @generated + */ + protected EEFCheckboxStyleCustomizationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_CHECKBOX_STYLE_CUSTOMIZATION; + } + + /** + * + * + * @generated + */ + @Override + public EEFCheckboxStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFCheckboxStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, + null, null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFCheckboxStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFCheckboxStyle newStyle, NotificationChain msgs) { + EEFCheckboxStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, + oldStyle, newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFCheckboxStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, + null, msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, + null, msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFCheckboxStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFCheckboxStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFCheckboxStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleImpl.java new file mode 100644 index 000000000..e2847e40e --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleImpl.java @@ -0,0 +1,231 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFCheckboxStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Checkbox Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFCheckboxStyleImpl#getBackgroundColorExpression Background Color Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFCheckboxStyleImpl#getForegroundColorExpression Foreground Color Expression}
    • + *
    + * + * @generated + */ +public class EEFCheckboxStyleImpl extends EEFStyleImpl implements EEFCheckboxStyle { + /** + * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFCheckboxStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_CHECKBOX_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public String getBackgroundColorExpression() { + return backgroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setBackgroundColorExpression(String newBackgroundColorExpression) { + String oldBackgroundColorExpression = backgroundColorExpression; + backgroundColorExpression = newBackgroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION, + oldBackgroundColorExpression, backgroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getForegroundColorExpression() { + return foregroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setForegroundColorExpression(String newForegroundColorExpression) { + String oldForegroundColorExpression = foregroundColorExpression; + foregroundColorExpression = newForegroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION, + oldForegroundColorExpression, foregroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION: + return getBackgroundColorExpression(); + case EefPackage.EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION: + return getForegroundColorExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression((String) newValue); + return; + case EefPackage.EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION: + return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null + : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); + case EefPackage.EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION: + return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null + : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ + result.append(backgroundColorExpression); + result.append(", foregroundColorExpression: "); //$NON-NLS-1$ + result.append(foregroundColorExpression); + result.append(')'); + return result.toString(); + } + +} //EEFCheckboxStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnConditionalStyleImpl.java new file mode 100644 index 000000000..dd8b11694 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnConditionalStyleImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFColumnConditionalStyle; +import org.eclipse.eef.EEFColumnStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Column Conditional Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFColumnConditionalStyleImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFColumnConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFColumnConditionalStyle { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFColumnStyle style; + + /** + * + * + * @generated + */ + protected EEFColumnConditionalStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_COLUMN_CONDITIONAL_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public EEFColumnStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFColumnStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFColumnStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFColumnStyle newStyle, NotificationChain msgs) { + EEFColumnStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFColumnStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE: + setStyle((EEFColumnStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE: + setStyle((EEFColumnStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFColumnConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnDescriptionImpl.java index 11c24084e..e0f8aca5e 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnDescriptionImpl.java @@ -31,7 +31,6 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; *
  • {@link org.eclipse.eef.impl.EEFColumnDescriptionImpl#getWidth Width}
  • *
  • {@link org.eclipse.eef.impl.EEFColumnDescriptionImpl#getHeaderExpression Header Expression}
  • *
  • {@link org.eclipse.eef.impl.EEFColumnDescriptionImpl#getCellWidget Cell Widget}
  • - *
  • {@link org.eclipse.eef.impl.EEFColumnDescriptionImpl#getContextCandidatesExpression Context Candidates Expression}
  • * * * @generated @@ -87,26 +86,6 @@ public class EEFColumnDescriptionImpl extends MinimalEObjectImpl.Container imple */ protected EEFCellWidgetDescription cellWidget; - /** - * The default value of the '{@link #getContextCandidatesExpression() Context Candidates Expression}' attribute. - * - * - * @see #getContextCandidatesExpression() - * @generated - * @ordered - */ - protected static final String CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getContextCandidatesExpression() Context Candidates Expression}' attribute. - * - * - * @see #getContextCandidatesExpression() - * @generated - * @ordered - */ - protected String contextCandidatesExpression = CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT; - /** * * @@ -214,30 +193,6 @@ public class EEFColumnDescriptionImpl extends MinimalEObjectImpl.Container imple eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET, oldCellWidget, cellWidget)); } - /** - * - * - * @generated - */ - @Override - public String getContextCandidatesExpression() { - return contextCandidatesExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setContextCandidatesExpression(String newContextCandidatesExpression) { - String oldContextCandidatesExpression = contextCandidatesExpression; - contextCandidatesExpression = newContextCandidatesExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION, - oldContextCandidatesExpression, contextCandidatesExpression)); - } - /** * * @@ -254,8 +209,6 @@ public class EEFColumnDescriptionImpl extends MinimalEObjectImpl.Container imple if (resolve) return getCellWidget(); return basicGetCellWidget(); - case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: - return getContextCandidatesExpression(); } return super.eGet(featureID, resolve, coreType); } @@ -277,9 +230,6 @@ public class EEFColumnDescriptionImpl extends MinimalEObjectImpl.Container imple case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: setCellWidget((EEFCellWidgetDescription) newValue); return; - case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: - setContextCandidatesExpression((String) newValue); - return; } super.eSet(featureID, newValue); } @@ -301,9 +251,6 @@ public class EEFColumnDescriptionImpl extends MinimalEObjectImpl.Container imple case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: setCellWidget((EEFCellWidgetDescription) null); return; - case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: - setContextCandidatesExpression(CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT); - return; } super.eUnset(featureID); } @@ -322,9 +269,6 @@ public class EEFColumnDescriptionImpl extends MinimalEObjectImpl.Container imple return HEADER_EXPRESSION_EDEFAULT == null ? headerExpression != null : !HEADER_EXPRESSION_EDEFAULT.equals(headerExpression); case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: return cellWidget != null; - case EefPackage.EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION: - return CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT == null ? contextCandidatesExpression != null - : !CONTEXT_CANDIDATES_EXPRESSION_EDEFAULT.equals(contextCandidatesExpression); } return super.eIsSet(featureID); } @@ -344,8 +288,6 @@ public class EEFColumnDescriptionImpl extends MinimalEObjectImpl.Container imple result.append(width); result.append(", headerExpression: "); //$NON-NLS-1$ result.append(headerExpression); - result.append(", contextCandidatesExpression: "); //$NON-NLS-1$ - result.append(contextCandidatesExpression); result.append(')'); return result.toString(); } diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleCustomizationImpl.java new file mode 100644 index 000000000..3d5a87fc5 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleCustomizationImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFColumnStyle; +import org.eclipse.eef.EEFColumnStyleCustomization; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Column Style Customization'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFColumnStyleCustomizationImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFColumnStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFColumnStyleCustomization { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFColumnStyle style; + + /** + * + * + * @generated + */ + protected EEFColumnStyleCustomizationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_COLUMN_STYLE_CUSTOMIZATION; + } + + /** + * + * + * @generated + */ + @Override + public EEFColumnStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFColumnStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, + null, null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFColumnStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFColumnStyle newStyle, NotificationChain msgs) { + EEFColumnStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFColumnStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFColumnStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFColumnStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFColumnStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleImpl.java new file mode 100644 index 000000000..4c2ee7492 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleImpl.java @@ -0,0 +1,347 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFColumnStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Column Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFColumnStyleImpl#getBackgroundColorExpression Background Color Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFColumnStyleImpl#getForegroundColorExpression Foreground Color Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFColumnStyleImpl#getHeaderBackgroundColorExpression Header Background Color Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFColumnStyleImpl#getHeaderForegroundColorExpression Header Foreground Color Expression}
    • + *
    + * + * @generated + */ +public class EEFColumnStyleImpl extends EEFStyleImpl implements EEFColumnStyle { + /** + * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getHeaderBackgroundColorExpression() Header Background Color Expression}' attribute. + * + * + * @see #getHeaderBackgroundColorExpression() + * @generated + * @ordered + */ + protected static final String HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getHeaderBackgroundColorExpression() Header Background Color Expression}' attribute. + * + * + * @see #getHeaderBackgroundColorExpression() + * @generated + * @ordered + */ + protected String headerBackgroundColorExpression = HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getHeaderForegroundColorExpression() Header Foreground Color Expression}' attribute. + * + * + * @see #getHeaderForegroundColorExpression() + * @generated + * @ordered + */ + protected static final String HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getHeaderForegroundColorExpression() Header Foreground Color Expression}' attribute. + * + * + * @see #getHeaderForegroundColorExpression() + * @generated + * @ordered + */ + protected String headerForegroundColorExpression = HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFColumnStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_COLUMN_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public String getBackgroundColorExpression() { + return backgroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setBackgroundColorExpression(String newBackgroundColorExpression) { + String oldBackgroundColorExpression = backgroundColorExpression; + backgroundColorExpression = newBackgroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION, + oldBackgroundColorExpression, backgroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getForegroundColorExpression() { + return foregroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setForegroundColorExpression(String newForegroundColorExpression) { + String oldForegroundColorExpression = foregroundColorExpression; + foregroundColorExpression = newForegroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION, + oldForegroundColorExpression, foregroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getHeaderBackgroundColorExpression() { + return headerBackgroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setHeaderBackgroundColorExpression(String newHeaderBackgroundColorExpression) { + String oldHeaderBackgroundColorExpression = headerBackgroundColorExpression; + headerBackgroundColorExpression = newHeaderBackgroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION, + oldHeaderBackgroundColorExpression, headerBackgroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getHeaderForegroundColorExpression() { + return headerForegroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setHeaderForegroundColorExpression(String newHeaderForegroundColorExpression) { + String oldHeaderForegroundColorExpression = headerForegroundColorExpression; + headerForegroundColorExpression = newHeaderForegroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION, + oldHeaderForegroundColorExpression, headerForegroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION: + return getBackgroundColorExpression(); + case EefPackage.EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION: + return getForegroundColorExpression(); + case EefPackage.EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: + return getHeaderBackgroundColorExpression(); + case EefPackage.EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: + return getHeaderForegroundColorExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression((String) newValue); + return; + case EefPackage.EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression((String) newValue); + return; + case EefPackage.EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: + setHeaderBackgroundColorExpression((String) newValue); + return; + case EefPackage.EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: + setHeaderForegroundColorExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: + setHeaderBackgroundColorExpression(HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: + setHeaderForegroundColorExpression(HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION: + return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null + : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); + case EefPackage.EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION: + return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null + : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); + case EefPackage.EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: + return HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? headerBackgroundColorExpression != null + : !HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(headerBackgroundColorExpression); + case EefPackage.EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: + return HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? headerForegroundColorExpression != null + : !HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(headerForegroundColorExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ + result.append(backgroundColorExpression); + result.append(", foregroundColorExpression: "); //$NON-NLS-1$ + result.append(foregroundColorExpression); + result.append(", headerBackgroundColorExpression: "); //$NON-NLS-1$ + result.append(headerBackgroundColorExpression); + result.append(", headerForegroundColorExpression: "); //$NON-NLS-1$ + result.append(headerForegroundColorExpression); + result.append(')'); + return result.toString(); + } + +} //EEFColumnStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFConditionalStyleImpl.java new file mode 100644 index 000000000..a49f36054 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFConditionalStyleImpl.java @@ -0,0 +1,174 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFConditionalStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'EEF Conditional Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFConditionalStyleImpl#getConditionalExpression Conditional Expression}
    • + *
    + * + * @generated + */ +public abstract class EEFConditionalStyleImpl extends MinimalEObjectImpl.Container implements EEFConditionalStyle { + /** + * The default value of the '{@link #getConditionalExpression() Conditional Expression}' attribute. + * + * + * @see #getConditionalExpression() + * @generated + * @ordered + */ + protected static final String CONDITIONAL_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getConditionalExpression() Conditional Expression}' attribute. + * + * + * @see #getConditionalExpression() + * @generated + * @ordered + */ + protected String conditionalExpression = CONDITIONAL_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFConditionalStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_CONDITIONAL_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public String getConditionalExpression() { + return conditionalExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setConditionalExpression(String newConditionalExpression) { + String oldConditionalExpression = conditionalExpression; + conditionalExpression = newConditionalExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION, oldConditionalExpression, + conditionalExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION: + return getConditionalExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION: + setConditionalExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION: + setConditionalExpression(CONDITIONAL_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION: + return CONDITIONAL_EXPRESSION_EDEFAULT == null ? conditionalExpression != null + : !CONDITIONAL_EXPRESSION_EDEFAULT.equals(conditionalExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (conditionalExpression: "); //$NON-NLS-1$ + result.append(conditionalExpression); + result.append(')'); + return result.toString(); + } + +} //EEFConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupConditionalStyleImpl.java new file mode 100644 index 000000000..77beac851 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupConditionalStyleImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFGroupConditionalStyle; +import org.eclipse.eef.EEFGroupStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Group Conditional Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFGroupConditionalStyleImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFGroupConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFGroupConditionalStyle { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFGroupStyle style; + + /** + * + * + * @generated + */ + protected EEFGroupConditionalStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_GROUP_CONDITIONAL_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public EEFGroupStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFGroupStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFGroupStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFGroupStyle newStyle, NotificationChain msgs) { + EEFGroupStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFGroupStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE: + setStyle((EEFGroupStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE: + setStyle((EEFGroupStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFGroupConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java index 5b5d56c0b..77a703b06 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java @@ -33,6 +33,9 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; *
  • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getDomainClass Domain Class}
  • *
  • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
  • *
  • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getContainer Container}
  • + *
  • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getCollapsibleExpression Collapsible Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getCollapsedByDefaultExpression Collapsed By Default Expression}
  • + *
  • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getValidationExpression Validation Expression}
  • * * * @generated @@ -128,6 +131,66 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E */ protected EEFContainerDescription container; + /** + * The default value of the '{@link #getCollapsibleExpression() Collapsible Expression}' attribute. + * + * + * @see #getCollapsibleExpression() + * @generated + * @ordered + */ + protected static final String COLLAPSIBLE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCollapsibleExpression() Collapsible Expression}' attribute. + * + * + * @see #getCollapsibleExpression() + * @generated + * @ordered + */ + protected String collapsibleExpression = COLLAPSIBLE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getCollapsedByDefaultExpression() Collapsed By Default Expression}' attribute. + * + * + * @see #getCollapsedByDefaultExpression() + * @generated + * @ordered + */ + protected static final String COLLAPSED_BY_DEFAULT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCollapsedByDefaultExpression() Collapsed By Default Expression}' attribute. + * + * + * @see #getCollapsedByDefaultExpression() + * @generated + * @ordered + */ + protected String collapsedByDefaultExpression = COLLAPSED_BY_DEFAULT_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getValidationExpression() Validation Expression}' attribute. + * + * + * @see #getValidationExpression() + * @generated + * @ordered + */ + protected static final String VALIDATION_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValidationExpression() Validation Expression}' attribute. + * + * + * @see #getValidationExpression() + * @generated + * @ordered + */ + protected String validationExpression = VALIDATION_EXPRESSION_EDEFAULT; + /** * * @@ -317,6 +380,78 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, newContainer, newContainer)); } + /** + * + * + * @generated + */ + @Override + public String getCollapsibleExpression() { + return collapsibleExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setCollapsibleExpression(String newCollapsibleExpression) { + String oldCollapsibleExpression = collapsibleExpression; + collapsibleExpression = newCollapsibleExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION, oldCollapsibleExpression, + collapsibleExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getCollapsedByDefaultExpression() { + return collapsedByDefaultExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setCollapsedByDefaultExpression(String newCollapsedByDefaultExpression) { + String oldCollapsedByDefaultExpression = collapsedByDefaultExpression; + collapsedByDefaultExpression = newCollapsedByDefaultExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION, + oldCollapsedByDefaultExpression, collapsedByDefaultExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getValidationExpression() { + return validationExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValidationExpression(String newValidationExpression) { + String oldValidationExpression = validationExpression; + validationExpression = newValidationExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION, oldValidationExpression, + validationExpression)); + } + /** * * @@ -351,6 +486,12 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E if (resolve) return getContainer(); return basicGetContainer(); + case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION: + return getCollapsibleExpression(); + case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION: + return getCollapsedByDefaultExpression(); + case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION: + return getValidationExpression(); } return super.eGet(featureID, resolve, coreType); } @@ -378,6 +519,15 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: setContainer((EEFContainerDescription) newValue); return; + case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION: + setCollapsibleExpression((String) newValue); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION: + setCollapsedByDefaultExpression((String) newValue); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION: + setValidationExpression((String) newValue); + return; } super.eSet(featureID, newValue); } @@ -405,6 +555,15 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: setContainer((EEFContainerDescription) null); return; + case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION: + setCollapsibleExpression(COLLAPSIBLE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION: + setCollapsedByDefaultExpression(COLLAPSED_BY_DEFAULT_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION: + setValidationExpression(VALIDATION_EXPRESSION_EDEFAULT); + return; } super.eUnset(featureID); } @@ -428,6 +587,15 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E : !SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: return container != null; + case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION: + return COLLAPSIBLE_EXPRESSION_EDEFAULT == null ? collapsibleExpression != null + : !COLLAPSIBLE_EXPRESSION_EDEFAULT.equals(collapsibleExpression); + case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION: + return COLLAPSED_BY_DEFAULT_EXPRESSION_EDEFAULT == null ? collapsedByDefaultExpression != null + : !COLLAPSED_BY_DEFAULT_EXPRESSION_EDEFAULT.equals(collapsedByDefaultExpression); + case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION: + return VALIDATION_EXPRESSION_EDEFAULT == null ? validationExpression != null + : !VALIDATION_EXPRESSION_EDEFAULT.equals(validationExpression); } return super.eIsSet(featureID); } @@ -451,6 +619,12 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E result.append(domainClass); result.append(", semanticCandidateExpression: "); //$NON-NLS-1$ result.append(semanticCandidateExpression); + result.append(", collapsibleExpression: "); //$NON-NLS-1$ + result.append(collapsibleExpression); + result.append(", collapsedByDefaultExpression: "); //$NON-NLS-1$ + result.append(collapsedByDefaultExpression); + result.append(", validationExpression: "); //$NON-NLS-1$ + result.append(validationExpression); result.append(')'); return result.toString(); } diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleCustomizationImpl.java new file mode 100644 index 000000000..0226cc138 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleCustomizationImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFGroupStyle; +import org.eclipse.eef.EEFGroupStyleCustomization; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Group Style Customization'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFGroupStyleCustomizationImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFGroupStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFGroupStyleCustomization { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFGroupStyle style; + + /** + * + * + * @generated + */ + protected EEFGroupStyleCustomizationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_GROUP_STYLE_CUSTOMIZATION; + } + + /** + * + * + * @generated + */ + @Override + public EEFGroupStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFGroupStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFGroupStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFGroupStyle newStyle, NotificationChain msgs) { + EEFGroupStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFGroupStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFGroupStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFGroupStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFGroupStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleImpl.java new file mode 100644 index 000000000..efd5f9073 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleImpl.java @@ -0,0 +1,173 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFGroupStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Group Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFGroupStyleImpl#getForegroundColorExpression Foreground Color Expression}
    • + *
    + * + * @generated + */ +public class EEFGroupStyleImpl extends EEFStyleImpl implements EEFGroupStyle { + /** + * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFGroupStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_GROUP_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public String getForegroundColorExpression() { + return foregroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setForegroundColorExpression(String newForegroundColorExpression) { + String oldForegroundColorExpression = foregroundColorExpression; + foregroundColorExpression = newForegroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION, + oldForegroundColorExpression, foregroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION: + return getForegroundColorExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION: + return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null + : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (foregroundColorExpression: "); //$NON-NLS-1$ + result.append(foregroundColorExpression); + result.append(')'); + return result.toString(); + } + +} //EEFGroupStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelConditionalStyleImpl.java new file mode 100644 index 000000000..358440e2c --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelConditionalStyleImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFLabelConditionalStyle; +import org.eclipse.eef.EEFLabelStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Label Conditional Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFLabelConditionalStyleImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFLabelConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFLabelConditionalStyle { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFLabelStyle style; + + /** + * + * + * @generated + */ + protected EEFLabelConditionalStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_LABEL_CONDITIONAL_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public EEFLabelStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFLabelStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFLabelStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFLabelStyle newStyle, NotificationChain msgs) { + EEFLabelStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFLabelStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE: + setStyle((EEFLabelStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE: + setStyle((EEFLabelStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFLabelConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleCustomizationImpl.java new file mode 100644 index 000000000..66ba7a86f --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleCustomizationImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFLabelStyle; +import org.eclipse.eef.EEFLabelStyleCustomization; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Label Style Customization'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFLabelStyleCustomizationImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFLabelStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFLabelStyleCustomization { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFLabelStyle style; + + /** + * + * + * @generated + */ + protected EEFLabelStyleCustomizationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_LABEL_STYLE_CUSTOMIZATION; + } + + /** + * + * + * @generated + */ + @Override + public EEFLabelStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFLabelStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFLabelStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFLabelStyle newStyle, NotificationChain msgs) { + EEFLabelStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFLabelStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFLabelStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFLabelStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFLabelStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleImpl.java new file mode 100644 index 000000000..be6baf9f0 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleImpl.java @@ -0,0 +1,231 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFLabelStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Label Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFLabelStyleImpl#getBackgroundColorExpression Background Color Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFLabelStyleImpl#getForegroundColorExpression Foreground Color Expression}
    • + *
    + * + * @generated + */ +public class EEFLabelStyleImpl extends EEFStyleImpl implements EEFLabelStyle { + /** + * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFLabelStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_LABEL_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public String getBackgroundColorExpression() { + return backgroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setBackgroundColorExpression(String newBackgroundColorExpression) { + String oldBackgroundColorExpression = backgroundColorExpression; + backgroundColorExpression = newBackgroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION, + oldBackgroundColorExpression, backgroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getForegroundColorExpression() { + return foregroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setForegroundColorExpression(String newForegroundColorExpression) { + String oldForegroundColorExpression = foregroundColorExpression; + foregroundColorExpression = newForegroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION, + oldForegroundColorExpression, foregroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION: + return getBackgroundColorExpression(); + case EefPackage.EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION: + return getForegroundColorExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression((String) newValue); + return; + case EefPackage.EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION: + return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null + : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); + case EefPackage.EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION: + return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null + : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ + result.append(backgroundColorExpression); + result.append(", foregroundColorExpression: "); //$NON-NLS-1$ + result.append(foregroundColorExpression); + result.append(')'); + return result.toString(); + } + +} //EEFLabelStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineConditionalStyleImpl.java new file mode 100644 index 000000000..a3d2ffe64 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineConditionalStyleImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFLineConditionalStyle; +import org.eclipse.eef.EEFLineStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Line Conditional Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFLineConditionalStyleImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFLineConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFLineConditionalStyle { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFLineStyle style; + + /** + * + * + * @generated + */ + protected EEFLineConditionalStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_LINE_CONDITIONAL_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public EEFLineStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFLineStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFLineStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFLineStyle newStyle, NotificationChain msgs) { + EEFLineStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFLineStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE: + setStyle((EEFLineStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE: + setStyle((EEFLineStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFLineConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleCustomizationImpl.java new file mode 100644 index 000000000..24b8575f5 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleCustomizationImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFLineStyle; +import org.eclipse.eef.EEFLineStyleCustomization; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Line Style Customization'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFLineStyleCustomizationImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFLineStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFLineStyleCustomization { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFLineStyle style; + + /** + * + * + * @generated + */ + protected EEFLineStyleCustomizationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_LINE_STYLE_CUSTOMIZATION; + } + + /** + * + * + * @generated + */ + @Override + public EEFLineStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFLineStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFLineStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFLineStyle newStyle, NotificationChain msgs) { + EEFLineStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFLineStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFLineStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFLineStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFLineStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleImpl.java new file mode 100644 index 000000000..59cce037a --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleImpl.java @@ -0,0 +1,347 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFLineStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Line Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFLineStyleImpl#getBackgroundColorExpression Background Color Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFLineStyleImpl#getForegroundColorExpression Foreground Color Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFLineStyleImpl#getHeaderBackgroundColorExpression Header Background Color Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFLineStyleImpl#getHeaderForegroundColorExpression Header Foreground Color Expression}
    • + *
    + * + * @generated + */ +public class EEFLineStyleImpl extends EEFStyleImpl implements EEFLineStyle { + /** + * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getHeaderBackgroundColorExpression() Header Background Color Expression}' attribute. + * + * + * @see #getHeaderBackgroundColorExpression() + * @generated + * @ordered + */ + protected static final String HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getHeaderBackgroundColorExpression() Header Background Color Expression}' attribute. + * + * + * @see #getHeaderBackgroundColorExpression() + * @generated + * @ordered + */ + protected String headerBackgroundColorExpression = HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getHeaderForegroundColorExpression() Header Foreground Color Expression}' attribute. + * + * + * @see #getHeaderForegroundColorExpression() + * @generated + * @ordered + */ + protected static final String HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getHeaderForegroundColorExpression() Header Foreground Color Expression}' attribute. + * + * + * @see #getHeaderForegroundColorExpression() + * @generated + * @ordered + */ + protected String headerForegroundColorExpression = HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFLineStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_LINE_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public String getBackgroundColorExpression() { + return backgroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setBackgroundColorExpression(String newBackgroundColorExpression) { + String oldBackgroundColorExpression = backgroundColorExpression; + backgroundColorExpression = newBackgroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION, + oldBackgroundColorExpression, backgroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getForegroundColorExpression() { + return foregroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setForegroundColorExpression(String newForegroundColorExpression) { + String oldForegroundColorExpression = foregroundColorExpression; + foregroundColorExpression = newForegroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION, + oldForegroundColorExpression, foregroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getHeaderBackgroundColorExpression() { + return headerBackgroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setHeaderBackgroundColorExpression(String newHeaderBackgroundColorExpression) { + String oldHeaderBackgroundColorExpression = headerBackgroundColorExpression; + headerBackgroundColorExpression = newHeaderBackgroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION, + oldHeaderBackgroundColorExpression, headerBackgroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getHeaderForegroundColorExpression() { + return headerForegroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setHeaderForegroundColorExpression(String newHeaderForegroundColorExpression) { + String oldHeaderForegroundColorExpression = headerForegroundColorExpression; + headerForegroundColorExpression = newHeaderForegroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION, + oldHeaderForegroundColorExpression, headerForegroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION: + return getBackgroundColorExpression(); + case EefPackage.EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION: + return getForegroundColorExpression(); + case EefPackage.EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: + return getHeaderBackgroundColorExpression(); + case EefPackage.EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: + return getHeaderForegroundColorExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression((String) newValue); + return; + case EefPackage.EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression((String) newValue); + return; + case EefPackage.EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: + setHeaderBackgroundColorExpression((String) newValue); + return; + case EefPackage.EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: + setHeaderForegroundColorExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: + setHeaderBackgroundColorExpression(HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: + setHeaderForegroundColorExpression(HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION: + return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null + : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); + case EefPackage.EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION: + return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null + : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); + case EefPackage.EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: + return HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? headerBackgroundColorExpression != null + : !HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(headerBackgroundColorExpression); + case EefPackage.EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: + return HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? headerForegroundColorExpression != null + : !HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(headerForegroundColorExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ + result.append(backgroundColorExpression); + result.append(", foregroundColorExpression: "); //$NON-NLS-1$ + result.append(foregroundColorExpression); + result.append(", headerBackgroundColorExpression: "); //$NON-NLS-1$ + result.append(headerBackgroundColorExpression); + result.append(", headerForegroundColorExpression: "); //$NON-NLS-1$ + result.append(headerForegroundColorExpression); + result.append(')'); + return result.toString(); + } + +} //EEFLineStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkConditionalStyleImpl.java new file mode 100644 index 000000000..ef4cb2e12 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkConditionalStyleImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFLinkConditionalStyle; +import org.eclipse.eef.EEFLinkStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Link Conditional Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFLinkConditionalStyleImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFLinkConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFLinkConditionalStyle { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFLinkStyle style; + + /** + * + * + * @generated + */ + protected EEFLinkConditionalStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_LINK_CONDITIONAL_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public EEFLinkStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFLinkStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFLinkStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFLinkStyle newStyle, NotificationChain msgs) { + EEFLinkStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFLinkStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE: + setStyle((EEFLinkStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE: + setStyle((EEFLinkStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFLinkConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleCustomizationImpl.java new file mode 100644 index 000000000..f13b1bd12 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleCustomizationImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFLinkStyle; +import org.eclipse.eef.EEFLinkStyleCustomization; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Link Style Customization'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFLinkStyleCustomizationImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFLinkStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFLinkStyleCustomization { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFLinkStyle style; + + /** + * + * + * @generated + */ + protected EEFLinkStyleCustomizationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_LINK_STYLE_CUSTOMIZATION; + } + + /** + * + * + * @generated + */ + @Override + public EEFLinkStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFLinkStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFLinkStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFLinkStyle newStyle, NotificationChain msgs) { + EEFLinkStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFLinkStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFLinkStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFLinkStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFLinkStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleImpl.java new file mode 100644 index 000000000..6003513b0 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleImpl.java @@ -0,0 +1,289 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFLinkStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Link Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFLinkStyleImpl#getBackgroundColorExpression Background Color Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFLinkStyleImpl#getForegroundColorExpression Foreground Color Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFLinkStyleImpl#getBackgroundImageExpression Background Image Expression}
    • + *
    + * + * @generated + */ +public class EEFLinkStyleImpl extends EEFStyleImpl implements EEFLinkStyle { + /** + * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getBackgroundImageExpression() Background Image Expression}' attribute. + * + * + * @see #getBackgroundImageExpression() + * @generated + * @ordered + */ + protected static final String BACKGROUND_IMAGE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getBackgroundImageExpression() Background Image Expression}' attribute. + * + * + * @see #getBackgroundImageExpression() + * @generated + * @ordered + */ + protected String backgroundImageExpression = BACKGROUND_IMAGE_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFLinkStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_LINK_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public String getBackgroundColorExpression() { + return backgroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setBackgroundColorExpression(String newBackgroundColorExpression) { + String oldBackgroundColorExpression = backgroundColorExpression; + backgroundColorExpression = newBackgroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION, + oldBackgroundColorExpression, backgroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getForegroundColorExpression() { + return foregroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setForegroundColorExpression(String newForegroundColorExpression) { + String oldForegroundColorExpression = foregroundColorExpression; + foregroundColorExpression = newForegroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION, + oldForegroundColorExpression, foregroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getBackgroundImageExpression() { + return backgroundImageExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setBackgroundImageExpression(String newBackgroundImageExpression) { + String oldBackgroundImageExpression = backgroundImageExpression; + backgroundImageExpression = newBackgroundImageExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION, + oldBackgroundImageExpression, backgroundImageExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION: + return getBackgroundColorExpression(); + case EefPackage.EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION: + return getForegroundColorExpression(); + case EefPackage.EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION: + return getBackgroundImageExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression((String) newValue); + return; + case EefPackage.EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression((String) newValue); + return; + case EefPackage.EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION: + setBackgroundImageExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION: + setBackgroundImageExpression(BACKGROUND_IMAGE_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION: + return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null + : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); + case EefPackage.EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION: + return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null + : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); + case EefPackage.EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION: + return BACKGROUND_IMAGE_EXPRESSION_EDEFAULT == null ? backgroundImageExpression != null + : !BACKGROUND_IMAGE_EXPRESSION_EDEFAULT.equals(backgroundImageExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ + result.append(backgroundColorExpression); + result.append(", foregroundColorExpression: "); //$NON-NLS-1$ + result.append(foregroundColorExpression); + result.append(", backgroundImageExpression: "); //$NON-NLS-1$ + result.append(backgroundImageExpression); + result.append(')'); + return result.toString(); + } + +} //EEFLinkStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioConditionalStyleImpl.java new file mode 100644 index 000000000..aff3bc102 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioConditionalStyleImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFRadioConditionalStyle; +import org.eclipse.eef.EEFRadioStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Radio Conditional Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFRadioConditionalStyleImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFRadioConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFRadioConditionalStyle { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFRadioStyle style; + + /** + * + * + * @generated + */ + protected EEFRadioConditionalStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_RADIO_CONDITIONAL_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public EEFRadioStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFRadioStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFRadioStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFRadioStyle newStyle, NotificationChain msgs) { + EEFRadioStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFRadioStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE: + setStyle((EEFRadioStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE: + setStyle((EEFRadioStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFRadioConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleCustomizationImpl.java new file mode 100644 index 000000000..1b0364cfb --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleCustomizationImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFRadioStyle; +import org.eclipse.eef.EEFRadioStyleCustomization; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Radio Style Customization'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFRadioStyleCustomizationImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFRadioStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFRadioStyleCustomization { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFRadioStyle style; + + /** + * + * + * @generated + */ + protected EEFRadioStyleCustomizationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_RADIO_STYLE_CUSTOMIZATION; + } + + /** + * + * + * @generated + */ + @Override + public EEFRadioStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFRadioStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFRadioStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFRadioStyle newStyle, NotificationChain msgs) { + EEFRadioStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFRadioStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFRadioStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFRadioStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFRadioStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleImpl.java new file mode 100644 index 000000000..bcc4cdfbf --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleImpl.java @@ -0,0 +1,231 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFRadioStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Radio Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFRadioStyleImpl#getBackgroundColorExpression Background Color Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFRadioStyleImpl#getForegroundColorExpression Foreground Color Expression}
    • + *
    + * + * @generated + */ +public class EEFRadioStyleImpl extends EEFStyleImpl implements EEFRadioStyle { + /** + * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFRadioStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_RADIO_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public String getBackgroundColorExpression() { + return backgroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setBackgroundColorExpression(String newBackgroundColorExpression) { + String oldBackgroundColorExpression = backgroundColorExpression; + backgroundColorExpression = newBackgroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION, + oldBackgroundColorExpression, backgroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getForegroundColorExpression() { + return foregroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setForegroundColorExpression(String newForegroundColorExpression) { + String oldForegroundColorExpression = foregroundColorExpression; + foregroundColorExpression = newForegroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION, + oldForegroundColorExpression, foregroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION: + return getBackgroundColorExpression(); + case EefPackage.EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION: + return getForegroundColorExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression((String) newValue); + return; + case EefPackage.EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION: + return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null + : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); + case EefPackage.EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION: + return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null + : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ + result.append(backgroundColorExpression); + result.append(", foregroundColorExpression: "); //$NON-NLS-1$ + result.append(foregroundColorExpression); + result.append(')'); + return result.toString(); + } + +} //EEFRadioStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectConditionalStyleImpl.java new file mode 100644 index 000000000..b0267c0df --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectConditionalStyleImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFSelectConditionalStyle; +import org.eclipse.eef.EEFSelectStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Select Conditional Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFSelectConditionalStyleImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFSelectConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFSelectConditionalStyle { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFSelectStyle style; + + /** + * + * + * @generated + */ + protected EEFSelectConditionalStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_SELECT_CONDITIONAL_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public EEFSelectStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFSelectStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFSelectStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFSelectStyle newStyle, NotificationChain msgs) { + EEFSelectStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFSelectStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE: + setStyle((EEFSelectStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE: + setStyle((EEFSelectStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFSelectConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleCustomizationImpl.java new file mode 100644 index 000000000..cb3deb58e --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleCustomizationImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFSelectStyle; +import org.eclipse.eef.EEFSelectStyleCustomization; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Select Style Customization'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFSelectStyleCustomizationImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFSelectStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFSelectStyleCustomization { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFSelectStyle style; + + /** + * + * + * @generated + */ + protected EEFSelectStyleCustomizationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_SELECT_STYLE_CUSTOMIZATION; + } + + /** + * + * + * @generated + */ + @Override + public EEFSelectStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFSelectStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, + null, null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFSelectStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFSelectStyle newStyle, NotificationChain msgs) { + EEFSelectStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFSelectStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFSelectStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFSelectStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFSelectStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleImpl.java new file mode 100644 index 000000000..8476100be --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleImpl.java @@ -0,0 +1,231 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFSelectStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Select Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFSelectStyleImpl#getBackgroundColorExpression Background Color Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFSelectStyleImpl#getForegroundColorExpression Foreground Color Expression}
    • + *
    + * + * @generated + */ +public class EEFSelectStyleImpl extends EEFStyleImpl implements EEFSelectStyle { + /** + * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFSelectStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_SELECT_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public String getBackgroundColorExpression() { + return backgroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setBackgroundColorExpression(String newBackgroundColorExpression) { + String oldBackgroundColorExpression = backgroundColorExpression; + backgroundColorExpression = newBackgroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION, + oldBackgroundColorExpression, backgroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getForegroundColorExpression() { + return foregroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setForegroundColorExpression(String newForegroundColorExpression) { + String oldForegroundColorExpression = foregroundColorExpression; + foregroundColorExpression = newForegroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION, + oldForegroundColorExpression, foregroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION: + return getBackgroundColorExpression(); + case EefPackage.EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION: + return getForegroundColorExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression((String) newValue); + return; + case EefPackage.EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION: + return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null + : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); + case EefPackage.EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION: + return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null + : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ + result.append(backgroundColorExpression); + result.append(", foregroundColorExpression: "); //$NON-NLS-1$ + result.append(foregroundColorExpression); + result.append(')'); + return result.toString(); + } + +} //EEFSelectStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleCustomizationImpl.java new file mode 100644 index 000000000..acdb2c809 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleCustomizationImpl.java @@ -0,0 +1,45 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFStyleCustomization; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'EEF Style Customization'. + * + * + * @generated + */ +public abstract class EEFStyleCustomizationImpl extends MinimalEObjectImpl.Container implements EEFStyleCustomization { + /** + * + * + * @generated + */ + protected EEFStyleCustomizationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_STYLE_CUSTOMIZATION; + } + +} //EEFStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleImpl.java new file mode 100644 index 000000000..57de23718 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleImpl.java @@ -0,0 +1,172 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'EEF Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFStyleImpl#getFontExpression Font Expression}
    • + *
    + * + * @generated + */ +public abstract class EEFStyleImpl extends MinimalEObjectImpl.Container implements EEFStyle { + /** + * The default value of the '{@link #getFontExpression() Font Expression}' attribute. + * + * + * @see #getFontExpression() + * @generated + * @ordered + */ + protected static final String FONT_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getFontExpression() Font Expression}' attribute. + * + * + * @see #getFontExpression() + * @generated + * @ordered + */ + protected String fontExpression = FONT_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public String getFontExpression() { + return fontExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setFontExpression(String newFontExpression) { + String oldFontExpression = fontExpression; + fontExpression = newFontExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_STYLE__FONT_EXPRESSION, oldFontExpression, fontExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_STYLE__FONT_EXPRESSION: + return getFontExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_STYLE__FONT_EXPRESSION: + setFontExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_STYLE__FONT_EXPRESSION: + setFontExpression(FONT_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_STYLE__FONT_EXPRESSION: + return FONT_EXPRESSION_EDEFAULT == null ? fontExpression != null : !FONT_EXPRESSION_EDEFAULT.equals(fontExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (fontExpression: "); //$NON-NLS-1$ + result.append(fontExpression); + result.append(')'); + return result.toString(); + } + +} //EEFStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableConditionalStyleImpl.java new file mode 100644 index 000000000..6c170f3b0 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableConditionalStyleImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFTableConditionalStyle; +import org.eclipse.eef.EEFTableStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Table Conditional Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFTableConditionalStyleImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFTableConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFTableConditionalStyle { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFTableStyle style; + + /** + * + * + * @generated + */ + protected EEFTableConditionalStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TABLE_CONDITIONAL_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public EEFTableStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFTableStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFTableStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFTableStyle newStyle, NotificationChain msgs) { + EEFTableStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFTableStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE: + setStyle((EEFTableStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE: + setStyle((EEFTableStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFTableConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleCustomizationImpl.java new file mode 100644 index 000000000..7656a58ad --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleCustomizationImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFTableStyle; +import org.eclipse.eef.EEFTableStyleCustomization; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Table Style Customization'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFTableStyleCustomizationImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFTableStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFTableStyleCustomization { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFTableStyle style; + + /** + * + * + * @generated + */ + protected EEFTableStyleCustomizationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TABLE_STYLE_CUSTOMIZATION; + } + + /** + * + * + * @generated + */ + @Override + public EEFTableStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFTableStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFTableStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFTableStyle newStyle, NotificationChain msgs) { + EEFTableStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFTableStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFTableStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFTableStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFTableStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleImpl.java new file mode 100644 index 000000000..b4ed11204 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleImpl.java @@ -0,0 +1,43 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFTableStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'EEF Table Style'. + * + * + * @generated + */ +public class EEFTableStyleImpl extends EEFStyleImpl implements EEFTableStyle { + /** + * + * + * @generated + */ + protected EEFTableStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TABLE_STYLE; + } + +} //EEFTableStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextConditionalStyleImpl.java new file mode 100644 index 000000000..e1f83f022 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextConditionalStyleImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFTextConditionalStyle; +import org.eclipse.eef.EEFTextStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Text Conditional Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFTextConditionalStyleImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFTextConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFTextConditionalStyle { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFTextStyle style; + + /** + * + * + * @generated + */ + protected EEFTextConditionalStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TEXT_CONDITIONAL_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public EEFTextStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFTextStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFTextStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFTextStyle newStyle, NotificationChain msgs) { + EEFTextStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFTextStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE: + setStyle((EEFTextStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE: + setStyle((EEFTextStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFTextConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java index b00a0ec67..322331a21 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java @@ -8,14 +8,22 @@ */ package org.eclipse.eef.impl; +import java.util.Collection; +import org.eclipse.eef.EEFTextConditionalStyle; import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.EEFTextStyle; import org.eclipse.eef.EefPackage; import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; /** * @@ -27,7 +35,12 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; *
      *
    • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getValueExpression Value Expression}
    • *
    • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getEditExpression Edit Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getReadOnlyExpression Read Only Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getContentAssistExpression Content Assist Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getPlaceholderExpression Placeholder Expression}
    • *
    • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getLineCount Line Count}
    • + *
    • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getStyle Style}
    • + *
    • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getConditionalStyles Conditional Styles}
    • *
    * * @generated @@ -73,6 +86,66 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme */ protected String editExpression = EDIT_EXPRESSION_EDEFAULT; + /** + * The default value of the '{@link #getReadOnlyExpression() Read Only Expression}' attribute. + * + * + * @see #getReadOnlyExpression() + * @generated + * @ordered + */ + protected static final String READ_ONLY_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getReadOnlyExpression() Read Only Expression}' attribute. + * + * + * @see #getReadOnlyExpression() + * @generated + * @ordered + */ + protected String readOnlyExpression = READ_ONLY_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getContentAssistExpression() Content Assist Expression}' attribute. + * + * + * @see #getContentAssistExpression() + * @generated + * @ordered + */ + protected static final String CONTENT_ASSIST_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getContentAssistExpression() Content Assist Expression}' attribute. + * + * + * @see #getContentAssistExpression() + * @generated + * @ordered + */ + protected String contentAssistExpression = CONTENT_ASSIST_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getPlaceholderExpression() Placeholder Expression}' attribute. + * + * + * @see #getPlaceholderExpression() + * @generated + * @ordered + */ + protected static final String PLACEHOLDER_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPlaceholderExpression() Placeholder Expression}' attribute. + * + * + * @see #getPlaceholderExpression() + * @generated + * @ordered + */ + protected String placeholderExpression = PLACEHOLDER_EXPRESSION_EDEFAULT; + /** * The default value of the '{@link #getLineCount() Line Count}' attribute. * @@ -93,6 +166,26 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme */ protected int lineCount = LINE_COUNT_EDEFAULT; + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFTextStyle style; + + /** + * The cached value of the '{@link #getConditionalStyles() Conditional Styles}' containment reference list. + * + * + * @see #getConditionalStyles() + * @generated + * @ordered + */ + protected EList conditionalStyles; + /** * * @@ -160,6 +253,78 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme editExpression)); } + /** + * + * + * @generated + */ + @Override + public String getReadOnlyExpression() { + return readOnlyExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setReadOnlyExpression(String newReadOnlyExpression) { + String oldReadOnlyExpression = readOnlyExpression; + readOnlyExpression = newReadOnlyExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION, oldReadOnlyExpression, + readOnlyExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getContentAssistExpression() { + return contentAssistExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setContentAssistExpression(String newContentAssistExpression) { + String oldContentAssistExpression = contentAssistExpression; + contentAssistExpression = newContentAssistExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION, + oldContentAssistExpression, contentAssistExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getPlaceholderExpression() { + return placeholderExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setPlaceholderExpression(String newPlaceholderExpression) { + String oldPlaceholderExpression = placeholderExpression; + placeholderExpression = newPlaceholderExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION, oldPlaceholderExpression, + placeholderExpression)); + } + /** * * @@ -183,6 +348,109 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT, oldLineCount, lineCount)); } + /** + * + * + * @generated + */ + @Override + public EEFTextStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFTextStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_DESCRIPTION__STYLE, null, null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_DESCRIPTION__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TEXT_DESCRIPTION__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFTextStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFTextStyle newStyle, NotificationChain msgs) { + EEFTextStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFTextStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_DESCRIPTION__STYLE, null, msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_DESCRIPTION__STYLE, null, msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public EList getConditionalStyles() { + if (conditionalStyles == null) { + conditionalStyles = new EObjectContainmentEList.Resolving(EEFTextConditionalStyle.class, this, + EefPackage.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES); + } + return conditionalStyles; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_TEXT_DESCRIPTION__STYLE: + return basicSetStyle(null, msgs); + case EefPackage.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES: + return ((InternalEList) getConditionalStyles()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + /** * * @@ -195,8 +463,20 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme return getValueExpression(); case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: return getEditExpression(); + case EefPackage.EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION: + return getReadOnlyExpression(); + case EefPackage.EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION: + return getContentAssistExpression(); + case EefPackage.EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION: + return getPlaceholderExpression(); case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: return getLineCount(); + case EefPackage.EEF_TEXT_DESCRIPTION__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + case EefPackage.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES: + return getConditionalStyles(); } return super.eGet(featureID, resolve, coreType); } @@ -206,6 +486,7 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme * * @generated */ + @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { @@ -215,9 +496,25 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: setEditExpression((String) newValue); return; + case EefPackage.EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION: + setReadOnlyExpression((String) newValue); + return; + case EefPackage.EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION: + setContentAssistExpression((String) newValue); + return; + case EefPackage.EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION: + setPlaceholderExpression((String) newValue); + return; case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: setLineCount((Integer) newValue); return; + case EefPackage.EEF_TEXT_DESCRIPTION__STYLE: + setStyle((EEFTextStyle) newValue); + return; + case EefPackage.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES: + getConditionalStyles().clear(); + getConditionalStyles().addAll((Collection) newValue); + return; } super.eSet(featureID, newValue); } @@ -236,9 +533,24 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: setEditExpression(EDIT_EXPRESSION_EDEFAULT); return; + case EefPackage.EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION: + setReadOnlyExpression(READ_ONLY_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION: + setContentAssistExpression(CONTENT_ASSIST_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION: + setPlaceholderExpression(PLACEHOLDER_EXPRESSION_EDEFAULT); + return; case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: setLineCount(LINE_COUNT_EDEFAULT); return; + case EefPackage.EEF_TEXT_DESCRIPTION__STYLE: + setStyle((EEFTextStyle) null); + return; + case EefPackage.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES: + getConditionalStyles().clear(); + return; } super.eUnset(featureID); } @@ -255,8 +567,20 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); + case EefPackage.EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION: + return READ_ONLY_EXPRESSION_EDEFAULT == null ? readOnlyExpression != null : !READ_ONLY_EXPRESSION_EDEFAULT.equals(readOnlyExpression); + case EefPackage.EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION: + return CONTENT_ASSIST_EXPRESSION_EDEFAULT == null ? contentAssistExpression != null + : !CONTENT_ASSIST_EXPRESSION_EDEFAULT.equals(contentAssistExpression); + case EefPackage.EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION: + return PLACEHOLDER_EXPRESSION_EDEFAULT == null ? placeholderExpression != null + : !PLACEHOLDER_EXPRESSION_EDEFAULT.equals(placeholderExpression); case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: return lineCount != LINE_COUNT_EDEFAULT; + case EefPackage.EEF_TEXT_DESCRIPTION__STYLE: + return style != null; + case EefPackage.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES: + return conditionalStyles != null && !conditionalStyles.isEmpty(); } return super.eIsSet(featureID); } @@ -276,6 +600,12 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme result.append(valueExpression); result.append(", editExpression: "); //$NON-NLS-1$ result.append(editExpression); + result.append(", readOnlyExpression: "); //$NON-NLS-1$ + result.append(readOnlyExpression); + result.append(", contentAssistExpression: "); //$NON-NLS-1$ + result.append(contentAssistExpression); + result.append(", placeholderExpression: "); //$NON-NLS-1$ + result.append(placeholderExpression); result.append(", lineCount: "); //$NON-NLS-1$ result.append(lineCount); result.append(')'); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleCustomizationImpl.java new file mode 100644 index 000000000..df8744a03 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleCustomizationImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFTextStyle; +import org.eclipse.eef.EEFTextStyleCustomization; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Text Style Customization'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFTextStyleCustomizationImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFTextStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFTextStyleCustomization { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFTextStyle style; + + /** + * + * + * @generated + */ + protected EEFTextStyleCustomizationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TEXT_STYLE_CUSTOMIZATION; + } + + /** + * + * + * @generated + */ + @Override + public EEFTextStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFTextStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFTextStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFTextStyle newStyle, NotificationChain msgs) { + EEFTextStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFTextStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFTextStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFTextStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFTextStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleImpl.java new file mode 100644 index 000000000..85bfbc975 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleImpl.java @@ -0,0 +1,231 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFTextStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Text Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFTextStyleImpl#getBackgroundColorExpression Background Color Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFTextStyleImpl#getForegroundColorExpression Foreground Color Expression}
    • + *
    + * + * @generated + */ +public class EEFTextStyleImpl extends EEFStyleImpl implements EEFTextStyle { + /** + * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. + * + * + * @see #getBackgroundColorExpression() + * @generated + * @ordered + */ + protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. + * + * + * @see #getForegroundColorExpression() + * @generated + * @ordered + */ + protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFTextStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TEXT_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public String getBackgroundColorExpression() { + return backgroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setBackgroundColorExpression(String newBackgroundColorExpression) { + String oldBackgroundColorExpression = backgroundColorExpression; + backgroundColorExpression = newBackgroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION, + oldBackgroundColorExpression, backgroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getForegroundColorExpression() { + return foregroundColorExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setForegroundColorExpression(String newForegroundColorExpression) { + String oldForegroundColorExpression = foregroundColorExpression; + foregroundColorExpression = newForegroundColorExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION, + oldForegroundColorExpression, foregroundColorExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION: + return getBackgroundColorExpression(); + case EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION: + return getForegroundColorExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression((String) newValue); + return; + case EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION: + setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION: + setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION: + return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null + : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); + case EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION: + return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null + : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ + result.append(backgroundColorExpression); + result.append(", foregroundColorExpression: "); //$NON-NLS-1$ + result.append(foregroundColorExpression); + result.append(')'); + return result.toString(); + } + +} //EEFTextStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeConditionalStyleImpl.java new file mode 100644 index 000000000..531ed4237 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeConditionalStyleImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFTreeConditionalStyle; +import org.eclipse.eef.EEFTreeStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Tree Conditional Style'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFTreeConditionalStyleImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFTreeConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFTreeConditionalStyle { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFTreeStyle style; + + /** + * + * + * @generated + */ + protected EEFTreeConditionalStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TREE_CONDITIONAL_STYLE; + } + + /** + * + * + * @generated + */ + @Override + public EEFTreeStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFTreeStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFTreeStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFTreeStyle newStyle, NotificationChain msgs) { + EEFTreeStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFTreeStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE: + setStyle((EEFTreeStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE: + setStyle((EEFTreeStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFTreeConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleCustomizationImpl.java new file mode 100644 index 000000000..511dd8db8 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleCustomizationImpl.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFTreeStyle; +import org.eclipse.eef.EEFTreeStyleCustomization; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EEF Tree Style Customization'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.eef.impl.EEFTreeStyleCustomizationImpl#getStyle Style}
    • + *
    + * + * @generated + */ +public class EEFTreeStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFTreeStyleCustomization { + /** + * The cached value of the '{@link #getStyle() Style}' containment reference. + * + * + * @see #getStyle() + * @generated + * @ordered + */ + protected EEFTreeStyle style; + + /** + * + * + * @generated + */ + protected EEFTreeStyleCustomizationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TREE_STYLE_CUSTOMIZATION; + } + + /** + * + * + * @generated + */ + @Override + public EEFTreeStyle getStyle() { + if (style != null && style.eIsProxy()) { + InternalEObject oldStyle = (InternalEObject) style; + style = (EEFTreeStyle) eResolveProxy(oldStyle); + if (style != oldStyle) { + InternalEObject newStyle = (InternalEObject) style; + NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, null, + null); + if (newStyle.eInternalContainer() == null) { + msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); + } + } + return style; + } + + /** + * + * + * @generated + */ + public EEFTreeStyle basicGetStyle() { + return style; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStyle(EEFTreeStyle newStyle, NotificationChain msgs) { + EEFTreeStyle oldStyle = style; + style = newStyle; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, oldStyle, + newStyle); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setStyle(EEFTreeStyle newStyle) { + if (newStyle != style) { + NotificationChain msgs = null; + if (style != null) + msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + if (newStyle != null) + msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, null, + msgs); + msgs = basicSetStyle(newStyle, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE: + return basicSetStyle(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE: + if (resolve) + return getStyle(); + return basicGetStyle(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFTreeStyle) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE: + setStyle((EEFTreeStyle) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE: + return style != null; + } + return super.eIsSet(featureID); + } + +} //EEFTreeStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleImpl.java new file mode 100644 index 000000000..f5fe80153 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleImpl.java @@ -0,0 +1,43 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFTreeStyle; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'EEF Tree Style'. + * + * + * @generated + */ +public class EEFTreeStyleImpl extends EEFStyleImpl implements EEFTreeStyle { + /** + * + * + * @generated + */ + protected EEFTreeStyleImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_TREE_STYLE; + } + +} //EEFTreeStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java index a3c1900f2..c1b06cd2a 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java @@ -13,6 +13,7 @@ import java.util.Collection; import org.eclipse.eef.EEFGroupDescription; import org.eclipse.eef.EEFJavaExtensionDescription; import org.eclipse.eef.EEFPageDescription; +import org.eclipse.eef.EEFStyleCustomization; import org.eclipse.eef.EEFTableStructureDescription; import org.eclipse.eef.EEFTreeStructureDescription; import org.eclipse.eef.EEFViewDescription; @@ -50,6 +51,7 @@ import org.eclipse.emf.ecore.util.InternalEList; *
  • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getImportedViews Imported Views}
  • *
  • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getTreeStructures Tree Structures}
  • *
  • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getTableStructures Table Structures}
  • + *
  • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getStyleCustomizations Style Customizations}
  • * * * @generated @@ -165,6 +167,16 @@ public class EEFViewDescriptionImpl extends ContextableElementImpl implements EE */ protected EList tableStructures; + /** + * The cached value of the '{@link #getStyleCustomizations() Style Customizations}' reference list. + * + * + * @see #getStyleCustomizations() + * @generated + * @ordered + */ + protected EList styleCustomizations; + /** * * @@ -327,6 +339,20 @@ public class EEFViewDescriptionImpl extends ContextableElementImpl implements EE return tableStructures; } + /** + * + * + * @generated + */ + @Override + public EList getStyleCustomizations() { + if (styleCustomizations == null) { + styleCustomizations = new EObjectResolvingEList(EEFStyleCustomization.class, this, + EefPackage.EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS); + } + return styleCustomizations; + } + /** * * @@ -375,6 +401,8 @@ public class EEFViewDescriptionImpl extends ContextableElementImpl implements EE return getTreeStructures(); case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: return getTableStructures(); + case EefPackage.EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS: + return getStyleCustomizations(); } return super.eGet(featureID, resolve, coreType); } @@ -422,6 +450,10 @@ public class EEFViewDescriptionImpl extends ContextableElementImpl implements EE getTableStructures().clear(); getTableStructures().addAll((Collection) newValue); return; + case EefPackage.EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS: + getStyleCustomizations().clear(); + getStyleCustomizations().addAll((Collection) newValue); + return; } super.eSet(featureID, newValue); } @@ -461,6 +493,9 @@ public class EEFViewDescriptionImpl extends ContextableElementImpl implements EE case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: getTableStructures().clear(); return; + case EefPackage.EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS: + getStyleCustomizations().clear(); + return; } super.eUnset(featureID); } @@ -491,6 +526,8 @@ public class EEFViewDescriptionImpl extends ContextableElementImpl implements EE return treeStructures != null && !treeStructures.isEmpty(); case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: return tableStructures != null && !tableStructures.isEmpty(); + case EefPackage.EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS: + return styleCustomizations != null && !styleCustomizations.isEmpty(); } return super.eIsSet(featureID); } diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java index 5cff9abc6..11dd91e83 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java @@ -8,6 +8,7 @@ */ package org.eclipse.eef.impl; +import org.eclipse.eef.EEFLabelStyle; import org.eclipse.eef.EEFWidgetDescription; import org.eclipse.eef.EefPackage; @@ -15,6 +16,7 @@ import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; /** @@ -27,6 +29,10 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; *
      *
    • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getIdentifier Identifier}
    • *
    • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getLabelExpression Label Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getLabelStyle Label Style}
    • + *
    • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getTooltipExpression Tooltip Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getHelpExpression Help Expression}
    • + *
    • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getValidationExpression Validation Expression}
    • *
    * * @generated @@ -72,6 +78,76 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im */ protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; + /** + * The cached value of the '{@link #getLabelStyle() Label Style}' reference. + * + * + * @see #getLabelStyle() + * @generated + * @ordered + */ + protected EEFLabelStyle labelStyle; + + /** + * The default value of the '{@link #getTooltipExpression() Tooltip Expression}' attribute. + * + * + * @see #getTooltipExpression() + * @generated + * @ordered + */ + protected static final String TOOLTIP_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTooltipExpression() Tooltip Expression}' attribute. + * + * + * @see #getTooltipExpression() + * @generated + * @ordered + */ + protected String tooltipExpression = TOOLTIP_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getHelpExpression() Help Expression}' attribute. + * + * + * @see #getHelpExpression() + * @generated + * @ordered + */ + protected static final String HELP_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getHelpExpression() Help Expression}' attribute. + * + * + * @see #getHelpExpression() + * @generated + * @ordered + */ + protected String helpExpression = HELP_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getValidationExpression() Validation Expression}' attribute. + * + * + * @see #getValidationExpression() + * @generated + * @ordered + */ + protected static final String VALIDATION_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValidationExpression() Validation Expression}' attribute. + * + * + * @see #getValidationExpression() + * @generated + * @ordered + */ + protected String validationExpression = VALIDATION_EXPRESSION_EDEFAULT; + /** * * @@ -138,6 +214,119 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im labelExpression)); } + /** + * + * + * @generated + */ + @Override + public EEFLabelStyle getLabelStyle() { + if (labelStyle != null && labelStyle.eIsProxy()) { + InternalEObject oldLabelStyle = (InternalEObject) labelStyle; + labelStyle = (EEFLabelStyle) eResolveProxy(oldLabelStyle); + if (labelStyle != oldLabelStyle) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_STYLE, oldLabelStyle, + labelStyle)); + } + } + return labelStyle; + } + + /** + * + * + * @generated + */ + public EEFLabelStyle basicGetLabelStyle() { + return labelStyle; + } + + /** + * + * + * @generated + */ + @Override + public void setLabelStyle(EEFLabelStyle newLabelStyle) { + EEFLabelStyle oldLabelStyle = labelStyle; + labelStyle = newLabelStyle; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_STYLE, oldLabelStyle, labelStyle)); + } + + /** + * + * + * @generated + */ + @Override + public String getTooltipExpression() { + return tooltipExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setTooltipExpression(String newTooltipExpression) { + String oldTooltipExpression = tooltipExpression; + tooltipExpression = newTooltipExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION, oldTooltipExpression, + tooltipExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getHelpExpression() { + return helpExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setHelpExpression(String newHelpExpression) { + String oldHelpExpression = helpExpression; + helpExpression = newHelpExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION, oldHelpExpression, + helpExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getValidationExpression() { + return validationExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValidationExpression(String newValidationExpression) { + String oldValidationExpression = validationExpression; + validationExpression = newValidationExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION, oldValidationExpression, + validationExpression)); + } + /** * * @@ -150,6 +339,16 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im return getIdentifier(); case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: return getLabelExpression(); + case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_STYLE: + if (resolve) + return getLabelStyle(); + return basicGetLabelStyle(); + case EefPackage.EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION: + return getTooltipExpression(); + case EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION: + return getHelpExpression(); + case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION: + return getValidationExpression(); } return super.eGet(featureID, resolve, coreType); } @@ -168,6 +367,18 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: setLabelExpression((String) newValue); return; + case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_STYLE: + setLabelStyle((EEFLabelStyle) newValue); + return; + case EefPackage.EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION: + setTooltipExpression((String) newValue); + return; + case EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION: + setHelpExpression((String) newValue); + return; + case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION: + setValidationExpression((String) newValue); + return; } super.eSet(featureID, newValue); } @@ -186,6 +397,18 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: setLabelExpression(LABEL_EXPRESSION_EDEFAULT); return; + case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_STYLE: + setLabelStyle((EEFLabelStyle) null); + return; + case EefPackage.EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION: + setTooltipExpression(TOOLTIP_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION: + setHelpExpression(HELP_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION: + setValidationExpression(VALIDATION_EXPRESSION_EDEFAULT); + return; } super.eUnset(featureID); } @@ -202,6 +425,15 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); + case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_STYLE: + return labelStyle != null; + case EefPackage.EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION: + return TOOLTIP_EXPRESSION_EDEFAULT == null ? tooltipExpression != null : !TOOLTIP_EXPRESSION_EDEFAULT.equals(tooltipExpression); + case EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION: + return HELP_EXPRESSION_EDEFAULT == null ? helpExpression != null : !HELP_EXPRESSION_EDEFAULT.equals(helpExpression); + case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION: + return VALIDATION_EXPRESSION_EDEFAULT == null ? validationExpression != null + : !VALIDATION_EXPRESSION_EDEFAULT.equals(validationExpression); } return super.eIsSet(featureID); } @@ -221,6 +453,12 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im result.append(identifier); result.append(", labelExpression: "); //$NON-NLS-1$ result.append(labelExpression); + result.append(", tooltipExpression: "); //$NON-NLS-1$ + result.append(tooltipExpression); + result.append(", helpExpression: "); //$NON-NLS-1$ + result.append(helpExpression); + result.append(", validationExpression: "); //$NON-NLS-1$ + result.append(validationExpression); result.append(')'); return result.toString(); } diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java index 55e1c6b91..0cbbb7359 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java @@ -106,6 +106,72 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { return createEEFLineDescription(); case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION: return createEEFAdapterFactoryTableStructureDescription(); + case EefPackage.EEF_GROUP_STYLE: + return createEEFGroupStyle(); + case EefPackage.EEF_GROUP_CONDITIONAL_STYLE: + return createEEFGroupConditionalStyle(); + case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION: + return createEEFGroupStyleCustomization(); + case EefPackage.EEF_TEXT_STYLE: + return createEEFTextStyle(); + case EefPackage.EEF_TEXT_CONDITIONAL_STYLE: + return createEEFTextConditionalStyle(); + case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION: + return createEEFTextStyleCustomization(); + case EefPackage.EEF_CHECKBOX_STYLE: + return createEEFCheckboxStyle(); + case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE: + return createEEFCheckboxConditionalStyle(); + case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION: + return createEEFCheckboxStyleCustomization(); + case EefPackage.EEF_LABEL_STYLE: + return createEEFLabelStyle(); + case EefPackage.EEF_LABEL_CONDITIONAL_STYLE: + return createEEFLabelConditionalStyle(); + case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION: + return createEEFLabelStyleCustomization(); + case EefPackage.EEF_RADIO_STYLE: + return createEEFRadioStyle(); + case EefPackage.EEF_RADIO_CONDITIONAL_STYLE: + return createEEFRadioConditionalStyle(); + case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION: + return createEEFRadioStyleCustomization(); + case EefPackage.EEF_LINK_STYLE: + return createEEFLinkStyle(); + case EefPackage.EEF_LINK_CONDITIONAL_STYLE: + return createEEFLinkConditionalStyle(); + case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION: + return createEEFLinkStyleCustomization(); + case EefPackage.EEF_SELECT_STYLE: + return createEEFSelectStyle(); + case EefPackage.EEF_SELECT_CONDITIONAL_STYLE: + return createEEFSelectConditionalStyle(); + case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION: + return createEEFSelectStyleCustomization(); + case EefPackage.EEF_TREE_STYLE: + return createEEFTreeStyle(); + case EefPackage.EEF_TREE_CONDITIONAL_STYLE: + return createEEFTreeConditionalStyle(); + case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION: + return createEEFTreeStyleCustomization(); + case EefPackage.EEF_TABLE_STYLE: + return createEEFTableStyle(); + case EefPackage.EEF_TABLE_CONDITIONAL_STYLE: + return createEEFTableConditionalStyle(); + case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION: + return createEEFTableStyleCustomization(); + case EefPackage.EEF_LINE_STYLE: + return createEEFLineStyle(); + case EefPackage.EEF_LINE_CONDITIONAL_STYLE: + return createEEFLineConditionalStyle(); + case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION: + return createEEFLineStyleCustomization(); + case EefPackage.EEF_COLUMN_STYLE: + return createEEFColumnStyle(); + case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE: + return createEEFColumnConditionalStyle(); + case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION: + return createEEFColumnStyleCustomization(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ } @@ -387,6 +453,369 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { return eefAdapterFactoryTableStructureDescription; } + /** + * + * + * @generated + */ + @Override + public EEFGroupStyle createEEFGroupStyle() { + EEFGroupStyleImpl eefGroupStyle = new EEFGroupStyleImpl(); + return eefGroupStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFGroupConditionalStyle createEEFGroupConditionalStyle() { + EEFGroupConditionalStyleImpl eefGroupConditionalStyle = new EEFGroupConditionalStyleImpl(); + return eefGroupConditionalStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFGroupStyleCustomization createEEFGroupStyleCustomization() { + EEFGroupStyleCustomizationImpl eefGroupStyleCustomization = new EEFGroupStyleCustomizationImpl(); + return eefGroupStyleCustomization; + } + + /** + * + * + * @generated + */ + @Override + public EEFTextStyle createEEFTextStyle() { + EEFTextStyleImpl eefTextStyle = new EEFTextStyleImpl(); + return eefTextStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFTextConditionalStyle createEEFTextConditionalStyle() { + EEFTextConditionalStyleImpl eefTextConditionalStyle = new EEFTextConditionalStyleImpl(); + return eefTextConditionalStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFTextStyleCustomization createEEFTextStyleCustomization() { + EEFTextStyleCustomizationImpl eefTextStyleCustomization = new EEFTextStyleCustomizationImpl(); + return eefTextStyleCustomization; + } + + /** + * + * + * @generated + */ + @Override + public EEFCheckboxStyle createEEFCheckboxStyle() { + EEFCheckboxStyleImpl eefCheckboxStyle = new EEFCheckboxStyleImpl(); + return eefCheckboxStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFCheckboxConditionalStyle createEEFCheckboxConditionalStyle() { + EEFCheckboxConditionalStyleImpl eefCheckboxConditionalStyle = new EEFCheckboxConditionalStyleImpl(); + return eefCheckboxConditionalStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFCheckboxStyleCustomization createEEFCheckboxStyleCustomization() { + EEFCheckboxStyleCustomizationImpl eefCheckboxStyleCustomization = new EEFCheckboxStyleCustomizationImpl(); + return eefCheckboxStyleCustomization; + } + + /** + * + * + * @generated + */ + @Override + public EEFLabelStyle createEEFLabelStyle() { + EEFLabelStyleImpl eefLabelStyle = new EEFLabelStyleImpl(); + return eefLabelStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFLabelConditionalStyle createEEFLabelConditionalStyle() { + EEFLabelConditionalStyleImpl eefLabelConditionalStyle = new EEFLabelConditionalStyleImpl(); + return eefLabelConditionalStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFLabelStyleCustomization createEEFLabelStyleCustomization() { + EEFLabelStyleCustomizationImpl eefLabelStyleCustomization = new EEFLabelStyleCustomizationImpl(); + return eefLabelStyleCustomization; + } + + /** + * + * + * @generated + */ + @Override + public EEFRadioStyle createEEFRadioStyle() { + EEFRadioStyleImpl eefRadioStyle = new EEFRadioStyleImpl(); + return eefRadioStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFRadioConditionalStyle createEEFRadioConditionalStyle() { + EEFRadioConditionalStyleImpl eefRadioConditionalStyle = new EEFRadioConditionalStyleImpl(); + return eefRadioConditionalStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFRadioStyleCustomization createEEFRadioStyleCustomization() { + EEFRadioStyleCustomizationImpl eefRadioStyleCustomization = new EEFRadioStyleCustomizationImpl(); + return eefRadioStyleCustomization; + } + + /** + * + * + * @generated + */ + @Override + public EEFLinkStyle createEEFLinkStyle() { + EEFLinkStyleImpl eefLinkStyle = new EEFLinkStyleImpl(); + return eefLinkStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFLinkConditionalStyle createEEFLinkConditionalStyle() { + EEFLinkConditionalStyleImpl eefLinkConditionalStyle = new EEFLinkConditionalStyleImpl(); + return eefLinkConditionalStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFLinkStyleCustomization createEEFLinkStyleCustomization() { + EEFLinkStyleCustomizationImpl eefLinkStyleCustomization = new EEFLinkStyleCustomizationImpl(); + return eefLinkStyleCustomization; + } + + /** + * + * + * @generated + */ + @Override + public EEFSelectStyle createEEFSelectStyle() { + EEFSelectStyleImpl eefSelectStyle = new EEFSelectStyleImpl(); + return eefSelectStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFSelectConditionalStyle createEEFSelectConditionalStyle() { + EEFSelectConditionalStyleImpl eefSelectConditionalStyle = new EEFSelectConditionalStyleImpl(); + return eefSelectConditionalStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFSelectStyleCustomization createEEFSelectStyleCustomization() { + EEFSelectStyleCustomizationImpl eefSelectStyleCustomization = new EEFSelectStyleCustomizationImpl(); + return eefSelectStyleCustomization; + } + + /** + * + * + * @generated + */ + @Override + public EEFTreeStyle createEEFTreeStyle() { + EEFTreeStyleImpl eefTreeStyle = new EEFTreeStyleImpl(); + return eefTreeStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFTreeConditionalStyle createEEFTreeConditionalStyle() { + EEFTreeConditionalStyleImpl eefTreeConditionalStyle = new EEFTreeConditionalStyleImpl(); + return eefTreeConditionalStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFTreeStyleCustomization createEEFTreeStyleCustomization() { + EEFTreeStyleCustomizationImpl eefTreeStyleCustomization = new EEFTreeStyleCustomizationImpl(); + return eefTreeStyleCustomization; + } + + /** + * + * + * @generated + */ + @Override + public EEFTableStyle createEEFTableStyle() { + EEFTableStyleImpl eefTableStyle = new EEFTableStyleImpl(); + return eefTableStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFTableConditionalStyle createEEFTableConditionalStyle() { + EEFTableConditionalStyleImpl eefTableConditionalStyle = new EEFTableConditionalStyleImpl(); + return eefTableConditionalStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFTableStyleCustomization createEEFTableStyleCustomization() { + EEFTableStyleCustomizationImpl eefTableStyleCustomization = new EEFTableStyleCustomizationImpl(); + return eefTableStyleCustomization; + } + + /** + * + * + * @generated + */ + @Override + public EEFLineStyle createEEFLineStyle() { + EEFLineStyleImpl eefLineStyle = new EEFLineStyleImpl(); + return eefLineStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFLineConditionalStyle createEEFLineConditionalStyle() { + EEFLineConditionalStyleImpl eefLineConditionalStyle = new EEFLineConditionalStyleImpl(); + return eefLineConditionalStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFLineStyleCustomization createEEFLineStyleCustomization() { + EEFLineStyleCustomizationImpl eefLineStyleCustomization = new EEFLineStyleCustomizationImpl(); + return eefLineStyleCustomization; + } + + /** + * + * + * @generated + */ + @Override + public EEFColumnStyle createEEFColumnStyle() { + EEFColumnStyleImpl eefColumnStyle = new EEFColumnStyleImpl(); + return eefColumnStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFColumnConditionalStyle createEEFColumnConditionalStyle() { + EEFColumnConditionalStyleImpl eefColumnConditionalStyle = new EEFColumnConditionalStyleImpl(); + return eefColumnConditionalStyle; + } + + /** + * + * + * @generated + */ + @Override + public EEFColumnStyleCustomization createEEFColumnStyleCustomization() { + EEFColumnStyleCustomizationImpl eefColumnStyleCustomization = new EEFColumnStyleCustomizationImpl(); + return eefColumnStyleCustomization; + } + /** * * diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java index 5ec6aa888..acf34762b 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java @@ -12,27 +12,63 @@ import org.eclipse.eef.ContextableElement; import org.eclipse.eef.EEFAdapterFactoryTableStructureDescription; import org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription; import org.eclipse.eef.EEFCellWidgetDescription; +import org.eclipse.eef.EEFCheckboxConditionalStyle; import org.eclipse.eef.EEFCheckboxDescription; +import org.eclipse.eef.EEFCheckboxStyle; +import org.eclipse.eef.EEFCheckboxStyleCustomization; +import org.eclipse.eef.EEFColumnConditionalStyle; import org.eclipse.eef.EEFColumnDescription; +import org.eclipse.eef.EEFColumnStyle; +import org.eclipse.eef.EEFColumnStyleCustomization; +import org.eclipse.eef.EEFConditionalStyle; import org.eclipse.eef.EEFContainerDescription; +import org.eclipse.eef.EEFGroupConditionalStyle; import org.eclipse.eef.EEFGroupDescription; +import org.eclipse.eef.EEFGroupStyle; +import org.eclipse.eef.EEFGroupStyleCustomization; import org.eclipse.eef.EEFImageDescription; import org.eclipse.eef.EEFImagePickerDescription; import org.eclipse.eef.EEFInterpretedTableStructureDescription; import org.eclipse.eef.EEFInterpretedTreeStructureDescription; import org.eclipse.eef.EEFJavaExtensionDescription; +import org.eclipse.eef.EEFLabelConditionalStyle; import org.eclipse.eef.EEFLabelDescription; +import org.eclipse.eef.EEFLabelStyle; +import org.eclipse.eef.EEFLabelStyleCustomization; +import org.eclipse.eef.EEFLineConditionalStyle; import org.eclipse.eef.EEFLineDescription; +import org.eclipse.eef.EEFLineStyle; +import org.eclipse.eef.EEFLineStyleCustomization; +import org.eclipse.eef.EEFLinkConditionalStyle; import org.eclipse.eef.EEFLinkDescription; +import org.eclipse.eef.EEFLinkStyle; +import org.eclipse.eef.EEFLinkStyleCustomization; import org.eclipse.eef.EEFPageDescription; +import org.eclipse.eef.EEFRadioConditionalStyle; import org.eclipse.eef.EEFRadioDescription; +import org.eclipse.eef.EEFRadioStyle; +import org.eclipse.eef.EEFRadioStyleCustomization; +import org.eclipse.eef.EEFSelectConditionalStyle; import org.eclipse.eef.EEFSelectDescription; +import org.eclipse.eef.EEFSelectStyle; +import org.eclipse.eef.EEFSelectStyleCustomization; +import org.eclipse.eef.EEFStyle; +import org.eclipse.eef.EEFStyleCustomization; +import org.eclipse.eef.EEFTableConditionalStyle; import org.eclipse.eef.EEFTableDescription; import org.eclipse.eef.EEFTableStructureDescription; +import org.eclipse.eef.EEFTableStyle; +import org.eclipse.eef.EEFTableStyleCustomization; +import org.eclipse.eef.EEFTextConditionalStyle; import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.EEFTextStyle; +import org.eclipse.eef.EEFTextStyleCustomization; +import org.eclipse.eef.EEFTreeConditionalStyle; import org.eclipse.eef.EEFTreeDescription; import org.eclipse.eef.EEFTreeDialogSelectDescription; import org.eclipse.eef.EEFTreeStructureDescription; +import org.eclipse.eef.EEFTreeStyle; +import org.eclipse.eef.EEFTreeStyleCustomization; import org.eclipse.eef.EEFViewDescription; import org.eclipse.eef.EEFWidgetDescription; import org.eclipse.eef.EefFactory; @@ -244,6 +280,258 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ private EClass contextableElementEClass = null; + /** + * + * + * @generated + */ + private EClass eefStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefConditionalStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefStyleCustomizationEClass = null; + + /** + * + * + * @generated + */ + private EClass eefGroupStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefGroupConditionalStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefGroupStyleCustomizationEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTextStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTextConditionalStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTextStyleCustomizationEClass = null; + + /** + * + * + * @generated + */ + private EClass eefCheckboxStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefCheckboxConditionalStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefCheckboxStyleCustomizationEClass = null; + + /** + * + * + * @generated + */ + private EClass eefLabelStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefLabelConditionalStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefLabelStyleCustomizationEClass = null; + + /** + * + * + * @generated + */ + private EClass eefRadioStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefRadioConditionalStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefRadioStyleCustomizationEClass = null; + + /** + * + * + * @generated + */ + private EClass eefLinkStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefLinkConditionalStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefLinkStyleCustomizationEClass = null; + + /** + * + * + * @generated + */ + private EClass eefSelectStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefSelectConditionalStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefSelectStyleCustomizationEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTreeStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTreeConditionalStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTreeStyleCustomizationEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTableStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTableConditionalStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefTableStyleCustomizationEClass = null; + + /** + * + * + * @generated + */ + private EClass eefLineStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefLineConditionalStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefLineStyleCustomizationEClass = null; + + /** + * + * + * @generated + */ + private EClass eefColumnStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefColumnConditionalStyleEClass = null; + + /** + * + * + * @generated + */ + private EClass eefColumnStyleCustomizationEClass = null; + /** * * @@ -423,6 +711,16 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(8); } + /** + * + * + * @generated + */ + @Override + public EReference getEEFViewDescription_StyleCustomizations() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(9); + } + /** * * @@ -553,6 +851,36 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { return (EReference) eefGroupDescriptionEClass.getEStructuralFeatures().get(4); } + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFGroupDescription_CollapsibleExpression() { + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFGroupDescription_CollapsedByDefaultExpression() { + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFGroupDescription_ValidationExpression() { + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(7); + } + /** * * @@ -659,8 +987,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFJavaExtensionDescription() { - return eefJavaExtensionDescriptionEClass; + public EReference getEEFWidgetDescription_LabelStyle() { + return (EReference) eefWidgetDescriptionEClass.getEStructuralFeatures().get(2); } /** @@ -669,8 +997,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFJavaExtensionDescription_QualifiedName() { - return (EAttribute) eefJavaExtensionDescriptionEClass.getEStructuralFeatures().get(0); + public EAttribute getEEFWidgetDescription_TooltipExpression() { + return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(3); } /** @@ -679,8 +1007,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFTreeStructureDescription() { - return eefTreeStructureDescriptionEClass; + public EAttribute getEEFWidgetDescription_HelpExpression() { + return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(4); } /** @@ -689,8 +1017,48 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFTreeStructureDescription_Identifier() { - return (EAttribute) eefTreeStructureDescriptionEClass.getEStructuralFeatures().get(0); + public EAttribute getEEFWidgetDescription_ValidationExpression() { + return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFJavaExtensionDescription() { + return eefJavaExtensionDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFJavaExtensionDescription_QualifiedName() { + return (EAttribute) eefJavaExtensionDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTreeStructureDescription() { + return eefTreeStructureDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeStructureDescription_Identifier() { + return (EAttribute) eefTreeStructureDescriptionEClass.getEStructuralFeatures().get(0); } /** @@ -789,8 +1157,868 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFInterpretedTreeStructureDescription_ChildrenExpression() { - return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(1); + public EAttribute getEEFInterpretedTreeStructureDescription_ChildrenExpression() { + return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression() { + return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression() { + return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTextDescription() { + return eefTextDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTextDescription_ValueExpression() { + return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTextDescription_EditExpression() { + return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTextDescription_ReadOnlyExpression() { + return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTextDescription_ContentAssistExpression() { + return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTextDescription_PlaceholderExpression() { + return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTextDescription_LineCount() { + return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFTextDescription_Style() { + return (EReference) eefTextDescriptionEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFTextDescription_ConditionalStyles() { + return (EReference) eefTextDescriptionEClass.getEStructuralFeatures().get(7); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFCheckboxDescription() { + return eefCheckboxDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFCheckboxDescription_ValueExpression() { + return (EAttribute) eefCheckboxDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFCheckboxDescription_EditExpression() { + return (EAttribute) eefCheckboxDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFSelectDescription() { + return eefSelectDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFSelectDescription_ValueExpression() { + return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFSelectDescription_EditExpression() { + return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFSelectDescription_CandidatesExpression() { + return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFSelectDescription_Multiple() { + return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFSelectDescription_CandidateDisplayExpression() { + return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFLabelDescription() { + return eefLabelDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFLabelDescription_ValueExpression() { + return (EAttribute) eefLabelDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFRadioDescription() { + return eefRadioDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFRadioDescription_ValueExpression() { + return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFRadioDescription_EditExpression() { + return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFRadioDescription_CandidatesExpression() { + return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFRadioDescription_CandidateDisplayExpression() { + return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTreeDialogSelectDescription() { + return eefTreeDialogSelectDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeDialogSelectDescription_SemanticCandidateExpression() { + return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeDialogSelectDescription_DefaultFilter() { + return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeDialogSelectDescription_DomainClass() { + return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFTreeDialogSelectDescription_Tree() { + return (EReference) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFLinkDescription() { + return eefLinkDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFLinkDescription_OnClickExpression() { + return (EAttribute) eefLinkDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFImageDescription() { + return eefImageDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFImageDescription_ValueExpression() { + return (EAttribute) eefImageDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTreeDescription() { + return eefTreeDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeDescription_ValueExpression() { + return (EAttribute) eefTreeDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFTreeDescription_TreeStructure() { + return (EReference) eefTreeDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTreeDescription_EditExpression() { + return (EAttribute) eefTreeDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFImagePickerDescription() { + return eefImagePickerDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFImagePickerDescription_ValueExpression() { + return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFImagePickerDescription_EditExpression() { + return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFImagePickerDescription_CandidatesExpression() { + return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTableDescription() { + return eefTableDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTableDescription_ValueExpression() { + return (EAttribute) eefTableDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTableDescription_EditExpression() { + return (EAttribute) eefTableDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFTableDescription_TableStructure() { + return (EReference) eefTableDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFColumnDescription() { + return eefColumnDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFColumnDescription_Width() { + return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFColumnDescription_HeaderExpression() { + return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFColumnDescription_CellWidget() { + return (EReference) eefColumnDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFLineDescription() { + return eefLineDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFLineDescription_HeaderExpression() { + return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFLineDescription_SemanticCandidatesExpression() { + return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFLineDescription_DomainClass() { + return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFLineDescription_SubLines() { + return (EReference) eefLineDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTableStructureDescription() { + return eefTableStructureDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTableStructureDescription_Multiple() { + return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTableStructureDescription_Identifier() { + return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFAdapterFactoryTableStructureDescription() { + return eefAdapterFactoryTableStructureDescriptionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider() { + return (EAttribute) eefAdapterFactoryTableStructureDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getContextableElement() { + return contextableElementEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getContextableElement_RequiredContextVariables() { + return (EReference) contextableElementEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getContextableElement_ExcludedContextVariables() { + return (EReference) contextableElementEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFStyle() { + return eefStyleEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFStyle_FontExpression() { + return (EAttribute) eefStyleEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFConditionalStyle() { + return eefConditionalStyleEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFConditionalStyle_ConditionalExpression() { + return (EAttribute) eefConditionalStyleEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFStyleCustomization() { + return eefStyleCustomizationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFGroupStyle() { + return eefGroupStyleEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFGroupStyle_ForegroundColorExpression() { + return (EAttribute) eefGroupStyleEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFGroupConditionalStyle() { + return eefGroupConditionalStyleEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFGroupConditionalStyle_Style() { + return (EReference) eefGroupConditionalStyleEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFGroupStyleCustomization() { + return eefGroupStyleCustomizationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFGroupStyleCustomization_Style() { + return (EReference) eefGroupStyleCustomizationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTextStyle() { + return eefTextStyleEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTextStyle_BackgroundColorExpression() { + return (EAttribute) eefTextStyleEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTextStyle_ForegroundColorExpression() { + return (EAttribute) eefTextStyleEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTextConditionalStyle() { + return eefTextConditionalStyleEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFTextConditionalStyle_Style() { + return (EReference) eefTextConditionalStyleEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFTextStyleCustomization() { + return eefTextStyleCustomizationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFTextStyleCustomization_Style() { + return (EReference) eefTextStyleCustomizationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFCheckboxStyle() { + return eefCheckboxStyleEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFCheckboxStyle_BackgroundColorExpression() { + return (EAttribute) eefCheckboxStyleEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFCheckboxStyle_ForegroundColorExpression() { + return (EAttribute) eefCheckboxStyleEClass.getEStructuralFeatures().get(1); } /** @@ -799,8 +2027,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression() { - return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(2); + public EClass getEEFCheckboxConditionalStyle() { + return eefCheckboxConditionalStyleEClass; } /** @@ -809,8 +2037,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression() { - return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(3); + public EReference getEEFCheckboxConditionalStyle_Style() { + return (EReference) eefCheckboxConditionalStyleEClass.getEStructuralFeatures().get(0); } /** @@ -819,8 +2047,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFTextDescription() { - return eefTextDescriptionEClass; + public EClass getEEFCheckboxStyleCustomization() { + return eefCheckboxStyleCustomizationEClass; } /** @@ -829,8 +2057,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFTextDescription_ValueExpression() { - return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(0); + public EReference getEEFCheckboxStyleCustomization_Style() { + return (EReference) eefCheckboxStyleCustomizationEClass.getEStructuralFeatures().get(0); } /** @@ -839,8 +2067,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFTextDescription_EditExpression() { - return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(1); + public EClass getEEFLabelStyle() { + return eefLabelStyleEClass; } /** @@ -849,8 +2077,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFTextDescription_LineCount() { - return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(2); + public EAttribute getEEFLabelStyle_BackgroundColorExpression() { + return (EAttribute) eefLabelStyleEClass.getEStructuralFeatures().get(0); } /** @@ -859,8 +2087,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFCheckboxDescription() { - return eefCheckboxDescriptionEClass; + public EAttribute getEEFLabelStyle_ForegroundColorExpression() { + return (EAttribute) eefLabelStyleEClass.getEStructuralFeatures().get(1); } /** @@ -869,8 +2097,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFCheckboxDescription_ValueExpression() { - return (EAttribute) eefCheckboxDescriptionEClass.getEStructuralFeatures().get(0); + public EClass getEEFLabelConditionalStyle() { + return eefLabelConditionalStyleEClass; } /** @@ -879,8 +2107,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFCheckboxDescription_EditExpression() { - return (EAttribute) eefCheckboxDescriptionEClass.getEStructuralFeatures().get(1); + public EReference getEEFLabelConditionalStyle_Style() { + return (EReference) eefLabelConditionalStyleEClass.getEStructuralFeatures().get(0); } /** @@ -889,8 +2117,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFSelectDescription() { - return eefSelectDescriptionEClass; + public EClass getEEFLabelStyleCustomization() { + return eefLabelStyleCustomizationEClass; } /** @@ -899,8 +2127,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFSelectDescription_ValueExpression() { - return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(0); + public EReference getEEFLabelStyleCustomization_Style() { + return (EReference) eefLabelStyleCustomizationEClass.getEStructuralFeatures().get(0); } /** @@ -909,8 +2137,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFSelectDescription_EditExpression() { - return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(1); + public EClass getEEFRadioStyle() { + return eefRadioStyleEClass; } /** @@ -919,8 +2147,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFSelectDescription_CandidatesExpression() { - return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(2); + public EAttribute getEEFRadioStyle_BackgroundColorExpression() { + return (EAttribute) eefRadioStyleEClass.getEStructuralFeatures().get(0); } /** @@ -929,8 +2157,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFSelectDescription_Multiple() { - return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(3); + public EAttribute getEEFRadioStyle_ForegroundColorExpression() { + return (EAttribute) eefRadioStyleEClass.getEStructuralFeatures().get(1); } /** @@ -939,8 +2167,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFSelectDescription_CandidateDisplayExpression() { - return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(4); + public EClass getEEFRadioConditionalStyle() { + return eefRadioConditionalStyleEClass; } /** @@ -949,8 +2177,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFLabelDescription() { - return eefLabelDescriptionEClass; + public EReference getEEFRadioConditionalStyle_Style() { + return (EReference) eefRadioConditionalStyleEClass.getEStructuralFeatures().get(0); } /** @@ -959,8 +2187,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFLabelDescription_ValueExpression() { - return (EAttribute) eefLabelDescriptionEClass.getEStructuralFeatures().get(0); + public EClass getEEFRadioStyleCustomization() { + return eefRadioStyleCustomizationEClass; } /** @@ -969,8 +2197,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFRadioDescription() { - return eefRadioDescriptionEClass; + public EReference getEEFRadioStyleCustomization_Style() { + return (EReference) eefRadioStyleCustomizationEClass.getEStructuralFeatures().get(0); } /** @@ -979,8 +2207,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFRadioDescription_ValueExpression() { - return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(0); + public EClass getEEFLinkStyle() { + return eefLinkStyleEClass; } /** @@ -989,8 +2217,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFRadioDescription_EditExpression() { - return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(1); + public EAttribute getEEFLinkStyle_BackgroundColorExpression() { + return (EAttribute) eefLinkStyleEClass.getEStructuralFeatures().get(0); } /** @@ -999,8 +2227,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFRadioDescription_CandidatesExpression() { - return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(2); + public EAttribute getEEFLinkStyle_ForegroundColorExpression() { + return (EAttribute) eefLinkStyleEClass.getEStructuralFeatures().get(1); } /** @@ -1009,8 +2237,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFRadioDescription_CandidateDisplayExpression() { - return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(3); + public EAttribute getEEFLinkStyle_BackgroundImageExpression() { + return (EAttribute) eefLinkStyleEClass.getEStructuralFeatures().get(2); } /** @@ -1019,8 +2247,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFTreeDialogSelectDescription() { - return eefTreeDialogSelectDescriptionEClass; + public EClass getEEFLinkConditionalStyle() { + return eefLinkConditionalStyleEClass; } /** @@ -1029,8 +2257,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFTreeDialogSelectDescription_SemanticCandidateExpression() { - return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(0); + public EReference getEEFLinkConditionalStyle_Style() { + return (EReference) eefLinkConditionalStyleEClass.getEStructuralFeatures().get(0); } /** @@ -1039,8 +2267,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFTreeDialogSelectDescription_DefaultFilter() { - return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(1); + public EClass getEEFLinkStyleCustomization() { + return eefLinkStyleCustomizationEClass; } /** @@ -1049,8 +2277,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFTreeDialogSelectDescription_DomainClass() { - return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(2); + public EReference getEEFLinkStyleCustomization_Style() { + return (EReference) eefLinkStyleCustomizationEClass.getEStructuralFeatures().get(0); } /** @@ -1059,8 +2287,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EReference getEEFTreeDialogSelectDescription_Tree() { - return (EReference) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(3); + public EClass getEEFSelectStyle() { + return eefSelectStyleEClass; } /** @@ -1069,8 +2297,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFLinkDescription() { - return eefLinkDescriptionEClass; + public EAttribute getEEFSelectStyle_BackgroundColorExpression() { + return (EAttribute) eefSelectStyleEClass.getEStructuralFeatures().get(0); } /** @@ -1079,8 +2307,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFLinkDescription_OnClickExpression() { - return (EAttribute) eefLinkDescriptionEClass.getEStructuralFeatures().get(0); + public EAttribute getEEFSelectStyle_ForegroundColorExpression() { + return (EAttribute) eefSelectStyleEClass.getEStructuralFeatures().get(1); } /** @@ -1089,8 +2317,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFImageDescription() { - return eefImageDescriptionEClass; + public EClass getEEFSelectConditionalStyle() { + return eefSelectConditionalStyleEClass; } /** @@ -1099,8 +2327,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFImageDescription_ValueExpression() { - return (EAttribute) eefImageDescriptionEClass.getEStructuralFeatures().get(0); + public EReference getEEFSelectConditionalStyle_Style() { + return (EReference) eefSelectConditionalStyleEClass.getEStructuralFeatures().get(0); } /** @@ -1109,8 +2337,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFTreeDescription() { - return eefTreeDescriptionEClass; + public EClass getEEFSelectStyleCustomization() { + return eefSelectStyleCustomizationEClass; } /** @@ -1119,8 +2347,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFTreeDescription_ValueExpression() { - return (EAttribute) eefTreeDescriptionEClass.getEStructuralFeatures().get(0); + public EReference getEEFSelectStyleCustomization_Style() { + return (EReference) eefSelectStyleCustomizationEClass.getEStructuralFeatures().get(0); } /** @@ -1129,8 +2357,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EReference getEEFTreeDescription_TreeStructure() { - return (EReference) eefTreeDescriptionEClass.getEStructuralFeatures().get(1); + public EClass getEEFTreeStyle() { + return eefTreeStyleEClass; } /** @@ -1139,8 +2367,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFTreeDescription_EditExpression() { - return (EAttribute) eefTreeDescriptionEClass.getEStructuralFeatures().get(2); + public EClass getEEFTreeConditionalStyle() { + return eefTreeConditionalStyleEClass; } /** @@ -1149,8 +2377,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFImagePickerDescription() { - return eefImagePickerDescriptionEClass; + public EReference getEEFTreeConditionalStyle_Style() { + return (EReference) eefTreeConditionalStyleEClass.getEStructuralFeatures().get(0); } /** @@ -1159,8 +2387,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFImagePickerDescription_ValueExpression() { - return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(0); + public EClass getEEFTreeStyleCustomization() { + return eefTreeStyleCustomizationEClass; } /** @@ -1169,8 +2397,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFImagePickerDescription_EditExpression() { - return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(1); + public EReference getEEFTreeStyleCustomization_Style() { + return (EReference) eefTreeStyleCustomizationEClass.getEStructuralFeatures().get(0); } /** @@ -1179,8 +2407,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFImagePickerDescription_CandidatesExpression() { - return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(2); + public EClass getEEFTableStyle() { + return eefTableStyleEClass; } /** @@ -1189,8 +2417,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFTableDescription() { - return eefTableDescriptionEClass; + public EClass getEEFTableConditionalStyle() { + return eefTableConditionalStyleEClass; } /** @@ -1199,8 +2427,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFTableDescription_ValueExpression() { - return (EAttribute) eefTableDescriptionEClass.getEStructuralFeatures().get(0); + public EReference getEEFTableConditionalStyle_Style() { + return (EReference) eefTableConditionalStyleEClass.getEStructuralFeatures().get(0); } /** @@ -1209,8 +2437,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFTableDescription_EditExpression() { - return (EAttribute) eefTableDescriptionEClass.getEStructuralFeatures().get(1); + public EClass getEEFTableStyleCustomization() { + return eefTableStyleCustomizationEClass; } /** @@ -1219,8 +2447,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EReference getEEFTableDescription_TableStructure() { - return (EReference) eefTableDescriptionEClass.getEStructuralFeatures().get(2); + public EReference getEEFTableStyleCustomization_Style() { + return (EReference) eefTableStyleCustomizationEClass.getEStructuralFeatures().get(0); } /** @@ -1229,8 +2457,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFColumnDescription() { - return eefColumnDescriptionEClass; + public EClass getEEFLineStyle() { + return eefLineStyleEClass; } /** @@ -1239,8 +2467,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFColumnDescription_Width() { - return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(0); + public EAttribute getEEFLineStyle_BackgroundColorExpression() { + return (EAttribute) eefLineStyleEClass.getEStructuralFeatures().get(0); } /** @@ -1249,8 +2477,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFColumnDescription_HeaderExpression() { - return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(1); + public EAttribute getEEFLineStyle_ForegroundColorExpression() { + return (EAttribute) eefLineStyleEClass.getEStructuralFeatures().get(1); } /** @@ -1259,8 +2487,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EReference getEEFColumnDescription_CellWidget() { - return (EReference) eefColumnDescriptionEClass.getEStructuralFeatures().get(2); + public EAttribute getEEFLineStyle_HeaderBackgroundColorExpression() { + return (EAttribute) eefLineStyleEClass.getEStructuralFeatures().get(2); } /** @@ -1269,8 +2497,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFColumnDescription_ContextCandidatesExpression() { - return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(3); + public EAttribute getEEFLineStyle_HeaderForegroundColorExpression() { + return (EAttribute) eefLineStyleEClass.getEStructuralFeatures().get(3); } /** @@ -1279,8 +2507,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFLineDescription() { - return eefLineDescriptionEClass; + public EClass getEEFLineConditionalStyle() { + return eefLineConditionalStyleEClass; } /** @@ -1289,8 +2517,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFLineDescription_HeaderExpression() { - return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(0); + public EReference getEEFLineConditionalStyle_Style() { + return (EReference) eefLineConditionalStyleEClass.getEStructuralFeatures().get(0); } /** @@ -1299,8 +2527,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFLineDescription_SemanticCandidatesExpression() { - return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(1); + public EClass getEEFLineStyleCustomization() { + return eefLineStyleCustomizationEClass; } /** @@ -1309,8 +2537,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFLineDescription_DomainClass() { - return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(2); + public EReference getEEFLineStyleCustomization_Style() { + return (EReference) eefLineStyleCustomizationEClass.getEStructuralFeatures().get(0); } /** @@ -1319,8 +2547,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EReference getEEFLineDescription_SubLines() { - return (EReference) eefLineDescriptionEClass.getEStructuralFeatures().get(3); + public EClass getEEFColumnStyle() { + return eefColumnStyleEClass; } /** @@ -1329,8 +2557,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFTableStructureDescription() { - return eefTableStructureDescriptionEClass; + public EAttribute getEEFColumnStyle_BackgroundColorExpression() { + return (EAttribute) eefColumnStyleEClass.getEStructuralFeatures().get(0); } /** @@ -1339,8 +2567,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFTableStructureDescription_Multiple() { - return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(0); + public EAttribute getEEFColumnStyle_ForegroundColorExpression() { + return (EAttribute) eefColumnStyleEClass.getEStructuralFeatures().get(1); } /** @@ -1349,8 +2577,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFTableStructureDescription_Identifier() { - return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(1); + public EAttribute getEEFColumnStyle_HeaderBackgroundColorExpression() { + return (EAttribute) eefColumnStyleEClass.getEStructuralFeatures().get(2); } /** @@ -1359,8 +2587,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFAdapterFactoryTableStructureDescription() { - return eefAdapterFactoryTableStructureDescriptionEClass; + public EAttribute getEEFColumnStyle_HeaderForegroundColorExpression() { + return (EAttribute) eefColumnStyleEClass.getEStructuralFeatures().get(3); } /** @@ -1369,8 +2597,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider() { - return (EAttribute) eefAdapterFactoryTableStructureDescriptionEClass.getEStructuralFeatures().get(0); + public EClass getEEFColumnConditionalStyle() { + return eefColumnConditionalStyleEClass; } /** @@ -1379,8 +2607,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getContextableElement() { - return contextableElementEClass; + public EReference getEEFColumnConditionalStyle_Style() { + return (EReference) eefColumnConditionalStyleEClass.getEStructuralFeatures().get(0); } /** @@ -1389,8 +2617,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EReference getContextableElement_RequiredContextVariables() { - return (EReference) contextableElementEClass.getEStructuralFeatures().get(0); + public EClass getEEFColumnStyleCustomization() { + return eefColumnStyleCustomizationEClass; } /** @@ -1399,8 +2627,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EReference getContextableElement_ExcludedContextVariables() { - return (EReference) contextableElementEClass.getEStructuralFeatures().get(1); + public EReference getEEFColumnStyleCustomization_Style() { + return (EReference) eefColumnStyleCustomizationEClass.getEStructuralFeatures().get(0); } /** @@ -1463,6 +2691,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS); createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__TREE_STRUCTURES); createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES); + createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS); eefPageDescriptionEClass = createEClass(EEF_PAGE_DESCRIPTION); createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__IDENTIFIER); @@ -1478,6 +2707,9 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__DOMAIN_CLASS); createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); createEReference(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__CONTAINER); + createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION); + createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION); + createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION); eefContainerDescriptionEClass = createEClass(EEF_CONTAINER_DESCRIPTION); createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__IDENTIFIER); @@ -1490,6 +2722,10 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { eefWidgetDescriptionEClass = createEClass(EEF_WIDGET_DESCRIPTION); createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__IDENTIFIER); createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION); + createEReference(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__LABEL_STYLE); + createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION); + createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION); + createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION); eefJavaExtensionDescriptionEClass = createEClass(EEF_JAVA_EXTENSION_DESCRIPTION); createEAttribute(eefJavaExtensionDescriptionEClass, EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME); @@ -1516,7 +2752,12 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { eefTextDescriptionEClass = createEClass(EEF_TEXT_DESCRIPTION); createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION); createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION); + createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION); + createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION); + createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION); createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__LINE_COUNT); + createEReference(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__STYLE); + createEReference(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES); eefCheckboxDescriptionEClass = createEClass(EEF_CHECKBOX_DESCRIPTION); createEAttribute(eefCheckboxDescriptionEClass, EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION); @@ -1569,7 +2810,6 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { createEAttribute(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__WIDTH); createEAttribute(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION); createEReference(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__CELL_WIDGET); - createEAttribute(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__CONTEXT_CANDIDATES_EXPRESSION); eefLineDescriptionEClass = createEClass(EEF_LINE_DESCRIPTION); createEAttribute(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__HEADER_EXPRESSION); @@ -1588,6 +2828,124 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { createEReference(contextableElementEClass, CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES); createEReference(contextableElementEClass, CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES); + eefStyleEClass = createEClass(EEF_STYLE); + createEAttribute(eefStyleEClass, EEF_STYLE__FONT_EXPRESSION); + + eefConditionalStyleEClass = createEClass(EEF_CONDITIONAL_STYLE); + createEAttribute(eefConditionalStyleEClass, EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION); + + eefStyleCustomizationEClass = createEClass(EEF_STYLE_CUSTOMIZATION); + + eefGroupStyleEClass = createEClass(EEF_GROUP_STYLE); + createEAttribute(eefGroupStyleEClass, EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION); + + eefGroupConditionalStyleEClass = createEClass(EEF_GROUP_CONDITIONAL_STYLE); + createEReference(eefGroupConditionalStyleEClass, EEF_GROUP_CONDITIONAL_STYLE__STYLE); + + eefGroupStyleCustomizationEClass = createEClass(EEF_GROUP_STYLE_CUSTOMIZATION); + createEReference(eefGroupStyleCustomizationEClass, EEF_GROUP_STYLE_CUSTOMIZATION__STYLE); + + eefTextStyleEClass = createEClass(EEF_TEXT_STYLE); + createEAttribute(eefTextStyleEClass, EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION); + createEAttribute(eefTextStyleEClass, EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION); + + eefTextConditionalStyleEClass = createEClass(EEF_TEXT_CONDITIONAL_STYLE); + createEReference(eefTextConditionalStyleEClass, EEF_TEXT_CONDITIONAL_STYLE__STYLE); + + eefTextStyleCustomizationEClass = createEClass(EEF_TEXT_STYLE_CUSTOMIZATION); + createEReference(eefTextStyleCustomizationEClass, EEF_TEXT_STYLE_CUSTOMIZATION__STYLE); + + eefCheckboxStyleEClass = createEClass(EEF_CHECKBOX_STYLE); + createEAttribute(eefCheckboxStyleEClass, EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION); + createEAttribute(eefCheckboxStyleEClass, EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION); + + eefCheckboxConditionalStyleEClass = createEClass(EEF_CHECKBOX_CONDITIONAL_STYLE); + createEReference(eefCheckboxConditionalStyleEClass, EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE); + + eefCheckboxStyleCustomizationEClass = createEClass(EEF_CHECKBOX_STYLE_CUSTOMIZATION); + createEReference(eefCheckboxStyleCustomizationEClass, EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE); + + eefLabelStyleEClass = createEClass(EEF_LABEL_STYLE); + createEAttribute(eefLabelStyleEClass, EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION); + createEAttribute(eefLabelStyleEClass, EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION); + + eefLabelConditionalStyleEClass = createEClass(EEF_LABEL_CONDITIONAL_STYLE); + createEReference(eefLabelConditionalStyleEClass, EEF_LABEL_CONDITIONAL_STYLE__STYLE); + + eefLabelStyleCustomizationEClass = createEClass(EEF_LABEL_STYLE_CUSTOMIZATION); + createEReference(eefLabelStyleCustomizationEClass, EEF_LABEL_STYLE_CUSTOMIZATION__STYLE); + + eefRadioStyleEClass = createEClass(EEF_RADIO_STYLE); + createEAttribute(eefRadioStyleEClass, EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION); + createEAttribute(eefRadioStyleEClass, EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION); + + eefRadioConditionalStyleEClass = createEClass(EEF_RADIO_CONDITIONAL_STYLE); + createEReference(eefRadioConditionalStyleEClass, EEF_RADIO_CONDITIONAL_STYLE__STYLE); + + eefRadioStyleCustomizationEClass = createEClass(EEF_RADIO_STYLE_CUSTOMIZATION); + createEReference(eefRadioStyleCustomizationEClass, EEF_RADIO_STYLE_CUSTOMIZATION__STYLE); + + eefLinkStyleEClass = createEClass(EEF_LINK_STYLE); + createEAttribute(eefLinkStyleEClass, EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION); + createEAttribute(eefLinkStyleEClass, EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION); + createEAttribute(eefLinkStyleEClass, EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION); + + eefLinkConditionalStyleEClass = createEClass(EEF_LINK_CONDITIONAL_STYLE); + createEReference(eefLinkConditionalStyleEClass, EEF_LINK_CONDITIONAL_STYLE__STYLE); + + eefLinkStyleCustomizationEClass = createEClass(EEF_LINK_STYLE_CUSTOMIZATION); + createEReference(eefLinkStyleCustomizationEClass, EEF_LINK_STYLE_CUSTOMIZATION__STYLE); + + eefSelectStyleEClass = createEClass(EEF_SELECT_STYLE); + createEAttribute(eefSelectStyleEClass, EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION); + createEAttribute(eefSelectStyleEClass, EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION); + + eefSelectConditionalStyleEClass = createEClass(EEF_SELECT_CONDITIONAL_STYLE); + createEReference(eefSelectConditionalStyleEClass, EEF_SELECT_CONDITIONAL_STYLE__STYLE); + + eefSelectStyleCustomizationEClass = createEClass(EEF_SELECT_STYLE_CUSTOMIZATION); + createEReference(eefSelectStyleCustomizationEClass, EEF_SELECT_STYLE_CUSTOMIZATION__STYLE); + + eefTreeStyleEClass = createEClass(EEF_TREE_STYLE); + + eefTreeConditionalStyleEClass = createEClass(EEF_TREE_CONDITIONAL_STYLE); + createEReference(eefTreeConditionalStyleEClass, EEF_TREE_CONDITIONAL_STYLE__STYLE); + + eefTreeStyleCustomizationEClass = createEClass(EEF_TREE_STYLE_CUSTOMIZATION); + createEReference(eefTreeStyleCustomizationEClass, EEF_TREE_STYLE_CUSTOMIZATION__STYLE); + + eefTableStyleEClass = createEClass(EEF_TABLE_STYLE); + + eefTableConditionalStyleEClass = createEClass(EEF_TABLE_CONDITIONAL_STYLE); + createEReference(eefTableConditionalStyleEClass, EEF_TABLE_CONDITIONAL_STYLE__STYLE); + + eefTableStyleCustomizationEClass = createEClass(EEF_TABLE_STYLE_CUSTOMIZATION); + createEReference(eefTableStyleCustomizationEClass, EEF_TABLE_STYLE_CUSTOMIZATION__STYLE); + + eefLineStyleEClass = createEClass(EEF_LINE_STYLE); + createEAttribute(eefLineStyleEClass, EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION); + createEAttribute(eefLineStyleEClass, EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION); + createEAttribute(eefLineStyleEClass, EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION); + createEAttribute(eefLineStyleEClass, EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION); + + eefLineConditionalStyleEClass = createEClass(EEF_LINE_CONDITIONAL_STYLE); + createEReference(eefLineConditionalStyleEClass, EEF_LINE_CONDITIONAL_STYLE__STYLE); + + eefLineStyleCustomizationEClass = createEClass(EEF_LINE_STYLE_CUSTOMIZATION); + createEReference(eefLineStyleCustomizationEClass, EEF_LINE_STYLE_CUSTOMIZATION__STYLE); + + eefColumnStyleEClass = createEClass(EEF_COLUMN_STYLE); + createEAttribute(eefColumnStyleEClass, EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION); + createEAttribute(eefColumnStyleEClass, EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION); + createEAttribute(eefColumnStyleEClass, EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION); + createEAttribute(eefColumnStyleEClass, EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION); + + eefColumnConditionalStyleEClass = createEClass(EEF_COLUMN_CONDITIONAL_STYLE); + createEReference(eefColumnConditionalStyleEClass, EEF_COLUMN_CONDITIONAL_STYLE__STYLE); + + eefColumnStyleCustomizationEClass = createEClass(EEF_COLUMN_STYLE_CUSTOMIZATION); + createEReference(eefColumnStyleCustomizationEClass, EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE); + // Create data types expressionEDataType = createEDataType(EXPRESSION); typeNameEDataType = createEDataType(TYPE_NAME); @@ -1646,6 +3004,38 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { eefImagePickerDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); eefTableDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); eefAdapterFactoryTableStructureDescriptionEClass.getESuperTypes().add(this.getEEFTableStructureDescription()); + eefGroupStyleEClass.getESuperTypes().add(this.getEEFStyle()); + eefGroupConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); + eefGroupStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); + eefTextStyleEClass.getESuperTypes().add(this.getEEFStyle()); + eefTextConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); + eefTextStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); + eefCheckboxStyleEClass.getESuperTypes().add(this.getEEFStyle()); + eefCheckboxStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); + eefLabelStyleEClass.getESuperTypes().add(this.getEEFStyle()); + eefLabelConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); + eefLabelStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); + eefRadioStyleEClass.getESuperTypes().add(this.getEEFStyle()); + eefRadioConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); + eefRadioStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); + eefLinkStyleEClass.getESuperTypes().add(this.getEEFStyle()); + eefLinkConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); + eefLinkStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); + eefSelectStyleEClass.getESuperTypes().add(this.getEEFStyle()); + eefSelectConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); + eefSelectStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); + eefTreeStyleEClass.getESuperTypes().add(this.getEEFStyle()); + eefTreeConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); + eefTreeStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); + eefTableStyleEClass.getESuperTypes().add(this.getEEFStyle()); + eefTableConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); + eefTableStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); + eefLineStyleEClass.getESuperTypes().add(this.getEEFStyle()); + eefLineConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); + eefLineStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); + eefColumnStyleEClass.getESuperTypes().add(this.getEEFStyle()); + eefColumnConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); + eefColumnStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); // Initialize classes and features; add operations and parameters initEClass(eefViewDescriptionEClass, EEFViewDescription.class, "EEFViewDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ @@ -1672,6 +3062,9 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { initEReference(getEEFViewDescription_TableStructures(), this.getEEFTableStructureDescription(), null, "tableStructures", null, 0, -1, //$NON-NLS-1$ EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFViewDescription_StyleCustomizations(), this.getEEFStyleCustomization(), null, "styleCustomizations", null, 0, -1, //$NON-NLS-1$ + EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); initEClass(eefPageDescriptionEClass, EEFPageDescription.class, "EEFPageDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); @@ -1701,6 +3094,12 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { initEReference(getEEFGroupDescription_Container(), this.getEEFContainerDescription(), null, "container", null, 1, 1, //$NON-NLS-1$ EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFGroupDescription_CollapsibleExpression(), this.getExpression(), "collapsibleExpression", null, 0, 1, //$NON-NLS-1$ + EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFGroupDescription_CollapsedByDefaultExpression(), this.getExpression(), "collapsedByDefaultExpression", null, 0, 1, //$NON-NLS-1$ + EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFGroupDescription_ValidationExpression(), this.getExpression(), "validationExpression", null, 0, 1, //$NON-NLS-1$ + EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefContainerDescriptionEClass, EEFContainerDescription.class, "EEFContainerDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); @@ -1727,6 +3126,14 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getEEFWidgetDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, EEFWidgetDescription.class, //$NON-NLS-1$ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFWidgetDescription_LabelStyle(), this.getEEFLabelStyle(), null, "labelStyle", null, 0, 1, EEFWidgetDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFWidgetDescription_TooltipExpression(), this.getExpression(), "tooltipExpression", null, 0, 1, EEFWidgetDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFWidgetDescription_HelpExpression(), this.getExpression(), "helpExpression", null, 0, 1, EEFWidgetDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFWidgetDescription_ValidationExpression(), this.getExpression(), "validationExpression", null, 0, 1, //$NON-NLS-1$ + EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefJavaExtensionDescriptionEClass, EEFJavaExtensionDescription.class, "EEFJavaExtensionDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); @@ -1782,8 +3189,19 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getEEFTextDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, EEFTextDescription.class, //$NON-NLS-1$ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTextDescription_ReadOnlyExpression(), this.getExpression(), "readOnlyExpression", null, 0, 1, EEFTextDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTextDescription_ContentAssistExpression(), this.getExpression(), "contentAssistExpression", null, 0, 1, //$NON-NLS-1$ + EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTextDescription_PlaceholderExpression(), this.getExpression(), "placeholderExpression", null, 0, 1, //$NON-NLS-1$ + EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getEEFTextDescription_LineCount(), ecorePackage.getEInt(), "lineCount", "1", 0, 1, EEFTextDescription.class, !IS_TRANSIENT, //$NON-NLS-1$//$NON-NLS-2$ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFTextDescription_Style(), this.getEEFTextStyle(), null, "style", null, 0, 1, EEFTextDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFTextDescription_ConditionalStyles(), this.getEEFTextConditionalStyle(), null, "conditionalStyles", null, 0, -1, //$NON-NLS-1$ + EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); initEClass(eefCheckboxDescriptionEClass, EEFCheckboxDescription.class, "EEFCheckboxDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); @@ -1887,8 +3305,6 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { initEReference(getEEFColumnDescription_CellWidget(), this.getEEFCellWidgetDescription(), null, "cellWidget", null, 0, 1, //$NON-NLS-1$ EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFColumnDescription_ContextCandidatesExpression(), this.getExpression(), "contextCandidatesExpression", null, 0, 1, //$NON-NLS-1$ - EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefLineDescriptionEClass, EEFLineDescription.class, "EEFLineDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); @@ -1924,6 +3340,196 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { null, 0, -1, ContextableElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEClass(eefStyleEClass, EEFStyle.class, "EEFStyle", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFStyle_FontExpression(), this.getExpression(), "fontExpression", null, 0, 1, EEFStyle.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefConditionalStyleEClass, EEFConditionalStyle.class, "EEFConditionalStyle", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFConditionalStyle_ConditionalExpression(), this.getExpression(), "conditionalExpression", null, 0, 1, //$NON-NLS-1$ + EEFConditionalStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefStyleCustomizationEClass, EEFStyleCustomization.class, "EEFStyleCustomization", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + + initEClass(eefGroupStyleEClass, EEFGroupStyle.class, "EEFGroupStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFGroupStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFGroupStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefGroupConditionalStyleEClass, EEFGroupConditionalStyle.class, "EEFGroupConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFGroupConditionalStyle_Style(), this.getEEFGroupStyle(), null, "style", null, 0, 1, EEFGroupConditionalStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefGroupStyleCustomizationEClass, EEFGroupStyleCustomization.class, "EEFGroupStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFGroupStyleCustomization_Style(), this.getEEFGroupStyle(), null, "style", null, 0, 1, EEFGroupStyleCustomization.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTextStyleEClass, EEFTextStyle.class, "EEFTextStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFTextStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, EEFTextStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTextStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, EEFTextStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTextConditionalStyleEClass, EEFTextConditionalStyle.class, "EEFTextConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFTextConditionalStyle_Style(), this.getEEFTextStyle(), null, "style", null, 0, 1, EEFTextConditionalStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTextStyleCustomizationEClass, EEFTextStyleCustomization.class, "EEFTextStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFTextStyleCustomization_Style(), this.getEEFTextStyle(), null, "style", null, 0, 1, EEFTextStyleCustomization.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefCheckboxStyleEClass, EEFCheckboxStyle.class, "EEFCheckboxStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFCheckboxStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFCheckboxStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFCheckboxStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFCheckboxStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefCheckboxConditionalStyleEClass, EEFCheckboxConditionalStyle.class, "EEFCheckboxConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFCheckboxConditionalStyle_Style(), this.getEEFCheckboxStyle(), null, "style", null, 0, 1, //$NON-NLS-1$ + EEFCheckboxConditionalStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefCheckboxStyleCustomizationEClass, EEFCheckboxStyleCustomization.class, "EEFCheckboxStyleCustomization", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFCheckboxStyleCustomization_Style(), this.getEEFCheckboxStyle(), null, "style", null, 0, 1, //$NON-NLS-1$ + EEFCheckboxStyleCustomization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefLabelStyleEClass, EEFLabelStyle.class, "EEFLabelStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFLabelStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFLabelStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLabelStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFLabelStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefLabelConditionalStyleEClass, EEFLabelConditionalStyle.class, "EEFLabelConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFLabelConditionalStyle_Style(), this.getEEFLabelStyle(), null, "style", null, 0, 1, EEFLabelConditionalStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefLabelStyleCustomizationEClass, EEFLabelStyleCustomization.class, "EEFLabelStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFLabelStyleCustomization_Style(), this.getEEFLabelStyle(), null, "style", null, 0, 1, EEFLabelStyleCustomization.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefRadioStyleEClass, EEFRadioStyle.class, "EEFRadioStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFRadioStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFRadioStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFRadioStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFRadioStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefRadioConditionalStyleEClass, EEFRadioConditionalStyle.class, "EEFRadioConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFRadioConditionalStyle_Style(), this.getEEFRadioStyle(), null, "style", null, 0, 1, EEFRadioConditionalStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefRadioStyleCustomizationEClass, EEFRadioStyleCustomization.class, "EEFRadioStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFRadioStyleCustomization_Style(), this.getEEFRadioStyle(), null, "style", null, 0, 1, EEFRadioStyleCustomization.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefLinkStyleEClass, EEFLinkStyle.class, "EEFLinkStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFLinkStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, EEFLinkStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLinkStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, EEFLinkStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLinkStyle_BackgroundImageExpression(), this.getExpression(), "backgroundImageExpression", null, 0, 1, EEFLinkStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefLinkConditionalStyleEClass, EEFLinkConditionalStyle.class, "EEFLinkConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFLinkConditionalStyle_Style(), this.getEEFLinkStyle(), null, "style", null, 0, 1, EEFLinkConditionalStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefLinkStyleCustomizationEClass, EEFLinkStyleCustomization.class, "EEFLinkStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFLinkStyleCustomization_Style(), this.getEEFLinkStyle(), null, "style", null, 0, 1, EEFLinkStyleCustomization.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefSelectStyleEClass, EEFSelectStyle.class, "EEFSelectStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFSelectStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFSelectStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFSelectStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFSelectStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefSelectConditionalStyleEClass, EEFSelectConditionalStyle.class, "EEFSelectConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFSelectConditionalStyle_Style(), this.getEEFSelectStyle(), null, "style", null, 0, 1, EEFSelectConditionalStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefSelectStyleCustomizationEClass, EEFSelectStyleCustomization.class, "EEFSelectStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFSelectStyleCustomization_Style(), this.getEEFSelectStyle(), null, "style", null, 0, 1, EEFSelectStyleCustomization.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTreeStyleEClass, EEFTreeStyle.class, "EEFTreeStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + initEClass(eefTreeConditionalStyleEClass, EEFTreeConditionalStyle.class, "EEFTreeConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFTreeConditionalStyle_Style(), this.getEEFTreeStyle(), null, "style", null, 0, 1, EEFTreeConditionalStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTreeStyleCustomizationEClass, EEFTreeStyleCustomization.class, "EEFTreeStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFTreeStyleCustomization_Style(), this.getEEFTreeStyle(), null, "style", null, 0, 1, EEFTreeStyleCustomization.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTableStyleEClass, EEFTableStyle.class, "EEFTableStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + initEClass(eefTableConditionalStyleEClass, EEFTableConditionalStyle.class, "EEFTableConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFTableConditionalStyle_Style(), this.getEEFTableStyle(), null, "style", null, 0, 1, EEFTableConditionalStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefTableStyleCustomizationEClass, EEFTableStyleCustomization.class, "EEFTableStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFTableStyleCustomization_Style(), this.getEEFTableStyle(), null, "style", null, 0, 1, EEFTableStyleCustomization.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefLineStyleEClass, EEFLineStyle.class, "EEFLineStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFLineStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, EEFLineStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLineStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, EEFLineStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLineStyle_HeaderBackgroundColorExpression(), this.getExpression(), "headerBackgroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFLineStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLineStyle_HeaderForegroundColorExpression(), this.getExpression(), "headerForegroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFLineStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefLineConditionalStyleEClass, EEFLineConditionalStyle.class, "EEFLineConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFLineConditionalStyle_Style(), this.getEEFLineStyle(), null, "style", null, 0, 1, EEFLineConditionalStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefLineStyleCustomizationEClass, EEFLineStyleCustomization.class, "EEFLineStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFLineStyleCustomization_Style(), this.getEEFLineStyle(), null, "style", null, 0, 1, EEFLineStyleCustomization.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefColumnStyleEClass, EEFColumnStyle.class, "EEFColumnStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFColumnStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFColumnStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFColumnStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFColumnStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFColumnStyle_HeaderBackgroundColorExpression(), this.getExpression(), "headerBackgroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFColumnStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFColumnStyle_HeaderForegroundColorExpression(), this.getExpression(), "headerForegroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFColumnStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefColumnConditionalStyleEClass, EEFColumnConditionalStyle.class, "EEFColumnConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFColumnConditionalStyle_Style(), this.getEEFColumnStyle(), null, "style", null, 0, 1, EEFColumnConditionalStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefColumnStyleCustomizationEClass, EEFColumnStyleCustomization.class, "EEFColumnStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEEFColumnStyleCustomization_Style(), this.getEEFColumnStyle(), null, "style", null, 0, 1, EEFColumnStyleCustomization.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + // Initialize data types initEDataType(expressionEDataType, String.class, "Expression", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEDataType(typeNameEDataType, String.class, "TypeName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java index bd09cd529..e0b12d7f8 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java @@ -207,6 +207,186 @@ public class EefAdapterFactory extends AdapterFactoryImpl { return createContextableElementAdapter(); } + @Override + public Adapter caseEEFStyle(EEFStyle object) { + return createEEFStyleAdapter(); + } + + @Override + public Adapter caseEEFConditionalStyle(EEFConditionalStyle object) { + return createEEFConditionalStyleAdapter(); + } + + @Override + public Adapter caseEEFStyleCustomization(EEFStyleCustomization object) { + return createEEFStyleCustomizationAdapter(); + } + + @Override + public Adapter caseEEFGroupStyle(EEFGroupStyle object) { + return createEEFGroupStyleAdapter(); + } + + @Override + public Adapter caseEEFGroupConditionalStyle(EEFGroupConditionalStyle object) { + return createEEFGroupConditionalStyleAdapter(); + } + + @Override + public Adapter caseEEFGroupStyleCustomization(EEFGroupStyleCustomization object) { + return createEEFGroupStyleCustomizationAdapter(); + } + + @Override + public Adapter caseEEFTextStyle(EEFTextStyle object) { + return createEEFTextStyleAdapter(); + } + + @Override + public Adapter caseEEFTextConditionalStyle(EEFTextConditionalStyle object) { + return createEEFTextConditionalStyleAdapter(); + } + + @Override + public Adapter caseEEFTextStyleCustomization(EEFTextStyleCustomization object) { + return createEEFTextStyleCustomizationAdapter(); + } + + @Override + public Adapter caseEEFCheckboxStyle(EEFCheckboxStyle object) { + return createEEFCheckboxStyleAdapter(); + } + + @Override + public Adapter caseEEFCheckboxConditionalStyle(EEFCheckboxConditionalStyle object) { + return createEEFCheckboxConditionalStyleAdapter(); + } + + @Override + public Adapter caseEEFCheckboxStyleCustomization(EEFCheckboxStyleCustomization object) { + return createEEFCheckboxStyleCustomizationAdapter(); + } + + @Override + public Adapter caseEEFLabelStyle(EEFLabelStyle object) { + return createEEFLabelStyleAdapter(); + } + + @Override + public Adapter caseEEFLabelConditionalStyle(EEFLabelConditionalStyle object) { + return createEEFLabelConditionalStyleAdapter(); + } + + @Override + public Adapter caseEEFLabelStyleCustomization(EEFLabelStyleCustomization object) { + return createEEFLabelStyleCustomizationAdapter(); + } + + @Override + public Adapter caseEEFRadioStyle(EEFRadioStyle object) { + return createEEFRadioStyleAdapter(); + } + + @Override + public Adapter caseEEFRadioConditionalStyle(EEFRadioConditionalStyle object) { + return createEEFRadioConditionalStyleAdapter(); + } + + @Override + public Adapter caseEEFRadioStyleCustomization(EEFRadioStyleCustomization object) { + return createEEFRadioStyleCustomizationAdapter(); + } + + @Override + public Adapter caseEEFLinkStyle(EEFLinkStyle object) { + return createEEFLinkStyleAdapter(); + } + + @Override + public Adapter caseEEFLinkConditionalStyle(EEFLinkConditionalStyle object) { + return createEEFLinkConditionalStyleAdapter(); + } + + @Override + public Adapter caseEEFLinkStyleCustomization(EEFLinkStyleCustomization object) { + return createEEFLinkStyleCustomizationAdapter(); + } + + @Override + public Adapter caseEEFSelectStyle(EEFSelectStyle object) { + return createEEFSelectStyleAdapter(); + } + + @Override + public Adapter caseEEFSelectConditionalStyle(EEFSelectConditionalStyle object) { + return createEEFSelectConditionalStyleAdapter(); + } + + @Override + public Adapter caseEEFSelectStyleCustomization(EEFSelectStyleCustomization object) { + return createEEFSelectStyleCustomizationAdapter(); + } + + @Override + public Adapter caseEEFTreeStyle(EEFTreeStyle object) { + return createEEFTreeStyleAdapter(); + } + + @Override + public Adapter caseEEFTreeConditionalStyle(EEFTreeConditionalStyle object) { + return createEEFTreeConditionalStyleAdapter(); + } + + @Override + public Adapter caseEEFTreeStyleCustomization(EEFTreeStyleCustomization object) { + return createEEFTreeStyleCustomizationAdapter(); + } + + @Override + public Adapter caseEEFTableStyle(EEFTableStyle object) { + return createEEFTableStyleAdapter(); + } + + @Override + public Adapter caseEEFTableConditionalStyle(EEFTableConditionalStyle object) { + return createEEFTableConditionalStyleAdapter(); + } + + @Override + public Adapter caseEEFTableStyleCustomization(EEFTableStyleCustomization object) { + return createEEFTableStyleCustomizationAdapter(); + } + + @Override + public Adapter caseEEFLineStyle(EEFLineStyle object) { + return createEEFLineStyleAdapter(); + } + + @Override + public Adapter caseEEFLineConditionalStyle(EEFLineConditionalStyle object) { + return createEEFLineConditionalStyleAdapter(); + } + + @Override + public Adapter caseEEFLineStyleCustomization(EEFLineStyleCustomization object) { + return createEEFLineStyleCustomizationAdapter(); + } + + @Override + public Adapter caseEEFColumnStyle(EEFColumnStyle object) { + return createEEFColumnStyleAdapter(); + } + + @Override + public Adapter caseEEFColumnConditionalStyle(EEFColumnConditionalStyle object) { + return createEEFColumnConditionalStyleAdapter(); + } + + @Override + public Adapter caseEEFColumnStyleCustomization(EEFColumnStyleCustomization object) { + return createEEFColumnStyleCustomizationAdapter(); + } + @Override public Adapter defaultCase(EObject object) { return createEObjectAdapter(); @@ -604,6 +784,510 @@ public class EefAdapterFactory extends AdapterFactoryImpl { return null; } + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFStyle EEF Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFStyle + * @generated + */ + public Adapter createEEFStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFConditionalStyle EEF Conditional Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFConditionalStyle + * @generated + */ + public Adapter createEEFConditionalStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFStyleCustomization EEF Style Customization}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFStyleCustomization + * @generated + */ + public Adapter createEEFStyleCustomizationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFGroupStyle EEF Group Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFGroupStyle + * @generated + */ + public Adapter createEEFGroupStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFGroupConditionalStyle EEF Group Conditional Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFGroupConditionalStyle + * @generated + */ + public Adapter createEEFGroupConditionalStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFGroupStyleCustomization EEF Group Style Customization}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFGroupStyleCustomization + * @generated + */ + public Adapter createEEFGroupStyleCustomizationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTextStyle EEF Text Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFTextStyle + * @generated + */ + public Adapter createEEFTextStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTextConditionalStyle EEF Text Conditional Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFTextConditionalStyle + * @generated + */ + public Adapter createEEFTextConditionalStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTextStyleCustomization EEF Text Style Customization}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFTextStyleCustomization + * @generated + */ + public Adapter createEEFTextStyleCustomizationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFCheckboxStyle EEF Checkbox Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFCheckboxStyle + * @generated + */ + public Adapter createEEFCheckboxStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFCheckboxConditionalStyle EEF Checkbox Conditional Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFCheckboxConditionalStyle + * @generated + */ + public Adapter createEEFCheckboxConditionalStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFCheckboxStyleCustomization EEF Checkbox Style Customization}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFCheckboxStyleCustomization + * @generated + */ + public Adapter createEEFCheckboxStyleCustomizationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLabelStyle EEF Label Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFLabelStyle + * @generated + */ + public Adapter createEEFLabelStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLabelConditionalStyle EEF Label Conditional Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFLabelConditionalStyle + * @generated + */ + public Adapter createEEFLabelConditionalStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLabelStyleCustomization EEF Label Style Customization}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFLabelStyleCustomization + * @generated + */ + public Adapter createEEFLabelStyleCustomizationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFRadioStyle EEF Radio Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFRadioStyle + * @generated + */ + public Adapter createEEFRadioStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFRadioConditionalStyle EEF Radio Conditional Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFRadioConditionalStyle + * @generated + */ + public Adapter createEEFRadioConditionalStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFRadioStyleCustomization EEF Radio Style Customization}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFRadioStyleCustomization + * @generated + */ + public Adapter createEEFRadioStyleCustomizationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLinkStyle EEF Link Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFLinkStyle + * @generated + */ + public Adapter createEEFLinkStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLinkConditionalStyle EEF Link Conditional Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFLinkConditionalStyle + * @generated + */ + public Adapter createEEFLinkConditionalStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLinkStyleCustomization EEF Link Style Customization}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFLinkStyleCustomization + * @generated + */ + public Adapter createEEFLinkStyleCustomizationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFSelectStyle EEF Select Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFSelectStyle + * @generated + */ + public Adapter createEEFSelectStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFSelectConditionalStyle EEF Select Conditional Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFSelectConditionalStyle + * @generated + */ + public Adapter createEEFSelectConditionalStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFSelectStyleCustomization EEF Select Style Customization}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFSelectStyleCustomization + * @generated + */ + public Adapter createEEFSelectStyleCustomizationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTreeStyle EEF Tree Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFTreeStyle + * @generated + */ + public Adapter createEEFTreeStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTreeConditionalStyle EEF Tree Conditional Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFTreeConditionalStyle + * @generated + */ + public Adapter createEEFTreeConditionalStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTreeStyleCustomization EEF Tree Style Customization}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFTreeStyleCustomization + * @generated + */ + public Adapter createEEFTreeStyleCustomizationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTableStyle EEF Table Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFTableStyle + * @generated + */ + public Adapter createEEFTableStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTableConditionalStyle EEF Table Conditional Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFTableConditionalStyle + * @generated + */ + public Adapter createEEFTableConditionalStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTableStyleCustomization EEF Table Style Customization}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFTableStyleCustomization + * @generated + */ + public Adapter createEEFTableStyleCustomizationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLineStyle EEF Line Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFLineStyle + * @generated + */ + public Adapter createEEFLineStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLineConditionalStyle EEF Line Conditional Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFLineConditionalStyle + * @generated + */ + public Adapter createEEFLineConditionalStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLineStyleCustomization EEF Line Style Customization}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFLineStyleCustomization + * @generated + */ + public Adapter createEEFLineStyleCustomizationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFColumnStyle EEF Column Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFColumnStyle + * @generated + */ + public Adapter createEEFColumnStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFColumnConditionalStyle EEF Column Conditional Style}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFColumnConditionalStyle + * @generated + */ + public Adapter createEEFColumnConditionalStyleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFColumnStyleCustomization EEF Column Style Customization}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFColumnStyleCustomization + * @generated + */ + public Adapter createEEFColumnStyleCustomizationAdapter() { + return null; + } + /** * Creates a new adapter for the default case. * diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java index 84b074b15..cf175673e 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java @@ -343,6 +343,322 @@ public class EefSwitch extends Switch { result = defaultCase(theEObject); return result; } + case EefPackage.EEF_STYLE: { + EEFStyle eefStyle = (EEFStyle) theEObject; + T result = caseEEFStyle(eefStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_CONDITIONAL_STYLE: { + EEFConditionalStyle eefConditionalStyle = (EEFConditionalStyle) theEObject; + T result = caseEEFConditionalStyle(eefConditionalStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_STYLE_CUSTOMIZATION: { + EEFStyleCustomization eefStyleCustomization = (EEFStyleCustomization) theEObject; + T result = caseEEFStyleCustomization(eefStyleCustomization); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_GROUP_STYLE: { + EEFGroupStyle eefGroupStyle = (EEFGroupStyle) theEObject; + T result = caseEEFGroupStyle(eefGroupStyle); + if (result == null) + result = caseEEFStyle(eefGroupStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_GROUP_CONDITIONAL_STYLE: { + EEFGroupConditionalStyle eefGroupConditionalStyle = (EEFGroupConditionalStyle) theEObject; + T result = caseEEFGroupConditionalStyle(eefGroupConditionalStyle); + if (result == null) + result = caseEEFConditionalStyle(eefGroupConditionalStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION: { + EEFGroupStyleCustomization eefGroupStyleCustomization = (EEFGroupStyleCustomization) theEObject; + T result = caseEEFGroupStyleCustomization(eefGroupStyleCustomization); + if (result == null) + result = caseEEFStyleCustomization(eefGroupStyleCustomization); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TEXT_STYLE: { + EEFTextStyle eefTextStyle = (EEFTextStyle) theEObject; + T result = caseEEFTextStyle(eefTextStyle); + if (result == null) + result = caseEEFStyle(eefTextStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TEXT_CONDITIONAL_STYLE: { + EEFTextConditionalStyle eefTextConditionalStyle = (EEFTextConditionalStyle) theEObject; + T result = caseEEFTextConditionalStyle(eefTextConditionalStyle); + if (result == null) + result = caseEEFConditionalStyle(eefTextConditionalStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION: { + EEFTextStyleCustomization eefTextStyleCustomization = (EEFTextStyleCustomization) theEObject; + T result = caseEEFTextStyleCustomization(eefTextStyleCustomization); + if (result == null) + result = caseEEFStyleCustomization(eefTextStyleCustomization); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_CHECKBOX_STYLE: { + EEFCheckboxStyle eefCheckboxStyle = (EEFCheckboxStyle) theEObject; + T result = caseEEFCheckboxStyle(eefCheckboxStyle); + if (result == null) + result = caseEEFStyle(eefCheckboxStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE: { + EEFCheckboxConditionalStyle eefCheckboxConditionalStyle = (EEFCheckboxConditionalStyle) theEObject; + T result = caseEEFCheckboxConditionalStyle(eefCheckboxConditionalStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION: { + EEFCheckboxStyleCustomization eefCheckboxStyleCustomization = (EEFCheckboxStyleCustomization) theEObject; + T result = caseEEFCheckboxStyleCustomization(eefCheckboxStyleCustomization); + if (result == null) + result = caseEEFStyleCustomization(eefCheckboxStyleCustomization); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_LABEL_STYLE: { + EEFLabelStyle eefLabelStyle = (EEFLabelStyle) theEObject; + T result = caseEEFLabelStyle(eefLabelStyle); + if (result == null) + result = caseEEFStyle(eefLabelStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_LABEL_CONDITIONAL_STYLE: { + EEFLabelConditionalStyle eefLabelConditionalStyle = (EEFLabelConditionalStyle) theEObject; + T result = caseEEFLabelConditionalStyle(eefLabelConditionalStyle); + if (result == null) + result = caseEEFConditionalStyle(eefLabelConditionalStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION: { + EEFLabelStyleCustomization eefLabelStyleCustomization = (EEFLabelStyleCustomization) theEObject; + T result = caseEEFLabelStyleCustomization(eefLabelStyleCustomization); + if (result == null) + result = caseEEFStyleCustomization(eefLabelStyleCustomization); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_RADIO_STYLE: { + EEFRadioStyle eefRadioStyle = (EEFRadioStyle) theEObject; + T result = caseEEFRadioStyle(eefRadioStyle); + if (result == null) + result = caseEEFStyle(eefRadioStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_RADIO_CONDITIONAL_STYLE: { + EEFRadioConditionalStyle eefRadioConditionalStyle = (EEFRadioConditionalStyle) theEObject; + T result = caseEEFRadioConditionalStyle(eefRadioConditionalStyle); + if (result == null) + result = caseEEFConditionalStyle(eefRadioConditionalStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION: { + EEFRadioStyleCustomization eefRadioStyleCustomization = (EEFRadioStyleCustomization) theEObject; + T result = caseEEFRadioStyleCustomization(eefRadioStyleCustomization); + if (result == null) + result = caseEEFStyleCustomization(eefRadioStyleCustomization); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_LINK_STYLE: { + EEFLinkStyle eefLinkStyle = (EEFLinkStyle) theEObject; + T result = caseEEFLinkStyle(eefLinkStyle); + if (result == null) + result = caseEEFStyle(eefLinkStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_LINK_CONDITIONAL_STYLE: { + EEFLinkConditionalStyle eefLinkConditionalStyle = (EEFLinkConditionalStyle) theEObject; + T result = caseEEFLinkConditionalStyle(eefLinkConditionalStyle); + if (result == null) + result = caseEEFConditionalStyle(eefLinkConditionalStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION: { + EEFLinkStyleCustomization eefLinkStyleCustomization = (EEFLinkStyleCustomization) theEObject; + T result = caseEEFLinkStyleCustomization(eefLinkStyleCustomization); + if (result == null) + result = caseEEFStyleCustomization(eefLinkStyleCustomization); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_SELECT_STYLE: { + EEFSelectStyle eefSelectStyle = (EEFSelectStyle) theEObject; + T result = caseEEFSelectStyle(eefSelectStyle); + if (result == null) + result = caseEEFStyle(eefSelectStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_SELECT_CONDITIONAL_STYLE: { + EEFSelectConditionalStyle eefSelectConditionalStyle = (EEFSelectConditionalStyle) theEObject; + T result = caseEEFSelectConditionalStyle(eefSelectConditionalStyle); + if (result == null) + result = caseEEFConditionalStyle(eefSelectConditionalStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION: { + EEFSelectStyleCustomization eefSelectStyleCustomization = (EEFSelectStyleCustomization) theEObject; + T result = caseEEFSelectStyleCustomization(eefSelectStyleCustomization); + if (result == null) + result = caseEEFStyleCustomization(eefSelectStyleCustomization); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TREE_STYLE: { + EEFTreeStyle eefTreeStyle = (EEFTreeStyle) theEObject; + T result = caseEEFTreeStyle(eefTreeStyle); + if (result == null) + result = caseEEFStyle(eefTreeStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TREE_CONDITIONAL_STYLE: { + EEFTreeConditionalStyle eefTreeConditionalStyle = (EEFTreeConditionalStyle) theEObject; + T result = caseEEFTreeConditionalStyle(eefTreeConditionalStyle); + if (result == null) + result = caseEEFConditionalStyle(eefTreeConditionalStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION: { + EEFTreeStyleCustomization eefTreeStyleCustomization = (EEFTreeStyleCustomization) theEObject; + T result = caseEEFTreeStyleCustomization(eefTreeStyleCustomization); + if (result == null) + result = caseEEFStyleCustomization(eefTreeStyleCustomization); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TABLE_STYLE: { + EEFTableStyle eefTableStyle = (EEFTableStyle) theEObject; + T result = caseEEFTableStyle(eefTableStyle); + if (result == null) + result = caseEEFStyle(eefTableStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TABLE_CONDITIONAL_STYLE: { + EEFTableConditionalStyle eefTableConditionalStyle = (EEFTableConditionalStyle) theEObject; + T result = caseEEFTableConditionalStyle(eefTableConditionalStyle); + if (result == null) + result = caseEEFConditionalStyle(eefTableConditionalStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION: { + EEFTableStyleCustomization eefTableStyleCustomization = (EEFTableStyleCustomization) theEObject; + T result = caseEEFTableStyleCustomization(eefTableStyleCustomization); + if (result == null) + result = caseEEFStyleCustomization(eefTableStyleCustomization); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_LINE_STYLE: { + EEFLineStyle eefLineStyle = (EEFLineStyle) theEObject; + T result = caseEEFLineStyle(eefLineStyle); + if (result == null) + result = caseEEFStyle(eefLineStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_LINE_CONDITIONAL_STYLE: { + EEFLineConditionalStyle eefLineConditionalStyle = (EEFLineConditionalStyle) theEObject; + T result = caseEEFLineConditionalStyle(eefLineConditionalStyle); + if (result == null) + result = caseEEFConditionalStyle(eefLineConditionalStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION: { + EEFLineStyleCustomization eefLineStyleCustomization = (EEFLineStyleCustomization) theEObject; + T result = caseEEFLineStyleCustomization(eefLineStyleCustomization); + if (result == null) + result = caseEEFStyleCustomization(eefLineStyleCustomization); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_COLUMN_STYLE: { + EEFColumnStyle eefColumnStyle = (EEFColumnStyle) theEObject; + T result = caseEEFColumnStyle(eefColumnStyle); + if (result == null) + result = caseEEFStyle(eefColumnStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE: { + EEFColumnConditionalStyle eefColumnConditionalStyle = (EEFColumnConditionalStyle) theEObject; + T result = caseEEFColumnConditionalStyle(eefColumnConditionalStyle); + if (result == null) + result = caseEEFConditionalStyle(eefColumnConditionalStyle); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION: { + EEFColumnStyleCustomization eefColumnStyleCustomization = (EEFColumnStyleCustomization) theEObject; + T result = caseEEFColumnStyleCustomization(eefColumnStyleCustomization); + if (result == null) + result = caseEEFStyleCustomization(eefColumnStyleCustomization); + if (result == null) + result = defaultCase(theEObject); + return result; + } default: return defaultCase(theEObject); } @@ -753,6 +1069,546 @@ public class EefSwitch extends Switch { return null; } + /** + * Returns the result of interpreting the object as an instance of 'EEF Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFStyle(EEFStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Conditional Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Conditional Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFConditionalStyle(EEFConditionalStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Style Customization'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Style Customization'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFStyleCustomization(EEFStyleCustomization object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Group Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Group Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFGroupStyle(EEFGroupStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Group Conditional Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Group Conditional Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFGroupConditionalStyle(EEFGroupConditionalStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Group Style Customization'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Group Style Customization'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFGroupStyleCustomization(EEFGroupStyleCustomization object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Text Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Text Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTextStyle(EEFTextStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Text Conditional Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Text Conditional Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTextConditionalStyle(EEFTextConditionalStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Text Style Customization'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Text Style Customization'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTextStyleCustomization(EEFTextStyleCustomization object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Checkbox Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Checkbox Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFCheckboxStyle(EEFCheckboxStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Checkbox Conditional Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Checkbox Conditional Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFCheckboxConditionalStyle(EEFCheckboxConditionalStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Checkbox Style Customization'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Checkbox Style Customization'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFCheckboxStyleCustomization(EEFCheckboxStyleCustomization object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Label Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Label Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFLabelStyle(EEFLabelStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Label Conditional Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Label Conditional Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFLabelConditionalStyle(EEFLabelConditionalStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Label Style Customization'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Label Style Customization'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFLabelStyleCustomization(EEFLabelStyleCustomization object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Radio Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Radio Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFRadioStyle(EEFRadioStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Radio Conditional Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Radio Conditional Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFRadioConditionalStyle(EEFRadioConditionalStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Radio Style Customization'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Radio Style Customization'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFRadioStyleCustomization(EEFRadioStyleCustomization object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Link Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Link Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFLinkStyle(EEFLinkStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Link Conditional Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Link Conditional Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFLinkConditionalStyle(EEFLinkConditionalStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Link Style Customization'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Link Style Customization'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFLinkStyleCustomization(EEFLinkStyleCustomization object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Select Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Select Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFSelectStyle(EEFSelectStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Select Conditional Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Select Conditional Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFSelectConditionalStyle(EEFSelectConditionalStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Select Style Customization'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Select Style Customization'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFSelectStyleCustomization(EEFSelectStyleCustomization object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Tree Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Tree Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTreeStyle(EEFTreeStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Tree Conditional Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Tree Conditional Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTreeConditionalStyle(EEFTreeConditionalStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Tree Style Customization'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Tree Style Customization'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTreeStyleCustomization(EEFTreeStyleCustomization object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Table Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Table Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTableStyle(EEFTableStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Table Conditional Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Table Conditional Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTableConditionalStyle(EEFTableConditionalStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Table Style Customization'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Table Style Customization'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFTableStyleCustomization(EEFTableStyleCustomization object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Line Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Line Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFLineStyle(EEFLineStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Line Conditional Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Line Conditional Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFLineConditionalStyle(EEFLineConditionalStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Line Style Customization'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Line Style Customization'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFLineStyleCustomization(EEFLineStyleCustomization object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Column Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Column Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFColumnStyle(EEFColumnStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Column Conditional Style'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Column Conditional Style'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFColumnConditionalStyle(EEFColumnConditionalStyle object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Column Style Customization'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Column Style Customization'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFColumnStyleCustomization(EEFColumnStyleCustomization object) { + return null; + } + /** * Returns the result of interpreting the object as an instance of 'EObject'. * diff --git a/plugins/org.eclipse.sirius.contentassist/.classpath b/plugins/org.eclipse.sirius.contentassist/.classpath new file mode 100644 index 000000000..2eb385039 --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/plugins/org.eclipse.sirius.contentassist/.project b/plugins/org.eclipse.sirius.contentassist/.project new file mode 100644 index 000000000..8feff3c29 --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/.project @@ -0,0 +1,29 @@ + + + org.eclipse.sirius.contentassist + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.sirius.nature.modelingproject + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/plugins/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF new file mode 100644 index 000000000..10018ad86 --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF @@ -0,0 +1,15 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.sirius.contentassist;singleton:=true +Bundle-Version: 0.1.0.qualifier +Bundle-ClassPath: . +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Export-Package: org.eclipse.sirius.contentassist, + org.eclipse.sirius.contentassist.impl, + org.eclipse.sirius.contentassist.util +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.emf.ecore;visibility:=reexport +Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.contentassist/build.properties b/plugins/org.eclipse.sirius.contentassist/build.properties new file mode 100644 index 000000000..697ca9645 --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/build.properties @@ -0,0 +1,10 @@ +# + +bin.includes = .,\ + model/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties +jars.compile.order = . +source.. = src-gen/ +output.. = bin/ diff --git a/plugins/org.eclipse.sirius.contentassist/model/contentassist.aird b/plugins/org.eclipse.sirius.contentassist/model/contentassist.aird new file mode 100644 index 000000000..cc374bbe4 --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/model/contentassist.aird @@ -0,0 +1,200 @@ + + + contentassist.ecore + contentassist.genmodel + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.contentassist/model/contentassist.ecore b/plugins/org.eclipse.sirius.contentassist/model/contentassist.ecore new file mode 100644 index 000000000..4d4719154 --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/model/contentassist.ecore @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.contentassist/model/contentassist.genmodel b/plugins/org.eclipse.sirius.contentassist/model/contentassist.genmodel new file mode 100644 index 000000000..930ab61ff --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/model/contentassist.genmodel @@ -0,0 +1,23 @@ + + + contentassist.ecore + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.contentassist/plugin.properties b/plugins/org.eclipse.sirius.contentassist/plugin.properties new file mode 100644 index 000000000..3558954fe --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/plugin.properties @@ -0,0 +1,4 @@ +# + +pluginName = Contentassist Model +providerName = www.example.org diff --git a/plugins/org.eclipse.sirius.contentassist/plugin.xml b/plugins/org.eclipse.sirius.contentassist/plugin.xml new file mode 100644 index 000000000..58994bcbb --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/plugin.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/CompletionProposal.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/CompletionProposal.java new file mode 100644 index 000000000..0564d0b52 --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/CompletionProposal.java @@ -0,0 +1,218 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Completion Proposal'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.sirius.contentassist.CompletionProposal#getDisplay Display}
    • + *
    • {@link org.eclipse.sirius.contentassist.CompletionProposal#getProposal Proposal}
    • + *
    • {@link org.eclipse.sirius.contentassist.CompletionProposal#getDocumentation Documentation}
    • + *
    • {@link org.eclipse.sirius.contentassist.CompletionProposal#getImage Image}
    • + *
    • {@link org.eclipse.sirius.contentassist.CompletionProposal#getCursorPosition Cursor Position}
    • + *
    • {@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementOffset Replacement Offset}
    • + *
    • {@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementLength Replacement Length}
    • + *
    + * + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal() + * @model + * @generated + */ +public interface CompletionProposal extends EObject { + /** + * Returns the value of the 'Display' attribute. + * + *

    + * If the meaning of the 'Display' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Display' attribute. + * @see #setDisplay(Object) + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_Display() + * @model dataType="org.eclipse.sirius.contentassist.StyledString" + * @generated + */ + Object getDisplay(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getDisplay Display}' attribute. + * + * + * @param value the new value of the 'Display' attribute. + * @see #getDisplay() + * @generated + */ + void setDisplay(Object value); + + /** + * Returns the value of the 'Proposal' attribute. + * + *

    + * If the meaning of the 'Proposal' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Proposal' attribute. + * @see #setProposal(String) + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_Proposal() + * @model + * @generated + */ + String getProposal(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getProposal Proposal}' attribute. + * + * + * @param value the new value of the 'Proposal' attribute. + * @see #getProposal() + * @generated + */ + void setProposal(String value); + + /** + * Returns the value of the 'Documentation' attribute. + * + *

    + * If the meaning of the 'Documentation' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Documentation' attribute. + * @see #setDocumentation(Object) + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_Documentation() + * @model dataType="org.eclipse.sirius.contentassist.StyledString" + * @generated + */ + Object getDocumentation(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getDocumentation Documentation}' attribute. + * + * + * @param value the new value of the 'Documentation' attribute. + * @see #getDocumentation() + * @generated + */ + void setDocumentation(Object value); + + /** + * Returns the value of the 'Image' attribute. + * + *

    + * If the meaning of the 'Image' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Image' attribute. + * @see #setImage(Object) + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_Image() + * @model dataType="org.eclipse.sirius.contentassist.ContentAssistImage" + * @generated + */ + Object getImage(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getImage Image}' attribute. + * + * + * @param value the new value of the 'Image' attribute. + * @see #getImage() + * @generated + */ + void setImage(Object value); + + /** + * Returns the value of the 'Cursor Position' attribute. + * + *

    + * If the meaning of the 'Cursor Position' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Cursor Position' attribute. + * @see #setCursorPosition(int) + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_CursorPosition() + * @model + * @generated + */ + int getCursorPosition(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getCursorPosition Cursor Position}' attribute. + * + * + * @param value the new value of the 'Cursor Position' attribute. + * @see #getCursorPosition() + * @generated + */ + void setCursorPosition(int value); + + /** + * Returns the value of the 'Replacement Offset' attribute. + * + *

    + * If the meaning of the 'Replacement Offset' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Replacement Offset' attribute. + * @see #setReplacementOffset(int) + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_ReplacementOffset() + * @model + * @generated + */ + int getReplacementOffset(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementOffset Replacement Offset}' attribute. + * + * + * @param value the new value of the 'Replacement Offset' attribute. + * @see #getReplacementOffset() + * @generated + */ + void setReplacementOffset(int value); + + /** + * Returns the value of the 'Replacement Length' attribute. + * + *

    + * If the meaning of the 'Replacement Length' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Replacement Length' attribute. + * @see #setReplacementLength(int) + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_ReplacementLength() + * @model + * @generated + */ + int getReplacementLength(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementLength Replacement Length}' attribute. + * + * + * @param value the new value of the 'Replacement Length' attribute. + * @see #getReplacementLength() + * @generated + */ + void setReplacementLength(int value); + +} // CompletionProposal diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistFactory.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistFactory.java new file mode 100644 index 000000000..df123b90a --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistFactory.java @@ -0,0 +1,48 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.sirius.contentassist.ContentassistPackage + * @generated + */ +public interface ContentassistFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + ContentassistFactory eINSTANCE = org.eclipse.sirius.contentassist.impl.ContentassistFactoryImpl.init(); + + /** + * Returns a new object of class 'Completion Proposal'. + * + * + * @return a new object of class 'Completion Proposal'. + * @generated + */ + CompletionProposal createCompletionProposal(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + ContentassistPackage getContentassistPackage(); + +} //ContentassistFactory diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistPackage.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistPackage.java new file mode 100644 index 000000000..89cd54007 --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistPackage.java @@ -0,0 +1,397 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
      + *
    • each class,
    • + *
    • each feature of each class,
    • + *
    • each operation of each class,
    • + *
    • each enum,
    • + *
    • and each data type
    • + *
    + * + * @see org.eclipse.sirius.contentassist.ContentassistFactory + * @model kind="package" + * @generated + */ +public interface ContentassistPackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "contentassist"; + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.eclipse.org/sirius/contentassist"; + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "contentassist"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + ContentassistPackage eINSTANCE = org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl Completion Proposal}' class. + * + * + * @see org.eclipse.sirius.contentassist.impl.CompletionProposalImpl + * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getCompletionProposal() + * @generated + */ + int COMPLETION_PROPOSAL = 0; + + /** + * The feature id for the 'Display' attribute. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL__DISPLAY = 0; + + /** + * The feature id for the 'Proposal' attribute. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL__PROPOSAL = 1; + + /** + * The feature id for the 'Documentation' attribute. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL__DOCUMENTATION = 2; + + /** + * The feature id for the 'Image' attribute. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL__IMAGE = 3; + + /** + * The feature id for the 'Cursor Position' attribute. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL__CURSOR_POSITION = 4; + + /** + * The feature id for the 'Replacement Offset' attribute. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL__REPLACEMENT_OFFSET = 5; + + /** + * The feature id for the 'Replacement Length' attribute. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL__REPLACEMENT_LENGTH = 6; + + /** + * The number of structural features of the 'Completion Proposal' class. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL_FEATURE_COUNT = 7; + + /** + * The number of operations of the 'Completion Proposal' class. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL_OPERATION_COUNT = 0; + + /** + * The meta object id for the 'Styled String' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getStyledString() + * @generated + */ + int STYLED_STRING = 1; + + /** + * The meta object id for the 'Content Assist Image' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getContentAssistImage() + * @generated + */ + int CONTENT_ASSIST_IMAGE = 2; + + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.contentassist.CompletionProposal Completion Proposal}'. + * + * + * @return the meta object for class 'Completion Proposal'. + * @see org.eclipse.sirius.contentassist.CompletionProposal + * @generated + */ + EClass getCompletionProposal(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getDisplay Display}'. + * + * + * @return the meta object for the attribute 'Display'. + * @see org.eclipse.sirius.contentassist.CompletionProposal#getDisplay() + * @see #getCompletionProposal() + * @generated + */ + EAttribute getCompletionProposal_Display(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getProposal Proposal}'. + * + * + * @return the meta object for the attribute 'Proposal'. + * @see org.eclipse.sirius.contentassist.CompletionProposal#getProposal() + * @see #getCompletionProposal() + * @generated + */ + EAttribute getCompletionProposal_Proposal(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getDocumentation Documentation}'. + * + * + * @return the meta object for the attribute 'Documentation'. + * @see org.eclipse.sirius.contentassist.CompletionProposal#getDocumentation() + * @see #getCompletionProposal() + * @generated + */ + EAttribute getCompletionProposal_Documentation(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getImage Image}'. + * + * + * @return the meta object for the attribute 'Image'. + * @see org.eclipse.sirius.contentassist.CompletionProposal#getImage() + * @see #getCompletionProposal() + * @generated + */ + EAttribute getCompletionProposal_Image(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getCursorPosition Cursor Position}'. + * + * + * @return the meta object for the attribute 'Cursor Position'. + * @see org.eclipse.sirius.contentassist.CompletionProposal#getCursorPosition() + * @see #getCompletionProposal() + * @generated + */ + EAttribute getCompletionProposal_CursorPosition(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementOffset Replacement Offset}'. + * + * + * @return the meta object for the attribute 'Replacement Offset'. + * @see org.eclipse.sirius.contentassist.CompletionProposal#getReplacementOffset() + * @see #getCompletionProposal() + * @generated + */ + EAttribute getCompletionProposal_ReplacementOffset(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementLength Replacement Length}'. + * + * + * @return the meta object for the attribute 'Replacement Length'. + * @see org.eclipse.sirius.contentassist.CompletionProposal#getReplacementLength() + * @see #getCompletionProposal() + * @generated + */ + EAttribute getCompletionProposal_ReplacementLength(); + + /** + * Returns the meta object for data type '{@link java.lang.Object Styled String}'. + * + * + * @return the meta object for data type 'Styled String'. + * @see java.lang.Object + * @model instanceClass="java.lang.Object" + * @generated + */ + EDataType getStyledString(); + + /** + * Returns the meta object for data type '{@link java.lang.Object Content Assist Image}'. + * + * + * @return the meta object for data type 'Content Assist Image'. + * @see java.lang.Object + * @model instanceClass="java.lang.Object" + * @generated + */ + EDataType getContentAssistImage(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + ContentassistFactory getContentassistFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
      + *
    • each class,
    • + *
    • each feature of each class,
    • + *
    • each operation of each class,
    • + *
    • each enum,
    • + *
    • and each data type
    • + *
    + * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl Completion Proposal}' class. + * + * + * @see org.eclipse.sirius.contentassist.impl.CompletionProposalImpl + * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getCompletionProposal() + * @generated + */ + EClass COMPLETION_PROPOSAL = eINSTANCE.getCompletionProposal(); + + /** + * The meta object literal for the 'Display' attribute feature. + * + * + * @generated + */ + EAttribute COMPLETION_PROPOSAL__DISPLAY = eINSTANCE.getCompletionProposal_Display(); + + /** + * The meta object literal for the 'Proposal' attribute feature. + * + * + * @generated + */ + EAttribute COMPLETION_PROPOSAL__PROPOSAL = eINSTANCE.getCompletionProposal_Proposal(); + + /** + * The meta object literal for the 'Documentation' attribute feature. + * + * + * @generated + */ + EAttribute COMPLETION_PROPOSAL__DOCUMENTATION = eINSTANCE.getCompletionProposal_Documentation(); + + /** + * The meta object literal for the 'Image' attribute feature. + * + * + * @generated + */ + EAttribute COMPLETION_PROPOSAL__IMAGE = eINSTANCE.getCompletionProposal_Image(); + + /** + * The meta object literal for the 'Cursor Position' attribute feature. + * + * + * @generated + */ + EAttribute COMPLETION_PROPOSAL__CURSOR_POSITION = eINSTANCE.getCompletionProposal_CursorPosition(); + + /** + * The meta object literal for the 'Replacement Offset' attribute feature. + * + * + * @generated + */ + EAttribute COMPLETION_PROPOSAL__REPLACEMENT_OFFSET = eINSTANCE.getCompletionProposal_ReplacementOffset(); + + /** + * The meta object literal for the 'Replacement Length' attribute feature. + * + * + * @generated + */ + EAttribute COMPLETION_PROPOSAL__REPLACEMENT_LENGTH = eINSTANCE.getCompletionProposal_ReplacementLength(); + + /** + * The meta object literal for the 'Styled String' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getStyledString() + * @generated + */ + EDataType STYLED_STRING = eINSTANCE.getStyledString(); + + /** + * The meta object literal for the 'Content Assist Image' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getContentAssistImage() + * @generated + */ + EDataType CONTENT_ASSIST_IMAGE = eINSTANCE.getContentAssistImage(); + + } + +} //ContentassistPackage diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/CompletionProposalImpl.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/CompletionProposalImpl.java new file mode 100644 index 000000000..40f0c81bf --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/CompletionProposalImpl.java @@ -0,0 +1,463 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.contentassist.CompletionProposal; +import org.eclipse.sirius.contentassist.ContentassistPackage; + +/** + * + * An implementation of the model object 'Completion Proposal'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getDisplay Display}
    • + *
    • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getProposal Proposal}
    • + *
    • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getDocumentation Documentation}
    • + *
    • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getImage Image}
    • + *
    • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getCursorPosition Cursor Position}
    • + *
    • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getReplacementOffset Replacement Offset}
    • + *
    • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getReplacementLength Replacement Length}
    • + *
    + * + * @generated + */ +public class CompletionProposalImpl extends MinimalEObjectImpl.Container implements CompletionProposal { + /** + * The cached value of the '{@link #getDisplay() Display}' attribute. + * + * + * @see #getDisplay() + * @generated + * @ordered + */ + protected Object display; + + /** + * The default value of the '{@link #getProposal() Proposal}' attribute. + * + * + * @see #getProposal() + * @generated + * @ordered + */ + protected static final String PROPOSAL_EDEFAULT = null; + + /** + * The cached value of the '{@link #getProposal() Proposal}' attribute. + * + * + * @see #getProposal() + * @generated + * @ordered + */ + protected String proposal = PROPOSAL_EDEFAULT; + + /** + * The cached value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected Object documentation; + + /** + * The cached value of the '{@link #getImage() Image}' attribute. + * + * + * @see #getImage() + * @generated + * @ordered + */ + protected Object image; + + /** + * The default value of the '{@link #getCursorPosition() Cursor Position}' attribute. + * + * + * @see #getCursorPosition() + * @generated + * @ordered + */ + protected static final int CURSOR_POSITION_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getCursorPosition() Cursor Position}' attribute. + * + * + * @see #getCursorPosition() + * @generated + * @ordered + */ + protected int cursorPosition = CURSOR_POSITION_EDEFAULT; + + /** + * The default value of the '{@link #getReplacementOffset() Replacement Offset}' attribute. + * + * + * @see #getReplacementOffset() + * @generated + * @ordered + */ + protected static final int REPLACEMENT_OFFSET_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getReplacementOffset() Replacement Offset}' attribute. + * + * + * @see #getReplacementOffset() + * @generated + * @ordered + */ + protected int replacementOffset = REPLACEMENT_OFFSET_EDEFAULT; + + /** + * The default value of the '{@link #getReplacementLength() Replacement Length}' attribute. + * + * + * @see #getReplacementLength() + * @generated + * @ordered + */ + protected static final int REPLACEMENT_LENGTH_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getReplacementLength() Replacement Length}' attribute. + * + * + * @see #getReplacementLength() + * @generated + * @ordered + */ + protected int replacementLength = REPLACEMENT_LENGTH_EDEFAULT; + + /** + * + * + * @generated + */ + protected CompletionProposalImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ContentassistPackage.Literals.COMPLETION_PROPOSAL; + } + + /** + * + * + * @generated + */ + public Object getDisplay() { + return display; + } + + /** + * + * + * @generated + */ + public void setDisplay(Object newDisplay) { + Object oldDisplay = display; + display = newDisplay; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__DISPLAY, oldDisplay, display)); + } + + /** + * + * + * @generated + */ + public String getProposal() { + return proposal; + } + + /** + * + * + * @generated + */ + public void setProposal(String newProposal) { + String oldProposal = proposal; + proposal = newProposal; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__PROPOSAL, oldProposal, proposal)); + } + + /** + * + * + * @generated + */ + public Object getDocumentation() { + return documentation; + } + + /** + * + * + * @generated + */ + public void setDocumentation(Object newDocumentation) { + Object oldDocumentation = documentation; + documentation = newDocumentation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__DOCUMENTATION, oldDocumentation, documentation)); + } + + /** + * + * + * @generated + */ + public Object getImage() { + return image; + } + + /** + * + * + * @generated + */ + public void setImage(Object newImage) { + Object oldImage = image; + image = newImage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__IMAGE, oldImage, image)); + } + + /** + * + * + * @generated + */ + public int getCursorPosition() { + return cursorPosition; + } + + /** + * + * + * @generated + */ + public void setCursorPosition(int newCursorPosition) { + int oldCursorPosition = cursorPosition; + cursorPosition = newCursorPosition; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__CURSOR_POSITION, oldCursorPosition, cursorPosition)); + } + + /** + * + * + * @generated + */ + public int getReplacementOffset() { + return replacementOffset; + } + + /** + * + * + * @generated + */ + public void setReplacementOffset(int newReplacementOffset) { + int oldReplacementOffset = replacementOffset; + replacementOffset = newReplacementOffset; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_OFFSET, oldReplacementOffset, replacementOffset)); + } + + /** + * + * + * @generated + */ + public int getReplacementLength() { + return replacementLength; + } + + /** + * + * + * @generated + */ + public void setReplacementLength(int newReplacementLength) { + int oldReplacementLength = replacementLength; + replacementLength = newReplacementLength; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_LENGTH, oldReplacementLength, replacementLength)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ContentassistPackage.COMPLETION_PROPOSAL__DISPLAY: + return getDisplay(); + case ContentassistPackage.COMPLETION_PROPOSAL__PROPOSAL: + return getProposal(); + case ContentassistPackage.COMPLETION_PROPOSAL__DOCUMENTATION: + return getDocumentation(); + case ContentassistPackage.COMPLETION_PROPOSAL__IMAGE: + return getImage(); + case ContentassistPackage.COMPLETION_PROPOSAL__CURSOR_POSITION: + return getCursorPosition(); + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_OFFSET: + return getReplacementOffset(); + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_LENGTH: + return getReplacementLength(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ContentassistPackage.COMPLETION_PROPOSAL__DISPLAY: + setDisplay(newValue); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__PROPOSAL: + setProposal((String)newValue); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__DOCUMENTATION: + setDocumentation(newValue); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__IMAGE: + setImage(newValue); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__CURSOR_POSITION: + setCursorPosition((Integer)newValue); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_OFFSET: + setReplacementOffset((Integer)newValue); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_LENGTH: + setReplacementLength((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ContentassistPackage.COMPLETION_PROPOSAL__DISPLAY: + setDisplay((Object)null); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__PROPOSAL: + setProposal(PROPOSAL_EDEFAULT); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__DOCUMENTATION: + setDocumentation((Object)null); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__IMAGE: + setImage((Object)null); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__CURSOR_POSITION: + setCursorPosition(CURSOR_POSITION_EDEFAULT); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_OFFSET: + setReplacementOffset(REPLACEMENT_OFFSET_EDEFAULT); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_LENGTH: + setReplacementLength(REPLACEMENT_LENGTH_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ContentassistPackage.COMPLETION_PROPOSAL__DISPLAY: + return display != null; + case ContentassistPackage.COMPLETION_PROPOSAL__PROPOSAL: + return PROPOSAL_EDEFAULT == null ? proposal != null : !PROPOSAL_EDEFAULT.equals(proposal); + case ContentassistPackage.COMPLETION_PROPOSAL__DOCUMENTATION: + return documentation != null; + case ContentassistPackage.COMPLETION_PROPOSAL__IMAGE: + return image != null; + case ContentassistPackage.COMPLETION_PROPOSAL__CURSOR_POSITION: + return cursorPosition != CURSOR_POSITION_EDEFAULT; + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_OFFSET: + return replacementOffset != REPLACEMENT_OFFSET_EDEFAULT; + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_LENGTH: + return replacementLength != REPLACEMENT_LENGTH_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (display: "); + result.append(display); + result.append(", proposal: "); + result.append(proposal); + result.append(", documentation: "); + result.append(documentation); + result.append(", image: "); + result.append(image); + result.append(", cursorPosition: "); + result.append(cursorPosition); + result.append(", replacementOffset: "); + result.append(replacementOffset); + result.append(", replacementLength: "); + result.append(replacementLength); + result.append(')'); + return result.toString(); + } + +} //CompletionProposalImpl diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistFactoryImpl.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistFactoryImpl.java new file mode 100644 index 000000000..55456aec8 --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistFactoryImpl.java @@ -0,0 +1,172 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.sirius.contentassist.*; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class ContentassistFactoryImpl extends EFactoryImpl implements ContentassistFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static ContentassistFactory init() { + try { + ContentassistFactory theContentassistFactory = (ContentassistFactory)EPackage.Registry.INSTANCE.getEFactory(ContentassistPackage.eNS_URI); + if (theContentassistFactory != null) { + return theContentassistFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new ContentassistFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public ContentassistFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case ContentassistPackage.COMPLETION_PROPOSAL: return createCompletionProposal(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case ContentassistPackage.STYLED_STRING: + return createStyledStringFromString(eDataType, initialValue); + case ContentassistPackage.CONTENT_ASSIST_IMAGE: + return createContentAssistImageFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case ContentassistPackage.STYLED_STRING: + return convertStyledStringToString(eDataType, instanceValue); + case ContentassistPackage.CONTENT_ASSIST_IMAGE: + return convertContentAssistImageToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public CompletionProposal createCompletionProposal() { + CompletionProposalImpl completionProposal = new CompletionProposalImpl(); + return completionProposal; + } + + /** + * + * + * @generated + */ + public Object createStyledStringFromString(EDataType eDataType, String initialValue) { + return super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertStyledStringToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public Object createContentAssistImageFromString(EDataType eDataType, String initialValue) { + return super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertContentAssistImageToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public ContentassistPackage getContentassistPackage() { + return (ContentassistPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static ContentassistPackage getPackage() { + return ContentassistPackage.eINSTANCE; + } + +} //ContentassistFactoryImpl diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistPackageImpl.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistPackageImpl.java new file mode 100644 index 000000000..0a502498b --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistPackageImpl.java @@ -0,0 +1,290 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.sirius.contentassist.CompletionProposal; +import org.eclipse.sirius.contentassist.ContentassistFactory; +import org.eclipse.sirius.contentassist.ContentassistPackage; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class ContentassistPackageImpl extends EPackageImpl implements ContentassistPackage { + /** + * + * + * @generated + */ + private EClass completionProposalEClass = null; + + /** + * + * + * @generated + */ + private EDataType styledStringEDataType = null; + + /** + * + * + * @generated + */ + private EDataType contentAssistImageEDataType = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

    Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.sirius.contentassist.ContentassistPackage#eNS_URI + * @see #init() + * @generated + */ + private ContentassistPackageImpl() { + super(eNS_URI, ContentassistFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

    This method is used to initialize {@link ContentassistPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ContentassistPackage init() { + if (isInited) return (ContentassistPackage)EPackage.Registry.INSTANCE.getEPackage(ContentassistPackage.eNS_URI); + + // Obtain or create and register package + ContentassistPackageImpl theContentassistPackage = (ContentassistPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ContentassistPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ContentassistPackageImpl()); + + isInited = true; + + // Create package meta-data objects + theContentassistPackage.createPackageContents(); + + // Initialize created meta-data + theContentassistPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theContentassistPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ContentassistPackage.eNS_URI, theContentassistPackage); + return theContentassistPackage; + } + + /** + * + * + * @generated + */ + public EClass getCompletionProposal() { + return completionProposalEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getCompletionProposal_Display() { + return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getCompletionProposal_Proposal() { + return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getCompletionProposal_Documentation() { + return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getCompletionProposal_Image() { + return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getCompletionProposal_CursorPosition() { + return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EAttribute getCompletionProposal_ReplacementOffset() { + return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EAttribute getCompletionProposal_ReplacementLength() { + return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + public EDataType getStyledString() { + return styledStringEDataType; + } + + /** + * + * + * @generated + */ + public EDataType getContentAssistImage() { + return contentAssistImageEDataType; + } + + /** + * + * + * @generated + */ + public ContentassistFactory getContentassistFactory() { + return (ContentassistFactory)getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + completionProposalEClass = createEClass(COMPLETION_PROPOSAL); + createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__DISPLAY); + createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__PROPOSAL); + createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__DOCUMENTATION); + createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__IMAGE); + createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__CURSOR_POSITION); + createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__REPLACEMENT_OFFSET); + createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__REPLACEMENT_LENGTH); + + // Create data types + styledStringEDataType = createEDataType(STYLED_STRING); + contentAssistImageEDataType = createEDataType(CONTENT_ASSIST_IMAGE); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes, features, and operations; add parameters + initEClass(completionProposalEClass, CompletionProposal.class, "CompletionProposal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getCompletionProposal_Display(), this.getStyledString(), "display", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCompletionProposal_Proposal(), ecorePackage.getEString(), "proposal", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCompletionProposal_Documentation(), this.getStyledString(), "documentation", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCompletionProposal_Image(), this.getContentAssistImage(), "image", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCompletionProposal_CursorPosition(), ecorePackage.getEInt(), "cursorPosition", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCompletionProposal_ReplacementOffset(), ecorePackage.getEInt(), "replacementOffset", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCompletionProposal_ReplacementLength(), ecorePackage.getEInt(), "replacementLength", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize data types + initEDataType(styledStringEDataType, Object.class, "StyledString", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); + initEDataType(contentAssistImageEDataType, Object.class, "ContentAssistImage", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); + + // Create resource + createResource(eNS_URI); + } + +} //ContentassistPackageImpl diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistAdapterFactory.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistAdapterFactory.java new file mode 100644 index 000000000..0416f2357 --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistAdapterFactory.java @@ -0,0 +1,126 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.contentassist.*; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see org.eclipse.sirius.contentassist.ContentassistPackage + * @generated + */ +public class ContentassistAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static ContentassistPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public ContentassistAdapterFactory() { + if (modelPackage == null) { + modelPackage = ContentassistPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected ContentassistSwitch modelSwitch = + new ContentassistSwitch() { + @Override + public Adapter caseCompletionProposal(CompletionProposal object) { + return createCompletionProposalAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.contentassist.CompletionProposal Completion Proposal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.contentassist.CompletionProposal + * @generated + */ + public Adapter createCompletionProposalAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //ContentassistAdapterFactory diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistSwitch.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistSwitch.java new file mode 100644 index 000000000..d262a95cd --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistSwitch.java @@ -0,0 +1,116 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.sirius.contentassist.*; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see org.eclipse.sirius.contentassist.ContentassistPackage + * @generated + */ +public class ContentassistSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static ContentassistPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public ContentassistSwitch() { + if (modelPackage == null) { + modelPackage = ContentassistPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case ContentassistPackage.COMPLETION_PROPOSAL: { + CompletionProposal completionProposal = (CompletionProposal)theEObject; + T result = caseCompletionProposal(completionProposal); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Completion Proposal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Completion Proposal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCompletionProposal(CompletionProposal object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //ContentassistSwitch diff --git a/plugins/org.eclipse.sirius.validation/.classpath b/plugins/org.eclipse.sirius.validation/.classpath new file mode 100644 index 000000000..2eb385039 --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/plugins/org.eclipse.sirius.validation/.project b/plugins/org.eclipse.sirius.validation/.project new file mode 100644 index 000000000..c608d966d --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/.project @@ -0,0 +1,29 @@ + + + org.eclipse.sirius.validation + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.sirius.nature.modelingproject + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/plugins/org.eclipse.sirius.validation/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.validation/META-INF/MANIFEST.MF new file mode 100644 index 000000000..b8eda7112 --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/META-INF/MANIFEST.MF @@ -0,0 +1,15 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.sirius.validation;singleton:=true +Bundle-Version: 0.1.0.qualifier +Bundle-ClassPath: . +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.sirius.validation, + org.eclipse.sirius.validation.impl, + org.eclipse.sirius.validation.util +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.emf.ecore;visibility:=reexport +Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.validation/build.properties b/plugins/org.eclipse.sirius.validation/build.properties new file mode 100644 index 000000000..7d34bdaed --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/build.properties @@ -0,0 +1,15 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +bin.includes = .,\ + model/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties +jars.compile.order = . +source.. = src-gen/ +output.. = bin/ diff --git a/plugins/org.eclipse.sirius.validation/model/validation.aird b/plugins/org.eclipse.sirius.validation/model/validation.aird new file mode 100644 index 000000000..d82413302 --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/model/validation.aird @@ -0,0 +1,184 @@ + + + validation.ecore + validation.genmodel + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.validation/model/validation.ecore b/plugins/org.eclipse.sirius.validation/model/validation.ecore new file mode 100644 index 000000000..a0ec637b3 --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/model/validation.ecore @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.validation/model/validation.genmodel b/plugins/org.eclipse.sirius.validation/model/validation.genmodel new file mode 100644 index 000000000..db3f7288f --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/model/validation.genmodel @@ -0,0 +1,24 @@ + + + validation.ecore + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.validation/plugin.properties b/plugins/org.eclipse.sirius.validation/plugin.properties new file mode 100644 index 000000000..b0b3da23c --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/plugin.properties @@ -0,0 +1,9 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +pluginName = Validation Model +providerName = www.example.org diff --git a/plugins/org.eclipse.sirius.validation/plugin.xml b/plugins/org.eclipse.sirius.validation/plugin.xml new file mode 100644 index 000000000..3dd09b1f9 --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/plugin.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/Severity.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/Severity.java new file mode 100644 index 000000000..e71f44a3d --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/Severity.java @@ -0,0 +1,274 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Severity', + * and utility methods for working with them. + * + * @see org.eclipse.sirius.validation.ValidationPackage#getSeverity() + * @model + * @generated + */ +public enum Severity implements Enumerator { + /** + * The 'INFO' literal object. + * + * + * @see #INFO_VALUE + * @generated + * @ordered + */ + INFO(0, "INFO", "INFO"), + + /** + * The 'WARNING' literal object. + * + * + * @see #WARNING_VALUE + * @generated + * @ordered + */ + WARNING(1, "WARNING", "WARNING"), + + /** + * The 'ERROR' literal object. + * + * + * @see #ERROR_VALUE + * @generated + * @ordered + */ + ERROR(2, "ERROR", "ERROR"), + + /** + * The 'CANCEL' literal object. + * + * + * @see #CANCEL_VALUE + * @generated + * @ordered + */ + CANCEL(3, "CANCEL", "CANCEL"); + + /** + * The 'INFO' literal value. + * + *

    + * If the meaning of 'INFO' literal object isn't clear, + * there really should be more of a description here... + *

    + * + * @see #INFO + * @model + * @generated + * @ordered + */ + public static final int INFO_VALUE = 0; + + /** + * The 'WARNING' literal value. + * + *

    + * If the meaning of 'WARNING' literal object isn't clear, + * there really should be more of a description here... + *

    + * + * @see #WARNING + * @model + * @generated + * @ordered + */ + public static final int WARNING_VALUE = 1; + + /** + * The 'ERROR' literal value. + * + *

    + * If the meaning of 'ERROR' literal object isn't clear, + * there really should be more of a description here... + *

    + * + * @see #ERROR + * @model + * @generated + * @ordered + */ + public static final int ERROR_VALUE = 2; + + /** + * The 'CANCEL' literal value. + * + *

    + * If the meaning of 'CANCEL' literal object isn't clear, + * there really should be more of a description here... + *

    + * + * @see #CANCEL + * @model + * @generated + * @ordered + */ + public static final int CANCEL_VALUE = 3; + + /** + * An array of all the 'Severity' enumerators. + * + * + * @generated + */ + private static final Severity[] VALUES_ARRAY = + new Severity[] { + INFO, + WARNING, + ERROR, + CANCEL, + }; + + /** + * A public read-only list of all the 'Severity' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Severity' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static Severity get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + Severity result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Severity' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static Severity getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + Severity result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Severity' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static Severity get(int value) { + switch (value) { + case INFO_VALUE: return INFO; + case WARNING_VALUE: return WARNING; + case ERROR_VALUE: return ERROR; + case CANCEL_VALUE: return CANCEL; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private Severity(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() { + return value; + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //Severity diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/SiriusStatus.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/SiriusStatus.java new file mode 100644 index 000000000..2efac426b --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/SiriusStatus.java @@ -0,0 +1,113 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Sirius Status'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.sirius.validation.SiriusStatus#getMessage Message}
    • + *
    • {@link org.eclipse.sirius.validation.SiriusStatus#getSeverity Severity}
    • + *
    • {@link org.eclipse.sirius.validation.SiriusStatus#getException Exception}
    • + *
    + * + * @see org.eclipse.sirius.validation.ValidationPackage#getSiriusStatus() + * @model + * @generated + */ +public interface SiriusStatus extends EObject { + /** + * Returns the value of the 'Message' attribute. + * + *

    + * If the meaning of the 'Message' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Message' attribute. + * @see #setMessage(String) + * @see org.eclipse.sirius.validation.ValidationPackage#getSiriusStatus_Message() + * @model + * @generated + */ + String getMessage(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.validation.SiriusStatus#getMessage Message}' attribute. + * + * + * @param value the new value of the 'Message' attribute. + * @see #getMessage() + * @generated + */ + void setMessage(String value); + + /** + * Returns the value of the 'Severity' attribute. + * The literals are from the enumeration {@link org.eclipse.sirius.validation.Severity}. + * + *

    + * If the meaning of the 'Severity' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Severity' attribute. + * @see org.eclipse.sirius.validation.Severity + * @see #setSeverity(Severity) + * @see org.eclipse.sirius.validation.ValidationPackage#getSiriusStatus_Severity() + * @model + * @generated + */ + Severity getSeverity(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.validation.SiriusStatus#getSeverity Severity}' attribute. + * + * + * @param value the new value of the 'Severity' attribute. + * @see org.eclipse.sirius.validation.Severity + * @see #getSeverity() + * @generated + */ + void setSeverity(Severity value); + + /** + * Returns the value of the 'Exception' attribute. + * + *

    + * If the meaning of the 'Exception' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Exception' attribute. + * @see #setException(Object) + * @see org.eclipse.sirius.validation.ValidationPackage#getSiriusStatus_Exception() + * @model dataType="org.eclipse.sirius.validation.SiriusException" + * @generated + */ + Object getException(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.validation.SiriusStatus#getException Exception}' attribute. + * + * + * @param value the new value of the 'Exception' attribute. + * @see #getException() + * @generated + */ + void setException(Object value); + +} // SiriusStatus diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationFactory.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationFactory.java new file mode 100644 index 000000000..f893788e1 --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationFactory.java @@ -0,0 +1,48 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.sirius.validation.ValidationPackage + * @generated + */ +public interface ValidationFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + ValidationFactory eINSTANCE = org.eclipse.sirius.validation.impl.ValidationFactoryImpl.init(); + + /** + * Returns a new object of class 'Sirius Status'. + * + * + * @return a new object of class 'Sirius Status'. + * @generated + */ + SiriusStatus createSiriusStatus(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + ValidationPackage getValidationPackage(); + +} //ValidationFactory diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationPackage.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationPackage.java new file mode 100644 index 000000000..fe3b275c8 --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationPackage.java @@ -0,0 +1,285 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
      + *
    • each class,
    • + *
    • each feature of each class,
    • + *
    • each operation of each class,
    • + *
    • each enum,
    • + *
    • and each data type
    • + *
    + * + * @see org.eclipse.sirius.validation.ValidationFactory + * @model kind="package" + * @generated + */ +public interface ValidationPackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "validation"; + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.eclipse.org/sirius/validation"; + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "validation"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + ValidationPackage eINSTANCE = org.eclipse.sirius.validation.impl.ValidationPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.sirius.validation.impl.SiriusStatusImpl Sirius Status}' class. + * + * + * @see org.eclipse.sirius.validation.impl.SiriusStatusImpl + * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSiriusStatus() + * @generated + */ + int SIRIUS_STATUS = 0; + + /** + * The feature id for the 'Message' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_STATUS__MESSAGE = 0; + + /** + * The feature id for the 'Severity' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_STATUS__SEVERITY = 1; + + /** + * The feature id for the 'Exception' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_STATUS__EXCEPTION = 2; + + /** + * The number of structural features of the 'Sirius Status' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_STATUS_FEATURE_COUNT = 3; + + /** + * The number of operations of the 'Sirius Status' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_STATUS_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.sirius.validation.Severity Severity}' enum. + * + * + * @see org.eclipse.sirius.validation.Severity + * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSeverity() + * @generated + */ + int SEVERITY = 1; + + /** + * The meta object id for the 'Sirius Exception' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSiriusException() + * @generated + */ + int SIRIUS_EXCEPTION = 2; + + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.validation.SiriusStatus Sirius Status}'. + * + * + * @return the meta object for class 'Sirius Status'. + * @see org.eclipse.sirius.validation.SiriusStatus + * @generated + */ + EClass getSiriusStatus(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.validation.SiriusStatus#getMessage Message}'. + * + * + * @return the meta object for the attribute 'Message'. + * @see org.eclipse.sirius.validation.SiriusStatus#getMessage() + * @see #getSiriusStatus() + * @generated + */ + EAttribute getSiriusStatus_Message(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.validation.SiriusStatus#getSeverity Severity}'. + * + * + * @return the meta object for the attribute 'Severity'. + * @see org.eclipse.sirius.validation.SiriusStatus#getSeverity() + * @see #getSiriusStatus() + * @generated + */ + EAttribute getSiriusStatus_Severity(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.validation.SiriusStatus#getException Exception}'. + * + * + * @return the meta object for the attribute 'Exception'. + * @see org.eclipse.sirius.validation.SiriusStatus#getException() + * @see #getSiriusStatus() + * @generated + */ + EAttribute getSiriusStatus_Exception(); + + /** + * Returns the meta object for enum '{@link org.eclipse.sirius.validation.Severity Severity}'. + * + * + * @return the meta object for enum 'Severity'. + * @see org.eclipse.sirius.validation.Severity + * @generated + */ + EEnum getSeverity(); + + /** + * Returns the meta object for data type '{@link java.lang.Object Sirius Exception}'. + * + * + * @return the meta object for data type 'Sirius Exception'. + * @see java.lang.Object + * @model instanceClass="java.lang.Object" + * @generated + */ + EDataType getSiriusException(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + ValidationFactory getValidationFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
      + *
    • each class,
    • + *
    • each feature of each class,
    • + *
    • each operation of each class,
    • + *
    • each enum,
    • + *
    • and each data type
    • + *
    + * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.sirius.validation.impl.SiriusStatusImpl Sirius Status}' class. + * + * + * @see org.eclipse.sirius.validation.impl.SiriusStatusImpl + * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSiriusStatus() + * @generated + */ + EClass SIRIUS_STATUS = eINSTANCE.getSiriusStatus(); + + /** + * The meta object literal for the 'Message' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_STATUS__MESSAGE = eINSTANCE.getSiriusStatus_Message(); + + /** + * The meta object literal for the 'Severity' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_STATUS__SEVERITY = eINSTANCE.getSiriusStatus_Severity(); + + /** + * The meta object literal for the 'Exception' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_STATUS__EXCEPTION = eINSTANCE.getSiriusStatus_Exception(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.validation.Severity Severity}' enum. + * + * + * @see org.eclipse.sirius.validation.Severity + * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSeverity() + * @generated + */ + EEnum SEVERITY = eINSTANCE.getSeverity(); + + /** + * The meta object literal for the 'Sirius Exception' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSiriusException() + * @generated + */ + EDataType SIRIUS_EXCEPTION = eINSTANCE.getSiriusException(); + + } + +} //ValidationPackage diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/SiriusStatusImpl.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/SiriusStatusImpl.java new file mode 100644 index 000000000..8ff32c20b --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/SiriusStatusImpl.java @@ -0,0 +1,268 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.validation.Severity; +import org.eclipse.sirius.validation.SiriusStatus; +import org.eclipse.sirius.validation.ValidationPackage; + +/** + * + * An implementation of the model object 'Sirius Status'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.sirius.validation.impl.SiriusStatusImpl#getMessage Message}
    • + *
    • {@link org.eclipse.sirius.validation.impl.SiriusStatusImpl#getSeverity Severity}
    • + *
    • {@link org.eclipse.sirius.validation.impl.SiriusStatusImpl#getException Exception}
    • + *
    + * + * @generated + */ +public class SiriusStatusImpl extends MinimalEObjectImpl.Container implements SiriusStatus { + /** + * The default value of the '{@link #getMessage() Message}' attribute. + * + * + * @see #getMessage() + * @generated + * @ordered + */ + protected static final String MESSAGE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMessage() Message}' attribute. + * + * + * @see #getMessage() + * @generated + * @ordered + */ + protected String message = MESSAGE_EDEFAULT; + + /** + * The default value of the '{@link #getSeverity() Severity}' attribute. + * + * + * @see #getSeverity() + * @generated + * @ordered + */ + protected static final Severity SEVERITY_EDEFAULT = Severity.INFO; + + /** + * The cached value of the '{@link #getSeverity() Severity}' attribute. + * + * + * @see #getSeverity() + * @generated + * @ordered + */ + protected Severity severity = SEVERITY_EDEFAULT; + + /** + * The cached value of the '{@link #getException() Exception}' attribute. + * + * + * @see #getException() + * @generated + * @ordered + */ + protected Object exception; + + /** + * + * + * @generated + */ + protected SiriusStatusImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ValidationPackage.Literals.SIRIUS_STATUS; + } + + /** + * + * + * @generated + */ + public String getMessage() { + return message; + } + + /** + * + * + * @generated + */ + public void setMessage(String newMessage) { + String oldMessage = message; + message = newMessage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ValidationPackage.SIRIUS_STATUS__MESSAGE, oldMessage, message)); + } + + /** + * + * + * @generated + */ + public Severity getSeverity() { + return severity; + } + + /** + * + * + * @generated + */ + public void setSeverity(Severity newSeverity) { + Severity oldSeverity = severity; + severity = newSeverity == null ? SEVERITY_EDEFAULT : newSeverity; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ValidationPackage.SIRIUS_STATUS__SEVERITY, oldSeverity, severity)); + } + + /** + * + * + * @generated + */ + public Object getException() { + return exception; + } + + /** + * + * + * @generated + */ + public void setException(Object newException) { + Object oldException = exception; + exception = newException; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ValidationPackage.SIRIUS_STATUS__EXCEPTION, oldException, exception)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ValidationPackage.SIRIUS_STATUS__MESSAGE: + return getMessage(); + case ValidationPackage.SIRIUS_STATUS__SEVERITY: + return getSeverity(); + case ValidationPackage.SIRIUS_STATUS__EXCEPTION: + return getException(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ValidationPackage.SIRIUS_STATUS__MESSAGE: + setMessage((String)newValue); + return; + case ValidationPackage.SIRIUS_STATUS__SEVERITY: + setSeverity((Severity)newValue); + return; + case ValidationPackage.SIRIUS_STATUS__EXCEPTION: + setException(newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ValidationPackage.SIRIUS_STATUS__MESSAGE: + setMessage(MESSAGE_EDEFAULT); + return; + case ValidationPackage.SIRIUS_STATUS__SEVERITY: + setSeverity(SEVERITY_EDEFAULT); + return; + case ValidationPackage.SIRIUS_STATUS__EXCEPTION: + setException((Object)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ValidationPackage.SIRIUS_STATUS__MESSAGE: + return MESSAGE_EDEFAULT == null ? message != null : !MESSAGE_EDEFAULT.equals(message); + case ValidationPackage.SIRIUS_STATUS__SEVERITY: + return severity != SEVERITY_EDEFAULT; + case ValidationPackage.SIRIUS_STATUS__EXCEPTION: + return exception != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (message: "); + result.append(message); + result.append(", severity: "); + result.append(severity); + result.append(", exception: "); + result.append(exception); + result.append(')'); + return result.toString(); + } + +} //SiriusStatusImpl diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationFactoryImpl.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationFactoryImpl.java new file mode 100644 index 000000000..0954398b5 --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationFactoryImpl.java @@ -0,0 +1,174 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.sirius.validation.*; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class ValidationFactoryImpl extends EFactoryImpl implements ValidationFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static ValidationFactory init() { + try { + ValidationFactory theValidationFactory = (ValidationFactory)EPackage.Registry.INSTANCE.getEFactory(ValidationPackage.eNS_URI); + if (theValidationFactory != null) { + return theValidationFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new ValidationFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public ValidationFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case ValidationPackage.SIRIUS_STATUS: return createSiriusStatus(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case ValidationPackage.SEVERITY: + return createSeverityFromString(eDataType, initialValue); + case ValidationPackage.SIRIUS_EXCEPTION: + return createSiriusExceptionFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case ValidationPackage.SEVERITY: + return convertSeverityToString(eDataType, instanceValue); + case ValidationPackage.SIRIUS_EXCEPTION: + return convertSiriusExceptionToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public SiriusStatus createSiriusStatus() { + SiriusStatusImpl siriusStatus = new SiriusStatusImpl(); + return siriusStatus; + } + + /** + * + * + * @generated + */ + public Severity createSeverityFromString(EDataType eDataType, String initialValue) { + Severity result = Severity.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertSeverityToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public Object createSiriusExceptionFromString(EDataType eDataType, String initialValue) { + return super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertSiriusExceptionToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public ValidationPackage getValidationPackage() { + return (ValidationPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static ValidationPackage getPackage() { + return ValidationPackage.eINSTANCE; + } + +} //ValidationFactoryImpl diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationPackageImpl.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationPackageImpl.java new file mode 100644 index 000000000..57bee22f9 --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationPackageImpl.java @@ -0,0 +1,256 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.sirius.validation.Severity; +import org.eclipse.sirius.validation.SiriusStatus; +import org.eclipse.sirius.validation.ValidationFactory; +import org.eclipse.sirius.validation.ValidationPackage; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class ValidationPackageImpl extends EPackageImpl implements ValidationPackage { + /** + * + * + * @generated + */ + private EClass siriusStatusEClass = null; + + /** + * + * + * @generated + */ + private EEnum severityEEnum = null; + + /** + * + * + * @generated + */ + private EDataType siriusExceptionEDataType = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

    Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.sirius.validation.ValidationPackage#eNS_URI + * @see #init() + * @generated + */ + private ValidationPackageImpl() { + super(eNS_URI, ValidationFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

    This method is used to initialize {@link ValidationPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ValidationPackage init() { + if (isInited) return (ValidationPackage)EPackage.Registry.INSTANCE.getEPackage(ValidationPackage.eNS_URI); + + // Obtain or create and register package + ValidationPackageImpl theValidationPackage = (ValidationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ValidationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ValidationPackageImpl()); + + isInited = true; + + // Create package meta-data objects + theValidationPackage.createPackageContents(); + + // Initialize created meta-data + theValidationPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theValidationPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ValidationPackage.eNS_URI, theValidationPackage); + return theValidationPackage; + } + + /** + * + * + * @generated + */ + public EClass getSiriusStatus() { + return siriusStatusEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusStatus_Message() { + return (EAttribute)siriusStatusEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusStatus_Severity() { + return (EAttribute)siriusStatusEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusStatus_Exception() { + return (EAttribute)siriusStatusEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EEnum getSeverity() { + return severityEEnum; + } + + /** + * + * + * @generated + */ + public EDataType getSiriusException() { + return siriusExceptionEDataType; + } + + /** + * + * + * @generated + */ + public ValidationFactory getValidationFactory() { + return (ValidationFactory)getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + siriusStatusEClass = createEClass(SIRIUS_STATUS); + createEAttribute(siriusStatusEClass, SIRIUS_STATUS__MESSAGE); + createEAttribute(siriusStatusEClass, SIRIUS_STATUS__SEVERITY); + createEAttribute(siriusStatusEClass, SIRIUS_STATUS__EXCEPTION); + + // Create enums + severityEEnum = createEEnum(SEVERITY); + + // Create data types + siriusExceptionEDataType = createEDataType(SIRIUS_EXCEPTION); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes, features, and operations; add parameters + initEClass(siriusStatusEClass, SiriusStatus.class, "SiriusStatus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSiriusStatus_Message(), ecorePackage.getEString(), "message", null, 0, 1, SiriusStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSiriusStatus_Severity(), this.getSeverity(), "severity", null, 0, 1, SiriusStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSiriusStatus_Exception(), this.getSiriusException(), "exception", null, 0, 1, SiriusStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(severityEEnum, Severity.class, "Severity"); + addEEnumLiteral(severityEEnum, Severity.INFO); + addEEnumLiteral(severityEEnum, Severity.WARNING); + addEEnumLiteral(severityEEnum, Severity.ERROR); + addEEnumLiteral(severityEEnum, Severity.CANCEL); + + // Initialize data types + initEDataType(siriusExceptionEDataType, Object.class, "SiriusException", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); + + // Create resource + createResource(eNS_URI); + } + +} //ValidationPackageImpl diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationAdapterFactory.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationAdapterFactory.java new file mode 100644 index 000000000..6d8d9bdc8 --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationAdapterFactory.java @@ -0,0 +1,126 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.validation.*; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see org.eclipse.sirius.validation.ValidationPackage + * @generated + */ +public class ValidationAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static ValidationPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public ValidationAdapterFactory() { + if (modelPackage == null) { + modelPackage = ValidationPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected ValidationSwitch modelSwitch = + new ValidationSwitch() { + @Override + public Adapter caseSiriusStatus(SiriusStatus object) { + return createSiriusStatusAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.validation.SiriusStatus Sirius Status}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.validation.SiriusStatus + * @generated + */ + public Adapter createSiriusStatusAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //ValidationAdapterFactory diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationSwitch.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationSwitch.java new file mode 100644 index 000000000..88a23b342 --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationSwitch.java @@ -0,0 +1,116 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.sirius.validation.*; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see org.eclipse.sirius.validation.ValidationPackage + * @generated + */ +public class ValidationSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static ValidationPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public ValidationSwitch() { + if (modelPackage == null) { + modelPackage = ValidationPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case ValidationPackage.SIRIUS_STATUS: { + SiriusStatus siriusStatus = (SiriusStatus)theEObject; + T result = caseSiriusStatus(siriusStatus); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Sirius Status'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Status'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusStatus(SiriusStatus object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //ValidationSwitch diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/description/EEFViewDescription.xmi b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/description/EEFViewDescription.xmi index f1bffa910..d4d7df88c 100644 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/description/EEFViewDescription.xmi +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/description/EEFViewDescription.xmi @@ -10,7 +10,7 @@ http://www.eclipse.org/uml2/5.0.0/UML + semanticCandidateExpression="aql:viewSemanticCandidate"> --- plugins/org.eclipse.eef/.project | 6 + plugins/org.eclipse.eef/model/eef.expressions | 26 + .../.classpath | 9 + .../org.eclipse.sirius.expression.dsl.ui/.project | 34 + .../.settings/org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 26 + .../build.properties | 6 + .../plugin.xml | 425 ++ .../plugin.xml_gen | 425 ++ .../dsl/ui/AbstractExpressionDSLUiModule.java | 196 + .../ExpressionDSLExecutableExtensionFactory.java | 29 + .../AbstractExpressionDSLProposalProvider.java | 101 + .../contentassist/antlr/ExpressionDSLParser.java | 99 + .../PartialExpressionDSLContentAssistParser.java | 38 + .../antlr/internal/InternalExpressionDSL.g | 2197 ++++++++ .../antlr/internal/InternalExpressionDSL.tokens | 40 + .../antlr/internal/InternalExpressionDSLLexer.java | 948 ++++ .../internal/InternalExpressionDSLParser.java | 5620 ++++++++++++++++++++ .../dsl/ui/internal/ExpressionDSLActivator.java | 95 + .../expression/dsl/ui/ExpressionDSLUiModule.java | 15 + .../ExpressionDSLProposalProvider.xtend | 13 + .../ExpressionDSLDescriptionLabelProvider.xtend | 24 + .../ui/labeling/ExpressionDSLLabelProvider.xtend | 29 + .../outline/ExpressionDSLOutlineTreeProvider.xtend | 13 + .../quickfix/ExpressionDSLQuickfixProvider.xtend | 26 + .../.ExpressionDSLProposalProvider.xtendbin | Bin 0 -> 1741 bytes .../expression/dsl/ui/contentassist/.gitignore | 1 + .../ExpressionDSLProposalProvider.java | 14 + ....ExpressionDSLDescriptionLabelProvider.xtendbin | Bin 0 -> 1870 bytes .../labeling/.ExpressionDSLLabelProvider.xtendbin | Bin 0 -> 2420 bytes .../sirius/expression/dsl/ui/labeling/.gitignore | 2 + .../ExpressionDSLDescriptionLabelProvider.java | 15 + .../ui/labeling/ExpressionDSLLabelProvider.java | 21 + .../.ExpressionDSLOutlineTreeProvider.xtendbin | Bin 0 -> 1734 bytes .../sirius/expression/dsl/ui/outline/.gitignore | 1 + .../outline/ExpressionDSLOutlineTreeProvider.java | 15 + .../.ExpressionDSLQuickfixProvider.xtendbin | Bin 0 -> 1700 bytes .../sirius/expression/dsl/ui/quickfix/.gitignore | 1 + .../ui/quickfix/ExpressionDSLQuickfixProvider.java | 15 + .../.antlr-generator-3.2.0-patch.jar | Bin 0 -> 1484649 bytes .../org.eclipse.sirius.expression.dsl/.classpath | 9 + ...ture (org.eclipse.sirius.expression.dsl).launch | 18 + plugins/org.eclipse.sirius.expression.dsl/.project | 34 + .../.settings/org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 31 + .../build.properties | 15 + .../model/generated/ExpressionDSL.ecore | 36 + .../model/generated/ExpressionDSL.genmodel | 38 + .../org.eclipse.sirius.expression.dsl/plugin.xml | 16 + .../plugin.xml_gen | 16 + .../dsl/AbstractExpressionDSLRuntimeModule.java | 156 + .../sirius/expression/dsl/ExpressionDSL.xtextbin | Bin 0 -> 2628 bytes .../dsl/ExpressionDSLStandaloneSetupGenerated.java | 56 + .../dsl/expressionDSL/ExpressionDSLFactory.java | 79 + .../dsl/expressionDSL/ExpressionDSLPackage.java | 728 +++ .../expression/dsl/expressionDSL/Parameter.java | 78 + .../dsl/expressionDSL/SiriusExpressionClass.java | 88 + .../expressionDSL/SiriusExpressionDescription.java | 171 + .../dsl/expressionDSL/SiriusExpressionPackage.java | 71 + .../dsl/expressionDSL/SiriusVariable.java | 106 + .../impl/ExpressionDSLFactoryImpl.java | 154 + .../impl/ExpressionDSLPackageImpl.java | 461 ++ .../dsl/expressionDSL/impl/ParameterImpl.java | 244 + .../impl/SiriusExpressionClassImpl.java | 273 + .../impl/SiriusExpressionDescriptionImpl.java | 465 ++ .../impl/SiriusExpressionPackageImpl.java | 235 + .../dsl/expressionDSL/impl/SiriusVariableImpl.java | 300 ++ .../util/ExpressionDSLAdapterFactory.java | 212 + .../expressionDSL/util/ExpressionDSLSwitch.java | 211 + .../antlr/ExpressionDSLAntlrTokenFileProvider.java | 16 + .../dsl/parser/antlr/ExpressionDSLParser.java | 39 + .../parser/antlr/internal/InternalExpressionDSL.g | 643 +++ .../antlr/internal/InternalExpressionDSL.tokens | 40 + .../antlr/internal/InternalExpressionDSLLexer.java | 948 ++++ .../internal/InternalExpressionDSLParser.java | 1496 ++++++ .../serializer/ExpressionDSLSemanticSequencer.java | 102 + .../ExpressionDSLSyntacticSequencer.java | 43 + .../dsl/services/ExpressionDSLGrammarAccess.java | 584 ++ .../validation/AbstractExpressionDSLValidator.java | 18 + .../sirius/expression/dsl/ExpressionDSL.xtext | 48 + .../expression/dsl/ExpressionDSLRuntimeModule.java | 21 + .../dsl/ExpressionDSLStandaloneSetup.java | 16 + .../expression/dsl/GenerateExpressionDSL.mwe2 | 150 + .../dsl/formatting/ExpressionDSLFormatter.xtend | 30 + .../dsl/generator/ExpressionDSLGenerator.xtend | 24 + .../dsl/scoping/ExpressionDSLContainerState.xtend | 32 + .../dsl/scoping/ExpressionDSLScopeProvider.xtend | 15 + .../scoping/ExpressionDSLStateBasedContainer.xtend | 19 + .../ExpressionDSLStatedContainerManager.xtend | 19 + .../dsl/validation/ExpressionDSLValidator.xtend | 25 + .../xtend-gen/.gitignore | 1 + .../formatting/.ExpressionDSLFormatter.xtendbin | Bin 0 -> 2164 bytes .../sirius/expression/dsl/formatting/.gitignore | 1 + .../dsl/formatting/ExpressionDSLFormatter.java | 22 + .../dsl/generator/.ExpressionDSLGenerator.xtendbin | Bin 0 -> 2156 bytes .../sirius/expression/dsl/generator/.gitignore | 1 + .../dsl/generator/ExpressionDSLGenerator.java | 20 + .../scoping/.ExpressionDSLContainerState.xtendbin | Bin 0 -> 3030 bytes .../scoping/.ExpressionDSLScopeProvider.xtendbin | Bin 0 -> 1722 bytes .../.ExpressionDSLStateBasedContainer.xtendbin | Bin 0 -> 2431 bytes .../.ExpressionDSLStatedContainerManager.xtendbin | Bin 0 -> 2667 bytes .../sirius/expression/dsl/scoping/.gitignore | 6 + .../dsl/scoping/ExpressionDSLContainerState.java | 39 + .../dsl/scoping/ExpressionDSLScopeProvider.java | 16 + .../scoping/ExpressionDSLStateBasedContainer.java | 18 + .../ExpressionDSLStatedContainerManager.java | 23 + .../validation/.ExpressionDSLValidator.xtendbin | Bin 0 -> 1655 bytes .../sirius/expression/dsl/validation/.gitignore | 1 + .../dsl/validation/ExpressionDSLValidator.java | 15 + .../.classpath | 9 + .../.project | 34 + .../.settings/org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 24 + .../build.properties | 5 + .../org.eclipse.sirius.expression.dsl.tests.launch | 13 + .../dsl/ExpressionDSLInjectorProvider.java | 48 + .../dsl/ExpressionDSLUiInjectorProvider.java | 17 + 120 files changed, 19494 insertions(+) create mode 100644 plugins/org.eclipse.eef/model/eef.expressions create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/.classpath create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/.project create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.core.resources.prefs create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/build.properties create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml_gen create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/AbstractExpressionDSLUiModule.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLExecutableExtensionFactory.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/AbstractExpressionDSLProposalProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/ExpressionDSLParser.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/PartialExpressionDSLContentAssistParser.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.g create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.tokens create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSLLexer.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSLParser.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/internal/ExpressionDSLActivator.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLUiModule.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.xtend create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.xtend create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.xtend create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.xtend create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.xtend create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.ExpressionDSLProposalProvider.xtendbin create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.gitignore create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLDescriptionLabelProvider.xtendbin create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLLabelProvider.xtendbin create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.gitignore create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.ExpressionDSLOutlineTreeProvider.xtendbin create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.gitignore create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.ExpressionDSLQuickfixProvider.xtendbin create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.gitignore create mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/.antlr-generator-3.2.0-patch.jar create mode 100644 plugins/org.eclipse.sirius.expression.dsl/.classpath create mode 100644 plugins/org.eclipse.sirius.expression.dsl/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.dsl).launch create mode 100644 plugins/org.eclipse.sirius.expression.dsl/.project create mode 100644 plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.core.resources.prefs create mode 100644 plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.sirius.expression.dsl/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.sirius.expression.dsl/build.properties create mode 100644 plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.ecore create mode 100644 plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.genmodel create mode 100644 plugins/org.eclipse.sirius.expression.dsl/plugin.xml create mode 100644 plugins/org.eclipse.sirius.expression.dsl/plugin.xml_gen create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/AbstractExpressionDSLRuntimeModule.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtextbin create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetupGenerated.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLFactory.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLPackage.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/Parameter.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionClass.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionDescription.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionPackage.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusVariable.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLFactoryImpl.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLPackageImpl.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ParameterImpl.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionClassImpl.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionDescriptionImpl.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionPackageImpl.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusVariableImpl.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLAdapterFactory.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLSwitch.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLAntlrTokenFileProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLParser.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.g create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.tokens create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSLLexer.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSLParser.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSemanticSequencer.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSyntacticSequencer.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/services/ExpressionDSLGrammarAccess.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/validation/AbstractExpressionDSLValidator.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtext create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLRuntimeModule.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetup.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/GenerateExpressionDSL.mwe2 create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.xtend create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.xtend create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.xtend create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.xtend create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.xtend create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.xtend create mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.xtend create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/.gitignore create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.ExpressionDSLFormatter.xtendbin create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.gitignore create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.ExpressionDSLGenerator.xtendbin create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.gitignore create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLContainerState.xtendbin create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLScopeProvider.xtendbin create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStateBasedContainer.xtendbin create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStatedContainerManager.xtendbin create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.gitignore create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.java create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.ExpressionDSLValidator.xtendbin create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.gitignore create mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.java create mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/.classpath create mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/.project create mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.core.resources.prefs create mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.jdt.core.prefs create mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/META-INF/MANIFEST.MF create mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/build.properties create mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/org.eclipse.sirius.expression.dsl.tests.launch create mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLInjectorProvider.java create mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLUiInjectorProvider.java diff --git a/plugins/org.eclipse.eef/.project b/plugins/org.eclipse.eef/.project index 6ef908402..a8fd05ed6 100644 --- a/plugins/org.eclipse.eef/.project +++ b/plugins/org.eclipse.eef/.project @@ -5,6 +5,11 @@ + + org.eclipse.xtext.ui.shared.xtextBuilder + + + org.eclipse.jdt.core.javabuilder @@ -31,5 +36,6 @@ org.eclipse.jdt.core.javanature org.eclipse.pde.PluginNature net.sf.eclipsecs.core.CheckstyleNature + org.eclipse.xtext.ui.shared.xtextNature diff --git a/plugins/org.eclipse.eef/model/eef.expressions b/plugins/org.eclipse.eef/model/eef.expressions new file mode 100644 index 000000000..ee0eca134 --- /dev/null +++ b/plugins/org.eclipse.eef/model/eef.expressions @@ -0,0 +1,26 @@ +package eef { + + class eef.EEFViewDescription { + /** + * The semantic candidate of the view + */ + var viewSemanticCandidate : ecore.EObject + + exp eef.EEFViewDescription.labelExpression (optional viewSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription + ] + } + } + + class eef.EEFPageDescription { + /** + * The semantic candidate of the page + */ + var pageSemanticCandidate : ecore.EObject + + exp eef.EEFPageDescription.labelExpression (viewSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [] + } + } +} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/.classpath b/plugins/org.eclipse.sirius.expression.dsl.ui/.classpath new file mode 100644 index 000000000..9081d4f70 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/.project b/plugins/org.eclipse.sirius.expression.dsl.ui/.project new file mode 100644 index 000000000..05e1bb2af --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/.project @@ -0,0 +1,34 @@ + + + org.eclipse.sirius.expression.dsl.ui + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + org.eclipse.xtext.ui.shared.xtextNature + + diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 000000000..99f26c020 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..0c68a61dc --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.dsl.ui/META-INF/MANIFEST.MF new file mode 100644 index 000000000..24bdafead --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/META-INF/MANIFEST.MF @@ -0,0 +1,26 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: org.eclipse.sirius.expression.dsl.ui +Bundle-Vendor: My Company +Bundle-Version: 1.0.0.qualifier +Bundle-SymbolicName: org.eclipse.sirius.expression.dsl.ui; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: org.eclipse.sirius.expression.dsl;visibility:=reexport, + org.eclipse.xtext.ui, + org.eclipse.ui.editors;bundle-version="3.5.0", + org.eclipse.ui.ide;bundle-version="3.5.0", + org.eclipse.xtext.ui.shared, + org.eclipse.ui, + org.eclipse.xtext.builder, + org.eclipse.xtext.xbase.lib, + org.eclipse.xtext.common.types.ui, + org.eclipse.xtext.ui.codetemplates.ui, + org.eclipse.compare +Import-Package: org.apache.log4j +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: org.eclipse.sirius.expression.dsl.ui.quickfix, + org.eclipse.sirius.expression.dsl.ui.contentassist, + org.eclipse.sirius.expression.dsl.ui.internal, + org.eclipse.sirius.expression.dsl.ui.contentassist.antlr, + org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal +Bundle-Activator: org.eclipse.sirius.expression.dsl.ui.internal.ExpressionDSLActivator diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/build.properties b/plugins/org.eclipse.sirius.expression.dsl.ui/build.properties new file mode 100644 index 000000000..dfd4ed5d2 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/build.properties @@ -0,0 +1,6 @@ +source.. = src/,\ + src-gen/,\ + xtend-gen/ +bin.includes = META-INF/,\ + .,\ + plugin.xml diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml b/plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml new file mode 100644 index 000000000..431a05f4c --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml @@ -0,0 +1,425 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml_gen b/plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml_gen new file mode 100644 index 000000000..431a05f4c --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml_gen @@ -0,0 +1,425 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/AbstractExpressionDSLUiModule.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/AbstractExpressionDSLUiModule.java new file mode 100644 index 000000000..bf5a48c86 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/AbstractExpressionDSLUiModule.java @@ -0,0 +1,196 @@ + +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui; + +import org.eclipse.ui.plugin.AbstractUIPlugin; + +/** + * Manual modifications go to {org.eclipse.sirius.expression.dsl.ui.ExpressionDSLUiModule} + */ +@SuppressWarnings("all") +public abstract class AbstractExpressionDSLUiModule extends org.eclipse.xtext.common.types.ui.DefaultCommonTypesUiModule { + + public AbstractExpressionDSLUiModule(AbstractUIPlugin plugin) { + super(plugin); + } + + + // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment + public com.google.inject.Provider provideIAllContainersState() { + return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState(); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindIProposalConflictHelper() { + return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public void configureHighlightingLexer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.sirius.expression.dsl.parser.antlr.internal.InternalExpressionDSLLexer.class); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public void configureHighlightingTokenDefProvider(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class); + } + + // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment + public Class bindIDependentElementsCalculator() { + return org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class); + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class bindIXtextEditorCallback() { + return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class bindIContextualOutputConfigurationProvider() { + return org.eclipse.xtext.builder.EclipseOutputConfigurationProvider.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.builder.builderState.IBuilderState.class); + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class bindDocumentBasedDirtyResource() { + return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class; + } + + // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment + public Class bindIXtextBuilderParticipant() { + return org.eclipse.xtext.builder.BuilderParticipant.class; + } + + // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment + public org.eclipse.core.resources.IWorkspaceRoot bindIWorkspaceRootToInstance() { + return org.eclipse.core.resources.ResourcesPlugin.getWorkspace().getRoot(); + } + + // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment + public void configureBuilderPreferenceStoreInitializer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("builderPreferenceInitializer")).to(org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess.Initializer.class); + } + + // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment + public Class bindILabelProvider() { + return org.eclipse.sirius.expression.dsl.ui.labeling.ExpressionDSLLabelProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment + public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) { + binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.sirius.expression.dsl.ui.labeling.ExpressionDSLDescriptionLabelProvider.class); + } + + // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment + public Class bindIOutlineTreeProvider() { + return org.eclipse.sirius.expression.dsl.ui.outline.ExpressionDSLOutlineTreeProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment + public Class bindIOutlineTreeStructureProvider() { + return org.eclipse.sirius.expression.dsl.ui.outline.ExpressionDSLOutlineTreeProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment + public Class bindIssueResolutionProvider() { + return org.eclipse.sirius.expression.dsl.ui.quickfix.ExpressionDSLQuickfixProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.contentAssist.ContentAssistFragment + public Class bindIContentProposalProvider() { + return org.eclipse.sirius.expression.dsl.ui.contentassist.ExpressionDSLProposalProvider.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public Class bindContentAssistContext$Factory() { + return org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public Class bindIContentAssistParser() { + return org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.ExpressionDSLParser.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public void configureContentAssistLexerProvider(com.google.inject.Binder binder) { + binder.bind(org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLLexer.class).toProvider(org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLLexer.class)); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public void configureContentAssistLexer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST)).to(org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLLexer.class); + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public Class bindIRenameStrategy() { + return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy.class; + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public Class bindIReferenceUpdater() { + return org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater.class; + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public void configureIPreferenceStoreInitializer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("RefactoringPreferences")).to(org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences.Initializer.class); + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public Class bindIRenameRefactoringProvider() { + return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public Class bindIRenameSupport$Factory() { + return org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport.Factory.class; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class bindPrefixMatcher() { + return org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.class; + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public com.google.inject.Provider provideTemplatesLanguageConfiguration() { + return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public com.google.inject.Provider provideLanguageRegistry() { + return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getLanguageRegistry(); + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class bindLanguageRegistrar() { + return org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.class; + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public Class bindXtextTemplatePreferencePage() { + return org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage.class; + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public Class bindIPartialContentAssistParser() { + return org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.PartialExpressionDSLContentAssistParser.class; + } + + // contributed by org.eclipse.xtext.ui.generator.compare.CompareFragment + public Class bindIViewerCreator() { + return org.eclipse.xtext.ui.compare.DefaultViewerCreator.class; + } + + +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLExecutableExtensionFactory.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLExecutableExtensionFactory.java new file mode 100644 index 000000000..c3f8501af --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLExecutableExtensionFactory.java @@ -0,0 +1,29 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui; + +import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; +import org.osgi.framework.Bundle; + +import com.google.inject.Injector; + +import org.eclipse.sirius.expression.dsl.ui.internal.ExpressionDSLActivator; + +/** + * This class was generated. Customizations should only happen in a newly + * introduced subclass. + */ +public class ExpressionDSLExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { + + @Override + protected Bundle getBundle() { + return ExpressionDSLActivator.getInstance().getBundle(); + } + + @Override + protected Injector getInjector() { + return ExpressionDSLActivator.getInstance().getInjector(ExpressionDSLActivator.ORG_ECLIPSE_SIRIUS_EXPRESSION_DSL_EXPRESSIONDSL); + } + +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/AbstractExpressionDSLProposalProvider.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/AbstractExpressionDSLProposalProvider.java new file mode 100644 index 000000000..2a15344b1 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/AbstractExpressionDSLProposalProvider.java @@ -0,0 +1,101 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui.contentassist; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.*; +import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; +import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; + +/** + * Represents a generated, default implementation of superclass {@link org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider}. + * Methods are dynamically dispatched on the first parameter, i.e., you can override them + * with a more concrete subtype. + */ +@SuppressWarnings("all") +public class AbstractExpressionDSLProposalProvider extends org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider { + + public void completeSiriusExpressionPackage_EPackage(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionPackage_ExpressionClasses(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionClass_EClass(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionClass_Variables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionClass_ExpressionDescriptions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusVariable_Documentation(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusVariable_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusVariable_EType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_Expression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_Parameters(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_LowerBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_UpperBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_ContextableElements(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeParameter_Optional(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeParameter_Variable(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + + public void complete_SiriusExpressionPackage(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_SiriusExpressionClass(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_SiriusVariable(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_FQN(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_SiriusExpressionDescription(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Parameter(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Bound(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ID(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_INT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ML_COMMENT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_WS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/ExpressionDSLParser.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/ExpressionDSLParser.java new file mode 100644 index 000000000..fa55bdcbc --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/ExpressionDSLParser.java @@ -0,0 +1,99 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui.contentassist.antlr; + +import java.util.Collection; +import java.util.Map; +import java.util.HashMap; + +import org.antlr.runtime.RecognitionException; +import org.eclipse.xtext.AbstractElement; +import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser; +import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; + +import com.google.inject.Inject; + +import org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess; + +public class ExpressionDSLParser extends AbstractContentAssistParser { + + @Inject + private ExpressionDSLGrammarAccess grammarAccess; + + private Map nameMappings; + + @Override + protected org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLParser createParser() { + org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLParser result = new org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLParser(null); + result.setGrammarAccess(grammarAccess); + return result; + } + + @Override + protected String getRuleName(AbstractElement element) { + if (nameMappings == null) { + nameMappings = new HashMap() { + private static final long serialVersionUID = 1L; + { + put(grammarAccess.getSiriusExpressionPackageAccess().getGroup(), "rule__SiriusExpressionPackage__Group__0"); + put(grammarAccess.getSiriusExpressionClassAccess().getGroup(), "rule__SiriusExpressionClass__Group__0"); + put(grammarAccess.getSiriusVariableAccess().getGroup(), "rule__SiriusVariable__Group__0"); + put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); + put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup(), "rule__SiriusExpressionDescription__Group__0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3(), "rule__SiriusExpressionDescription__Group_3__0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1(), "rule__SiriusExpressionDescription__Group_3_1__0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16(), "rule__SiriusExpressionDescription__Group_16__0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1(), "rule__SiriusExpressionDescription__Group_16_1__0"); + put(grammarAccess.getParameterAccess().getGroup(), "rule__Parameter__Group__0"); + put(grammarAccess.getBoundAccess().getGroup(), "rule__Bound__Group__0"); + put(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1(), "rule__SiriusExpressionPackage__EPackageAssignment_1"); + put(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3(), "rule__SiriusExpressionPackage__ExpressionClassesAssignment_3"); + put(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1(), "rule__SiriusExpressionClass__EClassAssignment_1"); + put(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3(), "rule__SiriusExpressionClass__VariablesAssignment_3"); + put(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4(), "rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4"); + put(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0(), "rule__SiriusVariable__DocumentationAssignment_0"); + put(grammarAccess.getSiriusVariableAccess().getNameAssignment_2(), "rule__SiriusVariable__NameAssignment_2"); + put(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4(), "rule__SiriusVariable__ETypeAssignment_4"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1(), "rule__SiriusExpressionDescription__ExpressionAssignment_1"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0(), "rule__SiriusExpressionDescription__ParametersAssignment_3_0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1(), "rule__SiriusExpressionDescription__ParametersAssignment_3_1_1"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeAssignment_6(), "rule__SiriusExpressionDescription__TypeAssignment_6"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8(), "rule__SiriusExpressionDescription__LowerBoundAssignment_8"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10(), "rule__SiriusExpressionDescription__UpperBoundAssignment_10"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_0(), "rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_1_1(), "rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1"); + put(grammarAccess.getParameterAccess().getOptionalAssignment_0(), "rule__Parameter__OptionalAssignment_0"); + put(grammarAccess.getParameterAccess().getVariableAssignment_1(), "rule__Parameter__VariableAssignment_1"); + } + }; + } + return nameMappings.get(element); + } + + @Override + protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { + try { + org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLParser typedParser = (org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLParser) parser; + typedParser.entryRuleSiriusExpressionPackage(); + return typedParser.getFollowElements(); + } catch(RecognitionException ex) { + throw new RuntimeException(ex); + } + } + + @Override + protected String[] getInitialHiddenTokens() { + return new String[] { "RULE_WS" }; + } + + public ExpressionDSLGrammarAccess getGrammarAccess() { + return this.grammarAccess; + } + + public void setGrammarAccess(ExpressionDSLGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/PartialExpressionDSLContentAssistParser.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/PartialExpressionDSLContentAssistParser.java new file mode 100644 index 000000000..a27e4b61f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/PartialExpressionDSLContentAssistParser.java @@ -0,0 +1,38 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui.contentassist.antlr; + +import java.util.Collection; +import java.util.Collections; + +import org.eclipse.xtext.AbstractRule; +import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser; +import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.util.PolymorphicDispatcher; + +/* + * Template CodetemplatesGeneratorFragment.xpt + */ +public class PartialExpressionDSLContentAssistParser extends ExpressionDSLParser implements IPartialContentAssistParser { + + private AbstractRule rule; + + @Override + public void initializeFor(AbstractRule rule) { + this.rule = rule; + } + + @Override + protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { + if (rule == null || rule.eIsProxy()) + return Collections.emptyList(); + String methodName = "entryRule" + rule.getName(); + PolymorphicDispatcher> dispatcher = + new PolymorphicDispatcher>(methodName, 0, 0, Collections.singletonList(parser)); + dispatcher.invoke(); + return parser.getFollowElements(); + } + +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.g b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.g new file mode 100644 index 000000000..514d7c578 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.g @@ -0,0 +1,2197 @@ +/* + * generated by Xtext + */ +grammar InternalExpressionDSL; + +options { + superClass=AbstractInternalContentAssistParser; + +} + +@lexer::header { +package org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; +} + +@parser::header { +package org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal; + +import java.io.InputStream; +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA; +import org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess; + +} + +@parser::members { + + private ExpressionDSLGrammarAccess grammarAccess; + + public void setGrammarAccess(ExpressionDSLGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + @Override + protected Grammar getGrammar() { + return grammarAccess.getGrammar(); + } + + @Override + protected String getValueForTokenName(String tokenName) { + return tokenName; + } + +} + + + + +// Entry rule entryRuleSiriusExpressionPackage +entryRuleSiriusExpressionPackage +: +{ before(grammarAccess.getSiriusExpressionPackageRule()); } + ruleSiriusExpressionPackage +{ after(grammarAccess.getSiriusExpressionPackageRule()); } + EOF +; + +// Rule SiriusExpressionPackage +ruleSiriusExpressionPackage + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); } +(rule__SiriusExpressionPackage__Group__0) +{ after(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleSiriusExpressionClass +entryRuleSiriusExpressionClass +: +{ before(grammarAccess.getSiriusExpressionClassRule()); } + ruleSiriusExpressionClass +{ after(grammarAccess.getSiriusExpressionClassRule()); } + EOF +; + +// Rule SiriusExpressionClass +ruleSiriusExpressionClass + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getGroup()); } +(rule__SiriusExpressionClass__Group__0) +{ after(grammarAccess.getSiriusExpressionClassAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleSiriusVariable +entryRuleSiriusVariable +: +{ before(grammarAccess.getSiriusVariableRule()); } + ruleSiriusVariable +{ after(grammarAccess.getSiriusVariableRule()); } + EOF +; + +// Rule SiriusVariable +ruleSiriusVariable + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getSiriusVariableAccess().getGroup()); } +(rule__SiriusVariable__Group__0) +{ after(grammarAccess.getSiriusVariableAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleFQN +entryRuleFQN +: +{ before(grammarAccess.getFQNRule()); } + ruleFQN +{ after(grammarAccess.getFQNRule()); } + EOF +; + +// Rule FQN +ruleFQN + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getFQNAccess().getGroup()); } +(rule__FQN__Group__0) +{ after(grammarAccess.getFQNAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleSiriusExpressionDescription +entryRuleSiriusExpressionDescription +: +{ before(grammarAccess.getSiriusExpressionDescriptionRule()); } + ruleSiriusExpressionDescription +{ after(grammarAccess.getSiriusExpressionDescriptionRule()); } + EOF +; + +// Rule SiriusExpressionDescription +ruleSiriusExpressionDescription + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); } +(rule__SiriusExpressionDescription__Group__0) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleParameter +entryRuleParameter +: +{ before(grammarAccess.getParameterRule()); } + ruleParameter +{ after(grammarAccess.getParameterRule()); } + EOF +; + +// Rule Parameter +ruleParameter + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getParameterAccess().getGroup()); } +(rule__Parameter__Group__0) +{ after(grammarAccess.getParameterAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleBound +entryRuleBound +: +{ before(grammarAccess.getBoundRule()); } + ruleBound +{ after(grammarAccess.getBoundRule()); } + EOF +; + +// Rule Bound +ruleBound + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getBoundAccess().getGroup()); } +(rule__Bound__Group__0) +{ after(grammarAccess.getBoundAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusExpressionPackage__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionPackage__Group__0__Impl + rule__SiriusExpressionPackage__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); } + + 'package' + +{ after(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionPackage__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionPackage__Group__1__Impl + rule__SiriusExpressionPackage__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); } +(rule__SiriusExpressionPackage__EPackageAssignment_1) +{ after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionPackage__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionPackage__Group__2__Impl + rule__SiriusExpressionPackage__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); } + + '{' + +{ after(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionPackage__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionPackage__Group__3__Impl + rule__SiriusExpressionPackage__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); } +(rule__SiriusExpressionPackage__ExpressionClassesAssignment_3)* +{ after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionPackage__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionPackage__Group__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); } + + '}' + +{ after(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + +rule__SiriusExpressionClass__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__0__Impl + rule__SiriusExpressionClass__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); } + + 'class' + +{ after(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionClass__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__1__Impl + rule__SiriusExpressionClass__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); } +(rule__SiriusExpressionClass__EClassAssignment_1) +{ after(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionClass__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__2__Impl + rule__SiriusExpressionClass__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); } + + '{' + +{ after(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionClass__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__3__Impl + rule__SiriusExpressionClass__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); } +(rule__SiriusExpressionClass__VariablesAssignment_3)* +{ after(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionClass__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__4__Impl + rule__SiriusExpressionClass__Group__5 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); } +(rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4)* +{ after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionClass__Group__5 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__5__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__5__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); } + + '}' + +{ after(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + + + +rule__SiriusVariable__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusVariable__Group__0__Impl + rule__SiriusVariable__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); } +(rule__SiriusVariable__DocumentationAssignment_0)? +{ after(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusVariable__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusVariable__Group__1__Impl + rule__SiriusVariable__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); } + + 'var' + +{ after(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusVariable__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusVariable__Group__2__Impl + rule__SiriusVariable__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); } +(rule__SiriusVariable__NameAssignment_2) +{ after(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusVariable__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusVariable__Group__3__Impl + rule__SiriusVariable__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); } + + ':' + +{ after(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusVariable__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusVariable__Group__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); } +(rule__SiriusVariable__ETypeAssignment_4) +{ after(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + +rule__FQN__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__FQN__Group__0__Impl + rule__FQN__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__FQN__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); } + RULE_ID +{ after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__FQN__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__FQN__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__FQN__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getFQNAccess().getGroup_1()); } +(rule__FQN__Group_1__0)* +{ after(grammarAccess.getFQNAccess().getGroup_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__FQN__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__FQN__Group_1__0__Impl + rule__FQN__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__FQN__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); } + + '.' + +{ after(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__FQN__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__FQN__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__FQN__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); } + RULE_ID +{ after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusExpressionDescription__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__0__Impl + rule__SiriusExpressionDescription__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); } + + 'exp' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__1__Impl + rule__SiriusExpressionDescription__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); } +(rule__SiriusExpressionDescription__ExpressionAssignment_1) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__2__Impl + rule__SiriusExpressionDescription__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); } + + '(' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__3__Impl + rule__SiriusExpressionDescription__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); } +(rule__SiriusExpressionDescription__Group_3__0)? +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__4__Impl + rule__SiriusExpressionDescription__Group__5 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); } + + ')' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__5 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__5__Impl + rule__SiriusExpressionDescription__Group__6 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__5__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); } + + ':' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__6 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__6__Impl + rule__SiriusExpressionDescription__Group__7 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__6__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeAssignment_6()); } +(rule__SiriusExpressionDescription__TypeAssignment_6) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeAssignment_6()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__7 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__7__Impl + rule__SiriusExpressionDescription__Group__8 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__7__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); } + + '[' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__8 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__8__Impl + rule__SiriusExpressionDescription__Group__9 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__8__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); } +(rule__SiriusExpressionDescription__LowerBoundAssignment_8) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__9 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__9__Impl + rule__SiriusExpressionDescription__Group__10 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__9__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); } + + '..' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__10 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__10__Impl + rule__SiriusExpressionDescription__Group__11 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__10__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); } +(rule__SiriusExpressionDescription__UpperBoundAssignment_10) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__11 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__11__Impl + rule__SiriusExpressionDescription__Group__12 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__11__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); } + + ']' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__12 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__12__Impl + rule__SiriusExpressionDescription__Group__13 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__12__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); } + + '{' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__13 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__13__Impl + rule__SiriusExpressionDescription__Group__14 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__13__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsKeyword_13()); } + + 'contextableElements' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsKeyword_13()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__14 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__14__Impl + rule__SiriusExpressionDescription__Group__15 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__14__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); } + + '=' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__15 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__15__Impl + rule__SiriusExpressionDescription__Group__16 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__15__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); } + + '[' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__16 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__16__Impl + rule__SiriusExpressionDescription__Group__17 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__16__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); } +(rule__SiriusExpressionDescription__Group_16__0)? +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__17 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__17__Impl + rule__SiriusExpressionDescription__Group__18 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__17__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); } + + ']' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__18 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__18__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__18__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); } + + '}' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +rule__SiriusExpressionDescription__Group_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_3__0__Impl + rule__SiriusExpressionDescription__Group_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); } +(rule__SiriusExpressionDescription__ParametersAssignment_3_0) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_3__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_3__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); } +(rule__SiriusExpressionDescription__Group_3_1__0)* +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusExpressionDescription__Group_3_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_3_1__0__Impl + rule__SiriusExpressionDescription__Group_3_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_3_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); } + + ',' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group_3_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_3_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_3_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); } +(rule__SiriusExpressionDescription__ParametersAssignment_3_1_1) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusExpressionDescription__Group_16__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_16__0__Impl + rule__SiriusExpressionDescription__Group_16__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_16__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_0()); } +(rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group_16__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_16__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_16__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); } +(rule__SiriusExpressionDescription__Group_16_1__0)* +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusExpressionDescription__Group_16_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_16_1__0__Impl + rule__SiriusExpressionDescription__Group_16_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_16_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); } + + ',' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group_16_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_16_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_16_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_1_1()); } +(rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__Parameter__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Parameter__Group__0__Impl + rule__Parameter__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Parameter__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getParameterAccess().getOptionalAssignment_0()); } +(rule__Parameter__OptionalAssignment_0)? +{ after(grammarAccess.getParameterAccess().getOptionalAssignment_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Parameter__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Parameter__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Parameter__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getParameterAccess().getVariableAssignment_1()); } +(rule__Parameter__VariableAssignment_1) +{ after(grammarAccess.getParameterAccess().getVariableAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__Bound__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Bound__Group__0__Impl + rule__Bound__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Bound__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); } +( + '-' +)? +{ after(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Bound__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Bound__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Bound__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); } + RULE_INT +{ after(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + +rule__SiriusExpressionPackage__EPackageAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); } +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageFQNParserRuleCall_1_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageFQNParserRuleCall_1_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); } + ruleSiriusExpressionClass{ after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__EClassAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); } +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__VariablesAssignment_3 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); } + ruleSiriusVariable{ after(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); } + ruleSiriusExpressionDescription{ after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__DocumentationAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); } + RULE_ML_COMMENT{ after(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__NameAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); } + RULE_ID{ after(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__ETypeAssignment_4 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); } +( +{ before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); } +) +{ after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__ExpressionAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); } +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__ParametersAssignment_3_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_0_0()); } + ruleParameter{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_1_1_0()); } + ruleParameter{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_1_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__TypeAssignment_6 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierCrossReference_6_0()); } +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierFQNParserRuleCall_6_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierFQNParserRuleCall_6_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierCrossReference_6_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__LowerBoundAssignment_8 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); } + ruleBound{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__UpperBoundAssignment_10 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); } + ruleBound{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_0_0()); } +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_0_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_0_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_1_1_0()); } +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_1_1_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_1_1_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_1_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__Parameter__OptionalAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); } +( +{ before(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); } + + 'optional' + +{ after(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); } +) + +{ after(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__Parameter__VariableAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getParameterAccess().getVariableSiriusVariableCrossReference_1_0()); } +( +{ before(grammarAccess.getParameterAccess().getVariableSiriusVariableFQNParserRuleCall_1_0_1()); } + ruleFQN{ after(grammarAccess.getParameterAccess().getVariableSiriusVariableFQNParserRuleCall_1_0_1()); } +) +{ after(grammarAccess.getParameterAccess().getVariableSiriusVariableCrossReference_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; + +RULE_INT : ('0'..'9')+; + +RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; + +RULE_WS : (' '|'\t'|'\r'|'\n')+; + + diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.tokens b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.tokens new file mode 100644 index 000000000..7450a2c92 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.tokens @@ -0,0 +1,40 @@ +'('=16 +')'=17 +','=23 +'-'=24 +'.'=14 +'..'=19 +':'=13 +'='=22 +'['=18 +']'=20 +'class'=11 +'contextableElements'=21 +'exp'=15 +'optional'=25 +'package'=8 +'var'=12 +'{'=9 +'}'=10 +RULE_ID=4 +RULE_INT=5 +RULE_ML_COMMENT=6 +RULE_WS=7 +T__10=10 +T__11=11 +T__12=12 +T__13=13 +T__14=14 +T__15=15 +T__16=16 +T__17=17 +T__18=18 +T__19=19 +T__20=20 +T__21=21 +T__22=22 +T__23=23 +T__24=24 +T__25=25 +T__8=8 +T__9=9 diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSLLexer.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSLLexer.java new file mode 100644 index 000000000..06ec52df8 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSLLexer.java @@ -0,0 +1,948 @@ +package org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalExpressionDSLLexer extends Lexer { + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int EOF=-1; + public static final int T__10=10; + public static final int T__9=9; + public static final int T__8=8; + public static final int RULE_ID=4; + public static final int RULE_WS=7; + public static final int RULE_INT=5; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=6; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + + // delegates + // delegators + + public InternalExpressionDSLLexer() {;} + public InternalExpressionDSLLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + public InternalExpressionDSLLexer(CharStream input, RecognizerSharedState state) { + super(input,state); + + } + public String getGrammarFileName() { return "InternalExpressionDSL.g"; } + + // $ANTLR start "T__8" + public final void mT__8() throws RecognitionException { + try { + int _type = T__8; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:11:6: ( 'package' ) + // InternalExpressionDSL.g:11:8: 'package' + { + match("package"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__8" + + // $ANTLR start "T__9" + public final void mT__9() throws RecognitionException { + try { + int _type = T__9; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:12:6: ( '{' ) + // InternalExpressionDSL.g:12:8: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__9" + + // $ANTLR start "T__10" + public final void mT__10() throws RecognitionException { + try { + int _type = T__10; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:13:7: ( '}' ) + // InternalExpressionDSL.g:13:9: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__10" + + // $ANTLR start "T__11" + public final void mT__11() throws RecognitionException { + try { + int _type = T__11; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:14:7: ( 'class' ) + // InternalExpressionDSL.g:14:9: 'class' + { + match("class"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__11" + + // $ANTLR start "T__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:15:7: ( 'var' ) + // InternalExpressionDSL.g:15:9: 'var' + { + match("var"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__12" + + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { + try { + int _type = T__13; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:16:7: ( ':' ) + // InternalExpressionDSL.g:16:9: ':' + { + match(':'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:17:7: ( '.' ) + // InternalExpressionDSL.g:17:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:18:7: ( 'exp' ) + // InternalExpressionDSL.g:18:9: 'exp' + { + match("exp"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:19:7: ( '(' ) + // InternalExpressionDSL.g:19:9: '(' + { + match('('); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:20:7: ( ')' ) + // InternalExpressionDSL.g:20:9: ')' + { + match(')'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:21:7: ( '[' ) + // InternalExpressionDSL.g:21:9: '[' + { + match('['); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:22:7: ( '..' ) + // InternalExpressionDSL.g:22:9: '..' + { + match(".."); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:23:7: ( ']' ) + // InternalExpressionDSL.g:23:9: ']' + { + match(']'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:24:7: ( 'contextableElements' ) + // InternalExpressionDSL.g:24:9: 'contextableElements' + { + match("contextableElements"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:25:7: ( '=' ) + // InternalExpressionDSL.g:25:9: '=' + { + match('='); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:26:7: ( ',' ) + // InternalExpressionDSL.g:26:9: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:27:7: ( '-' ) + // InternalExpressionDSL.g:27:9: '-' + { + match('-'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:28:7: ( 'optional' ) + // InternalExpressionDSL.g:28:9: 'optional' + { + match("optional"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__25" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:2189:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalExpressionDSL.g:2189:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // InternalExpressionDSL.g:2189:11: ( '^' )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='^') ) { + alt1=1; + } + switch (alt1) { + case 1 : + // InternalExpressionDSL.g:2189:11: '^' + { + match('^'); + + } + break; + + } + + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // InternalExpressionDSL.g:2189:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalExpressionDSL.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop2; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:2191:10: ( ( '0' .. '9' )+ ) + // InternalExpressionDSL.g:2191:12: ( '0' .. '9' )+ + { + // InternalExpressionDSL.g:2191:12: ( '0' .. '9' )+ + int cnt3=0; + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( ((LA3_0>='0' && LA3_0<='9')) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalExpressionDSL.g:2191:13: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt3 >= 1 ) break loop3; + EarlyExitException eee = + new EarlyExitException(3, input); + throw eee; + } + cnt3++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_INT" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:2193:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalExpressionDSL.g:2193:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // InternalExpressionDSL.g:2193:24: ( options {greedy=false; } : . )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0=='*') ) { + int LA4_1 = input.LA(2); + + if ( (LA4_1=='/') ) { + alt4=2; + } + else if ( ((LA4_1>='\u0000' && LA4_1<='.')||(LA4_1>='0' && LA4_1<='\uFFFF')) ) { + alt4=1; + } + + + } + else if ( ((LA4_0>='\u0000' && LA4_0<=')')||(LA4_0>='+' && LA4_0<='\uFFFF')) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalExpressionDSL.g:2193:52: . + { + matchAny(); + + } + break; + + default : + break loop4; + } + } while (true); + + match("*/"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_WS" + public final void mRULE_WS() throws RecognitionException { + try { + int _type = RULE_WS; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:2195:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalExpressionDSL.g:2195:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // InternalExpressionDSL.g:2195:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt5=0; + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( ((LA5_0>='\t' && LA5_0<='\n')||LA5_0=='\r'||LA5_0==' ') ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalExpressionDSL.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt5 >= 1 ) break loop5; + EarlyExitException eee = + new EarlyExitException(5, input); + throw eee; + } + cnt5++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + public void mTokens() throws RecognitionException { + // InternalExpressionDSL.g:1:8: ( T__8 | T__9 | T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS ) + int alt6=22; + alt6 = dfa6.predict(input); + switch (alt6) { + case 1 : + // InternalExpressionDSL.g:1:10: T__8 + { + mT__8(); + + } + break; + case 2 : + // InternalExpressionDSL.g:1:15: T__9 + { + mT__9(); + + } + break; + case 3 : + // InternalExpressionDSL.g:1:20: T__10 + { + mT__10(); + + } + break; + case 4 : + // InternalExpressionDSL.g:1:26: T__11 + { + mT__11(); + + } + break; + case 5 : + // InternalExpressionDSL.g:1:32: T__12 + { + mT__12(); + + } + break; + case 6 : + // InternalExpressionDSL.g:1:38: T__13 + { + mT__13(); + + } + break; + case 7 : + // InternalExpressionDSL.g:1:44: T__14 + { + mT__14(); + + } + break; + case 8 : + // InternalExpressionDSL.g:1:50: T__15 + { + mT__15(); + + } + break; + case 9 : + // InternalExpressionDSL.g:1:56: T__16 + { + mT__16(); + + } + break; + case 10 : + // InternalExpressionDSL.g:1:62: T__17 + { + mT__17(); + + } + break; + case 11 : + // InternalExpressionDSL.g:1:68: T__18 + { + mT__18(); + + } + break; + case 12 : + // InternalExpressionDSL.g:1:74: T__19 + { + mT__19(); + + } + break; + case 13 : + // InternalExpressionDSL.g:1:80: T__20 + { + mT__20(); + + } + break; + case 14 : + // InternalExpressionDSL.g:1:86: T__21 + { + mT__21(); + + } + break; + case 15 : + // InternalExpressionDSL.g:1:92: T__22 + { + mT__22(); + + } + break; + case 16 : + // InternalExpressionDSL.g:1:98: T__23 + { + mT__23(); + + } + break; + case 17 : + // InternalExpressionDSL.g:1:104: T__24 + { + mT__24(); + + } + break; + case 18 : + // InternalExpressionDSL.g:1:110: T__25 + { + mT__25(); + + } + break; + case 19 : + // InternalExpressionDSL.g:1:116: RULE_ID + { + mRULE_ID(); + + } + break; + case 20 : + // InternalExpressionDSL.g:1:124: RULE_INT + { + mRULE_INT(); + + } + break; + case 21 : + // InternalExpressionDSL.g:1:133: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 22 : + // InternalExpressionDSL.g:1:149: RULE_WS + { + mRULE_WS(); + + } + break; + + } + + } + + + protected DFA6 dfa6 = new DFA6(this); + static final String DFA6_eotS = + "\1\uffff\1\21\2\uffff\2\21\1\uffff\1\32\1\21\7\uffff\1\21\4\uffff\4\21\2\uffff\5\21\1\46\1\47\4\21\2\uffff\2\21\1\56\3\21\1\uffff\2\21\1\64\2\21\1\uffff\1\21\1\70\1\21\1\uffff\11\21\1\103\1\uffff"; + static final String DFA6_eofS = + "\104\uffff"; + static final String DFA6_minS = + "\1\11\1\141\2\uffff\1\154\1\141\1\uffff\1\56\1\170\7\uffff\1\160\4\uffff\1\143\1\141\1\156\1\162\2\uffff\1\160\1\164\1\153\1\163\1\164\2\60\1\151\1\141\1\163\1\145\2\uffff\1\157\1\147\1\60\1\170\1\156\1\145\1\uffff\1\164\1\141\1\60\1\141\1\154\1\uffff\1\142\1\60\1\154\1\uffff\1\145\1\105\1\154\1\145\1\155\1\145\1\156\1\164\1\163\1\60\1\uffff"; + static final String DFA6_maxS = + "\1\175\1\141\2\uffff\1\157\1\141\1\uffff\1\56\1\170\7\uffff\1\160\4\uffff\1\143\1\141\1\156\1\162\2\uffff\1\160\1\164\1\153\1\163\1\164\2\172\1\151\1\141\1\163\1\145\2\uffff\1\157\1\147\1\172\1\170\1\156\1\145\1\uffff\1\164\1\141\1\172\1\141\1\154\1\uffff\1\142\1\172\1\154\1\uffff\1\145\1\105\1\154\1\145\1\155\1\145\1\156\1\164\1\163\1\172\1\uffff"; + static final String DFA6_acceptS = + "\2\uffff\1\2\1\3\2\uffff\1\6\2\uffff\1\11\1\12\1\13\1\15\1\17\1\20\1\21\1\uffff\1\23\1\24\1\25\1\26\4\uffff\1\14\1\7\13\uffff\1\5\1\10\6\uffff\1\4\5\uffff\1\1\3\uffff\1\22\12\uffff\1\16"; + static final String DFA6_specialS = + "\104\uffff}>"; + static final String[] DFA6_transitionS = { + "\2\24\2\uffff\1\24\22\uffff\1\24\7\uffff\1\11\1\12\2\uffff\1\16\1\17\1\7\1\23\12\22\1\6\2\uffff\1\15\3\uffff\32\21\1\13\1\uffff\1\14\2\21\1\uffff\2\21\1\4\1\21\1\10\11\21\1\20\1\1\5\21\1\5\4\21\1\2\1\uffff\1\3", + "\1\25", + "", + "", + "\1\26\2\uffff\1\27", + "\1\30", + "", + "\1\31", + "\1\33", + "", + "", + "", + "", + "", + "", + "", + "\1\34", + "", + "", + "", + "", + "\1\35", + "\1\36", + "\1\37", + "\1\40", + "", + "", + "\1\41", + "\1\42", + "\1\43", + "\1\44", + "\1\45", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\50", + "\1\51", + "\1\52", + "\1\53", + "", + "", + "\1\54", + "\1\55", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\57", + "\1\60", + "\1\61", + "", + "\1\62", + "\1\63", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\65", + "\1\66", + "", + "\1\67", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\71", + "", + "\1\72", + "\1\73", + "\1\74", + "\1\75", + "\1\76", + "\1\77", + "\1\100", + "\1\101", + "\1\102", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "" + }; + + static final short[] DFA6_eot = DFA.unpackEncodedString(DFA6_eotS); + static final short[] DFA6_eof = DFA.unpackEncodedString(DFA6_eofS); + static final char[] DFA6_min = DFA.unpackEncodedStringToUnsignedChars(DFA6_minS); + static final char[] DFA6_max = DFA.unpackEncodedStringToUnsignedChars(DFA6_maxS); + static final short[] DFA6_accept = DFA.unpackEncodedString(DFA6_acceptS); + static final short[] DFA6_special = DFA.unpackEncodedString(DFA6_specialS); + static final short[][] DFA6_transition; + + static { + int numStates = DFA6_transitionS.length; + DFA6_transition = new short[numStates][]; + for (int i=0; i", "", "", "", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "'package'", "'{'", "'}'", "'class'", "'var'", "':'", "'.'", "'exp'", "'('", "')'", "'['", "'..'", "']'", "'contextableElements'", "'='", "','", "'-'", "'optional'" + }; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int EOF=-1; + public static final int T__10=10; + public static final int T__9=9; + public static final int T__8=8; + public static final int RULE_ID=4; + public static final int RULE_WS=7; + public static final int RULE_INT=5; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=6; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + + // delegates + // delegators + + + public InternalExpressionDSLParser(TokenStream input) { + this(input, new RecognizerSharedState()); + } + public InternalExpressionDSLParser(TokenStream input, RecognizerSharedState state) { + super(input, state); + + } + + + public String[] getTokenNames() { return InternalExpressionDSLParser.tokenNames; } + public String getGrammarFileName() { return "InternalExpressionDSL.g"; } + + + + private ExpressionDSLGrammarAccess grammarAccess; + + public void setGrammarAccess(ExpressionDSLGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + @Override + protected Grammar getGrammar() { + return grammarAccess.getGrammar(); + } + + @Override + protected String getValueForTokenName(String tokenName) { + return tokenName; + } + + + + + // $ANTLR start "entryRuleSiriusExpressionPackage" + // InternalExpressionDSL.g:60:1: entryRuleSiriusExpressionPackage : ruleSiriusExpressionPackage EOF ; + public final void entryRuleSiriusExpressionPackage() throws RecognitionException { + try { + // InternalExpressionDSL.g:61:1: ( ruleSiriusExpressionPackage EOF ) + // InternalExpressionDSL.g:62:1: ruleSiriusExpressionPackage EOF + { + before(grammarAccess.getSiriusExpressionPackageRule()); + pushFollow(FOLLOW_1); + ruleSiriusExpressionPackage(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionPackageRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleSiriusExpressionPackage" + + + // $ANTLR start "ruleSiriusExpressionPackage" + // InternalExpressionDSL.g:69:1: ruleSiriusExpressionPackage : ( ( rule__SiriusExpressionPackage__Group__0 ) ) ; + public final void ruleSiriusExpressionPackage() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:73:2: ( ( ( rule__SiriusExpressionPackage__Group__0 ) ) ) + // InternalExpressionDSL.g:74:1: ( ( rule__SiriusExpressionPackage__Group__0 ) ) + { + // InternalExpressionDSL.g:74:1: ( ( rule__SiriusExpressionPackage__Group__0 ) ) + // InternalExpressionDSL.g:75:1: ( rule__SiriusExpressionPackage__Group__0 ) + { + before(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); + // InternalExpressionDSL.g:76:1: ( rule__SiriusExpressionPackage__Group__0 ) + // InternalExpressionDSL.g:76:2: rule__SiriusExpressionPackage__Group__0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleSiriusExpressionPackage" + + + // $ANTLR start "entryRuleSiriusExpressionClass" + // InternalExpressionDSL.g:88:1: entryRuleSiriusExpressionClass : ruleSiriusExpressionClass EOF ; + public final void entryRuleSiriusExpressionClass() throws RecognitionException { + try { + // InternalExpressionDSL.g:89:1: ( ruleSiriusExpressionClass EOF ) + // InternalExpressionDSL.g:90:1: ruleSiriusExpressionClass EOF + { + before(grammarAccess.getSiriusExpressionClassRule()); + pushFollow(FOLLOW_1); + ruleSiriusExpressionClass(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionClassRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleSiriusExpressionClass" + + + // $ANTLR start "ruleSiriusExpressionClass" + // InternalExpressionDSL.g:97:1: ruleSiriusExpressionClass : ( ( rule__SiriusExpressionClass__Group__0 ) ) ; + public final void ruleSiriusExpressionClass() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:101:2: ( ( ( rule__SiriusExpressionClass__Group__0 ) ) ) + // InternalExpressionDSL.g:102:1: ( ( rule__SiriusExpressionClass__Group__0 ) ) + { + // InternalExpressionDSL.g:102:1: ( ( rule__SiriusExpressionClass__Group__0 ) ) + // InternalExpressionDSL.g:103:1: ( rule__SiriusExpressionClass__Group__0 ) + { + before(grammarAccess.getSiriusExpressionClassAccess().getGroup()); + // InternalExpressionDSL.g:104:1: ( rule__SiriusExpressionClass__Group__0 ) + // InternalExpressionDSL.g:104:2: rule__SiriusExpressionClass__Group__0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionClassAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleSiriusExpressionClass" + + + // $ANTLR start "entryRuleSiriusVariable" + // InternalExpressionDSL.g:116:1: entryRuleSiriusVariable : ruleSiriusVariable EOF ; + public final void entryRuleSiriusVariable() throws RecognitionException { + try { + // InternalExpressionDSL.g:117:1: ( ruleSiriusVariable EOF ) + // InternalExpressionDSL.g:118:1: ruleSiriusVariable EOF + { + before(grammarAccess.getSiriusVariableRule()); + pushFollow(FOLLOW_1); + ruleSiriusVariable(); + + state._fsp--; + + after(grammarAccess.getSiriusVariableRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleSiriusVariable" + + + // $ANTLR start "ruleSiriusVariable" + // InternalExpressionDSL.g:125:1: ruleSiriusVariable : ( ( rule__SiriusVariable__Group__0 ) ) ; + public final void ruleSiriusVariable() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:129:2: ( ( ( rule__SiriusVariable__Group__0 ) ) ) + // InternalExpressionDSL.g:130:1: ( ( rule__SiriusVariable__Group__0 ) ) + { + // InternalExpressionDSL.g:130:1: ( ( rule__SiriusVariable__Group__0 ) ) + // InternalExpressionDSL.g:131:1: ( rule__SiriusVariable__Group__0 ) + { + before(grammarAccess.getSiriusVariableAccess().getGroup()); + // InternalExpressionDSL.g:132:1: ( rule__SiriusVariable__Group__0 ) + // InternalExpressionDSL.g:132:2: rule__SiriusVariable__Group__0 + { + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusVariableAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleSiriusVariable" + + + // $ANTLR start "entryRuleFQN" + // InternalExpressionDSL.g:144:1: entryRuleFQN : ruleFQN EOF ; + public final void entryRuleFQN() throws RecognitionException { + try { + // InternalExpressionDSL.g:145:1: ( ruleFQN EOF ) + // InternalExpressionDSL.g:146:1: ruleFQN EOF + { + before(grammarAccess.getFQNRule()); + pushFollow(FOLLOW_1); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getFQNRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleFQN" + + + // $ANTLR start "ruleFQN" + // InternalExpressionDSL.g:153:1: ruleFQN : ( ( rule__FQN__Group__0 ) ) ; + public final void ruleFQN() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:157:2: ( ( ( rule__FQN__Group__0 ) ) ) + // InternalExpressionDSL.g:158:1: ( ( rule__FQN__Group__0 ) ) + { + // InternalExpressionDSL.g:158:1: ( ( rule__FQN__Group__0 ) ) + // InternalExpressionDSL.g:159:1: ( rule__FQN__Group__0 ) + { + before(grammarAccess.getFQNAccess().getGroup()); + // InternalExpressionDSL.g:160:1: ( rule__FQN__Group__0 ) + // InternalExpressionDSL.g:160:2: rule__FQN__Group__0 + { + pushFollow(FOLLOW_2); + rule__FQN__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getFQNAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleFQN" + + + // $ANTLR start "entryRuleSiriusExpressionDescription" + // InternalExpressionDSL.g:172:1: entryRuleSiriusExpressionDescription : ruleSiriusExpressionDescription EOF ; + public final void entryRuleSiriusExpressionDescription() throws RecognitionException { + try { + // InternalExpressionDSL.g:173:1: ( ruleSiriusExpressionDescription EOF ) + // InternalExpressionDSL.g:174:1: ruleSiriusExpressionDescription EOF + { + before(grammarAccess.getSiriusExpressionDescriptionRule()); + pushFollow(FOLLOW_1); + ruleSiriusExpressionDescription(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleSiriusExpressionDescription" + + + // $ANTLR start "ruleSiriusExpressionDescription" + // InternalExpressionDSL.g:181:1: ruleSiriusExpressionDescription : ( ( rule__SiriusExpressionDescription__Group__0 ) ) ; + public final void ruleSiriusExpressionDescription() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:185:2: ( ( ( rule__SiriusExpressionDescription__Group__0 ) ) ) + // InternalExpressionDSL.g:186:1: ( ( rule__SiriusExpressionDescription__Group__0 ) ) + { + // InternalExpressionDSL.g:186:1: ( ( rule__SiriusExpressionDescription__Group__0 ) ) + // InternalExpressionDSL.g:187:1: ( rule__SiriusExpressionDescription__Group__0 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); + // InternalExpressionDSL.g:188:1: ( rule__SiriusExpressionDescription__Group__0 ) + // InternalExpressionDSL.g:188:2: rule__SiriusExpressionDescription__Group__0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleSiriusExpressionDescription" + + + // $ANTLR start "entryRuleParameter" + // InternalExpressionDSL.g:200:1: entryRuleParameter : ruleParameter EOF ; + public final void entryRuleParameter() throws RecognitionException { + try { + // InternalExpressionDSL.g:201:1: ( ruleParameter EOF ) + // InternalExpressionDSL.g:202:1: ruleParameter EOF + { + before(grammarAccess.getParameterRule()); + pushFollow(FOLLOW_1); + ruleParameter(); + + state._fsp--; + + after(grammarAccess.getParameterRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleParameter" + + + // $ANTLR start "ruleParameter" + // InternalExpressionDSL.g:209:1: ruleParameter : ( ( rule__Parameter__Group__0 ) ) ; + public final void ruleParameter() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:213:2: ( ( ( rule__Parameter__Group__0 ) ) ) + // InternalExpressionDSL.g:214:1: ( ( rule__Parameter__Group__0 ) ) + { + // InternalExpressionDSL.g:214:1: ( ( rule__Parameter__Group__0 ) ) + // InternalExpressionDSL.g:215:1: ( rule__Parameter__Group__0 ) + { + before(grammarAccess.getParameterAccess().getGroup()); + // InternalExpressionDSL.g:216:1: ( rule__Parameter__Group__0 ) + // InternalExpressionDSL.g:216:2: rule__Parameter__Group__0 + { + pushFollow(FOLLOW_2); + rule__Parameter__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getParameterAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleParameter" + + + // $ANTLR start "entryRuleBound" + // InternalExpressionDSL.g:228:1: entryRuleBound : ruleBound EOF ; + public final void entryRuleBound() throws RecognitionException { + try { + // InternalExpressionDSL.g:229:1: ( ruleBound EOF ) + // InternalExpressionDSL.g:230:1: ruleBound EOF + { + before(grammarAccess.getBoundRule()); + pushFollow(FOLLOW_1); + ruleBound(); + + state._fsp--; + + after(grammarAccess.getBoundRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleBound" + + + // $ANTLR start "ruleBound" + // InternalExpressionDSL.g:237:1: ruleBound : ( ( rule__Bound__Group__0 ) ) ; + public final void ruleBound() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:241:2: ( ( ( rule__Bound__Group__0 ) ) ) + // InternalExpressionDSL.g:242:1: ( ( rule__Bound__Group__0 ) ) + { + // InternalExpressionDSL.g:242:1: ( ( rule__Bound__Group__0 ) ) + // InternalExpressionDSL.g:243:1: ( rule__Bound__Group__0 ) + { + before(grammarAccess.getBoundAccess().getGroup()); + // InternalExpressionDSL.g:244:1: ( rule__Bound__Group__0 ) + // InternalExpressionDSL.g:244:2: rule__Bound__Group__0 + { + pushFollow(FOLLOW_2); + rule__Bound__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getBoundAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleBound" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__0" + // InternalExpressionDSL.g:258:1: rule__SiriusExpressionPackage__Group__0 : rule__SiriusExpressionPackage__Group__0__Impl rule__SiriusExpressionPackage__Group__1 ; + public final void rule__SiriusExpressionPackage__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:262:1: ( rule__SiriusExpressionPackage__Group__0__Impl rule__SiriusExpressionPackage__Group__1 ) + // InternalExpressionDSL.g:263:2: rule__SiriusExpressionPackage__Group__0__Impl rule__SiriusExpressionPackage__Group__1 + { + pushFollow(FOLLOW_3); + rule__SiriusExpressionPackage__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__0" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__0__Impl" + // InternalExpressionDSL.g:270:1: rule__SiriusExpressionPackage__Group__0__Impl : ( 'package' ) ; + public final void rule__SiriusExpressionPackage__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:274:1: ( ( 'package' ) ) + // InternalExpressionDSL.g:275:1: ( 'package' ) + { + // InternalExpressionDSL.g:275:1: ( 'package' ) + // InternalExpressionDSL.g:276:1: 'package' + { + before(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); + match(input,8,FOLLOW_2); + after(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__1" + // InternalExpressionDSL.g:289:1: rule__SiriusExpressionPackage__Group__1 : rule__SiriusExpressionPackage__Group__1__Impl rule__SiriusExpressionPackage__Group__2 ; + public final void rule__SiriusExpressionPackage__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:293:1: ( rule__SiriusExpressionPackage__Group__1__Impl rule__SiriusExpressionPackage__Group__2 ) + // InternalExpressionDSL.g:294:2: rule__SiriusExpressionPackage__Group__1__Impl rule__SiriusExpressionPackage__Group__2 + { + pushFollow(FOLLOW_4); + rule__SiriusExpressionPackage__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__1" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__1__Impl" + // InternalExpressionDSL.g:301:1: rule__SiriusExpressionPackage__Group__1__Impl : ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) ; + public final void rule__SiriusExpressionPackage__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:305:1: ( ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) ) + // InternalExpressionDSL.g:306:1: ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) + { + // InternalExpressionDSL.g:306:1: ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) + // InternalExpressionDSL.g:307:1: ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) + { + before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); + // InternalExpressionDSL.g:308:1: ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) + // InternalExpressionDSL.g:308:2: rule__SiriusExpressionPackage__EPackageAssignment_1 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__EPackageAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__2" + // InternalExpressionDSL.g:318:1: rule__SiriusExpressionPackage__Group__2 : rule__SiriusExpressionPackage__Group__2__Impl rule__SiriusExpressionPackage__Group__3 ; + public final void rule__SiriusExpressionPackage__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:322:1: ( rule__SiriusExpressionPackage__Group__2__Impl rule__SiriusExpressionPackage__Group__3 ) + // InternalExpressionDSL.g:323:2: rule__SiriusExpressionPackage__Group__2__Impl rule__SiriusExpressionPackage__Group__3 + { + pushFollow(FOLLOW_5); + rule__SiriusExpressionPackage__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__2" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__2__Impl" + // InternalExpressionDSL.g:330:1: rule__SiriusExpressionPackage__Group__2__Impl : ( '{' ) ; + public final void rule__SiriusExpressionPackage__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:334:1: ( ( '{' ) ) + // InternalExpressionDSL.g:335:1: ( '{' ) + { + // InternalExpressionDSL.g:335:1: ( '{' ) + // InternalExpressionDSL.g:336:1: '{' + { + before(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); + match(input,9,FOLLOW_2); + after(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__2__Impl" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__3" + // InternalExpressionDSL.g:349:1: rule__SiriusExpressionPackage__Group__3 : rule__SiriusExpressionPackage__Group__3__Impl rule__SiriusExpressionPackage__Group__4 ; + public final void rule__SiriusExpressionPackage__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:353:1: ( rule__SiriusExpressionPackage__Group__3__Impl rule__SiriusExpressionPackage__Group__4 ) + // InternalExpressionDSL.g:354:2: rule__SiriusExpressionPackage__Group__3__Impl rule__SiriusExpressionPackage__Group__4 + { + pushFollow(FOLLOW_5); + rule__SiriusExpressionPackage__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__3" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__3__Impl" + // InternalExpressionDSL.g:361:1: rule__SiriusExpressionPackage__Group__3__Impl : ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) ; + public final void rule__SiriusExpressionPackage__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:365:1: ( ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) ) + // InternalExpressionDSL.g:366:1: ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) + { + // InternalExpressionDSL.g:366:1: ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) + // InternalExpressionDSL.g:367:1: ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* + { + before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); + // InternalExpressionDSL.g:368:1: ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* + loop1: + do { + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0==11) ) { + alt1=1; + } + + + switch (alt1) { + case 1 : + // InternalExpressionDSL.g:368:2: rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 + { + pushFollow(FOLLOW_6); + rule__SiriusExpressionPackage__ExpressionClassesAssignment_3(); + + state._fsp--; + + + } + break; + + default : + break loop1; + } + } while (true); + + after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__3__Impl" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__4" + // InternalExpressionDSL.g:378:1: rule__SiriusExpressionPackage__Group__4 : rule__SiriusExpressionPackage__Group__4__Impl ; + public final void rule__SiriusExpressionPackage__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:382:1: ( rule__SiriusExpressionPackage__Group__4__Impl ) + // InternalExpressionDSL.g:383:2: rule__SiriusExpressionPackage__Group__4__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__4" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__4__Impl" + // InternalExpressionDSL.g:389:1: rule__SiriusExpressionPackage__Group__4__Impl : ( '}' ) ; + public final void rule__SiriusExpressionPackage__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:393:1: ( ( '}' ) ) + // InternalExpressionDSL.g:394:1: ( '}' ) + { + // InternalExpressionDSL.g:394:1: ( '}' ) + // InternalExpressionDSL.g:395:1: '}' + { + before(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); + match(input,10,FOLLOW_2); + after(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__4__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__0" + // InternalExpressionDSL.g:418:1: rule__SiriusExpressionClass__Group__0 : rule__SiriusExpressionClass__Group__0__Impl rule__SiriusExpressionClass__Group__1 ; + public final void rule__SiriusExpressionClass__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:422:1: ( rule__SiriusExpressionClass__Group__0__Impl rule__SiriusExpressionClass__Group__1 ) + // InternalExpressionDSL.g:423:2: rule__SiriusExpressionClass__Group__0__Impl rule__SiriusExpressionClass__Group__1 + { + pushFollow(FOLLOW_3); + rule__SiriusExpressionClass__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__0" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__0__Impl" + // InternalExpressionDSL.g:430:1: rule__SiriusExpressionClass__Group__0__Impl : ( 'class' ) ; + public final void rule__SiriusExpressionClass__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:434:1: ( ( 'class' ) ) + // InternalExpressionDSL.g:435:1: ( 'class' ) + { + // InternalExpressionDSL.g:435:1: ( 'class' ) + // InternalExpressionDSL.g:436:1: 'class' + { + before(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); + match(input,11,FOLLOW_2); + after(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__1" + // InternalExpressionDSL.g:449:1: rule__SiriusExpressionClass__Group__1 : rule__SiriusExpressionClass__Group__1__Impl rule__SiriusExpressionClass__Group__2 ; + public final void rule__SiriusExpressionClass__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:453:1: ( rule__SiriusExpressionClass__Group__1__Impl rule__SiriusExpressionClass__Group__2 ) + // InternalExpressionDSL.g:454:2: rule__SiriusExpressionClass__Group__1__Impl rule__SiriusExpressionClass__Group__2 + { + pushFollow(FOLLOW_4); + rule__SiriusExpressionClass__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__1" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__1__Impl" + // InternalExpressionDSL.g:461:1: rule__SiriusExpressionClass__Group__1__Impl : ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) ; + public final void rule__SiriusExpressionClass__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:465:1: ( ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) ) + // InternalExpressionDSL.g:466:1: ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) + { + // InternalExpressionDSL.g:466:1: ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) + // InternalExpressionDSL.g:467:1: ( rule__SiriusExpressionClass__EClassAssignment_1 ) + { + before(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); + // InternalExpressionDSL.g:468:1: ( rule__SiriusExpressionClass__EClassAssignment_1 ) + // InternalExpressionDSL.g:468:2: rule__SiriusExpressionClass__EClassAssignment_1 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__EClassAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__2" + // InternalExpressionDSL.g:478:1: rule__SiriusExpressionClass__Group__2 : rule__SiriusExpressionClass__Group__2__Impl rule__SiriusExpressionClass__Group__3 ; + public final void rule__SiriusExpressionClass__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:482:1: ( rule__SiriusExpressionClass__Group__2__Impl rule__SiriusExpressionClass__Group__3 ) + // InternalExpressionDSL.g:483:2: rule__SiriusExpressionClass__Group__2__Impl rule__SiriusExpressionClass__Group__3 + { + pushFollow(FOLLOW_7); + rule__SiriusExpressionClass__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__2" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__2__Impl" + // InternalExpressionDSL.g:490:1: rule__SiriusExpressionClass__Group__2__Impl : ( '{' ) ; + public final void rule__SiriusExpressionClass__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:494:1: ( ( '{' ) ) + // InternalExpressionDSL.g:495:1: ( '{' ) + { + // InternalExpressionDSL.g:495:1: ( '{' ) + // InternalExpressionDSL.g:496:1: '{' + { + before(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); + match(input,9,FOLLOW_2); + after(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__2__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__3" + // InternalExpressionDSL.g:509:1: rule__SiriusExpressionClass__Group__3 : rule__SiriusExpressionClass__Group__3__Impl rule__SiriusExpressionClass__Group__4 ; + public final void rule__SiriusExpressionClass__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:513:1: ( rule__SiriusExpressionClass__Group__3__Impl rule__SiriusExpressionClass__Group__4 ) + // InternalExpressionDSL.g:514:2: rule__SiriusExpressionClass__Group__3__Impl rule__SiriusExpressionClass__Group__4 + { + pushFollow(FOLLOW_7); + rule__SiriusExpressionClass__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__3" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__3__Impl" + // InternalExpressionDSL.g:521:1: rule__SiriusExpressionClass__Group__3__Impl : ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) ; + public final void rule__SiriusExpressionClass__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:525:1: ( ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) ) + // InternalExpressionDSL.g:526:1: ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) + { + // InternalExpressionDSL.g:526:1: ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) + // InternalExpressionDSL.g:527:1: ( rule__SiriusExpressionClass__VariablesAssignment_3 )* + { + before(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); + // InternalExpressionDSL.g:528:1: ( rule__SiriusExpressionClass__VariablesAssignment_3 )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0==RULE_ML_COMMENT||LA2_0==12) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalExpressionDSL.g:528:2: rule__SiriusExpressionClass__VariablesAssignment_3 + { + pushFollow(FOLLOW_8); + rule__SiriusExpressionClass__VariablesAssignment_3(); + + state._fsp--; + + + } + break; + + default : + break loop2; + } + } while (true); + + after(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__3__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__4" + // InternalExpressionDSL.g:538:1: rule__SiriusExpressionClass__Group__4 : rule__SiriusExpressionClass__Group__4__Impl rule__SiriusExpressionClass__Group__5 ; + public final void rule__SiriusExpressionClass__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:542:1: ( rule__SiriusExpressionClass__Group__4__Impl rule__SiriusExpressionClass__Group__5 ) + // InternalExpressionDSL.g:543:2: rule__SiriusExpressionClass__Group__4__Impl rule__SiriusExpressionClass__Group__5 + { + pushFollow(FOLLOW_7); + rule__SiriusExpressionClass__Group__4__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__5(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__4" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__4__Impl" + // InternalExpressionDSL.g:550:1: rule__SiriusExpressionClass__Group__4__Impl : ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) ; + public final void rule__SiriusExpressionClass__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:554:1: ( ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) ) + // InternalExpressionDSL.g:555:1: ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) + { + // InternalExpressionDSL.g:555:1: ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) + // InternalExpressionDSL.g:556:1: ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* + { + before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); + // InternalExpressionDSL.g:557:1: ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0==15) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalExpressionDSL.g:557:2: rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 + { + pushFollow(FOLLOW_9); + rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4(); + + state._fsp--; + + + } + break; + + default : + break loop3; + } + } while (true); + + after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__4__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__5" + // InternalExpressionDSL.g:567:1: rule__SiriusExpressionClass__Group__5 : rule__SiriusExpressionClass__Group__5__Impl ; + public final void rule__SiriusExpressionClass__Group__5() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:571:1: ( rule__SiriusExpressionClass__Group__5__Impl ) + // InternalExpressionDSL.g:572:2: rule__SiriusExpressionClass__Group__5__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__5__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__5" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__5__Impl" + // InternalExpressionDSL.g:578:1: rule__SiriusExpressionClass__Group__5__Impl : ( '}' ) ; + public final void rule__SiriusExpressionClass__Group__5__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:582:1: ( ( '}' ) ) + // InternalExpressionDSL.g:583:1: ( '}' ) + { + // InternalExpressionDSL.g:583:1: ( '}' ) + // InternalExpressionDSL.g:584:1: '}' + { + before(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); + match(input,10,FOLLOW_2); + after(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__5__Impl" + + + // $ANTLR start "rule__SiriusVariable__Group__0" + // InternalExpressionDSL.g:609:1: rule__SiriusVariable__Group__0 : rule__SiriusVariable__Group__0__Impl rule__SiriusVariable__Group__1 ; + public final void rule__SiriusVariable__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:613:1: ( rule__SiriusVariable__Group__0__Impl rule__SiriusVariable__Group__1 ) + // InternalExpressionDSL.g:614:2: rule__SiriusVariable__Group__0__Impl rule__SiriusVariable__Group__1 + { + pushFollow(FOLLOW_10); + rule__SiriusVariable__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__0" + + + // $ANTLR start "rule__SiriusVariable__Group__0__Impl" + // InternalExpressionDSL.g:621:1: rule__SiriusVariable__Group__0__Impl : ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) ; + public final void rule__SiriusVariable__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:625:1: ( ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) ) + // InternalExpressionDSL.g:626:1: ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) + { + // InternalExpressionDSL.g:626:1: ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) + // InternalExpressionDSL.g:627:1: ( rule__SiriusVariable__DocumentationAssignment_0 )? + { + before(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); + // InternalExpressionDSL.g:628:1: ( rule__SiriusVariable__DocumentationAssignment_0 )? + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==RULE_ML_COMMENT) ) { + alt4=1; + } + switch (alt4) { + case 1 : + // InternalExpressionDSL.g:628:2: rule__SiriusVariable__DocumentationAssignment_0 + { + pushFollow(FOLLOW_2); + rule__SiriusVariable__DocumentationAssignment_0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__0__Impl" + + + // $ANTLR start "rule__SiriusVariable__Group__1" + // InternalExpressionDSL.g:638:1: rule__SiriusVariable__Group__1 : rule__SiriusVariable__Group__1__Impl rule__SiriusVariable__Group__2 ; + public final void rule__SiriusVariable__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:642:1: ( rule__SiriusVariable__Group__1__Impl rule__SiriusVariable__Group__2 ) + // InternalExpressionDSL.g:643:2: rule__SiriusVariable__Group__1__Impl rule__SiriusVariable__Group__2 + { + pushFollow(FOLLOW_3); + rule__SiriusVariable__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__1" + + + // $ANTLR start "rule__SiriusVariable__Group__1__Impl" + // InternalExpressionDSL.g:650:1: rule__SiriusVariable__Group__1__Impl : ( 'var' ) ; + public final void rule__SiriusVariable__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:654:1: ( ( 'var' ) ) + // InternalExpressionDSL.g:655:1: ( 'var' ) + { + // InternalExpressionDSL.g:655:1: ( 'var' ) + // InternalExpressionDSL.g:656:1: 'var' + { + before(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); + match(input,12,FOLLOW_2); + after(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__1__Impl" + + + // $ANTLR start "rule__SiriusVariable__Group__2" + // InternalExpressionDSL.g:669:1: rule__SiriusVariable__Group__2 : rule__SiriusVariable__Group__2__Impl rule__SiriusVariable__Group__3 ; + public final void rule__SiriusVariable__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:673:1: ( rule__SiriusVariable__Group__2__Impl rule__SiriusVariable__Group__3 ) + // InternalExpressionDSL.g:674:2: rule__SiriusVariable__Group__2__Impl rule__SiriusVariable__Group__3 + { + pushFollow(FOLLOW_11); + rule__SiriusVariable__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__2" + + + // $ANTLR start "rule__SiriusVariable__Group__2__Impl" + // InternalExpressionDSL.g:681:1: rule__SiriusVariable__Group__2__Impl : ( ( rule__SiriusVariable__NameAssignment_2 ) ) ; + public final void rule__SiriusVariable__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:685:1: ( ( ( rule__SiriusVariable__NameAssignment_2 ) ) ) + // InternalExpressionDSL.g:686:1: ( ( rule__SiriusVariable__NameAssignment_2 ) ) + { + // InternalExpressionDSL.g:686:1: ( ( rule__SiriusVariable__NameAssignment_2 ) ) + // InternalExpressionDSL.g:687:1: ( rule__SiriusVariable__NameAssignment_2 ) + { + before(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); + // InternalExpressionDSL.g:688:1: ( rule__SiriusVariable__NameAssignment_2 ) + // InternalExpressionDSL.g:688:2: rule__SiriusVariable__NameAssignment_2 + { + pushFollow(FOLLOW_2); + rule__SiriusVariable__NameAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__2__Impl" + + + // $ANTLR start "rule__SiriusVariable__Group__3" + // InternalExpressionDSL.g:698:1: rule__SiriusVariable__Group__3 : rule__SiriusVariable__Group__3__Impl rule__SiriusVariable__Group__4 ; + public final void rule__SiriusVariable__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:702:1: ( rule__SiriusVariable__Group__3__Impl rule__SiriusVariable__Group__4 ) + // InternalExpressionDSL.g:703:2: rule__SiriusVariable__Group__3__Impl rule__SiriusVariable__Group__4 + { + pushFollow(FOLLOW_3); + rule__SiriusVariable__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__3" + + + // $ANTLR start "rule__SiriusVariable__Group__3__Impl" + // InternalExpressionDSL.g:710:1: rule__SiriusVariable__Group__3__Impl : ( ':' ) ; + public final void rule__SiriusVariable__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:714:1: ( ( ':' ) ) + // InternalExpressionDSL.g:715:1: ( ':' ) + { + // InternalExpressionDSL.g:715:1: ( ':' ) + // InternalExpressionDSL.g:716:1: ':' + { + before(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); + match(input,13,FOLLOW_2); + after(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__3__Impl" + + + // $ANTLR start "rule__SiriusVariable__Group__4" + // InternalExpressionDSL.g:729:1: rule__SiriusVariable__Group__4 : rule__SiriusVariable__Group__4__Impl ; + public final void rule__SiriusVariable__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:733:1: ( rule__SiriusVariable__Group__4__Impl ) + // InternalExpressionDSL.g:734:2: rule__SiriusVariable__Group__4__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__4" + + + // $ANTLR start "rule__SiriusVariable__Group__4__Impl" + // InternalExpressionDSL.g:740:1: rule__SiriusVariable__Group__4__Impl : ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) ; + public final void rule__SiriusVariable__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:744:1: ( ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) ) + // InternalExpressionDSL.g:745:1: ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) + { + // InternalExpressionDSL.g:745:1: ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) + // InternalExpressionDSL.g:746:1: ( rule__SiriusVariable__ETypeAssignment_4 ) + { + before(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); + // InternalExpressionDSL.g:747:1: ( rule__SiriusVariable__ETypeAssignment_4 ) + // InternalExpressionDSL.g:747:2: rule__SiriusVariable__ETypeAssignment_4 + { + pushFollow(FOLLOW_2); + rule__SiriusVariable__ETypeAssignment_4(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__4__Impl" + + + // $ANTLR start "rule__FQN__Group__0" + // InternalExpressionDSL.g:767:1: rule__FQN__Group__0 : rule__FQN__Group__0__Impl rule__FQN__Group__1 ; + public final void rule__FQN__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:771:1: ( rule__FQN__Group__0__Impl rule__FQN__Group__1 ) + // InternalExpressionDSL.g:772:2: rule__FQN__Group__0__Impl rule__FQN__Group__1 + { + pushFollow(FOLLOW_12); + rule__FQN__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FQN__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group__0" + + + // $ANTLR start "rule__FQN__Group__0__Impl" + // InternalExpressionDSL.g:779:1: rule__FQN__Group__0__Impl : ( RULE_ID ) ; + public final void rule__FQN__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:783:1: ( ( RULE_ID ) ) + // InternalExpressionDSL.g:784:1: ( RULE_ID ) + { + // InternalExpressionDSL.g:784:1: ( RULE_ID ) + // InternalExpressionDSL.g:785:1: RULE_ID + { + before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group__0__Impl" + + + // $ANTLR start "rule__FQN__Group__1" + // InternalExpressionDSL.g:796:1: rule__FQN__Group__1 : rule__FQN__Group__1__Impl ; + public final void rule__FQN__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:800:1: ( rule__FQN__Group__1__Impl ) + // InternalExpressionDSL.g:801:2: rule__FQN__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__FQN__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group__1" + + + // $ANTLR start "rule__FQN__Group__1__Impl" + // InternalExpressionDSL.g:807:1: rule__FQN__Group__1__Impl : ( ( rule__FQN__Group_1__0 )* ) ; + public final void rule__FQN__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:811:1: ( ( ( rule__FQN__Group_1__0 )* ) ) + // InternalExpressionDSL.g:812:1: ( ( rule__FQN__Group_1__0 )* ) + { + // InternalExpressionDSL.g:812:1: ( ( rule__FQN__Group_1__0 )* ) + // InternalExpressionDSL.g:813:1: ( rule__FQN__Group_1__0 )* + { + before(grammarAccess.getFQNAccess().getGroup_1()); + // InternalExpressionDSL.g:814:1: ( rule__FQN__Group_1__0 )* + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==14) ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalExpressionDSL.g:814:2: rule__FQN__Group_1__0 + { + pushFollow(FOLLOW_13); + rule__FQN__Group_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop5; + } + } while (true); + + after(grammarAccess.getFQNAccess().getGroup_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group__1__Impl" + + + // $ANTLR start "rule__FQN__Group_1__0" + // InternalExpressionDSL.g:828:1: rule__FQN__Group_1__0 : rule__FQN__Group_1__0__Impl rule__FQN__Group_1__1 ; + public final void rule__FQN__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:832:1: ( rule__FQN__Group_1__0__Impl rule__FQN__Group_1__1 ) + // InternalExpressionDSL.g:833:2: rule__FQN__Group_1__0__Impl rule__FQN__Group_1__1 + { + pushFollow(FOLLOW_3); + rule__FQN__Group_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FQN__Group_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group_1__0" + + + // $ANTLR start "rule__FQN__Group_1__0__Impl" + // InternalExpressionDSL.g:840:1: rule__FQN__Group_1__0__Impl : ( '.' ) ; + public final void rule__FQN__Group_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:844:1: ( ( '.' ) ) + // InternalExpressionDSL.g:845:1: ( '.' ) + { + // InternalExpressionDSL.g:845:1: ( '.' ) + // InternalExpressionDSL.g:846:1: '.' + { + before(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); + match(input,14,FOLLOW_2); + after(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group_1__0__Impl" + + + // $ANTLR start "rule__FQN__Group_1__1" + // InternalExpressionDSL.g:859:1: rule__FQN__Group_1__1 : rule__FQN__Group_1__1__Impl ; + public final void rule__FQN__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:863:1: ( rule__FQN__Group_1__1__Impl ) + // InternalExpressionDSL.g:864:2: rule__FQN__Group_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__FQN__Group_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group_1__1" + + + // $ANTLR start "rule__FQN__Group_1__1__Impl" + // InternalExpressionDSL.g:870:1: rule__FQN__Group_1__1__Impl : ( RULE_ID ) ; + public final void rule__FQN__Group_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:874:1: ( ( RULE_ID ) ) + // InternalExpressionDSL.g:875:1: ( RULE_ID ) + { + // InternalExpressionDSL.g:875:1: ( RULE_ID ) + // InternalExpressionDSL.g:876:1: RULE_ID + { + before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group_1__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__0" + // InternalExpressionDSL.g:891:1: rule__SiriusExpressionDescription__Group__0 : rule__SiriusExpressionDescription__Group__0__Impl rule__SiriusExpressionDescription__Group__1 ; + public final void rule__SiriusExpressionDescription__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:895:1: ( rule__SiriusExpressionDescription__Group__0__Impl rule__SiriusExpressionDescription__Group__1 ) + // InternalExpressionDSL.g:896:2: rule__SiriusExpressionDescription__Group__0__Impl rule__SiriusExpressionDescription__Group__1 + { + pushFollow(FOLLOW_3); + rule__SiriusExpressionDescription__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__0" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__0__Impl" + // InternalExpressionDSL.g:903:1: rule__SiriusExpressionDescription__Group__0__Impl : ( 'exp' ) ; + public final void rule__SiriusExpressionDescription__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:907:1: ( ( 'exp' ) ) + // InternalExpressionDSL.g:908:1: ( 'exp' ) + { + // InternalExpressionDSL.g:908:1: ( 'exp' ) + // InternalExpressionDSL.g:909:1: 'exp' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); + match(input,15,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__1" + // InternalExpressionDSL.g:922:1: rule__SiriusExpressionDescription__Group__1 : rule__SiriusExpressionDescription__Group__1__Impl rule__SiriusExpressionDescription__Group__2 ; + public final void rule__SiriusExpressionDescription__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:926:1: ( rule__SiriusExpressionDescription__Group__1__Impl rule__SiriusExpressionDescription__Group__2 ) + // InternalExpressionDSL.g:927:2: rule__SiriusExpressionDescription__Group__1__Impl rule__SiriusExpressionDescription__Group__2 + { + pushFollow(FOLLOW_14); + rule__SiriusExpressionDescription__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__1" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__1__Impl" + // InternalExpressionDSL.g:934:1: rule__SiriusExpressionDescription__Group__1__Impl : ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) ; + public final void rule__SiriusExpressionDescription__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:938:1: ( ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) ) + // InternalExpressionDSL.g:939:1: ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) + { + // InternalExpressionDSL.g:939:1: ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) + // InternalExpressionDSL.g:940:1: ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); + // InternalExpressionDSL.g:941:1: ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) + // InternalExpressionDSL.g:941:2: rule__SiriusExpressionDescription__ExpressionAssignment_1 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__ExpressionAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__2" + // InternalExpressionDSL.g:951:1: rule__SiriusExpressionDescription__Group__2 : rule__SiriusExpressionDescription__Group__2__Impl rule__SiriusExpressionDescription__Group__3 ; + public final void rule__SiriusExpressionDescription__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:955:1: ( rule__SiriusExpressionDescription__Group__2__Impl rule__SiriusExpressionDescription__Group__3 ) + // InternalExpressionDSL.g:956:2: rule__SiriusExpressionDescription__Group__2__Impl rule__SiriusExpressionDescription__Group__3 + { + pushFollow(FOLLOW_15); + rule__SiriusExpressionDescription__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__2" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__2__Impl" + // InternalExpressionDSL.g:963:1: rule__SiriusExpressionDescription__Group__2__Impl : ( '(' ) ; + public final void rule__SiriusExpressionDescription__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:967:1: ( ( '(' ) ) + // InternalExpressionDSL.g:968:1: ( '(' ) + { + // InternalExpressionDSL.g:968:1: ( '(' ) + // InternalExpressionDSL.g:969:1: '(' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); + match(input,16,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__2__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__3" + // InternalExpressionDSL.g:982:1: rule__SiriusExpressionDescription__Group__3 : rule__SiriusExpressionDescription__Group__3__Impl rule__SiriusExpressionDescription__Group__4 ; + public final void rule__SiriusExpressionDescription__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:986:1: ( rule__SiriusExpressionDescription__Group__3__Impl rule__SiriusExpressionDescription__Group__4 ) + // InternalExpressionDSL.g:987:2: rule__SiriusExpressionDescription__Group__3__Impl rule__SiriusExpressionDescription__Group__4 + { + pushFollow(FOLLOW_15); + rule__SiriusExpressionDescription__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__3" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__3__Impl" + // InternalExpressionDSL.g:994:1: rule__SiriusExpressionDescription__Group__3__Impl : ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) ; + public final void rule__SiriusExpressionDescription__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:998:1: ( ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) ) + // InternalExpressionDSL.g:999:1: ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) + { + // InternalExpressionDSL.g:999:1: ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) + // InternalExpressionDSL.g:1000:1: ( rule__SiriusExpressionDescription__Group_3__0 )? + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); + // InternalExpressionDSL.g:1001:1: ( rule__SiriusExpressionDescription__Group_3__0 )? + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==RULE_ID||LA6_0==25) ) { + alt6=1; + } + switch (alt6) { + case 1 : + // InternalExpressionDSL.g:1001:2: rule__SiriusExpressionDescription__Group_3__0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_3__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__3__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__4" + // InternalExpressionDSL.g:1011:1: rule__SiriusExpressionDescription__Group__4 : rule__SiriusExpressionDescription__Group__4__Impl rule__SiriusExpressionDescription__Group__5 ; + public final void rule__SiriusExpressionDescription__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1015:1: ( rule__SiriusExpressionDescription__Group__4__Impl rule__SiriusExpressionDescription__Group__5 ) + // InternalExpressionDSL.g:1016:2: rule__SiriusExpressionDescription__Group__4__Impl rule__SiriusExpressionDescription__Group__5 + { + pushFollow(FOLLOW_11); + rule__SiriusExpressionDescription__Group__4__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__5(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__4" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__4__Impl" + // InternalExpressionDSL.g:1023:1: rule__SiriusExpressionDescription__Group__4__Impl : ( ')' ) ; + public final void rule__SiriusExpressionDescription__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1027:1: ( ( ')' ) ) + // InternalExpressionDSL.g:1028:1: ( ')' ) + { + // InternalExpressionDSL.g:1028:1: ( ')' ) + // InternalExpressionDSL.g:1029:1: ')' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); + match(input,17,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__4__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__5" + // InternalExpressionDSL.g:1042:1: rule__SiriusExpressionDescription__Group__5 : rule__SiriusExpressionDescription__Group__5__Impl rule__SiriusExpressionDescription__Group__6 ; + public final void rule__SiriusExpressionDescription__Group__5() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1046:1: ( rule__SiriusExpressionDescription__Group__5__Impl rule__SiriusExpressionDescription__Group__6 ) + // InternalExpressionDSL.g:1047:2: rule__SiriusExpressionDescription__Group__5__Impl rule__SiriusExpressionDescription__Group__6 + { + pushFollow(FOLLOW_3); + rule__SiriusExpressionDescription__Group__5__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__6(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__5" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__5__Impl" + // InternalExpressionDSL.g:1054:1: rule__SiriusExpressionDescription__Group__5__Impl : ( ':' ) ; + public final void rule__SiriusExpressionDescription__Group__5__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1058:1: ( ( ':' ) ) + // InternalExpressionDSL.g:1059:1: ( ':' ) + { + // InternalExpressionDSL.g:1059:1: ( ':' ) + // InternalExpressionDSL.g:1060:1: ':' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); + match(input,13,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__5__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__6" + // InternalExpressionDSL.g:1073:1: rule__SiriusExpressionDescription__Group__6 : rule__SiriusExpressionDescription__Group__6__Impl rule__SiriusExpressionDescription__Group__7 ; + public final void rule__SiriusExpressionDescription__Group__6() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1077:1: ( rule__SiriusExpressionDescription__Group__6__Impl rule__SiriusExpressionDescription__Group__7 ) + // InternalExpressionDSL.g:1078:2: rule__SiriusExpressionDescription__Group__6__Impl rule__SiriusExpressionDescription__Group__7 + { + pushFollow(FOLLOW_16); + rule__SiriusExpressionDescription__Group__6__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__7(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__6" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__6__Impl" + // InternalExpressionDSL.g:1085:1: rule__SiriusExpressionDescription__Group__6__Impl : ( ( rule__SiriusExpressionDescription__TypeAssignment_6 ) ) ; + public final void rule__SiriusExpressionDescription__Group__6__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1089:1: ( ( ( rule__SiriusExpressionDescription__TypeAssignment_6 ) ) ) + // InternalExpressionDSL.g:1090:1: ( ( rule__SiriusExpressionDescription__TypeAssignment_6 ) ) + { + // InternalExpressionDSL.g:1090:1: ( ( rule__SiriusExpressionDescription__TypeAssignment_6 ) ) + // InternalExpressionDSL.g:1091:1: ( rule__SiriusExpressionDescription__TypeAssignment_6 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeAssignment_6()); + // InternalExpressionDSL.g:1092:1: ( rule__SiriusExpressionDescription__TypeAssignment_6 ) + // InternalExpressionDSL.g:1092:2: rule__SiriusExpressionDescription__TypeAssignment_6 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__TypeAssignment_6(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeAssignment_6()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__6__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__7" + // InternalExpressionDSL.g:1102:1: rule__SiriusExpressionDescription__Group__7 : rule__SiriusExpressionDescription__Group__7__Impl rule__SiriusExpressionDescription__Group__8 ; + public final void rule__SiriusExpressionDescription__Group__7() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1106:1: ( rule__SiriusExpressionDescription__Group__7__Impl rule__SiriusExpressionDescription__Group__8 ) + // InternalExpressionDSL.g:1107:2: rule__SiriusExpressionDescription__Group__7__Impl rule__SiriusExpressionDescription__Group__8 + { + pushFollow(FOLLOW_17); + rule__SiriusExpressionDescription__Group__7__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__8(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__7" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__7__Impl" + // InternalExpressionDSL.g:1114:1: rule__SiriusExpressionDescription__Group__7__Impl : ( '[' ) ; + public final void rule__SiriusExpressionDescription__Group__7__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1118:1: ( ( '[' ) ) + // InternalExpressionDSL.g:1119:1: ( '[' ) + { + // InternalExpressionDSL.g:1119:1: ( '[' ) + // InternalExpressionDSL.g:1120:1: '[' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); + match(input,18,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__7__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__8" + // InternalExpressionDSL.g:1133:1: rule__SiriusExpressionDescription__Group__8 : rule__SiriusExpressionDescription__Group__8__Impl rule__SiriusExpressionDescription__Group__9 ; + public final void rule__SiriusExpressionDescription__Group__8() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1137:1: ( rule__SiriusExpressionDescription__Group__8__Impl rule__SiriusExpressionDescription__Group__9 ) + // InternalExpressionDSL.g:1138:2: rule__SiriusExpressionDescription__Group__8__Impl rule__SiriusExpressionDescription__Group__9 + { + pushFollow(FOLLOW_18); + rule__SiriusExpressionDescription__Group__8__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__9(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__8" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__8__Impl" + // InternalExpressionDSL.g:1145:1: rule__SiriusExpressionDescription__Group__8__Impl : ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) ; + public final void rule__SiriusExpressionDescription__Group__8__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1149:1: ( ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) ) + // InternalExpressionDSL.g:1150:1: ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) + { + // InternalExpressionDSL.g:1150:1: ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) + // InternalExpressionDSL.g:1151:1: ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); + // InternalExpressionDSL.g:1152:1: ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) + // InternalExpressionDSL.g:1152:2: rule__SiriusExpressionDescription__LowerBoundAssignment_8 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__LowerBoundAssignment_8(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__8__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__9" + // InternalExpressionDSL.g:1162:1: rule__SiriusExpressionDescription__Group__9 : rule__SiriusExpressionDescription__Group__9__Impl rule__SiriusExpressionDescription__Group__10 ; + public final void rule__SiriusExpressionDescription__Group__9() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1166:1: ( rule__SiriusExpressionDescription__Group__9__Impl rule__SiriusExpressionDescription__Group__10 ) + // InternalExpressionDSL.g:1167:2: rule__SiriusExpressionDescription__Group__9__Impl rule__SiriusExpressionDescription__Group__10 + { + pushFollow(FOLLOW_17); + rule__SiriusExpressionDescription__Group__9__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__10(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__9" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__9__Impl" + // InternalExpressionDSL.g:1174:1: rule__SiriusExpressionDescription__Group__9__Impl : ( '..' ) ; + public final void rule__SiriusExpressionDescription__Group__9__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1178:1: ( ( '..' ) ) + // InternalExpressionDSL.g:1179:1: ( '..' ) + { + // InternalExpressionDSL.g:1179:1: ( '..' ) + // InternalExpressionDSL.g:1180:1: '..' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); + match(input,19,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__9__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__10" + // InternalExpressionDSL.g:1193:1: rule__SiriusExpressionDescription__Group__10 : rule__SiriusExpressionDescription__Group__10__Impl rule__SiriusExpressionDescription__Group__11 ; + public final void rule__SiriusExpressionDescription__Group__10() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1197:1: ( rule__SiriusExpressionDescription__Group__10__Impl rule__SiriusExpressionDescription__Group__11 ) + // InternalExpressionDSL.g:1198:2: rule__SiriusExpressionDescription__Group__10__Impl rule__SiriusExpressionDescription__Group__11 + { + pushFollow(FOLLOW_19); + rule__SiriusExpressionDescription__Group__10__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__11(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__10" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__10__Impl" + // InternalExpressionDSL.g:1205:1: rule__SiriusExpressionDescription__Group__10__Impl : ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) ; + public final void rule__SiriusExpressionDescription__Group__10__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1209:1: ( ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) ) + // InternalExpressionDSL.g:1210:1: ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) + { + // InternalExpressionDSL.g:1210:1: ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) + // InternalExpressionDSL.g:1211:1: ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); + // InternalExpressionDSL.g:1212:1: ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) + // InternalExpressionDSL.g:1212:2: rule__SiriusExpressionDescription__UpperBoundAssignment_10 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__UpperBoundAssignment_10(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__10__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__11" + // InternalExpressionDSL.g:1222:1: rule__SiriusExpressionDescription__Group__11 : rule__SiriusExpressionDescription__Group__11__Impl rule__SiriusExpressionDescription__Group__12 ; + public final void rule__SiriusExpressionDescription__Group__11() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1226:1: ( rule__SiriusExpressionDescription__Group__11__Impl rule__SiriusExpressionDescription__Group__12 ) + // InternalExpressionDSL.g:1227:2: rule__SiriusExpressionDescription__Group__11__Impl rule__SiriusExpressionDescription__Group__12 + { + pushFollow(FOLLOW_4); + rule__SiriusExpressionDescription__Group__11__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__12(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__11" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__11__Impl" + // InternalExpressionDSL.g:1234:1: rule__SiriusExpressionDescription__Group__11__Impl : ( ']' ) ; + public final void rule__SiriusExpressionDescription__Group__11__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1238:1: ( ( ']' ) ) + // InternalExpressionDSL.g:1239:1: ( ']' ) + { + // InternalExpressionDSL.g:1239:1: ( ']' ) + // InternalExpressionDSL.g:1240:1: ']' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); + match(input,20,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__11__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__12" + // InternalExpressionDSL.g:1253:1: rule__SiriusExpressionDescription__Group__12 : rule__SiriusExpressionDescription__Group__12__Impl rule__SiriusExpressionDescription__Group__13 ; + public final void rule__SiriusExpressionDescription__Group__12() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1257:1: ( rule__SiriusExpressionDescription__Group__12__Impl rule__SiriusExpressionDescription__Group__13 ) + // InternalExpressionDSL.g:1258:2: rule__SiriusExpressionDescription__Group__12__Impl rule__SiriusExpressionDescription__Group__13 + { + pushFollow(FOLLOW_20); + rule__SiriusExpressionDescription__Group__12__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__13(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__12" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__12__Impl" + // InternalExpressionDSL.g:1265:1: rule__SiriusExpressionDescription__Group__12__Impl : ( '{' ) ; + public final void rule__SiriusExpressionDescription__Group__12__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1269:1: ( ( '{' ) ) + // InternalExpressionDSL.g:1270:1: ( '{' ) + { + // InternalExpressionDSL.g:1270:1: ( '{' ) + // InternalExpressionDSL.g:1271:1: '{' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); + match(input,9,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__12__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__13" + // InternalExpressionDSL.g:1284:1: rule__SiriusExpressionDescription__Group__13 : rule__SiriusExpressionDescription__Group__13__Impl rule__SiriusExpressionDescription__Group__14 ; + public final void rule__SiriusExpressionDescription__Group__13() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1288:1: ( rule__SiriusExpressionDescription__Group__13__Impl rule__SiriusExpressionDescription__Group__14 ) + // InternalExpressionDSL.g:1289:2: rule__SiriusExpressionDescription__Group__13__Impl rule__SiriusExpressionDescription__Group__14 + { + pushFollow(FOLLOW_21); + rule__SiriusExpressionDescription__Group__13__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__14(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__13" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__13__Impl" + // InternalExpressionDSL.g:1296:1: rule__SiriusExpressionDescription__Group__13__Impl : ( 'contextableElements' ) ; + public final void rule__SiriusExpressionDescription__Group__13__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1300:1: ( ( 'contextableElements' ) ) + // InternalExpressionDSL.g:1301:1: ( 'contextableElements' ) + { + // InternalExpressionDSL.g:1301:1: ( 'contextableElements' ) + // InternalExpressionDSL.g:1302:1: 'contextableElements' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsKeyword_13()); + match(input,21,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsKeyword_13()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__13__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__14" + // InternalExpressionDSL.g:1315:1: rule__SiriusExpressionDescription__Group__14 : rule__SiriusExpressionDescription__Group__14__Impl rule__SiriusExpressionDescription__Group__15 ; + public final void rule__SiriusExpressionDescription__Group__14() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1319:1: ( rule__SiriusExpressionDescription__Group__14__Impl rule__SiriusExpressionDescription__Group__15 ) + // InternalExpressionDSL.g:1320:2: rule__SiriusExpressionDescription__Group__14__Impl rule__SiriusExpressionDescription__Group__15 + { + pushFollow(FOLLOW_16); + rule__SiriusExpressionDescription__Group__14__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__15(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__14" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__14__Impl" + // InternalExpressionDSL.g:1327:1: rule__SiriusExpressionDescription__Group__14__Impl : ( '=' ) ; + public final void rule__SiriusExpressionDescription__Group__14__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1331:1: ( ( '=' ) ) + // InternalExpressionDSL.g:1332:1: ( '=' ) + { + // InternalExpressionDSL.g:1332:1: ( '=' ) + // InternalExpressionDSL.g:1333:1: '=' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); + match(input,22,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__14__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__15" + // InternalExpressionDSL.g:1346:1: rule__SiriusExpressionDescription__Group__15 : rule__SiriusExpressionDescription__Group__15__Impl rule__SiriusExpressionDescription__Group__16 ; + public final void rule__SiriusExpressionDescription__Group__15() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1350:1: ( rule__SiriusExpressionDescription__Group__15__Impl rule__SiriusExpressionDescription__Group__16 ) + // InternalExpressionDSL.g:1351:2: rule__SiriusExpressionDescription__Group__15__Impl rule__SiriusExpressionDescription__Group__16 + { + pushFollow(FOLLOW_22); + rule__SiriusExpressionDescription__Group__15__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__16(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__15" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__15__Impl" + // InternalExpressionDSL.g:1358:1: rule__SiriusExpressionDescription__Group__15__Impl : ( '[' ) ; + public final void rule__SiriusExpressionDescription__Group__15__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1362:1: ( ( '[' ) ) + // InternalExpressionDSL.g:1363:1: ( '[' ) + { + // InternalExpressionDSL.g:1363:1: ( '[' ) + // InternalExpressionDSL.g:1364:1: '[' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); + match(input,18,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__15__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__16" + // InternalExpressionDSL.g:1377:1: rule__SiriusExpressionDescription__Group__16 : rule__SiriusExpressionDescription__Group__16__Impl rule__SiriusExpressionDescription__Group__17 ; + public final void rule__SiriusExpressionDescription__Group__16() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1381:1: ( rule__SiriusExpressionDescription__Group__16__Impl rule__SiriusExpressionDescription__Group__17 ) + // InternalExpressionDSL.g:1382:2: rule__SiriusExpressionDescription__Group__16__Impl rule__SiriusExpressionDescription__Group__17 + { + pushFollow(FOLLOW_22); + rule__SiriusExpressionDescription__Group__16__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__17(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__16" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__16__Impl" + // InternalExpressionDSL.g:1389:1: rule__SiriusExpressionDescription__Group__16__Impl : ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) ; + public final void rule__SiriusExpressionDescription__Group__16__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1393:1: ( ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) ) + // InternalExpressionDSL.g:1394:1: ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) + { + // InternalExpressionDSL.g:1394:1: ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) + // InternalExpressionDSL.g:1395:1: ( rule__SiriusExpressionDescription__Group_16__0 )? + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); + // InternalExpressionDSL.g:1396:1: ( rule__SiriusExpressionDescription__Group_16__0 )? + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0==RULE_ID) ) { + alt7=1; + } + switch (alt7) { + case 1 : + // InternalExpressionDSL.g:1396:2: rule__SiriusExpressionDescription__Group_16__0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_16__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__16__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__17" + // InternalExpressionDSL.g:1406:1: rule__SiriusExpressionDescription__Group__17 : rule__SiriusExpressionDescription__Group__17__Impl rule__SiriusExpressionDescription__Group__18 ; + public final void rule__SiriusExpressionDescription__Group__17() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1410:1: ( rule__SiriusExpressionDescription__Group__17__Impl rule__SiriusExpressionDescription__Group__18 ) + // InternalExpressionDSL.g:1411:2: rule__SiriusExpressionDescription__Group__17__Impl rule__SiriusExpressionDescription__Group__18 + { + pushFollow(FOLLOW_23); + rule__SiriusExpressionDescription__Group__17__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__18(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__17" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__17__Impl" + // InternalExpressionDSL.g:1418:1: rule__SiriusExpressionDescription__Group__17__Impl : ( ']' ) ; + public final void rule__SiriusExpressionDescription__Group__17__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1422:1: ( ( ']' ) ) + // InternalExpressionDSL.g:1423:1: ( ']' ) + { + // InternalExpressionDSL.g:1423:1: ( ']' ) + // InternalExpressionDSL.g:1424:1: ']' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); + match(input,20,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__17__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__18" + // InternalExpressionDSL.g:1437:1: rule__SiriusExpressionDescription__Group__18 : rule__SiriusExpressionDescription__Group__18__Impl ; + public final void rule__SiriusExpressionDescription__Group__18() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1441:1: ( rule__SiriusExpressionDescription__Group__18__Impl ) + // InternalExpressionDSL.g:1442:2: rule__SiriusExpressionDescription__Group__18__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__18__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__18" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__18__Impl" + // InternalExpressionDSL.g:1448:1: rule__SiriusExpressionDescription__Group__18__Impl : ( '}' ) ; + public final void rule__SiriusExpressionDescription__Group__18__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1452:1: ( ( '}' ) ) + // InternalExpressionDSL.g:1453:1: ( '}' ) + { + // InternalExpressionDSL.g:1453:1: ( '}' ) + // InternalExpressionDSL.g:1454:1: '}' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); + match(input,10,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__18__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3__0" + // InternalExpressionDSL.g:1505:1: rule__SiriusExpressionDescription__Group_3__0 : rule__SiriusExpressionDescription__Group_3__0__Impl rule__SiriusExpressionDescription__Group_3__1 ; + public final void rule__SiriusExpressionDescription__Group_3__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1509:1: ( rule__SiriusExpressionDescription__Group_3__0__Impl rule__SiriusExpressionDescription__Group_3__1 ) + // InternalExpressionDSL.g:1510:2: rule__SiriusExpressionDescription__Group_3__0__Impl rule__SiriusExpressionDescription__Group_3__1 + { + pushFollow(FOLLOW_24); + rule__SiriusExpressionDescription__Group_3__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_3__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3__0" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3__0__Impl" + // InternalExpressionDSL.g:1517:1: rule__SiriusExpressionDescription__Group_3__0__Impl : ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) ; + public final void rule__SiriusExpressionDescription__Group_3__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1521:1: ( ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) ) + // InternalExpressionDSL.g:1522:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) + { + // InternalExpressionDSL.g:1522:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) + // InternalExpressionDSL.g:1523:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); + // InternalExpressionDSL.g:1524:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) + // InternalExpressionDSL.g:1524:2: rule__SiriusExpressionDescription__ParametersAssignment_3_0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__ParametersAssignment_3_0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3__1" + // InternalExpressionDSL.g:1534:1: rule__SiriusExpressionDescription__Group_3__1 : rule__SiriusExpressionDescription__Group_3__1__Impl ; + public final void rule__SiriusExpressionDescription__Group_3__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1538:1: ( rule__SiriusExpressionDescription__Group_3__1__Impl ) + // InternalExpressionDSL.g:1539:2: rule__SiriusExpressionDescription__Group_3__1__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_3__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3__1" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3__1__Impl" + // InternalExpressionDSL.g:1545:1: rule__SiriusExpressionDescription__Group_3__1__Impl : ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) ; + public final void rule__SiriusExpressionDescription__Group_3__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1549:1: ( ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) ) + // InternalExpressionDSL.g:1550:1: ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) + { + // InternalExpressionDSL.g:1550:1: ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) + // InternalExpressionDSL.g:1551:1: ( rule__SiriusExpressionDescription__Group_3_1__0 )* + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); + // InternalExpressionDSL.g:1552:1: ( rule__SiriusExpressionDescription__Group_3_1__0 )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); + + if ( (LA8_0==23) ) { + alt8=1; + } + + + switch (alt8) { + case 1 : + // InternalExpressionDSL.g:1552:2: rule__SiriusExpressionDescription__Group_3_1__0 + { + pushFollow(FOLLOW_25); + rule__SiriusExpressionDescription__Group_3_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop8; + } + } while (true); + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__0" + // InternalExpressionDSL.g:1566:1: rule__SiriusExpressionDescription__Group_3_1__0 : rule__SiriusExpressionDescription__Group_3_1__0__Impl rule__SiriusExpressionDescription__Group_3_1__1 ; + public final void rule__SiriusExpressionDescription__Group_3_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1570:1: ( rule__SiriusExpressionDescription__Group_3_1__0__Impl rule__SiriusExpressionDescription__Group_3_1__1 ) + // InternalExpressionDSL.g:1571:2: rule__SiriusExpressionDescription__Group_3_1__0__Impl rule__SiriusExpressionDescription__Group_3_1__1 + { + pushFollow(FOLLOW_26); + rule__SiriusExpressionDescription__Group_3_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_3_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__0" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__0__Impl" + // InternalExpressionDSL.g:1578:1: rule__SiriusExpressionDescription__Group_3_1__0__Impl : ( ',' ) ; + public final void rule__SiriusExpressionDescription__Group_3_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1582:1: ( ( ',' ) ) + // InternalExpressionDSL.g:1583:1: ( ',' ) + { + // InternalExpressionDSL.g:1583:1: ( ',' ) + // InternalExpressionDSL.g:1584:1: ',' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); + match(input,23,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__1" + // InternalExpressionDSL.g:1597:1: rule__SiriusExpressionDescription__Group_3_1__1 : rule__SiriusExpressionDescription__Group_3_1__1__Impl ; + public final void rule__SiriusExpressionDescription__Group_3_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1601:1: ( rule__SiriusExpressionDescription__Group_3_1__1__Impl ) + // InternalExpressionDSL.g:1602:2: rule__SiriusExpressionDescription__Group_3_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_3_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__1" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__1__Impl" + // InternalExpressionDSL.g:1608:1: rule__SiriusExpressionDescription__Group_3_1__1__Impl : ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) ; + public final void rule__SiriusExpressionDescription__Group_3_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1612:1: ( ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) ) + // InternalExpressionDSL.g:1613:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) + { + // InternalExpressionDSL.g:1613:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) + // InternalExpressionDSL.g:1614:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); + // InternalExpressionDSL.g:1615:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) + // InternalExpressionDSL.g:1615:2: rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__ParametersAssignment_3_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16__0" + // InternalExpressionDSL.g:1629:1: rule__SiriusExpressionDescription__Group_16__0 : rule__SiriusExpressionDescription__Group_16__0__Impl rule__SiriusExpressionDescription__Group_16__1 ; + public final void rule__SiriusExpressionDescription__Group_16__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1633:1: ( rule__SiriusExpressionDescription__Group_16__0__Impl rule__SiriusExpressionDescription__Group_16__1 ) + // InternalExpressionDSL.g:1634:2: rule__SiriusExpressionDescription__Group_16__0__Impl rule__SiriusExpressionDescription__Group_16__1 + { + pushFollow(FOLLOW_24); + rule__SiriusExpressionDescription__Group_16__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_16__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16__0" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16__0__Impl" + // InternalExpressionDSL.g:1641:1: rule__SiriusExpressionDescription__Group_16__0__Impl : ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 ) ) ; + public final void rule__SiriusExpressionDescription__Group_16__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1645:1: ( ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 ) ) ) + // InternalExpressionDSL.g:1646:1: ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 ) ) + { + // InternalExpressionDSL.g:1646:1: ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 ) ) + // InternalExpressionDSL.g:1647:1: ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_0()); + // InternalExpressionDSL.g:1648:1: ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 ) + // InternalExpressionDSL.g:1648:2: rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16__1" + // InternalExpressionDSL.g:1658:1: rule__SiriusExpressionDescription__Group_16__1 : rule__SiriusExpressionDescription__Group_16__1__Impl ; + public final void rule__SiriusExpressionDescription__Group_16__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1662:1: ( rule__SiriusExpressionDescription__Group_16__1__Impl ) + // InternalExpressionDSL.g:1663:2: rule__SiriusExpressionDescription__Group_16__1__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_16__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16__1" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16__1__Impl" + // InternalExpressionDSL.g:1669:1: rule__SiriusExpressionDescription__Group_16__1__Impl : ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) ; + public final void rule__SiriusExpressionDescription__Group_16__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1673:1: ( ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) ) + // InternalExpressionDSL.g:1674:1: ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) + { + // InternalExpressionDSL.g:1674:1: ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) + // InternalExpressionDSL.g:1675:1: ( rule__SiriusExpressionDescription__Group_16_1__0 )* + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); + // InternalExpressionDSL.g:1676:1: ( rule__SiriusExpressionDescription__Group_16_1__0 )* + loop9: + do { + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==23) ) { + alt9=1; + } + + + switch (alt9) { + case 1 : + // InternalExpressionDSL.g:1676:2: rule__SiriusExpressionDescription__Group_16_1__0 + { + pushFollow(FOLLOW_25); + rule__SiriusExpressionDescription__Group_16_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop9; + } + } while (true); + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__0" + // InternalExpressionDSL.g:1690:1: rule__SiriusExpressionDescription__Group_16_1__0 : rule__SiriusExpressionDescription__Group_16_1__0__Impl rule__SiriusExpressionDescription__Group_16_1__1 ; + public final void rule__SiriusExpressionDescription__Group_16_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1694:1: ( rule__SiriusExpressionDescription__Group_16_1__0__Impl rule__SiriusExpressionDescription__Group_16_1__1 ) + // InternalExpressionDSL.g:1695:2: rule__SiriusExpressionDescription__Group_16_1__0__Impl rule__SiriusExpressionDescription__Group_16_1__1 + { + pushFollow(FOLLOW_3); + rule__SiriusExpressionDescription__Group_16_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_16_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__0" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__0__Impl" + // InternalExpressionDSL.g:1702:1: rule__SiriusExpressionDescription__Group_16_1__0__Impl : ( ',' ) ; + public final void rule__SiriusExpressionDescription__Group_16_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1706:1: ( ( ',' ) ) + // InternalExpressionDSL.g:1707:1: ( ',' ) + { + // InternalExpressionDSL.g:1707:1: ( ',' ) + // InternalExpressionDSL.g:1708:1: ',' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); + match(input,23,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__1" + // InternalExpressionDSL.g:1721:1: rule__SiriusExpressionDescription__Group_16_1__1 : rule__SiriusExpressionDescription__Group_16_1__1__Impl ; + public final void rule__SiriusExpressionDescription__Group_16_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1725:1: ( rule__SiriusExpressionDescription__Group_16_1__1__Impl ) + // InternalExpressionDSL.g:1726:2: rule__SiriusExpressionDescription__Group_16_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_16_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__1" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__1__Impl" + // InternalExpressionDSL.g:1732:1: rule__SiriusExpressionDescription__Group_16_1__1__Impl : ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 ) ) ; + public final void rule__SiriusExpressionDescription__Group_16_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1736:1: ( ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 ) ) ) + // InternalExpressionDSL.g:1737:1: ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 ) ) + { + // InternalExpressionDSL.g:1737:1: ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 ) ) + // InternalExpressionDSL.g:1738:1: ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_1_1()); + // InternalExpressionDSL.g:1739:1: ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 ) + // InternalExpressionDSL.g:1739:2: rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__1__Impl" + + + // $ANTLR start "rule__Parameter__Group__0" + // InternalExpressionDSL.g:1753:1: rule__Parameter__Group__0 : rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ; + public final void rule__Parameter__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1757:1: ( rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ) + // InternalExpressionDSL.g:1758:2: rule__Parameter__Group__0__Impl rule__Parameter__Group__1 + { + pushFollow(FOLLOW_26); + rule__Parameter__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Parameter__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Parameter__Group__0" + + + // $ANTLR start "rule__Parameter__Group__0__Impl" + // InternalExpressionDSL.g:1765:1: rule__Parameter__Group__0__Impl : ( ( rule__Parameter__OptionalAssignment_0 )? ) ; + public final void rule__Parameter__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1769:1: ( ( ( rule__Parameter__OptionalAssignment_0 )? ) ) + // InternalExpressionDSL.g:1770:1: ( ( rule__Parameter__OptionalAssignment_0 )? ) + { + // InternalExpressionDSL.g:1770:1: ( ( rule__Parameter__OptionalAssignment_0 )? ) + // InternalExpressionDSL.g:1771:1: ( rule__Parameter__OptionalAssignment_0 )? + { + before(grammarAccess.getParameterAccess().getOptionalAssignment_0()); + // InternalExpressionDSL.g:1772:1: ( rule__Parameter__OptionalAssignment_0 )? + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==25) ) { + alt10=1; + } + switch (alt10) { + case 1 : + // InternalExpressionDSL.g:1772:2: rule__Parameter__OptionalAssignment_0 + { + pushFollow(FOLLOW_2); + rule__Parameter__OptionalAssignment_0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getParameterAccess().getOptionalAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Parameter__Group__0__Impl" + + + // $ANTLR start "rule__Parameter__Group__1" + // InternalExpressionDSL.g:1782:1: rule__Parameter__Group__1 : rule__Parameter__Group__1__Impl ; + public final void rule__Parameter__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1786:1: ( rule__Parameter__Group__1__Impl ) + // InternalExpressionDSL.g:1787:2: rule__Parameter__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__Parameter__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Parameter__Group__1" + + + // $ANTLR start "rule__Parameter__Group__1__Impl" + // InternalExpressionDSL.g:1793:1: rule__Parameter__Group__1__Impl : ( ( rule__Parameter__VariableAssignment_1 ) ) ; + public final void rule__Parameter__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1797:1: ( ( ( rule__Parameter__VariableAssignment_1 ) ) ) + // InternalExpressionDSL.g:1798:1: ( ( rule__Parameter__VariableAssignment_1 ) ) + { + // InternalExpressionDSL.g:1798:1: ( ( rule__Parameter__VariableAssignment_1 ) ) + // InternalExpressionDSL.g:1799:1: ( rule__Parameter__VariableAssignment_1 ) + { + before(grammarAccess.getParameterAccess().getVariableAssignment_1()); + // InternalExpressionDSL.g:1800:1: ( rule__Parameter__VariableAssignment_1 ) + // InternalExpressionDSL.g:1800:2: rule__Parameter__VariableAssignment_1 + { + pushFollow(FOLLOW_2); + rule__Parameter__VariableAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getParameterAccess().getVariableAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Parameter__Group__1__Impl" + + + // $ANTLR start "rule__Bound__Group__0" + // InternalExpressionDSL.g:1814:1: rule__Bound__Group__0 : rule__Bound__Group__0__Impl rule__Bound__Group__1 ; + public final void rule__Bound__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1818:1: ( rule__Bound__Group__0__Impl rule__Bound__Group__1 ) + // InternalExpressionDSL.g:1819:2: rule__Bound__Group__0__Impl rule__Bound__Group__1 + { + pushFollow(FOLLOW_17); + rule__Bound__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Bound__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Bound__Group__0" + + + // $ANTLR start "rule__Bound__Group__0__Impl" + // InternalExpressionDSL.g:1826:1: rule__Bound__Group__0__Impl : ( ( '-' )? ) ; + public final void rule__Bound__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1830:1: ( ( ( '-' )? ) ) + // InternalExpressionDSL.g:1831:1: ( ( '-' )? ) + { + // InternalExpressionDSL.g:1831:1: ( ( '-' )? ) + // InternalExpressionDSL.g:1832:1: ( '-' )? + { + before(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); + // InternalExpressionDSL.g:1833:1: ( '-' )? + int alt11=2; + int LA11_0 = input.LA(1); + + if ( (LA11_0==24) ) { + alt11=1; + } + switch (alt11) { + case 1 : + // InternalExpressionDSL.g:1834:2: '-' + { + match(input,24,FOLLOW_2); + + } + break; + + } + + after(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Bound__Group__0__Impl" + + + // $ANTLR start "rule__Bound__Group__1" + // InternalExpressionDSL.g:1845:1: rule__Bound__Group__1 : rule__Bound__Group__1__Impl ; + public final void rule__Bound__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1849:1: ( rule__Bound__Group__1__Impl ) + // InternalExpressionDSL.g:1850:2: rule__Bound__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__Bound__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Bound__Group__1" + + + // $ANTLR start "rule__Bound__Group__1__Impl" + // InternalExpressionDSL.g:1856:1: rule__Bound__Group__1__Impl : ( RULE_INT ) ; + public final void rule__Bound__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1860:1: ( ( RULE_INT ) ) + // InternalExpressionDSL.g:1861:1: ( RULE_INT ) + { + // InternalExpressionDSL.g:1861:1: ( RULE_INT ) + // InternalExpressionDSL.g:1862:1: RULE_INT + { + before(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Bound__Group__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionPackage__EPackageAssignment_1" + // InternalExpressionDSL.g:1878:1: rule__SiriusExpressionPackage__EPackageAssignment_1 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionPackage__EPackageAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1882:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionDSL.g:1883:1: ( ( ruleFQN ) ) + { + // InternalExpressionDSL.g:1883:1: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:1884:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); + // InternalExpressionDSL.g:1885:1: ( ruleFQN ) + // InternalExpressionDSL.g:1886:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageFQNParserRuleCall_1_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageFQNParserRuleCall_1_0_1()); + + } + + after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__EPackageAssignment_1" + + + // $ANTLR start "rule__SiriusExpressionPackage__ExpressionClassesAssignment_3" + // InternalExpressionDSL.g:1897:1: rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 : ( ruleSiriusExpressionClass ) ; + public final void rule__SiriusExpressionPackage__ExpressionClassesAssignment_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1901:1: ( ( ruleSiriusExpressionClass ) ) + // InternalExpressionDSL.g:1902:1: ( ruleSiriusExpressionClass ) + { + // InternalExpressionDSL.g:1902:1: ( ruleSiriusExpressionClass ) + // InternalExpressionDSL.g:1903:1: ruleSiriusExpressionClass + { + before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); + pushFollow(FOLLOW_2); + ruleSiriusExpressionClass(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__ExpressionClassesAssignment_3" + + + // $ANTLR start "rule__SiriusExpressionClass__EClassAssignment_1" + // InternalExpressionDSL.g:1912:1: rule__SiriusExpressionClass__EClassAssignment_1 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionClass__EClassAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1916:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionDSL.g:1917:1: ( ( ruleFQN ) ) + { + // InternalExpressionDSL.g:1917:1: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:1918:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); + // InternalExpressionDSL.g:1919:1: ( ruleFQN ) + // InternalExpressionDSL.g:1920:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); + + } + + after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__EClassAssignment_1" + + + // $ANTLR start "rule__SiriusExpressionClass__VariablesAssignment_3" + // InternalExpressionDSL.g:1931:1: rule__SiriusExpressionClass__VariablesAssignment_3 : ( ruleSiriusVariable ) ; + public final void rule__SiriusExpressionClass__VariablesAssignment_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1935:1: ( ( ruleSiriusVariable ) ) + // InternalExpressionDSL.g:1936:1: ( ruleSiriusVariable ) + { + // InternalExpressionDSL.g:1936:1: ( ruleSiriusVariable ) + // InternalExpressionDSL.g:1937:1: ruleSiriusVariable + { + before(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); + pushFollow(FOLLOW_2); + ruleSiriusVariable(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__VariablesAssignment_3" + + + // $ANTLR start "rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4" + // InternalExpressionDSL.g:1946:1: rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 : ( ruleSiriusExpressionDescription ) ; + public final void rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1950:1: ( ( ruleSiriusExpressionDescription ) ) + // InternalExpressionDSL.g:1951:1: ( ruleSiriusExpressionDescription ) + { + // InternalExpressionDSL.g:1951:1: ( ruleSiriusExpressionDescription ) + // InternalExpressionDSL.g:1952:1: ruleSiriusExpressionDescription + { + before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); + pushFollow(FOLLOW_2); + ruleSiriusExpressionDescription(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4" + + + // $ANTLR start "rule__SiriusVariable__DocumentationAssignment_0" + // InternalExpressionDSL.g:1961:1: rule__SiriusVariable__DocumentationAssignment_0 : ( RULE_ML_COMMENT ) ; + public final void rule__SiriusVariable__DocumentationAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1965:1: ( ( RULE_ML_COMMENT ) ) + // InternalExpressionDSL.g:1966:1: ( RULE_ML_COMMENT ) + { + // InternalExpressionDSL.g:1966:1: ( RULE_ML_COMMENT ) + // InternalExpressionDSL.g:1967:1: RULE_ML_COMMENT + { + before(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); + match(input,RULE_ML_COMMENT,FOLLOW_2); + after(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__DocumentationAssignment_0" + + + // $ANTLR start "rule__SiriusVariable__NameAssignment_2" + // InternalExpressionDSL.g:1976:1: rule__SiriusVariable__NameAssignment_2 : ( RULE_ID ) ; + public final void rule__SiriusVariable__NameAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1980:1: ( ( RULE_ID ) ) + // InternalExpressionDSL.g:1981:1: ( RULE_ID ) + { + // InternalExpressionDSL.g:1981:1: ( RULE_ID ) + // InternalExpressionDSL.g:1982:1: RULE_ID + { + before(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__NameAssignment_2" + + + // $ANTLR start "rule__SiriusVariable__ETypeAssignment_4" + // InternalExpressionDSL.g:1991:1: rule__SiriusVariable__ETypeAssignment_4 : ( ( ruleFQN ) ) ; + public final void rule__SiriusVariable__ETypeAssignment_4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:1995:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionDSL.g:1996:1: ( ( ruleFQN ) ) + { + // InternalExpressionDSL.g:1996:1: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:1997:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); + // InternalExpressionDSL.g:1998:1: ( ruleFQN ) + // InternalExpressionDSL.g:1999:1: ruleFQN + { + before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); + + } + + after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__ETypeAssignment_4" + + + // $ANTLR start "rule__SiriusExpressionDescription__ExpressionAssignment_1" + // InternalExpressionDSL.g:2010:1: rule__SiriusExpressionDescription__ExpressionAssignment_1 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionDescription__ExpressionAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:2014:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionDSL.g:2015:1: ( ( ruleFQN ) ) + { + // InternalExpressionDSL.g:2015:1: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:2016:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); + // InternalExpressionDSL.g:2017:1: ( ruleFQN ) + // InternalExpressionDSL.g:2018:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__ExpressionAssignment_1" + + + // $ANTLR start "rule__SiriusExpressionDescription__ParametersAssignment_3_0" + // InternalExpressionDSL.g:2029:1: rule__SiriusExpressionDescription__ParametersAssignment_3_0 : ( ruleParameter ) ; + public final void rule__SiriusExpressionDescription__ParametersAssignment_3_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:2033:1: ( ( ruleParameter ) ) + // InternalExpressionDSL.g:2034:1: ( ruleParameter ) + { + // InternalExpressionDSL.g:2034:1: ( ruleParameter ) + // InternalExpressionDSL.g:2035:1: ruleParameter + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_0_0()); + pushFollow(FOLLOW_2); + ruleParameter(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__ParametersAssignment_3_0" + + + // $ANTLR start "rule__SiriusExpressionDescription__ParametersAssignment_3_1_1" + // InternalExpressionDSL.g:2044:1: rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 : ( ruleParameter ) ; + public final void rule__SiriusExpressionDescription__ParametersAssignment_3_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:2048:1: ( ( ruleParameter ) ) + // InternalExpressionDSL.g:2049:1: ( ruleParameter ) + { + // InternalExpressionDSL.g:2049:1: ( ruleParameter ) + // InternalExpressionDSL.g:2050:1: ruleParameter + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_1_1_0()); + pushFollow(FOLLOW_2); + ruleParameter(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__ParametersAssignment_3_1_1" + + + // $ANTLR start "rule__SiriusExpressionDescription__TypeAssignment_6" + // InternalExpressionDSL.g:2059:1: rule__SiriusExpressionDescription__TypeAssignment_6 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionDescription__TypeAssignment_6() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:2063:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionDSL.g:2064:1: ( ( ruleFQN ) ) + { + // InternalExpressionDSL.g:2064:1: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:2065:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierCrossReference_6_0()); + // InternalExpressionDSL.g:2066:1: ( ruleFQN ) + // InternalExpressionDSL.g:2067:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierFQNParserRuleCall_6_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierFQNParserRuleCall_6_0_1()); + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierCrossReference_6_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__TypeAssignment_6" + + + // $ANTLR start "rule__SiriusExpressionDescription__LowerBoundAssignment_8" + // InternalExpressionDSL.g:2078:1: rule__SiriusExpressionDescription__LowerBoundAssignment_8 : ( ruleBound ) ; + public final void rule__SiriusExpressionDescription__LowerBoundAssignment_8() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:2082:1: ( ( ruleBound ) ) + // InternalExpressionDSL.g:2083:1: ( ruleBound ) + { + // InternalExpressionDSL.g:2083:1: ( ruleBound ) + // InternalExpressionDSL.g:2084:1: ruleBound + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); + pushFollow(FOLLOW_2); + ruleBound(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__LowerBoundAssignment_8" + + + // $ANTLR start "rule__SiriusExpressionDescription__UpperBoundAssignment_10" + // InternalExpressionDSL.g:2093:1: rule__SiriusExpressionDescription__UpperBoundAssignment_10 : ( ruleBound ) ; + public final void rule__SiriusExpressionDescription__UpperBoundAssignment_10() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:2097:1: ( ( ruleBound ) ) + // InternalExpressionDSL.g:2098:1: ( ruleBound ) + { + // InternalExpressionDSL.g:2098:1: ( ruleBound ) + // InternalExpressionDSL.g:2099:1: ruleBound + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); + pushFollow(FOLLOW_2); + ruleBound(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__UpperBoundAssignment_10" + + + // $ANTLR start "rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0" + // InternalExpressionDSL.g:2108:1: rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:2112:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionDSL.g:2113:1: ( ( ruleFQN ) ) + { + // InternalExpressionDSL.g:2113:1: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:2114:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_0_0()); + // InternalExpressionDSL.g:2115:1: ( ruleFQN ) + // InternalExpressionDSL.g:2116:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_0_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_0_0_1()); + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0" + + + // $ANTLR start "rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1" + // InternalExpressionDSL.g:2127:1: rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:2131:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionDSL.g:2132:1: ( ( ruleFQN ) ) + { + // InternalExpressionDSL.g:2132:1: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:2133:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_1_1_0()); + // InternalExpressionDSL.g:2134:1: ( ruleFQN ) + // InternalExpressionDSL.g:2135:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_1_1_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_1_1_0_1()); + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1" + + + // $ANTLR start "rule__Parameter__OptionalAssignment_0" + // InternalExpressionDSL.g:2146:1: rule__Parameter__OptionalAssignment_0 : ( ( 'optional' ) ) ; + public final void rule__Parameter__OptionalAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:2150:1: ( ( ( 'optional' ) ) ) + // InternalExpressionDSL.g:2151:1: ( ( 'optional' ) ) + { + // InternalExpressionDSL.g:2151:1: ( ( 'optional' ) ) + // InternalExpressionDSL.g:2152:1: ( 'optional' ) + { + before(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); + // InternalExpressionDSL.g:2153:1: ( 'optional' ) + // InternalExpressionDSL.g:2154:1: 'optional' + { + before(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); + match(input,25,FOLLOW_2); + after(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); + + } + + after(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Parameter__OptionalAssignment_0" + + + // $ANTLR start "rule__Parameter__VariableAssignment_1" + // InternalExpressionDSL.g:2169:1: rule__Parameter__VariableAssignment_1 : ( ( ruleFQN ) ) ; + public final void rule__Parameter__VariableAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionDSL.g:2173:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionDSL.g:2174:1: ( ( ruleFQN ) ) + { + // InternalExpressionDSL.g:2174:1: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:2175:1: ( ruleFQN ) + { + before(grammarAccess.getParameterAccess().getVariableSiriusVariableCrossReference_1_0()); + // InternalExpressionDSL.g:2176:1: ( ruleFQN ) + // InternalExpressionDSL.g:2177:1: ruleFQN + { + before(grammarAccess.getParameterAccess().getVariableSiriusVariableFQNParserRuleCall_1_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getParameterAccess().getVariableSiriusVariableFQNParserRuleCall_1_0_1()); + + } + + after(grammarAccess.getParameterAccess().getVariableSiriusVariableCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Parameter__VariableAssignment_1" + + // Delegated rules + + + + + public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000200L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000C00L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000802L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000009440L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000001042L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000008002L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000001040L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000004002L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000002020010L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000001000020L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000100000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000400000L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000100010L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000400L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000800002L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000002000010L}); + +} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/internal/ExpressionDSLActivator.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/internal/ExpressionDSLActivator.java new file mode 100644 index 000000000..bc94d3f35 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/internal/ExpressionDSLActivator.java @@ -0,0 +1,95 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui.internal; + +import java.util.Collections; +import java.util.Map; + +import org.apache.log4j.Logger; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.eclipse.xtext.ui.shared.SharedStateModule; +import org.eclipse.xtext.util.Modules2; +import org.osgi.framework.BundleContext; + +import com.google.common.collect.Maps; +import com.google.inject.Guice; +import com.google.inject.Injector; +import com.google.inject.Module; + +/** + * This class was generated. Customizations should only happen in a newly + * introduced subclass. + */ +public class ExpressionDSLActivator extends AbstractUIPlugin { + + public static final String ORG_ECLIPSE_SIRIUS_EXPRESSION_DSL_EXPRESSIONDSL = "org.eclipse.sirius.expression.dsl.ExpressionDSL"; + + private static final Logger logger = Logger.getLogger(ExpressionDSLActivator.class); + + private static ExpressionDSLActivator INSTANCE; + + private Map injectors = Collections.synchronizedMap(Maps. newHashMapWithExpectedSize(1)); + + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + INSTANCE = this; + } + + @Override + public void stop(BundleContext context) throws Exception { + injectors.clear(); + INSTANCE = null; + super.stop(context); + } + + public static ExpressionDSLActivator getInstance() { + return INSTANCE; + } + + public Injector getInjector(String language) { + synchronized (injectors) { + Injector injector = injectors.get(language); + if (injector == null) { + injectors.put(language, injector = createInjector(language)); + } + return injector; + } + } + + protected Injector createInjector(String language) { + try { + Module runtimeModule = getRuntimeModule(language); + Module sharedStateModule = getSharedStateModule(); + Module uiModule = getUiModule(language); + Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule); + return Guice.createInjector(mergedModule); + } catch (Exception e) { + logger.error("Failed to create injector for " + language); + logger.error(e.getMessage(), e); + throw new RuntimeException("Failed to create injector for " + language, e); + } + } + + protected Module getRuntimeModule(String grammar) { + if (ORG_ECLIPSE_SIRIUS_EXPRESSION_DSL_EXPRESSIONDSL.equals(grammar)) { + return new org.eclipse.sirius.expression.dsl.ExpressionDSLRuntimeModule(); + } + + throw new IllegalArgumentException(grammar); + } + + protected Module getUiModule(String grammar) { + if (ORG_ECLIPSE_SIRIUS_EXPRESSION_DSL_EXPRESSIONDSL.equals(grammar)) { + return new org.eclipse.sirius.expression.dsl.ui.ExpressionDSLUiModule(this); + } + + throw new IllegalArgumentException(grammar); + } + + protected Module getSharedStateModule() { + return new SharedStateModule(); + } + +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLUiModule.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLUiModule.java new file mode 100644 index 000000000..f494c3a5c --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLUiModule.java @@ -0,0 +1,15 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui; + +import org.eclipse.ui.plugin.AbstractUIPlugin; + +/** + * Use this class to register components to be used within the IDE. + */ +public class ExpressionDSLUiModule extends org.eclipse.sirius.expression.dsl.ui.AbstractExpressionDSLUiModule { + public ExpressionDSLUiModule(AbstractUIPlugin plugin) { + super(plugin); + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.xtend b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.xtend new file mode 100644 index 000000000..c5e9ea65d --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.xtend @@ -0,0 +1,13 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui.contentassist + +import org.eclipse.sirius.expression.dsl.ui.contentassist.AbstractExpressionDSLProposalProvider + +/** + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist + * on how to customize the content assistant. + */ +class ExpressionDSLProposalProvider extends AbstractExpressionDSLProposalProvider { +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.xtend b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.xtend new file mode 100644 index 000000000..6be149292 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.xtend @@ -0,0 +1,24 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui.labeling + +//import org.eclipse.xtext.resource.IEObjectDescription + +/** + * Provides labels for IEObjectDescriptions and IResourceDescriptions. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +class ExpressionDSLDescriptionLabelProvider extends org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider { + + // Labels and icons can be computed like this: + +// override text(IEObjectDescription ele) { +// ele.name.toString +// } +// +// override image(IEObjectDescription ele) { +// ele.EClass.name + '.gif' +// } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.xtend b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.xtend new file mode 100644 index 000000000..a6d23559a --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.xtend @@ -0,0 +1,29 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui.labeling + +import com.google.inject.Inject + +/** + * Provides labels for EObjects. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +class ExpressionDSLLabelProvider extends org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider { + + @Inject + new(org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider delegate) { + super(delegate); + } + + // Labels and icons can be computed like this: + +// def text(Greeting ele) { +// 'A greeting to ' + ele.name +// } +// +// def image(Greeting ele) { +// 'Greeting.gif' +// } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.xtend b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.xtend new file mode 100644 index 000000000..52f65f855 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.xtend @@ -0,0 +1,13 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui.outline + +/** + * Customization of the default outline structure. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#outline + */ +class ExpressionDSLOutlineTreeProvider extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider { + +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.xtend b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.xtend new file mode 100644 index 000000000..dac31c761 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.xtend @@ -0,0 +1,26 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui.quickfix + +//import org.eclipse.xtext.ui.editor.quickfix.Fix +//import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor +//import org.eclipse.xtext.validation.Issue + +/** + * Custom quickfixes. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#quick-fixes + */ +class ExpressionDSLQuickfixProvider extends org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider { + +// @Fix(MyDslValidator::INVALID_NAME) +// def capitalizeName(Issue issue, IssueResolutionAcceptor acceptor) { +// acceptor.accept(issue, 'Capitalize name', 'Capitalize the name.', 'upcase.png') [ +// context | +// val xtextDocument = context.xtextDocument +// val firstLetter = xtextDocument.get(issue.offset, 1) +// xtextDocument.replace(issue.offset, 1, firstLetter.toUpperCase) +// ] +// } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.ExpressionDSLProposalProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.ExpressionDSLProposalProvider.xtendbin new file mode 100644 index 000000000..ff83f3c5d Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.ExpressionDSLProposalProvider.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.gitignore b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.gitignore new file mode 100644 index 000000000..5e8304adc --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.gitignore @@ -0,0 +1 @@ +/.ExpressionDSLProposalProvider.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.java b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.java new file mode 100644 index 000000000..c39c4ba34 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.java @@ -0,0 +1,14 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui.contentassist; + +import org.eclipse.sirius.expression.dsl.ui.contentassist.AbstractExpressionDSLProposalProvider; + +/** + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist + * on how to customize the content assistant. + */ +@SuppressWarnings("all") +public class ExpressionDSLProposalProvider extends AbstractExpressionDSLProposalProvider { +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLDescriptionLabelProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLDescriptionLabelProvider.xtendbin new file mode 100644 index 000000000..ee4b1f139 Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLDescriptionLabelProvider.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLLabelProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLLabelProvider.xtendbin new file mode 100644 index 000000000..e4ebb35b3 Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLLabelProvider.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.gitignore b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.gitignore new file mode 100644 index 000000000..0cd497068 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.gitignore @@ -0,0 +1,2 @@ +/.ExpressionDSLDescriptionLabelProvider.java._trace +/.ExpressionDSLLabelProvider.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.java b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.java new file mode 100644 index 000000000..2805a3f00 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.java @@ -0,0 +1,15 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui.labeling; + +import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider; + +/** + * Provides labels for IEObjectDescriptions and IResourceDescriptions. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +@SuppressWarnings("all") +public class ExpressionDSLDescriptionLabelProvider extends DefaultDescriptionLabelProvider { +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.java b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.java new file mode 100644 index 000000000..2767eb720 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.java @@ -0,0 +1,21 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui.labeling; + +import com.google.inject.Inject; +import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider; +import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider; + +/** + * Provides labels for EObjects. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +@SuppressWarnings("all") +public class ExpressionDSLLabelProvider extends DefaultEObjectLabelProvider { + @Inject + public ExpressionDSLLabelProvider(final AdapterFactoryLabelProvider delegate) { + super(delegate); + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.ExpressionDSLOutlineTreeProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.ExpressionDSLOutlineTreeProvider.xtendbin new file mode 100644 index 000000000..bba786551 Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.ExpressionDSLOutlineTreeProvider.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.gitignore b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.gitignore new file mode 100644 index 000000000..efb15be8f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.gitignore @@ -0,0 +1 @@ +/.ExpressionDSLOutlineTreeProvider.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.java b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.java new file mode 100644 index 000000000..4898c3a98 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.java @@ -0,0 +1,15 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui.outline; + +import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider; + +/** + * Customization of the default outline structure. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#outline + */ +@SuppressWarnings("all") +public class ExpressionDSLOutlineTreeProvider extends DefaultOutlineTreeProvider { +} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.ExpressionDSLQuickfixProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.ExpressionDSLQuickfixProvider.xtendbin new file mode 100644 index 000000000..96b3dc262 Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.ExpressionDSLQuickfixProvider.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.gitignore b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.gitignore new file mode 100644 index 000000000..a866fbb3f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.gitignore @@ -0,0 +1 @@ +/.ExpressionDSLQuickfixProvider.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.java b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.java new file mode 100644 index 000000000..12e4d3ea1 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.java @@ -0,0 +1,15 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.ui.quickfix; + +import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider; + +/** + * Custom quickfixes. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#quick-fixes + */ +@SuppressWarnings("all") +public class ExpressionDSLQuickfixProvider extends DefaultQuickfixProvider { +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/.antlr-generator-3.2.0-patch.jar b/plugins/org.eclipse.sirius.expression.dsl/.antlr-generator-3.2.0-patch.jar new file mode 100644 index 000000000..90516fd7a Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.dsl/.antlr-generator-3.2.0-patch.jar differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/.classpath b/plugins/org.eclipse.sirius.expression.dsl/.classpath new file mode 100644 index 000000000..9081d4f70 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.dsl/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.dsl).launch b/plugins/org.eclipse.sirius.expression.dsl/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.dsl).launch new file mode 100644 index 000000000..7b5095754 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.dsl).launch @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.dsl/.project b/plugins/org.eclipse.sirius.expression.dsl/.project new file mode 100644 index 000000000..b1714351f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/.project @@ -0,0 +1,34 @@ + + + org.eclipse.sirius.expression.dsl + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + org.eclipse.xtext.ui.shared.xtextNature + + diff --git a/plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 000000000..99f26c020 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..0c68a61dc --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/plugins/org.eclipse.sirius.expression.dsl/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.dsl/META-INF/MANIFEST.MF new file mode 100644 index 000000000..2cb5ed59e --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/META-INF/MANIFEST.MF @@ -0,0 +1,31 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: org.eclipse.sirius.expression.dsl +Bundle-Vendor: My Company +Bundle-Version: 1.0.0.qualifier +Bundle-SymbolicName: org.eclipse.sirius.expression.dsl; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: org.eclipse.xtext;visibility:=reexport, + org.eclipse.equinox.common;bundle-version="3.5.0", + org.eclipse.xtext.util, + org.eclipse.emf.ecore, + org.eclipse.emf.common, + org.eclipse.xtext.xbase.lib, + org.antlr.runtime, + org.eclipse.xtext.common.types, + org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional +Import-Package: org.apache.log4j +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: org.eclipse.sirius.expression.dsl, + org.eclipse.sirius.expression.dsl.services, + org.eclipse.sirius.expression.dsl.expressionDSL, + org.eclipse.sirius.expression.dsl.expressionDSL.impl, + org.eclipse.sirius.expression.dsl.expressionDSL.util, + org.eclipse.sirius.expression.dsl.serializer, + org.eclipse.sirius.expression.dsl.parser.antlr, + org.eclipse.sirius.expression.dsl.parser.antlr.internal, + org.eclipse.sirius.expression.dsl.validation, + org.eclipse.sirius.expression.dsl.scoping, + org.eclipse.sirius.expression.dsl.generator, + org.eclipse.sirius.expression.dsl.formatting + diff --git a/plugins/org.eclipse.sirius.expression.dsl/build.properties b/plugins/org.eclipse.sirius.expression.dsl/build.properties new file mode 100644 index 000000000..f9e12dbbb --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/build.properties @@ -0,0 +1,15 @@ +source.. = src/,\ + src-gen/,\ + xtend-gen/ +bin.includes = model/,\ + META-INF/,\ + .,\ + plugin.xml +additional.bundles = org.eclipse.xtext.xbase,\ + org.eclipse.xtext.generator,\ + org.apache.commons.logging,\ + org.eclipse.emf.codegen.ecore,\ + org.eclipse.emf.mwe.utils,\ + org.eclipse.emf.mwe2.launch,\ + org.eclipse.xtext.common.types,\ + org.objectweb.asm \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.ecore b/plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.ecore new file mode 100644 index 000000000..2db5dcc89 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.ecore @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.genmodel b/plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.genmodel new file mode 100644 index 000000000..e05bb9a1d --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.genmodel @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.dsl/plugin.xml b/plugins/org.eclipse.sirius.expression.dsl/plugin.xml new file mode 100644 index 000000000..d00c53743 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/plugin.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.dsl/plugin.xml_gen b/plugins/org.eclipse.sirius.expression.dsl/plugin.xml_gen new file mode 100644 index 000000000..d00c53743 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/plugin.xml_gen @@ -0,0 +1,16 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/AbstractExpressionDSLRuntimeModule.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/AbstractExpressionDSLRuntimeModule.java new file mode 100644 index 000000000..1899cdfde --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/AbstractExpressionDSLRuntimeModule.java @@ -0,0 +1,156 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl; + +import java.util.Properties; + +import org.eclipse.xtext.Constants; + +import com.google.inject.Binder; +import com.google.inject.name.Names; + +/** + * Manual modifications go to {org.eclipse.sirius.expression.dsl.ExpressionDSLRuntimeModule} + */ +@SuppressWarnings("all") +public abstract class AbstractExpressionDSLRuntimeModule extends org.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule { + + protected Properties properties = null; + + @Override + public void configure(Binder binder) { + properties = tryBindProperties(binder, "org/eclipse/sirius/expression/dsl/ExpressionDSL.properties"); + super.configure(binder); + } + + public void configureLanguageName(Binder binder) { + binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.sirius.expression.dsl.ExpressionDSL"); + } + + public void configureFileExtensions(Binder binder) { + if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) + binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("expressions"); + } + + // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment + public java.lang.ClassLoader bindClassLoaderToInstance() { + return getClass().getClassLoader(); + } + + // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment + public Class bindIGrammarAccess() { + return org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess.class; + } + + // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment + public Class bindISemanticSequencer() { + return org.eclipse.sirius.expression.dsl.serializer.ExpressionDSLSemanticSequencer.class; + } + + // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment + public Class bindISyntacticSequencer() { + return org.eclipse.sirius.expression.dsl.serializer.ExpressionDSLSyntacticSequencer.class; + } + + // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment + public Class bindISerializer() { + return org.eclipse.xtext.serializer.impl.Serializer.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindIParser() { + return org.eclipse.sirius.expression.dsl.parser.antlr.ExpressionDSLParser.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindITokenToStringConverter() { + return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindIAntlrTokenFileProvider() { + return org.eclipse.sirius.expression.dsl.parser.antlr.ExpressionDSLAntlrTokenFileProvider.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindLexer() { + return org.eclipse.sirius.expression.dsl.parser.antlr.internal.InternalExpressionDSLLexer.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public com.google.inject.Provider provideInternalExpressionDSLLexer() { + return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.sirius.expression.dsl.parser.antlr.internal.InternalExpressionDSLLexer.class); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public void configureRuntimeLexer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.sirius.expression.dsl.parser.antlr.internal.InternalExpressionDSLLexer.class); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindITokenDefProvider() { + return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class; + } + + // contributed by org.eclipse.xtext.generator.validation.ValidatorFragment + @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class bindExpressionDSLValidator() { + return org.eclipse.sirius.expression.dsl.validation.ExpressionDSLValidator.class; + } + + // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment + public Class bindIScopeProvider() { + return org.eclipse.sirius.expression.dsl.scoping.ExpressionDSLScopeProvider.class; + } + + // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment + public void configureIScopeProviderDelegate(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.class); + } + + // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment + public void configureIgnoreCaseLinking(com.google.inject.Binder binder) { + binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false); + } + + // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment + public Class bindIQualifiedNameProvider() { + return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class bindIContainer$Manager() { + return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class bindIAllContainersState$Provider() { + return org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptions(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); + } + + // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment + public Class bindIGenerator() { + return org.eclipse.sirius.expression.dsl.generator.ExpressionDSLGenerator.class; + } + + // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment + public Class bindIFormatter() { + return org.eclipse.sirius.expression.dsl.formatting.ExpressionDSLFormatter.class; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class bindIGlobalScopeProvider() { + return org.eclipse.xtext.common.types.xtext.TypesAwareDefaultGlobalScopeProvider.class; + } + +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtextbin b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtextbin new file mode 100644 index 000000000..a4c153d82 Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtextbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetupGenerated.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetupGenerated.java new file mode 100644 index 000000000..f788c539e --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetupGenerated.java @@ -0,0 +1,56 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl; + +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.xtext.ISetup; + +import com.google.inject.Guice; +import com.google.inject.Injector; + +/** + * Generated from StandaloneSetup.xpt! + */ +@SuppressWarnings("all") +public class ExpressionDSLStandaloneSetupGenerated implements ISetup { + + @Override + public Injector createInjectorAndDoEMFRegistration() { + // register default ePackages + if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("ecore")) + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( + "ecore", new org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl()); + if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("xmi")) + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( + "xmi", new org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl()); + if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("xtextbin")) + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( + "xtextbin", new org.eclipse.xtext.resource.impl.BinaryGrammarResourceFactoryImpl()); + if (!EPackage.Registry.INSTANCE.containsKey(org.eclipse.xtext.XtextPackage.eNS_URI)) + EPackage.Registry.INSTANCE.put(org.eclipse.xtext.XtextPackage.eNS_URI, org.eclipse.xtext.XtextPackage.eINSTANCE); + + Injector injector = createInjector(); + register(injector); + return injector; + } + + public Injector createInjector() { + return Guice.createInjector(new org.eclipse.sirius.expression.dsl.ExpressionDSLRuntimeModule()); + } + + public void register(Injector injector) { + if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/sirius/expression/dsl/ExpressionDSL")) { + EPackage.Registry.INSTANCE.put("http://www.eclipse.org/sirius/expression/dsl/ExpressionDSL", org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage.eINSTANCE); + } + + org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); + org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("expressions", resourceFactory); + org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("expressions", serviceProvider); + + + + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLFactory.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLFactory.java new file mode 100644 index 000000000..bab2b410c --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLFactory.java @@ -0,0 +1,79 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage + * @generated + */ +public interface ExpressionDSLFactory extends EFactory +{ + /** + * The singleton instance of the factory. + * + * + * @generated + */ + ExpressionDSLFactory eINSTANCE = org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLFactoryImpl.init(); + + /** + * Returns a new object of class 'Sirius Expression Package'. + * + * + * @return a new object of class 'Sirius Expression Package'. + * @generated + */ + SiriusExpressionPackage createSiriusExpressionPackage(); + + /** + * Returns a new object of class 'Sirius Expression Class'. + * + * + * @return a new object of class 'Sirius Expression Class'. + * @generated + */ + SiriusExpressionClass createSiriusExpressionClass(); + + /** + * Returns a new object of class 'Sirius Variable'. + * + * + * @return a new object of class 'Sirius Variable'. + * @generated + */ + SiriusVariable createSiriusVariable(); + + /** + * Returns a new object of class 'Sirius Expression Description'. + * + * + * @return a new object of class 'Sirius Expression Description'. + * @generated + */ + SiriusExpressionDescription createSiriusExpressionDescription(); + + /** + * Returns a new object of class 'Parameter'. + * + * + * @return a new object of class 'Parameter'. + * @generated + */ + Parameter createParameter(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + ExpressionDSLPackage getExpressionDSLPackage(); + +} //ExpressionDSLFactory diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLPackage.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLPackage.java new file mode 100644 index 000000000..fd21cef51 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLPackage.java @@ -0,0 +1,728 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *

      + *
    • each class,
    • + *
    • each feature of each class,
    • + *
    • each enum,
    • + *
    • and each data type
    • + *
    + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLFactory + * @model kind="package" + * @generated + */ +public interface ExpressionDSLPackage extends EPackage +{ + /** + * The package name. + * + * + * @generated + */ + String eNAME = "expressionDSL"; + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.eclipse.org/sirius/expression/dsl/ExpressionDSL"; + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "expressionDSL"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + ExpressionDSLPackage eINSTANCE = org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionPackageImpl Sirius Expression Package}' class. + * + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionPackageImpl + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusExpressionPackage() + * @generated + */ + int SIRIUS_EXPRESSION_PACKAGE = 0; + + /** + * The feature id for the 'EPackage' reference. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_PACKAGE__EPACKAGE = 0; + + /** + * The feature id for the 'Expression Classes' containment reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES = 1; + + /** + * The number of structural features of the 'Sirius Expression Package' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_PACKAGE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. + * + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionClassImpl + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusExpressionClass() + * @generated + */ + int SIRIUS_EXPRESSION_CLASS = 1; + + /** + * The feature id for the 'EClass' reference. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS__ECLASS = 0; + + /** + * The feature id for the 'Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS__VARIABLES = 1; + + /** + * The feature id for the 'Expression Descriptions' containment reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = 2; + + /** + * The number of structural features of the 'Sirius Expression Class' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS_FEATURE_COUNT = 3; + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusVariableImpl Sirius Variable}' class. + * + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusVariableImpl + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusVariable() + * @generated + */ + int SIRIUS_VARIABLE = 2; + + /** + * The feature id for the 'Documentation' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_VARIABLE__DOCUMENTATION = 0; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_VARIABLE__NAME = 1; + + /** + * The feature id for the 'EType' reference. + * + * + * @generated + * @ordered + */ + int SIRIUS_VARIABLE__ETYPE = 2; + + /** + * The number of structural features of the 'Sirius Variable' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_VARIABLE_FEATURE_COUNT = 3; + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl Sirius Expression Description}' class. + * + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusExpressionDescription() + * @generated + */ + int SIRIUS_EXPRESSION_DESCRIPTION = 3; + + /** + * The feature id for the 'Expression' reference. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION = 0; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS = 1; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_DESCRIPTION__TYPE = 2; + + /** + * The feature id for the 'Lower Bound' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND = 3; + + /** + * The feature id for the 'Upper Bound' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND = 4; + + /** + * The feature id for the 'Contextable Elements' reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS = 5; + + /** + * The number of structural features of the 'Sirius Expression Description' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_DESCRIPTION_FEATURE_COUNT = 6; + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.ParameterImpl Parameter}' class. + * + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ParameterImpl + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getParameter() + * @generated + */ + int PARAMETER = 4; + + /** + * The feature id for the 'Optional' attribute. + * + * + * @generated + * @ordered + */ + int PARAMETER__OPTIONAL = 0; + + /** + * The feature id for the 'Variable' reference. + * + * + * @generated + * @ordered + */ + int PARAMETER__VARIABLE = 1; + + /** + * The number of structural features of the 'Parameter' class. + * + * + * @generated + * @ordered + */ + int PARAMETER_FEATURE_COUNT = 2; + + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage Sirius Expression Package}'. + * + * + * @return the meta object for class 'Sirius Expression Package'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage + * @generated + */ + EClass getSiriusExpressionPackage(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage#getEPackage EPackage}'. + * + * + * @return the meta object for the reference 'EPackage'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage#getEPackage() + * @see #getSiriusExpressionPackage() + * @generated + */ + EReference getSiriusExpressionPackage_EPackage(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage#getExpressionClasses Expression Classes}'. + * + * + * @return the meta object for the containment reference list 'Expression Classes'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage#getExpressionClasses() + * @see #getSiriusExpressionPackage() + * @generated + */ + EReference getSiriusExpressionPackage_ExpressionClasses(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass Sirius Expression Class}'. + * + * + * @return the meta object for class 'Sirius Expression Class'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass + * @generated + */ + EClass getSiriusExpressionClass(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getEClass EClass}'. + * + * + * @return the meta object for the reference 'EClass'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getEClass() + * @see #getSiriusExpressionClass() + * @generated + */ + EReference getSiriusExpressionClass_EClass(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getVariables Variables}'. + * + * + * @return the meta object for the containment reference list 'Variables'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getVariables() + * @see #getSiriusExpressionClass() + * @generated + */ + EReference getSiriusExpressionClass_Variables(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getExpressionDescriptions Expression Descriptions}'. + * + * + * @return the meta object for the containment reference list 'Expression Descriptions'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getExpressionDescriptions() + * @see #getSiriusExpressionClass() + * @generated + */ + EReference getSiriusExpressionClass_ExpressionDescriptions(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable Sirius Variable}'. + * + * + * @return the meta object for class 'Sirius Variable'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable + * @generated + */ + EClass getSiriusVariable(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getDocumentation Documentation}'. + * + * + * @return the meta object for the attribute 'Documentation'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getDocumentation() + * @see #getSiriusVariable() + * @generated + */ + EAttribute getSiriusVariable_Documentation(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getName() + * @see #getSiriusVariable() + * @generated + */ + EAttribute getSiriusVariable_Name(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getEType EType}'. + * + * + * @return the meta object for the reference 'EType'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getEType() + * @see #getSiriusVariable() + * @generated + */ + EReference getSiriusVariable_EType(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription Sirius Expression Description}'. + * + * + * @return the meta object for class 'Sirius Expression Description'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription + * @generated + */ + EClass getSiriusExpressionDescription(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getExpression Expression}'. + * + * + * @return the meta object for the reference 'Expression'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getExpression() + * @see #getSiriusExpressionDescription() + * @generated + */ + EReference getSiriusExpressionDescription_Expression(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getParameters Parameters}'. + * + * + * @return the meta object for the containment reference list 'Parameters'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getParameters() + * @see #getSiriusExpressionDescription() + * @generated + */ + EReference getSiriusExpressionDescription_Parameters(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getType Type}'. + * + * + * @return the meta object for the reference 'Type'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getType() + * @see #getSiriusExpressionDescription() + * @generated + */ + EReference getSiriusExpressionDescription_Type(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getLowerBound Lower Bound}'. + * + * + * @return the meta object for the attribute 'Lower Bound'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getLowerBound() + * @see #getSiriusExpressionDescription() + * @generated + */ + EAttribute getSiriusExpressionDescription_LowerBound(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getUpperBound Upper Bound}'. + * + * + * @return the meta object for the attribute 'Upper Bound'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getUpperBound() + * @see #getSiriusExpressionDescription() + * @generated + */ + EAttribute getSiriusExpressionDescription_UpperBound(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getContextableElements Contextable Elements}'. + * + * + * @return the meta object for the reference list 'Contextable Elements'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getContextableElements() + * @see #getSiriusExpressionDescription() + * @generated + */ + EReference getSiriusExpressionDescription_ContextableElements(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter Parameter}'. + * + * + * @return the meta object for class 'Parameter'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.Parameter + * @generated + */ + EClass getParameter(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#isOptional Optional}'. + * + * + * @return the meta object for the attribute 'Optional'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#isOptional() + * @see #getParameter() + * @generated + */ + EAttribute getParameter_Optional(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#getVariable Variable}'. + * + * + * @return the meta object for the reference 'Variable'. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#getVariable() + * @see #getParameter() + * @generated + */ + EReference getParameter_Variable(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + ExpressionDSLFactory getExpressionDSLFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
      + *
    • each class,
    • + *
    • each feature of each class,
    • + *
    • each enum,
    • + *
    • and each data type
    • + *
    + * + * @generated + */ + interface Literals + { + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionPackageImpl Sirius Expression Package}' class. + * + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionPackageImpl + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusExpressionPackage() + * @generated + */ + EClass SIRIUS_EXPRESSION_PACKAGE = eINSTANCE.getSiriusExpressionPackage(); + + /** + * The meta object literal for the 'EPackage' reference feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_PACKAGE__EPACKAGE = eINSTANCE.getSiriusExpressionPackage_EPackage(); + + /** + * The meta object literal for the 'Expression Classes' containment reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES = eINSTANCE.getSiriusExpressionPackage_ExpressionClasses(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. + * + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionClassImpl + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusExpressionClass() + * @generated + */ + EClass SIRIUS_EXPRESSION_CLASS = eINSTANCE.getSiriusExpressionClass(); + + /** + * The meta object literal for the 'EClass' reference feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_CLASS__ECLASS = eINSTANCE.getSiriusExpressionClass_EClass(); + + /** + * The meta object literal for the 'Variables' containment reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_CLASS__VARIABLES = eINSTANCE.getSiriusExpressionClass_Variables(); + + /** + * The meta object literal for the 'Expression Descriptions' containment reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = eINSTANCE.getSiriusExpressionClass_ExpressionDescriptions(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusVariableImpl Sirius Variable}' class. + * + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusVariableImpl + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusVariable() + * @generated + */ + EClass SIRIUS_VARIABLE = eINSTANCE.getSiriusVariable(); + + /** + * The meta object literal for the 'Documentation' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_VARIABLE__DOCUMENTATION = eINSTANCE.getSiriusVariable_Documentation(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_VARIABLE__NAME = eINSTANCE.getSiriusVariable_Name(); + + /** + * The meta object literal for the 'EType' reference feature. + * + * + * @generated + */ + EReference SIRIUS_VARIABLE__ETYPE = eINSTANCE.getSiriusVariable_EType(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl Sirius Expression Description}' class. + * + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusExpressionDescription() + * @generated + */ + EClass SIRIUS_EXPRESSION_DESCRIPTION = eINSTANCE.getSiriusExpressionDescription(); + + /** + * The meta object literal for the 'Expression' reference feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION = eINSTANCE.getSiriusExpressionDescription_Expression(); + + /** + * The meta object literal for the 'Parameters' containment reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS = eINSTANCE.getSiriusExpressionDescription_Parameters(); + + /** + * The meta object literal for the 'Type' reference feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_DESCRIPTION__TYPE = eINSTANCE.getSiriusExpressionDescription_Type(); + + /** + * The meta object literal for the 'Lower Bound' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND = eINSTANCE.getSiriusExpressionDescription_LowerBound(); + + /** + * The meta object literal for the 'Upper Bound' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND = eINSTANCE.getSiriusExpressionDescription_UpperBound(); + + /** + * The meta object literal for the 'Contextable Elements' reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS = eINSTANCE.getSiriusExpressionDescription_ContextableElements(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.ParameterImpl Parameter}' class. + * + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ParameterImpl + * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getParameter() + * @generated + */ + EClass PARAMETER = eINSTANCE.getParameter(); + + /** + * The meta object literal for the 'Optional' attribute feature. + * + * + * @generated + */ + EAttribute PARAMETER__OPTIONAL = eINSTANCE.getParameter_Optional(); + + /** + * The meta object literal for the 'Variable' reference feature. + * + * + * @generated + */ + EReference PARAMETER__VARIABLE = eINSTANCE.getParameter_Variable(); + + } + +} //ExpressionDSLPackage diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/Parameter.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/Parameter.java new file mode 100644 index 000000000..aca11f674 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/Parameter.java @@ -0,0 +1,78 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Parameter'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#isOptional Optional}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#getVariable Variable}
    • + *
    + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getParameter() + * @model + * @generated + */ +public interface Parameter extends EObject +{ + /** + * Returns the value of the 'Optional' attribute. + * + *

    + * If the meaning of the 'Optional' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Optional' attribute. + * @see #setOptional(boolean) + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getParameter_Optional() + * @model + * @generated + */ + boolean isOptional(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#isOptional Optional}' attribute. + * + * + * @param value the new value of the 'Optional' attribute. + * @see #isOptional() + * @generated + */ + void setOptional(boolean value); + + /** + * Returns the value of the 'Variable' reference. + * + *

    + * If the meaning of the 'Variable' reference isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Variable' reference. + * @see #setVariable(SiriusVariable) + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getParameter_Variable() + * @model + * @generated + */ + SiriusVariable getVariable(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#getVariable Variable}' reference. + * + * + * @param value the new value of the 'Variable' reference. + * @see #getVariable() + * @generated + */ + void setVariable(SiriusVariable value); + +} // Parameter diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionClass.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionClass.java new file mode 100644 index 000000000..1961e810a --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionClass.java @@ -0,0 +1,88 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Sirius Expression Class'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getEClass EClass}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getVariables Variables}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getExpressionDescriptions Expression Descriptions}
    • + *
    + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionClass() + * @model + * @generated + */ +public interface SiriusExpressionClass extends EObject +{ + /** + * Returns the value of the 'EClass' reference. + * + *

    + * If the meaning of the 'EClass' reference isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'EClass' reference. + * @see #setEClass(EClass) + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionClass_EClass() + * @model + * @generated + */ + EClass getEClass(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getEClass EClass}' reference. + * + * + * @param value the new value of the 'EClass' reference. + * @see #getEClass() + * @generated + */ + void setEClass(EClass value); + + /** + * Returns the value of the 'Variables' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable}. + * + *

    + * If the meaning of the 'Variables' containment reference list isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Variables' containment reference list. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionClass_Variables() + * @model containment="true" + * @generated + */ + EList getVariables(); + + /** + * Returns the value of the 'Expression Descriptions' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription}. + * + *

    + * If the meaning of the 'Expression Descriptions' containment reference list isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Expression Descriptions' containment reference list. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionClass_ExpressionDescriptions() + * @model containment="true" + * @generated + */ + EList getExpressionDescriptions(); + +} // SiriusExpressionClass diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionDescription.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionDescription.java new file mode 100644 index 000000000..2e8575e48 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionDescription.java @@ -0,0 +1,171 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Sirius Expression Description'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getExpression Expression}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getParameters Parameters}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getType Type}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getUpperBound Upper Bound}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getContextableElements Contextable Elements}
    • + *
    + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionDescription() + * @model + * @generated + */ +public interface SiriusExpressionDescription extends EObject +{ + /** + * Returns the value of the 'Expression' reference. + * + *

    + * If the meaning of the 'Expression' reference isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Expression' reference. + * @see #setExpression(EAttribute) + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionDescription_Expression() + * @model + * @generated + */ + EAttribute getExpression(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getExpression Expression}' reference. + * + * + * @param value the new value of the 'Expression' reference. + * @see #getExpression() + * @generated + */ + void setExpression(EAttribute value); + + /** + * Returns the value of the 'Parameters' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter}. + * + *

    + * If the meaning of the 'Parameters' containment reference list isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Parameters' containment reference list. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionDescription_Parameters() + * @model containment="true" + * @generated + */ + EList getParameters(); + + /** + * Returns the value of the 'Type' reference. + * + *

    + * If the meaning of the 'Type' reference isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Type' reference. + * @see #setType(EClassifier) + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionDescription_Type() + * @model + * @generated + */ + EClassifier getType(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getType Type}' reference. + * + * + * @param value the new value of the 'Type' reference. + * @see #getType() + * @generated + */ + void setType(EClassifier value); + + /** + * Returns the value of the 'Lower Bound' attribute. + * + *

    + * If the meaning of the 'Lower Bound' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Lower Bound' attribute. + * @see #setLowerBound(int) + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionDescription_LowerBound() + * @model + * @generated + */ + int getLowerBound(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getLowerBound Lower Bound}' attribute. + * + * + * @param value the new value of the 'Lower Bound' attribute. + * @see #getLowerBound() + * @generated + */ + void setLowerBound(int value); + + /** + * Returns the value of the 'Upper Bound' attribute. + * + *

    + * If the meaning of the 'Upper Bound' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Upper Bound' attribute. + * @see #setUpperBound(int) + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionDescription_UpperBound() + * @model + * @generated + */ + int getUpperBound(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getUpperBound Upper Bound}' attribute. + * + * + * @param value the new value of the 'Upper Bound' attribute. + * @see #getUpperBound() + * @generated + */ + void setUpperBound(int value); + + /** + * Returns the value of the 'Contextable Elements' reference list. + * The list contents are of type {@link org.eclipse.emf.ecore.EClass}. + * + *

    + * If the meaning of the 'Contextable Elements' reference list isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Contextable Elements' reference list. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionDescription_ContextableElements() + * @model + * @generated + */ + EList getContextableElements(); + +} // SiriusExpressionDescription diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionPackage.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionPackage.java new file mode 100644 index 000000000..71b9c2808 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionPackage.java @@ -0,0 +1,71 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +/** + * + * A representation of the model object 'Sirius Expression Package'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage#getEPackage EPackage}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage#getExpressionClasses Expression Classes}
    • + *
    + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionPackage() + * @model + * @generated + */ +public interface SiriusExpressionPackage extends EObject +{ + /** + * Returns the value of the 'EPackage' reference. + * + *

    + * If the meaning of the 'EPackage' reference isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'EPackage' reference. + * @see #setEPackage(EPackage) + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionPackage_EPackage() + * @model + * @generated + */ + EPackage getEPackage(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage#getEPackage EPackage}' reference. + * + * + * @param value the new value of the 'EPackage' reference. + * @see #getEPackage() + * @generated + */ + void setEPackage(EPackage value); + + /** + * Returns the value of the 'Expression Classes' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass}. + * + *

    + * If the meaning of the 'Expression Classes' containment reference list isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Expression Classes' containment reference list. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionPackage_ExpressionClasses() + * @model containment="true" + * @generated + */ + EList getExpressionClasses(); + +} // SiriusExpressionPackage diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusVariable.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusVariable.java new file mode 100644 index 000000000..2c924a02d --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusVariable.java @@ -0,0 +1,106 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL; + +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Sirius Variable'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getDocumentation Documentation}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getName Name}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getEType EType}
    • + *
    + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusVariable() + * @model + * @generated + */ +public interface SiriusVariable extends EObject +{ + /** + * Returns the value of the 'Documentation' attribute. + * + *

    + * If the meaning of the 'Documentation' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Documentation' attribute. + * @see #setDocumentation(String) + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusVariable_Documentation() + * @model + * @generated + */ + String getDocumentation(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getDocumentation Documentation}' attribute. + * + * + * @param value the new value of the 'Documentation' attribute. + * @see #getDocumentation() + * @generated + */ + void setDocumentation(String value); + + /** + * Returns the value of the 'Name' attribute. + * + *

    + * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusVariable_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'EType' reference. + * + *

    + * If the meaning of the 'EType' reference isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'EType' reference. + * @see #setEType(EClassifier) + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusVariable_EType() + * @model + * @generated + */ + EClassifier getEType(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getEType EType}' reference. + * + * + * @param value the new value of the 'EType' reference. + * @see #getEType() + * @generated + */ + void setEType(EClassifier value); + +} // SiriusVariable diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLFactoryImpl.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLFactoryImpl.java new file mode 100644 index 000000000..1d7bf2dfd --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLFactoryImpl.java @@ -0,0 +1,154 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.sirius.expression.dsl.expressionDSL.*; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class ExpressionDSLFactoryImpl extends EFactoryImpl implements ExpressionDSLFactory +{ + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static ExpressionDSLFactory init() + { + try + { + ExpressionDSLFactory theExpressionDSLFactory = (ExpressionDSLFactory)EPackage.Registry.INSTANCE.getEFactory(ExpressionDSLPackage.eNS_URI); + if (theExpressionDSLFactory != null) + { + return theExpressionDSLFactory; + } + } + catch (Exception exception) + { + EcorePlugin.INSTANCE.log(exception); + } + return new ExpressionDSLFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public ExpressionDSLFactoryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) + { + switch (eClass.getClassifierID()) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE: return createSiriusExpressionPackage(); + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS: return createSiriusExpressionClass(); + case ExpressionDSLPackage.SIRIUS_VARIABLE: return createSiriusVariable(); + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION: return createSiriusExpressionDescription(); + case ExpressionDSLPackage.PARAMETER: return createParameter(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public SiriusExpressionPackage createSiriusExpressionPackage() + { + SiriusExpressionPackageImpl siriusExpressionPackage = new SiriusExpressionPackageImpl(); + return siriusExpressionPackage; + } + + /** + * + * + * @generated + */ + public SiriusExpressionClass createSiriusExpressionClass() + { + SiriusExpressionClassImpl siriusExpressionClass = new SiriusExpressionClassImpl(); + return siriusExpressionClass; + } + + /** + * + * + * @generated + */ + public SiriusVariable createSiriusVariable() + { + SiriusVariableImpl siriusVariable = new SiriusVariableImpl(); + return siriusVariable; + } + + /** + * + * + * @generated + */ + public SiriusExpressionDescription createSiriusExpressionDescription() + { + SiriusExpressionDescriptionImpl siriusExpressionDescription = new SiriusExpressionDescriptionImpl(); + return siriusExpressionDescription; + } + + /** + * + * + * @generated + */ + public Parameter createParameter() + { + ParameterImpl parameter = new ParameterImpl(); + return parameter; + } + + /** + * + * + * @generated + */ + public ExpressionDSLPackage getExpressionDSLPackage() + { + return (ExpressionDSLPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static ExpressionDSLPackage getPackage() + { + return ExpressionDSLPackage.eINSTANCE; + } + +} //ExpressionDSLFactoryImpl diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLPackageImpl.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLPackageImpl.java new file mode 100644 index 000000000..d2a0318b8 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLPackageImpl.java @@ -0,0 +1,461 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EcorePackage; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLFactory; +import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage; +import org.eclipse.sirius.expression.dsl.expressionDSL.Parameter; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class ExpressionDSLPackageImpl extends EPackageImpl implements ExpressionDSLPackage +{ + /** + * + * + * @generated + */ + private EClass siriusExpressionPackageEClass = null; + + /** + * + * + * @generated + */ + private EClass siriusExpressionClassEClass = null; + + /** + * + * + * @generated + */ + private EClass siriusVariableEClass = null; + + /** + * + * + * @generated + */ + private EClass siriusExpressionDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass parameterEClass = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

    Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#eNS_URI + * @see #init() + * @generated + */ + private ExpressionDSLPackageImpl() + { + super(eNS_URI, ExpressionDSLFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

    This method is used to initialize {@link ExpressionDSLPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ExpressionDSLPackage init() + { + if (isInited) return (ExpressionDSLPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionDSLPackage.eNS_URI); + + // Obtain or create and register package + ExpressionDSLPackageImpl theExpressionDSLPackage = (ExpressionDSLPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ExpressionDSLPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ExpressionDSLPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + EcorePackage.eINSTANCE.eClass(); + + // Create package meta-data objects + theExpressionDSLPackage.createPackageContents(); + + // Initialize created meta-data + theExpressionDSLPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theExpressionDSLPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ExpressionDSLPackage.eNS_URI, theExpressionDSLPackage); + return theExpressionDSLPackage; + } + + /** + * + * + * @generated + */ + public EClass getSiriusExpressionPackage() + { + return siriusExpressionPackageEClass; + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionPackage_EPackage() + { + return (EReference)siriusExpressionPackageEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionPackage_ExpressionClasses() + { + return (EReference)siriusExpressionPackageEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getSiriusExpressionClass() + { + return siriusExpressionClassEClass; + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionClass_EClass() + { + return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionClass_Variables() + { + return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionClass_ExpressionDescriptions() + { + return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getSiriusVariable() + { + return siriusVariableEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusVariable_Documentation() + { + return (EAttribute)siriusVariableEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusVariable_Name() + { + return (EAttribute)siriusVariableEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getSiriusVariable_EType() + { + return (EReference)siriusVariableEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getSiriusExpressionDescription() + { + return siriusExpressionDescriptionEClass; + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionDescription_Expression() + { + return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionDescription_Parameters() + { + return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionDescription_Type() + { + return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusExpressionDescription_LowerBound() + { + return (EAttribute)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusExpressionDescription_UpperBound() + { + return (EAttribute)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionDescription_ContextableElements() + { + return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EClass getParameter() + { + return parameterEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getParameter_Optional() + { + return (EAttribute)parameterEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getParameter_Variable() + { + return (EReference)parameterEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public ExpressionDSLFactory getExpressionDSLFactory() + { + return (ExpressionDSLFactory)getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() + { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + siriusExpressionPackageEClass = createEClass(SIRIUS_EXPRESSION_PACKAGE); + createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EPACKAGE); + createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); + + siriusExpressionClassEClass = createEClass(SIRIUS_EXPRESSION_CLASS); + createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__ECLASS); + createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__VARIABLES); + createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); + + siriusVariableEClass = createEClass(SIRIUS_VARIABLE); + createEAttribute(siriusVariableEClass, SIRIUS_VARIABLE__DOCUMENTATION); + createEAttribute(siriusVariableEClass, SIRIUS_VARIABLE__NAME); + createEReference(siriusVariableEClass, SIRIUS_VARIABLE__ETYPE); + + siriusExpressionDescriptionEClass = createEClass(SIRIUS_EXPRESSION_DESCRIPTION); + createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION); + createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS); + createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__TYPE); + createEAttribute(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND); + createEAttribute(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND); + createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS); + + parameterEClass = createEClass(PARAMETER); + createEAttribute(parameterEClass, PARAMETER__OPTIONAL); + createEReference(parameterEClass, PARAMETER__VARIABLE); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() + { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes and features; add operations and parameters + initEClass(siriusExpressionPackageEClass, SiriusExpressionPackage.class, "SiriusExpressionPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getSiriusExpressionPackage_EPackage(), theEcorePackage.getEPackage(), null, "ePackage", null, 0, 1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getSiriusExpressionPackage_ExpressionClasses(), this.getSiriusExpressionClass(), null, "expressionClasses", null, 0, -1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(siriusExpressionClassEClass, SiriusExpressionClass.class, "SiriusExpressionClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getSiriusExpressionClass_EClass(), theEcorePackage.getEClass(), null, "eClass", null, 0, 1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getSiriusExpressionClass_Variables(), this.getSiriusVariable(), null, "variables", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getSiriusExpressionClass_ExpressionDescriptions(), this.getSiriusExpressionDescription(), null, "expressionDescriptions", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(siriusVariableEClass, SiriusVariable.class, "SiriusVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSiriusVariable_Documentation(), theEcorePackage.getEString(), "documentation", null, 0, 1, SiriusVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSiriusVariable_Name(), theEcorePackage.getEString(), "name", null, 0, 1, SiriusVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getSiriusVariable_EType(), theEcorePackage.getEClassifier(), null, "eType", null, 0, 1, SiriusVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(siriusExpressionDescriptionEClass, SiriusExpressionDescription.class, "SiriusExpressionDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getSiriusExpressionDescription_Expression(), theEcorePackage.getEAttribute(), null, "expression", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getSiriusExpressionDescription_Parameters(), this.getParameter(), null, "parameters", null, 0, -1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getSiriusExpressionDescription_Type(), theEcorePackage.getEClassifier(), null, "type", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSiriusExpressionDescription_LowerBound(), theEcorePackage.getEInt(), "lowerBound", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSiriusExpressionDescription_UpperBound(), theEcorePackage.getEInt(), "upperBound", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getSiriusExpressionDescription_ContextableElements(), theEcorePackage.getEClass(), null, "contextableElements", null, 0, -1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(parameterEClass, Parameter.class, "Parameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getParameter_Optional(), theEcorePackage.getEBoolean(), "optional", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getParameter_Variable(), this.getSiriusVariable(), null, "variable", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Create resource + createResource(eNS_URI); + } + +} //ExpressionDSLPackageImpl diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ParameterImpl.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ParameterImpl.java new file mode 100644 index 000000000..8eb0431c7 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ParameterImpl.java @@ -0,0 +1,244 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage; +import org.eclipse.sirius.expression.dsl.expressionDSL.Parameter; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable; + +/** + * + * An implementation of the model object 'Parameter'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.ParameterImpl#isOptional Optional}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.ParameterImpl#getVariable Variable}
    • + *
    + * + * @generated + */ +public class ParameterImpl extends MinimalEObjectImpl.Container implements Parameter +{ + /** + * The default value of the '{@link #isOptional() Optional}' attribute. + * + * + * @see #isOptional() + * @generated + * @ordered + */ + protected static final boolean OPTIONAL_EDEFAULT = false; + + /** + * The cached value of the '{@link #isOptional() Optional}' attribute. + * + * + * @see #isOptional() + * @generated + * @ordered + */ + protected boolean optional = OPTIONAL_EDEFAULT; + + /** + * The cached value of the '{@link #getVariable() Variable}' reference. + * + * + * @see #getVariable() + * @generated + * @ordered + */ + protected SiriusVariable variable; + + /** + * + * + * @generated + */ + protected ParameterImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ExpressionDSLPackage.Literals.PARAMETER; + } + + /** + * + * + * @generated + */ + public boolean isOptional() + { + return optional; + } + + /** + * + * + * @generated + */ + public void setOptional(boolean newOptional) + { + boolean oldOptional = optional; + optional = newOptional; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.PARAMETER__OPTIONAL, oldOptional, optional)); + } + + /** + * + * + * @generated + */ + public SiriusVariable getVariable() + { + if (variable != null && variable.eIsProxy()) + { + InternalEObject oldVariable = (InternalEObject)variable; + variable = (SiriusVariable)eResolveProxy(oldVariable); + if (variable != oldVariable) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionDSLPackage.PARAMETER__VARIABLE, oldVariable, variable)); + } + } + return variable; + } + + /** + * + * + * @generated + */ + public SiriusVariable basicGetVariable() + { + return variable; + } + + /** + * + * + * @generated + */ + public void setVariable(SiriusVariable newVariable) + { + SiriusVariable oldVariable = variable; + variable = newVariable; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.PARAMETER__VARIABLE, oldVariable, variable)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ExpressionDSLPackage.PARAMETER__OPTIONAL: + return isOptional(); + case ExpressionDSLPackage.PARAMETER__VARIABLE: + if (resolve) return getVariable(); + return basicGetVariable(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ExpressionDSLPackage.PARAMETER__OPTIONAL: + setOptional((Boolean)newValue); + return; + case ExpressionDSLPackage.PARAMETER__VARIABLE: + setVariable((SiriusVariable)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ExpressionDSLPackage.PARAMETER__OPTIONAL: + setOptional(OPTIONAL_EDEFAULT); + return; + case ExpressionDSLPackage.PARAMETER__VARIABLE: + setVariable((SiriusVariable)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ExpressionDSLPackage.PARAMETER__OPTIONAL: + return optional != OPTIONAL_EDEFAULT; + case ExpressionDSLPackage.PARAMETER__VARIABLE: + return variable != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (optional: "); + result.append(optional); + result.append(')'); + return result.toString(); + } + +} //ParameterImpl diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionClassImpl.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionClassImpl.java new file mode 100644 index 000000000..83901d258 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionClassImpl.java @@ -0,0 +1,273 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable; + +/** + * + * An implementation of the model object 'Sirius Expression Class'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionClassImpl#getEClass EClass}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionClassImpl#getVariables Variables}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionClassImpl#getExpressionDescriptions Expression Descriptions}
    • + *
    + * + * @generated + */ +public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container implements SiriusExpressionClass +{ + /** + * The cached value of the '{@link #getEClass() EClass}' reference. + * + * + * @see #getEClass() + * @generated + * @ordered + */ + protected EClass eClass; + + /** + * The cached value of the '{@link #getVariables() Variables}' containment reference list. + * + * + * @see #getVariables() + * @generated + * @ordered + */ + protected EList variables; + + /** + * The cached value of the '{@link #getExpressionDescriptions() Expression Descriptions}' containment reference list. + * + * + * @see #getExpressionDescriptions() + * @generated + * @ordered + */ + protected EList expressionDescriptions; + + /** + * + * + * @generated + */ + protected SiriusExpressionClassImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ExpressionDSLPackage.Literals.SIRIUS_EXPRESSION_CLASS; + } + + /** + * + * + * @generated + */ + public EClass getEClass() + { + if (eClass != null && eClass.eIsProxy()) + { + InternalEObject oldEClass = (InternalEObject)eClass; + eClass = (EClass)eResolveProxy(oldEClass); + if (eClass != oldEClass) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__ECLASS, oldEClass, eClass)); + } + } + return eClass; + } + + /** + * + * + * @generated + */ + public EClass basicGetEClass() + { + return eClass; + } + + /** + * + * + * @generated + */ + public void setEClass(EClass newEClass) + { + EClass oldEClass = eClass; + eClass = newEClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__ECLASS, oldEClass, eClass)); + } + + /** + * + * + * @generated + */ + public EList getVariables() + { + if (variables == null) + { + variables = new EObjectContainmentEList(SiriusVariable.class, this, ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES); + } + return variables; + } + + /** + * + * + * @generated + */ + public EList getExpressionDescriptions() + { + if (expressionDescriptions == null) + { + expressionDescriptions = new EObjectContainmentEList(SiriusExpressionDescription.class, this, ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); + } + return expressionDescriptions; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + return ((InternalEList)getVariables()).basicRemove(otherEnd, msgs); + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + return ((InternalEList)getExpressionDescriptions()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: + if (resolve) return getEClass(); + return basicGetEClass(); + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + return getVariables(); + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + return getExpressionDescriptions(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: + setEClass((EClass)newValue); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + getVariables().clear(); + getVariables().addAll((Collection)newValue); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + getExpressionDescriptions().clear(); + getExpressionDescriptions().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: + setEClass((EClass)null); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + getVariables().clear(); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + getExpressionDescriptions().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: + return eClass != null; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + return variables != null && !variables.isEmpty(); + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + return expressionDescriptions != null && !expressionDescriptions.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //SiriusExpressionClassImpl diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionDescriptionImpl.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionDescriptionImpl.java new file mode 100644 index 000000000..7bd7a9fba --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionDescriptionImpl.java @@ -0,0 +1,465 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.EObjectResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage; +import org.eclipse.sirius.expression.dsl.expressionDSL.Parameter; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription; + +/** + * + * An implementation of the model object 'Sirius Expression Description'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl#getExpression Expression}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl#getParameters Parameters}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl#getType Type}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl#getUpperBound Upper Bound}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl#getContextableElements Contextable Elements}
    • + *
    + * + * @generated + */ +public class SiriusExpressionDescriptionImpl extends MinimalEObjectImpl.Container implements SiriusExpressionDescription +{ + /** + * The cached value of the '{@link #getExpression() Expression}' reference. + * + * + * @see #getExpression() + * @generated + * @ordered + */ + protected EAttribute expression; + + /** + * The cached value of the '{@link #getParameters() Parameters}' containment reference list. + * + * + * @see #getParameters() + * @generated + * @ordered + */ + protected EList parameters; + + /** + * The cached value of the '{@link #getType() Type}' reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected EClassifier type; + + /** + * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected static final int LOWER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected int lowerBound = LOWER_BOUND_EDEFAULT; + + /** + * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected static final int UPPER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected int upperBound = UPPER_BOUND_EDEFAULT; + + /** + * The cached value of the '{@link #getContextableElements() Contextable Elements}' reference list. + * + * + * @see #getContextableElements() + * @generated + * @ordered + */ + protected EList contextableElements; + + /** + * + * + * @generated + */ + protected SiriusExpressionDescriptionImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ExpressionDSLPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION; + } + + /** + * + * + * @generated + */ + public EAttribute getExpression() + { + if (expression != null && expression.eIsProxy()) + { + InternalEObject oldExpression = (InternalEObject)expression; + expression = (EAttribute)eResolveProxy(oldExpression); + if (expression != oldExpression) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); + } + } + return expression; + } + + /** + * + * + * @generated + */ + public EAttribute basicGetExpression() + { + return expression; + } + + /** + * + * + * @generated + */ + public void setExpression(EAttribute newExpression) + { + EAttribute oldExpression = expression; + expression = newExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); + } + + /** + * + * + * @generated + */ + public EList getParameters() + { + if (parameters == null) + { + parameters = new EObjectContainmentEList(Parameter.class, this, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS); + } + return parameters; + } + + /** + * + * + * @generated + */ + public EClassifier getType() + { + if (type != null && type.eIsProxy()) + { + InternalEObject oldType = (InternalEObject)type; + type = (EClassifier)eResolveProxy(oldType); + if (type != oldType) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__TYPE, oldType, type)); + } + } + return type; + } + + /** + * + * + * @generated + */ + public EClassifier basicGetType() + { + return type; + } + + /** + * + * + * @generated + */ + public void setType(EClassifier newType) + { + EClassifier oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__TYPE, oldType, type)); + } + + /** + * + * + * @generated + */ + public int getLowerBound() + { + return lowerBound; + } + + /** + * + * + * @generated + */ + public void setLowerBound(int newLowerBound) + { + int oldLowerBound = lowerBound; + lowerBound = newLowerBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND, oldLowerBound, lowerBound)); + } + + /** + * + * + * @generated + */ + public int getUpperBound() + { + return upperBound; + } + + /** + * + * + * @generated + */ + public void setUpperBound(int newUpperBound) + { + int oldUpperBound = upperBound; + upperBound = newUpperBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND, oldUpperBound, upperBound)); + } + + /** + * + * + * @generated + */ + public EList getContextableElements() + { + if (contextableElements == null) + { + contextableElements = new EObjectResolvingEList(EClass.class, this, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS); + } + return contextableElements; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + return ((InternalEList)getParameters()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: + if (resolve) return getExpression(); + return basicGetExpression(); + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + return getParameters(); + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__TYPE: + if (resolve) return getType(); + return basicGetType(); + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: + return getLowerBound(); + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: + return getUpperBound(); + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: + return getContextableElements(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: + setExpression((EAttribute)newValue); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + getParameters().clear(); + getParameters().addAll((Collection)newValue); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__TYPE: + setType((EClassifier)newValue); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: + setLowerBound((Integer)newValue); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: + setUpperBound((Integer)newValue); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: + getContextableElements().clear(); + getContextableElements().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: + setExpression((EAttribute)null); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + getParameters().clear(); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__TYPE: + setType((EClassifier)null); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: + setLowerBound(LOWER_BOUND_EDEFAULT); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: + setUpperBound(UPPER_BOUND_EDEFAULT); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: + getContextableElements().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: + return expression != null; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + return parameters != null && !parameters.isEmpty(); + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__TYPE: + return type != null; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: + return lowerBound != LOWER_BOUND_EDEFAULT; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: + return upperBound != UPPER_BOUND_EDEFAULT; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: + return contextableElements != null && !contextableElements.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (lowerBound: "); + result.append(lowerBound); + result.append(", upperBound: "); + result.append(upperBound); + result.append(')'); + return result.toString(); + } + +} //SiriusExpressionDescriptionImpl diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionPackageImpl.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionPackageImpl.java new file mode 100644 index 000000000..a8504f1e4 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionPackageImpl.java @@ -0,0 +1,235 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage; + +/** + * + * An implementation of the model object 'Sirius Expression Package'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionPackageImpl#getEPackage EPackage}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionPackageImpl#getExpressionClasses Expression Classes}
    • + *
    + * + * @generated + */ +public class SiriusExpressionPackageImpl extends MinimalEObjectImpl.Container implements SiriusExpressionPackage +{ + /** + * The cached value of the '{@link #getEPackage() EPackage}' reference. + * + * + * @see #getEPackage() + * @generated + * @ordered + */ + protected EPackage ePackage; + + /** + * The cached value of the '{@link #getExpressionClasses() Expression Classes}' containment reference list. + * + * + * @see #getExpressionClasses() + * @generated + * @ordered + */ + protected EList expressionClasses; + + /** + * + * + * @generated + */ + protected SiriusExpressionPackageImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ExpressionDSLPackage.Literals.SIRIUS_EXPRESSION_PACKAGE; + } + + /** + * + * + * @generated + */ + public EPackage getEPackage() + { + if (ePackage != null && ePackage.eIsProxy()) + { + InternalEObject oldEPackage = (InternalEObject)ePackage; + ePackage = (EPackage)eResolveProxy(oldEPackage); + if (ePackage != oldEPackage) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, oldEPackage, ePackage)); + } + } + return ePackage; + } + + /** + * + * + * @generated + */ + public EPackage basicGetEPackage() + { + return ePackage; + } + + /** + * + * + * @generated + */ + public void setEPackage(EPackage newEPackage) + { + EPackage oldEPackage = ePackage; + ePackage = newEPackage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, oldEPackage, ePackage)); + } + + /** + * + * + * @generated + */ + public EList getExpressionClasses() + { + if (expressionClasses == null) + { + expressionClasses = new EObjectContainmentEList(SiriusExpressionClass.class, this, ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); + } + return expressionClasses; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + return ((InternalEList)getExpressionClasses()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + if (resolve) return getEPackage(); + return basicGetEPackage(); + case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + return getExpressionClasses(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + setEPackage((EPackage)newValue); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + getExpressionClasses().clear(); + getExpressionClasses().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + setEPackage((EPackage)null); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + getExpressionClasses().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + return ePackage != null; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + return expressionClasses != null && !expressionClasses.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //SiriusExpressionPackageImpl diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusVariableImpl.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusVariableImpl.java new file mode 100644 index 000000000..6dd2206dd --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusVariableImpl.java @@ -0,0 +1,300 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable; + +/** + * + * An implementation of the model object 'Sirius Variable'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusVariableImpl#getDocumentation Documentation}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusVariableImpl#getName Name}
    • + *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusVariableImpl#getEType EType}
    • + *
    + * + * @generated + */ +public class SiriusVariableImpl extends MinimalEObjectImpl.Container implements SiriusVariable +{ + /** + * The default value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected static final String DOCUMENTATION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected String documentation = DOCUMENTATION_EDEFAULT; + + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getEType() EType}' reference. + * + * + * @see #getEType() + * @generated + * @ordered + */ + protected EClassifier eType; + + /** + * + * + * @generated + */ + protected SiriusVariableImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ExpressionDSLPackage.Literals.SIRIUS_VARIABLE; + } + + /** + * + * + * @generated + */ + public String getDocumentation() + { + return documentation; + } + + /** + * + * + * @generated + */ + public void setDocumentation(String newDocumentation) + { + String oldDocumentation = documentation; + documentation = newDocumentation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_VARIABLE__DOCUMENTATION, oldDocumentation, documentation)); + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_VARIABLE__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + public EClassifier getEType() + { + if (eType != null && eType.eIsProxy()) + { + InternalEObject oldEType = (InternalEObject)eType; + eType = (EClassifier)eResolveProxy(oldEType); + if (eType != oldEType) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionDSLPackage.SIRIUS_VARIABLE__ETYPE, oldEType, eType)); + } + } + return eType; + } + + /** + * + * + * @generated + */ + public EClassifier basicGetEType() + { + return eType; + } + + /** + * + * + * @generated + */ + public void setEType(EClassifier newEType) + { + EClassifier oldEType = eType; + eType = newEType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_VARIABLE__ETYPE, oldEType, eType)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_VARIABLE__DOCUMENTATION: + return getDocumentation(); + case ExpressionDSLPackage.SIRIUS_VARIABLE__NAME: + return getName(); + case ExpressionDSLPackage.SIRIUS_VARIABLE__ETYPE: + if (resolve) return getEType(); + return basicGetEType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_VARIABLE__DOCUMENTATION: + setDocumentation((String)newValue); + return; + case ExpressionDSLPackage.SIRIUS_VARIABLE__NAME: + setName((String)newValue); + return; + case ExpressionDSLPackage.SIRIUS_VARIABLE__ETYPE: + setEType((EClassifier)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_VARIABLE__DOCUMENTATION: + setDocumentation(DOCUMENTATION_EDEFAULT); + return; + case ExpressionDSLPackage.SIRIUS_VARIABLE__NAME: + setName(NAME_EDEFAULT); + return; + case ExpressionDSLPackage.SIRIUS_VARIABLE__ETYPE: + setEType((EClassifier)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ExpressionDSLPackage.SIRIUS_VARIABLE__DOCUMENTATION: + return DOCUMENTATION_EDEFAULT == null ? documentation != null : !DOCUMENTATION_EDEFAULT.equals(documentation); + case ExpressionDSLPackage.SIRIUS_VARIABLE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case ExpressionDSLPackage.SIRIUS_VARIABLE__ETYPE: + return eType != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (documentation: "); + result.append(documentation); + result.append(", name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //SiriusVariableImpl diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLAdapterFactory.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLAdapterFactory.java new file mode 100644 index 000000000..1549db6e1 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLAdapterFactory.java @@ -0,0 +1,212 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.expression.dsl.expressionDSL.*; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage + * @generated + */ +public class ExpressionDSLAdapterFactory extends AdapterFactoryImpl +{ + /** + * The cached model package. + * + * + * @generated + */ + protected static ExpressionDSLPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public ExpressionDSLAdapterFactory() + { + if (modelPackage == null) + { + modelPackage = ExpressionDSLPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) + { + if (object == modelPackage) + { + return true; + } + if (object instanceof EObject) + { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected ExpressionDSLSwitch modelSwitch = + new ExpressionDSLSwitch() + { + @Override + public Adapter caseSiriusExpressionPackage(SiriusExpressionPackage object) + { + return createSiriusExpressionPackageAdapter(); + } + @Override + public Adapter caseSiriusExpressionClass(SiriusExpressionClass object) + { + return createSiriusExpressionClassAdapter(); + } + @Override + public Adapter caseSiriusVariable(SiriusVariable object) + { + return createSiriusVariableAdapter(); + } + @Override + public Adapter caseSiriusExpressionDescription(SiriusExpressionDescription object) + { + return createSiriusExpressionDescriptionAdapter(); + } + @Override + public Adapter caseParameter(Parameter object) + { + return createParameterAdapter(); + } + @Override + public Adapter defaultCase(EObject object) + { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) + { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage Sirius Expression Package}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage + * @generated + */ + public Adapter createSiriusExpressionPackageAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass Sirius Expression Class}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass + * @generated + */ + public Adapter createSiriusExpressionClassAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable Sirius Variable}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable + * @generated + */ + public Adapter createSiriusVariableAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription Sirius Expression Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription + * @generated + */ + public Adapter createSiriusExpressionDescriptionAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter Parameter}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.dsl.expressionDSL.Parameter + * @generated + */ + public Adapter createParameterAdapter() + { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() + { + return null; + } + +} //ExpressionDSLAdapterFactory diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLSwitch.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLSwitch.java new file mode 100644 index 000000000..d9ecaa524 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLSwitch.java @@ -0,0 +1,211 @@ +/** + */ +package org.eclipse.sirius.expression.dsl.expressionDSL.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.sirius.expression.dsl.expressionDSL.*; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage + * @generated + */ +public class ExpressionDSLSwitch extends Switch +{ + /** + * The cached model package + * + * + * @generated + */ + protected static ExpressionDSLPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public ExpressionDSLSwitch() + { + if (modelPackage == null) + { + modelPackage = ExpressionDSLPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) + { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) + { + switch (classifierID) + { + case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE: + { + SiriusExpressionPackage siriusExpressionPackage = (SiriusExpressionPackage)theEObject; + T result = caseSiriusExpressionPackage(siriusExpressionPackage); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS: + { + SiriusExpressionClass siriusExpressionClass = (SiriusExpressionClass)theEObject; + T result = caseSiriusExpressionClass(siriusExpressionClass); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpressionDSLPackage.SIRIUS_VARIABLE: + { + SiriusVariable siriusVariable = (SiriusVariable)theEObject; + T result = caseSiriusVariable(siriusVariable); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION: + { + SiriusExpressionDescription siriusExpressionDescription = (SiriusExpressionDescription)theEObject; + T result = caseSiriusExpressionDescription(siriusExpressionDescription); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpressionDSLPackage.PARAMETER: + { + Parameter parameter = (Parameter)theEObject; + T result = caseParameter(parameter); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Sirius Expression Package'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Expression Package'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusExpressionPackage(SiriusExpressionPackage object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Sirius Expression Class'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Expression Class'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusExpressionClass(SiriusExpressionClass object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Sirius Variable'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Variable'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusVariable(SiriusVariable object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Sirius Expression Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Expression Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusExpressionDescription(SiriusExpressionDescription object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Parameter'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Parameter'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseParameter(Parameter object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) + { + return null; + } + +} //ExpressionDSLSwitch diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLAntlrTokenFileProvider.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLAntlrTokenFileProvider.java new file mode 100644 index 000000000..7e4a23621 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLAntlrTokenFileProvider.java @@ -0,0 +1,16 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.parser.antlr; + +import java.io.InputStream; +import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; + +public class ExpressionDSLAntlrTokenFileProvider implements IAntlrTokenFileProvider { + + @Override + public InputStream getAntlrTokenFile() { + ClassLoader classLoader = getClass().getClassLoader(); + return classLoader.getResourceAsStream("org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.tokens"); + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLParser.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLParser.java new file mode 100644 index 000000000..ecb44c282 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLParser.java @@ -0,0 +1,39 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.parser.antlr; + +import com.google.inject.Inject; + +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess; + +public class ExpressionDSLParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { + + @Inject + private ExpressionDSLGrammarAccess grammarAccess; + + @Override + protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { + tokenStream.setInitialHiddenTokens("RULE_WS"); + } + + @Override + protected org.eclipse.sirius.expression.dsl.parser.antlr.internal.InternalExpressionDSLParser createParser(XtextTokenStream stream) { + return new org.eclipse.sirius.expression.dsl.parser.antlr.internal.InternalExpressionDSLParser(stream, getGrammarAccess()); + } + + @Override + protected String getDefaultRuleName() { + return "SiriusExpressionPackage"; + } + + public ExpressionDSLGrammarAccess getGrammarAccess() { + return this.grammarAccess; + } + + public void setGrammarAccess(ExpressionDSLGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.g b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.g new file mode 100644 index 000000000..55a994465 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.g @@ -0,0 +1,643 @@ +/* + * generated by Xtext + */ +grammar InternalExpressionDSL; + +options { + superClass=AbstractInternalAntlrParser; + +} + +@lexer::header { +package org.eclipse.sirius.expression.dsl.parser.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.parser.antlr.Lexer; +} + +@parser::header { +package org.eclipse.sirius.expression.dsl.parser.antlr.internal; + +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; +import org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess; + +} + +@parser::members { + + private ExpressionDSLGrammarAccess grammarAccess; + + public InternalExpressionDSLParser(TokenStream input, ExpressionDSLGrammarAccess grammarAccess) { + this(input); + this.grammarAccess = grammarAccess; + registerRules(grammarAccess.getGrammar()); + } + + @Override + protected String getFirstRuleName() { + return "SiriusExpressionPackage"; + } + + @Override + protected ExpressionDSLGrammarAccess getGrammarAccess() { + return grammarAccess; + } +} + +@rulecatch { + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } +} + + + + +// Entry rule entryRuleSiriusExpressionPackage +entryRuleSiriusExpressionPackage returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSiriusExpressionPackageRule()); } + iv_ruleSiriusExpressionPackage=ruleSiriusExpressionPackage + { $current=$iv_ruleSiriusExpressionPackage.current; } + EOF +; + +// Rule SiriusExpressionPackage +ruleSiriusExpressionPackage returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='package' + { + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionPackageRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); + } +( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); + } + lv_expressionClasses_3_0=ruleSiriusExpressionClass { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionPackageRule()); + } + add( + $current, + "expressionClasses", + lv_expressionClasses_3_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusExpressionClass"); + afterParserOrEnumRuleCall(); + } + +) +)* otherlv_4='}' + { + newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); + } +) +; + + + + + +// Entry rule entryRuleSiriusExpressionClass +entryRuleSiriusExpressionClass returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSiriusExpressionClassRule()); } + iv_ruleSiriusExpressionClass=ruleSiriusExpressionClass + { $current=$iv_ruleSiriusExpressionClass.current; } + EOF +; + +// Rule SiriusExpressionClass +ruleSiriusExpressionClass returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='class' + { + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionClassRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); + } +( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); + } + lv_variables_3_0=ruleSiriusVariable { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); + } + add( + $current, + "variables", + lv_variables_3_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusVariable"); + afterParserOrEnumRuleCall(); + } + +) +)*( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); + } + lv_expressionDescriptions_4_0=ruleSiriusExpressionDescription { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); + } + add( + $current, + "expressionDescriptions", + lv_expressionDescriptions_4_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusExpressionDescription"); + afterParserOrEnumRuleCall(); + } + +) +)* otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); + } +) +; + + + + + +// Entry rule entryRuleSiriusVariable +entryRuleSiriusVariable returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSiriusVariableRule()); } + iv_ruleSiriusVariable=ruleSiriusVariable + { $current=$iv_ruleSiriusVariable.current; } + EOF +; + +// Rule SiriusVariable +ruleSiriusVariable returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( +( + lv_documentation_0_0=RULE_ML_COMMENT + { + newLeafNode(lv_documentation_0_0, grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + setWithLastConsumed( + $current, + "documentation", + lv_documentation_0_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.ML_COMMENT"); + } + +) +)? otherlv_1='var' + { + newLeafNode(otherlv_1, grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); + } +( +( + lv_name_2_0=RULE_ID + { + newLeafNode(lv_name_2_0, grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_2_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.ID"); + } + +) +) otherlv_3=':' + { + newLeafNode(otherlv_3, grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleFQN +entryRuleFQN returns [String current=null] + : + { newCompositeNode(grammarAccess.getFQNRule()); } + iv_ruleFQN=ruleFQN + { $current=$iv_ruleFQN.current.getText(); } + EOF +; + +// Rule FQN +ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( this_ID_0=RULE_ID { + $current.merge(this_ID_0); + } + + { + newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); + } +( + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); + } + this_ID_2=RULE_ID { + $current.merge(this_ID_2); + } + + { + newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); + } +)*) + ; + + + + + +// Entry rule entryRuleSiriusExpressionDescription +entryRuleSiriusExpressionDescription returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSiriusExpressionDescriptionRule()); } + iv_ruleSiriusExpressionDescription=ruleSiriusExpressionDescription + { $current=$iv_ruleSiriusExpressionDescription.current; } + EOF +; + +// Rule SiriusExpressionDescription +ruleSiriusExpressionDescription returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='exp' + { + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='(' + { + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); + } +(( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_0_0()); + } + lv_parameters_3_0=ruleParameter { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + add( + $current, + "parameters", + lv_parameters_3_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.Parameter"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_4=',' + { + newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_1_1_0()); + } + lv_parameters_5_0=ruleParameter { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + add( + $current, + "parameters", + lv_parameters_5_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.Parameter"); + afterParserOrEnumRuleCall(); + } + +) +))*)? otherlv_6=')' + { + newLeafNode(otherlv_6, grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); + } + otherlv_7=':' + { + newLeafNode(otherlv_7, grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierCrossReference_6_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +) otherlv_9='[' + { + newLeafNode(otherlv_9, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); + } +( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); + } + lv_lowerBound_10_0=ruleBound { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + set( + $current, + "lowerBound", + lv_lowerBound_10_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.Bound"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_11='..' + { + newLeafNode(otherlv_11, grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); + } +( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); + } + lv_upperBound_12_0=ruleBound { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + set( + $current, + "upperBound", + lv_upperBound_12_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.Bound"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_13=']' + { + newLeafNode(otherlv_13, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); + } + otherlv_14='{' + { + newLeafNode(otherlv_14, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); + } + otherlv_15='contextableElements' + { + newLeafNode(otherlv_15, grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsKeyword_13()); + } + otherlv_16='=' + { + newLeafNode(otherlv_16, grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); + } + otherlv_17='[' + { + newLeafNode(otherlv_17, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); + } +(( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_0_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_19=',' + { + newLeafNode(otherlv_19, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_1_1_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +))*)? otherlv_21=']' + { + newLeafNode(otherlv_21, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); + } + otherlv_22='}' + { + newLeafNode(otherlv_22, grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); + } +) +; + + + + + +// Entry rule entryRuleParameter +entryRuleParameter returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getParameterRule()); } + iv_ruleParameter=ruleParameter + { $current=$iv_ruleParameter.current; } + EOF +; + +// Rule Parameter +ruleParameter returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( +( + lv_optional_0_0= 'optional' + { + newLeafNode(lv_optional_0_0, grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getParameterRule()); + } + setWithLastConsumed($current, "optional", true, "optional"); + } + +) +)?( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getParameterRule()); + } + } + { + newCompositeNode(grammarAccess.getParameterAccess().getVariableSiriusVariableCrossReference_1_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleBound +entryRuleBound returns [String current=null] + : + { newCompositeNode(grammarAccess.getBoundRule()); } + iv_ruleBound=ruleBound + { $current=$iv_ruleBound.current.getText(); } + EOF +; + +// Rule Bound +ruleBound returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + kw='-' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); + } +)? this_INT_1=RULE_INT { + $current.merge(this_INT_1); + } + + { + newLeafNode(this_INT_1, grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); + } +) + ; + + + + + +RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; + +RULE_INT : ('0'..'9')+; + +RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; + +RULE_WS : (' '|'\t'|'\r'|'\n')+; + + diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.tokens b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.tokens new file mode 100644 index 000000000..4eee574c5 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.tokens @@ -0,0 +1,40 @@ +'('=16 +')'=18 +','=17 +'-'=25 +'.'=14 +'..'=20 +':'=13 +'='=23 +'['=19 +']'=21 +'class'=11 +'contextableElements'=22 +'exp'=15 +'optional'=24 +'package'=8 +'var'=12 +'{'=9 +'}'=10 +RULE_ID=5 +RULE_INT=6 +RULE_ML_COMMENT=4 +RULE_WS=7 +T__10=10 +T__11=11 +T__12=12 +T__13=13 +T__14=14 +T__15=15 +T__16=16 +T__17=17 +T__18=18 +T__19=19 +T__20=20 +T__21=21 +T__22=22 +T__23=23 +T__24=24 +T__25=25 +T__8=8 +T__9=9 diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSLLexer.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSLLexer.java new file mode 100644 index 000000000..06258656b --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSLLexer.java @@ -0,0 +1,948 @@ +package org.eclipse.sirius.expression.dsl.parser.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.parser.antlr.Lexer; + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalExpressionDSLLexer extends Lexer { + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int EOF=-1; + public static final int T__10=10; + public static final int T__9=9; + public static final int T__8=8; + public static final int RULE_ID=5; + public static final int RULE_WS=7; + public static final int RULE_INT=6; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=4; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + + // delegates + // delegators + + public InternalExpressionDSLLexer() {;} + public InternalExpressionDSLLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + public InternalExpressionDSLLexer(CharStream input, RecognizerSharedState state) { + super(input,state); + + } + public String getGrammarFileName() { return "InternalExpressionDSL.g"; } + + // $ANTLR start "T__8" + public final void mT__8() throws RecognitionException { + try { + int _type = T__8; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:11:6: ( 'package' ) + // InternalExpressionDSL.g:11:8: 'package' + { + match("package"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__8" + + // $ANTLR start "T__9" + public final void mT__9() throws RecognitionException { + try { + int _type = T__9; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:12:6: ( '{' ) + // InternalExpressionDSL.g:12:8: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__9" + + // $ANTLR start "T__10" + public final void mT__10() throws RecognitionException { + try { + int _type = T__10; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:13:7: ( '}' ) + // InternalExpressionDSL.g:13:9: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__10" + + // $ANTLR start "T__11" + public final void mT__11() throws RecognitionException { + try { + int _type = T__11; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:14:7: ( 'class' ) + // InternalExpressionDSL.g:14:9: 'class' + { + match("class"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__11" + + // $ANTLR start "T__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:15:7: ( 'var' ) + // InternalExpressionDSL.g:15:9: 'var' + { + match("var"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__12" + + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { + try { + int _type = T__13; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:16:7: ( ':' ) + // InternalExpressionDSL.g:16:9: ':' + { + match(':'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:17:7: ( '.' ) + // InternalExpressionDSL.g:17:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:18:7: ( 'exp' ) + // InternalExpressionDSL.g:18:9: 'exp' + { + match("exp"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:19:7: ( '(' ) + // InternalExpressionDSL.g:19:9: '(' + { + match('('); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:20:7: ( ',' ) + // InternalExpressionDSL.g:20:9: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:21:7: ( ')' ) + // InternalExpressionDSL.g:21:9: ')' + { + match(')'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:22:7: ( '[' ) + // InternalExpressionDSL.g:22:9: '[' + { + match('['); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:23:7: ( '..' ) + // InternalExpressionDSL.g:23:9: '..' + { + match(".."); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:24:7: ( ']' ) + // InternalExpressionDSL.g:24:9: ']' + { + match(']'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:25:7: ( 'contextableElements' ) + // InternalExpressionDSL.g:25:9: 'contextableElements' + { + match("contextableElements"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:26:7: ( '=' ) + // InternalExpressionDSL.g:26:9: '=' + { + match('='); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:27:7: ( 'optional' ) + // InternalExpressionDSL.g:27:9: 'optional' + { + match("optional"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:28:7: ( '-' ) + // InternalExpressionDSL.g:28:9: '-' + { + match('-'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__25" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:635:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalExpressionDSL.g:635:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // InternalExpressionDSL.g:635:11: ( '^' )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='^') ) { + alt1=1; + } + switch (alt1) { + case 1 : + // InternalExpressionDSL.g:635:11: '^' + { + match('^'); + + } + break; + + } + + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // InternalExpressionDSL.g:635:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalExpressionDSL.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop2; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:637:10: ( ( '0' .. '9' )+ ) + // InternalExpressionDSL.g:637:12: ( '0' .. '9' )+ + { + // InternalExpressionDSL.g:637:12: ( '0' .. '9' )+ + int cnt3=0; + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( ((LA3_0>='0' && LA3_0<='9')) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalExpressionDSL.g:637:13: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt3 >= 1 ) break loop3; + EarlyExitException eee = + new EarlyExitException(3, input); + throw eee; + } + cnt3++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_INT" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:639:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalExpressionDSL.g:639:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // InternalExpressionDSL.g:639:24: ( options {greedy=false; } : . )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0=='*') ) { + int LA4_1 = input.LA(2); + + if ( (LA4_1=='/') ) { + alt4=2; + } + else if ( ((LA4_1>='\u0000' && LA4_1<='.')||(LA4_1>='0' && LA4_1<='\uFFFF')) ) { + alt4=1; + } + + + } + else if ( ((LA4_0>='\u0000' && LA4_0<=')')||(LA4_0>='+' && LA4_0<='\uFFFF')) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalExpressionDSL.g:639:52: . + { + matchAny(); + + } + break; + + default : + break loop4; + } + } while (true); + + match("*/"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_WS" + public final void mRULE_WS() throws RecognitionException { + try { + int _type = RULE_WS; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionDSL.g:641:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalExpressionDSL.g:641:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // InternalExpressionDSL.g:641:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt5=0; + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( ((LA5_0>='\t' && LA5_0<='\n')||LA5_0=='\r'||LA5_0==' ') ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalExpressionDSL.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt5 >= 1 ) break loop5; + EarlyExitException eee = + new EarlyExitException(5, input); + throw eee; + } + cnt5++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + public void mTokens() throws RecognitionException { + // InternalExpressionDSL.g:1:8: ( T__8 | T__9 | T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS ) + int alt6=22; + alt6 = dfa6.predict(input); + switch (alt6) { + case 1 : + // InternalExpressionDSL.g:1:10: T__8 + { + mT__8(); + + } + break; + case 2 : + // InternalExpressionDSL.g:1:15: T__9 + { + mT__9(); + + } + break; + case 3 : + // InternalExpressionDSL.g:1:20: T__10 + { + mT__10(); + + } + break; + case 4 : + // InternalExpressionDSL.g:1:26: T__11 + { + mT__11(); + + } + break; + case 5 : + // InternalExpressionDSL.g:1:32: T__12 + { + mT__12(); + + } + break; + case 6 : + // InternalExpressionDSL.g:1:38: T__13 + { + mT__13(); + + } + break; + case 7 : + // InternalExpressionDSL.g:1:44: T__14 + { + mT__14(); + + } + break; + case 8 : + // InternalExpressionDSL.g:1:50: T__15 + { + mT__15(); + + } + break; + case 9 : + // InternalExpressionDSL.g:1:56: T__16 + { + mT__16(); + + } + break; + case 10 : + // InternalExpressionDSL.g:1:62: T__17 + { + mT__17(); + + } + break; + case 11 : + // InternalExpressionDSL.g:1:68: T__18 + { + mT__18(); + + } + break; + case 12 : + // InternalExpressionDSL.g:1:74: T__19 + { + mT__19(); + + } + break; + case 13 : + // InternalExpressionDSL.g:1:80: T__20 + { + mT__20(); + + } + break; + case 14 : + // InternalExpressionDSL.g:1:86: T__21 + { + mT__21(); + + } + break; + case 15 : + // InternalExpressionDSL.g:1:92: T__22 + { + mT__22(); + + } + break; + case 16 : + // InternalExpressionDSL.g:1:98: T__23 + { + mT__23(); + + } + break; + case 17 : + // InternalExpressionDSL.g:1:104: T__24 + { + mT__24(); + + } + break; + case 18 : + // InternalExpressionDSL.g:1:110: T__25 + { + mT__25(); + + } + break; + case 19 : + // InternalExpressionDSL.g:1:116: RULE_ID + { + mRULE_ID(); + + } + break; + case 20 : + // InternalExpressionDSL.g:1:124: RULE_INT + { + mRULE_INT(); + + } + break; + case 21 : + // InternalExpressionDSL.g:1:133: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 22 : + // InternalExpressionDSL.g:1:149: RULE_WS + { + mRULE_WS(); + + } + break; + + } + + } + + + protected DFA6 dfa6 = new DFA6(this); + static final String DFA6_eotS = + "\1\uffff\1\21\2\uffff\2\21\1\uffff\1\32\1\21\6\uffff\1\21\5\uffff\4\21\2\uffff\5\21\1\46\1\47\4\21\2\uffff\2\21\1\56\3\21\1\uffff\2\21\1\64\2\21\1\uffff\1\21\1\70\1\21\1\uffff\11\21\1\103\1\uffff"; + static final String DFA6_eofS = + "\104\uffff"; + static final String DFA6_minS = + "\1\11\1\141\2\uffff\1\154\1\141\1\uffff\1\56\1\170\6\uffff\1\160\5\uffff\1\143\1\141\1\156\1\162\2\uffff\1\160\1\164\1\153\1\163\1\164\2\60\1\151\1\141\1\163\1\145\2\uffff\1\157\1\147\1\60\1\170\1\156\1\145\1\uffff\1\164\1\141\1\60\1\141\1\154\1\uffff\1\142\1\60\1\154\1\uffff\1\145\1\105\1\154\1\145\1\155\1\145\1\156\1\164\1\163\1\60\1\uffff"; + static final String DFA6_maxS = + "\1\175\1\141\2\uffff\1\157\1\141\1\uffff\1\56\1\170\6\uffff\1\160\5\uffff\1\143\1\141\1\156\1\162\2\uffff\1\160\1\164\1\153\1\163\1\164\2\172\1\151\1\141\1\163\1\145\2\uffff\1\157\1\147\1\172\1\170\1\156\1\145\1\uffff\1\164\1\141\1\172\1\141\1\154\1\uffff\1\142\1\172\1\154\1\uffff\1\145\1\105\1\154\1\145\1\155\1\145\1\156\1\164\1\163\1\172\1\uffff"; + static final String DFA6_acceptS = + "\2\uffff\1\2\1\3\2\uffff\1\6\2\uffff\1\11\1\12\1\13\1\14\1\16\1\20\1\uffff\1\22\1\23\1\24\1\25\1\26\4\uffff\1\15\1\7\13\uffff\1\5\1\10\6\uffff\1\4\5\uffff\1\1\3\uffff\1\21\12\uffff\1\17"; + static final String DFA6_specialS = + "\104\uffff}>"; + static final String[] DFA6_transitionS = { + "\2\24\2\uffff\1\24\22\uffff\1\24\7\uffff\1\11\1\13\2\uffff\1\12\1\20\1\7\1\23\12\22\1\6\2\uffff\1\16\3\uffff\32\21\1\14\1\uffff\1\15\2\21\1\uffff\2\21\1\4\1\21\1\10\11\21\1\17\1\1\5\21\1\5\4\21\1\2\1\uffff\1\3", + "\1\25", + "", + "", + "\1\26\2\uffff\1\27", + "\1\30", + "", + "\1\31", + "\1\33", + "", + "", + "", + "", + "", + "", + "\1\34", + "", + "", + "", + "", + "", + "\1\35", + "\1\36", + "\1\37", + "\1\40", + "", + "", + "\1\41", + "\1\42", + "\1\43", + "\1\44", + "\1\45", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\50", + "\1\51", + "\1\52", + "\1\53", + "", + "", + "\1\54", + "\1\55", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\57", + "\1\60", + "\1\61", + "", + "\1\62", + "\1\63", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\65", + "\1\66", + "", + "\1\67", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\71", + "", + "\1\72", + "\1\73", + "\1\74", + "\1\75", + "\1\76", + "\1\77", + "\1\100", + "\1\101", + "\1\102", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "" + }; + + static final short[] DFA6_eot = DFA.unpackEncodedString(DFA6_eotS); + static final short[] DFA6_eof = DFA.unpackEncodedString(DFA6_eofS); + static final char[] DFA6_min = DFA.unpackEncodedStringToUnsignedChars(DFA6_minS); + static final char[] DFA6_max = DFA.unpackEncodedStringToUnsignedChars(DFA6_maxS); + static final short[] DFA6_accept = DFA.unpackEncodedString(DFA6_acceptS); + static final short[] DFA6_special = DFA.unpackEncodedString(DFA6_specialS); + static final short[][] DFA6_transition; + + static { + int numStates = DFA6_transitionS.length; + DFA6_transition = new short[numStates][]; + for (int i=0; i", "", "", "", "RULE_ML_COMMENT", "RULE_ID", "RULE_INT", "RULE_WS", "'package'", "'{'", "'}'", "'class'", "'var'", "':'", "'.'", "'exp'", "'('", "','", "')'", "'['", "'..'", "']'", "'contextableElements'", "'='", "'optional'", "'-'" + }; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int EOF=-1; + public static final int T__10=10; + public static final int T__9=9; + public static final int T__8=8; + public static final int RULE_ID=5; + public static final int RULE_WS=7; + public static final int RULE_INT=6; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=4; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + + // delegates + // delegators + + + public InternalExpressionDSLParser(TokenStream input) { + this(input, new RecognizerSharedState()); + } + public InternalExpressionDSLParser(TokenStream input, RecognizerSharedState state) { + super(input, state); + + } + + + public String[] getTokenNames() { return InternalExpressionDSLParser.tokenNames; } + public String getGrammarFileName() { return "InternalExpressionDSL.g"; } + + + + private ExpressionDSLGrammarAccess grammarAccess; + + public InternalExpressionDSLParser(TokenStream input, ExpressionDSLGrammarAccess grammarAccess) { + this(input); + this.grammarAccess = grammarAccess; + registerRules(grammarAccess.getGrammar()); + } + + @Override + protected String getFirstRuleName() { + return "SiriusExpressionPackage"; + } + + @Override + protected ExpressionDSLGrammarAccess getGrammarAccess() { + return grammarAccess; + } + + + + // $ANTLR start "entryRuleSiriusExpressionPackage" + // InternalExpressionDSL.g:67:1: entryRuleSiriusExpressionPackage returns [EObject current=null] : iv_ruleSiriusExpressionPackage= ruleSiriusExpressionPackage EOF ; + public final EObject entryRuleSiriusExpressionPackage() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSiriusExpressionPackage = null; + + + try { + // InternalExpressionDSL.g:68:2: (iv_ruleSiriusExpressionPackage= ruleSiriusExpressionPackage EOF ) + // InternalExpressionDSL.g:69:2: iv_ruleSiriusExpressionPackage= ruleSiriusExpressionPackage EOF + { + newCompositeNode(grammarAccess.getSiriusExpressionPackageRule()); + pushFollow(FOLLOW_1); + iv_ruleSiriusExpressionPackage=ruleSiriusExpressionPackage(); + + state._fsp--; + + current =iv_ruleSiriusExpressionPackage; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSiriusExpressionPackage" + + + // $ANTLR start "ruleSiriusExpressionPackage" + // InternalExpressionDSL.g:76:1: ruleSiriusExpressionPackage returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) ; + public final EObject ruleSiriusExpressionPackage() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + EObject lv_expressionClasses_3_0 = null; + + + enterRule(); + + try { + // InternalExpressionDSL.g:79:28: ( (otherlv_0= 'package' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) ) + // InternalExpressionDSL.g:80:1: (otherlv_0= 'package' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) + { + // InternalExpressionDSL.g:80:1: (otherlv_0= 'package' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) + // InternalExpressionDSL.g:80:3: otherlv_0= 'package' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' + { + otherlv_0=(Token)match(input,8,FOLLOW_3); + + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); + + // InternalExpressionDSL.g:84:1: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:85:1: ( ruleFQN ) + { + // InternalExpressionDSL.g:85:1: ( ruleFQN ) + // InternalExpressionDSL.g:86:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionPackageRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); + + pushFollow(FOLLOW_4); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,9,FOLLOW_5); + + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); + + // InternalExpressionDSL.g:103:1: ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* + loop1: + do { + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0==11) ) { + alt1=1; + } + + + switch (alt1) { + case 1 : + // InternalExpressionDSL.g:104:1: (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) + { + // InternalExpressionDSL.g:104:1: (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) + // InternalExpressionDSL.g:105:3: lv_expressionClasses_3_0= ruleSiriusExpressionClass + { + + newCompositeNode(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); + + pushFollow(FOLLOW_5); + lv_expressionClasses_3_0=ruleSiriusExpressionClass(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionPackageRule()); + } + add( + current, + "expressionClasses", + lv_expressionClasses_3_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusExpressionClass"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + break loop1; + } + } while (true); + + otherlv_4=(Token)match(input,10,FOLLOW_2); + + newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSiriusExpressionPackage" + + + // $ANTLR start "entryRuleSiriusExpressionClass" + // InternalExpressionDSL.g:133:1: entryRuleSiriusExpressionClass returns [EObject current=null] : iv_ruleSiriusExpressionClass= ruleSiriusExpressionClass EOF ; + public final EObject entryRuleSiriusExpressionClass() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSiriusExpressionClass = null; + + + try { + // InternalExpressionDSL.g:134:2: (iv_ruleSiriusExpressionClass= ruleSiriusExpressionClass EOF ) + // InternalExpressionDSL.g:135:2: iv_ruleSiriusExpressionClass= ruleSiriusExpressionClass EOF + { + newCompositeNode(grammarAccess.getSiriusExpressionClassRule()); + pushFollow(FOLLOW_1); + iv_ruleSiriusExpressionClass=ruleSiriusExpressionClass(); + + state._fsp--; + + current =iv_ruleSiriusExpressionClass; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSiriusExpressionClass" + + + // $ANTLR start "ruleSiriusExpressionClass" + // InternalExpressionDSL.g:142:1: ruleSiriusExpressionClass returns [EObject current=null] : (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) ; + public final EObject ruleSiriusExpressionClass() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_5=null; + EObject lv_variables_3_0 = null; + + EObject lv_expressionDescriptions_4_0 = null; + + + enterRule(); + + try { + // InternalExpressionDSL.g:145:28: ( (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) ) + // InternalExpressionDSL.g:146:1: (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) + { + // InternalExpressionDSL.g:146:1: (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) + // InternalExpressionDSL.g:146:3: otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' + { + otherlv_0=(Token)match(input,11,FOLLOW_3); + + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); + + // InternalExpressionDSL.g:150:1: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:151:1: ( ruleFQN ) + { + // InternalExpressionDSL.g:151:1: ( ruleFQN ) + // InternalExpressionDSL.g:152:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionClassRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); + + pushFollow(FOLLOW_4); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,9,FOLLOW_6); + + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); + + // InternalExpressionDSL.g:169:1: ( (lv_variables_3_0= ruleSiriusVariable ) )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0==RULE_ML_COMMENT||LA2_0==12) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalExpressionDSL.g:170:1: (lv_variables_3_0= ruleSiriusVariable ) + { + // InternalExpressionDSL.g:170:1: (lv_variables_3_0= ruleSiriusVariable ) + // InternalExpressionDSL.g:171:3: lv_variables_3_0= ruleSiriusVariable + { + + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); + + pushFollow(FOLLOW_6); + lv_variables_3_0=ruleSiriusVariable(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); + } + add( + current, + "variables", + lv_variables_3_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusVariable"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + break loop2; + } + } while (true); + + // InternalExpressionDSL.g:187:3: ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0==15) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalExpressionDSL.g:188:1: (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) + { + // InternalExpressionDSL.g:188:1: (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) + // InternalExpressionDSL.g:189:3: lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription + { + + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); + + pushFollow(FOLLOW_7); + lv_expressionDescriptions_4_0=ruleSiriusExpressionDescription(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); + } + add( + current, + "expressionDescriptions", + lv_expressionDescriptions_4_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusExpressionDescription"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + break loop3; + } + } while (true); + + otherlv_5=(Token)match(input,10,FOLLOW_2); + + newLeafNode(otherlv_5, grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSiriusExpressionClass" + + + // $ANTLR start "entryRuleSiriusVariable" + // InternalExpressionDSL.g:217:1: entryRuleSiriusVariable returns [EObject current=null] : iv_ruleSiriusVariable= ruleSiriusVariable EOF ; + public final EObject entryRuleSiriusVariable() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSiriusVariable = null; + + + try { + // InternalExpressionDSL.g:218:2: (iv_ruleSiriusVariable= ruleSiriusVariable EOF ) + // InternalExpressionDSL.g:219:2: iv_ruleSiriusVariable= ruleSiriusVariable EOF + { + newCompositeNode(grammarAccess.getSiriusVariableRule()); + pushFollow(FOLLOW_1); + iv_ruleSiriusVariable=ruleSiriusVariable(); + + state._fsp--; + + current =iv_ruleSiriusVariable; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSiriusVariable" + + + // $ANTLR start "ruleSiriusVariable" + // InternalExpressionDSL.g:226:1: ruleSiriusVariable returns [EObject current=null] : ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) ; + public final EObject ruleSiriusVariable() throws RecognitionException { + EObject current = null; + + Token lv_documentation_0_0=null; + Token otherlv_1=null; + Token lv_name_2_0=null; + Token otherlv_3=null; + + enterRule(); + + try { + // InternalExpressionDSL.g:229:28: ( ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) ) + // InternalExpressionDSL.g:230:1: ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) + { + // InternalExpressionDSL.g:230:1: ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) + // InternalExpressionDSL.g:230:2: ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) + { + // InternalExpressionDSL.g:230:2: ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==RULE_ML_COMMENT) ) { + alt4=1; + } + switch (alt4) { + case 1 : + // InternalExpressionDSL.g:231:1: (lv_documentation_0_0= RULE_ML_COMMENT ) + { + // InternalExpressionDSL.g:231:1: (lv_documentation_0_0= RULE_ML_COMMENT ) + // InternalExpressionDSL.g:232:3: lv_documentation_0_0= RULE_ML_COMMENT + { + lv_documentation_0_0=(Token)match(input,RULE_ML_COMMENT,FOLLOW_8); + + newLeafNode(lv_documentation_0_0, grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + setWithLastConsumed( + current, + "documentation", + lv_documentation_0_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.ML_COMMENT"); + + + } + + + } + break; + + } + + otherlv_1=(Token)match(input,12,FOLLOW_3); + + newLeafNode(otherlv_1, grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); + + // InternalExpressionDSL.g:252:1: ( (lv_name_2_0= RULE_ID ) ) + // InternalExpressionDSL.g:253:1: (lv_name_2_0= RULE_ID ) + { + // InternalExpressionDSL.g:253:1: (lv_name_2_0= RULE_ID ) + // InternalExpressionDSL.g:254:3: lv_name_2_0= RULE_ID + { + lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_9); + + newLeafNode(lv_name_2_0, grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_2_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.ID"); + + + } + + + } + + otherlv_3=(Token)match(input,13,FOLLOW_3); + + newLeafNode(otherlv_3, grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); + + // InternalExpressionDSL.g:274:1: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:275:1: ( ruleFQN ) + { + // InternalExpressionDSL.g:275:1: ( ruleFQN ) + // InternalExpressionDSL.g:276:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + + + newCompositeNode(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); + + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSiriusVariable" + + + // $ANTLR start "entryRuleFQN" + // InternalExpressionDSL.g:297:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; + public final String entryRuleFQN() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleFQN = null; + + + try { + // InternalExpressionDSL.g:298:2: (iv_ruleFQN= ruleFQN EOF ) + // InternalExpressionDSL.g:299:2: iv_ruleFQN= ruleFQN EOF + { + newCompositeNode(grammarAccess.getFQNRule()); + pushFollow(FOLLOW_1); + iv_ruleFQN=ruleFQN(); + + state._fsp--; + + current =iv_ruleFQN.getText(); + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleFQN" + + + // $ANTLR start "ruleFQN" + // InternalExpressionDSL.g:306:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; + public final AntlrDatatypeRuleToken ruleFQN() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_ID_0=null; + Token kw=null; + Token this_ID_2=null; + + enterRule(); + + try { + // InternalExpressionDSL.g:309:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) + // InternalExpressionDSL.g:310:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + { + // InternalExpressionDSL.g:310:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + // InternalExpressionDSL.g:310:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* + { + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_10); + + current.merge(this_ID_0); + + + newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); + + // InternalExpressionDSL.g:317:1: (kw= '.' this_ID_2= RULE_ID )* + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==14) ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalExpressionDSL.g:318:2: kw= '.' this_ID_2= RULE_ID + { + kw=(Token)match(input,14,FOLLOW_3); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); + + this_ID_2=(Token)match(input,RULE_ID,FOLLOW_10); + + current.merge(this_ID_2); + + + newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); + + + } + break; + + default : + break loop5; + } + } while (true); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleFQN" + + + // $ANTLR start "entryRuleSiriusExpressionDescription" + // InternalExpressionDSL.g:338:1: entryRuleSiriusExpressionDescription returns [EObject current=null] : iv_ruleSiriusExpressionDescription= ruleSiriusExpressionDescription EOF ; + public final EObject entryRuleSiriusExpressionDescription() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSiriusExpressionDescription = null; + + + try { + // InternalExpressionDSL.g:339:2: (iv_ruleSiriusExpressionDescription= ruleSiriusExpressionDescription EOF ) + // InternalExpressionDSL.g:340:2: iv_ruleSiriusExpressionDescription= ruleSiriusExpressionDescription EOF + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionRule()); + pushFollow(FOLLOW_1); + iv_ruleSiriusExpressionDescription=ruleSiriusExpressionDescription(); + + state._fsp--; + + current =iv_ruleSiriusExpressionDescription; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSiriusExpressionDescription" + + + // $ANTLR start "ruleSiriusExpressionDescription" + // InternalExpressionDSL.g:347:1: ruleSiriusExpressionDescription returns [EObject current=null] : (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'contextableElements' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) ; + public final EObject ruleSiriusExpressionDescription() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_6=null; + Token otherlv_7=null; + Token otherlv_9=null; + Token otherlv_11=null; + Token otherlv_13=null; + Token otherlv_14=null; + Token otherlv_15=null; + Token otherlv_16=null; + Token otherlv_17=null; + Token otherlv_19=null; + Token otherlv_21=null; + Token otherlv_22=null; + EObject lv_parameters_3_0 = null; + + EObject lv_parameters_5_0 = null; + + AntlrDatatypeRuleToken lv_lowerBound_10_0 = null; + + AntlrDatatypeRuleToken lv_upperBound_12_0 = null; + + + enterRule(); + + try { + // InternalExpressionDSL.g:350:28: ( (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'contextableElements' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) ) + // InternalExpressionDSL.g:351:1: (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'contextableElements' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) + { + // InternalExpressionDSL.g:351:1: (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'contextableElements' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) + // InternalExpressionDSL.g:351:3: otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'contextableElements' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' + { + otherlv_0=(Token)match(input,15,FOLLOW_3); + + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); + + // InternalExpressionDSL.g:355:1: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:356:1: ( ruleFQN ) + { + // InternalExpressionDSL.g:356:1: ( ruleFQN ) + // InternalExpressionDSL.g:357:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); + + pushFollow(FOLLOW_11); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,16,FOLLOW_12); + + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); + + // InternalExpressionDSL.g:374:1: ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0==RULE_ID||LA7_0==24) ) { + alt7=1; + } + switch (alt7) { + case 1 : + // InternalExpressionDSL.g:374:2: ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* + { + // InternalExpressionDSL.g:374:2: ( (lv_parameters_3_0= ruleParameter ) ) + // InternalExpressionDSL.g:375:1: (lv_parameters_3_0= ruleParameter ) + { + // InternalExpressionDSL.g:375:1: (lv_parameters_3_0= ruleParameter ) + // InternalExpressionDSL.g:376:3: lv_parameters_3_0= ruleParameter + { + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_0_0()); + + pushFollow(FOLLOW_13); + lv_parameters_3_0=ruleParameter(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + add( + current, + "parameters", + lv_parameters_3_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.Parameter"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalExpressionDSL.g:392:2: (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* + loop6: + do { + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==17) ) { + alt6=1; + } + + + switch (alt6) { + case 1 : + // InternalExpressionDSL.g:392:4: otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) + { + otherlv_4=(Token)match(input,17,FOLLOW_14); + + newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); + + // InternalExpressionDSL.g:396:1: ( (lv_parameters_5_0= ruleParameter ) ) + // InternalExpressionDSL.g:397:1: (lv_parameters_5_0= ruleParameter ) + { + // InternalExpressionDSL.g:397:1: (lv_parameters_5_0= ruleParameter ) + // InternalExpressionDSL.g:398:3: lv_parameters_5_0= ruleParameter + { + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_1_1_0()); + + pushFollow(FOLLOW_13); + lv_parameters_5_0=ruleParameter(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + add( + current, + "parameters", + lv_parameters_5_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.Parameter"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop6; + } + } while (true); + + + } + break; + + } + + otherlv_6=(Token)match(input,18,FOLLOW_9); + + newLeafNode(otherlv_6, grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); + + otherlv_7=(Token)match(input,13,FOLLOW_3); + + newLeafNode(otherlv_7, grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); + + // InternalExpressionDSL.g:422:1: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:423:1: ( ruleFQN ) + { + // InternalExpressionDSL.g:423:1: ( ruleFQN ) + // InternalExpressionDSL.g:424:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierCrossReference_6_0()); + + pushFollow(FOLLOW_15); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_9=(Token)match(input,19,FOLLOW_16); + + newLeafNode(otherlv_9, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); + + // InternalExpressionDSL.g:441:1: ( (lv_lowerBound_10_0= ruleBound ) ) + // InternalExpressionDSL.g:442:1: (lv_lowerBound_10_0= ruleBound ) + { + // InternalExpressionDSL.g:442:1: (lv_lowerBound_10_0= ruleBound ) + // InternalExpressionDSL.g:443:3: lv_lowerBound_10_0= ruleBound + { + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); + + pushFollow(FOLLOW_17); + lv_lowerBound_10_0=ruleBound(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + set( + current, + "lowerBound", + lv_lowerBound_10_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.Bound"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_11=(Token)match(input,20,FOLLOW_16); + + newLeafNode(otherlv_11, grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); + + // InternalExpressionDSL.g:463:1: ( (lv_upperBound_12_0= ruleBound ) ) + // InternalExpressionDSL.g:464:1: (lv_upperBound_12_0= ruleBound ) + { + // InternalExpressionDSL.g:464:1: (lv_upperBound_12_0= ruleBound ) + // InternalExpressionDSL.g:465:3: lv_upperBound_12_0= ruleBound + { + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); + + pushFollow(FOLLOW_18); + lv_upperBound_12_0=ruleBound(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + set( + current, + "upperBound", + lv_upperBound_12_0, + "org.eclipse.sirius.expression.dsl.ExpressionDSL.Bound"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_13=(Token)match(input,21,FOLLOW_4); + + newLeafNode(otherlv_13, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); + + otherlv_14=(Token)match(input,9,FOLLOW_19); + + newLeafNode(otherlv_14, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); + + otherlv_15=(Token)match(input,22,FOLLOW_20); + + newLeafNode(otherlv_15, grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsKeyword_13()); + + otherlv_16=(Token)match(input,23,FOLLOW_15); + + newLeafNode(otherlv_16, grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); + + otherlv_17=(Token)match(input,19,FOLLOW_21); + + newLeafNode(otherlv_17, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); + + // InternalExpressionDSL.g:501:1: ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==RULE_ID) ) { + alt9=1; + } + switch (alt9) { + case 1 : + // InternalExpressionDSL.g:501:2: ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* + { + // InternalExpressionDSL.g:501:2: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:502:1: ( ruleFQN ) + { + // InternalExpressionDSL.g:502:1: ( ruleFQN ) + // InternalExpressionDSL.g:503:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_0_0()); + + pushFollow(FOLLOW_22); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalExpressionDSL.g:516:2: (otherlv_19= ',' ( ( ruleFQN ) ) )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); + + if ( (LA8_0==17) ) { + alt8=1; + } + + + switch (alt8) { + case 1 : + // InternalExpressionDSL.g:516:4: otherlv_19= ',' ( ( ruleFQN ) ) + { + otherlv_19=(Token)match(input,17,FOLLOW_3); + + newLeafNode(otherlv_19, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); + + // InternalExpressionDSL.g:520:1: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:521:1: ( ruleFQN ) + { + // InternalExpressionDSL.g:521:1: ( ruleFQN ) + // InternalExpressionDSL.g:522:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_1_1_0()); + + pushFollow(FOLLOW_22); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop8; + } + } while (true); + + + } + break; + + } + + otherlv_21=(Token)match(input,21,FOLLOW_23); + + newLeafNode(otherlv_21, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); + + otherlv_22=(Token)match(input,10,FOLLOW_2); + + newLeafNode(otherlv_22, grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSiriusExpressionDescription" + + + // $ANTLR start "entryRuleParameter" + // InternalExpressionDSL.g:551:1: entryRuleParameter returns [EObject current=null] : iv_ruleParameter= ruleParameter EOF ; + public final EObject entryRuleParameter() throws RecognitionException { + EObject current = null; + + EObject iv_ruleParameter = null; + + + try { + // InternalExpressionDSL.g:552:2: (iv_ruleParameter= ruleParameter EOF ) + // InternalExpressionDSL.g:553:2: iv_ruleParameter= ruleParameter EOF + { + newCompositeNode(grammarAccess.getParameterRule()); + pushFollow(FOLLOW_1); + iv_ruleParameter=ruleParameter(); + + state._fsp--; + + current =iv_ruleParameter; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleParameter" + + + // $ANTLR start "ruleParameter" + // InternalExpressionDSL.g:560:1: ruleParameter returns [EObject current=null] : ( ( (lv_optional_0_0= 'optional' ) )? ( ( ruleFQN ) ) ) ; + public final EObject ruleParameter() throws RecognitionException { + EObject current = null; + + Token lv_optional_0_0=null; + + enterRule(); + + try { + // InternalExpressionDSL.g:563:28: ( ( ( (lv_optional_0_0= 'optional' ) )? ( ( ruleFQN ) ) ) ) + // InternalExpressionDSL.g:564:1: ( ( (lv_optional_0_0= 'optional' ) )? ( ( ruleFQN ) ) ) + { + // InternalExpressionDSL.g:564:1: ( ( (lv_optional_0_0= 'optional' ) )? ( ( ruleFQN ) ) ) + // InternalExpressionDSL.g:564:2: ( (lv_optional_0_0= 'optional' ) )? ( ( ruleFQN ) ) + { + // InternalExpressionDSL.g:564:2: ( (lv_optional_0_0= 'optional' ) )? + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==24) ) { + alt10=1; + } + switch (alt10) { + case 1 : + // InternalExpressionDSL.g:565:1: (lv_optional_0_0= 'optional' ) + { + // InternalExpressionDSL.g:565:1: (lv_optional_0_0= 'optional' ) + // InternalExpressionDSL.g:566:3: lv_optional_0_0= 'optional' + { + lv_optional_0_0=(Token)match(input,24,FOLLOW_3); + + newLeafNode(lv_optional_0_0, grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getParameterRule()); + } + setWithLastConsumed(current, "optional", true, "optional"); + + + } + + + } + break; + + } + + // InternalExpressionDSL.g:579:3: ( ( ruleFQN ) ) + // InternalExpressionDSL.g:580:1: ( ruleFQN ) + { + // InternalExpressionDSL.g:580:1: ( ruleFQN ) + // InternalExpressionDSL.g:581:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getParameterRule()); + } + + + newCompositeNode(grammarAccess.getParameterAccess().getVariableSiriusVariableCrossReference_1_0()); + + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleParameter" + + + // $ANTLR start "entryRuleBound" + // InternalExpressionDSL.g:602:1: entryRuleBound returns [String current=null] : iv_ruleBound= ruleBound EOF ; + public final String entryRuleBound() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleBound = null; + + + try { + // InternalExpressionDSL.g:603:2: (iv_ruleBound= ruleBound EOF ) + // InternalExpressionDSL.g:604:2: iv_ruleBound= ruleBound EOF + { + newCompositeNode(grammarAccess.getBoundRule()); + pushFollow(FOLLOW_1); + iv_ruleBound=ruleBound(); + + state._fsp--; + + current =iv_ruleBound.getText(); + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleBound" + + + // $ANTLR start "ruleBound" + // InternalExpressionDSL.g:611:1: ruleBound returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; + public final AntlrDatatypeRuleToken ruleBound() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + Token this_INT_1=null; + + enterRule(); + + try { + // InternalExpressionDSL.g:614:28: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) + // InternalExpressionDSL.g:615:1: ( (kw= '-' )? this_INT_1= RULE_INT ) + { + // InternalExpressionDSL.g:615:1: ( (kw= '-' )? this_INT_1= RULE_INT ) + // InternalExpressionDSL.g:615:2: (kw= '-' )? this_INT_1= RULE_INT + { + // InternalExpressionDSL.g:615:2: (kw= '-' )? + int alt11=2; + int LA11_0 = input.LA(1); + + if ( (LA11_0==25) ) { + alt11=1; + } + switch (alt11) { + case 1 : + // InternalExpressionDSL.g:616:2: kw= '-' + { + kw=(Token)match(input,25,FOLLOW_24); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); + + + } + break; + + } + + this_INT_1=(Token)match(input,RULE_INT,FOLLOW_2); + + current.merge(this_INT_1); + + + newLeafNode(this_INT_1, grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleBound" + + // Delegated rules + + + + + public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000200L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000C00L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000009410L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000008400L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000004002L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000001040020L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000060000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000001000020L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000002000040L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000100000L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000400000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000200020L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000220000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000400L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000000040L}); + +} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSemanticSequencer.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSemanticSequencer.java new file mode 100644 index 000000000..08772786c --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSemanticSequencer.java @@ -0,0 +1,102 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.serializer; + +import com.google.inject.Inject; +import com.google.inject.Provider; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage; +import org.eclipse.sirius.expression.dsl.expressionDSL.Parameter; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage; +import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable; +import org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess; +import org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor; +import org.eclipse.xtext.serializer.diagnostic.ISemanticSequencerDiagnosticProvider; +import org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic.Acceptor; +import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.GenericSequencer; +import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.ITransientValueService; + +@SuppressWarnings("all") +public class ExpressionDSLSemanticSequencer extends AbstractDelegatingSemanticSequencer { + + @Inject + private ExpressionDSLGrammarAccess grammarAccess; + + @Override + public void createSequence(EObject context, EObject semanticObject) { + if(semanticObject.eClass().getEPackage() == ExpressionDSLPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { + case ExpressionDSLPackage.PARAMETER: + sequence_Parameter(context, (Parameter) semanticObject); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS: + sequence_SiriusExpressionClass(context, (SiriusExpressionClass) semanticObject); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION: + sequence_SiriusExpressionDescription(context, (SiriusExpressionDescription) semanticObject); + return; + case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE: + sequence_SiriusExpressionPackage(context, (SiriusExpressionPackage) semanticObject); + return; + case ExpressionDSLPackage.SIRIUS_VARIABLE: + sequence_SiriusVariable(context, (SiriusVariable) semanticObject); + return; + } + if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); + } + + /** + * Constraint: + * (optional?='optional'? variable=[SiriusVariable|FQN]) + */ + protected void sequence_Parameter(EObject context, Parameter semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: + * (eClass=[EClass|FQN] variables+=SiriusVariable* expressionDescriptions+=SiriusExpressionDescription*) + */ + protected void sequence_SiriusExpressionClass(EObject context, SiriusExpressionClass semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: + * ( + * expression=[EAttribute|FQN] + * (parameters+=Parameter parameters+=Parameter*)? + * type=[EClassifier|FQN] + * lowerBound=Bound + * upperBound=Bound + * (contextableElements+=[EClass|FQN] contextableElements+=[EClass|FQN]*)? + * ) + */ + protected void sequence_SiriusExpressionDescription(EObject context, SiriusExpressionDescription semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: + * (ePackage=[EPackage|FQN] expressionClasses+=SiriusExpressionClass*) + */ + protected void sequence_SiriusExpressionPackage(EObject context, SiriusExpressionPackage semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: + * (documentation=ML_COMMENT? name=ID eType=[EClassifier|FQN]) + */ + protected void sequence_SiriusVariable(EObject context, SiriusVariable semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSyntacticSequencer.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSyntacticSequencer.java new file mode 100644 index 000000000..cfa14b257 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSyntacticSequencer.java @@ -0,0 +1,43 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.serializer; + +import com.google.inject.Inject; +import java.util.List; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess; +import org.eclipse.xtext.IGrammarAccess; +import org.eclipse.xtext.RuleCall; +import org.eclipse.xtext.nodemodel.INode; +import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; +import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; +import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; + +@SuppressWarnings("all") +public class ExpressionDSLSyntacticSequencer extends AbstractSyntacticSequencer { + + protected ExpressionDSLGrammarAccess grammarAccess; + + @Inject + protected void init(IGrammarAccess access) { + grammarAccess = (ExpressionDSLGrammarAccess) access; + } + + @Override + protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { + return ""; + } + + + @Override + protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { + if (transition.getAmbiguousSyntaxes().isEmpty()) return; + List transitionNodes = collectNodes(fromNode, toNode); + for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { + List syntaxNodes = getNodesFor(transitionNodes, syntax); + acceptNodes(getLastNavigableState(), syntaxNodes); + } + } + +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/services/ExpressionDSLGrammarAccess.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/services/ExpressionDSLGrammarAccess.java new file mode 100644 index 000000000..5bd7c08da --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/services/ExpressionDSLGrammarAccess.java @@ -0,0 +1,584 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.services; + +import com.google.inject.Singleton; +import com.google.inject.Inject; + +import java.util.List; + +import org.eclipse.xtext.*; +import org.eclipse.xtext.service.GrammarProvider; +import org.eclipse.xtext.service.AbstractElementFinder.*; + + +@Singleton +public class ExpressionDSLGrammarAccess extends AbstractGrammarElementFinder { + + + public class SiriusExpressionPackageElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusExpressionPackage"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cEPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cEPackageEPackageCrossReference_1_0 = (CrossReference)cEPackageAssignment_1.eContents().get(0); + private final RuleCall cEPackageEPackageFQNParserRuleCall_1_0_1 = (RuleCall)cEPackageEPackageCrossReference_1_0.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Assignment cExpressionClassesAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cExpressionClassesSiriusExpressionClassParserRuleCall_3_0 = (RuleCall)cExpressionClassesAssignment_3.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); + + //SiriusExpressionPackage: + // 'package' ePackage=[ecore::EPackage|FQN] '{' + // expressionClasses+=SiriusExpressionClass* + // '}'; + @Override public ParserRule getRule() { return rule; } + + //'package' ePackage=[ecore::EPackage|FQN] '{' expressionClasses+=SiriusExpressionClass* '}' + public Group getGroup() { return cGroup; } + + //'package' + public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } + + //ePackage=[ecore::EPackage|FQN] + public Assignment getEPackageAssignment_1() { return cEPackageAssignment_1; } + + //[ecore::EPackage|FQN] + public CrossReference getEPackageEPackageCrossReference_1_0() { return cEPackageEPackageCrossReference_1_0; } + + //FQN + public RuleCall getEPackageEPackageFQNParserRuleCall_1_0_1() { return cEPackageEPackageFQNParserRuleCall_1_0_1; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //expressionClasses+=SiriusExpressionClass* + public Assignment getExpressionClassesAssignment_3() { return cExpressionClassesAssignment_3; } + + //SiriusExpressionClass + public RuleCall getExpressionClassesSiriusExpressionClassParserRuleCall_3_0() { return cExpressionClassesSiriusExpressionClassParserRuleCall_3_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } + } + + public class SiriusExpressionClassElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusExpressionClass"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cClassKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cEClassAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cEClassEClassCrossReference_1_0 = (CrossReference)cEClassAssignment_1.eContents().get(0); + private final RuleCall cEClassEClassFQNParserRuleCall_1_0_1 = (RuleCall)cEClassEClassCrossReference_1_0.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Assignment cVariablesAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cVariablesSiriusVariableParserRuleCall_3_0 = (RuleCall)cVariablesAssignment_3.eContents().get(0); + private final Assignment cExpressionDescriptionsAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0 = (RuleCall)cExpressionDescriptionsAssignment_4.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); + + //SiriusExpressionClass: + // 'class' eClass=[ecore::EClass|FQN] '{' + // variables+=SiriusVariable* + // expressionDescriptions+=SiriusExpressionDescription* + // '}'; + @Override public ParserRule getRule() { return rule; } + + //'class' eClass=[ecore::EClass|FQN] '{' variables+=SiriusVariable* expressionDescriptions+=SiriusExpressionDescription* + //'}' + public Group getGroup() { return cGroup; } + + //'class' + public Keyword getClassKeyword_0() { return cClassKeyword_0; } + + //eClass=[ecore::EClass|FQN] + public Assignment getEClassAssignment_1() { return cEClassAssignment_1; } + + //[ecore::EClass|FQN] + public CrossReference getEClassEClassCrossReference_1_0() { return cEClassEClassCrossReference_1_0; } + + //FQN + public RuleCall getEClassEClassFQNParserRuleCall_1_0_1() { return cEClassEClassFQNParserRuleCall_1_0_1; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //variables+=SiriusVariable* + public Assignment getVariablesAssignment_3() { return cVariablesAssignment_3; } + + //SiriusVariable + public RuleCall getVariablesSiriusVariableParserRuleCall_3_0() { return cVariablesSiriusVariableParserRuleCall_3_0; } + + //expressionDescriptions+=SiriusExpressionDescription* + public Assignment getExpressionDescriptionsAssignment_4() { return cExpressionDescriptionsAssignment_4; } + + //SiriusExpressionDescription + public RuleCall getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0() { return cExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } + } + + public class SiriusVariableElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusVariable"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cDocumentationAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cDocumentationML_COMMENTTerminalRuleCall_0_0 = (RuleCall)cDocumentationAssignment_0.eContents().get(0); + private final Keyword cVarKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); + private final Keyword cColonKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cETypeAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final CrossReference cETypeEClassifierCrossReference_4_0 = (CrossReference)cETypeAssignment_4.eContents().get(0); + private final RuleCall cETypeEClassifierFQNParserRuleCall_4_0_1 = (RuleCall)cETypeEClassifierCrossReference_4_0.eContents().get(1); + + //SiriusVariable: + // documentation=ML_COMMENT? + // 'var' name=ID ':' eType=[ecore::EClassifier|FQN]; + @Override public ParserRule getRule() { return rule; } + + //documentation=ML_COMMENT? 'var' name=ID ':' eType=[ecore::EClassifier|FQN] + public Group getGroup() { return cGroup; } + + //documentation=ML_COMMENT? + public Assignment getDocumentationAssignment_0() { return cDocumentationAssignment_0; } + + //ML_COMMENT + public RuleCall getDocumentationML_COMMENTTerminalRuleCall_0_0() { return cDocumentationML_COMMENTTerminalRuleCall_0_0; } + + //'var' + public Keyword getVarKeyword_1() { return cVarKeyword_1; } + + //name=ID + public Assignment getNameAssignment_2() { return cNameAssignment_2; } + + //ID + public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } + + //':' + public Keyword getColonKeyword_3() { return cColonKeyword_3; } + + //eType=[ecore::EClassifier|FQN] + public Assignment getETypeAssignment_4() { return cETypeAssignment_4; } + + //[ecore::EClassifier|FQN] + public CrossReference getETypeEClassifierCrossReference_4_0() { return cETypeEClassifierCrossReference_4_0; } + + //FQN + public RuleCall getETypeEClassifierFQNParserRuleCall_4_0_1() { return cETypeEClassifierFQNParserRuleCall_4_0_1; } + } + + public class FQNElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.FQN"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); + private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); + + //FQN: + // ID ("." ID)*; + @Override public ParserRule getRule() { return rule; } + + //ID ("." ID)* + public Group getGroup() { return cGroup; } + + //ID + public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } + + //("." ID)* + public Group getGroup_1() { return cGroup_1; } + + //"." + public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } + + //ID + public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } + } + + public class SiriusExpressionDescriptionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusExpressionDescription"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cExpKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cExpressionAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cExpressionEAttributeCrossReference_1_0 = (CrossReference)cExpressionAssignment_1.eContents().get(0); + private final RuleCall cExpressionEAttributeFQNParserRuleCall_1_0_1 = (RuleCall)cExpressionEAttributeCrossReference_1_0.eContents().get(1); + private final Keyword cLeftParenthesisKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Group cGroup_3 = (Group)cGroup.eContents().get(3); + private final Assignment cParametersAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0); + private final RuleCall cParametersParameterParserRuleCall_3_0_0 = (RuleCall)cParametersAssignment_3_0.eContents().get(0); + private final Group cGroup_3_1 = (Group)cGroup_3.eContents().get(1); + private final Keyword cCommaKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); + private final Assignment cParametersAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1); + private final RuleCall cParametersParameterParserRuleCall_3_1_1_0 = (RuleCall)cParametersAssignment_3_1_1.eContents().get(0); + private final Keyword cRightParenthesisKeyword_4 = (Keyword)cGroup.eContents().get(4); + private final Keyword cColonKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cTypeAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final CrossReference cTypeEClassifierCrossReference_6_0 = (CrossReference)cTypeAssignment_6.eContents().get(0); + private final RuleCall cTypeEClassifierFQNParserRuleCall_6_0_1 = (RuleCall)cTypeEClassifierCrossReference_6_0.eContents().get(1); + private final Keyword cLeftSquareBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); + private final Assignment cLowerBoundAssignment_8 = (Assignment)cGroup.eContents().get(8); + private final RuleCall cLowerBoundBoundParserRuleCall_8_0 = (RuleCall)cLowerBoundAssignment_8.eContents().get(0); + private final Keyword cFullStopFullStopKeyword_9 = (Keyword)cGroup.eContents().get(9); + private final Assignment cUpperBoundAssignment_10 = (Assignment)cGroup.eContents().get(10); + private final RuleCall cUpperBoundBoundParserRuleCall_10_0 = (RuleCall)cUpperBoundAssignment_10.eContents().get(0); + private final Keyword cRightSquareBracketKeyword_11 = (Keyword)cGroup.eContents().get(11); + private final Keyword cLeftCurlyBracketKeyword_12 = (Keyword)cGroup.eContents().get(12); + private final Keyword cContextableElementsKeyword_13 = (Keyword)cGroup.eContents().get(13); + private final Keyword cEqualsSignKeyword_14 = (Keyword)cGroup.eContents().get(14); + private final Keyword cLeftSquareBracketKeyword_15 = (Keyword)cGroup.eContents().get(15); + private final Group cGroup_16 = (Group)cGroup.eContents().get(16); + private final Assignment cContextableElementsAssignment_16_0 = (Assignment)cGroup_16.eContents().get(0); + private final CrossReference cContextableElementsEClassCrossReference_16_0_0 = (CrossReference)cContextableElementsAssignment_16_0.eContents().get(0); + private final RuleCall cContextableElementsEClassFQNParserRuleCall_16_0_0_1 = (RuleCall)cContextableElementsEClassCrossReference_16_0_0.eContents().get(1); + private final Group cGroup_16_1 = (Group)cGroup_16.eContents().get(1); + private final Keyword cCommaKeyword_16_1_0 = (Keyword)cGroup_16_1.eContents().get(0); + private final Assignment cContextableElementsAssignment_16_1_1 = (Assignment)cGroup_16_1.eContents().get(1); + private final CrossReference cContextableElementsEClassCrossReference_16_1_1_0 = (CrossReference)cContextableElementsAssignment_16_1_1.eContents().get(0); + private final RuleCall cContextableElementsEClassFQNParserRuleCall_16_1_1_0_1 = (RuleCall)cContextableElementsEClassCrossReference_16_1_1_0.eContents().get(1); + private final Keyword cRightSquareBracketKeyword_17 = (Keyword)cGroup.eContents().get(17); + private final Keyword cRightCurlyBracketKeyword_18 = (Keyword)cGroup.eContents().get(18); + + //SiriusExpressionDescription: + // 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=Parameter (',' parameters+=Parameter)*)? ')' ':' + // type=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' + // 'contextableElements' '=' '[' (contextableElements+=[ecore::EClass|FQN] (',' + // contextableElements+=[ecore::EClass|FQN])*)? + // ']' + // '}'; + @Override public ParserRule getRule() { return rule; } + + //'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=Parameter (',' parameters+=Parameter)*)? ')' ':' + //type=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' 'contextableElements' '=' '[' + //(contextableElements+=[ecore::EClass|FQN] (',' contextableElements+=[ecore::EClass|FQN])*)? ']' '}' + public Group getGroup() { return cGroup; } + + //'exp' + public Keyword getExpKeyword_0() { return cExpKeyword_0; } + + //expression=[ecore::EAttribute|FQN] + public Assignment getExpressionAssignment_1() { return cExpressionAssignment_1; } + + //[ecore::EAttribute|FQN] + public CrossReference getExpressionEAttributeCrossReference_1_0() { return cExpressionEAttributeCrossReference_1_0; } + + //FQN + public RuleCall getExpressionEAttributeFQNParserRuleCall_1_0_1() { return cExpressionEAttributeFQNParserRuleCall_1_0_1; } + + //'(' + public Keyword getLeftParenthesisKeyword_2() { return cLeftParenthesisKeyword_2; } + + //(parameters+=Parameter (',' parameters+=Parameter)*)? + public Group getGroup_3() { return cGroup_3; } + + //parameters+=Parameter + public Assignment getParametersAssignment_3_0() { return cParametersAssignment_3_0; } + + //Parameter + public RuleCall getParametersParameterParserRuleCall_3_0_0() { return cParametersParameterParserRuleCall_3_0_0; } + + //(',' parameters+=Parameter)* + public Group getGroup_3_1() { return cGroup_3_1; } + + //',' + public Keyword getCommaKeyword_3_1_0() { return cCommaKeyword_3_1_0; } + + //parameters+=Parameter + public Assignment getParametersAssignment_3_1_1() { return cParametersAssignment_3_1_1; } + + //Parameter + public RuleCall getParametersParameterParserRuleCall_3_1_1_0() { return cParametersParameterParserRuleCall_3_1_1_0; } + + //')' + public Keyword getRightParenthesisKeyword_4() { return cRightParenthesisKeyword_4; } + + //':' + public Keyword getColonKeyword_5() { return cColonKeyword_5; } + + //type=[ecore::EClassifier|FQN] + public Assignment getTypeAssignment_6() { return cTypeAssignment_6; } + + //[ecore::EClassifier|FQN] + public CrossReference getTypeEClassifierCrossReference_6_0() { return cTypeEClassifierCrossReference_6_0; } + + //FQN + public RuleCall getTypeEClassifierFQNParserRuleCall_6_0_1() { return cTypeEClassifierFQNParserRuleCall_6_0_1; } + + //'[' + public Keyword getLeftSquareBracketKeyword_7() { return cLeftSquareBracketKeyword_7; } + + //lowerBound=Bound + public Assignment getLowerBoundAssignment_8() { return cLowerBoundAssignment_8; } + + //Bound + public RuleCall getLowerBoundBoundParserRuleCall_8_0() { return cLowerBoundBoundParserRuleCall_8_0; } + + //'..' + public Keyword getFullStopFullStopKeyword_9() { return cFullStopFullStopKeyword_9; } + + //upperBound=Bound + public Assignment getUpperBoundAssignment_10() { return cUpperBoundAssignment_10; } + + //Bound + public RuleCall getUpperBoundBoundParserRuleCall_10_0() { return cUpperBoundBoundParserRuleCall_10_0; } + + //']' + public Keyword getRightSquareBracketKeyword_11() { return cRightSquareBracketKeyword_11; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_12() { return cLeftCurlyBracketKeyword_12; } + + //'contextableElements' + public Keyword getContextableElementsKeyword_13() { return cContextableElementsKeyword_13; } + + //'=' + public Keyword getEqualsSignKeyword_14() { return cEqualsSignKeyword_14; } + + //'[' + public Keyword getLeftSquareBracketKeyword_15() { return cLeftSquareBracketKeyword_15; } + + //(contextableElements+=[ecore::EClass|FQN] (',' contextableElements+=[ecore::EClass|FQN])*)? + public Group getGroup_16() { return cGroup_16; } + + //contextableElements+=[ecore::EClass|FQN] + public Assignment getContextableElementsAssignment_16_0() { return cContextableElementsAssignment_16_0; } + + //[ecore::EClass|FQN] + public CrossReference getContextableElementsEClassCrossReference_16_0_0() { return cContextableElementsEClassCrossReference_16_0_0; } + + //FQN + public RuleCall getContextableElementsEClassFQNParserRuleCall_16_0_0_1() { return cContextableElementsEClassFQNParserRuleCall_16_0_0_1; } + + //(',' contextableElements+=[ecore::EClass|FQN])* + public Group getGroup_16_1() { return cGroup_16_1; } + + //',' + public Keyword getCommaKeyword_16_1_0() { return cCommaKeyword_16_1_0; } + + //contextableElements+=[ecore::EClass|FQN] + public Assignment getContextableElementsAssignment_16_1_1() { return cContextableElementsAssignment_16_1_1; } + + //[ecore::EClass|FQN] + public CrossReference getContextableElementsEClassCrossReference_16_1_1_0() { return cContextableElementsEClassCrossReference_16_1_1_0; } + + //FQN + public RuleCall getContextableElementsEClassFQNParserRuleCall_16_1_1_0_1() { return cContextableElementsEClassFQNParserRuleCall_16_1_1_0_1; } + + //']' + public Keyword getRightSquareBracketKeyword_17() { return cRightSquareBracketKeyword_17; } + + //'}' + public Keyword getRightCurlyBracketKeyword_18() { return cRightCurlyBracketKeyword_18; } + } + + public class ParameterElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.Parameter"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cOptionalAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final Keyword cOptionalOptionalKeyword_0_0 = (Keyword)cOptionalAssignment_0.eContents().get(0); + private final Assignment cVariableAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cVariableSiriusVariableCrossReference_1_0 = (CrossReference)cVariableAssignment_1.eContents().get(0); + private final RuleCall cVariableSiriusVariableFQNParserRuleCall_1_0_1 = (RuleCall)cVariableSiriusVariableCrossReference_1_0.eContents().get(1); + + //Parameter: + // optional?='optional'? variable=[SiriusVariable|FQN]; + @Override public ParserRule getRule() { return rule; } + + //optional?='optional'? variable=[SiriusVariable|FQN] + public Group getGroup() { return cGroup; } + + //optional?='optional'? + public Assignment getOptionalAssignment_0() { return cOptionalAssignment_0; } + + //'optional' + public Keyword getOptionalOptionalKeyword_0_0() { return cOptionalOptionalKeyword_0_0; } + + //variable=[SiriusVariable|FQN] + public Assignment getVariableAssignment_1() { return cVariableAssignment_1; } + + //[SiriusVariable|FQN] + public CrossReference getVariableSiriusVariableCrossReference_1_0() { return cVariableSiriusVariableCrossReference_1_0; } + + //FQN + public RuleCall getVariableSiriusVariableFQNParserRuleCall_1_0_1() { return cVariableSiriusVariableFQNParserRuleCall_1_0_1; } + } + + public class BoundElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.Bound"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); + + //Bound ecore::EInt: + // '-'? INT + @Override public ParserRule getRule() { return rule; } + + //'-'? INT + public Group getGroup() { return cGroup; } + + //'-'? + public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; } + + //INT + public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; } + } + + + private final SiriusExpressionPackageElements pSiriusExpressionPackage; + private final SiriusExpressionClassElements pSiriusExpressionClass; + private final SiriusVariableElements pSiriusVariable; + private final FQNElements pFQN; + private final SiriusExpressionDescriptionElements pSiriusExpressionDescription; + private final ParameterElements pParameter; + private final BoundElements pBound; + private final TerminalRule tID; + private final TerminalRule tINT; + private final TerminalRule tML_COMMENT; + private final TerminalRule tWS; + + private final Grammar grammar; + + @Inject + public ExpressionDSLGrammarAccess(GrammarProvider grammarProvider) { + this.grammar = internalFindGrammar(grammarProvider); + this.pSiriusExpressionPackage = new SiriusExpressionPackageElements(); + this.pSiriusExpressionClass = new SiriusExpressionClassElements(); + this.pSiriusVariable = new SiriusVariableElements(); + this.pFQN = new FQNElements(); + this.pSiriusExpressionDescription = new SiriusExpressionDescriptionElements(); + this.pParameter = new ParameterElements(); + this.pBound = new BoundElements(); + this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.ID"); + this.tINT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.INT"); + this.tML_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.ML_COMMENT"); + this.tWS = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.WS"); + } + + protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { + Grammar grammar = grammarProvider.getGrammar(this); + while (grammar != null) { + if ("org.eclipse.sirius.expression.dsl.ExpressionDSL".equals(grammar.getName())) { + return grammar; + } + List grammars = grammar.getUsedGrammars(); + if (!grammars.isEmpty()) { + grammar = grammars.iterator().next(); + } else { + return null; + } + } + return grammar; + } + + @Override + public Grammar getGrammar() { + return grammar; + } + + + + //SiriusExpressionPackage: + // 'package' ePackage=[ecore::EPackage|FQN] '{' + // expressionClasses+=SiriusExpressionClass* + // '}'; + public SiriusExpressionPackageElements getSiriusExpressionPackageAccess() { + return pSiriusExpressionPackage; + } + + public ParserRule getSiriusExpressionPackageRule() { + return getSiriusExpressionPackageAccess().getRule(); + } + + //SiriusExpressionClass: + // 'class' eClass=[ecore::EClass|FQN] '{' + // variables+=SiriusVariable* + // expressionDescriptions+=SiriusExpressionDescription* + // '}'; + public SiriusExpressionClassElements getSiriusExpressionClassAccess() { + return pSiriusExpressionClass; + } + + public ParserRule getSiriusExpressionClassRule() { + return getSiriusExpressionClassAccess().getRule(); + } + + //SiriusVariable: + // documentation=ML_COMMENT? + // 'var' name=ID ':' eType=[ecore::EClassifier|FQN]; + public SiriusVariableElements getSiriusVariableAccess() { + return pSiriusVariable; + } + + public ParserRule getSiriusVariableRule() { + return getSiriusVariableAccess().getRule(); + } + + //FQN: + // ID ("." ID)*; + public FQNElements getFQNAccess() { + return pFQN; + } + + public ParserRule getFQNRule() { + return getFQNAccess().getRule(); + } + + //SiriusExpressionDescription: + // 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=Parameter (',' parameters+=Parameter)*)? ')' ':' + // type=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' + // 'contextableElements' '=' '[' (contextableElements+=[ecore::EClass|FQN] (',' + // contextableElements+=[ecore::EClass|FQN])*)? + // ']' + // '}'; + public SiriusExpressionDescriptionElements getSiriusExpressionDescriptionAccess() { + return pSiriusExpressionDescription; + } + + public ParserRule getSiriusExpressionDescriptionRule() { + return getSiriusExpressionDescriptionAccess().getRule(); + } + + //Parameter: + // optional?='optional'? variable=[SiriusVariable|FQN]; + public ParameterElements getParameterAccess() { + return pParameter; + } + + public ParserRule getParameterRule() { + return getParameterAccess().getRule(); + } + + //Bound ecore::EInt: + // '-'? INT + public BoundElements getBoundAccess() { + return pBound; + } + + public ParserRule getBoundRule() { + return getBoundAccess().getRule(); + } + + //terminal ID: + // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; + public TerminalRule getIDRule() { + return tID; + } + + //terminal INT returns ecore::EInt: + // '0'..'9'+; + public TerminalRule getINTRule() { + return tINT; + } + + //terminal ML_COMMENT: + // '/ *'->'* /'; + public TerminalRule getML_COMMENTRule() { + return tML_COMMENT; + } + + //terminal WS: + // ' ' | '\t' | '\r' | '\n'+; + public TerminalRule getWSRule() { + return tWS; + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/validation/AbstractExpressionDSLValidator.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/validation/AbstractExpressionDSLValidator.java new file mode 100644 index 000000000..cf6dee88c --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/validation/AbstractExpressionDSLValidator.java @@ -0,0 +1,18 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.validation; + +import java.util.ArrayList; +import java.util.List; +import org.eclipse.emf.ecore.EPackage; + +public class AbstractExpressionDSLValidator extends org.eclipse.xtext.validation.AbstractDeclarativeValidator { + + @Override + protected List getEPackages() { + List result = new ArrayList(); + result.add(org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage.eINSTANCE); + return result; + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtext b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtext new file mode 100644 index 000000000..e79f23567 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtext @@ -0,0 +1,48 @@ +grammar org.eclipse.sirius.expression.dsl.ExpressionDSL hidden(WS) + +generate expressionDSL "http://www.eclipse.org/sirius/expression/dsl/ExpressionDSL" + +import "http://www.eclipse.org/emf/2002/Ecore" as ecore + +SiriusExpressionPackage: + 'package' ePackage=[ecore::EPackage|FQN] '{' + (expressionClasses+=SiriusExpressionClass)* + '}' +; + +SiriusExpressionClass: + 'class' eClass=[ecore::EClass|FQN] '{' + (variables+=SiriusVariable)* + (expressionDescriptions+=SiriusExpressionDescription)* + '}' +; + +SiriusVariable: + (documentation=ML_COMMENT)? + 'var' name=ID ':' eType=[ecore::EClassifier|FQN] +; + +FQN returns ecore::EString: + ID ("." ID)* +; + +SiriusExpressionDescription: + 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=Parameter(',' parameters+=Parameter)*)? ')' ':' type=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' + 'contextableElements' '=' '[' + (contextableElements+=[ecore::EClass|FQN](',' contextableElements+=[ecore::EClass|FQN])*)? + ']' + '}' +; + +Parameter: + (optional?='optional')? variable=[SiriusVariable|FQN] +; + +Bound returns ecore::EInt: + ('-')?INT +; + +terminal ID : '^'?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; +terminal INT returns ecore::EInt: ('0'..'9')+; +terminal ML_COMMENT : '/*' -> '*/'; +terminal WS : (' '|'\t'|'\r'|'\n')+; diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLRuntimeModule.java b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLRuntimeModule.java new file mode 100644 index 000000000..fb638dc90 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLRuntimeModule.java @@ -0,0 +1,21 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl; + +import org.eclipse.sirius.expression.dsl.scoping.ExpressionDSLStatedContainerManager; +import org.eclipse.xtext.resource.IContainer.Manager; + +/** + * Use this class to register components to be used at runtime / without the Equinox extension registry. + */ +public class ExpressionDSLRuntimeModule extends org.eclipse.sirius.expression.dsl.AbstractExpressionDSLRuntimeModule { +// public Class bindIGlobalScopeProvider() { +// return ExpressionDSLGlobalScopeProvider.class; +// } + + @Override + public Class bindIContainer$Manager() { + return ExpressionDSLStatedContainerManager.class; + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetup.java b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetup.java new file mode 100644 index 000000000..17a66e0a6 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetup.java @@ -0,0 +1,16 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl; + +/** + * Initialization support for running Xtext languages + * without equinox extension registry + */ +public class ExpressionDSLStandaloneSetup extends ExpressionDSLStandaloneSetupGenerated{ + + public static void doSetup() { + new ExpressionDSLStandaloneSetup().createInjectorAndDoEMFRegistration(); + } +} + diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/GenerateExpressionDSL.mwe2 b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/GenerateExpressionDSL.mwe2 new file mode 100644 index 000000000..21f966647 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/GenerateExpressionDSL.mwe2 @@ -0,0 +1,150 @@ +module org.eclipse.sirius.expression.dsl.GenerateExpressionDSL + +import org.eclipse.emf.mwe.utils.* +import org.eclipse.xtext.generator.* +import org.eclipse.xtext.ui.generator.* + +var grammarURI = "classpath:/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtext" +var fileExtensions = "expressions" +var projectName = "org.eclipse.sirius.expression.dsl" +var runtimeProject = "../${projectName}" +var testProject = "../../tests/${projectName}.tests" +var generateXtendStub = true +var encoding = "UTF-8" + +Workflow { + bean = StandaloneSetup { + scanClassPath = true + platformUri = "${runtimeProject}/.." + + uriMap = { + from = "platform:/plugin/org.eclipse.emf.codegen.ecore/model/GenModel.genmodel" + to = "platform:/resource/org.eclipse.emf.codegen.ecore/model/GenModel.genmodel" + } + uriMap = { + from = "platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel" + to = "platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel" + } + + registerGeneratedEPackage = "org.eclipse.emf.ecore.EcorePackage" + registerGenModelFile = "platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel" + + registerGeneratedEPackage = "org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage" + registerGenModelFile = "platform:/resource/org.eclipse.emf.codegen.ecore/model/GenModel.genmodel" + + // The following two lines can be removed, if Xbase is not used. + registerGeneratedEPackage = "org.eclipse.xtext.xbase.XbasePackage" + registerGenModelFile = "platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel" + } + + component = DirectoryCleaner { + directory = "${runtimeProject}/src-gen" + } + + component = DirectoryCleaner { + directory = "${runtimeProject}/model/generated" + } + + component = DirectoryCleaner { + directory = "${runtimeProject}.ui/src-gen" + } + + component = DirectoryCleaner { + directory = "${testProject}/src-gen" + } + + component = Generator { + pathRtProject = runtimeProject + pathUiProject = "${runtimeProject}.ui" + pathTestProject = "${testProject}" + projectNameRt = projectName + projectNameUi = "${projectName}.ui" + encoding = encoding + language = auto-inject { + uri = grammarURI + + // Java API to access grammar elements (required by several other fragments) + fragment = grammarAccess.GrammarAccessFragment auto-inject {} + + // generates Java API for the generated EPackages + fragment = ecore.EMFGeneratorFragment auto-inject {} + + // the old serialization component + // fragment = parseTreeConstructor.ParseTreeConstructorFragment auto-inject {} + + // serializer 2.0 + fragment = serializer.SerializerFragment auto-inject { + generateStub = false + } + + // a custom ResourceFactory for use with EMF + fragment = resourceFactory.ResourceFactoryFragment auto-inject {} + + // The antlr parser generator fragment. + fragment = parser.antlr.XtextAntlrGeneratorFragment auto-inject { + // options = { + // backtrack = true + // } + } + + // Xtend-based API for validation + fragment = validation.ValidatorFragment auto-inject { + // composedCheck = "org.eclipse.xtext.validation.ImportUriValidator" + // composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator" + } + + // old scoping and exporting API + // fragment = scoping.ImportURIScopingFragment auto-inject {} + // fragment = exporting.SimpleNamesFragment auto-inject {} + + // scoping and exporting API + fragment = scoping.ImportNamespacesScopingFragment auto-inject {} + fragment = exporting.QualifiedNamesFragment auto-inject {} + fragment = builder.BuilderIntegrationFragment auto-inject {} + + // generator API + fragment = generator.GeneratorFragment auto-inject {} + + // formatter API + fragment = formatting.FormatterFragment auto-inject {} + + // labeling API + fragment = labeling.LabelProviderFragment auto-inject {} + + // outline API + fragment = outline.OutlineTreeProviderFragment auto-inject {} + fragment = outline.QuickOutlineFragment auto-inject {} + + // quickfix API + fragment = quickfix.QuickfixProviderFragment auto-inject {} + + // content assist API + fragment = contentAssist.ContentAssistFragment auto-inject {} + + // generates a more lightweight Antlr parser and lexer tailored for content assist + fragment = parser.antlr.XtextAntlrUiGeneratorFragment auto-inject {} + + // generates junit test support classes into Generator#pathTestProject + fragment = junit.Junit4Fragment auto-inject {} + + // rename refactoring + fragment = refactoring.RefactorElementNameFragment auto-inject {} + + // provides the necessary bindings for java types integration + fragment = types.TypesGeneratorFragment auto-inject {} + + // generates the required bindings only if the grammar inherits from Xbase + fragment = xbase.XbaseGeneratorFragment auto-inject {} + + // generates the required bindings only if the grammar inherits from Xtype + fragment = xbase.XtypeGeneratorFragment auto-inject {} + + // provides a preference page for template proposals + fragment = templates.CodetemplatesGeneratorFragment auto-inject {} + + // provides a compare view + fragment = compare.CompareFragment auto-inject {} + } + } +} + diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.xtend b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.xtend new file mode 100644 index 000000000..76aabcc25 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.xtend @@ -0,0 +1,30 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.formatting + +import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter +import org.eclipse.xtext.formatting.impl.FormattingConfig +// import com.google.inject.Inject; +// import org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess + +/** + * This class contains custom formatting declarations. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#formatting + * on how and when to use it. + * + * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example + */ +class ExpressionDSLFormatter extends AbstractDeclarativeFormatter { + +// @Inject extension ExpressionDSLGrammarAccess + + override protected void configureFormatting(FormattingConfig c) { +// It's usually a good idea to activate the following three statements. +// They will add and preserve newlines around comments +// c.setLinewrap(0, 1, 2).before(SL_COMMENTRule) +// c.setLinewrap(0, 1, 2).before(ML_COMMENTRule) +// c.setLinewrap(0, 1, 1).after(ML_COMMENTRule) + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.xtend b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.xtend new file mode 100644 index 000000000..82485b240 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.xtend @@ -0,0 +1,24 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.generator + +import org.eclipse.emf.ecore.resource.Resource +import org.eclipse.xtext.generator.IGenerator +import org.eclipse.xtext.generator.IFileSystemAccess + +/** + * Generates code from your model files on save. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation + */ +class ExpressionDSLGenerator implements IGenerator { + + override void doGenerate(Resource resource, IFileSystemAccess fsa) { +// fsa.generateFile('greetings.txt', 'People to greet: ' + +// resource.allContents +// .filter(typeof(Greeting)) +// .map[name] +// .join(', ')) + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.xtend b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.xtend new file mode 100644 index 000000000..39fff9d86 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.xtend @@ -0,0 +1,32 @@ +package org.eclipse.sirius.expression.dsl.scoping + +import org.eclipse.xtext.resource.containers.IContainerState +import org.eclipse.emf.common.util.URI +import org.eclipse.xtext.resource.containers.IAllContainersState + +class ExpressionDSLContainerState implements IContainerState { + String root + IAllContainersState globalState + + new(String root, org.eclipse.xtext.resource.containers.IAllContainersState state) { + this.root = root + this.globalState = state + } + + override contains(URI uri) { + return getContents().contains(uri) + } + + override getContents() { + return globalState.getContainedURIs(root) + } + + override isEmpty() { + return globalState.isEmpty(root) + } + + override toString() { + return "container '" + root +"' from "+globalState + } + +} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.xtend b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.xtend new file mode 100644 index 000000000..28a53dc87 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.xtend @@ -0,0 +1,15 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.scoping + +/** + * This class contains custom scoping description. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping + * on how and when to use it. + * + */ +class ExpressionDSLScopeProvider extends org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider { + +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.xtend b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.xtend new file mode 100644 index 000000000..f1dd4fa9f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.xtend @@ -0,0 +1,19 @@ +package org.eclipse.sirius.expression.dsl.scoping + +import org.eclipse.xtext.resource.containers.StateBasedContainer +import org.eclipse.xtext.resource.IResourceDescriptions +import org.eclipse.xtext.resource.containers.IContainerState +import org.eclipse.xtext.resource.IEObjectDescription + +class ExpressionDSLStateBasedContainer extends StateBasedContainer { + + new(IResourceDescriptions descriptions, IContainerState state) { + super(descriptions, state) + } + + override protected filterByURI(Iterable unfiltered) { + // Do not filter anything + return unfiltered + } + +} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.xtend b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.xtend new file mode 100644 index 000000000..2b178c42e --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.xtend @@ -0,0 +1,19 @@ +package org.eclipse.sirius.expression.dsl.scoping + +import org.eclipse.xtext.resource.IResourceDescriptions +import org.eclipse.xtext.resource.containers.FlatResourceSetBasedAllContainersState +import org.eclipse.xtext.resource.containers.StateBasedContainerManager + +class ExpressionDSLStatedContainerManager extends StateBasedContainerManager { + + override protected createContainer(String handle, IResourceDescriptions resourceDescriptions) { + val state = getState(resourceDescriptions); + val containerState = new ExpressionDSLContainerState(handle, state); + val result = new ExpressionDSLStateBasedContainer(resourceDescriptions, containerState); + if (state instanceof FlatResourceSetBasedAllContainersState) + result.setUriToDescriptionCacheEnabled(false); + return result; + } + +} + diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.xtend b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.xtend new file mode 100644 index 000000000..1fb3e3f5a --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.xtend @@ -0,0 +1,25 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.validation + +//import org.eclipse.xtext.validation.Check + +/** + * This class contains custom validation rules. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation + */ +class ExpressionDSLValidator extends AbstractExpressionDSLValidator { + +// public static val INVALID_NAME = 'invalidName' +// +// @Check +// def checkGreetingStartsWithCapital(Greeting greeting) { +// if (!Character.isUpperCase(greeting.name.charAt(0))) { +// warning('Name should start with a capital', +// MyDslPackage.Literals.GREETING__NAME, +// INVALID_NAME) +// } +// } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/.gitignore b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/.gitignore new file mode 100644 index 000000000..5ea920d46 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/.gitignore @@ -0,0 +1 @@ +/.ExpressionDSLStatedContainerManager.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.ExpressionDSLFormatter.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.ExpressionDSLFormatter.xtendbin new file mode 100644 index 000000000..b41553f7e Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.ExpressionDSLFormatter.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.gitignore b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.gitignore new file mode 100644 index 000000000..c67969dc8 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.gitignore @@ -0,0 +1 @@ +/.ExpressionDSLFormatter.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.java b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.java new file mode 100644 index 000000000..5c7f7681e --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.java @@ -0,0 +1,22 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.formatting; + +import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter; +import org.eclipse.xtext.formatting.impl.FormattingConfig; + +/** + * This class contains custom formatting declarations. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#formatting + * on how and when to use it. + * + * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example + */ +@SuppressWarnings("all") +public class ExpressionDSLFormatter extends AbstractDeclarativeFormatter { + @Override + protected void configureFormatting(final FormattingConfig c) { + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.ExpressionDSLGenerator.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.ExpressionDSLGenerator.xtendbin new file mode 100644 index 000000000..ae7174ac4 Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.ExpressionDSLGenerator.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.gitignore b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.gitignore new file mode 100644 index 000000000..a257cbefd --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.gitignore @@ -0,0 +1 @@ +/.ExpressionDSLGenerator.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.java b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.java new file mode 100644 index 000000000..0046e4fac --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.java @@ -0,0 +1,20 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.generator; + +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.xtext.generator.IFileSystemAccess; +import org.eclipse.xtext.generator.IGenerator; + +/** + * Generates code from your model files on save. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation + */ +@SuppressWarnings("all") +public class ExpressionDSLGenerator implements IGenerator { + @Override + public void doGenerate(final Resource resource, final IFileSystemAccess fsa) { + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLContainerState.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLContainerState.xtendbin new file mode 100644 index 000000000..a8fdb0c2e Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLContainerState.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLScopeProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLScopeProvider.xtendbin new file mode 100644 index 000000000..f6397cc6b Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLScopeProvider.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStateBasedContainer.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStateBasedContainer.xtendbin new file mode 100644 index 000000000..3a3118fe5 Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStateBasedContainer.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStatedContainerManager.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStatedContainerManager.xtendbin new file mode 100644 index 000000000..f5fdbd912 Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStatedContainerManager.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.gitignore b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.gitignore new file mode 100644 index 000000000..85a895dbc --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.gitignore @@ -0,0 +1,6 @@ +/.ExpressionDSLScopeProvider.java._trace +/.ExpressionDSLGlobalScopeProvider.java._trace +/.ExpressionDSLStateContainerManager.java._trace +/.ExpressionDSLStatedContainerManager.java._trace +/.ExpressionDSLStateBasedContainer.java._trace +/.ExpressionDSLContainerState.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.java b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.java new file mode 100644 index 000000000..d3d2f67f0 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.java @@ -0,0 +1,39 @@ +package org.eclipse.sirius.expression.dsl.scoping; + +import java.util.Collection; +import org.eclipse.emf.common.util.URI; +import org.eclipse.xtext.resource.containers.IAllContainersState; +import org.eclipse.xtext.resource.containers.IContainerState; + +@SuppressWarnings("all") +public class ExpressionDSLContainerState implements IContainerState { + private String root; + + private IAllContainersState globalState; + + public ExpressionDSLContainerState(final String root, final IAllContainersState state) { + this.root = root; + this.globalState = state; + } + + @Override + public boolean contains(final URI uri) { + Collection _contents = this.getContents(); + return _contents.contains(uri); + } + + @Override + public Collection getContents() { + return this.globalState.getContainedURIs(this.root); + } + + @Override + public boolean isEmpty() { + return this.globalState.isEmpty(this.root); + } + + @Override + public String toString() { + return ((("container \'" + this.root) + "\' from ") + this.globalState); + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.java b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.java new file mode 100644 index 000000000..ab23dd850 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.java @@ -0,0 +1,16 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.scoping; + +import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider; + +/** + * This class contains custom scoping description. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping + * on how and when to use it. + */ +@SuppressWarnings("all") +public class ExpressionDSLScopeProvider extends AbstractDeclarativeScopeProvider { +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.java b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.java new file mode 100644 index 000000000..3e315a1bd --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.java @@ -0,0 +1,18 @@ +package org.eclipse.sirius.expression.dsl.scoping; + +import org.eclipse.xtext.resource.IEObjectDescription; +import org.eclipse.xtext.resource.IResourceDescriptions; +import org.eclipse.xtext.resource.containers.IContainerState; +import org.eclipse.xtext.resource.containers.StateBasedContainer; + +@SuppressWarnings("all") +public class ExpressionDSLStateBasedContainer extends StateBasedContainer { + public ExpressionDSLStateBasedContainer(final IResourceDescriptions descriptions, final IContainerState state) { + super(descriptions, state); + } + + @Override + protected Iterable filterByURI(final Iterable unfiltered) { + return unfiltered; + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.java b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.java new file mode 100644 index 000000000..afa285d89 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.java @@ -0,0 +1,23 @@ +package org.eclipse.sirius.expression.dsl.scoping; + +import org.eclipse.sirius.expression.dsl.scoping.ExpressionDSLContainerState; +import org.eclipse.sirius.expression.dsl.scoping.ExpressionDSLStateBasedContainer; +import org.eclipse.xtext.resource.IContainer; +import org.eclipse.xtext.resource.IResourceDescriptions; +import org.eclipse.xtext.resource.containers.FlatResourceSetBasedAllContainersState; +import org.eclipse.xtext.resource.containers.IAllContainersState; +import org.eclipse.xtext.resource.containers.StateBasedContainerManager; + +@SuppressWarnings("all") +public class ExpressionDSLStatedContainerManager extends StateBasedContainerManager { + @Override + protected IContainer createContainer(final String handle, final IResourceDescriptions resourceDescriptions) { + final IAllContainersState state = this.getState(resourceDescriptions); + final ExpressionDSLContainerState containerState = new ExpressionDSLContainerState(handle, state); + final ExpressionDSLStateBasedContainer result = new ExpressionDSLStateBasedContainer(resourceDescriptions, containerState); + if ((state instanceof FlatResourceSetBasedAllContainersState)) { + result.setUriToDescriptionCacheEnabled(false); + } + return result; + } +} diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.ExpressionDSLValidator.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.ExpressionDSLValidator.xtendbin new file mode 100644 index 000000000..932d2c55d Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.ExpressionDSLValidator.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.gitignore b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.gitignore new file mode 100644 index 000000000..c4de489ec --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.gitignore @@ -0,0 +1 @@ +/.ExpressionDSLValidator.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.java b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.java new file mode 100644 index 000000000..1f4d5abe1 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.java @@ -0,0 +1,15 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl.validation; + +import org.eclipse.sirius.expression.dsl.validation.AbstractExpressionDSLValidator; + +/** + * This class contains custom validation rules. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation + */ +@SuppressWarnings("all") +public class ExpressionDSLValidator extends AbstractExpressionDSLValidator { +} diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/.classpath b/tests/org.eclipse.sirius.expression.dsl.tests/.classpath new file mode 100644 index 000000000..9081d4f70 --- /dev/null +++ b/tests/org.eclipse.sirius.expression.dsl.tests/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/.project b/tests/org.eclipse.sirius.expression.dsl.tests/.project new file mode 100644 index 000000000..f8e7b17bb --- /dev/null +++ b/tests/org.eclipse.sirius.expression.dsl.tests/.project @@ -0,0 +1,34 @@ + + + org.eclipse.sirius.expression.dsl.tests + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + org.eclipse.xtext.ui.shared.xtextNature + + diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 000000000..99f26c020 --- /dev/null +++ b/tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..0c68a61dc --- /dev/null +++ b/tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.sirius.expression.dsl.tests/META-INF/MANIFEST.MF new file mode 100644 index 000000000..5b9487a95 --- /dev/null +++ b/tests/org.eclipse.sirius.expression.dsl.tests/META-INF/MANIFEST.MF @@ -0,0 +1,24 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: org.eclipse.sirius.expression.dsl.tests +Bundle-Vendor: My Company +Bundle-Version: 1.0.0.qualifier +Bundle-SymbolicName: org.eclipse.sirius.expression.dsl.tests; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: org.eclipse.sirius.expression.dsl, + org.eclipse.sirius.expression.dsl.ui, + org.eclipse.core.runtime, + org.eclipse.xtext.junit4, + org.eclipse.xtext.xbase.lib, + org.eclipse.ui.workbench;resolution:=optional, + org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional +Import-Package: org.apache.log4j, + org.junit;version="4.5.0", + org.junit.runner;version="4.5.0", + org.junit.runner.manipulation;version="4.5.0", + org.junit.runner.notification;version="4.5.0", + org.junit.runners;version="4.5.0", + org.junit.runners.model;version="4.5.0", + org.hamcrest.core +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: org.eclipse.sirius.expression.dsl diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/build.properties b/tests/org.eclipse.sirius.expression.dsl.tests/build.properties new file mode 100644 index 000000000..c22eebe28 --- /dev/null +++ b/tests/org.eclipse.sirius.expression.dsl.tests/build.properties @@ -0,0 +1,5 @@ +source.. = src/,\ + src-gen/,\ + xtend-gen/ +bin.includes = META-INF/,\ + . diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/org.eclipse.sirius.expression.dsl.tests.launch b/tests/org.eclipse.sirius.expression.dsl.tests/org.eclipse.sirius.expression.dsl.tests.launch new file mode 100644 index 000000000..377fd6b45 --- /dev/null +++ b/tests/org.eclipse.sirius.expression.dsl.tests/org.eclipse.sirius.expression.dsl.tests.launch @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLInjectorProvider.java b/tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLInjectorProvider.java new file mode 100644 index 000000000..1ec490a01 --- /dev/null +++ b/tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLInjectorProvider.java @@ -0,0 +1,48 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl; + +import org.eclipse.xtext.junit4.GlobalRegistries; +import org.eclipse.xtext.junit4.GlobalRegistries.GlobalStateMemento; +import org.eclipse.xtext.junit4.IInjectorProvider; +import org.eclipse.xtext.junit4.IRegistryConfigurator; + +import com.google.inject.Injector; + +public class ExpressionDSLInjectorProvider implements IInjectorProvider, IRegistryConfigurator { + + protected GlobalStateMemento stateBeforeInjectorCreation; + protected GlobalStateMemento stateAfterInjectorCreation; + protected Injector injector; + + static { + GlobalRegistries.initializeDefaults(); + } + + @Override + public Injector getInjector() + { + if (injector == null) { + stateBeforeInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); + this.injector = internalCreateInjector(); + stateAfterInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); + } + return injector; + } + + protected Injector internalCreateInjector() { + return new ExpressionDSLStandaloneSetup().createInjectorAndDoEMFRegistration(); + } + + @Override + public void restoreRegistry() { + stateBeforeInjectorCreation.restoreGlobalState(); + } + + @Override + public void setupRegistry() { + getInjector(); + stateAfterInjectorCreation.restoreGlobalState(); + } +} diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLUiInjectorProvider.java b/tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLUiInjectorProvider.java new file mode 100644 index 000000000..439f58e07 --- /dev/null +++ b/tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLUiInjectorProvider.java @@ -0,0 +1,17 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.dsl; + +import org.eclipse.xtext.junit4.IInjectorProvider; + +import com.google.inject.Injector; + +public class ExpressionDSLUiInjectorProvider implements IInjectorProvider { + + @Override + public Injector getInjector() { + return org.eclipse.sirius.expression.dsl.ui.internal.ExpressionDSLActivator.getInstance().getInjector("org.eclipse.sirius.expression.dsl.ExpressionDSL"); + } + +} -- cgit v1.2.3 From 16e78f68ccd71822264096d27876d9075b48f76b Mon Sep 17 00:00:00 2001 From: Stéphane Bégaudeau Date: Fri, 6 Nov 2015 14:18:47 +0100 Subject: Fix some issues with invalid classpath Change-Id: I5f4d12a5e2e1c3c75151219f032dac86dc3255b1 Signed-off-by: Stéphane Bégaudeau --- plugins/org.eclipse.sirius.contentassist/.classpath | 1 - plugins/org.eclipse.sirius.validation/.classpath | 1 - 2 files changed, 2 deletions(-) diff --git a/plugins/org.eclipse.sirius.contentassist/.classpath b/plugins/org.eclipse.sirius.contentassist/.classpath index 2eb385039..75556083f 100644 --- a/plugins/org.eclipse.sirius.contentassist/.classpath +++ b/plugins/org.eclipse.sirius.contentassist/.classpath @@ -1,7 +1,6 @@ - diff --git a/plugins/org.eclipse.sirius.validation/.classpath b/plugins/org.eclipse.sirius.validation/.classpath index 2eb385039..75556083f 100644 --- a/plugins/org.eclipse.sirius.validation/.classpath +++ b/plugins/org.eclipse.sirius.validation/.classpath @@ -1,7 +1,6 @@ - -- cgit v1.2.3 From 7ae5ac93cb96beafe82b717a8f1a3078d481bcc4 Mon Sep 17 00:00:00 2001 From: Stéphane Bégaudeau Date: Fri, 6 Nov 2015 14:34:51 +0100 Subject: Fix multiple errors and warnings Change-Id: Icbff274f24661b423662abde490648728d8d0a5e Signed-off-by: Stéphane Bégaudeau --- .../src/org/eclipse/eef/core/api/EEFViewFactory.java | 2 ++ .../eclipse/eef/core/internal/EEFContainerImpl.java | 4 ++++ .../org/eclipse/eef/core/internal/EEFGroupImpl.java | 4 ++++ .../org/eclipse/eef/core/internal/EEFPageImpl.java | 4 ++++ .../org/eclipse/eef/core/internal/EEFTextImpl.java | 9 ++++----- .../org/eclipse/eef/core/internal/EEFViewImpl.java | 14 ++++---------- plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF | 3 +-- .../eclipse/eef/ide/ui/api/TabDescriptorFilter.java | 2 ++ .../eclipse/eef/ide/ui/internal/data/EEFSection.java | 8 ++++++-- plugins/org.eclipse.sirius.contentassist/.classpath | 2 +- .../.settings/org.eclipse.jdt.core.prefs | 7 +++++++ .../META-INF/MANIFEST.MF | 2 +- .../.ExpressionDSLProposalProvider.xtendbin | Bin 1741 -> 1741 bytes .../.ExpressionDSLDescriptionLabelProvider.xtendbin | Bin 1870 -> 1870 bytes .../ui/labeling/.ExpressionDSLLabelProvider.xtendbin | Bin 2420 -> 2420 bytes .../.ExpressionDSLOutlineTreeProvider.xtendbin | Bin 1734 -> 1734 bytes .../quickfix/.ExpressionDSLQuickfixProvider.xtendbin | Bin 1700 -> 1700 bytes .../dsl/formatting/.ExpressionDSLFormatter.xtendbin | Bin 2164 -> 2164 bytes .../dsl/generator/.ExpressionDSLGenerator.xtendbin | Bin 2156 -> 2156 bytes .../dsl/scoping/.ExpressionDSLContainerState.xtendbin | Bin 3030 -> 3030 bytes .../dsl/scoping/.ExpressionDSLScopeProvider.xtendbin | Bin 1722 -> 1722 bytes .../.ExpressionDSLStateBasedContainer.xtendbin | Bin 2431 -> 2431 bytes .../.ExpressionDSLStatedContainerManager.xtendbin | Bin 2667 -> 2667 bytes .../dsl/validation/.ExpressionDSLValidator.xtendbin | Bin 1655 -> 1655 bytes plugins/org.eclipse.sirius.validation/.classpath | 2 +- .../.settings/org.eclipse.jdt.core.prefs | 7 +++++++ .../properties/api/EEFTabDescriptorProvider.java | 1 - 27 files changed, 48 insertions(+), 23 deletions(-) create mode 100644 plugins/org.eclipse.sirius.contentassist/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.sirius.validation/.settings/org.eclipse.jdt.core.prefs diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFViewFactory.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFViewFactory.java index 19f79aca3..ce9614d46 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFViewFactory.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFViewFactory.java @@ -33,6 +33,8 @@ public class EEFViewFactory { * The variable manager * @param interpreterProviders * The {@link IInterpreterProvider} available + * @param editingDomain + * The editing domain * @return The {@link EEFView} fully initialized */ public EEFView createEEFView(EEFViewDescription eefViewDescription, IVariableManager variableManager, diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFContainerImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFContainerImpl.java index 5dc7b691b..ce62333d3 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFContainerImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFContainerImpl.java @@ -45,6 +45,9 @@ public class EEFContainerImpl extends AbstractEEFChildObject implements EEFConta */ private List eWidgets = new ArrayList(); + /** + * The editing domain. + */ private TransactionalEditingDomain editingDomain; /** @@ -59,6 +62,7 @@ public class EEFContainerImpl extends AbstractEEFChildObject implements EEFConta * @param interpreter * The interpreter * @param editingDomain + * The editing domain */ public EEFContainerImpl(EEFContainerParent eefContainerParent, EEFContainerDescription eefContainerDescription, IVariableManager variableManager, IInterpreter interpreter, TransactionalEditingDomain editingDomain) { diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java index b22099f1d..0c3a2292a 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java @@ -41,6 +41,9 @@ public class EEFGroupImpl extends AbstractEEFChildObject implements EEFGroup { */ private EEFContainer eefContainer; + /** + * The editing domain. + */ private TransactionalEditingDomain editingDomain; /** @@ -55,6 +58,7 @@ public class EEFGroupImpl extends AbstractEEFChildObject implements EEFGroup { * @param interpreter * The interpreter * @param editingDomain + * The editing domain */ public EEFGroupImpl(EEFPage eefPage, EEFGroupDescription eefGroupDescription, IVariableManager variableManager, IInterpreter interpreter, TransactionalEditingDomain editingDomain) { diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java index 24ee18342..573a46ecc 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java @@ -46,6 +46,9 @@ public class EEFPageImpl extends AbstractEEFChildObject implements EEFPage { */ private List eefGroups = new ArrayList(); + /** + * The editing domain. + */ private TransactionalEditingDomain editingDomain; /** @@ -60,6 +63,7 @@ public class EEFPageImpl extends AbstractEEFChildObject implements EEFPage { * @param interpreter * The interpreter * @param editingDomain + * The editing domain */ public EEFPageImpl(EEFView eefView, EEFPageDescription eefPageDescription, IVariableManager variableManager, IInterpreter interpreter, TransactionalEditingDomain editingDomain) { diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java index 5dc6be99d..639a072ad 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java @@ -54,6 +54,9 @@ public class EEFTextImpl extends AbstractEEFWidgetImpl implements EEFText { */ private IConsumer labelExpressionConsumer; + /** + * The editing domain. + */ private TransactionalEditingDomain editingDomain; /** @@ -68,6 +71,7 @@ public class EEFTextImpl extends AbstractEEFWidgetImpl implements EEFText { * @param interpreter * The interpreter * @param editingDomain + * The editing domain */ public EEFTextImpl(EEFContainer eefContainer, EEFTextDescription eefTextDescription, IVariableManager variableManager, IInterpreter interpreter, TransactionalEditingDomain editingDomain) { @@ -147,11 +151,6 @@ public class EEFTextImpl extends AbstractEEFWidgetImpl implements EEFText { } } - /** - * {@inheritDoc} - * - * @see org.eclipse.emf.common.command.AbstractCommand#canExecute() - */ @Override public boolean canExecute() { return true; diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java index 33211858c..5c526f590 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java @@ -47,6 +47,9 @@ public class EEFViewImpl extends AbstractEEFObject implements EEFView { */ private List eefPages = new ArrayList(); + /** + * The editing domain. + */ private TransactionalEditingDomain editingDomain; /** @@ -59,6 +62,7 @@ public class EEFViewImpl extends AbstractEEFObject implements EEFView { * @param interpreter * The interpreter * @param editingDomain + * The editing domain */ public EEFViewImpl(EEFViewDescription eefViewDescription, IVariableManager variableManager, IInterpreter interpreter, TransactionalEditingDomain editingDomain) { @@ -100,11 +104,6 @@ public class EEFViewImpl extends AbstractEEFObject implements EEFView { }; this.editingDomain.addResourceSetListener(new ResourceSetListenerImpl(NotificationFilter.NOT_TOUCH) { - /** - * {@inheritDoc} - * - * @see org.eclipse.emf.transaction.ResourceSetListenerImpl#resourceSetChanged(org.eclipse.emf.transaction.ResourceSetChangeEvent) - */ @Override public void resourceSetChanged(ResourceSetChangeEvent event) { for (EEFPage eefPage : EEFViewImpl.this.eefPages) { @@ -116,11 +115,6 @@ public class EEFViewImpl extends AbstractEEFObject implements EEFView { } } - /** - * {@inheritDoc} - * - * @see org.eclipse.emf.transaction.ResourceSetListenerImpl#isPostcommitOnly() - */ @Override public boolean isPostcommitOnly() { return true; diff --git a/plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF index 7da145326..965390fe6 100644 --- a/plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF @@ -15,8 +15,7 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", org.eclipse.ui.views.properties.tabbed;bundle-version="[3.0.0,4.0.0)", org.eclipse.emf.common;bundle-version="[2.8.0,3.0.0)", org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)", - org.eclipse.emf.transaction;bundle-version="[1.4.0,2.0.0)", - org.eclipse.swt + org.eclipse.emf.transaction;bundle-version="[1.4.0,2.0.0)" Export-Package: org.eclipse.eef.ide.ui.api;version="2.0.0", org.eclipse.eef.ide.ui.internal;version="2.0.0";x-internal:=true, org.eclipse.eef.ide.ui.internal.data;version="2.0.0";x-internal:=true diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/api/TabDescriptorFilter.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/api/TabDescriptorFilter.java index 03cbe19b5..5cfd652d1 100644 --- a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/api/TabDescriptorFilter.java +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/api/TabDescriptorFilter.java @@ -41,6 +41,8 @@ public class TabDescriptorFilter { * * @param objects * The input objects + * @param editingDomain + * The editing domain * @return The {@link ITabDescriptor} to use */ public List getTabDescriptors(final Object[] objects, TransactionalEditingDomain editingDomain) { diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java index 563574c36..8a133193c 100644 --- a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java @@ -84,7 +84,9 @@ public class EEFSection implements ISection { Text text = widgetFactory.createText(sectionComposite, ""); //$NON-NLS-1$ FormData data = new FormData(); - data.left = new FormAttachment(0, 232); + + final int textOffset = 232; + data.left = new FormAttachment(0, textOffset); data.right = new FormAttachment(100, 0); data.top = new FormAttachment(0, ITabbedPropertyConstants.VSPACE); @@ -95,9 +97,11 @@ public class EEFSection implements ISection { if (eefText.getDescription().getLabelExpression() != null && eefText.getDescription().getLabelExpression().trim().length() > 0) { CLabel label = widgetFactory.createCLabel(sectionComposite, ""); //$NON-NLS-1$ + + final int labelOffset = 20; data = new FormData(); data.left = new FormAttachment(0, 0); - data.right = new FormAttachment(text, -ITabbedPropertyConstants.HSPACE - 20); + data.right = new FormAttachment(text, -ITabbedPropertyConstants.HSPACE - labelOffset); data.top = new FormAttachment(text, 0, SWT.CENTER); label.setLayoutData(data); diff --git a/plugins/org.eclipse.sirius.contentassist/.classpath b/plugins/org.eclipse.sirius.contentassist/.classpath index 75556083f..e4dad7e73 100644 --- a/plugins/org.eclipse.sirius.contentassist/.classpath +++ b/plugins/org.eclipse.sirius.contentassist/.classpath @@ -1,7 +1,7 @@ - + diff --git a/plugins/org.eclipse.sirius.contentassist/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.contentassist/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..c537b6306 --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/plugins/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF index 10018ad86..57cf0060a 100644 --- a/plugins/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF @@ -6,7 +6,7 @@ Bundle-Version: 0.1.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Export-Package: org.eclipse.sirius.contentassist, org.eclipse.sirius.contentassist.impl, org.eclipse.sirius.contentassist.util diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.ExpressionDSLProposalProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.ExpressionDSLProposalProvider.xtendbin index ff83f3c5d..d4cc8122c 100644 Binary files a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.ExpressionDSLProposalProvider.xtendbin and b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.ExpressionDSLProposalProvider.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLDescriptionLabelProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLDescriptionLabelProvider.xtendbin index ee4b1f139..d388bc1c4 100644 Binary files a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLDescriptionLabelProvider.xtendbin and b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLDescriptionLabelProvider.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLLabelProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLLabelProvider.xtendbin index e4ebb35b3..41c5a39b3 100644 Binary files a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLLabelProvider.xtendbin and b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLLabelProvider.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.ExpressionDSLOutlineTreeProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.ExpressionDSLOutlineTreeProvider.xtendbin index bba786551..40d168c40 100644 Binary files a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.ExpressionDSLOutlineTreeProvider.xtendbin and b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.ExpressionDSLOutlineTreeProvider.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.ExpressionDSLQuickfixProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.ExpressionDSLQuickfixProvider.xtendbin index 96b3dc262..84ccadf98 100644 Binary files a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.ExpressionDSLQuickfixProvider.xtendbin and b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.ExpressionDSLQuickfixProvider.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.ExpressionDSLFormatter.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.ExpressionDSLFormatter.xtendbin index b41553f7e..0882d6066 100644 Binary files a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.ExpressionDSLFormatter.xtendbin and b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.ExpressionDSLFormatter.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.ExpressionDSLGenerator.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.ExpressionDSLGenerator.xtendbin index ae7174ac4..93f5356d2 100644 Binary files a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.ExpressionDSLGenerator.xtendbin and b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.ExpressionDSLGenerator.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLContainerState.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLContainerState.xtendbin index a8fdb0c2e..df1d76e93 100644 Binary files a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLContainerState.xtendbin and b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLContainerState.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLScopeProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLScopeProvider.xtendbin index f6397cc6b..1af373a07 100644 Binary files a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLScopeProvider.xtendbin and b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLScopeProvider.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStateBasedContainer.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStateBasedContainer.xtendbin index 3a3118fe5..b7d585250 100644 Binary files a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStateBasedContainer.xtendbin and b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStateBasedContainer.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStatedContainerManager.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStatedContainerManager.xtendbin index f5fdbd912..c954e9fa1 100644 Binary files a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStatedContainerManager.xtendbin and b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStatedContainerManager.xtendbin differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.ExpressionDSLValidator.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.ExpressionDSLValidator.xtendbin index 932d2c55d..cb0dd3aea 100644 Binary files a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.ExpressionDSLValidator.xtendbin and b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.ExpressionDSLValidator.xtendbin differ diff --git a/plugins/org.eclipse.sirius.validation/.classpath b/plugins/org.eclipse.sirius.validation/.classpath index 75556083f..e4dad7e73 100644 --- a/plugins/org.eclipse.sirius.validation/.classpath +++ b/plugins/org.eclipse.sirius.validation/.classpath @@ -1,7 +1,7 @@ - + diff --git a/plugins/org.eclipse.sirius.validation/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.validation/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..c537b6306 --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/api/EEFTabDescriptorProvider.java b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/api/EEFTabDescriptorProvider.java index 6fc0c2e78..b9ddad624 100644 --- a/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/api/EEFTabDescriptorProvider.java +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/src/org/eclipse/sirius/editor/properties/api/EEFTabDescriptorProvider.java @@ -3,7 +3,6 @@ package org.eclipse.sirius.editor.properties.api; import java.util.List; import org.eclipse.eef.ide.ui.api.TabDescriptorFilter; -import org.eclipse.emf.transaction.TransactionalEditingDomain; import org.eclipse.jface.viewers.ISelection; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.sirius.business.api.session.Session; -- cgit v1.2.3 From d279e9aafeccdd9fa9bc8d418d855cb2bc20f0ff Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Fri, 6 Nov 2015 11:54:38 +0100 Subject: Update target platform to add Xtext, Xtend and mwe2 Change-Id: Ia863af9c127505b7c3b36622edad8797f71d1242 Signed-off-by: Mélanie Bats --- releng/org.eclipse.eef.releng/targetplatforms/neon/neon.target | 5 ++++- releng/org.eclipse.eef.releng/targetplatforms/neon/neon.tpd | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.target b/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.target index 026d0e9cf..a57b552d2 100644 --- a/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.target +++ b/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.target @@ -1,7 +1,7 @@ - + @@ -11,6 +11,9 @@ + + + diff --git a/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.tpd b/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.tpd index bbc0a5090..7310a035f 100644 --- a/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.tpd +++ b/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.tpd @@ -10,4 +10,7 @@ location "http://download.eclipse.org/releases/neon" { org.eclipse.sirius.specifier.feature.group lazy org.eclipse.uml2.uml.feature.group lazy org.eclipse.uml2.uml.editor lazy + org.eclipse.xtext.sdk.feature.group lazy + org.eclipse.xtend.sdk.feature.group lazy + org.eclipse.emf.mwe2.runtime.sdk.feature.group lazy } \ No newline at end of file -- cgit v1.2.3 From 179a899caf1763718596fea89109c89a05383e56 Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Fri, 6 Nov 2015 12:03:00 +0100 Subject: Update the expression DSL Update the ecore Update expression dsl xtext editor Rename the project to org.eclipse.sirius.expression.text Update the dsl according to the expression.ecore evolutions Change-Id: I33f9e3ed6eabc95ee24b231651c819cec3b4f1b8 Signed-off-by: Mélanie Bats --- .gitignore | 4 +- .../eef/core/internal/EEFCompoundInterpreter.java | 7 +- .../interpreter/aql/internal/AQLInterpreter.java | 7 +- .../eclipse/eef/interpreter/api/IInterpreter.java | 6 +- plugins/org.eclipse.eef/model/eef.expressions | 557 +- .../org.eclipse.sirius.contentassist/about.html | 28 + .../.classpath | 9 - .../org.eclipse.sirius.expression.dsl.ui/.project | 34 - .../.settings/org.eclipse.core.resources.prefs | 2 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 26 - .../build.properties | 6 - .../plugin.xml | 425 -- .../plugin.xml_gen | 425 -- .../dsl/ui/AbstractExpressionDSLUiModule.java | 196 - .../ExpressionDSLExecutableExtensionFactory.java | 29 - .../AbstractExpressionDSLProposalProvider.java | 101 - .../contentassist/antlr/ExpressionDSLParser.java | 99 - .../PartialExpressionDSLContentAssistParser.java | 38 - .../antlr/internal/InternalExpressionDSL.g | 2197 -------- .../antlr/internal/InternalExpressionDSL.tokens | 40 - .../antlr/internal/InternalExpressionDSLLexer.java | 948 ---- .../internal/InternalExpressionDSLParser.java | 5620 -------------------- .../dsl/ui/internal/ExpressionDSLActivator.java | 95 - .../expression/dsl/ui/ExpressionDSLUiModule.java | 15 - .../ExpressionDSLProposalProvider.xtend | 13 - .../ExpressionDSLDescriptionLabelProvider.xtend | 24 - .../ui/labeling/ExpressionDSLLabelProvider.xtend | 29 - .../outline/ExpressionDSLOutlineTreeProvider.xtend | 13 - .../quickfix/ExpressionDSLQuickfixProvider.xtend | 26 - .../.ExpressionDSLProposalProvider.xtendbin | Bin 1741 -> 0 bytes .../expression/dsl/ui/contentassist/.gitignore | 1 - .../ExpressionDSLProposalProvider.java | 14 - ....ExpressionDSLDescriptionLabelProvider.xtendbin | Bin 1870 -> 0 bytes .../labeling/.ExpressionDSLLabelProvider.xtendbin | Bin 2420 -> 0 bytes .../sirius/expression/dsl/ui/labeling/.gitignore | 2 - .../ExpressionDSLDescriptionLabelProvider.java | 15 - .../ui/labeling/ExpressionDSLLabelProvider.java | 21 - .../.ExpressionDSLOutlineTreeProvider.xtendbin | Bin 1734 -> 0 bytes .../sirius/expression/dsl/ui/outline/.gitignore | 1 - .../outline/ExpressionDSLOutlineTreeProvider.java | 15 - .../.ExpressionDSLQuickfixProvider.xtendbin | Bin 1700 -> 0 bytes .../sirius/expression/dsl/ui/quickfix/.gitignore | 1 - .../ui/quickfix/ExpressionDSLQuickfixProvider.java | 15 - .../.antlr-generator-3.2.0-patch.jar | Bin 1484649 -> 0 bytes .../org.eclipse.sirius.expression.dsl/.classpath | 9 - ...ture (org.eclipse.sirius.expression.dsl).launch | 18 - plugins/org.eclipse.sirius.expression.dsl/.project | 34 - .../.settings/org.eclipse.core.resources.prefs | 2 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 31 - .../build.properties | 15 - .../model/generated/ExpressionDSL.ecore | 36 - .../model/generated/ExpressionDSL.genmodel | 38 - .../org.eclipse.sirius.expression.dsl/plugin.xml | 16 - .../plugin.xml_gen | 16 - .../dsl/AbstractExpressionDSLRuntimeModule.java | 156 - .../sirius/expression/dsl/ExpressionDSL.xtextbin | Bin 2628 -> 0 bytes .../dsl/ExpressionDSLStandaloneSetupGenerated.java | 56 - .../dsl/expressionDSL/ExpressionDSLFactory.java | 79 - .../dsl/expressionDSL/ExpressionDSLPackage.java | 728 --- .../expression/dsl/expressionDSL/Parameter.java | 78 - .../dsl/expressionDSL/SiriusExpressionClass.java | 88 - .../expressionDSL/SiriusExpressionDescription.java | 171 - .../dsl/expressionDSL/SiriusExpressionPackage.java | 71 - .../dsl/expressionDSL/SiriusVariable.java | 106 - .../impl/ExpressionDSLFactoryImpl.java | 154 - .../impl/ExpressionDSLPackageImpl.java | 461 -- .../dsl/expressionDSL/impl/ParameterImpl.java | 244 - .../impl/SiriusExpressionClassImpl.java | 273 - .../impl/SiriusExpressionDescriptionImpl.java | 465 -- .../impl/SiriusExpressionPackageImpl.java | 235 - .../dsl/expressionDSL/impl/SiriusVariableImpl.java | 300 -- .../util/ExpressionDSLAdapterFactory.java | 212 - .../expressionDSL/util/ExpressionDSLSwitch.java | 211 - .../antlr/ExpressionDSLAntlrTokenFileProvider.java | 16 - .../dsl/parser/antlr/ExpressionDSLParser.java | 39 - .../parser/antlr/internal/InternalExpressionDSL.g | 643 --- .../antlr/internal/InternalExpressionDSL.tokens | 40 - .../antlr/internal/InternalExpressionDSLLexer.java | 948 ---- .../internal/InternalExpressionDSLParser.java | 1496 ------ .../serializer/ExpressionDSLSemanticSequencer.java | 102 - .../ExpressionDSLSyntacticSequencer.java | 43 - .../dsl/services/ExpressionDSLGrammarAccess.java | 584 -- .../validation/AbstractExpressionDSLValidator.java | 18 - .../sirius/expression/dsl/ExpressionDSL.xtext | 48 - .../expression/dsl/ExpressionDSLRuntimeModule.java | 21 - .../dsl/ExpressionDSLStandaloneSetup.java | 16 - .../expression/dsl/GenerateExpressionDSL.mwe2 | 150 - .../dsl/formatting/ExpressionDSLFormatter.xtend | 30 - .../dsl/generator/ExpressionDSLGenerator.xtend | 24 - .../dsl/scoping/ExpressionDSLContainerState.xtend | 32 - .../dsl/scoping/ExpressionDSLScopeProvider.xtend | 15 - .../scoping/ExpressionDSLStateBasedContainer.xtend | 19 - .../ExpressionDSLStatedContainerManager.xtend | 19 - .../dsl/validation/ExpressionDSLValidator.xtend | 25 - .../xtend-gen/.gitignore | 1 - .../formatting/.ExpressionDSLFormatter.xtendbin | Bin 2164 -> 0 bytes .../sirius/expression/dsl/formatting/.gitignore | 1 - .../dsl/formatting/ExpressionDSLFormatter.java | 22 - .../dsl/generator/.ExpressionDSLGenerator.xtendbin | Bin 2156 -> 0 bytes .../sirius/expression/dsl/generator/.gitignore | 1 - .../dsl/generator/ExpressionDSLGenerator.java | 20 - .../scoping/.ExpressionDSLContainerState.xtendbin | Bin 3030 -> 0 bytes .../scoping/.ExpressionDSLScopeProvider.xtendbin | Bin 1722 -> 0 bytes .../.ExpressionDSLStateBasedContainer.xtendbin | Bin 2431 -> 0 bytes .../.ExpressionDSLStatedContainerManager.xtendbin | Bin 2667 -> 0 bytes .../sirius/expression/dsl/scoping/.gitignore | 6 - .../dsl/scoping/ExpressionDSLContainerState.java | 39 - .../dsl/scoping/ExpressionDSLScopeProvider.java | 16 - .../scoping/ExpressionDSLStateBasedContainer.java | 18 - .../ExpressionDSLStatedContainerManager.java | 23 - .../validation/.ExpressionDSLValidator.xtendbin | Bin 1655 -> 0 bytes .../sirius/expression/dsl/validation/.gitignore | 1 - .../dsl/validation/ExpressionDSLValidator.java | 15 - .../META-INF/MANIFEST.MF | 6 +- .../full/obj16/SiriusExpressionDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/SiriusParameter.gif | Bin 0 -> 129 bytes .../icons/full/obj16/SiriusVariable.gif | Bin 0 -> 129 bytes .../plugin.properties | 15 + .../ExpressionDescriptionItemProvider.java | 311 -- .../expression/provider/ExpressionEditPlugin.java | 2 + .../ExpressionItemProviderAdapterFactory.java | 56 +- .../SiriusExpressionClassItemProvider.java | 29 +- .../SiriusExpressionDescriptionItemProvider.java | 305 ++ .../provider/SiriusParameterItemProvider.java | 194 + .../provider/SiriusVariableItemProvider.java | 220 + .../expression/provider/VariableItemProvider.java | 197 - .../.classpath | 7 + .../.project | 34 + .../.settings/org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 25 + .../about.html | 28 + .../build.properties | 12 + ...org.eclipse.sirius.expression.text.tests.launch | 13 + .../plugin.properties | 8 + .../text/ExpressionTextInjectorProvider.java | 48 + .../text/ExpressionTextUiInjectorProvider.java | 17 + .../.classpath | 9 + .../org.eclipse.sirius.expression.text.ui/.project | 34 + .../.settings/org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 27 + .../about.html | 28 + .../build.properties | 14 + .../plugin.properties | 8 + .../plugin.xml | 425 ++ .../plugin.xml_gen | 425 ++ .../text/ui/AbstractExpressionTextUiModule.java | 196 + .../ExpressionTextExecutableExtensionFactory.java | 29 + .../AbstractExpressionTextProposalProvider.java | 101 + .../contentassist/antlr/ExpressionTextParser.java | 99 + .../PartialExpressionTextContentAssistParser.java | 38 + .../antlr/internal/InternalExpressionText.g | 2197 ++++++++ .../antlr/internal/InternalExpressionText.tokens | 40 + .../internal/InternalExpressionTextLexer.java | 945 ++++ .../internal/InternalExpressionTextParser.java | 5612 +++++++++++++++++++ .../text/ui/internal/ExpressionTextActivator.java | 95 + .../expression/text/ui/ExpressionTextUiModule.java | 15 + .../ExpressionTextProposalProvider.xtend | 13 + .../ExpressionTextDescriptionLabelProvider.xtend | 24 + .../ui/labeling/ExpressionTextLabelProvider.xtend | 29 + .../ExpressionTextOutlineTreeProvider.xtend | 13 + .../quickfix/ExpressionTextQuickfixProvider.xtend | 26 + .../ExpressionTextProposalProvider.java | 14 + .../ExpressionTextDescriptionLabelProvider.java | 15 + .../ui/labeling/ExpressionTextLabelProvider.java | 21 + .../outline/ExpressionTextOutlineTreeProvider.java | 15 + .../quickfix/ExpressionTextQuickfixProvider.java | 15 + .../.antlr-generator-3.2.0-patch.jar | Bin 0 -> 1484649 bytes .../org.eclipse.sirius.expression.text/.classpath | 9 + ...ure (org.eclipse.sirius.expression.text).launch | 18 + .../.launch/Launch Runtime Eclipse.launch | 34 + .../org.eclipse.sirius.expression.text/.project | 34 + .../.settings/org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 29 + .../org.eclipse.sirius.expression.text/about.html | 28 + .../build.properties | 21 + .../plugin.properties | 8 + .../text/AbstractExpressionTextRuntimeModule.java | 156 + .../sirius/expression/text/ExpressionText.xtextbin | Bin 0 -> 2577 bytes .../ExpressionTextStandaloneSetupGenerated.java | 53 + .../ExpressionTextAntlrTokenFileProvider.java | 16 + .../text/parser/antlr/ExpressionTextParser.java | 39 + .../parser/antlr/internal/InternalExpressionText.g | 639 +++ .../antlr/internal/InternalExpressionText.tokens | 40 + .../internal/InternalExpressionTextLexer.java | 945 ++++ .../internal/InternalExpressionTextParser.java | 1484 ++++++ .../ExpressionTextSemanticSequencer.java | 102 + .../ExpressionTextSyntacticSequencer.java | 43 + .../text/services/ExpressionTextGrammarAccess.java | 582 ++ .../AbstractExpressionTextValidator.java | 18 + .../sirius/expression/text/ExpressionText.xtext | 45 + .../text/ExpressionTextRuntimeModule.java | 18 + .../text/ExpressionTextStandaloneSetup.java | 16 + .../expression/text/GenerateExpressionText.mwe2 | 137 + .../text/formatting/ExpressionTextFormatter.xtend | 30 + .../text/generator/ExpressionTextGenerator.xtend | 24 + .../scoping/ExpressionTextContainerState.xtend | 32 + .../text/scoping/ExpressionTextScopeProvider.xtend | 15 + .../ExpressionTextStateBasedContainer.xtend | 19 + .../ExpressionTextStatedContainerManager.xtend | 19 + .../text/validation/ExpressionTextValidator.xtend | 25 + .../text/formatting/ExpressionTextFormatter.java | 22 + .../text/generator/ExpressionTextGenerator.java | 20 + .../text/scoping/ExpressionTextContainerState.java | 39 + .../text/scoping/ExpressionTextScopeProvider.java | 16 + .../scoping/ExpressionTextStateBasedContainer.java | 18 + .../ExpressionTextStatedContainerManager.java | 23 + .../text/validation/ExpressionTextValidator.java | 15 + plugins/org.eclipse.sirius.expression/.project | 6 + .../META-INF/MANIFEST.MF | 2 +- .../model/expression.ecore | 38 +- .../model/expression.genmodel | 31 +- .../sirius/expression/ExpressionDescription.java | 200 - .../sirius/expression/ExpressionFactory.java | 21 +- .../sirius/expression/ExpressionPackage.java | 330 +- .../sirius/expression/SiriusExpressionClass.java | 36 +- .../expression/SiriusExpressionDescription.java | 174 + .../eclipse/sirius/expression/SiriusParameter.java | 82 + .../eclipse/sirius/expression/SiriusVariable.java | 112 + .../expression/impl/ExpressionDescriptionImpl.java | 475 -- .../expression/impl/ExpressionFactoryImpl.java | 27 +- .../expression/impl/ExpressionPackageImpl.java | 161 +- .../expression/impl/SiriusExpressionClassImpl.java | 101 +- .../impl/SiriusExpressionDescriptionImpl.java | 438 ++ .../expression/impl/SiriusParameterImpl.java | 230 + .../sirius/expression/impl/SiriusVariableImpl.java | 284 + .../sirius/expression/impl/VariableImpl.java | 222 - .../expression/util/ExpressionAdapterFactory.java | 38 +- .../sirius/expression/util/ExpressionSwitch.java | 45 +- plugins/org.eclipse.sirius.validation/about.html | 28 + .../org.eclipse.sirius.editor.custom/about.html | 28 + .../about.html | 28 + .../org.eclipse.eef.uml.editor.sample/about.html | 28 + .../.classpath | 9 - .../.project | 34 - .../.settings/org.eclipse.core.resources.prefs | 2 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 24 - .../build.properties | 5 - .../org.eclipse.sirius.expression.dsl.tests.launch | 13 - .../dsl/ExpressionDSLInjectorProvider.java | 48 - .../dsl/ExpressionDSLUiInjectorProvider.java | 17 - 246 files changed, 18903 insertions(+), 21240 deletions(-) create mode 100644 plugins/org.eclipse.sirius.contentassist/about.html delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/.classpath delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/.project delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.core.resources.prefs delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/build.properties delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml_gen delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/AbstractExpressionDSLUiModule.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLExecutableExtensionFactory.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/AbstractExpressionDSLProposalProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/ExpressionDSLParser.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/PartialExpressionDSLContentAssistParser.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.g delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.tokens delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSLLexer.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSLParser.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/internal/ExpressionDSLActivator.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLUiModule.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.ExpressionDSLProposalProvider.xtendbin delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.gitignore delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLDescriptionLabelProvider.xtendbin delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLLabelProvider.xtendbin delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.gitignore delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.ExpressionDSLOutlineTreeProvider.xtendbin delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.gitignore delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.ExpressionDSLQuickfixProvider.xtendbin delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.gitignore delete mode 100644 plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/.antlr-generator-3.2.0-patch.jar delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/.classpath delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.dsl).launch delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/.project delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.core.resources.prefs delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/build.properties delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.ecore delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.genmodel delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/plugin.xml delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/plugin.xml_gen delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/AbstractExpressionDSLRuntimeModule.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtextbin delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetupGenerated.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLFactory.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLPackage.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/Parameter.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionClass.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionDescription.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionPackage.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusVariable.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLFactoryImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLPackageImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ParameterImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionClassImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionDescriptionImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionPackageImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusVariableImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLAdapterFactory.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLSwitch.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLAntlrTokenFileProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLParser.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.g delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.tokens delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSLLexer.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSLParser.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSemanticSequencer.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSyntacticSequencer.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/services/ExpressionDSLGrammarAccess.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/validation/AbstractExpressionDSLValidator.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtext delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLRuntimeModule.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetup.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/GenerateExpressionDSL.mwe2 delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/.gitignore delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.ExpressionDSLFormatter.xtendbin delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.gitignore delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.ExpressionDSLGenerator.xtendbin delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.gitignore delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLContainerState.xtendbin delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLScopeProvider.xtendbin delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStateBasedContainer.xtendbin delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStatedContainerManager.xtendbin delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.gitignore delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.java delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.ExpressionDSLValidator.xtendbin delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.gitignore delete mode 100644 plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionDescription.gif create mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusParameter.gif create mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusVariable.gif delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionDescriptionItemProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusParameterItemProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusVariableItemProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/VariableItemProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.text.tests/.classpath create mode 100644 plugins/org.eclipse.sirius.expression.text.tests/.project create mode 100644 plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.core.resources.prefs create mode 100644 plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.sirius.expression.text.tests/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.sirius.expression.text.tests/about.html create mode 100644 plugins/org.eclipse.sirius.expression.text.tests/build.properties create mode 100644 plugins/org.eclipse.sirius.expression.text.tests/org.eclipse.sirius.expression.text.tests.launch create mode 100644 plugins/org.eclipse.sirius.expression.text.tests/plugin.properties create mode 100644 plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextInjectorProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextUiInjectorProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/.classpath create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/.project create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.core.resources.prefs create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/about.html create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/build.properties create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/plugin.properties create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/plugin.xml create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/plugin.xml_gen create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/AbstractExpressionTextUiModule.java create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/ExpressionTextExecutableExtensionFactory.java create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/AbstractExpressionTextProposalProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/ExpressionTextParser.java create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/PartialExpressionTextContentAssistParser.java create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextParser.java create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/internal/ExpressionTextActivator.java create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/ExpressionTextUiModule.java create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.xtend create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.xtend create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.xtend create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.xtend create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.xtend create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.text/.antlr-generator-3.2.0-patch.jar create mode 100644 plugins/org.eclipse.sirius.expression.text/.classpath create mode 100644 plugins/org.eclipse.sirius.expression.text/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.text).launch create mode 100644 plugins/org.eclipse.sirius.expression.text/.launch/Launch Runtime Eclipse.launch create mode 100644 plugins/org.eclipse.sirius.expression.text/.project create mode 100644 plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.core.resources.prefs create mode 100644 plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.sirius.expression.text/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.sirius.expression.text/about.html create mode 100644 plugins/org.eclipse.sirius.expression.text/build.properties create mode 100644 plugins/org.eclipse.sirius.expression.text/plugin.properties create mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/AbstractExpressionTextRuntimeModule.java create mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin create mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetupGenerated.java create mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextAntlrTokenFileProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextParser.java create mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g create mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens create mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java create mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextParser.java create mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSemanticSequencer.java create mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSyntacticSequencer.java create mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java create mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/validation/AbstractExpressionTextValidator.java create mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext create mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextRuntimeModule.java create mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetup.java create mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/GenerateExpressionText.mwe2 create mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.xtend create mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.xtend create mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.xtend create mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.xtend create mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.xtend create mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.xtend create mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.xtend create mode 100644 plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.java create mode 100644 plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.java create mode 100644 plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.java create mode 100644 plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.java create mode 100644 plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.java create mode 100644 plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.java create mode 100644 plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionDescription.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionDescription.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusParameter.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusVariable.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionDescriptionImpl.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionDescriptionImpl.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusParameterImpl.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusVariableImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/VariableImpl.java create mode 100644 plugins/org.eclipse.sirius.validation/about.html create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/about.html create mode 100644 samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/about.html create mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/about.html delete mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/.classpath delete mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/.project delete mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.core.resources.prefs delete mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.jdt.core.prefs delete mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/META-INF/MANIFEST.MF delete mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/build.properties delete mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/org.eclipse.sirius.expression.dsl.tests.launch delete mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLInjectorProvider.java delete mode 100644 tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLUiInjectorProvider.java diff --git a/.gitignore b/.gitignore index c39fae941..6bf79930f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,6 @@ screenshots *~ *.rej *.bak -.DS_Store \ No newline at end of file +.DS_Store +*._trace +*.xtendbin diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java index 42fcedfb0..f492f8bb8 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java @@ -21,7 +21,7 @@ import org.eclipse.eef.interpreter.api.IEvaluationResult; import org.eclipse.eef.interpreter.api.IInterpreter; import org.eclipse.eef.interpreter.api.IInterpreterProvider; import org.eclipse.eef.interpreter.api.IValidationResult; -import org.eclipse.sirius.expression.ExpressionDescription; +import org.eclipse.sirius.expression.SiriusExpressionDescription; /** * Utility class encapsulating all the available interpreters. @@ -73,7 +73,8 @@ public class EEFCompoundInterpreter implements IInterpreter { * org.eclipse.sirius.expression.ExpressionDescription, java.lang.String) */ @Override - public IEvaluationResult evaluateExpression(Map variables, ExpressionDescription expressionDescription, String expressionBody) { + public IEvaluationResult evaluateExpression(Map variables, SiriusExpressionDescription expressionDescription, + String expressionBody) { IInterpreter interpreter = this.getInterpreterForExpression(expressionBody); if (interpreter != null) { return interpreter.evaluateExpression(variables, expressionDescription, expressionBody); @@ -88,7 +89,7 @@ public class EEFCompoundInterpreter implements IInterpreter { * java.lang.String) */ @Override - public IValidationResult validateExpression(ExpressionDescription expressionDescription, String expressionBody) { + public IValidationResult validateExpression(SiriusExpressionDescription expressionDescription, String expressionBody) { IInterpreter interpreter = this.getInterpreterForExpression(expressionBody); if (interpreter != null) { return interpreter.validateExpression(expressionDescription, expressionBody); diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java index 984c009ca..269c92185 100644 --- a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java +++ b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java @@ -34,7 +34,7 @@ import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.ecore.EcorePackage; import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl; -import org.eclipse.sirius.expression.ExpressionDescription; +import org.eclipse.sirius.expression.SiriusExpressionDescription; /** * The AQL {@link IInterpreter}. @@ -92,7 +92,8 @@ public class AQLInterpreter implements IInterpreter { * org.eclipse.sirius.expression.ExpressionDescription, java.lang.String) */ @Override - public IEvaluationResult evaluateExpression(Map variables, ExpressionDescription expressionDescription, String expressionBody) { + public IEvaluationResult evaluateExpression(Map variables, SiriusExpressionDescription expressionDescription, + String expressionBody) { String body = expressionBody.substring(IAQLConstants.AQL_PREFIX.length()); try { AstResult astResult = this.parsedExpressions.get(body); @@ -115,7 +116,7 @@ public class AQLInterpreter implements IInterpreter { * java.lang.String) */ @Override - public IValidationResult validateExpression(ExpressionDescription expressionDescription, String expressionBody) { + public IValidationResult validateExpression(SiriusExpressionDescription expressionDescription, String expressionBody) { return null; } diff --git a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java index 814b383a9..ca41fe8a6 100644 --- a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java +++ b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java @@ -12,7 +12,7 @@ package org.eclipse.eef.interpreter.api; import java.util.Map; -import org.eclipse.sirius.expression.ExpressionDescription; +import org.eclipse.sirius.expression.SiriusExpressionDescription; /** * Common interface of all the interpreters used by the EEF runtime. @@ -33,7 +33,7 @@ public interface IInterpreter { * @throws EvaluationException * In case of error during the evaluation */ - IEvaluationResult evaluateExpression(Map variables, ExpressionDescription expressionDescription, String expressionBody); + IEvaluationResult evaluateExpression(Map variables, SiriusExpressionDescription expressionDescription, String expressionBody); /** * Validates the expression with the given body and parameters. @@ -44,5 +44,5 @@ public interface IInterpreter { * The body of the expression * @return The evaluation result */ - IValidationResult validateExpression(ExpressionDescription expressionDescription, String expressionBody); + IValidationResult validateExpression(SiriusExpressionDescription expressionDescription, String expressionBody); } diff --git a/plugins/org.eclipse.eef/model/eef.expressions b/plugins/org.eclipse.eef/model/eef.expressions index ee0eca134..09ecc38a7 100644 --- a/plugins/org.eclipse.eef/model/eef.expressions +++ b/plugins/org.eclipse.eef/model/eef.expressions @@ -1,26 +1,553 @@ -package eef { - +package eef{ + class eef.EEFViewDescription { /** - * The semantic candidate of the view - */ + * The variable representing the view input. + */ var viewSemanticCandidate : ecore.EObject - - exp eef.EEFViewDescription.labelExpression (optional viewSemanticCandidate) : ecore.EString [0..1] { + + exp eef.EEFViewDescription.labelExpression(viewSemanticCandidate) : ecore.EString [0..1] { contextableElements = [ eef.EEFViewDescription ] - } + } } - + class eef.EEFPageDescription { /** - * The semantic candidate of the page - */ - var pageSemanticCandidate : ecore.EObject - - exp eef.EEFPageDescription.labelExpression (viewSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [] + * The variable representing the page input. + */ + var pageSemanticCandidate : ecore.EObject + + exp eef.EEFPageDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription + ] + } + exp eef.EEFPageDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription + ] + } + } + + class eef.EEFGroupDescription { + /** + * The variable representing the group input. + */ + var groupSemanticCandidate : ecore.EObject + + exp eef.EEFGroupDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + exp eef.EEFGroupDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + exp eef.EEFGroupDescription.collapsibleExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EBoolean [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + exp eef.EEFGroupDescription.collapsedByDefaultExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EBoolean [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + exp eef.EEFGroupDescription.validationExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : SiriusStatus [0..-1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + } + + class eef.EEFContainerDescription { + /** + * The variable representing the container input. + */ + var containerSemanticCandidate : ecore.EObject + + exp eef.EEFContainerDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate, containerSemanticCandidate, groupSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription + ] + } + } + + class eef.EEFWidgetDescription { + exp eef.EEFWidgetDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFWidgetDescription.tooltipExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFWidgetDescription.helpExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFWidgetDescription.validationExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : SiriusStatus [0..-1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + } + + class eef.EEFCheckboxDescription { + /** + * The variable containing the new updated value. + */ + var newValue : ecore.EObject + + exp eef.EEFCheckboxDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription + ] + } + exp eef.EEFCheckboxDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription + ] + } + } + + class eef.EEFSelectDescription { + /** + * The variable containing the new updated value. + */ + var newValue : ecore.EObject + + /** + * Represents one of the possible inputs. + */ + var candidate : ecore.EObject + + exp eef.EEFSelectDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFSelectDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFSelectDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFSelectDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + } + + class eef.EEFLabelDescription { + exp eef.EEFLabelDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription + ] + } + } + + class eef.EEFRadioDescription { + /** + * The variable containing the new updated value. + */ + var newValue : ecore.EObject + + /** + * Represents the one of the possible inputs. + */ + var candidate : ecore.EObject + + exp eef.EEFRadioDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + exp eef.EEFRadioDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + exp eef.EEFRadioDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + exp eef.EEFRadioDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + } + + class eef.EEFLinkDescription { + exp eef.EEFLinkDescription.onClickExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : Void [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription + ] + } + } + + class eef.EEFImageDescription { + exp eef.EEFImageDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : Object [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImageDescription + ] + } + } + + class eef.EEFTreeDescription { + /** + * The variable containing the new updated values. + */ + var newValue : ecore.EObject + + exp eef.EEFTreeDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDescription + ] + } + exp eef.EEFTreeDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDescription + ] + } + } + + class eef.EEFTreeDialogSelectDescription { + /** + * Represents the semantic candidate. + */ + var treeDialogSelectSemanticCandidate : ecore.EObject + + /** + * Represents one of the possible inputs. + */ + var candidate : ecore.EObject + + /** + * The variable containing the new updated values. + */ + var newValue : ecore.EObject + + exp eef.EEFTreeDialogSelectDescription.semanticCandidateExpression(viewSemanticCandidate, treeDialogSelectSemanticCandidate, candidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDialogSelectDescription + ] + } + } + + class eef.EEFImagePickerDescription { + /** + * The variable containing the new updated value. + */ + var newValue : ecore.EObject + + exp eef.EEFImagePickerDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : Object [0..-1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription + ] + } + exp eef.EEFImagePickerDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : Object [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription + ] + } + exp eef.EEFImagePickerDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : Object [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription + ] + } + } + + class eef.EEFColumnDescription { + /** + * Represents the column input. + */ + var columnSemanticCandidate : ecore.EObject + + exp eef.EEFColumnDescription.headerExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFColumnDescription + ] + } + exp eef.EEFColumnDescription.contextCandidatesExpression(viewSemanticCandidate, columnSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFColumnDescription + ] + } + } + + class eef.EEFLineDescription { + /** + * Represents the line input. + */ + var lineSemanticCandidate : ecore.EObject + + exp eef.EEFLineDescription.headerExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLineDescription + ] + } + exp eef.EEFLineDescription.semanticCandidatesExpression(viewSemanticCandidate, lineSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLineDescription + ] + } + } + + class eef.EEFTableDescription { + /** + * The variable containing the new updated values. + */ + var newValue : ecore.EObject + + exp eef.EEFTableDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTableDescription + ] + } + exp eef.EEFTableDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTableDescription + ] + } + } + + class eef.EEFInterpretedTreeStructureDescription { + /** + * The variable representing the parent element while computing the children expression in the Tree. + */ + var parent : ecore.EObject + + /** + * The variable representing the candidate element while computing the candidate display expression. + */ + var candidate : ecore.EObject + + exp eef.EEFInterpretedTreeStructureDescription.rootsExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription + ] + } + exp eef.EEFInterpretedTreeStructureDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription + ] + } + exp eef.EEFInterpretedTreeStructureDescription.selectablePredicateExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : Predicate [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription + ] + } + exp eef.EEFInterpretedTreeStructureDescription.childrenExpression(viewSemanticCandidate, parent, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription + ] + } + } + + class eef.EEFTextDescription { + /** + * The variable containing the text field value. + */ + var value : ecore.EObject + + /** + * The variable containing the cursor position when the completion is called. + */ + var position : ecore.EObject + + exp eef.EEFTextDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + exp eef.EEFTextDescription.editExpression(viewSemanticCandidate, value, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + exp eef.EEFTextDescription.readOnlyExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + exp eef.EEFTextDescription.contentAssistExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate, value, position) : CompletionProposal [0..-1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + exp eef.EEFTextDescription.placeholderExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + } + + class eef.EEFStyleDescription { + exp eef.EEFStyleDescription.fontExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + } + + class eef.EEFConditionalStyleDescription { + exp eef.EEFConditionalStyleDescription.conditionalExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + } + + class eef.EEFGroupStyleDescription { + exp eef.EEFGroupStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + } + + class eef.EEFTextStyleDescription { + exp eef.EEFTextStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + exp eef.EEFTextStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + } + + class eef.EEFCheckboxStyleDescription { + exp eef.EEFCheckboxStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription + ] + } + exp eef.EEFCheckboxStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription + ] + } + } + + class eef.EEFLabelStyleDescription { + exp eef.EEFLabelStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription + ] + } + exp eef.EEFLabelStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription + ] + } + } + + class eef.EEFRadioStyleDescription { + exp eef.EEFRadioStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + exp eef.EEFRadioStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + } + + class eef.EEFLinkStyleDescription { + exp eef.EEFLinkStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription + ] + } + exp eef.EEFLinkStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription + ] + } + exp eef.EEFLinkStyleDescription.backgroundImageExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription + ] + } + } + + class eef.EEFSelectStyleDescription { + exp eef.EEFSelectStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFSelectStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + } + + class eef.EEFLineStyleDescription { + exp eef.EEFLineStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFLineStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFLineStyleDescription.headerBackgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFLineStyleDescription.headerForegroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + } + + class eef.EEFColumnStyleDescription { + exp eef.EEFColumnStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFColumnStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFColumnStyleDescription.headerBackgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFColumnStyleDescription.headerForegroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + contextableElements = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] } } -} \ No newline at end of file + +} diff --git a/plugins/org.eclipse.sirius.contentassist/about.html b/plugins/org.eclipse.sirius.contentassist/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.sirius.contentassist/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

    About This Content

    + +

    June 15, 2010

    +

    License

    + +

    The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

    + +

    If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

    + + + \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/.classpath b/plugins/org.eclipse.sirius.expression.dsl.ui/.classpath deleted file mode 100644 index 9081d4f70..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/.classpath +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/.project b/plugins/org.eclipse.sirius.expression.dsl.ui/.project deleted file mode 100644 index 05e1bb2af..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.eclipse.sirius.expression.dsl.ui - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - org.eclipse.xtext.ui.shared.xtextNature - - diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c020..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0c68a61dc..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.dsl.ui/META-INF/MANIFEST.MF deleted file mode 100644 index 24bdafead..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/META-INF/MANIFEST.MF +++ /dev/null @@ -1,26 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: org.eclipse.sirius.expression.dsl.ui -Bundle-Vendor: My Company -Bundle-Version: 1.0.0.qualifier -Bundle-SymbolicName: org.eclipse.sirius.expression.dsl.ui; singleton:=true -Bundle-ActivationPolicy: lazy -Require-Bundle: org.eclipse.sirius.expression.dsl;visibility:=reexport, - org.eclipse.xtext.ui, - org.eclipse.ui.editors;bundle-version="3.5.0", - org.eclipse.ui.ide;bundle-version="3.5.0", - org.eclipse.xtext.ui.shared, - org.eclipse.ui, - org.eclipse.xtext.builder, - org.eclipse.xtext.xbase.lib, - org.eclipse.xtext.common.types.ui, - org.eclipse.xtext.ui.codetemplates.ui, - org.eclipse.compare -Import-Package: org.apache.log4j -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: org.eclipse.sirius.expression.dsl.ui.quickfix, - org.eclipse.sirius.expression.dsl.ui.contentassist, - org.eclipse.sirius.expression.dsl.ui.internal, - org.eclipse.sirius.expression.dsl.ui.contentassist.antlr, - org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal -Bundle-Activator: org.eclipse.sirius.expression.dsl.ui.internal.ExpressionDSLActivator diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/build.properties b/plugins/org.eclipse.sirius.expression.dsl.ui/build.properties deleted file mode 100644 index dfd4ed5d2..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/build.properties +++ /dev/null @@ -1,6 +0,0 @@ -source.. = src/,\ - src-gen/,\ - xtend-gen/ -bin.includes = META-INF/,\ - .,\ - plugin.xml diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml b/plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml deleted file mode 100644 index 431a05f4c..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml +++ /dev/null @@ -1,425 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml_gen b/plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml_gen deleted file mode 100644 index 431a05f4c..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/plugin.xml_gen +++ /dev/null @@ -1,425 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/AbstractExpressionDSLUiModule.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/AbstractExpressionDSLUiModule.java deleted file mode 100644 index bf5a48c86..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/AbstractExpressionDSLUiModule.java +++ /dev/null @@ -1,196 +0,0 @@ - -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui; - -import org.eclipse.ui.plugin.AbstractUIPlugin; - -/** - * Manual modifications go to {org.eclipse.sirius.expression.dsl.ui.ExpressionDSLUiModule} - */ -@SuppressWarnings("all") -public abstract class AbstractExpressionDSLUiModule extends org.eclipse.xtext.common.types.ui.DefaultCommonTypesUiModule { - - public AbstractExpressionDSLUiModule(AbstractUIPlugin plugin) { - super(plugin); - } - - - // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment - public com.google.inject.Provider provideIAllContainersState() { - return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState(); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIProposalConflictHelper() { - return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureHighlightingLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.sirius.expression.dsl.parser.antlr.internal.InternalExpressionDSLLexer.class); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureHighlightingTokenDefProvider(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class); - } - - // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment - public Class bindIDependentElementsCalculator() { - return org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class); - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public Class bindIXtextEditorCallback() { - return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public Class bindIContextualOutputConfigurationProvider() { - return org.eclipse.xtext.builder.EclipseOutputConfigurationProvider.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.builder.builderState.IBuilderState.class); - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public Class bindDocumentBasedDirtyResource() { - return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class; - } - - // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment - public Class bindIXtextBuilderParticipant() { - return org.eclipse.xtext.builder.BuilderParticipant.class; - } - - // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment - public org.eclipse.core.resources.IWorkspaceRoot bindIWorkspaceRootToInstance() { - return org.eclipse.core.resources.ResourcesPlugin.getWorkspace().getRoot(); - } - - // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment - public void configureBuilderPreferenceStoreInitializer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("builderPreferenceInitializer")).to(org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess.Initializer.class); - } - - // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment - public Class bindILabelProvider() { - return org.eclipse.sirius.expression.dsl.ui.labeling.ExpressionDSLLabelProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment - public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) { - binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.sirius.expression.dsl.ui.labeling.ExpressionDSLDescriptionLabelProvider.class); - } - - // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment - public Class bindIOutlineTreeProvider() { - return org.eclipse.sirius.expression.dsl.ui.outline.ExpressionDSLOutlineTreeProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment - public Class bindIOutlineTreeStructureProvider() { - return org.eclipse.sirius.expression.dsl.ui.outline.ExpressionDSLOutlineTreeProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment - public Class bindIssueResolutionProvider() { - return org.eclipse.sirius.expression.dsl.ui.quickfix.ExpressionDSLQuickfixProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.contentAssist.ContentAssistFragment - public Class bindIContentProposalProvider() { - return org.eclipse.sirius.expression.dsl.ui.contentassist.ExpressionDSLProposalProvider.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public Class bindContentAssistContext$Factory() { - return org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public Class bindIContentAssistParser() { - return org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.ExpressionDSLParser.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public void configureContentAssistLexerProvider(com.google.inject.Binder binder) { - binder.bind(org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLLexer.class).toProvider(org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLLexer.class)); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public void configureContentAssistLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST)).to(org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLLexer.class); - } - - // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment - public Class bindIRenameStrategy() { - return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy.class; - } - - // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment - public Class bindIReferenceUpdater() { - return org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater.class; - } - - // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment - public void configureIPreferenceStoreInitializer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("RefactoringPreferences")).to(org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences.Initializer.class); - } - - // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment - public Class bindIRenameRefactoringProvider() { - return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment - public Class bindIRenameSupport$Factory() { - return org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport.Factory.class; - } - - // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment - public Class bindPrefixMatcher() { - return org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.class; - } - - // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment - public com.google.inject.Provider provideTemplatesLanguageConfiguration() { - return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); - } - - // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment - public com.google.inject.Provider provideLanguageRegistry() { - return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getLanguageRegistry(); - } - - // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment - @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class bindLanguageRegistrar() { - return org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.class; - } - - // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment - public Class bindXtextTemplatePreferencePage() { - return org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage.class; - } - - // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment - public Class bindIPartialContentAssistParser() { - return org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.PartialExpressionDSLContentAssistParser.class; - } - - // contributed by org.eclipse.xtext.ui.generator.compare.CompareFragment - public Class bindIViewerCreator() { - return org.eclipse.xtext.ui.compare.DefaultViewerCreator.class; - } - - -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLExecutableExtensionFactory.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLExecutableExtensionFactory.java deleted file mode 100644 index c3f8501af..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLExecutableExtensionFactory.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui; - -import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; -import org.osgi.framework.Bundle; - -import com.google.inject.Injector; - -import org.eclipse.sirius.expression.dsl.ui.internal.ExpressionDSLActivator; - -/** - * This class was generated. Customizations should only happen in a newly - * introduced subclass. - */ -public class ExpressionDSLExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { - - @Override - protected Bundle getBundle() { - return ExpressionDSLActivator.getInstance().getBundle(); - } - - @Override - protected Injector getInjector() { - return ExpressionDSLActivator.getInstance().getInjector(ExpressionDSLActivator.ORG_ECLIPSE_SIRIUS_EXPRESSION_DSL_EXPRESSIONDSL); - } - -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/AbstractExpressionDSLProposalProvider.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/AbstractExpressionDSLProposalProvider.java deleted file mode 100644 index 2a15344b1..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/AbstractExpressionDSLProposalProvider.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui.contentassist; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.*; -import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; -import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; - -/** - * Represents a generated, default implementation of superclass {@link org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider}. - * Methods are dynamically dispatched on the first parameter, i.e., you can override them - * with a more concrete subtype. - */ -@SuppressWarnings("all") -public class AbstractExpressionDSLProposalProvider extends org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider { - - public void completeSiriusExpressionPackage_EPackage(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionPackage_ExpressionClasses(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionClass_EClass(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionClass_Variables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionClass_ExpressionDescriptions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusVariable_Documentation(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusVariable_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusVariable_EType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionDescription_Expression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionDescription_Parameters(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionDescription_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionDescription_LowerBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionDescription_UpperBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionDescription_ContextableElements(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeParameter_Optional(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeParameter_Variable(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - - public void complete_SiriusExpressionPackage(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_SiriusExpressionClass(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_SiriusVariable(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_FQN(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_SiriusExpressionDescription(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Parameter(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Bound(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ID(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_INT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ML_COMMENT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_WS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/ExpressionDSLParser.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/ExpressionDSLParser.java deleted file mode 100644 index fa55bdcbc..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/ExpressionDSLParser.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui.contentassist.antlr; - -import java.util.Collection; -import java.util.Map; -import java.util.HashMap; - -import org.antlr.runtime.RecognitionException; -import org.eclipse.xtext.AbstractElement; -import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser; -import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; - -import com.google.inject.Inject; - -import org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess; - -public class ExpressionDSLParser extends AbstractContentAssistParser { - - @Inject - private ExpressionDSLGrammarAccess grammarAccess; - - private Map nameMappings; - - @Override - protected org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLParser createParser() { - org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLParser result = new org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLParser(null); - result.setGrammarAccess(grammarAccess); - return result; - } - - @Override - protected String getRuleName(AbstractElement element) { - if (nameMappings == null) { - nameMappings = new HashMap() { - private static final long serialVersionUID = 1L; - { - put(grammarAccess.getSiriusExpressionPackageAccess().getGroup(), "rule__SiriusExpressionPackage__Group__0"); - put(grammarAccess.getSiriusExpressionClassAccess().getGroup(), "rule__SiriusExpressionClass__Group__0"); - put(grammarAccess.getSiriusVariableAccess().getGroup(), "rule__SiriusVariable__Group__0"); - put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); - put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup(), "rule__SiriusExpressionDescription__Group__0"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3(), "rule__SiriusExpressionDescription__Group_3__0"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1(), "rule__SiriusExpressionDescription__Group_3_1__0"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16(), "rule__SiriusExpressionDescription__Group_16__0"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1(), "rule__SiriusExpressionDescription__Group_16_1__0"); - put(grammarAccess.getParameterAccess().getGroup(), "rule__Parameter__Group__0"); - put(grammarAccess.getBoundAccess().getGroup(), "rule__Bound__Group__0"); - put(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1(), "rule__SiriusExpressionPackage__EPackageAssignment_1"); - put(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3(), "rule__SiriusExpressionPackage__ExpressionClassesAssignment_3"); - put(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1(), "rule__SiriusExpressionClass__EClassAssignment_1"); - put(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3(), "rule__SiriusExpressionClass__VariablesAssignment_3"); - put(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4(), "rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4"); - put(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0(), "rule__SiriusVariable__DocumentationAssignment_0"); - put(grammarAccess.getSiriusVariableAccess().getNameAssignment_2(), "rule__SiriusVariable__NameAssignment_2"); - put(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4(), "rule__SiriusVariable__ETypeAssignment_4"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1(), "rule__SiriusExpressionDescription__ExpressionAssignment_1"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0(), "rule__SiriusExpressionDescription__ParametersAssignment_3_0"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1(), "rule__SiriusExpressionDescription__ParametersAssignment_3_1_1"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeAssignment_6(), "rule__SiriusExpressionDescription__TypeAssignment_6"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8(), "rule__SiriusExpressionDescription__LowerBoundAssignment_8"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10(), "rule__SiriusExpressionDescription__UpperBoundAssignment_10"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_0(), "rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_1_1(), "rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1"); - put(grammarAccess.getParameterAccess().getOptionalAssignment_0(), "rule__Parameter__OptionalAssignment_0"); - put(grammarAccess.getParameterAccess().getVariableAssignment_1(), "rule__Parameter__VariableAssignment_1"); - } - }; - } - return nameMappings.get(element); - } - - @Override - protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { - try { - org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLParser typedParser = (org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal.InternalExpressionDSLParser) parser; - typedParser.entryRuleSiriusExpressionPackage(); - return typedParser.getFollowElements(); - } catch(RecognitionException ex) { - throw new RuntimeException(ex); - } - } - - @Override - protected String[] getInitialHiddenTokens() { - return new String[] { "RULE_WS" }; - } - - public ExpressionDSLGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(ExpressionDSLGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/PartialExpressionDSLContentAssistParser.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/PartialExpressionDSLContentAssistParser.java deleted file mode 100644 index a27e4b61f..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/PartialExpressionDSLContentAssistParser.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui.contentassist.antlr; - -import java.util.Collection; -import java.util.Collections; - -import org.eclipse.xtext.AbstractRule; -import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser; -import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; -import org.eclipse.xtext.util.PolymorphicDispatcher; - -/* - * Template CodetemplatesGeneratorFragment.xpt - */ -public class PartialExpressionDSLContentAssistParser extends ExpressionDSLParser implements IPartialContentAssistParser { - - private AbstractRule rule; - - @Override - public void initializeFor(AbstractRule rule) { - this.rule = rule; - } - - @Override - protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { - if (rule == null || rule.eIsProxy()) - return Collections.emptyList(); - String methodName = "entryRule" + rule.getName(); - PolymorphicDispatcher> dispatcher = - new PolymorphicDispatcher>(methodName, 0, 0, Collections.singletonList(parser)); - dispatcher.invoke(); - return parser.getFollowElements(); - } - -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.g b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.g deleted file mode 100644 index 514d7c578..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.g +++ /dev/null @@ -1,2197 +0,0 @@ -/* - * generated by Xtext - */ -grammar InternalExpressionDSL; - -options { - superClass=AbstractInternalContentAssistParser; - -} - -@lexer::header { -package org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; -} - -@parser::header { -package org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal; - -import java.io.InputStream; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA; -import org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess; - -} - -@parser::members { - - private ExpressionDSLGrammarAccess grammarAccess; - - public void setGrammarAccess(ExpressionDSLGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - - @Override - protected Grammar getGrammar() { - return grammarAccess.getGrammar(); - } - - @Override - protected String getValueForTokenName(String tokenName) { - return tokenName; - } - -} - - - - -// Entry rule entryRuleSiriusExpressionPackage -entryRuleSiriusExpressionPackage -: -{ before(grammarAccess.getSiriusExpressionPackageRule()); } - ruleSiriusExpressionPackage -{ after(grammarAccess.getSiriusExpressionPackageRule()); } - EOF -; - -// Rule SiriusExpressionPackage -ruleSiriusExpressionPackage - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); } -(rule__SiriusExpressionPackage__Group__0) -{ after(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSiriusExpressionClass -entryRuleSiriusExpressionClass -: -{ before(grammarAccess.getSiriusExpressionClassRule()); } - ruleSiriusExpressionClass -{ after(grammarAccess.getSiriusExpressionClassRule()); } - EOF -; - -// Rule SiriusExpressionClass -ruleSiriusExpressionClass - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getGroup()); } -(rule__SiriusExpressionClass__Group__0) -{ after(grammarAccess.getSiriusExpressionClassAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSiriusVariable -entryRuleSiriusVariable -: -{ before(grammarAccess.getSiriusVariableRule()); } - ruleSiriusVariable -{ after(grammarAccess.getSiriusVariableRule()); } - EOF -; - -// Rule SiriusVariable -ruleSiriusVariable - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSiriusVariableAccess().getGroup()); } -(rule__SiriusVariable__Group__0) -{ after(grammarAccess.getSiriusVariableAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleFQN -entryRuleFQN -: -{ before(grammarAccess.getFQNRule()); } - ruleFQN -{ after(grammarAccess.getFQNRule()); } - EOF -; - -// Rule FQN -ruleFQN - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getFQNAccess().getGroup()); } -(rule__FQN__Group__0) -{ after(grammarAccess.getFQNAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSiriusExpressionDescription -entryRuleSiriusExpressionDescription -: -{ before(grammarAccess.getSiriusExpressionDescriptionRule()); } - ruleSiriusExpressionDescription -{ after(grammarAccess.getSiriusExpressionDescriptionRule()); } - EOF -; - -// Rule SiriusExpressionDescription -ruleSiriusExpressionDescription - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); } -(rule__SiriusExpressionDescription__Group__0) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleParameter -entryRuleParameter -: -{ before(grammarAccess.getParameterRule()); } - ruleParameter -{ after(grammarAccess.getParameterRule()); } - EOF -; - -// Rule Parameter -ruleParameter - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getParameterAccess().getGroup()); } -(rule__Parameter__Group__0) -{ after(grammarAccess.getParameterAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleBound -entryRuleBound -: -{ before(grammarAccess.getBoundRule()); } - ruleBound -{ after(grammarAccess.getBoundRule()); } - EOF -; - -// Rule Bound -ruleBound - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getBoundAccess().getGroup()); } -(rule__Bound__Group__0) -{ after(grammarAccess.getBoundAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__SiriusExpressionPackage__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionPackage__Group__0__Impl - rule__SiriusExpressionPackage__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionPackage__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); } - - 'package' - -{ after(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionPackage__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionPackage__Group__1__Impl - rule__SiriusExpressionPackage__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionPackage__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); } -(rule__SiriusExpressionPackage__EPackageAssignment_1) -{ after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionPackage__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionPackage__Group__2__Impl - rule__SiriusExpressionPackage__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionPackage__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); } - - '{' - -{ after(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionPackage__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionPackage__Group__3__Impl - rule__SiriusExpressionPackage__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionPackage__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); } -(rule__SiriusExpressionPackage__ExpressionClassesAssignment_3)* -{ after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionPackage__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionPackage__Group__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionPackage__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); } - - '}' - -{ after(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - -rule__SiriusExpressionClass__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionClass__Group__0__Impl - rule__SiriusExpressionClass__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); } - - 'class' - -{ after(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionClass__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionClass__Group__1__Impl - rule__SiriusExpressionClass__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); } -(rule__SiriusExpressionClass__EClassAssignment_1) -{ after(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionClass__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionClass__Group__2__Impl - rule__SiriusExpressionClass__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); } - - '{' - -{ after(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionClass__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionClass__Group__3__Impl - rule__SiriusExpressionClass__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); } -(rule__SiriusExpressionClass__VariablesAssignment_3)* -{ after(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionClass__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionClass__Group__4__Impl - rule__SiriusExpressionClass__Group__5 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); } -(rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4)* -{ after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionClass__Group__5 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionClass__Group__5__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__Group__5__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); } - - '}' - -{ after(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - - - -rule__SiriusVariable__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusVariable__Group__0__Impl - rule__SiriusVariable__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); } -(rule__SiriusVariable__DocumentationAssignment_0)? -{ after(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusVariable__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusVariable__Group__1__Impl - rule__SiriusVariable__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); } - - 'var' - -{ after(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusVariable__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusVariable__Group__2__Impl - rule__SiriusVariable__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); } -(rule__SiriusVariable__NameAssignment_2) -{ after(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusVariable__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusVariable__Group__3__Impl - rule__SiriusVariable__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); } - - ':' - -{ after(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusVariable__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusVariable__Group__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); } -(rule__SiriusVariable__ETypeAssignment_4) -{ after(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - -rule__FQN__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__FQN__Group__0__Impl - rule__FQN__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__FQN__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); } - RULE_ID -{ after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__FQN__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__FQN__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__FQN__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFQNAccess().getGroup_1()); } -(rule__FQN__Group_1__0)* -{ after(grammarAccess.getFQNAccess().getGroup_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__FQN__Group_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__FQN__Group_1__0__Impl - rule__FQN__Group_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__FQN__Group_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); } - - '.' - -{ after(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__FQN__Group_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__FQN__Group_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__FQN__Group_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); } - RULE_ID -{ after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__SiriusExpressionDescription__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__0__Impl - rule__SiriusExpressionDescription__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); } - - 'exp' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__1__Impl - rule__SiriusExpressionDescription__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); } -(rule__SiriusExpressionDescription__ExpressionAssignment_1) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__2__Impl - rule__SiriusExpressionDescription__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); } - - '(' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__3__Impl - rule__SiriusExpressionDescription__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); } -(rule__SiriusExpressionDescription__Group_3__0)? -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__4__Impl - rule__SiriusExpressionDescription__Group__5 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); } - - ')' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__5 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__5__Impl - rule__SiriusExpressionDescription__Group__6 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__5__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); } - - ':' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__6 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__6__Impl - rule__SiriusExpressionDescription__Group__7 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__6__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeAssignment_6()); } -(rule__SiriusExpressionDescription__TypeAssignment_6) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeAssignment_6()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__7 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__7__Impl - rule__SiriusExpressionDescription__Group__8 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__7__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); } - - '[' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__8 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__8__Impl - rule__SiriusExpressionDescription__Group__9 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__8__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); } -(rule__SiriusExpressionDescription__LowerBoundAssignment_8) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__9 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__9__Impl - rule__SiriusExpressionDescription__Group__10 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__9__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); } - - '..' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__10 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__10__Impl - rule__SiriusExpressionDescription__Group__11 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__10__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); } -(rule__SiriusExpressionDescription__UpperBoundAssignment_10) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__11 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__11__Impl - rule__SiriusExpressionDescription__Group__12 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__11__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); } - - ']' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__12 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__12__Impl - rule__SiriusExpressionDescription__Group__13 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__12__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); } - - '{' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__13 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__13__Impl - rule__SiriusExpressionDescription__Group__14 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__13__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsKeyword_13()); } - - 'contextableElements' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsKeyword_13()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__14 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__14__Impl - rule__SiriusExpressionDescription__Group__15 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__14__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); } - - '=' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__15 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__15__Impl - rule__SiriusExpressionDescription__Group__16 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__15__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); } - - '[' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__16 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__16__Impl - rule__SiriusExpressionDescription__Group__17 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__16__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); } -(rule__SiriusExpressionDescription__Group_16__0)? -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__17 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__17__Impl - rule__SiriusExpressionDescription__Group__18 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__17__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); } - - ']' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__18 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__18__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__18__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); } - - '}' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -rule__SiriusExpressionDescription__Group_3__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_3__0__Impl - rule__SiriusExpressionDescription__Group_3__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_3__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); } -(rule__SiriusExpressionDescription__ParametersAssignment_3_0) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group_3__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_3__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_3__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); } -(rule__SiriusExpressionDescription__Group_3_1__0)* -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__SiriusExpressionDescription__Group_3_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_3_1__0__Impl - rule__SiriusExpressionDescription__Group_3_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_3_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); } - - ',' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group_3_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_3_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_3_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); } -(rule__SiriusExpressionDescription__ParametersAssignment_3_1_1) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__SiriusExpressionDescription__Group_16__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_16__0__Impl - rule__SiriusExpressionDescription__Group_16__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_16__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_0()); } -(rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group_16__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_16__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_16__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); } -(rule__SiriusExpressionDescription__Group_16_1__0)* -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__SiriusExpressionDescription__Group_16_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_16_1__0__Impl - rule__SiriusExpressionDescription__Group_16_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_16_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); } - - ',' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group_16_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_16_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_16_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_1_1()); } -(rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__Parameter__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Parameter__Group__0__Impl - rule__Parameter__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Parameter__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getParameterAccess().getOptionalAssignment_0()); } -(rule__Parameter__OptionalAssignment_0)? -{ after(grammarAccess.getParameterAccess().getOptionalAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Parameter__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Parameter__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Parameter__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getParameterAccess().getVariableAssignment_1()); } -(rule__Parameter__VariableAssignment_1) -{ after(grammarAccess.getParameterAccess().getVariableAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__Bound__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Bound__Group__0__Impl - rule__Bound__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Bound__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); } -( - '-' -)? -{ after(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Bound__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Bound__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Bound__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); } - RULE_INT -{ after(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - -rule__SiriusExpressionPackage__EPackageAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); } -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageFQNParserRuleCall_1_0_1()); } - ruleFQN{ after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageFQNParserRuleCall_1_0_1()); } -) -{ after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); } - ruleSiriusExpressionClass{ after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__EClassAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); } -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); } - ruleFQN{ after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); } -) -{ after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__VariablesAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); } - ruleSiriusVariable{ after(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); } - ruleSiriusExpressionDescription{ after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__DocumentationAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); } - RULE_ML_COMMENT{ after(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__NameAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); } - RULE_ID{ after(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__ETypeAssignment_4 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); } -( -{ before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); } - ruleFQN{ after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); } -) -{ after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__ExpressionAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); } -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); } - ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); } -) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__ParametersAssignment_3_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_0_0()); } - ruleParameter{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_0_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_1_1_0()); } - ruleParameter{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_1_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__TypeAssignment_6 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierCrossReference_6_0()); } -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierFQNParserRuleCall_6_0_1()); } - ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierFQNParserRuleCall_6_0_1()); } -) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierCrossReference_6_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__LowerBoundAssignment_8 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); } - ruleBound{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__UpperBoundAssignment_10 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); } - ruleBound{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_0_0()); } -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_0_0_1()); } - ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_0_0_1()); } -) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_0_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_1_1_0()); } -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_1_1_0_1()); } - ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_1_1_0_1()); } -) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_1_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__Parameter__OptionalAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); } -( -{ before(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); } - - 'optional' - -{ after(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); } -) - -{ after(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__Parameter__VariableAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getParameterAccess().getVariableSiriusVariableCrossReference_1_0()); } -( -{ before(grammarAccess.getParameterAccess().getVariableSiriusVariableFQNParserRuleCall_1_0_1()); } - ruleFQN{ after(grammarAccess.getParameterAccess().getVariableSiriusVariableFQNParserRuleCall_1_0_1()); } -) -{ after(grammarAccess.getParameterAccess().getVariableSiriusVariableCrossReference_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -RULE_INT : ('0'..'9')+; - -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -RULE_WS : (' '|'\t'|'\r'|'\n')+; - - diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.tokens b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.tokens deleted file mode 100644 index 7450a2c92..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSL.tokens +++ /dev/null @@ -1,40 +0,0 @@ -'('=16 -')'=17 -','=23 -'-'=24 -'.'=14 -'..'=19 -':'=13 -'='=22 -'['=18 -']'=20 -'class'=11 -'contextableElements'=21 -'exp'=15 -'optional'=25 -'package'=8 -'var'=12 -'{'=9 -'}'=10 -RULE_ID=4 -RULE_INT=5 -RULE_ML_COMMENT=6 -RULE_WS=7 -T__10=10 -T__11=11 -T__12=12 -T__13=13 -T__14=14 -T__15=15 -T__16=16 -T__17=17 -T__18=18 -T__19=19 -T__20=20 -T__21=21 -T__22=22 -T__23=23 -T__24=24 -T__25=25 -T__8=8 -T__9=9 diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSLLexer.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSLLexer.java deleted file mode 100644 index 06ec52df8..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/antlr/internal/InternalExpressionDSLLexer.java +++ /dev/null @@ -1,948 +0,0 @@ -package org.eclipse.sirius.expression.dsl.ui.contentassist.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalExpressionDSLLexer extends Lexer { - public static final int T__19=19; - public static final int T__15=15; - public static final int T__16=16; - public static final int T__17=17; - public static final int T__18=18; - public static final int T__11=11; - public static final int T__12=12; - public static final int T__13=13; - public static final int T__14=14; - public static final int EOF=-1; - public static final int T__10=10; - public static final int T__9=9; - public static final int T__8=8; - public static final int RULE_ID=4; - public static final int RULE_WS=7; - public static final int RULE_INT=5; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=6; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__20=20; - public static final int T__21=21; - - // delegates - // delegators - - public InternalExpressionDSLLexer() {;} - public InternalExpressionDSLLexer(CharStream input) { - this(input, new RecognizerSharedState()); - } - public InternalExpressionDSLLexer(CharStream input, RecognizerSharedState state) { - super(input,state); - - } - public String getGrammarFileName() { return "InternalExpressionDSL.g"; } - - // $ANTLR start "T__8" - public final void mT__8() throws RecognitionException { - try { - int _type = T__8; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:11:6: ( 'package' ) - // InternalExpressionDSL.g:11:8: 'package' - { - match("package"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__8" - - // $ANTLR start "T__9" - public final void mT__9() throws RecognitionException { - try { - int _type = T__9; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:12:6: ( '{' ) - // InternalExpressionDSL.g:12:8: '{' - { - match('{'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__9" - - // $ANTLR start "T__10" - public final void mT__10() throws RecognitionException { - try { - int _type = T__10; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:13:7: ( '}' ) - // InternalExpressionDSL.g:13:9: '}' - { - match('}'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__10" - - // $ANTLR start "T__11" - public final void mT__11() throws RecognitionException { - try { - int _type = T__11; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:14:7: ( 'class' ) - // InternalExpressionDSL.g:14:9: 'class' - { - match("class"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__11" - - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { - try { - int _type = T__12; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:15:7: ( 'var' ) - // InternalExpressionDSL.g:15:9: 'var' - { - match("var"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:16:7: ( ':' ) - // InternalExpressionDSL.g:16:9: ':' - { - match(':'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__13" - - // $ANTLR start "T__14" - public final void mT__14() throws RecognitionException { - try { - int _type = T__14; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:17:7: ( '.' ) - // InternalExpressionDSL.g:17:9: '.' - { - match('.'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__14" - - // $ANTLR start "T__15" - public final void mT__15() throws RecognitionException { - try { - int _type = T__15; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:18:7: ( 'exp' ) - // InternalExpressionDSL.g:18:9: 'exp' - { - match("exp"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__15" - - // $ANTLR start "T__16" - public final void mT__16() throws RecognitionException { - try { - int _type = T__16; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:19:7: ( '(' ) - // InternalExpressionDSL.g:19:9: '(' - { - match('('); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__16" - - // $ANTLR start "T__17" - public final void mT__17() throws RecognitionException { - try { - int _type = T__17; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:20:7: ( ')' ) - // InternalExpressionDSL.g:20:9: ')' - { - match(')'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__17" - - // $ANTLR start "T__18" - public final void mT__18() throws RecognitionException { - try { - int _type = T__18; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:21:7: ( '[' ) - // InternalExpressionDSL.g:21:9: '[' - { - match('['); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__18" - - // $ANTLR start "T__19" - public final void mT__19() throws RecognitionException { - try { - int _type = T__19; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:22:7: ( '..' ) - // InternalExpressionDSL.g:22:9: '..' - { - match(".."); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__19" - - // $ANTLR start "T__20" - public final void mT__20() throws RecognitionException { - try { - int _type = T__20; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:23:7: ( ']' ) - // InternalExpressionDSL.g:23:9: ']' - { - match(']'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__20" - - // $ANTLR start "T__21" - public final void mT__21() throws RecognitionException { - try { - int _type = T__21; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:24:7: ( 'contextableElements' ) - // InternalExpressionDSL.g:24:9: 'contextableElements' - { - match("contextableElements"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__21" - - // $ANTLR start "T__22" - public final void mT__22() throws RecognitionException { - try { - int _type = T__22; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:25:7: ( '=' ) - // InternalExpressionDSL.g:25:9: '=' - { - match('='); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__22" - - // $ANTLR start "T__23" - public final void mT__23() throws RecognitionException { - try { - int _type = T__23; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:26:7: ( ',' ) - // InternalExpressionDSL.g:26:9: ',' - { - match(','); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__23" - - // $ANTLR start "T__24" - public final void mT__24() throws RecognitionException { - try { - int _type = T__24; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:27:7: ( '-' ) - // InternalExpressionDSL.g:27:9: '-' - { - match('-'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__24" - - // $ANTLR start "T__25" - public final void mT__25() throws RecognitionException { - try { - int _type = T__25; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:28:7: ( 'optional' ) - // InternalExpressionDSL.g:28:9: 'optional' - { - match("optional"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__25" - - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:2189:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalExpressionDSL.g:2189:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // InternalExpressionDSL.g:2189:11: ( '^' )? - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0=='^') ) { - alt1=1; - } - switch (alt1) { - case 1 : - // InternalExpressionDSL.g:2189:11: '^' - { - match('^'); - - } - break; - - } - - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // InternalExpressionDSL.g:2189:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // InternalExpressionDSL.g: - { - if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop2; - } - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ID" - - // $ANTLR start "RULE_INT" - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:2191:10: ( ( '0' .. '9' )+ ) - // InternalExpressionDSL.g:2191:12: ( '0' .. '9' )+ - { - // InternalExpressionDSL.g:2191:12: ( '0' .. '9' )+ - int cnt3=0; - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( ((LA3_0>='0' && LA3_0<='9')) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // InternalExpressionDSL.g:2191:13: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt3 >= 1 ) break loop3; - EarlyExitException eee = - new EarlyExitException(3, input); - throw eee; - } - cnt3++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_INT" - - // $ANTLR start "RULE_ML_COMMENT" - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:2193:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalExpressionDSL.g:2193:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); - - // InternalExpressionDSL.g:2193:24: ( options {greedy=false; } : . )* - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0=='*') ) { - int LA4_1 = input.LA(2); - - if ( (LA4_1=='/') ) { - alt4=2; - } - else if ( ((LA4_1>='\u0000' && LA4_1<='.')||(LA4_1>='0' && LA4_1<='\uFFFF')) ) { - alt4=1; - } - - - } - else if ( ((LA4_0>='\u0000' && LA4_0<=')')||(LA4_0>='+' && LA4_0<='\uFFFF')) ) { - alt4=1; - } - - - switch (alt4) { - case 1 : - // InternalExpressionDSL.g:2193:52: . - { - matchAny(); - - } - break; - - default : - break loop4; - } - } while (true); - - match("*/"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ML_COMMENT" - - // $ANTLR start "RULE_WS" - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:2195:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalExpressionDSL.g:2195:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // InternalExpressionDSL.g:2195:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt5=0; - loop5: - do { - int alt5=2; - int LA5_0 = input.LA(1); - - if ( ((LA5_0>='\t' && LA5_0<='\n')||LA5_0=='\r'||LA5_0==' ') ) { - alt5=1; - } - - - switch (alt5) { - case 1 : - // InternalExpressionDSL.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - if ( cnt5 >= 1 ) break loop5; - EarlyExitException eee = - new EarlyExitException(5, input); - throw eee; - } - cnt5++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_WS" - - public void mTokens() throws RecognitionException { - // InternalExpressionDSL.g:1:8: ( T__8 | T__9 | T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS ) - int alt6=22; - alt6 = dfa6.predict(input); - switch (alt6) { - case 1 : - // InternalExpressionDSL.g:1:10: T__8 - { - mT__8(); - - } - break; - case 2 : - // InternalExpressionDSL.g:1:15: T__9 - { - mT__9(); - - } - break; - case 3 : - // InternalExpressionDSL.g:1:20: T__10 - { - mT__10(); - - } - break; - case 4 : - // InternalExpressionDSL.g:1:26: T__11 - { - mT__11(); - - } - break; - case 5 : - // InternalExpressionDSL.g:1:32: T__12 - { - mT__12(); - - } - break; - case 6 : - // InternalExpressionDSL.g:1:38: T__13 - { - mT__13(); - - } - break; - case 7 : - // InternalExpressionDSL.g:1:44: T__14 - { - mT__14(); - - } - break; - case 8 : - // InternalExpressionDSL.g:1:50: T__15 - { - mT__15(); - - } - break; - case 9 : - // InternalExpressionDSL.g:1:56: T__16 - { - mT__16(); - - } - break; - case 10 : - // InternalExpressionDSL.g:1:62: T__17 - { - mT__17(); - - } - break; - case 11 : - // InternalExpressionDSL.g:1:68: T__18 - { - mT__18(); - - } - break; - case 12 : - // InternalExpressionDSL.g:1:74: T__19 - { - mT__19(); - - } - break; - case 13 : - // InternalExpressionDSL.g:1:80: T__20 - { - mT__20(); - - } - break; - case 14 : - // InternalExpressionDSL.g:1:86: T__21 - { - mT__21(); - - } - break; - case 15 : - // InternalExpressionDSL.g:1:92: T__22 - { - mT__22(); - - } - break; - case 16 : - // InternalExpressionDSL.g:1:98: T__23 - { - mT__23(); - - } - break; - case 17 : - // InternalExpressionDSL.g:1:104: T__24 - { - mT__24(); - - } - break; - case 18 : - // InternalExpressionDSL.g:1:110: T__25 - { - mT__25(); - - } - break; - case 19 : - // InternalExpressionDSL.g:1:116: RULE_ID - { - mRULE_ID(); - - } - break; - case 20 : - // InternalExpressionDSL.g:1:124: RULE_INT - { - mRULE_INT(); - - } - break; - case 21 : - // InternalExpressionDSL.g:1:133: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 22 : - // InternalExpressionDSL.g:1:149: RULE_WS - { - mRULE_WS(); - - } - break; - - } - - } - - - protected DFA6 dfa6 = new DFA6(this); - static final String DFA6_eotS = - "\1\uffff\1\21\2\uffff\2\21\1\uffff\1\32\1\21\7\uffff\1\21\4\uffff\4\21\2\uffff\5\21\1\46\1\47\4\21\2\uffff\2\21\1\56\3\21\1\uffff\2\21\1\64\2\21\1\uffff\1\21\1\70\1\21\1\uffff\11\21\1\103\1\uffff"; - static final String DFA6_eofS = - "\104\uffff"; - static final String DFA6_minS = - "\1\11\1\141\2\uffff\1\154\1\141\1\uffff\1\56\1\170\7\uffff\1\160\4\uffff\1\143\1\141\1\156\1\162\2\uffff\1\160\1\164\1\153\1\163\1\164\2\60\1\151\1\141\1\163\1\145\2\uffff\1\157\1\147\1\60\1\170\1\156\1\145\1\uffff\1\164\1\141\1\60\1\141\1\154\1\uffff\1\142\1\60\1\154\1\uffff\1\145\1\105\1\154\1\145\1\155\1\145\1\156\1\164\1\163\1\60\1\uffff"; - static final String DFA6_maxS = - "\1\175\1\141\2\uffff\1\157\1\141\1\uffff\1\56\1\170\7\uffff\1\160\4\uffff\1\143\1\141\1\156\1\162\2\uffff\1\160\1\164\1\153\1\163\1\164\2\172\1\151\1\141\1\163\1\145\2\uffff\1\157\1\147\1\172\1\170\1\156\1\145\1\uffff\1\164\1\141\1\172\1\141\1\154\1\uffff\1\142\1\172\1\154\1\uffff\1\145\1\105\1\154\1\145\1\155\1\145\1\156\1\164\1\163\1\172\1\uffff"; - static final String DFA6_acceptS = - "\2\uffff\1\2\1\3\2\uffff\1\6\2\uffff\1\11\1\12\1\13\1\15\1\17\1\20\1\21\1\uffff\1\23\1\24\1\25\1\26\4\uffff\1\14\1\7\13\uffff\1\5\1\10\6\uffff\1\4\5\uffff\1\1\3\uffff\1\22\12\uffff\1\16"; - static final String DFA6_specialS = - "\104\uffff}>"; - static final String[] DFA6_transitionS = { - "\2\24\2\uffff\1\24\22\uffff\1\24\7\uffff\1\11\1\12\2\uffff\1\16\1\17\1\7\1\23\12\22\1\6\2\uffff\1\15\3\uffff\32\21\1\13\1\uffff\1\14\2\21\1\uffff\2\21\1\4\1\21\1\10\11\21\1\20\1\1\5\21\1\5\4\21\1\2\1\uffff\1\3", - "\1\25", - "", - "", - "\1\26\2\uffff\1\27", - "\1\30", - "", - "\1\31", - "\1\33", - "", - "", - "", - "", - "", - "", - "", - "\1\34", - "", - "", - "", - "", - "\1\35", - "\1\36", - "\1\37", - "\1\40", - "", - "", - "\1\41", - "\1\42", - "\1\43", - "\1\44", - "\1\45", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", - "\1\50", - "\1\51", - "\1\52", - "\1\53", - "", - "", - "\1\54", - "\1\55", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", - "\1\57", - "\1\60", - "\1\61", - "", - "\1\62", - "\1\63", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", - "\1\65", - "\1\66", - "", - "\1\67", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", - "\1\71", - "", - "\1\72", - "\1\73", - "\1\74", - "\1\75", - "\1\76", - "\1\77", - "\1\100", - "\1\101", - "\1\102", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", - "" - }; - - static final short[] DFA6_eot = DFA.unpackEncodedString(DFA6_eotS); - static final short[] DFA6_eof = DFA.unpackEncodedString(DFA6_eofS); - static final char[] DFA6_min = DFA.unpackEncodedStringToUnsignedChars(DFA6_minS); - static final char[] DFA6_max = DFA.unpackEncodedStringToUnsignedChars(DFA6_maxS); - static final short[] DFA6_accept = DFA.unpackEncodedString(DFA6_acceptS); - static final short[] DFA6_special = DFA.unpackEncodedString(DFA6_specialS); - static final short[][] DFA6_transition; - - static { - int numStates = DFA6_transitionS.length; - DFA6_transition = new short[numStates][]; - for (int i=0; i", "", "", "", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "'package'", "'{'", "'}'", "'class'", "'var'", "':'", "'.'", "'exp'", "'('", "')'", "'['", "'..'", "']'", "'contextableElements'", "'='", "','", "'-'", "'optional'" - }; - public static final int T__19=19; - public static final int T__15=15; - public static final int T__16=16; - public static final int T__17=17; - public static final int T__18=18; - public static final int T__11=11; - public static final int T__12=12; - public static final int T__13=13; - public static final int T__14=14; - public static final int EOF=-1; - public static final int T__10=10; - public static final int T__9=9; - public static final int T__8=8; - public static final int RULE_ID=4; - public static final int RULE_WS=7; - public static final int RULE_INT=5; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=6; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__20=20; - public static final int T__21=21; - - // delegates - // delegators - - - public InternalExpressionDSLParser(TokenStream input) { - this(input, new RecognizerSharedState()); - } - public InternalExpressionDSLParser(TokenStream input, RecognizerSharedState state) { - super(input, state); - - } - - - public String[] getTokenNames() { return InternalExpressionDSLParser.tokenNames; } - public String getGrammarFileName() { return "InternalExpressionDSL.g"; } - - - - private ExpressionDSLGrammarAccess grammarAccess; - - public void setGrammarAccess(ExpressionDSLGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - - @Override - protected Grammar getGrammar() { - return grammarAccess.getGrammar(); - } - - @Override - protected String getValueForTokenName(String tokenName) { - return tokenName; - } - - - - - // $ANTLR start "entryRuleSiriusExpressionPackage" - // InternalExpressionDSL.g:60:1: entryRuleSiriusExpressionPackage : ruleSiriusExpressionPackage EOF ; - public final void entryRuleSiriusExpressionPackage() throws RecognitionException { - try { - // InternalExpressionDSL.g:61:1: ( ruleSiriusExpressionPackage EOF ) - // InternalExpressionDSL.g:62:1: ruleSiriusExpressionPackage EOF - { - before(grammarAccess.getSiriusExpressionPackageRule()); - pushFollow(FOLLOW_1); - ruleSiriusExpressionPackage(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionPackageRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleSiriusExpressionPackage" - - - // $ANTLR start "ruleSiriusExpressionPackage" - // InternalExpressionDSL.g:69:1: ruleSiriusExpressionPackage : ( ( rule__SiriusExpressionPackage__Group__0 ) ) ; - public final void ruleSiriusExpressionPackage() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:73:2: ( ( ( rule__SiriusExpressionPackage__Group__0 ) ) ) - // InternalExpressionDSL.g:74:1: ( ( rule__SiriusExpressionPackage__Group__0 ) ) - { - // InternalExpressionDSL.g:74:1: ( ( rule__SiriusExpressionPackage__Group__0 ) ) - // InternalExpressionDSL.g:75:1: ( rule__SiriusExpressionPackage__Group__0 ) - { - before(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); - // InternalExpressionDSL.g:76:1: ( rule__SiriusExpressionPackage__Group__0 ) - // InternalExpressionDSL.g:76:2: rule__SiriusExpressionPackage__Group__0 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionPackage__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleSiriusExpressionPackage" - - - // $ANTLR start "entryRuleSiriusExpressionClass" - // InternalExpressionDSL.g:88:1: entryRuleSiriusExpressionClass : ruleSiriusExpressionClass EOF ; - public final void entryRuleSiriusExpressionClass() throws RecognitionException { - try { - // InternalExpressionDSL.g:89:1: ( ruleSiriusExpressionClass EOF ) - // InternalExpressionDSL.g:90:1: ruleSiriusExpressionClass EOF - { - before(grammarAccess.getSiriusExpressionClassRule()); - pushFollow(FOLLOW_1); - ruleSiriusExpressionClass(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionClassRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleSiriusExpressionClass" - - - // $ANTLR start "ruleSiriusExpressionClass" - // InternalExpressionDSL.g:97:1: ruleSiriusExpressionClass : ( ( rule__SiriusExpressionClass__Group__0 ) ) ; - public final void ruleSiriusExpressionClass() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:101:2: ( ( ( rule__SiriusExpressionClass__Group__0 ) ) ) - // InternalExpressionDSL.g:102:1: ( ( rule__SiriusExpressionClass__Group__0 ) ) - { - // InternalExpressionDSL.g:102:1: ( ( rule__SiriusExpressionClass__Group__0 ) ) - // InternalExpressionDSL.g:103:1: ( rule__SiriusExpressionClass__Group__0 ) - { - before(grammarAccess.getSiriusExpressionClassAccess().getGroup()); - // InternalExpressionDSL.g:104:1: ( rule__SiriusExpressionClass__Group__0 ) - // InternalExpressionDSL.g:104:2: rule__SiriusExpressionClass__Group__0 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionClassAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleSiriusExpressionClass" - - - // $ANTLR start "entryRuleSiriusVariable" - // InternalExpressionDSL.g:116:1: entryRuleSiriusVariable : ruleSiriusVariable EOF ; - public final void entryRuleSiriusVariable() throws RecognitionException { - try { - // InternalExpressionDSL.g:117:1: ( ruleSiriusVariable EOF ) - // InternalExpressionDSL.g:118:1: ruleSiriusVariable EOF - { - before(grammarAccess.getSiriusVariableRule()); - pushFollow(FOLLOW_1); - ruleSiriusVariable(); - - state._fsp--; - - after(grammarAccess.getSiriusVariableRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleSiriusVariable" - - - // $ANTLR start "ruleSiriusVariable" - // InternalExpressionDSL.g:125:1: ruleSiriusVariable : ( ( rule__SiriusVariable__Group__0 ) ) ; - public final void ruleSiriusVariable() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:129:2: ( ( ( rule__SiriusVariable__Group__0 ) ) ) - // InternalExpressionDSL.g:130:1: ( ( rule__SiriusVariable__Group__0 ) ) - { - // InternalExpressionDSL.g:130:1: ( ( rule__SiriusVariable__Group__0 ) ) - // InternalExpressionDSL.g:131:1: ( rule__SiriusVariable__Group__0 ) - { - before(grammarAccess.getSiriusVariableAccess().getGroup()); - // InternalExpressionDSL.g:132:1: ( rule__SiriusVariable__Group__0 ) - // InternalExpressionDSL.g:132:2: rule__SiriusVariable__Group__0 - { - pushFollow(FOLLOW_2); - rule__SiriusVariable__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusVariableAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleSiriusVariable" - - - // $ANTLR start "entryRuleFQN" - // InternalExpressionDSL.g:144:1: entryRuleFQN : ruleFQN EOF ; - public final void entryRuleFQN() throws RecognitionException { - try { - // InternalExpressionDSL.g:145:1: ( ruleFQN EOF ) - // InternalExpressionDSL.g:146:1: ruleFQN EOF - { - before(grammarAccess.getFQNRule()); - pushFollow(FOLLOW_1); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getFQNRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleFQN" - - - // $ANTLR start "ruleFQN" - // InternalExpressionDSL.g:153:1: ruleFQN : ( ( rule__FQN__Group__0 ) ) ; - public final void ruleFQN() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:157:2: ( ( ( rule__FQN__Group__0 ) ) ) - // InternalExpressionDSL.g:158:1: ( ( rule__FQN__Group__0 ) ) - { - // InternalExpressionDSL.g:158:1: ( ( rule__FQN__Group__0 ) ) - // InternalExpressionDSL.g:159:1: ( rule__FQN__Group__0 ) - { - before(grammarAccess.getFQNAccess().getGroup()); - // InternalExpressionDSL.g:160:1: ( rule__FQN__Group__0 ) - // InternalExpressionDSL.g:160:2: rule__FQN__Group__0 - { - pushFollow(FOLLOW_2); - rule__FQN__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getFQNAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleFQN" - - - // $ANTLR start "entryRuleSiriusExpressionDescription" - // InternalExpressionDSL.g:172:1: entryRuleSiriusExpressionDescription : ruleSiriusExpressionDescription EOF ; - public final void entryRuleSiriusExpressionDescription() throws RecognitionException { - try { - // InternalExpressionDSL.g:173:1: ( ruleSiriusExpressionDescription EOF ) - // InternalExpressionDSL.g:174:1: ruleSiriusExpressionDescription EOF - { - before(grammarAccess.getSiriusExpressionDescriptionRule()); - pushFollow(FOLLOW_1); - ruleSiriusExpressionDescription(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleSiriusExpressionDescription" - - - // $ANTLR start "ruleSiriusExpressionDescription" - // InternalExpressionDSL.g:181:1: ruleSiriusExpressionDescription : ( ( rule__SiriusExpressionDescription__Group__0 ) ) ; - public final void ruleSiriusExpressionDescription() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:185:2: ( ( ( rule__SiriusExpressionDescription__Group__0 ) ) ) - // InternalExpressionDSL.g:186:1: ( ( rule__SiriusExpressionDescription__Group__0 ) ) - { - // InternalExpressionDSL.g:186:1: ( ( rule__SiriusExpressionDescription__Group__0 ) ) - // InternalExpressionDSL.g:187:1: ( rule__SiriusExpressionDescription__Group__0 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); - // InternalExpressionDSL.g:188:1: ( rule__SiriusExpressionDescription__Group__0 ) - // InternalExpressionDSL.g:188:2: rule__SiriusExpressionDescription__Group__0 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleSiriusExpressionDescription" - - - // $ANTLR start "entryRuleParameter" - // InternalExpressionDSL.g:200:1: entryRuleParameter : ruleParameter EOF ; - public final void entryRuleParameter() throws RecognitionException { - try { - // InternalExpressionDSL.g:201:1: ( ruleParameter EOF ) - // InternalExpressionDSL.g:202:1: ruleParameter EOF - { - before(grammarAccess.getParameterRule()); - pushFollow(FOLLOW_1); - ruleParameter(); - - state._fsp--; - - after(grammarAccess.getParameterRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleParameter" - - - // $ANTLR start "ruleParameter" - // InternalExpressionDSL.g:209:1: ruleParameter : ( ( rule__Parameter__Group__0 ) ) ; - public final void ruleParameter() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:213:2: ( ( ( rule__Parameter__Group__0 ) ) ) - // InternalExpressionDSL.g:214:1: ( ( rule__Parameter__Group__0 ) ) - { - // InternalExpressionDSL.g:214:1: ( ( rule__Parameter__Group__0 ) ) - // InternalExpressionDSL.g:215:1: ( rule__Parameter__Group__0 ) - { - before(grammarAccess.getParameterAccess().getGroup()); - // InternalExpressionDSL.g:216:1: ( rule__Parameter__Group__0 ) - // InternalExpressionDSL.g:216:2: rule__Parameter__Group__0 - { - pushFollow(FOLLOW_2); - rule__Parameter__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getParameterAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleParameter" - - - // $ANTLR start "entryRuleBound" - // InternalExpressionDSL.g:228:1: entryRuleBound : ruleBound EOF ; - public final void entryRuleBound() throws RecognitionException { - try { - // InternalExpressionDSL.g:229:1: ( ruleBound EOF ) - // InternalExpressionDSL.g:230:1: ruleBound EOF - { - before(grammarAccess.getBoundRule()); - pushFollow(FOLLOW_1); - ruleBound(); - - state._fsp--; - - after(grammarAccess.getBoundRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleBound" - - - // $ANTLR start "ruleBound" - // InternalExpressionDSL.g:237:1: ruleBound : ( ( rule__Bound__Group__0 ) ) ; - public final void ruleBound() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:241:2: ( ( ( rule__Bound__Group__0 ) ) ) - // InternalExpressionDSL.g:242:1: ( ( rule__Bound__Group__0 ) ) - { - // InternalExpressionDSL.g:242:1: ( ( rule__Bound__Group__0 ) ) - // InternalExpressionDSL.g:243:1: ( rule__Bound__Group__0 ) - { - before(grammarAccess.getBoundAccess().getGroup()); - // InternalExpressionDSL.g:244:1: ( rule__Bound__Group__0 ) - // InternalExpressionDSL.g:244:2: rule__Bound__Group__0 - { - pushFollow(FOLLOW_2); - rule__Bound__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getBoundAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleBound" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__0" - // InternalExpressionDSL.g:258:1: rule__SiriusExpressionPackage__Group__0 : rule__SiriusExpressionPackage__Group__0__Impl rule__SiriusExpressionPackage__Group__1 ; - public final void rule__SiriusExpressionPackage__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:262:1: ( rule__SiriusExpressionPackage__Group__0__Impl rule__SiriusExpressionPackage__Group__1 ) - // InternalExpressionDSL.g:263:2: rule__SiriusExpressionPackage__Group__0__Impl rule__SiriusExpressionPackage__Group__1 - { - pushFollow(FOLLOW_3); - rule__SiriusExpressionPackage__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionPackage__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__0" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__0__Impl" - // InternalExpressionDSL.g:270:1: rule__SiriusExpressionPackage__Group__0__Impl : ( 'package' ) ; - public final void rule__SiriusExpressionPackage__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:274:1: ( ( 'package' ) ) - // InternalExpressionDSL.g:275:1: ( 'package' ) - { - // InternalExpressionDSL.g:275:1: ( 'package' ) - // InternalExpressionDSL.g:276:1: 'package' - { - before(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); - match(input,8,FOLLOW_2); - after(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__0__Impl" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__1" - // InternalExpressionDSL.g:289:1: rule__SiriusExpressionPackage__Group__1 : rule__SiriusExpressionPackage__Group__1__Impl rule__SiriusExpressionPackage__Group__2 ; - public final void rule__SiriusExpressionPackage__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:293:1: ( rule__SiriusExpressionPackage__Group__1__Impl rule__SiriusExpressionPackage__Group__2 ) - // InternalExpressionDSL.g:294:2: rule__SiriusExpressionPackage__Group__1__Impl rule__SiriusExpressionPackage__Group__2 - { - pushFollow(FOLLOW_4); - rule__SiriusExpressionPackage__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionPackage__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__1" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__1__Impl" - // InternalExpressionDSL.g:301:1: rule__SiriusExpressionPackage__Group__1__Impl : ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) ; - public final void rule__SiriusExpressionPackage__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:305:1: ( ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) ) - // InternalExpressionDSL.g:306:1: ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) - { - // InternalExpressionDSL.g:306:1: ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) - // InternalExpressionDSL.g:307:1: ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) - { - before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); - // InternalExpressionDSL.g:308:1: ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) - // InternalExpressionDSL.g:308:2: rule__SiriusExpressionPackage__EPackageAssignment_1 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionPackage__EPackageAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__1__Impl" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__2" - // InternalExpressionDSL.g:318:1: rule__SiriusExpressionPackage__Group__2 : rule__SiriusExpressionPackage__Group__2__Impl rule__SiriusExpressionPackage__Group__3 ; - public final void rule__SiriusExpressionPackage__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:322:1: ( rule__SiriusExpressionPackage__Group__2__Impl rule__SiriusExpressionPackage__Group__3 ) - // InternalExpressionDSL.g:323:2: rule__SiriusExpressionPackage__Group__2__Impl rule__SiriusExpressionPackage__Group__3 - { - pushFollow(FOLLOW_5); - rule__SiriusExpressionPackage__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionPackage__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__2" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__2__Impl" - // InternalExpressionDSL.g:330:1: rule__SiriusExpressionPackage__Group__2__Impl : ( '{' ) ; - public final void rule__SiriusExpressionPackage__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:334:1: ( ( '{' ) ) - // InternalExpressionDSL.g:335:1: ( '{' ) - { - // InternalExpressionDSL.g:335:1: ( '{' ) - // InternalExpressionDSL.g:336:1: '{' - { - before(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); - match(input,9,FOLLOW_2); - after(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__2__Impl" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__3" - // InternalExpressionDSL.g:349:1: rule__SiriusExpressionPackage__Group__3 : rule__SiriusExpressionPackage__Group__3__Impl rule__SiriusExpressionPackage__Group__4 ; - public final void rule__SiriusExpressionPackage__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:353:1: ( rule__SiriusExpressionPackage__Group__3__Impl rule__SiriusExpressionPackage__Group__4 ) - // InternalExpressionDSL.g:354:2: rule__SiriusExpressionPackage__Group__3__Impl rule__SiriusExpressionPackage__Group__4 - { - pushFollow(FOLLOW_5); - rule__SiriusExpressionPackage__Group__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionPackage__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__3" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__3__Impl" - // InternalExpressionDSL.g:361:1: rule__SiriusExpressionPackage__Group__3__Impl : ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) ; - public final void rule__SiriusExpressionPackage__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:365:1: ( ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) ) - // InternalExpressionDSL.g:366:1: ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) - { - // InternalExpressionDSL.g:366:1: ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) - // InternalExpressionDSL.g:367:1: ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* - { - before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); - // InternalExpressionDSL.g:368:1: ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* - loop1: - do { - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0==11) ) { - alt1=1; - } - - - switch (alt1) { - case 1 : - // InternalExpressionDSL.g:368:2: rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 - { - pushFollow(FOLLOW_6); - rule__SiriusExpressionPackage__ExpressionClassesAssignment_3(); - - state._fsp--; - - - } - break; - - default : - break loop1; - } - } while (true); - - after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__3__Impl" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__4" - // InternalExpressionDSL.g:378:1: rule__SiriusExpressionPackage__Group__4 : rule__SiriusExpressionPackage__Group__4__Impl ; - public final void rule__SiriusExpressionPackage__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:382:1: ( rule__SiriusExpressionPackage__Group__4__Impl ) - // InternalExpressionDSL.g:383:2: rule__SiriusExpressionPackage__Group__4__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionPackage__Group__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__4" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__4__Impl" - // InternalExpressionDSL.g:389:1: rule__SiriusExpressionPackage__Group__4__Impl : ( '}' ) ; - public final void rule__SiriusExpressionPackage__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:393:1: ( ( '}' ) ) - // InternalExpressionDSL.g:394:1: ( '}' ) - { - // InternalExpressionDSL.g:394:1: ( '}' ) - // InternalExpressionDSL.g:395:1: '}' - { - before(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); - match(input,10,FOLLOW_2); - after(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__4__Impl" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__0" - // InternalExpressionDSL.g:418:1: rule__SiriusExpressionClass__Group__0 : rule__SiriusExpressionClass__Group__0__Impl rule__SiriusExpressionClass__Group__1 ; - public final void rule__SiriusExpressionClass__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:422:1: ( rule__SiriusExpressionClass__Group__0__Impl rule__SiriusExpressionClass__Group__1 ) - // InternalExpressionDSL.g:423:2: rule__SiriusExpressionClass__Group__0__Impl rule__SiriusExpressionClass__Group__1 - { - pushFollow(FOLLOW_3); - rule__SiriusExpressionClass__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__0" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__0__Impl" - // InternalExpressionDSL.g:430:1: rule__SiriusExpressionClass__Group__0__Impl : ( 'class' ) ; - public final void rule__SiriusExpressionClass__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:434:1: ( ( 'class' ) ) - // InternalExpressionDSL.g:435:1: ( 'class' ) - { - // InternalExpressionDSL.g:435:1: ( 'class' ) - // InternalExpressionDSL.g:436:1: 'class' - { - before(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); - match(input,11,FOLLOW_2); - after(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__0__Impl" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__1" - // InternalExpressionDSL.g:449:1: rule__SiriusExpressionClass__Group__1 : rule__SiriusExpressionClass__Group__1__Impl rule__SiriusExpressionClass__Group__2 ; - public final void rule__SiriusExpressionClass__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:453:1: ( rule__SiriusExpressionClass__Group__1__Impl rule__SiriusExpressionClass__Group__2 ) - // InternalExpressionDSL.g:454:2: rule__SiriusExpressionClass__Group__1__Impl rule__SiriusExpressionClass__Group__2 - { - pushFollow(FOLLOW_4); - rule__SiriusExpressionClass__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__1" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__1__Impl" - // InternalExpressionDSL.g:461:1: rule__SiriusExpressionClass__Group__1__Impl : ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) ; - public final void rule__SiriusExpressionClass__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:465:1: ( ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) ) - // InternalExpressionDSL.g:466:1: ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) - { - // InternalExpressionDSL.g:466:1: ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) - // InternalExpressionDSL.g:467:1: ( rule__SiriusExpressionClass__EClassAssignment_1 ) - { - before(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); - // InternalExpressionDSL.g:468:1: ( rule__SiriusExpressionClass__EClassAssignment_1 ) - // InternalExpressionDSL.g:468:2: rule__SiriusExpressionClass__EClassAssignment_1 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__EClassAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__1__Impl" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__2" - // InternalExpressionDSL.g:478:1: rule__SiriusExpressionClass__Group__2 : rule__SiriusExpressionClass__Group__2__Impl rule__SiriusExpressionClass__Group__3 ; - public final void rule__SiriusExpressionClass__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:482:1: ( rule__SiriusExpressionClass__Group__2__Impl rule__SiriusExpressionClass__Group__3 ) - // InternalExpressionDSL.g:483:2: rule__SiriusExpressionClass__Group__2__Impl rule__SiriusExpressionClass__Group__3 - { - pushFollow(FOLLOW_7); - rule__SiriusExpressionClass__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__2" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__2__Impl" - // InternalExpressionDSL.g:490:1: rule__SiriusExpressionClass__Group__2__Impl : ( '{' ) ; - public final void rule__SiriusExpressionClass__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:494:1: ( ( '{' ) ) - // InternalExpressionDSL.g:495:1: ( '{' ) - { - // InternalExpressionDSL.g:495:1: ( '{' ) - // InternalExpressionDSL.g:496:1: '{' - { - before(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); - match(input,9,FOLLOW_2); - after(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__2__Impl" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__3" - // InternalExpressionDSL.g:509:1: rule__SiriusExpressionClass__Group__3 : rule__SiriusExpressionClass__Group__3__Impl rule__SiriusExpressionClass__Group__4 ; - public final void rule__SiriusExpressionClass__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:513:1: ( rule__SiriusExpressionClass__Group__3__Impl rule__SiriusExpressionClass__Group__4 ) - // InternalExpressionDSL.g:514:2: rule__SiriusExpressionClass__Group__3__Impl rule__SiriusExpressionClass__Group__4 - { - pushFollow(FOLLOW_7); - rule__SiriusExpressionClass__Group__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__3" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__3__Impl" - // InternalExpressionDSL.g:521:1: rule__SiriusExpressionClass__Group__3__Impl : ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) ; - public final void rule__SiriusExpressionClass__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:525:1: ( ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) ) - // InternalExpressionDSL.g:526:1: ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) - { - // InternalExpressionDSL.g:526:1: ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) - // InternalExpressionDSL.g:527:1: ( rule__SiriusExpressionClass__VariablesAssignment_3 )* - { - before(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); - // InternalExpressionDSL.g:528:1: ( rule__SiriusExpressionClass__VariablesAssignment_3 )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( (LA2_0==RULE_ML_COMMENT||LA2_0==12) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // InternalExpressionDSL.g:528:2: rule__SiriusExpressionClass__VariablesAssignment_3 - { - pushFollow(FOLLOW_8); - rule__SiriusExpressionClass__VariablesAssignment_3(); - - state._fsp--; - - - } - break; - - default : - break loop2; - } - } while (true); - - after(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__3__Impl" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__4" - // InternalExpressionDSL.g:538:1: rule__SiriusExpressionClass__Group__4 : rule__SiriusExpressionClass__Group__4__Impl rule__SiriusExpressionClass__Group__5 ; - public final void rule__SiriusExpressionClass__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:542:1: ( rule__SiriusExpressionClass__Group__4__Impl rule__SiriusExpressionClass__Group__5 ) - // InternalExpressionDSL.g:543:2: rule__SiriusExpressionClass__Group__4__Impl rule__SiriusExpressionClass__Group__5 - { - pushFollow(FOLLOW_7); - rule__SiriusExpressionClass__Group__4__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__Group__5(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__4" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__4__Impl" - // InternalExpressionDSL.g:550:1: rule__SiriusExpressionClass__Group__4__Impl : ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) ; - public final void rule__SiriusExpressionClass__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:554:1: ( ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) ) - // InternalExpressionDSL.g:555:1: ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) - { - // InternalExpressionDSL.g:555:1: ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) - // InternalExpressionDSL.g:556:1: ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* - { - before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); - // InternalExpressionDSL.g:557:1: ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( (LA3_0==15) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // InternalExpressionDSL.g:557:2: rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 - { - pushFollow(FOLLOW_9); - rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4(); - - state._fsp--; - - - } - break; - - default : - break loop3; - } - } while (true); - - after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__4__Impl" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__5" - // InternalExpressionDSL.g:567:1: rule__SiriusExpressionClass__Group__5 : rule__SiriusExpressionClass__Group__5__Impl ; - public final void rule__SiriusExpressionClass__Group__5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:571:1: ( rule__SiriusExpressionClass__Group__5__Impl ) - // InternalExpressionDSL.g:572:2: rule__SiriusExpressionClass__Group__5__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__Group__5__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__5" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__5__Impl" - // InternalExpressionDSL.g:578:1: rule__SiriusExpressionClass__Group__5__Impl : ( '}' ) ; - public final void rule__SiriusExpressionClass__Group__5__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:582:1: ( ( '}' ) ) - // InternalExpressionDSL.g:583:1: ( '}' ) - { - // InternalExpressionDSL.g:583:1: ( '}' ) - // InternalExpressionDSL.g:584:1: '}' - { - before(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); - match(input,10,FOLLOW_2); - after(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__5__Impl" - - - // $ANTLR start "rule__SiriusVariable__Group__0" - // InternalExpressionDSL.g:609:1: rule__SiriusVariable__Group__0 : rule__SiriusVariable__Group__0__Impl rule__SiriusVariable__Group__1 ; - public final void rule__SiriusVariable__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:613:1: ( rule__SiriusVariable__Group__0__Impl rule__SiriusVariable__Group__1 ) - // InternalExpressionDSL.g:614:2: rule__SiriusVariable__Group__0__Impl rule__SiriusVariable__Group__1 - { - pushFollow(FOLLOW_10); - rule__SiriusVariable__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusVariable__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__0" - - - // $ANTLR start "rule__SiriusVariable__Group__0__Impl" - // InternalExpressionDSL.g:621:1: rule__SiriusVariable__Group__0__Impl : ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) ; - public final void rule__SiriusVariable__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:625:1: ( ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) ) - // InternalExpressionDSL.g:626:1: ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) - { - // InternalExpressionDSL.g:626:1: ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) - // InternalExpressionDSL.g:627:1: ( rule__SiriusVariable__DocumentationAssignment_0 )? - { - before(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); - // InternalExpressionDSL.g:628:1: ( rule__SiriusVariable__DocumentationAssignment_0 )? - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0==RULE_ML_COMMENT) ) { - alt4=1; - } - switch (alt4) { - case 1 : - // InternalExpressionDSL.g:628:2: rule__SiriusVariable__DocumentationAssignment_0 - { - pushFollow(FOLLOW_2); - rule__SiriusVariable__DocumentationAssignment_0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__0__Impl" - - - // $ANTLR start "rule__SiriusVariable__Group__1" - // InternalExpressionDSL.g:638:1: rule__SiriusVariable__Group__1 : rule__SiriusVariable__Group__1__Impl rule__SiriusVariable__Group__2 ; - public final void rule__SiriusVariable__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:642:1: ( rule__SiriusVariable__Group__1__Impl rule__SiriusVariable__Group__2 ) - // InternalExpressionDSL.g:643:2: rule__SiriusVariable__Group__1__Impl rule__SiriusVariable__Group__2 - { - pushFollow(FOLLOW_3); - rule__SiriusVariable__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusVariable__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__1" - - - // $ANTLR start "rule__SiriusVariable__Group__1__Impl" - // InternalExpressionDSL.g:650:1: rule__SiriusVariable__Group__1__Impl : ( 'var' ) ; - public final void rule__SiriusVariable__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:654:1: ( ( 'var' ) ) - // InternalExpressionDSL.g:655:1: ( 'var' ) - { - // InternalExpressionDSL.g:655:1: ( 'var' ) - // InternalExpressionDSL.g:656:1: 'var' - { - before(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); - match(input,12,FOLLOW_2); - after(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__1__Impl" - - - // $ANTLR start "rule__SiriusVariable__Group__2" - // InternalExpressionDSL.g:669:1: rule__SiriusVariable__Group__2 : rule__SiriusVariable__Group__2__Impl rule__SiriusVariable__Group__3 ; - public final void rule__SiriusVariable__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:673:1: ( rule__SiriusVariable__Group__2__Impl rule__SiriusVariable__Group__3 ) - // InternalExpressionDSL.g:674:2: rule__SiriusVariable__Group__2__Impl rule__SiriusVariable__Group__3 - { - pushFollow(FOLLOW_11); - rule__SiriusVariable__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusVariable__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__2" - - - // $ANTLR start "rule__SiriusVariable__Group__2__Impl" - // InternalExpressionDSL.g:681:1: rule__SiriusVariable__Group__2__Impl : ( ( rule__SiriusVariable__NameAssignment_2 ) ) ; - public final void rule__SiriusVariable__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:685:1: ( ( ( rule__SiriusVariable__NameAssignment_2 ) ) ) - // InternalExpressionDSL.g:686:1: ( ( rule__SiriusVariable__NameAssignment_2 ) ) - { - // InternalExpressionDSL.g:686:1: ( ( rule__SiriusVariable__NameAssignment_2 ) ) - // InternalExpressionDSL.g:687:1: ( rule__SiriusVariable__NameAssignment_2 ) - { - before(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); - // InternalExpressionDSL.g:688:1: ( rule__SiriusVariable__NameAssignment_2 ) - // InternalExpressionDSL.g:688:2: rule__SiriusVariable__NameAssignment_2 - { - pushFollow(FOLLOW_2); - rule__SiriusVariable__NameAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__2__Impl" - - - // $ANTLR start "rule__SiriusVariable__Group__3" - // InternalExpressionDSL.g:698:1: rule__SiriusVariable__Group__3 : rule__SiriusVariable__Group__3__Impl rule__SiriusVariable__Group__4 ; - public final void rule__SiriusVariable__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:702:1: ( rule__SiriusVariable__Group__3__Impl rule__SiriusVariable__Group__4 ) - // InternalExpressionDSL.g:703:2: rule__SiriusVariable__Group__3__Impl rule__SiriusVariable__Group__4 - { - pushFollow(FOLLOW_3); - rule__SiriusVariable__Group__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusVariable__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__3" - - - // $ANTLR start "rule__SiriusVariable__Group__3__Impl" - // InternalExpressionDSL.g:710:1: rule__SiriusVariable__Group__3__Impl : ( ':' ) ; - public final void rule__SiriusVariable__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:714:1: ( ( ':' ) ) - // InternalExpressionDSL.g:715:1: ( ':' ) - { - // InternalExpressionDSL.g:715:1: ( ':' ) - // InternalExpressionDSL.g:716:1: ':' - { - before(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); - match(input,13,FOLLOW_2); - after(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__3__Impl" - - - // $ANTLR start "rule__SiriusVariable__Group__4" - // InternalExpressionDSL.g:729:1: rule__SiriusVariable__Group__4 : rule__SiriusVariable__Group__4__Impl ; - public final void rule__SiriusVariable__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:733:1: ( rule__SiriusVariable__Group__4__Impl ) - // InternalExpressionDSL.g:734:2: rule__SiriusVariable__Group__4__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusVariable__Group__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__4" - - - // $ANTLR start "rule__SiriusVariable__Group__4__Impl" - // InternalExpressionDSL.g:740:1: rule__SiriusVariable__Group__4__Impl : ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) ; - public final void rule__SiriusVariable__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:744:1: ( ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) ) - // InternalExpressionDSL.g:745:1: ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) - { - // InternalExpressionDSL.g:745:1: ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) - // InternalExpressionDSL.g:746:1: ( rule__SiriusVariable__ETypeAssignment_4 ) - { - before(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); - // InternalExpressionDSL.g:747:1: ( rule__SiriusVariable__ETypeAssignment_4 ) - // InternalExpressionDSL.g:747:2: rule__SiriusVariable__ETypeAssignment_4 - { - pushFollow(FOLLOW_2); - rule__SiriusVariable__ETypeAssignment_4(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__4__Impl" - - - // $ANTLR start "rule__FQN__Group__0" - // InternalExpressionDSL.g:767:1: rule__FQN__Group__0 : rule__FQN__Group__0__Impl rule__FQN__Group__1 ; - public final void rule__FQN__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:771:1: ( rule__FQN__Group__0__Impl rule__FQN__Group__1 ) - // InternalExpressionDSL.g:772:2: rule__FQN__Group__0__Impl rule__FQN__Group__1 - { - pushFollow(FOLLOW_12); - rule__FQN__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__FQN__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group__0" - - - // $ANTLR start "rule__FQN__Group__0__Impl" - // InternalExpressionDSL.g:779:1: rule__FQN__Group__0__Impl : ( RULE_ID ) ; - public final void rule__FQN__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:783:1: ( ( RULE_ID ) ) - // InternalExpressionDSL.g:784:1: ( RULE_ID ) - { - // InternalExpressionDSL.g:784:1: ( RULE_ID ) - // InternalExpressionDSL.g:785:1: RULE_ID - { - before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group__0__Impl" - - - // $ANTLR start "rule__FQN__Group__1" - // InternalExpressionDSL.g:796:1: rule__FQN__Group__1 : rule__FQN__Group__1__Impl ; - public final void rule__FQN__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:800:1: ( rule__FQN__Group__1__Impl ) - // InternalExpressionDSL.g:801:2: rule__FQN__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__FQN__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group__1" - - - // $ANTLR start "rule__FQN__Group__1__Impl" - // InternalExpressionDSL.g:807:1: rule__FQN__Group__1__Impl : ( ( rule__FQN__Group_1__0 )* ) ; - public final void rule__FQN__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:811:1: ( ( ( rule__FQN__Group_1__0 )* ) ) - // InternalExpressionDSL.g:812:1: ( ( rule__FQN__Group_1__0 )* ) - { - // InternalExpressionDSL.g:812:1: ( ( rule__FQN__Group_1__0 )* ) - // InternalExpressionDSL.g:813:1: ( rule__FQN__Group_1__0 )* - { - before(grammarAccess.getFQNAccess().getGroup_1()); - // InternalExpressionDSL.g:814:1: ( rule__FQN__Group_1__0 )* - loop5: - do { - int alt5=2; - int LA5_0 = input.LA(1); - - if ( (LA5_0==14) ) { - alt5=1; - } - - - switch (alt5) { - case 1 : - // InternalExpressionDSL.g:814:2: rule__FQN__Group_1__0 - { - pushFollow(FOLLOW_13); - rule__FQN__Group_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop5; - } - } while (true); - - after(grammarAccess.getFQNAccess().getGroup_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group__1__Impl" - - - // $ANTLR start "rule__FQN__Group_1__0" - // InternalExpressionDSL.g:828:1: rule__FQN__Group_1__0 : rule__FQN__Group_1__0__Impl rule__FQN__Group_1__1 ; - public final void rule__FQN__Group_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:832:1: ( rule__FQN__Group_1__0__Impl rule__FQN__Group_1__1 ) - // InternalExpressionDSL.g:833:2: rule__FQN__Group_1__0__Impl rule__FQN__Group_1__1 - { - pushFollow(FOLLOW_3); - rule__FQN__Group_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__FQN__Group_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group_1__0" - - - // $ANTLR start "rule__FQN__Group_1__0__Impl" - // InternalExpressionDSL.g:840:1: rule__FQN__Group_1__0__Impl : ( '.' ) ; - public final void rule__FQN__Group_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:844:1: ( ( '.' ) ) - // InternalExpressionDSL.g:845:1: ( '.' ) - { - // InternalExpressionDSL.g:845:1: ( '.' ) - // InternalExpressionDSL.g:846:1: '.' - { - before(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); - match(input,14,FOLLOW_2); - after(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group_1__0__Impl" - - - // $ANTLR start "rule__FQN__Group_1__1" - // InternalExpressionDSL.g:859:1: rule__FQN__Group_1__1 : rule__FQN__Group_1__1__Impl ; - public final void rule__FQN__Group_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:863:1: ( rule__FQN__Group_1__1__Impl ) - // InternalExpressionDSL.g:864:2: rule__FQN__Group_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__FQN__Group_1__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group_1__1" - - - // $ANTLR start "rule__FQN__Group_1__1__Impl" - // InternalExpressionDSL.g:870:1: rule__FQN__Group_1__1__Impl : ( RULE_ID ) ; - public final void rule__FQN__Group_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:874:1: ( ( RULE_ID ) ) - // InternalExpressionDSL.g:875:1: ( RULE_ID ) - { - // InternalExpressionDSL.g:875:1: ( RULE_ID ) - // InternalExpressionDSL.g:876:1: RULE_ID - { - before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group_1__1__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__0" - // InternalExpressionDSL.g:891:1: rule__SiriusExpressionDescription__Group__0 : rule__SiriusExpressionDescription__Group__0__Impl rule__SiriusExpressionDescription__Group__1 ; - public final void rule__SiriusExpressionDescription__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:895:1: ( rule__SiriusExpressionDescription__Group__0__Impl rule__SiriusExpressionDescription__Group__1 ) - // InternalExpressionDSL.g:896:2: rule__SiriusExpressionDescription__Group__0__Impl rule__SiriusExpressionDescription__Group__1 - { - pushFollow(FOLLOW_3); - rule__SiriusExpressionDescription__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__0" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__0__Impl" - // InternalExpressionDSL.g:903:1: rule__SiriusExpressionDescription__Group__0__Impl : ( 'exp' ) ; - public final void rule__SiriusExpressionDescription__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:907:1: ( ( 'exp' ) ) - // InternalExpressionDSL.g:908:1: ( 'exp' ) - { - // InternalExpressionDSL.g:908:1: ( 'exp' ) - // InternalExpressionDSL.g:909:1: 'exp' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); - match(input,15,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__0__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__1" - // InternalExpressionDSL.g:922:1: rule__SiriusExpressionDescription__Group__1 : rule__SiriusExpressionDescription__Group__1__Impl rule__SiriusExpressionDescription__Group__2 ; - public final void rule__SiriusExpressionDescription__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:926:1: ( rule__SiriusExpressionDescription__Group__1__Impl rule__SiriusExpressionDescription__Group__2 ) - // InternalExpressionDSL.g:927:2: rule__SiriusExpressionDescription__Group__1__Impl rule__SiriusExpressionDescription__Group__2 - { - pushFollow(FOLLOW_14); - rule__SiriusExpressionDescription__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__1" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__1__Impl" - // InternalExpressionDSL.g:934:1: rule__SiriusExpressionDescription__Group__1__Impl : ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) ; - public final void rule__SiriusExpressionDescription__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:938:1: ( ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) ) - // InternalExpressionDSL.g:939:1: ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) - { - // InternalExpressionDSL.g:939:1: ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) - // InternalExpressionDSL.g:940:1: ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); - // InternalExpressionDSL.g:941:1: ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) - // InternalExpressionDSL.g:941:2: rule__SiriusExpressionDescription__ExpressionAssignment_1 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__ExpressionAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__1__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__2" - // InternalExpressionDSL.g:951:1: rule__SiriusExpressionDescription__Group__2 : rule__SiriusExpressionDescription__Group__2__Impl rule__SiriusExpressionDescription__Group__3 ; - public final void rule__SiriusExpressionDescription__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:955:1: ( rule__SiriusExpressionDescription__Group__2__Impl rule__SiriusExpressionDescription__Group__3 ) - // InternalExpressionDSL.g:956:2: rule__SiriusExpressionDescription__Group__2__Impl rule__SiriusExpressionDescription__Group__3 - { - pushFollow(FOLLOW_15); - rule__SiriusExpressionDescription__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__2" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__2__Impl" - // InternalExpressionDSL.g:963:1: rule__SiriusExpressionDescription__Group__2__Impl : ( '(' ) ; - public final void rule__SiriusExpressionDescription__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:967:1: ( ( '(' ) ) - // InternalExpressionDSL.g:968:1: ( '(' ) - { - // InternalExpressionDSL.g:968:1: ( '(' ) - // InternalExpressionDSL.g:969:1: '(' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); - match(input,16,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__2__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__3" - // InternalExpressionDSL.g:982:1: rule__SiriusExpressionDescription__Group__3 : rule__SiriusExpressionDescription__Group__3__Impl rule__SiriusExpressionDescription__Group__4 ; - public final void rule__SiriusExpressionDescription__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:986:1: ( rule__SiriusExpressionDescription__Group__3__Impl rule__SiriusExpressionDescription__Group__4 ) - // InternalExpressionDSL.g:987:2: rule__SiriusExpressionDescription__Group__3__Impl rule__SiriusExpressionDescription__Group__4 - { - pushFollow(FOLLOW_15); - rule__SiriusExpressionDescription__Group__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__3" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__3__Impl" - // InternalExpressionDSL.g:994:1: rule__SiriusExpressionDescription__Group__3__Impl : ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) ; - public final void rule__SiriusExpressionDescription__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:998:1: ( ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) ) - // InternalExpressionDSL.g:999:1: ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) - { - // InternalExpressionDSL.g:999:1: ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) - // InternalExpressionDSL.g:1000:1: ( rule__SiriusExpressionDescription__Group_3__0 )? - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); - // InternalExpressionDSL.g:1001:1: ( rule__SiriusExpressionDescription__Group_3__0 )? - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0==RULE_ID||LA6_0==25) ) { - alt6=1; - } - switch (alt6) { - case 1 : - // InternalExpressionDSL.g:1001:2: rule__SiriusExpressionDescription__Group_3__0 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_3__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__3__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__4" - // InternalExpressionDSL.g:1011:1: rule__SiriusExpressionDescription__Group__4 : rule__SiriusExpressionDescription__Group__4__Impl rule__SiriusExpressionDescription__Group__5 ; - public final void rule__SiriusExpressionDescription__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1015:1: ( rule__SiriusExpressionDescription__Group__4__Impl rule__SiriusExpressionDescription__Group__5 ) - // InternalExpressionDSL.g:1016:2: rule__SiriusExpressionDescription__Group__4__Impl rule__SiriusExpressionDescription__Group__5 - { - pushFollow(FOLLOW_11); - rule__SiriusExpressionDescription__Group__4__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__5(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__4" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__4__Impl" - // InternalExpressionDSL.g:1023:1: rule__SiriusExpressionDescription__Group__4__Impl : ( ')' ) ; - public final void rule__SiriusExpressionDescription__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1027:1: ( ( ')' ) ) - // InternalExpressionDSL.g:1028:1: ( ')' ) - { - // InternalExpressionDSL.g:1028:1: ( ')' ) - // InternalExpressionDSL.g:1029:1: ')' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); - match(input,17,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__4__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__5" - // InternalExpressionDSL.g:1042:1: rule__SiriusExpressionDescription__Group__5 : rule__SiriusExpressionDescription__Group__5__Impl rule__SiriusExpressionDescription__Group__6 ; - public final void rule__SiriusExpressionDescription__Group__5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1046:1: ( rule__SiriusExpressionDescription__Group__5__Impl rule__SiriusExpressionDescription__Group__6 ) - // InternalExpressionDSL.g:1047:2: rule__SiriusExpressionDescription__Group__5__Impl rule__SiriusExpressionDescription__Group__6 - { - pushFollow(FOLLOW_3); - rule__SiriusExpressionDescription__Group__5__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__6(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__5" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__5__Impl" - // InternalExpressionDSL.g:1054:1: rule__SiriusExpressionDescription__Group__5__Impl : ( ':' ) ; - public final void rule__SiriusExpressionDescription__Group__5__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1058:1: ( ( ':' ) ) - // InternalExpressionDSL.g:1059:1: ( ':' ) - { - // InternalExpressionDSL.g:1059:1: ( ':' ) - // InternalExpressionDSL.g:1060:1: ':' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); - match(input,13,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__5__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__6" - // InternalExpressionDSL.g:1073:1: rule__SiriusExpressionDescription__Group__6 : rule__SiriusExpressionDescription__Group__6__Impl rule__SiriusExpressionDescription__Group__7 ; - public final void rule__SiriusExpressionDescription__Group__6() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1077:1: ( rule__SiriusExpressionDescription__Group__6__Impl rule__SiriusExpressionDescription__Group__7 ) - // InternalExpressionDSL.g:1078:2: rule__SiriusExpressionDescription__Group__6__Impl rule__SiriusExpressionDescription__Group__7 - { - pushFollow(FOLLOW_16); - rule__SiriusExpressionDescription__Group__6__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__7(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__6" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__6__Impl" - // InternalExpressionDSL.g:1085:1: rule__SiriusExpressionDescription__Group__6__Impl : ( ( rule__SiriusExpressionDescription__TypeAssignment_6 ) ) ; - public final void rule__SiriusExpressionDescription__Group__6__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1089:1: ( ( ( rule__SiriusExpressionDescription__TypeAssignment_6 ) ) ) - // InternalExpressionDSL.g:1090:1: ( ( rule__SiriusExpressionDescription__TypeAssignment_6 ) ) - { - // InternalExpressionDSL.g:1090:1: ( ( rule__SiriusExpressionDescription__TypeAssignment_6 ) ) - // InternalExpressionDSL.g:1091:1: ( rule__SiriusExpressionDescription__TypeAssignment_6 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeAssignment_6()); - // InternalExpressionDSL.g:1092:1: ( rule__SiriusExpressionDescription__TypeAssignment_6 ) - // InternalExpressionDSL.g:1092:2: rule__SiriusExpressionDescription__TypeAssignment_6 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__TypeAssignment_6(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeAssignment_6()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__6__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__7" - // InternalExpressionDSL.g:1102:1: rule__SiriusExpressionDescription__Group__7 : rule__SiriusExpressionDescription__Group__7__Impl rule__SiriusExpressionDescription__Group__8 ; - public final void rule__SiriusExpressionDescription__Group__7() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1106:1: ( rule__SiriusExpressionDescription__Group__7__Impl rule__SiriusExpressionDescription__Group__8 ) - // InternalExpressionDSL.g:1107:2: rule__SiriusExpressionDescription__Group__7__Impl rule__SiriusExpressionDescription__Group__8 - { - pushFollow(FOLLOW_17); - rule__SiriusExpressionDescription__Group__7__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__8(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__7" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__7__Impl" - // InternalExpressionDSL.g:1114:1: rule__SiriusExpressionDescription__Group__7__Impl : ( '[' ) ; - public final void rule__SiriusExpressionDescription__Group__7__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1118:1: ( ( '[' ) ) - // InternalExpressionDSL.g:1119:1: ( '[' ) - { - // InternalExpressionDSL.g:1119:1: ( '[' ) - // InternalExpressionDSL.g:1120:1: '[' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); - match(input,18,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__7__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__8" - // InternalExpressionDSL.g:1133:1: rule__SiriusExpressionDescription__Group__8 : rule__SiriusExpressionDescription__Group__8__Impl rule__SiriusExpressionDescription__Group__9 ; - public final void rule__SiriusExpressionDescription__Group__8() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1137:1: ( rule__SiriusExpressionDescription__Group__8__Impl rule__SiriusExpressionDescription__Group__9 ) - // InternalExpressionDSL.g:1138:2: rule__SiriusExpressionDescription__Group__8__Impl rule__SiriusExpressionDescription__Group__9 - { - pushFollow(FOLLOW_18); - rule__SiriusExpressionDescription__Group__8__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__9(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__8" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__8__Impl" - // InternalExpressionDSL.g:1145:1: rule__SiriusExpressionDescription__Group__8__Impl : ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) ; - public final void rule__SiriusExpressionDescription__Group__8__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1149:1: ( ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) ) - // InternalExpressionDSL.g:1150:1: ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) - { - // InternalExpressionDSL.g:1150:1: ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) - // InternalExpressionDSL.g:1151:1: ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); - // InternalExpressionDSL.g:1152:1: ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) - // InternalExpressionDSL.g:1152:2: rule__SiriusExpressionDescription__LowerBoundAssignment_8 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__LowerBoundAssignment_8(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__8__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__9" - // InternalExpressionDSL.g:1162:1: rule__SiriusExpressionDescription__Group__9 : rule__SiriusExpressionDescription__Group__9__Impl rule__SiriusExpressionDescription__Group__10 ; - public final void rule__SiriusExpressionDescription__Group__9() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1166:1: ( rule__SiriusExpressionDescription__Group__9__Impl rule__SiriusExpressionDescription__Group__10 ) - // InternalExpressionDSL.g:1167:2: rule__SiriusExpressionDescription__Group__9__Impl rule__SiriusExpressionDescription__Group__10 - { - pushFollow(FOLLOW_17); - rule__SiriusExpressionDescription__Group__9__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__10(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__9" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__9__Impl" - // InternalExpressionDSL.g:1174:1: rule__SiriusExpressionDescription__Group__9__Impl : ( '..' ) ; - public final void rule__SiriusExpressionDescription__Group__9__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1178:1: ( ( '..' ) ) - // InternalExpressionDSL.g:1179:1: ( '..' ) - { - // InternalExpressionDSL.g:1179:1: ( '..' ) - // InternalExpressionDSL.g:1180:1: '..' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); - match(input,19,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__9__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__10" - // InternalExpressionDSL.g:1193:1: rule__SiriusExpressionDescription__Group__10 : rule__SiriusExpressionDescription__Group__10__Impl rule__SiriusExpressionDescription__Group__11 ; - public final void rule__SiriusExpressionDescription__Group__10() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1197:1: ( rule__SiriusExpressionDescription__Group__10__Impl rule__SiriusExpressionDescription__Group__11 ) - // InternalExpressionDSL.g:1198:2: rule__SiriusExpressionDescription__Group__10__Impl rule__SiriusExpressionDescription__Group__11 - { - pushFollow(FOLLOW_19); - rule__SiriusExpressionDescription__Group__10__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__11(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__10" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__10__Impl" - // InternalExpressionDSL.g:1205:1: rule__SiriusExpressionDescription__Group__10__Impl : ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) ; - public final void rule__SiriusExpressionDescription__Group__10__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1209:1: ( ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) ) - // InternalExpressionDSL.g:1210:1: ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) - { - // InternalExpressionDSL.g:1210:1: ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) - // InternalExpressionDSL.g:1211:1: ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); - // InternalExpressionDSL.g:1212:1: ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) - // InternalExpressionDSL.g:1212:2: rule__SiriusExpressionDescription__UpperBoundAssignment_10 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__UpperBoundAssignment_10(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__10__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__11" - // InternalExpressionDSL.g:1222:1: rule__SiriusExpressionDescription__Group__11 : rule__SiriusExpressionDescription__Group__11__Impl rule__SiriusExpressionDescription__Group__12 ; - public final void rule__SiriusExpressionDescription__Group__11() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1226:1: ( rule__SiriusExpressionDescription__Group__11__Impl rule__SiriusExpressionDescription__Group__12 ) - // InternalExpressionDSL.g:1227:2: rule__SiriusExpressionDescription__Group__11__Impl rule__SiriusExpressionDescription__Group__12 - { - pushFollow(FOLLOW_4); - rule__SiriusExpressionDescription__Group__11__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__12(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__11" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__11__Impl" - // InternalExpressionDSL.g:1234:1: rule__SiriusExpressionDescription__Group__11__Impl : ( ']' ) ; - public final void rule__SiriusExpressionDescription__Group__11__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1238:1: ( ( ']' ) ) - // InternalExpressionDSL.g:1239:1: ( ']' ) - { - // InternalExpressionDSL.g:1239:1: ( ']' ) - // InternalExpressionDSL.g:1240:1: ']' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); - match(input,20,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__11__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__12" - // InternalExpressionDSL.g:1253:1: rule__SiriusExpressionDescription__Group__12 : rule__SiriusExpressionDescription__Group__12__Impl rule__SiriusExpressionDescription__Group__13 ; - public final void rule__SiriusExpressionDescription__Group__12() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1257:1: ( rule__SiriusExpressionDescription__Group__12__Impl rule__SiriusExpressionDescription__Group__13 ) - // InternalExpressionDSL.g:1258:2: rule__SiriusExpressionDescription__Group__12__Impl rule__SiriusExpressionDescription__Group__13 - { - pushFollow(FOLLOW_20); - rule__SiriusExpressionDescription__Group__12__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__13(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__12" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__12__Impl" - // InternalExpressionDSL.g:1265:1: rule__SiriusExpressionDescription__Group__12__Impl : ( '{' ) ; - public final void rule__SiriusExpressionDescription__Group__12__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1269:1: ( ( '{' ) ) - // InternalExpressionDSL.g:1270:1: ( '{' ) - { - // InternalExpressionDSL.g:1270:1: ( '{' ) - // InternalExpressionDSL.g:1271:1: '{' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); - match(input,9,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__12__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__13" - // InternalExpressionDSL.g:1284:1: rule__SiriusExpressionDescription__Group__13 : rule__SiriusExpressionDescription__Group__13__Impl rule__SiriusExpressionDescription__Group__14 ; - public final void rule__SiriusExpressionDescription__Group__13() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1288:1: ( rule__SiriusExpressionDescription__Group__13__Impl rule__SiriusExpressionDescription__Group__14 ) - // InternalExpressionDSL.g:1289:2: rule__SiriusExpressionDescription__Group__13__Impl rule__SiriusExpressionDescription__Group__14 - { - pushFollow(FOLLOW_21); - rule__SiriusExpressionDescription__Group__13__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__14(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__13" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__13__Impl" - // InternalExpressionDSL.g:1296:1: rule__SiriusExpressionDescription__Group__13__Impl : ( 'contextableElements' ) ; - public final void rule__SiriusExpressionDescription__Group__13__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1300:1: ( ( 'contextableElements' ) ) - // InternalExpressionDSL.g:1301:1: ( 'contextableElements' ) - { - // InternalExpressionDSL.g:1301:1: ( 'contextableElements' ) - // InternalExpressionDSL.g:1302:1: 'contextableElements' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsKeyword_13()); - match(input,21,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsKeyword_13()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__13__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__14" - // InternalExpressionDSL.g:1315:1: rule__SiriusExpressionDescription__Group__14 : rule__SiriusExpressionDescription__Group__14__Impl rule__SiriusExpressionDescription__Group__15 ; - public final void rule__SiriusExpressionDescription__Group__14() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1319:1: ( rule__SiriusExpressionDescription__Group__14__Impl rule__SiriusExpressionDescription__Group__15 ) - // InternalExpressionDSL.g:1320:2: rule__SiriusExpressionDescription__Group__14__Impl rule__SiriusExpressionDescription__Group__15 - { - pushFollow(FOLLOW_16); - rule__SiriusExpressionDescription__Group__14__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__15(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__14" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__14__Impl" - // InternalExpressionDSL.g:1327:1: rule__SiriusExpressionDescription__Group__14__Impl : ( '=' ) ; - public final void rule__SiriusExpressionDescription__Group__14__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1331:1: ( ( '=' ) ) - // InternalExpressionDSL.g:1332:1: ( '=' ) - { - // InternalExpressionDSL.g:1332:1: ( '=' ) - // InternalExpressionDSL.g:1333:1: '=' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); - match(input,22,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__14__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__15" - // InternalExpressionDSL.g:1346:1: rule__SiriusExpressionDescription__Group__15 : rule__SiriusExpressionDescription__Group__15__Impl rule__SiriusExpressionDescription__Group__16 ; - public final void rule__SiriusExpressionDescription__Group__15() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1350:1: ( rule__SiriusExpressionDescription__Group__15__Impl rule__SiriusExpressionDescription__Group__16 ) - // InternalExpressionDSL.g:1351:2: rule__SiriusExpressionDescription__Group__15__Impl rule__SiriusExpressionDescription__Group__16 - { - pushFollow(FOLLOW_22); - rule__SiriusExpressionDescription__Group__15__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__16(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__15" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__15__Impl" - // InternalExpressionDSL.g:1358:1: rule__SiriusExpressionDescription__Group__15__Impl : ( '[' ) ; - public final void rule__SiriusExpressionDescription__Group__15__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1362:1: ( ( '[' ) ) - // InternalExpressionDSL.g:1363:1: ( '[' ) - { - // InternalExpressionDSL.g:1363:1: ( '[' ) - // InternalExpressionDSL.g:1364:1: '[' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); - match(input,18,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__15__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__16" - // InternalExpressionDSL.g:1377:1: rule__SiriusExpressionDescription__Group__16 : rule__SiriusExpressionDescription__Group__16__Impl rule__SiriusExpressionDescription__Group__17 ; - public final void rule__SiriusExpressionDescription__Group__16() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1381:1: ( rule__SiriusExpressionDescription__Group__16__Impl rule__SiriusExpressionDescription__Group__17 ) - // InternalExpressionDSL.g:1382:2: rule__SiriusExpressionDescription__Group__16__Impl rule__SiriusExpressionDescription__Group__17 - { - pushFollow(FOLLOW_22); - rule__SiriusExpressionDescription__Group__16__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__17(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__16" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__16__Impl" - // InternalExpressionDSL.g:1389:1: rule__SiriusExpressionDescription__Group__16__Impl : ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) ; - public final void rule__SiriusExpressionDescription__Group__16__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1393:1: ( ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) ) - // InternalExpressionDSL.g:1394:1: ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) - { - // InternalExpressionDSL.g:1394:1: ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) - // InternalExpressionDSL.g:1395:1: ( rule__SiriusExpressionDescription__Group_16__0 )? - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); - // InternalExpressionDSL.g:1396:1: ( rule__SiriusExpressionDescription__Group_16__0 )? - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0==RULE_ID) ) { - alt7=1; - } - switch (alt7) { - case 1 : - // InternalExpressionDSL.g:1396:2: rule__SiriusExpressionDescription__Group_16__0 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_16__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__16__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__17" - // InternalExpressionDSL.g:1406:1: rule__SiriusExpressionDescription__Group__17 : rule__SiriusExpressionDescription__Group__17__Impl rule__SiriusExpressionDescription__Group__18 ; - public final void rule__SiriusExpressionDescription__Group__17() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1410:1: ( rule__SiriusExpressionDescription__Group__17__Impl rule__SiriusExpressionDescription__Group__18 ) - // InternalExpressionDSL.g:1411:2: rule__SiriusExpressionDescription__Group__17__Impl rule__SiriusExpressionDescription__Group__18 - { - pushFollow(FOLLOW_23); - rule__SiriusExpressionDescription__Group__17__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__18(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__17" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__17__Impl" - // InternalExpressionDSL.g:1418:1: rule__SiriusExpressionDescription__Group__17__Impl : ( ']' ) ; - public final void rule__SiriusExpressionDescription__Group__17__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1422:1: ( ( ']' ) ) - // InternalExpressionDSL.g:1423:1: ( ']' ) - { - // InternalExpressionDSL.g:1423:1: ( ']' ) - // InternalExpressionDSL.g:1424:1: ']' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); - match(input,20,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__17__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__18" - // InternalExpressionDSL.g:1437:1: rule__SiriusExpressionDescription__Group__18 : rule__SiriusExpressionDescription__Group__18__Impl ; - public final void rule__SiriusExpressionDescription__Group__18() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1441:1: ( rule__SiriusExpressionDescription__Group__18__Impl ) - // InternalExpressionDSL.g:1442:2: rule__SiriusExpressionDescription__Group__18__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__18__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__18" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__18__Impl" - // InternalExpressionDSL.g:1448:1: rule__SiriusExpressionDescription__Group__18__Impl : ( '}' ) ; - public final void rule__SiriusExpressionDescription__Group__18__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1452:1: ( ( '}' ) ) - // InternalExpressionDSL.g:1453:1: ( '}' ) - { - // InternalExpressionDSL.g:1453:1: ( '}' ) - // InternalExpressionDSL.g:1454:1: '}' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); - match(input,10,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__18__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3__0" - // InternalExpressionDSL.g:1505:1: rule__SiriusExpressionDescription__Group_3__0 : rule__SiriusExpressionDescription__Group_3__0__Impl rule__SiriusExpressionDescription__Group_3__1 ; - public final void rule__SiriusExpressionDescription__Group_3__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1509:1: ( rule__SiriusExpressionDescription__Group_3__0__Impl rule__SiriusExpressionDescription__Group_3__1 ) - // InternalExpressionDSL.g:1510:2: rule__SiriusExpressionDescription__Group_3__0__Impl rule__SiriusExpressionDescription__Group_3__1 - { - pushFollow(FOLLOW_24); - rule__SiriusExpressionDescription__Group_3__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_3__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3__0" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3__0__Impl" - // InternalExpressionDSL.g:1517:1: rule__SiriusExpressionDescription__Group_3__0__Impl : ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) ; - public final void rule__SiriusExpressionDescription__Group_3__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1521:1: ( ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) ) - // InternalExpressionDSL.g:1522:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) - { - // InternalExpressionDSL.g:1522:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) - // InternalExpressionDSL.g:1523:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); - // InternalExpressionDSL.g:1524:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) - // InternalExpressionDSL.g:1524:2: rule__SiriusExpressionDescription__ParametersAssignment_3_0 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__ParametersAssignment_3_0(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3__0__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3__1" - // InternalExpressionDSL.g:1534:1: rule__SiriusExpressionDescription__Group_3__1 : rule__SiriusExpressionDescription__Group_3__1__Impl ; - public final void rule__SiriusExpressionDescription__Group_3__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1538:1: ( rule__SiriusExpressionDescription__Group_3__1__Impl ) - // InternalExpressionDSL.g:1539:2: rule__SiriusExpressionDescription__Group_3__1__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_3__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3__1" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3__1__Impl" - // InternalExpressionDSL.g:1545:1: rule__SiriusExpressionDescription__Group_3__1__Impl : ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) ; - public final void rule__SiriusExpressionDescription__Group_3__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1549:1: ( ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) ) - // InternalExpressionDSL.g:1550:1: ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) - { - // InternalExpressionDSL.g:1550:1: ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) - // InternalExpressionDSL.g:1551:1: ( rule__SiriusExpressionDescription__Group_3_1__0 )* - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); - // InternalExpressionDSL.g:1552:1: ( rule__SiriusExpressionDescription__Group_3_1__0 )* - loop8: - do { - int alt8=2; - int LA8_0 = input.LA(1); - - if ( (LA8_0==23) ) { - alt8=1; - } - - - switch (alt8) { - case 1 : - // InternalExpressionDSL.g:1552:2: rule__SiriusExpressionDescription__Group_3_1__0 - { - pushFollow(FOLLOW_25); - rule__SiriusExpressionDescription__Group_3_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop8; - } - } while (true); - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3__1__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__0" - // InternalExpressionDSL.g:1566:1: rule__SiriusExpressionDescription__Group_3_1__0 : rule__SiriusExpressionDescription__Group_3_1__0__Impl rule__SiriusExpressionDescription__Group_3_1__1 ; - public final void rule__SiriusExpressionDescription__Group_3_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1570:1: ( rule__SiriusExpressionDescription__Group_3_1__0__Impl rule__SiriusExpressionDescription__Group_3_1__1 ) - // InternalExpressionDSL.g:1571:2: rule__SiriusExpressionDescription__Group_3_1__0__Impl rule__SiriusExpressionDescription__Group_3_1__1 - { - pushFollow(FOLLOW_26); - rule__SiriusExpressionDescription__Group_3_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_3_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__0" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__0__Impl" - // InternalExpressionDSL.g:1578:1: rule__SiriusExpressionDescription__Group_3_1__0__Impl : ( ',' ) ; - public final void rule__SiriusExpressionDescription__Group_3_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1582:1: ( ( ',' ) ) - // InternalExpressionDSL.g:1583:1: ( ',' ) - { - // InternalExpressionDSL.g:1583:1: ( ',' ) - // InternalExpressionDSL.g:1584:1: ',' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); - match(input,23,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__0__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__1" - // InternalExpressionDSL.g:1597:1: rule__SiriusExpressionDescription__Group_3_1__1 : rule__SiriusExpressionDescription__Group_3_1__1__Impl ; - public final void rule__SiriusExpressionDescription__Group_3_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1601:1: ( rule__SiriusExpressionDescription__Group_3_1__1__Impl ) - // InternalExpressionDSL.g:1602:2: rule__SiriusExpressionDescription__Group_3_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_3_1__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__1" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__1__Impl" - // InternalExpressionDSL.g:1608:1: rule__SiriusExpressionDescription__Group_3_1__1__Impl : ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) ; - public final void rule__SiriusExpressionDescription__Group_3_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1612:1: ( ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) ) - // InternalExpressionDSL.g:1613:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) - { - // InternalExpressionDSL.g:1613:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) - // InternalExpressionDSL.g:1614:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); - // InternalExpressionDSL.g:1615:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) - // InternalExpressionDSL.g:1615:2: rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__ParametersAssignment_3_1_1(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__1__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16__0" - // InternalExpressionDSL.g:1629:1: rule__SiriusExpressionDescription__Group_16__0 : rule__SiriusExpressionDescription__Group_16__0__Impl rule__SiriusExpressionDescription__Group_16__1 ; - public final void rule__SiriusExpressionDescription__Group_16__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1633:1: ( rule__SiriusExpressionDescription__Group_16__0__Impl rule__SiriusExpressionDescription__Group_16__1 ) - // InternalExpressionDSL.g:1634:2: rule__SiriusExpressionDescription__Group_16__0__Impl rule__SiriusExpressionDescription__Group_16__1 - { - pushFollow(FOLLOW_24); - rule__SiriusExpressionDescription__Group_16__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_16__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16__0" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16__0__Impl" - // InternalExpressionDSL.g:1641:1: rule__SiriusExpressionDescription__Group_16__0__Impl : ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 ) ) ; - public final void rule__SiriusExpressionDescription__Group_16__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1645:1: ( ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 ) ) ) - // InternalExpressionDSL.g:1646:1: ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 ) ) - { - // InternalExpressionDSL.g:1646:1: ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 ) ) - // InternalExpressionDSL.g:1647:1: ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_0()); - // InternalExpressionDSL.g:1648:1: ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 ) - // InternalExpressionDSL.g:1648:2: rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16__0__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16__1" - // InternalExpressionDSL.g:1658:1: rule__SiriusExpressionDescription__Group_16__1 : rule__SiriusExpressionDescription__Group_16__1__Impl ; - public final void rule__SiriusExpressionDescription__Group_16__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1662:1: ( rule__SiriusExpressionDescription__Group_16__1__Impl ) - // InternalExpressionDSL.g:1663:2: rule__SiriusExpressionDescription__Group_16__1__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_16__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16__1" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16__1__Impl" - // InternalExpressionDSL.g:1669:1: rule__SiriusExpressionDescription__Group_16__1__Impl : ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) ; - public final void rule__SiriusExpressionDescription__Group_16__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1673:1: ( ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) ) - // InternalExpressionDSL.g:1674:1: ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) - { - // InternalExpressionDSL.g:1674:1: ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) - // InternalExpressionDSL.g:1675:1: ( rule__SiriusExpressionDescription__Group_16_1__0 )* - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); - // InternalExpressionDSL.g:1676:1: ( rule__SiriusExpressionDescription__Group_16_1__0 )* - loop9: - do { - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0==23) ) { - alt9=1; - } - - - switch (alt9) { - case 1 : - // InternalExpressionDSL.g:1676:2: rule__SiriusExpressionDescription__Group_16_1__0 - { - pushFollow(FOLLOW_25); - rule__SiriusExpressionDescription__Group_16_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop9; - } - } while (true); - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16__1__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__0" - // InternalExpressionDSL.g:1690:1: rule__SiriusExpressionDescription__Group_16_1__0 : rule__SiriusExpressionDescription__Group_16_1__0__Impl rule__SiriusExpressionDescription__Group_16_1__1 ; - public final void rule__SiriusExpressionDescription__Group_16_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1694:1: ( rule__SiriusExpressionDescription__Group_16_1__0__Impl rule__SiriusExpressionDescription__Group_16_1__1 ) - // InternalExpressionDSL.g:1695:2: rule__SiriusExpressionDescription__Group_16_1__0__Impl rule__SiriusExpressionDescription__Group_16_1__1 - { - pushFollow(FOLLOW_3); - rule__SiriusExpressionDescription__Group_16_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_16_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__0" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__0__Impl" - // InternalExpressionDSL.g:1702:1: rule__SiriusExpressionDescription__Group_16_1__0__Impl : ( ',' ) ; - public final void rule__SiriusExpressionDescription__Group_16_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1706:1: ( ( ',' ) ) - // InternalExpressionDSL.g:1707:1: ( ',' ) - { - // InternalExpressionDSL.g:1707:1: ( ',' ) - // InternalExpressionDSL.g:1708:1: ',' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); - match(input,23,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__0__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__1" - // InternalExpressionDSL.g:1721:1: rule__SiriusExpressionDescription__Group_16_1__1 : rule__SiriusExpressionDescription__Group_16_1__1__Impl ; - public final void rule__SiriusExpressionDescription__Group_16_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1725:1: ( rule__SiriusExpressionDescription__Group_16_1__1__Impl ) - // InternalExpressionDSL.g:1726:2: rule__SiriusExpressionDescription__Group_16_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_16_1__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__1" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__1__Impl" - // InternalExpressionDSL.g:1732:1: rule__SiriusExpressionDescription__Group_16_1__1__Impl : ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 ) ) ; - public final void rule__SiriusExpressionDescription__Group_16_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1736:1: ( ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 ) ) ) - // InternalExpressionDSL.g:1737:1: ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 ) ) - { - // InternalExpressionDSL.g:1737:1: ( ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 ) ) - // InternalExpressionDSL.g:1738:1: ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_1_1()); - // InternalExpressionDSL.g:1739:1: ( rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 ) - // InternalExpressionDSL.g:1739:2: rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsAssignment_16_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__1__Impl" - - - // $ANTLR start "rule__Parameter__Group__0" - // InternalExpressionDSL.g:1753:1: rule__Parameter__Group__0 : rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ; - public final void rule__Parameter__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1757:1: ( rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ) - // InternalExpressionDSL.g:1758:2: rule__Parameter__Group__0__Impl rule__Parameter__Group__1 - { - pushFollow(FOLLOW_26); - rule__Parameter__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__Parameter__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Parameter__Group__0" - - - // $ANTLR start "rule__Parameter__Group__0__Impl" - // InternalExpressionDSL.g:1765:1: rule__Parameter__Group__0__Impl : ( ( rule__Parameter__OptionalAssignment_0 )? ) ; - public final void rule__Parameter__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1769:1: ( ( ( rule__Parameter__OptionalAssignment_0 )? ) ) - // InternalExpressionDSL.g:1770:1: ( ( rule__Parameter__OptionalAssignment_0 )? ) - { - // InternalExpressionDSL.g:1770:1: ( ( rule__Parameter__OptionalAssignment_0 )? ) - // InternalExpressionDSL.g:1771:1: ( rule__Parameter__OptionalAssignment_0 )? - { - before(grammarAccess.getParameterAccess().getOptionalAssignment_0()); - // InternalExpressionDSL.g:1772:1: ( rule__Parameter__OptionalAssignment_0 )? - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0==25) ) { - alt10=1; - } - switch (alt10) { - case 1 : - // InternalExpressionDSL.g:1772:2: rule__Parameter__OptionalAssignment_0 - { - pushFollow(FOLLOW_2); - rule__Parameter__OptionalAssignment_0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getParameterAccess().getOptionalAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Parameter__Group__0__Impl" - - - // $ANTLR start "rule__Parameter__Group__1" - // InternalExpressionDSL.g:1782:1: rule__Parameter__Group__1 : rule__Parameter__Group__1__Impl ; - public final void rule__Parameter__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1786:1: ( rule__Parameter__Group__1__Impl ) - // InternalExpressionDSL.g:1787:2: rule__Parameter__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__Parameter__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Parameter__Group__1" - - - // $ANTLR start "rule__Parameter__Group__1__Impl" - // InternalExpressionDSL.g:1793:1: rule__Parameter__Group__1__Impl : ( ( rule__Parameter__VariableAssignment_1 ) ) ; - public final void rule__Parameter__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1797:1: ( ( ( rule__Parameter__VariableAssignment_1 ) ) ) - // InternalExpressionDSL.g:1798:1: ( ( rule__Parameter__VariableAssignment_1 ) ) - { - // InternalExpressionDSL.g:1798:1: ( ( rule__Parameter__VariableAssignment_1 ) ) - // InternalExpressionDSL.g:1799:1: ( rule__Parameter__VariableAssignment_1 ) - { - before(grammarAccess.getParameterAccess().getVariableAssignment_1()); - // InternalExpressionDSL.g:1800:1: ( rule__Parameter__VariableAssignment_1 ) - // InternalExpressionDSL.g:1800:2: rule__Parameter__VariableAssignment_1 - { - pushFollow(FOLLOW_2); - rule__Parameter__VariableAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getParameterAccess().getVariableAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Parameter__Group__1__Impl" - - - // $ANTLR start "rule__Bound__Group__0" - // InternalExpressionDSL.g:1814:1: rule__Bound__Group__0 : rule__Bound__Group__0__Impl rule__Bound__Group__1 ; - public final void rule__Bound__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1818:1: ( rule__Bound__Group__0__Impl rule__Bound__Group__1 ) - // InternalExpressionDSL.g:1819:2: rule__Bound__Group__0__Impl rule__Bound__Group__1 - { - pushFollow(FOLLOW_17); - rule__Bound__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__Bound__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Bound__Group__0" - - - // $ANTLR start "rule__Bound__Group__0__Impl" - // InternalExpressionDSL.g:1826:1: rule__Bound__Group__0__Impl : ( ( '-' )? ) ; - public final void rule__Bound__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1830:1: ( ( ( '-' )? ) ) - // InternalExpressionDSL.g:1831:1: ( ( '-' )? ) - { - // InternalExpressionDSL.g:1831:1: ( ( '-' )? ) - // InternalExpressionDSL.g:1832:1: ( '-' )? - { - before(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); - // InternalExpressionDSL.g:1833:1: ( '-' )? - int alt11=2; - int LA11_0 = input.LA(1); - - if ( (LA11_0==24) ) { - alt11=1; - } - switch (alt11) { - case 1 : - // InternalExpressionDSL.g:1834:2: '-' - { - match(input,24,FOLLOW_2); - - } - break; - - } - - after(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Bound__Group__0__Impl" - - - // $ANTLR start "rule__Bound__Group__1" - // InternalExpressionDSL.g:1845:1: rule__Bound__Group__1 : rule__Bound__Group__1__Impl ; - public final void rule__Bound__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1849:1: ( rule__Bound__Group__1__Impl ) - // InternalExpressionDSL.g:1850:2: rule__Bound__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__Bound__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Bound__Group__1" - - - // $ANTLR start "rule__Bound__Group__1__Impl" - // InternalExpressionDSL.g:1856:1: rule__Bound__Group__1__Impl : ( RULE_INT ) ; - public final void rule__Bound__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1860:1: ( ( RULE_INT ) ) - // InternalExpressionDSL.g:1861:1: ( RULE_INT ) - { - // InternalExpressionDSL.g:1861:1: ( RULE_INT ) - // InternalExpressionDSL.g:1862:1: RULE_INT - { - before(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Bound__Group__1__Impl" - - - // $ANTLR start "rule__SiriusExpressionPackage__EPackageAssignment_1" - // InternalExpressionDSL.g:1878:1: rule__SiriusExpressionPackage__EPackageAssignment_1 : ( ( ruleFQN ) ) ; - public final void rule__SiriusExpressionPackage__EPackageAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1882:1: ( ( ( ruleFQN ) ) ) - // InternalExpressionDSL.g:1883:1: ( ( ruleFQN ) ) - { - // InternalExpressionDSL.g:1883:1: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:1884:1: ( ruleFQN ) - { - before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); - // InternalExpressionDSL.g:1885:1: ( ruleFQN ) - // InternalExpressionDSL.g:1886:1: ruleFQN - { - before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageFQNParserRuleCall_1_0_1()); - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageFQNParserRuleCall_1_0_1()); - - } - - after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__EPackageAssignment_1" - - - // $ANTLR start "rule__SiriusExpressionPackage__ExpressionClassesAssignment_3" - // InternalExpressionDSL.g:1897:1: rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 : ( ruleSiriusExpressionClass ) ; - public final void rule__SiriusExpressionPackage__ExpressionClassesAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1901:1: ( ( ruleSiriusExpressionClass ) ) - // InternalExpressionDSL.g:1902:1: ( ruleSiriusExpressionClass ) - { - // InternalExpressionDSL.g:1902:1: ( ruleSiriusExpressionClass ) - // InternalExpressionDSL.g:1903:1: ruleSiriusExpressionClass - { - before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); - pushFollow(FOLLOW_2); - ruleSiriusExpressionClass(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__ExpressionClassesAssignment_3" - - - // $ANTLR start "rule__SiriusExpressionClass__EClassAssignment_1" - // InternalExpressionDSL.g:1912:1: rule__SiriusExpressionClass__EClassAssignment_1 : ( ( ruleFQN ) ) ; - public final void rule__SiriusExpressionClass__EClassAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1916:1: ( ( ( ruleFQN ) ) ) - // InternalExpressionDSL.g:1917:1: ( ( ruleFQN ) ) - { - // InternalExpressionDSL.g:1917:1: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:1918:1: ( ruleFQN ) - { - before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); - // InternalExpressionDSL.g:1919:1: ( ruleFQN ) - // InternalExpressionDSL.g:1920:1: ruleFQN - { - before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); - - } - - after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__EClassAssignment_1" - - - // $ANTLR start "rule__SiriusExpressionClass__VariablesAssignment_3" - // InternalExpressionDSL.g:1931:1: rule__SiriusExpressionClass__VariablesAssignment_3 : ( ruleSiriusVariable ) ; - public final void rule__SiriusExpressionClass__VariablesAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1935:1: ( ( ruleSiriusVariable ) ) - // InternalExpressionDSL.g:1936:1: ( ruleSiriusVariable ) - { - // InternalExpressionDSL.g:1936:1: ( ruleSiriusVariable ) - // InternalExpressionDSL.g:1937:1: ruleSiriusVariable - { - before(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); - pushFollow(FOLLOW_2); - ruleSiriusVariable(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__VariablesAssignment_3" - - - // $ANTLR start "rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4" - // InternalExpressionDSL.g:1946:1: rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 : ( ruleSiriusExpressionDescription ) ; - public final void rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1950:1: ( ( ruleSiriusExpressionDescription ) ) - // InternalExpressionDSL.g:1951:1: ( ruleSiriusExpressionDescription ) - { - // InternalExpressionDSL.g:1951:1: ( ruleSiriusExpressionDescription ) - // InternalExpressionDSL.g:1952:1: ruleSiriusExpressionDescription - { - before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); - pushFollow(FOLLOW_2); - ruleSiriusExpressionDescription(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4" - - - // $ANTLR start "rule__SiriusVariable__DocumentationAssignment_0" - // InternalExpressionDSL.g:1961:1: rule__SiriusVariable__DocumentationAssignment_0 : ( RULE_ML_COMMENT ) ; - public final void rule__SiriusVariable__DocumentationAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1965:1: ( ( RULE_ML_COMMENT ) ) - // InternalExpressionDSL.g:1966:1: ( RULE_ML_COMMENT ) - { - // InternalExpressionDSL.g:1966:1: ( RULE_ML_COMMENT ) - // InternalExpressionDSL.g:1967:1: RULE_ML_COMMENT - { - before(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); - match(input,RULE_ML_COMMENT,FOLLOW_2); - after(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__DocumentationAssignment_0" - - - // $ANTLR start "rule__SiriusVariable__NameAssignment_2" - // InternalExpressionDSL.g:1976:1: rule__SiriusVariable__NameAssignment_2 : ( RULE_ID ) ; - public final void rule__SiriusVariable__NameAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1980:1: ( ( RULE_ID ) ) - // InternalExpressionDSL.g:1981:1: ( RULE_ID ) - { - // InternalExpressionDSL.g:1981:1: ( RULE_ID ) - // InternalExpressionDSL.g:1982:1: RULE_ID - { - before(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__NameAssignment_2" - - - // $ANTLR start "rule__SiriusVariable__ETypeAssignment_4" - // InternalExpressionDSL.g:1991:1: rule__SiriusVariable__ETypeAssignment_4 : ( ( ruleFQN ) ) ; - public final void rule__SiriusVariable__ETypeAssignment_4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:1995:1: ( ( ( ruleFQN ) ) ) - // InternalExpressionDSL.g:1996:1: ( ( ruleFQN ) ) - { - // InternalExpressionDSL.g:1996:1: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:1997:1: ( ruleFQN ) - { - before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); - // InternalExpressionDSL.g:1998:1: ( ruleFQN ) - // InternalExpressionDSL.g:1999:1: ruleFQN - { - before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); - - } - - after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__ETypeAssignment_4" - - - // $ANTLR start "rule__SiriusExpressionDescription__ExpressionAssignment_1" - // InternalExpressionDSL.g:2010:1: rule__SiriusExpressionDescription__ExpressionAssignment_1 : ( ( ruleFQN ) ) ; - public final void rule__SiriusExpressionDescription__ExpressionAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:2014:1: ( ( ( ruleFQN ) ) ) - // InternalExpressionDSL.g:2015:1: ( ( ruleFQN ) ) - { - // InternalExpressionDSL.g:2015:1: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:2016:1: ( ruleFQN ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); - // InternalExpressionDSL.g:2017:1: ( ruleFQN ) - // InternalExpressionDSL.g:2018:1: ruleFQN - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__ExpressionAssignment_1" - - - // $ANTLR start "rule__SiriusExpressionDescription__ParametersAssignment_3_0" - // InternalExpressionDSL.g:2029:1: rule__SiriusExpressionDescription__ParametersAssignment_3_0 : ( ruleParameter ) ; - public final void rule__SiriusExpressionDescription__ParametersAssignment_3_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:2033:1: ( ( ruleParameter ) ) - // InternalExpressionDSL.g:2034:1: ( ruleParameter ) - { - // InternalExpressionDSL.g:2034:1: ( ruleParameter ) - // InternalExpressionDSL.g:2035:1: ruleParameter - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_0_0()); - pushFollow(FOLLOW_2); - ruleParameter(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__ParametersAssignment_3_0" - - - // $ANTLR start "rule__SiriusExpressionDescription__ParametersAssignment_3_1_1" - // InternalExpressionDSL.g:2044:1: rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 : ( ruleParameter ) ; - public final void rule__SiriusExpressionDescription__ParametersAssignment_3_1_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:2048:1: ( ( ruleParameter ) ) - // InternalExpressionDSL.g:2049:1: ( ruleParameter ) - { - // InternalExpressionDSL.g:2049:1: ( ruleParameter ) - // InternalExpressionDSL.g:2050:1: ruleParameter - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_1_1_0()); - pushFollow(FOLLOW_2); - ruleParameter(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_1_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__ParametersAssignment_3_1_1" - - - // $ANTLR start "rule__SiriusExpressionDescription__TypeAssignment_6" - // InternalExpressionDSL.g:2059:1: rule__SiriusExpressionDescription__TypeAssignment_6 : ( ( ruleFQN ) ) ; - public final void rule__SiriusExpressionDescription__TypeAssignment_6() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:2063:1: ( ( ( ruleFQN ) ) ) - // InternalExpressionDSL.g:2064:1: ( ( ruleFQN ) ) - { - // InternalExpressionDSL.g:2064:1: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:2065:1: ( ruleFQN ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierCrossReference_6_0()); - // InternalExpressionDSL.g:2066:1: ( ruleFQN ) - // InternalExpressionDSL.g:2067:1: ruleFQN - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierFQNParserRuleCall_6_0_1()); - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierFQNParserRuleCall_6_0_1()); - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierCrossReference_6_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__TypeAssignment_6" - - - // $ANTLR start "rule__SiriusExpressionDescription__LowerBoundAssignment_8" - // InternalExpressionDSL.g:2078:1: rule__SiriusExpressionDescription__LowerBoundAssignment_8 : ( ruleBound ) ; - public final void rule__SiriusExpressionDescription__LowerBoundAssignment_8() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:2082:1: ( ( ruleBound ) ) - // InternalExpressionDSL.g:2083:1: ( ruleBound ) - { - // InternalExpressionDSL.g:2083:1: ( ruleBound ) - // InternalExpressionDSL.g:2084:1: ruleBound - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); - pushFollow(FOLLOW_2); - ruleBound(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__LowerBoundAssignment_8" - - - // $ANTLR start "rule__SiriusExpressionDescription__UpperBoundAssignment_10" - // InternalExpressionDSL.g:2093:1: rule__SiriusExpressionDescription__UpperBoundAssignment_10 : ( ruleBound ) ; - public final void rule__SiriusExpressionDescription__UpperBoundAssignment_10() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:2097:1: ( ( ruleBound ) ) - // InternalExpressionDSL.g:2098:1: ( ruleBound ) - { - // InternalExpressionDSL.g:2098:1: ( ruleBound ) - // InternalExpressionDSL.g:2099:1: ruleBound - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); - pushFollow(FOLLOW_2); - ruleBound(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__UpperBoundAssignment_10" - - - // $ANTLR start "rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0" - // InternalExpressionDSL.g:2108:1: rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0 : ( ( ruleFQN ) ) ; - public final void rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:2112:1: ( ( ( ruleFQN ) ) ) - // InternalExpressionDSL.g:2113:1: ( ( ruleFQN ) ) - { - // InternalExpressionDSL.g:2113:1: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:2114:1: ( ruleFQN ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_0_0()); - // InternalExpressionDSL.g:2115:1: ( ruleFQN ) - // InternalExpressionDSL.g:2116:1: ruleFQN - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_0_0_1()); - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_0_0_1()); - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__ContextableElementsAssignment_16_0" - - - // $ANTLR start "rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1" - // InternalExpressionDSL.g:2127:1: rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1 : ( ( ruleFQN ) ) ; - public final void rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:2131:1: ( ( ( ruleFQN ) ) ) - // InternalExpressionDSL.g:2132:1: ( ( ruleFQN ) ) - { - // InternalExpressionDSL.g:2132:1: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:2133:1: ( ruleFQN ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_1_1_0()); - // InternalExpressionDSL.g:2134:1: ( ruleFQN ) - // InternalExpressionDSL.g:2135:1: ruleFQN - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_1_1_0_1()); - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassFQNParserRuleCall_16_1_1_0_1()); - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_1_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__ContextableElementsAssignment_16_1_1" - - - // $ANTLR start "rule__Parameter__OptionalAssignment_0" - // InternalExpressionDSL.g:2146:1: rule__Parameter__OptionalAssignment_0 : ( ( 'optional' ) ) ; - public final void rule__Parameter__OptionalAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:2150:1: ( ( ( 'optional' ) ) ) - // InternalExpressionDSL.g:2151:1: ( ( 'optional' ) ) - { - // InternalExpressionDSL.g:2151:1: ( ( 'optional' ) ) - // InternalExpressionDSL.g:2152:1: ( 'optional' ) - { - before(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); - // InternalExpressionDSL.g:2153:1: ( 'optional' ) - // InternalExpressionDSL.g:2154:1: 'optional' - { - before(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); - match(input,25,FOLLOW_2); - after(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); - - } - - after(grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Parameter__OptionalAssignment_0" - - - // $ANTLR start "rule__Parameter__VariableAssignment_1" - // InternalExpressionDSL.g:2169:1: rule__Parameter__VariableAssignment_1 : ( ( ruleFQN ) ) ; - public final void rule__Parameter__VariableAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionDSL.g:2173:1: ( ( ( ruleFQN ) ) ) - // InternalExpressionDSL.g:2174:1: ( ( ruleFQN ) ) - { - // InternalExpressionDSL.g:2174:1: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:2175:1: ( ruleFQN ) - { - before(grammarAccess.getParameterAccess().getVariableSiriusVariableCrossReference_1_0()); - // InternalExpressionDSL.g:2176:1: ( ruleFQN ) - // InternalExpressionDSL.g:2177:1: ruleFQN - { - before(grammarAccess.getParameterAccess().getVariableSiriusVariableFQNParserRuleCall_1_0_1()); - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getParameterAccess().getVariableSiriusVariableFQNParserRuleCall_1_0_1()); - - } - - after(grammarAccess.getParameterAccess().getVariableSiriusVariableCrossReference_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Parameter__VariableAssignment_1" - - // Delegated rules - - - - - public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000200L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000C00L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000802L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000009440L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000001042L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000008002L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000001040L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000004000L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000004002L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000002020010L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000040000L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000001000020L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000200000L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000400000L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000100010L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000400L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000800000L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000800002L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000002000010L}); - -} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/internal/ExpressionDSLActivator.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/internal/ExpressionDSLActivator.java deleted file mode 100644 index bc94d3f35..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/src-gen/org/eclipse/sirius/expression/dsl/ui/internal/ExpressionDSLActivator.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui.internal; - -import java.util.Collections; -import java.util.Map; - -import org.apache.log4j.Logger; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.eclipse.xtext.ui.shared.SharedStateModule; -import org.eclipse.xtext.util.Modules2; -import org.osgi.framework.BundleContext; - -import com.google.common.collect.Maps; -import com.google.inject.Guice; -import com.google.inject.Injector; -import com.google.inject.Module; - -/** - * This class was generated. Customizations should only happen in a newly - * introduced subclass. - */ -public class ExpressionDSLActivator extends AbstractUIPlugin { - - public static final String ORG_ECLIPSE_SIRIUS_EXPRESSION_DSL_EXPRESSIONDSL = "org.eclipse.sirius.expression.dsl.ExpressionDSL"; - - private static final Logger logger = Logger.getLogger(ExpressionDSLActivator.class); - - private static ExpressionDSLActivator INSTANCE; - - private Map injectors = Collections.synchronizedMap(Maps. newHashMapWithExpectedSize(1)); - - @Override - public void start(BundleContext context) throws Exception { - super.start(context); - INSTANCE = this; - } - - @Override - public void stop(BundleContext context) throws Exception { - injectors.clear(); - INSTANCE = null; - super.stop(context); - } - - public static ExpressionDSLActivator getInstance() { - return INSTANCE; - } - - public Injector getInjector(String language) { - synchronized (injectors) { - Injector injector = injectors.get(language); - if (injector == null) { - injectors.put(language, injector = createInjector(language)); - } - return injector; - } - } - - protected Injector createInjector(String language) { - try { - Module runtimeModule = getRuntimeModule(language); - Module sharedStateModule = getSharedStateModule(); - Module uiModule = getUiModule(language); - Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule); - return Guice.createInjector(mergedModule); - } catch (Exception e) { - logger.error("Failed to create injector for " + language); - logger.error(e.getMessage(), e); - throw new RuntimeException("Failed to create injector for " + language, e); - } - } - - protected Module getRuntimeModule(String grammar) { - if (ORG_ECLIPSE_SIRIUS_EXPRESSION_DSL_EXPRESSIONDSL.equals(grammar)) { - return new org.eclipse.sirius.expression.dsl.ExpressionDSLRuntimeModule(); - } - - throw new IllegalArgumentException(grammar); - } - - protected Module getUiModule(String grammar) { - if (ORG_ECLIPSE_SIRIUS_EXPRESSION_DSL_EXPRESSIONDSL.equals(grammar)) { - return new org.eclipse.sirius.expression.dsl.ui.ExpressionDSLUiModule(this); - } - - throw new IllegalArgumentException(grammar); - } - - protected Module getSharedStateModule() { - return new SharedStateModule(); - } - -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLUiModule.java b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLUiModule.java deleted file mode 100644 index f494c3a5c..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/ExpressionDSLUiModule.java +++ /dev/null @@ -1,15 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui; - -import org.eclipse.ui.plugin.AbstractUIPlugin; - -/** - * Use this class to register components to be used within the IDE. - */ -public class ExpressionDSLUiModule extends org.eclipse.sirius.expression.dsl.ui.AbstractExpressionDSLUiModule { - public ExpressionDSLUiModule(AbstractUIPlugin plugin) { - super(plugin); - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.xtend b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.xtend deleted file mode 100644 index c5e9ea65d..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.xtend +++ /dev/null @@ -1,13 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui.contentassist - -import org.eclipse.sirius.expression.dsl.ui.contentassist.AbstractExpressionDSLProposalProvider - -/** - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist - * on how to customize the content assistant. - */ -class ExpressionDSLProposalProvider extends AbstractExpressionDSLProposalProvider { -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.xtend b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.xtend deleted file mode 100644 index 6be149292..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.xtend +++ /dev/null @@ -1,24 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui.labeling - -//import org.eclipse.xtext.resource.IEObjectDescription - -/** - * Provides labels for IEObjectDescriptions and IResourceDescriptions. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider - */ -class ExpressionDSLDescriptionLabelProvider extends org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider { - - // Labels and icons can be computed like this: - -// override text(IEObjectDescription ele) { -// ele.name.toString -// } -// -// override image(IEObjectDescription ele) { -// ele.EClass.name + '.gif' -// } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.xtend b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.xtend deleted file mode 100644 index a6d23559a..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.xtend +++ /dev/null @@ -1,29 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui.labeling - -import com.google.inject.Inject - -/** - * Provides labels for EObjects. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider - */ -class ExpressionDSLLabelProvider extends org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider { - - @Inject - new(org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider delegate) { - super(delegate); - } - - // Labels and icons can be computed like this: - -// def text(Greeting ele) { -// 'A greeting to ' + ele.name -// } -// -// def image(Greeting ele) { -// 'Greeting.gif' -// } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.xtend b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.xtend deleted file mode 100644 index 52f65f855..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.xtend +++ /dev/null @@ -1,13 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui.outline - -/** - * Customization of the default outline structure. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#outline - */ -class ExpressionDSLOutlineTreeProvider extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider { - -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.xtend b/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.xtend deleted file mode 100644 index dac31c761..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/src/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.xtend +++ /dev/null @@ -1,26 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui.quickfix - -//import org.eclipse.xtext.ui.editor.quickfix.Fix -//import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor -//import org.eclipse.xtext.validation.Issue - -/** - * Custom quickfixes. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#quick-fixes - */ -class ExpressionDSLQuickfixProvider extends org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider { - -// @Fix(MyDslValidator::INVALID_NAME) -// def capitalizeName(Issue issue, IssueResolutionAcceptor acceptor) { -// acceptor.accept(issue, 'Capitalize name', 'Capitalize the name.', 'upcase.png') [ -// context | -// val xtextDocument = context.xtextDocument -// val firstLetter = xtextDocument.get(issue.offset, 1) -// xtextDocument.replace(issue.offset, 1, firstLetter.toUpperCase) -// ] -// } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.ExpressionDSLProposalProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.ExpressionDSLProposalProvider.xtendbin deleted file mode 100644 index d4cc8122c..000000000 Binary files a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.ExpressionDSLProposalProvider.xtendbin and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.gitignore b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.gitignore deleted file mode 100644 index 5e8304adc..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/.ExpressionDSLProposalProvider.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.java b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.java deleted file mode 100644 index c39c4ba34..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/contentassist/ExpressionDSLProposalProvider.java +++ /dev/null @@ -1,14 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui.contentassist; - -import org.eclipse.sirius.expression.dsl.ui.contentassist.AbstractExpressionDSLProposalProvider; - -/** - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist - * on how to customize the content assistant. - */ -@SuppressWarnings("all") -public class ExpressionDSLProposalProvider extends AbstractExpressionDSLProposalProvider { -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLDescriptionLabelProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLDescriptionLabelProvider.xtendbin deleted file mode 100644 index d388bc1c4..000000000 Binary files a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLDescriptionLabelProvider.xtendbin and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLLabelProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLLabelProvider.xtendbin deleted file mode 100644 index 41c5a39b3..000000000 Binary files a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.ExpressionDSLLabelProvider.xtendbin and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.gitignore b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.gitignore deleted file mode 100644 index 0cd497068..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/.ExpressionDSLDescriptionLabelProvider.java._trace -/.ExpressionDSLLabelProvider.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.java b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.java deleted file mode 100644 index 2805a3f00..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLDescriptionLabelProvider.java +++ /dev/null @@ -1,15 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui.labeling; - -import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider; - -/** - * Provides labels for IEObjectDescriptions and IResourceDescriptions. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider - */ -@SuppressWarnings("all") -public class ExpressionDSLDescriptionLabelProvider extends DefaultDescriptionLabelProvider { -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.java b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.java deleted file mode 100644 index 2767eb720..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/labeling/ExpressionDSLLabelProvider.java +++ /dev/null @@ -1,21 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui.labeling; - -import com.google.inject.Inject; -import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider; -import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider; - -/** - * Provides labels for EObjects. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider - */ -@SuppressWarnings("all") -public class ExpressionDSLLabelProvider extends DefaultEObjectLabelProvider { - @Inject - public ExpressionDSLLabelProvider(final AdapterFactoryLabelProvider delegate) { - super(delegate); - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.ExpressionDSLOutlineTreeProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.ExpressionDSLOutlineTreeProvider.xtendbin deleted file mode 100644 index 40d168c40..000000000 Binary files a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.ExpressionDSLOutlineTreeProvider.xtendbin and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.gitignore b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.gitignore deleted file mode 100644 index efb15be8f..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/.ExpressionDSLOutlineTreeProvider.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.java b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.java deleted file mode 100644 index 4898c3a98..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/outline/ExpressionDSLOutlineTreeProvider.java +++ /dev/null @@ -1,15 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui.outline; - -import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider; - -/** - * Customization of the default outline structure. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#outline - */ -@SuppressWarnings("all") -public class ExpressionDSLOutlineTreeProvider extends DefaultOutlineTreeProvider { -} diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.ExpressionDSLQuickfixProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.ExpressionDSLQuickfixProvider.xtendbin deleted file mode 100644 index 84ccadf98..000000000 Binary files a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.ExpressionDSLQuickfixProvider.xtendbin and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.gitignore b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.gitignore deleted file mode 100644 index a866fbb3f..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/.ExpressionDSLQuickfixProvider.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.java b/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.java deleted file mode 100644 index 12e4d3ea1..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl.ui/xtend-gen/org/eclipse/sirius/expression/dsl/ui/quickfix/ExpressionDSLQuickfixProvider.java +++ /dev/null @@ -1,15 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.ui.quickfix; - -import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider; - -/** - * Custom quickfixes. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#quick-fixes - */ -@SuppressWarnings("all") -public class ExpressionDSLQuickfixProvider extends DefaultQuickfixProvider { -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/.antlr-generator-3.2.0-patch.jar b/plugins/org.eclipse.sirius.expression.dsl/.antlr-generator-3.2.0-patch.jar deleted file mode 100644 index 90516fd7a..000000000 Binary files a/plugins/org.eclipse.sirius.expression.dsl/.antlr-generator-3.2.0-patch.jar and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/.classpath b/plugins/org.eclipse.sirius.expression.dsl/.classpath deleted file mode 100644 index 9081d4f70..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/.classpath +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.dsl/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.dsl).launch b/plugins/org.eclipse.sirius.expression.dsl/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.dsl).launch deleted file mode 100644 index 7b5095754..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.dsl).launch +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.dsl/.project b/plugins/org.eclipse.sirius.expression.dsl/.project deleted file mode 100644 index b1714351f..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.eclipse.sirius.expression.dsl - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - org.eclipse.xtext.ui.shared.xtextNature - - diff --git a/plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c020..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0c68a61dc..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/plugins/org.eclipse.sirius.expression.dsl/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.dsl/META-INF/MANIFEST.MF deleted file mode 100644 index 2cb5ed59e..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/META-INF/MANIFEST.MF +++ /dev/null @@ -1,31 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: org.eclipse.sirius.expression.dsl -Bundle-Vendor: My Company -Bundle-Version: 1.0.0.qualifier -Bundle-SymbolicName: org.eclipse.sirius.expression.dsl; singleton:=true -Bundle-ActivationPolicy: lazy -Require-Bundle: org.eclipse.xtext;visibility:=reexport, - org.eclipse.equinox.common;bundle-version="3.5.0", - org.eclipse.xtext.util, - org.eclipse.emf.ecore, - org.eclipse.emf.common, - org.eclipse.xtext.xbase.lib, - org.antlr.runtime, - org.eclipse.xtext.common.types, - org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional -Import-Package: org.apache.log4j -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: org.eclipse.sirius.expression.dsl, - org.eclipse.sirius.expression.dsl.services, - org.eclipse.sirius.expression.dsl.expressionDSL, - org.eclipse.sirius.expression.dsl.expressionDSL.impl, - org.eclipse.sirius.expression.dsl.expressionDSL.util, - org.eclipse.sirius.expression.dsl.serializer, - org.eclipse.sirius.expression.dsl.parser.antlr, - org.eclipse.sirius.expression.dsl.parser.antlr.internal, - org.eclipse.sirius.expression.dsl.validation, - org.eclipse.sirius.expression.dsl.scoping, - org.eclipse.sirius.expression.dsl.generator, - org.eclipse.sirius.expression.dsl.formatting - diff --git a/plugins/org.eclipse.sirius.expression.dsl/build.properties b/plugins/org.eclipse.sirius.expression.dsl/build.properties deleted file mode 100644 index f9e12dbbb..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/build.properties +++ /dev/null @@ -1,15 +0,0 @@ -source.. = src/,\ - src-gen/,\ - xtend-gen/ -bin.includes = model/,\ - META-INF/,\ - .,\ - plugin.xml -additional.bundles = org.eclipse.xtext.xbase,\ - org.eclipse.xtext.generator,\ - org.apache.commons.logging,\ - org.eclipse.emf.codegen.ecore,\ - org.eclipse.emf.mwe.utils,\ - org.eclipse.emf.mwe2.launch,\ - org.eclipse.xtext.common.types,\ - org.objectweb.asm \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.ecore b/plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.ecore deleted file mode 100644 index 2db5dcc89..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.ecore +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.genmodel b/plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.genmodel deleted file mode 100644 index e05bb9a1d..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/model/generated/ExpressionDSL.genmodel +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.dsl/plugin.xml b/plugins/org.eclipse.sirius.expression.dsl/plugin.xml deleted file mode 100644 index d00c53743..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/plugin.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.dsl/plugin.xml_gen b/plugins/org.eclipse.sirius.expression.dsl/plugin.xml_gen deleted file mode 100644 index d00c53743..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/plugin.xml_gen +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/AbstractExpressionDSLRuntimeModule.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/AbstractExpressionDSLRuntimeModule.java deleted file mode 100644 index 1899cdfde..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/AbstractExpressionDSLRuntimeModule.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl; - -import java.util.Properties; - -import org.eclipse.xtext.Constants; - -import com.google.inject.Binder; -import com.google.inject.name.Names; - -/** - * Manual modifications go to {org.eclipse.sirius.expression.dsl.ExpressionDSLRuntimeModule} - */ -@SuppressWarnings("all") -public abstract class AbstractExpressionDSLRuntimeModule extends org.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule { - - protected Properties properties = null; - - @Override - public void configure(Binder binder) { - properties = tryBindProperties(binder, "org/eclipse/sirius/expression/dsl/ExpressionDSL.properties"); - super.configure(binder); - } - - public void configureLanguageName(Binder binder) { - binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.sirius.expression.dsl.ExpressionDSL"); - } - - public void configureFileExtensions(Binder binder) { - if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) - binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("expressions"); - } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public java.lang.ClassLoader bindClassLoaderToInstance() { - return getClass().getClassLoader(); - } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public Class bindIGrammarAccess() { - return org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess.class; - } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISemanticSequencer() { - return org.eclipse.sirius.expression.dsl.serializer.ExpressionDSLSemanticSequencer.class; - } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISyntacticSequencer() { - return org.eclipse.sirius.expression.dsl.serializer.ExpressionDSLSyntacticSequencer.class; - } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISerializer() { - return org.eclipse.xtext.serializer.impl.Serializer.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIParser() { - return org.eclipse.sirius.expression.dsl.parser.antlr.ExpressionDSLParser.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindITokenToStringConverter() { - return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIAntlrTokenFileProvider() { - return org.eclipse.sirius.expression.dsl.parser.antlr.ExpressionDSLAntlrTokenFileProvider.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindLexer() { - return org.eclipse.sirius.expression.dsl.parser.antlr.internal.InternalExpressionDSLLexer.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public com.google.inject.Provider provideInternalExpressionDSLLexer() { - return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.sirius.expression.dsl.parser.antlr.internal.InternalExpressionDSLLexer.class); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureRuntimeLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.sirius.expression.dsl.parser.antlr.internal.InternalExpressionDSLLexer.class); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindITokenDefProvider() { - return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class; - } - - // contributed by org.eclipse.xtext.generator.validation.ValidatorFragment - @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class bindExpressionDSLValidator() { - return org.eclipse.sirius.expression.dsl.validation.ExpressionDSLValidator.class; - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public Class bindIScopeProvider() { - return org.eclipse.sirius.expression.dsl.scoping.ExpressionDSLScopeProvider.class; - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public void configureIScopeProviderDelegate(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.class); - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public void configureIgnoreCaseLinking(com.google.inject.Binder binder) { - binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false); - } - - // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment - public Class bindIQualifiedNameProvider() { - return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public Class bindIContainer$Manager() { - return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public Class bindIAllContainersState$Provider() { - return org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public void configureIResourceDescriptions(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); - } - - // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment - public Class bindIGenerator() { - return org.eclipse.sirius.expression.dsl.generator.ExpressionDSLGenerator.class; - } - - // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment - public Class bindIFormatter() { - return org.eclipse.sirius.expression.dsl.formatting.ExpressionDSLFormatter.class; - } - - // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment - public Class bindIGlobalScopeProvider() { - return org.eclipse.xtext.common.types.xtext.TypesAwareDefaultGlobalScopeProvider.class; - } - -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtextbin b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtextbin deleted file mode 100644 index a4c153d82..000000000 Binary files a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtextbin and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetupGenerated.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetupGenerated.java deleted file mode 100644 index f788c539e..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetupGenerated.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl; - -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.xtext.ISetup; - -import com.google.inject.Guice; -import com.google.inject.Injector; - -/** - * Generated from StandaloneSetup.xpt! - */ -@SuppressWarnings("all") -public class ExpressionDSLStandaloneSetupGenerated implements ISetup { - - @Override - public Injector createInjectorAndDoEMFRegistration() { - // register default ePackages - if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("ecore")) - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( - "ecore", new org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl()); - if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("xmi")) - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( - "xmi", new org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl()); - if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("xtextbin")) - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( - "xtextbin", new org.eclipse.xtext.resource.impl.BinaryGrammarResourceFactoryImpl()); - if (!EPackage.Registry.INSTANCE.containsKey(org.eclipse.xtext.XtextPackage.eNS_URI)) - EPackage.Registry.INSTANCE.put(org.eclipse.xtext.XtextPackage.eNS_URI, org.eclipse.xtext.XtextPackage.eINSTANCE); - - Injector injector = createInjector(); - register(injector); - return injector; - } - - public Injector createInjector() { - return Guice.createInjector(new org.eclipse.sirius.expression.dsl.ExpressionDSLRuntimeModule()); - } - - public void register(Injector injector) { - if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/sirius/expression/dsl/ExpressionDSL")) { - EPackage.Registry.INSTANCE.put("http://www.eclipse.org/sirius/expression/dsl/ExpressionDSL", org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage.eINSTANCE); - } - - org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); - org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("expressions", resourceFactory); - org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("expressions", serviceProvider); - - - - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLFactory.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLFactory.java deleted file mode 100644 index bab2b410c..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLFactory.java +++ /dev/null @@ -1,79 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage - * @generated - */ -public interface ExpressionDSLFactory extends EFactory -{ - /** - * The singleton instance of the factory. - * - * - * @generated - */ - ExpressionDSLFactory eINSTANCE = org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLFactoryImpl.init(); - - /** - * Returns a new object of class 'Sirius Expression Package'. - * - * - * @return a new object of class 'Sirius Expression Package'. - * @generated - */ - SiriusExpressionPackage createSiriusExpressionPackage(); - - /** - * Returns a new object of class 'Sirius Expression Class'. - * - * - * @return a new object of class 'Sirius Expression Class'. - * @generated - */ - SiriusExpressionClass createSiriusExpressionClass(); - - /** - * Returns a new object of class 'Sirius Variable'. - * - * - * @return a new object of class 'Sirius Variable'. - * @generated - */ - SiriusVariable createSiriusVariable(); - - /** - * Returns a new object of class 'Sirius Expression Description'. - * - * - * @return a new object of class 'Sirius Expression Description'. - * @generated - */ - SiriusExpressionDescription createSiriusExpressionDescription(); - - /** - * Returns a new object of class 'Parameter'. - * - * - * @return a new object of class 'Parameter'. - * @generated - */ - Parameter createParameter(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - ExpressionDSLPackage getExpressionDSLPackage(); - -} //ExpressionDSLFactory diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLPackage.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLPackage.java deleted file mode 100644 index fd21cef51..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/ExpressionDSLPackage.java +++ /dev/null @@ -1,728 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
      - *
    • each class,
    • - *
    • each feature of each class,
    • - *
    • each enum,
    • - *
    • and each data type
    • - *
    - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLFactory - * @model kind="package" - * @generated - */ -public interface ExpressionDSLPackage extends EPackage -{ - /** - * The package name. - * - * - * @generated - */ - String eNAME = "expressionDSL"; - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "http://www.eclipse.org/sirius/expression/dsl/ExpressionDSL"; - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "expressionDSL"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - ExpressionDSLPackage eINSTANCE = org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionPackageImpl Sirius Expression Package}' class. - * - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionPackageImpl - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusExpressionPackage() - * @generated - */ - int SIRIUS_EXPRESSION_PACKAGE = 0; - - /** - * The feature id for the 'EPackage' reference. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_PACKAGE__EPACKAGE = 0; - - /** - * The feature id for the 'Expression Classes' containment reference list. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES = 1; - - /** - * The number of structural features of the 'Sirius Expression Package' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_PACKAGE_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. - * - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionClassImpl - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusExpressionClass() - * @generated - */ - int SIRIUS_EXPRESSION_CLASS = 1; - - /** - * The feature id for the 'EClass' reference. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_CLASS__ECLASS = 0; - - /** - * The feature id for the 'Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_CLASS__VARIABLES = 1; - - /** - * The feature id for the 'Expression Descriptions' containment reference list. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = 2; - - /** - * The number of structural features of the 'Sirius Expression Class' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_CLASS_FEATURE_COUNT = 3; - - /** - * The meta object id for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusVariableImpl Sirius Variable}' class. - * - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusVariableImpl - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusVariable() - * @generated - */ - int SIRIUS_VARIABLE = 2; - - /** - * The feature id for the 'Documentation' attribute. - * - * - * @generated - * @ordered - */ - int SIRIUS_VARIABLE__DOCUMENTATION = 0; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int SIRIUS_VARIABLE__NAME = 1; - - /** - * The feature id for the 'EType' reference. - * - * - * @generated - * @ordered - */ - int SIRIUS_VARIABLE__ETYPE = 2; - - /** - * The number of structural features of the 'Sirius Variable' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_VARIABLE_FEATURE_COUNT = 3; - - /** - * The meta object id for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl Sirius Expression Description}' class. - * - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusExpressionDescription() - * @generated - */ - int SIRIUS_EXPRESSION_DESCRIPTION = 3; - - /** - * The feature id for the 'Expression' reference. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION = 0; - - /** - * The feature id for the 'Parameters' containment reference list. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS = 1; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_DESCRIPTION__TYPE = 2; - - /** - * The feature id for the 'Lower Bound' attribute. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND = 3; - - /** - * The feature id for the 'Upper Bound' attribute. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND = 4; - - /** - * The feature id for the 'Contextable Elements' reference list. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS = 5; - - /** - * The number of structural features of the 'Sirius Expression Description' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_DESCRIPTION_FEATURE_COUNT = 6; - - /** - * The meta object id for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.ParameterImpl Parameter}' class. - * - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ParameterImpl - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getParameter() - * @generated - */ - int PARAMETER = 4; - - /** - * The feature id for the 'Optional' attribute. - * - * - * @generated - * @ordered - */ - int PARAMETER__OPTIONAL = 0; - - /** - * The feature id for the 'Variable' reference. - * - * - * @generated - * @ordered - */ - int PARAMETER__VARIABLE = 1; - - /** - * The number of structural features of the 'Parameter' class. - * - * - * @generated - * @ordered - */ - int PARAMETER_FEATURE_COUNT = 2; - - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage Sirius Expression Package}'. - * - * - * @return the meta object for class 'Sirius Expression Package'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage - * @generated - */ - EClass getSiriusExpressionPackage(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage#getEPackage EPackage}'. - * - * - * @return the meta object for the reference 'EPackage'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage#getEPackage() - * @see #getSiriusExpressionPackage() - * @generated - */ - EReference getSiriusExpressionPackage_EPackage(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage#getExpressionClasses Expression Classes}'. - * - * - * @return the meta object for the containment reference list 'Expression Classes'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage#getExpressionClasses() - * @see #getSiriusExpressionPackage() - * @generated - */ - EReference getSiriusExpressionPackage_ExpressionClasses(); - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass Sirius Expression Class}'. - * - * - * @return the meta object for class 'Sirius Expression Class'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass - * @generated - */ - EClass getSiriusExpressionClass(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getEClass EClass}'. - * - * - * @return the meta object for the reference 'EClass'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getEClass() - * @see #getSiriusExpressionClass() - * @generated - */ - EReference getSiriusExpressionClass_EClass(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getVariables Variables}'. - * - * - * @return the meta object for the containment reference list 'Variables'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getVariables() - * @see #getSiriusExpressionClass() - * @generated - */ - EReference getSiriusExpressionClass_Variables(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getExpressionDescriptions Expression Descriptions}'. - * - * - * @return the meta object for the containment reference list 'Expression Descriptions'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getExpressionDescriptions() - * @see #getSiriusExpressionClass() - * @generated - */ - EReference getSiriusExpressionClass_ExpressionDescriptions(); - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable Sirius Variable}'. - * - * - * @return the meta object for class 'Sirius Variable'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable - * @generated - */ - EClass getSiriusVariable(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getDocumentation Documentation}'. - * - * - * @return the meta object for the attribute 'Documentation'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getDocumentation() - * @see #getSiriusVariable() - * @generated - */ - EAttribute getSiriusVariable_Documentation(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getName() - * @see #getSiriusVariable() - * @generated - */ - EAttribute getSiriusVariable_Name(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getEType EType}'. - * - * - * @return the meta object for the reference 'EType'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getEType() - * @see #getSiriusVariable() - * @generated - */ - EReference getSiriusVariable_EType(); - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription Sirius Expression Description}'. - * - * - * @return the meta object for class 'Sirius Expression Description'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription - * @generated - */ - EClass getSiriusExpressionDescription(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getExpression Expression}'. - * - * - * @return the meta object for the reference 'Expression'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getExpression() - * @see #getSiriusExpressionDescription() - * @generated - */ - EReference getSiriusExpressionDescription_Expression(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getParameters Parameters}'. - * - * - * @return the meta object for the containment reference list 'Parameters'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getParameters() - * @see #getSiriusExpressionDescription() - * @generated - */ - EReference getSiriusExpressionDescription_Parameters(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getType Type}'. - * - * - * @return the meta object for the reference 'Type'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getType() - * @see #getSiriusExpressionDescription() - * @generated - */ - EReference getSiriusExpressionDescription_Type(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getLowerBound Lower Bound}'. - * - * - * @return the meta object for the attribute 'Lower Bound'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getLowerBound() - * @see #getSiriusExpressionDescription() - * @generated - */ - EAttribute getSiriusExpressionDescription_LowerBound(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getUpperBound Upper Bound}'. - * - * - * @return the meta object for the attribute 'Upper Bound'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getUpperBound() - * @see #getSiriusExpressionDescription() - * @generated - */ - EAttribute getSiriusExpressionDescription_UpperBound(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getContextableElements Contextable Elements}'. - * - * - * @return the meta object for the reference list 'Contextable Elements'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getContextableElements() - * @see #getSiriusExpressionDescription() - * @generated - */ - EReference getSiriusExpressionDescription_ContextableElements(); - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter Parameter}'. - * - * - * @return the meta object for class 'Parameter'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.Parameter - * @generated - */ - EClass getParameter(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#isOptional Optional}'. - * - * - * @return the meta object for the attribute 'Optional'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#isOptional() - * @see #getParameter() - * @generated - */ - EAttribute getParameter_Optional(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#getVariable Variable}'. - * - * - * @return the meta object for the reference 'Variable'. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#getVariable() - * @see #getParameter() - * @generated - */ - EReference getParameter_Variable(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - ExpressionDSLFactory getExpressionDSLFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
      - *
    • each class,
    • - *
    • each feature of each class,
    • - *
    • each enum,
    • - *
    • and each data type
    • - *
    - * - * @generated - */ - interface Literals - { - /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionPackageImpl Sirius Expression Package}' class. - * - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionPackageImpl - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusExpressionPackage() - * @generated - */ - EClass SIRIUS_EXPRESSION_PACKAGE = eINSTANCE.getSiriusExpressionPackage(); - - /** - * The meta object literal for the 'EPackage' reference feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_PACKAGE__EPACKAGE = eINSTANCE.getSiriusExpressionPackage_EPackage(); - - /** - * The meta object literal for the 'Expression Classes' containment reference list feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES = eINSTANCE.getSiriusExpressionPackage_ExpressionClasses(); - - /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. - * - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionClassImpl - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusExpressionClass() - * @generated - */ - EClass SIRIUS_EXPRESSION_CLASS = eINSTANCE.getSiriusExpressionClass(); - - /** - * The meta object literal for the 'EClass' reference feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_CLASS__ECLASS = eINSTANCE.getSiriusExpressionClass_EClass(); - - /** - * The meta object literal for the 'Variables' containment reference list feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_CLASS__VARIABLES = eINSTANCE.getSiriusExpressionClass_Variables(); - - /** - * The meta object literal for the 'Expression Descriptions' containment reference list feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = eINSTANCE.getSiriusExpressionClass_ExpressionDescriptions(); - - /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusVariableImpl Sirius Variable}' class. - * - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusVariableImpl - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusVariable() - * @generated - */ - EClass SIRIUS_VARIABLE = eINSTANCE.getSiriusVariable(); - - /** - * The meta object literal for the 'Documentation' attribute feature. - * - * - * @generated - */ - EAttribute SIRIUS_VARIABLE__DOCUMENTATION = eINSTANCE.getSiriusVariable_Documentation(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute SIRIUS_VARIABLE__NAME = eINSTANCE.getSiriusVariable_Name(); - - /** - * The meta object literal for the 'EType' reference feature. - * - * - * @generated - */ - EReference SIRIUS_VARIABLE__ETYPE = eINSTANCE.getSiriusVariable_EType(); - - /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl Sirius Expression Description}' class. - * - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getSiriusExpressionDescription() - * @generated - */ - EClass SIRIUS_EXPRESSION_DESCRIPTION = eINSTANCE.getSiriusExpressionDescription(); - - /** - * The meta object literal for the 'Expression' reference feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION = eINSTANCE.getSiriusExpressionDescription_Expression(); - - /** - * The meta object literal for the 'Parameters' containment reference list feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS = eINSTANCE.getSiriusExpressionDescription_Parameters(); - - /** - * The meta object literal for the 'Type' reference feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_DESCRIPTION__TYPE = eINSTANCE.getSiriusExpressionDescription_Type(); - - /** - * The meta object literal for the 'Lower Bound' attribute feature. - * - * - * @generated - */ - EAttribute SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND = eINSTANCE.getSiriusExpressionDescription_LowerBound(); - - /** - * The meta object literal for the 'Upper Bound' attribute feature. - * - * - * @generated - */ - EAttribute SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND = eINSTANCE.getSiriusExpressionDescription_UpperBound(); - - /** - * The meta object literal for the 'Contextable Elements' reference list feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS = eINSTANCE.getSiriusExpressionDescription_ContextableElements(); - - /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.ParameterImpl Parameter}' class. - * - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ParameterImpl - * @see org.eclipse.sirius.expression.dsl.expressionDSL.impl.ExpressionDSLPackageImpl#getParameter() - * @generated - */ - EClass PARAMETER = eINSTANCE.getParameter(); - - /** - * The meta object literal for the 'Optional' attribute feature. - * - * - * @generated - */ - EAttribute PARAMETER__OPTIONAL = eINSTANCE.getParameter_Optional(); - - /** - * The meta object literal for the 'Variable' reference feature. - * - * - * @generated - */ - EReference PARAMETER__VARIABLE = eINSTANCE.getParameter_Variable(); - - } - -} //ExpressionDSLPackage diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/Parameter.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/Parameter.java deleted file mode 100644 index aca11f674..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/Parameter.java +++ /dev/null @@ -1,78 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Parameter'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#isOptional Optional}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#getVariable Variable}
    • - *
    - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getParameter() - * @model - * @generated - */ -public interface Parameter extends EObject -{ - /** - * Returns the value of the 'Optional' attribute. - * - *

    - * If the meaning of the 'Optional' attribute isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Optional' attribute. - * @see #setOptional(boolean) - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getParameter_Optional() - * @model - * @generated - */ - boolean isOptional(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#isOptional Optional}' attribute. - * - * - * @param value the new value of the 'Optional' attribute. - * @see #isOptional() - * @generated - */ - void setOptional(boolean value); - - /** - * Returns the value of the 'Variable' reference. - * - *

    - * If the meaning of the 'Variable' reference isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Variable' reference. - * @see #setVariable(SiriusVariable) - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getParameter_Variable() - * @model - * @generated - */ - SiriusVariable getVariable(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter#getVariable Variable}' reference. - * - * - * @param value the new value of the 'Variable' reference. - * @see #getVariable() - * @generated - */ - void setVariable(SiriusVariable value); - -} // Parameter diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionClass.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionClass.java deleted file mode 100644 index 1961e810a..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionClass.java +++ /dev/null @@ -1,88 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Sirius Expression Class'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getEClass EClass}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getVariables Variables}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getExpressionDescriptions Expression Descriptions}
    • - *
    - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionClass() - * @model - * @generated - */ -public interface SiriusExpressionClass extends EObject -{ - /** - * Returns the value of the 'EClass' reference. - * - *

    - * If the meaning of the 'EClass' reference isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'EClass' reference. - * @see #setEClass(EClass) - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionClass_EClass() - * @model - * @generated - */ - EClass getEClass(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass#getEClass EClass}' reference. - * - * - * @param value the new value of the 'EClass' reference. - * @see #getEClass() - * @generated - */ - void setEClass(EClass value); - - /** - * Returns the value of the 'Variables' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable}. - * - *

    - * If the meaning of the 'Variables' containment reference list isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Variables' containment reference list. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionClass_Variables() - * @model containment="true" - * @generated - */ - EList getVariables(); - - /** - * Returns the value of the 'Expression Descriptions' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription}. - * - *

    - * If the meaning of the 'Expression Descriptions' containment reference list isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Expression Descriptions' containment reference list. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionClass_ExpressionDescriptions() - * @model containment="true" - * @generated - */ - EList getExpressionDescriptions(); - -} // SiriusExpressionClass diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionDescription.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionDescription.java deleted file mode 100644 index 2e8575e48..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionDescription.java +++ /dev/null @@ -1,171 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Sirius Expression Description'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getExpression Expression}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getParameters Parameters}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getType Type}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getUpperBound Upper Bound}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getContextableElements Contextable Elements}
    • - *
    - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionDescription() - * @model - * @generated - */ -public interface SiriusExpressionDescription extends EObject -{ - /** - * Returns the value of the 'Expression' reference. - * - *

    - * If the meaning of the 'Expression' reference isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Expression' reference. - * @see #setExpression(EAttribute) - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionDescription_Expression() - * @model - * @generated - */ - EAttribute getExpression(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getExpression Expression}' reference. - * - * - * @param value the new value of the 'Expression' reference. - * @see #getExpression() - * @generated - */ - void setExpression(EAttribute value); - - /** - * Returns the value of the 'Parameters' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter}. - * - *

    - * If the meaning of the 'Parameters' containment reference list isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Parameters' containment reference list. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionDescription_Parameters() - * @model containment="true" - * @generated - */ - EList getParameters(); - - /** - * Returns the value of the 'Type' reference. - * - *

    - * If the meaning of the 'Type' reference isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Type' reference. - * @see #setType(EClassifier) - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionDescription_Type() - * @model - * @generated - */ - EClassifier getType(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getType Type}' reference. - * - * - * @param value the new value of the 'Type' reference. - * @see #getType() - * @generated - */ - void setType(EClassifier value); - - /** - * Returns the value of the 'Lower Bound' attribute. - * - *

    - * If the meaning of the 'Lower Bound' attribute isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Lower Bound' attribute. - * @see #setLowerBound(int) - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionDescription_LowerBound() - * @model - * @generated - */ - int getLowerBound(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getLowerBound Lower Bound}' attribute. - * - * - * @param value the new value of the 'Lower Bound' attribute. - * @see #getLowerBound() - * @generated - */ - void setLowerBound(int value); - - /** - * Returns the value of the 'Upper Bound' attribute. - * - *

    - * If the meaning of the 'Upper Bound' attribute isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Upper Bound' attribute. - * @see #setUpperBound(int) - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionDescription_UpperBound() - * @model - * @generated - */ - int getUpperBound(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription#getUpperBound Upper Bound}' attribute. - * - * - * @param value the new value of the 'Upper Bound' attribute. - * @see #getUpperBound() - * @generated - */ - void setUpperBound(int value); - - /** - * Returns the value of the 'Contextable Elements' reference list. - * The list contents are of type {@link org.eclipse.emf.ecore.EClass}. - * - *

    - * If the meaning of the 'Contextable Elements' reference list isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Contextable Elements' reference list. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionDescription_ContextableElements() - * @model - * @generated - */ - EList getContextableElements(); - -} // SiriusExpressionDescription diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionPackage.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionPackage.java deleted file mode 100644 index 71b9c2808..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusExpressionPackage.java +++ /dev/null @@ -1,71 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -/** - * - * A representation of the model object 'Sirius Expression Package'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage#getEPackage EPackage}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage#getExpressionClasses Expression Classes}
    • - *
    - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionPackage() - * @model - * @generated - */ -public interface SiriusExpressionPackage extends EObject -{ - /** - * Returns the value of the 'EPackage' reference. - * - *

    - * If the meaning of the 'EPackage' reference isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'EPackage' reference. - * @see #setEPackage(EPackage) - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionPackage_EPackage() - * @model - * @generated - */ - EPackage getEPackage(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage#getEPackage EPackage}' reference. - * - * - * @param value the new value of the 'EPackage' reference. - * @see #getEPackage() - * @generated - */ - void setEPackage(EPackage value); - - /** - * Returns the value of the 'Expression Classes' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass}. - * - *

    - * If the meaning of the 'Expression Classes' containment reference list isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Expression Classes' containment reference list. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusExpressionPackage_ExpressionClasses() - * @model containment="true" - * @generated - */ - EList getExpressionClasses(); - -} // SiriusExpressionPackage diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusVariable.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusVariable.java deleted file mode 100644 index 2c924a02d..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/SiriusVariable.java +++ /dev/null @@ -1,106 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL; - -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Sirius Variable'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getDocumentation Documentation}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getName Name}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getEType EType}
    • - *
    - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusVariable() - * @model - * @generated - */ -public interface SiriusVariable extends EObject -{ - /** - * Returns the value of the 'Documentation' attribute. - * - *

    - * If the meaning of the 'Documentation' attribute isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Documentation' attribute. - * @see #setDocumentation(String) - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusVariable_Documentation() - * @model - * @generated - */ - String getDocumentation(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getDocumentation Documentation}' attribute. - * - * - * @param value the new value of the 'Documentation' attribute. - * @see #getDocumentation() - * @generated - */ - void setDocumentation(String value); - - /** - * Returns the value of the 'Name' attribute. - * - *

    - * If the meaning of the 'Name' attribute isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusVariable_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'EType' reference. - * - *

    - * If the meaning of the 'EType' reference isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'EType' reference. - * @see #setEType(EClassifier) - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#getSiriusVariable_EType() - * @model - * @generated - */ - EClassifier getEType(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable#getEType EType}' reference. - * - * - * @param value the new value of the 'EType' reference. - * @see #getEType() - * @generated - */ - void setEType(EClassifier value); - -} // SiriusVariable diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLFactoryImpl.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLFactoryImpl.java deleted file mode 100644 index 1d7bf2dfd..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLFactoryImpl.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.sirius.expression.dsl.expressionDSL.*; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class ExpressionDSLFactoryImpl extends EFactoryImpl implements ExpressionDSLFactory -{ - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static ExpressionDSLFactory init() - { - try - { - ExpressionDSLFactory theExpressionDSLFactory = (ExpressionDSLFactory)EPackage.Registry.INSTANCE.getEFactory(ExpressionDSLPackage.eNS_URI); - if (theExpressionDSLFactory != null) - { - return theExpressionDSLFactory; - } - } - catch (Exception exception) - { - EcorePlugin.INSTANCE.log(exception); - } - return new ExpressionDSLFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public ExpressionDSLFactoryImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE: return createSiriusExpressionPackage(); - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS: return createSiriusExpressionClass(); - case ExpressionDSLPackage.SIRIUS_VARIABLE: return createSiriusVariable(); - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION: return createSiriusExpressionDescription(); - case ExpressionDSLPackage.PARAMETER: return createParameter(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - public SiriusExpressionPackage createSiriusExpressionPackage() - { - SiriusExpressionPackageImpl siriusExpressionPackage = new SiriusExpressionPackageImpl(); - return siriusExpressionPackage; - } - - /** - * - * - * @generated - */ - public SiriusExpressionClass createSiriusExpressionClass() - { - SiriusExpressionClassImpl siriusExpressionClass = new SiriusExpressionClassImpl(); - return siriusExpressionClass; - } - - /** - * - * - * @generated - */ - public SiriusVariable createSiriusVariable() - { - SiriusVariableImpl siriusVariable = new SiriusVariableImpl(); - return siriusVariable; - } - - /** - * - * - * @generated - */ - public SiriusExpressionDescription createSiriusExpressionDescription() - { - SiriusExpressionDescriptionImpl siriusExpressionDescription = new SiriusExpressionDescriptionImpl(); - return siriusExpressionDescription; - } - - /** - * - * - * @generated - */ - public Parameter createParameter() - { - ParameterImpl parameter = new ParameterImpl(); - return parameter; - } - - /** - * - * - * @generated - */ - public ExpressionDSLPackage getExpressionDSLPackage() - { - return (ExpressionDSLPackage)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static ExpressionDSLPackage getPackage() - { - return ExpressionDSLPackage.eINSTANCE; - } - -} //ExpressionDSLFactoryImpl diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLPackageImpl.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLPackageImpl.java deleted file mode 100644 index d2a0318b8..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ExpressionDSLPackageImpl.java +++ /dev/null @@ -1,461 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EcorePackage; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLFactory; -import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage; -import org.eclipse.sirius.expression.dsl.expressionDSL.Parameter; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class ExpressionDSLPackageImpl extends EPackageImpl implements ExpressionDSLPackage -{ - /** - * - * - * @generated - */ - private EClass siriusExpressionPackageEClass = null; - - /** - * - * - * @generated - */ - private EClass siriusExpressionClassEClass = null; - - /** - * - * - * @generated - */ - private EClass siriusVariableEClass = null; - - /** - * - * - * @generated - */ - private EClass siriusExpressionDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass parameterEClass = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

    Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage#eNS_URI - * @see #init() - * @generated - */ - private ExpressionDSLPackageImpl() - { - super(eNS_URI, ExpressionDSLFactory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

    This method is used to initialize {@link ExpressionDSLPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static ExpressionDSLPackage init() - { - if (isInited) return (ExpressionDSLPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionDSLPackage.eNS_URI); - - // Obtain or create and register package - ExpressionDSLPackageImpl theExpressionDSLPackage = (ExpressionDSLPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ExpressionDSLPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ExpressionDSLPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - EcorePackage.eINSTANCE.eClass(); - - // Create package meta-data objects - theExpressionDSLPackage.createPackageContents(); - - // Initialize created meta-data - theExpressionDSLPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theExpressionDSLPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(ExpressionDSLPackage.eNS_URI, theExpressionDSLPackage); - return theExpressionDSLPackage; - } - - /** - * - * - * @generated - */ - public EClass getSiriusExpressionPackage() - { - return siriusExpressionPackageEClass; - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionPackage_EPackage() - { - return (EReference)siriusExpressionPackageEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionPackage_ExpressionClasses() - { - return (EReference)siriusExpressionPackageEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getSiriusExpressionClass() - { - return siriusExpressionClassEClass; - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionClass_EClass() - { - return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionClass_Variables() - { - return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionClass_ExpressionDescriptions() - { - return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EClass getSiriusVariable() - { - return siriusVariableEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getSiriusVariable_Documentation() - { - return (EAttribute)siriusVariableEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getSiriusVariable_Name() - { - return (EAttribute)siriusVariableEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EReference getSiriusVariable_EType() - { - return (EReference)siriusVariableEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EClass getSiriusExpressionDescription() - { - return siriusExpressionDescriptionEClass; - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionDescription_Expression() - { - return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionDescription_Parameters() - { - return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionDescription_Type() - { - return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EAttribute getSiriusExpressionDescription_LowerBound() - { - return (EAttribute)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - public EAttribute getSiriusExpressionDescription_UpperBound() - { - return (EAttribute)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionDescription_ContextableElements() - { - return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - public EClass getParameter() - { - return parameterEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getParameter_Optional() - { - return (EAttribute)parameterEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getParameter_Variable() - { - return (EReference)parameterEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public ExpressionDSLFactory getExpressionDSLFactory() - { - return (ExpressionDSLFactory)getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() - { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - siriusExpressionPackageEClass = createEClass(SIRIUS_EXPRESSION_PACKAGE); - createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EPACKAGE); - createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); - - siriusExpressionClassEClass = createEClass(SIRIUS_EXPRESSION_CLASS); - createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__ECLASS); - createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__VARIABLES); - createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); - - siriusVariableEClass = createEClass(SIRIUS_VARIABLE); - createEAttribute(siriusVariableEClass, SIRIUS_VARIABLE__DOCUMENTATION); - createEAttribute(siriusVariableEClass, SIRIUS_VARIABLE__NAME); - createEReference(siriusVariableEClass, SIRIUS_VARIABLE__ETYPE); - - siriusExpressionDescriptionEClass = createEClass(SIRIUS_EXPRESSION_DESCRIPTION); - createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION); - createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS); - createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__TYPE); - createEAttribute(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND); - createEAttribute(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND); - createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS); - - parameterEClass = createEClass(PARAMETER); - createEAttribute(parameterEClass, PARAMETER__OPTIONAL); - createEReference(parameterEClass, PARAMETER__VARIABLE); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() - { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes and features; add operations and parameters - initEClass(siriusExpressionPackageEClass, SiriusExpressionPackage.class, "SiriusExpressionPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getSiriusExpressionPackage_EPackage(), theEcorePackage.getEPackage(), null, "ePackage", null, 0, 1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getSiriusExpressionPackage_ExpressionClasses(), this.getSiriusExpressionClass(), null, "expressionClasses", null, 0, -1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(siriusExpressionClassEClass, SiriusExpressionClass.class, "SiriusExpressionClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getSiriusExpressionClass_EClass(), theEcorePackage.getEClass(), null, "eClass", null, 0, 1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getSiriusExpressionClass_Variables(), this.getSiriusVariable(), null, "variables", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getSiriusExpressionClass_ExpressionDescriptions(), this.getSiriusExpressionDescription(), null, "expressionDescriptions", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(siriusVariableEClass, SiriusVariable.class, "SiriusVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSiriusVariable_Documentation(), theEcorePackage.getEString(), "documentation", null, 0, 1, SiriusVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSiriusVariable_Name(), theEcorePackage.getEString(), "name", null, 0, 1, SiriusVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getSiriusVariable_EType(), theEcorePackage.getEClassifier(), null, "eType", null, 0, 1, SiriusVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(siriusExpressionDescriptionEClass, SiriusExpressionDescription.class, "SiriusExpressionDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getSiriusExpressionDescription_Expression(), theEcorePackage.getEAttribute(), null, "expression", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getSiriusExpressionDescription_Parameters(), this.getParameter(), null, "parameters", null, 0, -1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getSiriusExpressionDescription_Type(), theEcorePackage.getEClassifier(), null, "type", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSiriusExpressionDescription_LowerBound(), theEcorePackage.getEInt(), "lowerBound", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSiriusExpressionDescription_UpperBound(), theEcorePackage.getEInt(), "upperBound", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getSiriusExpressionDescription_ContextableElements(), theEcorePackage.getEClass(), null, "contextableElements", null, 0, -1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(parameterEClass, Parameter.class, "Parameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getParameter_Optional(), theEcorePackage.getEBoolean(), "optional", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getParameter_Variable(), this.getSiriusVariable(), null, "variable", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Create resource - createResource(eNS_URI); - } - -} //ExpressionDSLPackageImpl diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ParameterImpl.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ParameterImpl.java deleted file mode 100644 index 8eb0431c7..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/ParameterImpl.java +++ /dev/null @@ -1,244 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage; -import org.eclipse.sirius.expression.dsl.expressionDSL.Parameter; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable; - -/** - * - * An implementation of the model object 'Parameter'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.ParameterImpl#isOptional Optional}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.ParameterImpl#getVariable Variable}
    • - *
    - * - * @generated - */ -public class ParameterImpl extends MinimalEObjectImpl.Container implements Parameter -{ - /** - * The default value of the '{@link #isOptional() Optional}' attribute. - * - * - * @see #isOptional() - * @generated - * @ordered - */ - protected static final boolean OPTIONAL_EDEFAULT = false; - - /** - * The cached value of the '{@link #isOptional() Optional}' attribute. - * - * - * @see #isOptional() - * @generated - * @ordered - */ - protected boolean optional = OPTIONAL_EDEFAULT; - - /** - * The cached value of the '{@link #getVariable() Variable}' reference. - * - * - * @see #getVariable() - * @generated - * @ordered - */ - protected SiriusVariable variable; - - /** - * - * - * @generated - */ - protected ParameterImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ExpressionDSLPackage.Literals.PARAMETER; - } - - /** - * - * - * @generated - */ - public boolean isOptional() - { - return optional; - } - - /** - * - * - * @generated - */ - public void setOptional(boolean newOptional) - { - boolean oldOptional = optional; - optional = newOptional; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.PARAMETER__OPTIONAL, oldOptional, optional)); - } - - /** - * - * - * @generated - */ - public SiriusVariable getVariable() - { - if (variable != null && variable.eIsProxy()) - { - InternalEObject oldVariable = (InternalEObject)variable; - variable = (SiriusVariable)eResolveProxy(oldVariable); - if (variable != oldVariable) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionDSLPackage.PARAMETER__VARIABLE, oldVariable, variable)); - } - } - return variable; - } - - /** - * - * - * @generated - */ - public SiriusVariable basicGetVariable() - { - return variable; - } - - /** - * - * - * @generated - */ - public void setVariable(SiriusVariable newVariable) - { - SiriusVariable oldVariable = variable; - variable = newVariable; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.PARAMETER__VARIABLE, oldVariable, variable)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ExpressionDSLPackage.PARAMETER__OPTIONAL: - return isOptional(); - case ExpressionDSLPackage.PARAMETER__VARIABLE: - if (resolve) return getVariable(); - return basicGetVariable(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ExpressionDSLPackage.PARAMETER__OPTIONAL: - setOptional((Boolean)newValue); - return; - case ExpressionDSLPackage.PARAMETER__VARIABLE: - setVariable((SiriusVariable)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ExpressionDSLPackage.PARAMETER__OPTIONAL: - setOptional(OPTIONAL_EDEFAULT); - return; - case ExpressionDSLPackage.PARAMETER__VARIABLE: - setVariable((SiriusVariable)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ExpressionDSLPackage.PARAMETER__OPTIONAL: - return optional != OPTIONAL_EDEFAULT; - case ExpressionDSLPackage.PARAMETER__VARIABLE: - return variable != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (optional: "); - result.append(optional); - result.append(')'); - return result.toString(); - } - -} //ParameterImpl diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionClassImpl.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionClassImpl.java deleted file mode 100644 index 83901d258..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionClassImpl.java +++ /dev/null @@ -1,273 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable; - -/** - * - * An implementation of the model object 'Sirius Expression Class'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionClassImpl#getEClass EClass}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionClassImpl#getVariables Variables}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionClassImpl#getExpressionDescriptions Expression Descriptions}
    • - *
    - * - * @generated - */ -public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container implements SiriusExpressionClass -{ - /** - * The cached value of the '{@link #getEClass() EClass}' reference. - * - * - * @see #getEClass() - * @generated - * @ordered - */ - protected EClass eClass; - - /** - * The cached value of the '{@link #getVariables() Variables}' containment reference list. - * - * - * @see #getVariables() - * @generated - * @ordered - */ - protected EList variables; - - /** - * The cached value of the '{@link #getExpressionDescriptions() Expression Descriptions}' containment reference list. - * - * - * @see #getExpressionDescriptions() - * @generated - * @ordered - */ - protected EList expressionDescriptions; - - /** - * - * - * @generated - */ - protected SiriusExpressionClassImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ExpressionDSLPackage.Literals.SIRIUS_EXPRESSION_CLASS; - } - - /** - * - * - * @generated - */ - public EClass getEClass() - { - if (eClass != null && eClass.eIsProxy()) - { - InternalEObject oldEClass = (InternalEObject)eClass; - eClass = (EClass)eResolveProxy(oldEClass); - if (eClass != oldEClass) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__ECLASS, oldEClass, eClass)); - } - } - return eClass; - } - - /** - * - * - * @generated - */ - public EClass basicGetEClass() - { - return eClass; - } - - /** - * - * - * @generated - */ - public void setEClass(EClass newEClass) - { - EClass oldEClass = eClass; - eClass = newEClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__ECLASS, oldEClass, eClass)); - } - - /** - * - * - * @generated - */ - public EList getVariables() - { - if (variables == null) - { - variables = new EObjectContainmentEList(SiriusVariable.class, this, ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES); - } - return variables; - } - - /** - * - * - * @generated - */ - public EList getExpressionDescriptions() - { - if (expressionDescriptions == null) - { - expressionDescriptions = new EObjectContainmentEList(SiriusExpressionDescription.class, this, ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); - } - return expressionDescriptions; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - return ((InternalEList)getVariables()).basicRemove(otherEnd, msgs); - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - return ((InternalEList)getExpressionDescriptions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: - if (resolve) return getEClass(); - return basicGetEClass(); - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - return getVariables(); - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - return getExpressionDescriptions(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: - setEClass((EClass)newValue); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - getVariables().clear(); - getVariables().addAll((Collection)newValue); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - getExpressionDescriptions().clear(); - getExpressionDescriptions().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: - setEClass((EClass)null); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - getVariables().clear(); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - getExpressionDescriptions().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: - return eClass != null; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - return variables != null && !variables.isEmpty(); - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - return expressionDescriptions != null && !expressionDescriptions.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //SiriusExpressionClassImpl diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionDescriptionImpl.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionDescriptionImpl.java deleted file mode 100644 index 7bd7a9fba..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionDescriptionImpl.java +++ /dev/null @@ -1,465 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage; -import org.eclipse.sirius.expression.dsl.expressionDSL.Parameter; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription; - -/** - * - * An implementation of the model object 'Sirius Expression Description'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl#getExpression Expression}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl#getParameters Parameters}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl#getType Type}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl#getUpperBound Upper Bound}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionDescriptionImpl#getContextableElements Contextable Elements}
    • - *
    - * - * @generated - */ -public class SiriusExpressionDescriptionImpl extends MinimalEObjectImpl.Container implements SiriusExpressionDescription -{ - /** - * The cached value of the '{@link #getExpression() Expression}' reference. - * - * - * @see #getExpression() - * @generated - * @ordered - */ - protected EAttribute expression; - - /** - * The cached value of the '{@link #getParameters() Parameters}' containment reference list. - * - * - * @see #getParameters() - * @generated - * @ordered - */ - protected EList parameters; - - /** - * The cached value of the '{@link #getType() Type}' reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected EClassifier type; - - /** - * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected static final int LOWER_BOUND_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected int lowerBound = LOWER_BOUND_EDEFAULT; - - /** - * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected static final int UPPER_BOUND_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected int upperBound = UPPER_BOUND_EDEFAULT; - - /** - * The cached value of the '{@link #getContextableElements() Contextable Elements}' reference list. - * - * - * @see #getContextableElements() - * @generated - * @ordered - */ - protected EList contextableElements; - - /** - * - * - * @generated - */ - protected SiriusExpressionDescriptionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ExpressionDSLPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION; - } - - /** - * - * - * @generated - */ - public EAttribute getExpression() - { - if (expression != null && expression.eIsProxy()) - { - InternalEObject oldExpression = (InternalEObject)expression; - expression = (EAttribute)eResolveProxy(oldExpression); - if (expression != oldExpression) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); - } - } - return expression; - } - - /** - * - * - * @generated - */ - public EAttribute basicGetExpression() - { - return expression; - } - - /** - * - * - * @generated - */ - public void setExpression(EAttribute newExpression) - { - EAttribute oldExpression = expression; - expression = newExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); - } - - /** - * - * - * @generated - */ - public EList getParameters() - { - if (parameters == null) - { - parameters = new EObjectContainmentEList(Parameter.class, this, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS); - } - return parameters; - } - - /** - * - * - * @generated - */ - public EClassifier getType() - { - if (type != null && type.eIsProxy()) - { - InternalEObject oldType = (InternalEObject)type; - type = (EClassifier)eResolveProxy(oldType); - if (type != oldType) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__TYPE, oldType, type)); - } - } - return type; - } - - /** - * - * - * @generated - */ - public EClassifier basicGetType() - { - return type; - } - - /** - * - * - * @generated - */ - public void setType(EClassifier newType) - { - EClassifier oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - public int getLowerBound() - { - return lowerBound; - } - - /** - * - * - * @generated - */ - public void setLowerBound(int newLowerBound) - { - int oldLowerBound = lowerBound; - lowerBound = newLowerBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND, oldLowerBound, lowerBound)); - } - - /** - * - * - * @generated - */ - public int getUpperBound() - { - return upperBound; - } - - /** - * - * - * @generated - */ - public void setUpperBound(int newUpperBound) - { - int oldUpperBound = upperBound; - upperBound = newUpperBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND, oldUpperBound, upperBound)); - } - - /** - * - * - * @generated - */ - public EList getContextableElements() - { - if (contextableElements == null) - { - contextableElements = new EObjectResolvingEList(EClass.class, this, ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS); - } - return contextableElements; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: - return ((InternalEList)getParameters()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: - if (resolve) return getExpression(); - return basicGetExpression(); - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: - return getParameters(); - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__TYPE: - if (resolve) return getType(); - return basicGetType(); - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: - return getLowerBound(); - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: - return getUpperBound(); - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: - return getContextableElements(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: - setExpression((EAttribute)newValue); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: - getParameters().clear(); - getParameters().addAll((Collection)newValue); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__TYPE: - setType((EClassifier)newValue); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: - setLowerBound((Integer)newValue); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: - setUpperBound((Integer)newValue); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: - getContextableElements().clear(); - getContextableElements().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: - setExpression((EAttribute)null); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: - getParameters().clear(); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__TYPE: - setType((EClassifier)null); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: - setLowerBound(LOWER_BOUND_EDEFAULT); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: - setUpperBound(UPPER_BOUND_EDEFAULT); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: - getContextableElements().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: - return expression != null; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: - return parameters != null && !parameters.isEmpty(); - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__TYPE: - return type != null; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: - return lowerBound != LOWER_BOUND_EDEFAULT; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: - return upperBound != UPPER_BOUND_EDEFAULT; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: - return contextableElements != null && !contextableElements.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (lowerBound: "); - result.append(lowerBound); - result.append(", upperBound: "); - result.append(upperBound); - result.append(')'); - return result.toString(); - } - -} //SiriusExpressionDescriptionImpl diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionPackageImpl.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionPackageImpl.java deleted file mode 100644 index a8504f1e4..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusExpressionPackageImpl.java +++ /dev/null @@ -1,235 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage; - -/** - * - * An implementation of the model object 'Sirius Expression Package'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionPackageImpl#getEPackage EPackage}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusExpressionPackageImpl#getExpressionClasses Expression Classes}
    • - *
    - * - * @generated - */ -public class SiriusExpressionPackageImpl extends MinimalEObjectImpl.Container implements SiriusExpressionPackage -{ - /** - * The cached value of the '{@link #getEPackage() EPackage}' reference. - * - * - * @see #getEPackage() - * @generated - * @ordered - */ - protected EPackage ePackage; - - /** - * The cached value of the '{@link #getExpressionClasses() Expression Classes}' containment reference list. - * - * - * @see #getExpressionClasses() - * @generated - * @ordered - */ - protected EList expressionClasses; - - /** - * - * - * @generated - */ - protected SiriusExpressionPackageImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ExpressionDSLPackage.Literals.SIRIUS_EXPRESSION_PACKAGE; - } - - /** - * - * - * @generated - */ - public EPackage getEPackage() - { - if (ePackage != null && ePackage.eIsProxy()) - { - InternalEObject oldEPackage = (InternalEObject)ePackage; - ePackage = (EPackage)eResolveProxy(oldEPackage); - if (ePackage != oldEPackage) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, oldEPackage, ePackage)); - } - } - return ePackage; - } - - /** - * - * - * @generated - */ - public EPackage basicGetEPackage() - { - return ePackage; - } - - /** - * - * - * @generated - */ - public void setEPackage(EPackage newEPackage) - { - EPackage oldEPackage = ePackage; - ePackage = newEPackage; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, oldEPackage, ePackage)); - } - - /** - * - * - * @generated - */ - public EList getExpressionClasses() - { - if (expressionClasses == null) - { - expressionClasses = new EObjectContainmentEList(SiriusExpressionClass.class, this, ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); - } - return expressionClasses; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - return ((InternalEList)getExpressionClasses()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: - if (resolve) return getEPackage(); - return basicGetEPackage(); - case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - return getExpressionClasses(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: - setEPackage((EPackage)newValue); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - getExpressionClasses().clear(); - getExpressionClasses().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: - setEPackage((EPackage)null); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - getExpressionClasses().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: - return ePackage != null; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - return expressionClasses != null && !expressionClasses.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //SiriusExpressionPackageImpl diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusVariableImpl.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusVariableImpl.java deleted file mode 100644 index 6dd2206dd..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/impl/SiriusVariableImpl.java +++ /dev/null @@ -1,300 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable; - -/** - * - * An implementation of the model object 'Sirius Variable'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusVariableImpl#getDocumentation Documentation}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusVariableImpl#getName Name}
    • - *
    • {@link org.eclipse.sirius.expression.dsl.expressionDSL.impl.SiriusVariableImpl#getEType EType}
    • - *
    - * - * @generated - */ -public class SiriusVariableImpl extends MinimalEObjectImpl.Container implements SiriusVariable -{ - /** - * The default value of the '{@link #getDocumentation() Documentation}' attribute. - * - * - * @see #getDocumentation() - * @generated - * @ordered - */ - protected static final String DOCUMENTATION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDocumentation() Documentation}' attribute. - * - * - * @see #getDocumentation() - * @generated - * @ordered - */ - protected String documentation = DOCUMENTATION_EDEFAULT; - - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getEType() EType}' reference. - * - * - * @see #getEType() - * @generated - * @ordered - */ - protected EClassifier eType; - - /** - * - * - * @generated - */ - protected SiriusVariableImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ExpressionDSLPackage.Literals.SIRIUS_VARIABLE; - } - - /** - * - * - * @generated - */ - public String getDocumentation() - { - return documentation; - } - - /** - * - * - * @generated - */ - public void setDocumentation(String newDocumentation) - { - String oldDocumentation = documentation; - documentation = newDocumentation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_VARIABLE__DOCUMENTATION, oldDocumentation, documentation)); - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public void setName(String newName) - { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_VARIABLE__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - public EClassifier getEType() - { - if (eType != null && eType.eIsProxy()) - { - InternalEObject oldEType = (InternalEObject)eType; - eType = (EClassifier)eResolveProxy(oldEType); - if (eType != oldEType) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionDSLPackage.SIRIUS_VARIABLE__ETYPE, oldEType, eType)); - } - } - return eType; - } - - /** - * - * - * @generated - */ - public EClassifier basicGetEType() - { - return eType; - } - - /** - * - * - * @generated - */ - public void setEType(EClassifier newEType) - { - EClassifier oldEType = eType; - eType = newEType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionDSLPackage.SIRIUS_VARIABLE__ETYPE, oldEType, eType)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_VARIABLE__DOCUMENTATION: - return getDocumentation(); - case ExpressionDSLPackage.SIRIUS_VARIABLE__NAME: - return getName(); - case ExpressionDSLPackage.SIRIUS_VARIABLE__ETYPE: - if (resolve) return getEType(); - return basicGetEType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_VARIABLE__DOCUMENTATION: - setDocumentation((String)newValue); - return; - case ExpressionDSLPackage.SIRIUS_VARIABLE__NAME: - setName((String)newValue); - return; - case ExpressionDSLPackage.SIRIUS_VARIABLE__ETYPE: - setEType((EClassifier)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_VARIABLE__DOCUMENTATION: - setDocumentation(DOCUMENTATION_EDEFAULT); - return; - case ExpressionDSLPackage.SIRIUS_VARIABLE__NAME: - setName(NAME_EDEFAULT); - return; - case ExpressionDSLPackage.SIRIUS_VARIABLE__ETYPE: - setEType((EClassifier)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ExpressionDSLPackage.SIRIUS_VARIABLE__DOCUMENTATION: - return DOCUMENTATION_EDEFAULT == null ? documentation != null : !DOCUMENTATION_EDEFAULT.equals(documentation); - case ExpressionDSLPackage.SIRIUS_VARIABLE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case ExpressionDSLPackage.SIRIUS_VARIABLE__ETYPE: - return eType != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (documentation: "); - result.append(documentation); - result.append(", name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //SiriusVariableImpl diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLAdapterFactory.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLAdapterFactory.java deleted file mode 100644 index 1549db6e1..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLAdapterFactory.java +++ /dev/null @@ -1,212 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.sirius.expression.dsl.expressionDSL.*; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage - * @generated - */ -public class ExpressionDSLAdapterFactory extends AdapterFactoryImpl -{ - /** - * The cached model package. - * - * - * @generated - */ - protected static ExpressionDSLPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public ExpressionDSLAdapterFactory() - { - if (modelPackage == null) - { - modelPackage = ExpressionDSLPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) - { - if (object == modelPackage) - { - return true; - } - if (object instanceof EObject) - { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected ExpressionDSLSwitch modelSwitch = - new ExpressionDSLSwitch() - { - @Override - public Adapter caseSiriusExpressionPackage(SiriusExpressionPackage object) - { - return createSiriusExpressionPackageAdapter(); - } - @Override - public Adapter caseSiriusExpressionClass(SiriusExpressionClass object) - { - return createSiriusExpressionClassAdapter(); - } - @Override - public Adapter caseSiriusVariable(SiriusVariable object) - { - return createSiriusVariableAdapter(); - } - @Override - public Adapter caseSiriusExpressionDescription(SiriusExpressionDescription object) - { - return createSiriusExpressionDescriptionAdapter(); - } - @Override - public Adapter caseParameter(Parameter object) - { - return createParameterAdapter(); - } - @Override - public Adapter defaultCase(EObject object) - { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) - { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage Sirius Expression Package}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage - * @generated - */ - public Adapter createSiriusExpressionPackageAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass Sirius Expression Class}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass - * @generated - */ - public Adapter createSiriusExpressionClassAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable Sirius Variable}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable - * @generated - */ - public Adapter createSiriusVariableAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription Sirius Expression Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription - * @generated - */ - public Adapter createSiriusExpressionDescriptionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.dsl.expressionDSL.Parameter Parameter}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.expression.dsl.expressionDSL.Parameter - * @generated - */ - public Adapter createParameterAdapter() - { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() - { - return null; - } - -} //ExpressionDSLAdapterFactory diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLSwitch.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLSwitch.java deleted file mode 100644 index d9ecaa524..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/expressionDSL/util/ExpressionDSLSwitch.java +++ /dev/null @@ -1,211 +0,0 @@ -/** - */ -package org.eclipse.sirius.expression.dsl.expressionDSL.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.sirius.expression.dsl.expressionDSL.*; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage - * @generated - */ -public class ExpressionDSLSwitch extends Switch -{ - /** - * The cached model package - * - * - * @generated - */ - protected static ExpressionDSLPackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public ExpressionDSLSwitch() - { - if (modelPackage == null) - { - modelPackage = ExpressionDSLPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) - { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) - { - switch (classifierID) - { - case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE: - { - SiriusExpressionPackage siriusExpressionPackage = (SiriusExpressionPackage)theEObject; - T result = caseSiriusExpressionPackage(siriusExpressionPackage); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS: - { - SiriusExpressionClass siriusExpressionClass = (SiriusExpressionClass)theEObject; - T result = caseSiriusExpressionClass(siriusExpressionClass); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ExpressionDSLPackage.SIRIUS_VARIABLE: - { - SiriusVariable siriusVariable = (SiriusVariable)theEObject; - T result = caseSiriusVariable(siriusVariable); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION: - { - SiriusExpressionDescription siriusExpressionDescription = (SiriusExpressionDescription)theEObject; - T result = caseSiriusExpressionDescription(siriusExpressionDescription); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ExpressionDSLPackage.PARAMETER: - { - Parameter parameter = (Parameter)theEObject; - T result = caseParameter(parameter); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Sirius Expression Package'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Sirius Expression Package'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSiriusExpressionPackage(SiriusExpressionPackage object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Sirius Expression Class'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Sirius Expression Class'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSiriusExpressionClass(SiriusExpressionClass object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Sirius Variable'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Sirius Variable'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSiriusVariable(SiriusVariable object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Sirius Expression Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Sirius Expression Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSiriusExpressionDescription(SiriusExpressionDescription object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Parameter'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Parameter'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseParameter(Parameter object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) - { - return null; - } - -} //ExpressionDSLSwitch diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLAntlrTokenFileProvider.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLAntlrTokenFileProvider.java deleted file mode 100644 index 7e4a23621..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLAntlrTokenFileProvider.java +++ /dev/null @@ -1,16 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.parser.antlr; - -import java.io.InputStream; -import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; - -public class ExpressionDSLAntlrTokenFileProvider implements IAntlrTokenFileProvider { - - @Override - public InputStream getAntlrTokenFile() { - ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.tokens"); - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLParser.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLParser.java deleted file mode 100644 index ecb44c282..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/ExpressionDSLParser.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.parser.antlr; - -import com.google.inject.Inject; - -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess; - -public class ExpressionDSLParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { - - @Inject - private ExpressionDSLGrammarAccess grammarAccess; - - @Override - protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { - tokenStream.setInitialHiddenTokens("RULE_WS"); - } - - @Override - protected org.eclipse.sirius.expression.dsl.parser.antlr.internal.InternalExpressionDSLParser createParser(XtextTokenStream stream) { - return new org.eclipse.sirius.expression.dsl.parser.antlr.internal.InternalExpressionDSLParser(stream, getGrammarAccess()); - } - - @Override - protected String getDefaultRuleName() { - return "SiriusExpressionPackage"; - } - - public ExpressionDSLGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(ExpressionDSLGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.g b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.g deleted file mode 100644 index 55a994465..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.g +++ /dev/null @@ -1,643 +0,0 @@ -/* - * generated by Xtext - */ -grammar InternalExpressionDSL; - -options { - superClass=AbstractInternalAntlrParser; - -} - -@lexer::header { -package org.eclipse.sirius.expression.dsl.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; -} - -@parser::header { -package org.eclipse.sirius.expression.dsl.parser.antlr.internal; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; -import org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess; - -} - -@parser::members { - - private ExpressionDSLGrammarAccess grammarAccess; - - public InternalExpressionDSLParser(TokenStream input, ExpressionDSLGrammarAccess grammarAccess) { - this(input); - this.grammarAccess = grammarAccess; - registerRules(grammarAccess.getGrammar()); - } - - @Override - protected String getFirstRuleName() { - return "SiriusExpressionPackage"; - } - - @Override - protected ExpressionDSLGrammarAccess getGrammarAccess() { - return grammarAccess; - } -} - -@rulecatch { - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } -} - - - - -// Entry rule entryRuleSiriusExpressionPackage -entryRuleSiriusExpressionPackage returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getSiriusExpressionPackageRule()); } - iv_ruleSiriusExpressionPackage=ruleSiriusExpressionPackage - { $current=$iv_ruleSiriusExpressionPackage.current; } - EOF -; - -// Rule SiriusExpressionPackage -ruleSiriusExpressionPackage returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='package' - { - newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusExpressionPackageRule()); - } - } - { - newCompositeNode(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); - } - ruleFQN { - afterParserOrEnumRuleCall(); - } - -) -) otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); - } -( -( - { - newCompositeNode(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); - } - lv_expressionClasses_3_0=ruleSiriusExpressionClass { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSiriusExpressionPackageRule()); - } - add( - $current, - "expressionClasses", - lv_expressionClasses_3_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusExpressionClass"); - afterParserOrEnumRuleCall(); - } - -) -)* otherlv_4='}' - { - newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); - } -) -; - - - - - -// Entry rule entryRuleSiriusExpressionClass -entryRuleSiriusExpressionClass returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getSiriusExpressionClassRule()); } - iv_ruleSiriusExpressionClass=ruleSiriusExpressionClass - { $current=$iv_ruleSiriusExpressionClass.current; } - EOF -; - -// Rule SiriusExpressionClass -ruleSiriusExpressionClass returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='class' - { - newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusExpressionClassRule()); - } - } - { - newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); - } - ruleFQN { - afterParserOrEnumRuleCall(); - } - -) -) otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); - } -( -( - { - newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); - } - lv_variables_3_0=ruleSiriusVariable { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); - } - add( - $current, - "variables", - lv_variables_3_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusVariable"); - afterParserOrEnumRuleCall(); - } - -) -)*( -( - { - newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); - } - lv_expressionDescriptions_4_0=ruleSiriusExpressionDescription { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); - } - add( - $current, - "expressionDescriptions", - lv_expressionDescriptions_4_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusExpressionDescription"); - afterParserOrEnumRuleCall(); - } - -) -)* otherlv_5='}' - { - newLeafNode(otherlv_5, grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); - } -) -; - - - - - -// Entry rule entryRuleSiriusVariable -entryRuleSiriusVariable returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getSiriusVariableRule()); } - iv_ruleSiriusVariable=ruleSiriusVariable - { $current=$iv_ruleSiriusVariable.current; } - EOF -; - -// Rule SiriusVariable -ruleSiriusVariable returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - lv_documentation_0_0=RULE_ML_COMMENT - { - newLeafNode(lv_documentation_0_0, grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusVariableRule()); - } - setWithLastConsumed( - $current, - "documentation", - lv_documentation_0_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.ML_COMMENT"); - } - -) -)? otherlv_1='var' - { - newLeafNode(otherlv_1, grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); - } -( -( - lv_name_2_0=RULE_ID - { - newLeafNode(lv_name_2_0, grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusVariableRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_2_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.ID"); - } - -) -) otherlv_3=':' - { - newLeafNode(otherlv_3, grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusVariableRule()); - } - } - { - newCompositeNode(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); - } - ruleFQN { - afterParserOrEnumRuleCall(); - } - -) -)) -; - - - - - -// Entry rule entryRuleFQN -entryRuleFQN returns [String current=null] - : - { newCompositeNode(grammarAccess.getFQNRule()); } - iv_ruleFQN=ruleFQN - { $current=$iv_ruleFQN.current.getText(); } - EOF -; - -// Rule FQN -ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: -( this_ID_0=RULE_ID { - $current.merge(this_ID_0); - } - - { - newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); - } -( - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); - } - this_ID_2=RULE_ID { - $current.merge(this_ID_2); - } - - { - newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); - } -)*) - ; - - - - - -// Entry rule entryRuleSiriusExpressionDescription -entryRuleSiriusExpressionDescription returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getSiriusExpressionDescriptionRule()); } - iv_ruleSiriusExpressionDescription=ruleSiriusExpressionDescription - { $current=$iv_ruleSiriusExpressionDescription.current; } - EOF -; - -// Rule SiriusExpressionDescription -ruleSiriusExpressionDescription returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='exp' - { - newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - } - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); - } - ruleFQN { - afterParserOrEnumRuleCall(); - } - -) -) otherlv_2='(' - { - newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); - } -(( -( - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_0_0()); - } - lv_parameters_3_0=ruleParameter { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - add( - $current, - "parameters", - lv_parameters_3_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.Parameter"); - afterParserOrEnumRuleCall(); - } - -) -)( otherlv_4=',' - { - newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); - } -( -( - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_1_1_0()); - } - lv_parameters_5_0=ruleParameter { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - add( - $current, - "parameters", - lv_parameters_5_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.Parameter"); - afterParserOrEnumRuleCall(); - } - -) -))*)? otherlv_6=')' - { - newLeafNode(otherlv_6, grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); - } - otherlv_7=':' - { - newLeafNode(otherlv_7, grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - } - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierCrossReference_6_0()); - } - ruleFQN { - afterParserOrEnumRuleCall(); - } - -) -) otherlv_9='[' - { - newLeafNode(otherlv_9, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); - } -( -( - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); - } - lv_lowerBound_10_0=ruleBound { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - set( - $current, - "lowerBound", - lv_lowerBound_10_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.Bound"); - afterParserOrEnumRuleCall(); - } - -) -) otherlv_11='..' - { - newLeafNode(otherlv_11, grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); - } -( -( - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); - } - lv_upperBound_12_0=ruleBound { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - set( - $current, - "upperBound", - lv_upperBound_12_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.Bound"); - afterParserOrEnumRuleCall(); - } - -) -) otherlv_13=']' - { - newLeafNode(otherlv_13, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); - } - otherlv_14='{' - { - newLeafNode(otherlv_14, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); - } - otherlv_15='contextableElements' - { - newLeafNode(otherlv_15, grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsKeyword_13()); - } - otherlv_16='=' - { - newLeafNode(otherlv_16, grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); - } - otherlv_17='[' - { - newLeafNode(otherlv_17, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); - } -(( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - } - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_0_0()); - } - ruleFQN { - afterParserOrEnumRuleCall(); - } - -) -)( otherlv_19=',' - { - newLeafNode(otherlv_19, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - } - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_1_1_0()); - } - ruleFQN { - afterParserOrEnumRuleCall(); - } - -) -))*)? otherlv_21=']' - { - newLeafNode(otherlv_21, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); - } - otherlv_22='}' - { - newLeafNode(otherlv_22, grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); - } -) -; - - - - - -// Entry rule entryRuleParameter -entryRuleParameter returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getParameterRule()); } - iv_ruleParameter=ruleParameter - { $current=$iv_ruleParameter.current; } - EOF -; - -// Rule Parameter -ruleParameter returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - lv_optional_0_0= 'optional' - { - newLeafNode(lv_optional_0_0, grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getParameterRule()); - } - setWithLastConsumed($current, "optional", true, "optional"); - } - -) -)?( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getParameterRule()); - } - } - { - newCompositeNode(grammarAccess.getParameterAccess().getVariableSiriusVariableCrossReference_1_0()); - } - ruleFQN { - afterParserOrEnumRuleCall(); - } - -) -)) -; - - - - - -// Entry rule entryRuleBound -entryRuleBound returns [String current=null] - : - { newCompositeNode(grammarAccess.getBoundRule()); } - iv_ruleBound=ruleBound - { $current=$iv_ruleBound.current.getText(); } - EOF -; - -// Rule Bound -ruleBound returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: -(( - kw='-' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); - } -)? this_INT_1=RULE_INT { - $current.merge(this_INT_1); - } - - { - newLeafNode(this_INT_1, grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); - } -) - ; - - - - - -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -RULE_INT : ('0'..'9')+; - -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -RULE_WS : (' '|'\t'|'\r'|'\n')+; - - diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.tokens b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.tokens deleted file mode 100644 index 4eee574c5..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSL.tokens +++ /dev/null @@ -1,40 +0,0 @@ -'('=16 -')'=18 -','=17 -'-'=25 -'.'=14 -'..'=20 -':'=13 -'='=23 -'['=19 -']'=21 -'class'=11 -'contextableElements'=22 -'exp'=15 -'optional'=24 -'package'=8 -'var'=12 -'{'=9 -'}'=10 -RULE_ID=5 -RULE_INT=6 -RULE_ML_COMMENT=4 -RULE_WS=7 -T__10=10 -T__11=11 -T__12=12 -T__13=13 -T__14=14 -T__15=15 -T__16=16 -T__17=17 -T__18=18 -T__19=19 -T__20=20 -T__21=21 -T__22=22 -T__23=23 -T__24=24 -T__25=25 -T__8=8 -T__9=9 diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSLLexer.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSLLexer.java deleted file mode 100644 index 06258656b..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/parser/antlr/internal/InternalExpressionDSLLexer.java +++ /dev/null @@ -1,948 +0,0 @@ -package org.eclipse.sirius.expression.dsl.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalExpressionDSLLexer extends Lexer { - public static final int T__19=19; - public static final int T__15=15; - public static final int T__16=16; - public static final int T__17=17; - public static final int T__18=18; - public static final int T__11=11; - public static final int T__12=12; - public static final int T__13=13; - public static final int T__14=14; - public static final int EOF=-1; - public static final int T__10=10; - public static final int T__9=9; - public static final int T__8=8; - public static final int RULE_ID=5; - public static final int RULE_WS=7; - public static final int RULE_INT=6; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=4; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__20=20; - public static final int T__21=21; - - // delegates - // delegators - - public InternalExpressionDSLLexer() {;} - public InternalExpressionDSLLexer(CharStream input) { - this(input, new RecognizerSharedState()); - } - public InternalExpressionDSLLexer(CharStream input, RecognizerSharedState state) { - super(input,state); - - } - public String getGrammarFileName() { return "InternalExpressionDSL.g"; } - - // $ANTLR start "T__8" - public final void mT__8() throws RecognitionException { - try { - int _type = T__8; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:11:6: ( 'package' ) - // InternalExpressionDSL.g:11:8: 'package' - { - match("package"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__8" - - // $ANTLR start "T__9" - public final void mT__9() throws RecognitionException { - try { - int _type = T__9; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:12:6: ( '{' ) - // InternalExpressionDSL.g:12:8: '{' - { - match('{'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__9" - - // $ANTLR start "T__10" - public final void mT__10() throws RecognitionException { - try { - int _type = T__10; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:13:7: ( '}' ) - // InternalExpressionDSL.g:13:9: '}' - { - match('}'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__10" - - // $ANTLR start "T__11" - public final void mT__11() throws RecognitionException { - try { - int _type = T__11; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:14:7: ( 'class' ) - // InternalExpressionDSL.g:14:9: 'class' - { - match("class"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__11" - - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { - try { - int _type = T__12; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:15:7: ( 'var' ) - // InternalExpressionDSL.g:15:9: 'var' - { - match("var"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:16:7: ( ':' ) - // InternalExpressionDSL.g:16:9: ':' - { - match(':'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__13" - - // $ANTLR start "T__14" - public final void mT__14() throws RecognitionException { - try { - int _type = T__14; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:17:7: ( '.' ) - // InternalExpressionDSL.g:17:9: '.' - { - match('.'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__14" - - // $ANTLR start "T__15" - public final void mT__15() throws RecognitionException { - try { - int _type = T__15; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:18:7: ( 'exp' ) - // InternalExpressionDSL.g:18:9: 'exp' - { - match("exp"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__15" - - // $ANTLR start "T__16" - public final void mT__16() throws RecognitionException { - try { - int _type = T__16; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:19:7: ( '(' ) - // InternalExpressionDSL.g:19:9: '(' - { - match('('); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__16" - - // $ANTLR start "T__17" - public final void mT__17() throws RecognitionException { - try { - int _type = T__17; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:20:7: ( ',' ) - // InternalExpressionDSL.g:20:9: ',' - { - match(','); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__17" - - // $ANTLR start "T__18" - public final void mT__18() throws RecognitionException { - try { - int _type = T__18; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:21:7: ( ')' ) - // InternalExpressionDSL.g:21:9: ')' - { - match(')'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__18" - - // $ANTLR start "T__19" - public final void mT__19() throws RecognitionException { - try { - int _type = T__19; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:22:7: ( '[' ) - // InternalExpressionDSL.g:22:9: '[' - { - match('['); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__19" - - // $ANTLR start "T__20" - public final void mT__20() throws RecognitionException { - try { - int _type = T__20; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:23:7: ( '..' ) - // InternalExpressionDSL.g:23:9: '..' - { - match(".."); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__20" - - // $ANTLR start "T__21" - public final void mT__21() throws RecognitionException { - try { - int _type = T__21; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:24:7: ( ']' ) - // InternalExpressionDSL.g:24:9: ']' - { - match(']'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__21" - - // $ANTLR start "T__22" - public final void mT__22() throws RecognitionException { - try { - int _type = T__22; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:25:7: ( 'contextableElements' ) - // InternalExpressionDSL.g:25:9: 'contextableElements' - { - match("contextableElements"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__22" - - // $ANTLR start "T__23" - public final void mT__23() throws RecognitionException { - try { - int _type = T__23; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:26:7: ( '=' ) - // InternalExpressionDSL.g:26:9: '=' - { - match('='); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__23" - - // $ANTLR start "T__24" - public final void mT__24() throws RecognitionException { - try { - int _type = T__24; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:27:7: ( 'optional' ) - // InternalExpressionDSL.g:27:9: 'optional' - { - match("optional"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__24" - - // $ANTLR start "T__25" - public final void mT__25() throws RecognitionException { - try { - int _type = T__25; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:28:7: ( '-' ) - // InternalExpressionDSL.g:28:9: '-' - { - match('-'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__25" - - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:635:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalExpressionDSL.g:635:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // InternalExpressionDSL.g:635:11: ( '^' )? - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0=='^') ) { - alt1=1; - } - switch (alt1) { - case 1 : - // InternalExpressionDSL.g:635:11: '^' - { - match('^'); - - } - break; - - } - - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // InternalExpressionDSL.g:635:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // InternalExpressionDSL.g: - { - if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop2; - } - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ID" - - // $ANTLR start "RULE_INT" - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:637:10: ( ( '0' .. '9' )+ ) - // InternalExpressionDSL.g:637:12: ( '0' .. '9' )+ - { - // InternalExpressionDSL.g:637:12: ( '0' .. '9' )+ - int cnt3=0; - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( ((LA3_0>='0' && LA3_0<='9')) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // InternalExpressionDSL.g:637:13: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt3 >= 1 ) break loop3; - EarlyExitException eee = - new EarlyExitException(3, input); - throw eee; - } - cnt3++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_INT" - - // $ANTLR start "RULE_ML_COMMENT" - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:639:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalExpressionDSL.g:639:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); - - // InternalExpressionDSL.g:639:24: ( options {greedy=false; } : . )* - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0=='*') ) { - int LA4_1 = input.LA(2); - - if ( (LA4_1=='/') ) { - alt4=2; - } - else if ( ((LA4_1>='\u0000' && LA4_1<='.')||(LA4_1>='0' && LA4_1<='\uFFFF')) ) { - alt4=1; - } - - - } - else if ( ((LA4_0>='\u0000' && LA4_0<=')')||(LA4_0>='+' && LA4_0<='\uFFFF')) ) { - alt4=1; - } - - - switch (alt4) { - case 1 : - // InternalExpressionDSL.g:639:52: . - { - matchAny(); - - } - break; - - default : - break loop4; - } - } while (true); - - match("*/"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ML_COMMENT" - - // $ANTLR start "RULE_WS" - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionDSL.g:641:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalExpressionDSL.g:641:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // InternalExpressionDSL.g:641:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt5=0; - loop5: - do { - int alt5=2; - int LA5_0 = input.LA(1); - - if ( ((LA5_0>='\t' && LA5_0<='\n')||LA5_0=='\r'||LA5_0==' ') ) { - alt5=1; - } - - - switch (alt5) { - case 1 : - // InternalExpressionDSL.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - if ( cnt5 >= 1 ) break loop5; - EarlyExitException eee = - new EarlyExitException(5, input); - throw eee; - } - cnt5++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_WS" - - public void mTokens() throws RecognitionException { - // InternalExpressionDSL.g:1:8: ( T__8 | T__9 | T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS ) - int alt6=22; - alt6 = dfa6.predict(input); - switch (alt6) { - case 1 : - // InternalExpressionDSL.g:1:10: T__8 - { - mT__8(); - - } - break; - case 2 : - // InternalExpressionDSL.g:1:15: T__9 - { - mT__9(); - - } - break; - case 3 : - // InternalExpressionDSL.g:1:20: T__10 - { - mT__10(); - - } - break; - case 4 : - // InternalExpressionDSL.g:1:26: T__11 - { - mT__11(); - - } - break; - case 5 : - // InternalExpressionDSL.g:1:32: T__12 - { - mT__12(); - - } - break; - case 6 : - // InternalExpressionDSL.g:1:38: T__13 - { - mT__13(); - - } - break; - case 7 : - // InternalExpressionDSL.g:1:44: T__14 - { - mT__14(); - - } - break; - case 8 : - // InternalExpressionDSL.g:1:50: T__15 - { - mT__15(); - - } - break; - case 9 : - // InternalExpressionDSL.g:1:56: T__16 - { - mT__16(); - - } - break; - case 10 : - // InternalExpressionDSL.g:1:62: T__17 - { - mT__17(); - - } - break; - case 11 : - // InternalExpressionDSL.g:1:68: T__18 - { - mT__18(); - - } - break; - case 12 : - // InternalExpressionDSL.g:1:74: T__19 - { - mT__19(); - - } - break; - case 13 : - // InternalExpressionDSL.g:1:80: T__20 - { - mT__20(); - - } - break; - case 14 : - // InternalExpressionDSL.g:1:86: T__21 - { - mT__21(); - - } - break; - case 15 : - // InternalExpressionDSL.g:1:92: T__22 - { - mT__22(); - - } - break; - case 16 : - // InternalExpressionDSL.g:1:98: T__23 - { - mT__23(); - - } - break; - case 17 : - // InternalExpressionDSL.g:1:104: T__24 - { - mT__24(); - - } - break; - case 18 : - // InternalExpressionDSL.g:1:110: T__25 - { - mT__25(); - - } - break; - case 19 : - // InternalExpressionDSL.g:1:116: RULE_ID - { - mRULE_ID(); - - } - break; - case 20 : - // InternalExpressionDSL.g:1:124: RULE_INT - { - mRULE_INT(); - - } - break; - case 21 : - // InternalExpressionDSL.g:1:133: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 22 : - // InternalExpressionDSL.g:1:149: RULE_WS - { - mRULE_WS(); - - } - break; - - } - - } - - - protected DFA6 dfa6 = new DFA6(this); - static final String DFA6_eotS = - "\1\uffff\1\21\2\uffff\2\21\1\uffff\1\32\1\21\6\uffff\1\21\5\uffff\4\21\2\uffff\5\21\1\46\1\47\4\21\2\uffff\2\21\1\56\3\21\1\uffff\2\21\1\64\2\21\1\uffff\1\21\1\70\1\21\1\uffff\11\21\1\103\1\uffff"; - static final String DFA6_eofS = - "\104\uffff"; - static final String DFA6_minS = - "\1\11\1\141\2\uffff\1\154\1\141\1\uffff\1\56\1\170\6\uffff\1\160\5\uffff\1\143\1\141\1\156\1\162\2\uffff\1\160\1\164\1\153\1\163\1\164\2\60\1\151\1\141\1\163\1\145\2\uffff\1\157\1\147\1\60\1\170\1\156\1\145\1\uffff\1\164\1\141\1\60\1\141\1\154\1\uffff\1\142\1\60\1\154\1\uffff\1\145\1\105\1\154\1\145\1\155\1\145\1\156\1\164\1\163\1\60\1\uffff"; - static final String DFA6_maxS = - "\1\175\1\141\2\uffff\1\157\1\141\1\uffff\1\56\1\170\6\uffff\1\160\5\uffff\1\143\1\141\1\156\1\162\2\uffff\1\160\1\164\1\153\1\163\1\164\2\172\1\151\1\141\1\163\1\145\2\uffff\1\157\1\147\1\172\1\170\1\156\1\145\1\uffff\1\164\1\141\1\172\1\141\1\154\1\uffff\1\142\1\172\1\154\1\uffff\1\145\1\105\1\154\1\145\1\155\1\145\1\156\1\164\1\163\1\172\1\uffff"; - static final String DFA6_acceptS = - "\2\uffff\1\2\1\3\2\uffff\1\6\2\uffff\1\11\1\12\1\13\1\14\1\16\1\20\1\uffff\1\22\1\23\1\24\1\25\1\26\4\uffff\1\15\1\7\13\uffff\1\5\1\10\6\uffff\1\4\5\uffff\1\1\3\uffff\1\21\12\uffff\1\17"; - static final String DFA6_specialS = - "\104\uffff}>"; - static final String[] DFA6_transitionS = { - "\2\24\2\uffff\1\24\22\uffff\1\24\7\uffff\1\11\1\13\2\uffff\1\12\1\20\1\7\1\23\12\22\1\6\2\uffff\1\16\3\uffff\32\21\1\14\1\uffff\1\15\2\21\1\uffff\2\21\1\4\1\21\1\10\11\21\1\17\1\1\5\21\1\5\4\21\1\2\1\uffff\1\3", - "\1\25", - "", - "", - "\1\26\2\uffff\1\27", - "\1\30", - "", - "\1\31", - "\1\33", - "", - "", - "", - "", - "", - "", - "\1\34", - "", - "", - "", - "", - "", - "\1\35", - "\1\36", - "\1\37", - "\1\40", - "", - "", - "\1\41", - "\1\42", - "\1\43", - "\1\44", - "\1\45", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", - "\1\50", - "\1\51", - "\1\52", - "\1\53", - "", - "", - "\1\54", - "\1\55", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", - "\1\57", - "\1\60", - "\1\61", - "", - "\1\62", - "\1\63", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", - "\1\65", - "\1\66", - "", - "\1\67", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", - "\1\71", - "", - "\1\72", - "\1\73", - "\1\74", - "\1\75", - "\1\76", - "\1\77", - "\1\100", - "\1\101", - "\1\102", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", - "" - }; - - static final short[] DFA6_eot = DFA.unpackEncodedString(DFA6_eotS); - static final short[] DFA6_eof = DFA.unpackEncodedString(DFA6_eofS); - static final char[] DFA6_min = DFA.unpackEncodedStringToUnsignedChars(DFA6_minS); - static final char[] DFA6_max = DFA.unpackEncodedStringToUnsignedChars(DFA6_maxS); - static final short[] DFA6_accept = DFA.unpackEncodedString(DFA6_acceptS); - static final short[] DFA6_special = DFA.unpackEncodedString(DFA6_specialS); - static final short[][] DFA6_transition; - - static { - int numStates = DFA6_transitionS.length; - DFA6_transition = new short[numStates][]; - for (int i=0; i", "", "", "", "RULE_ML_COMMENT", "RULE_ID", "RULE_INT", "RULE_WS", "'package'", "'{'", "'}'", "'class'", "'var'", "':'", "'.'", "'exp'", "'('", "','", "')'", "'['", "'..'", "']'", "'contextableElements'", "'='", "'optional'", "'-'" - }; - public static final int T__19=19; - public static final int T__15=15; - public static final int T__16=16; - public static final int T__17=17; - public static final int T__18=18; - public static final int T__11=11; - public static final int T__12=12; - public static final int T__13=13; - public static final int T__14=14; - public static final int EOF=-1; - public static final int T__10=10; - public static final int T__9=9; - public static final int T__8=8; - public static final int RULE_ID=5; - public static final int RULE_WS=7; - public static final int RULE_INT=6; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=4; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__20=20; - public static final int T__21=21; - - // delegates - // delegators - - - public InternalExpressionDSLParser(TokenStream input) { - this(input, new RecognizerSharedState()); - } - public InternalExpressionDSLParser(TokenStream input, RecognizerSharedState state) { - super(input, state); - - } - - - public String[] getTokenNames() { return InternalExpressionDSLParser.tokenNames; } - public String getGrammarFileName() { return "InternalExpressionDSL.g"; } - - - - private ExpressionDSLGrammarAccess grammarAccess; - - public InternalExpressionDSLParser(TokenStream input, ExpressionDSLGrammarAccess grammarAccess) { - this(input); - this.grammarAccess = grammarAccess; - registerRules(grammarAccess.getGrammar()); - } - - @Override - protected String getFirstRuleName() { - return "SiriusExpressionPackage"; - } - - @Override - protected ExpressionDSLGrammarAccess getGrammarAccess() { - return grammarAccess; - } - - - - // $ANTLR start "entryRuleSiriusExpressionPackage" - // InternalExpressionDSL.g:67:1: entryRuleSiriusExpressionPackage returns [EObject current=null] : iv_ruleSiriusExpressionPackage= ruleSiriusExpressionPackage EOF ; - public final EObject entryRuleSiriusExpressionPackage() throws RecognitionException { - EObject current = null; - - EObject iv_ruleSiriusExpressionPackage = null; - - - try { - // InternalExpressionDSL.g:68:2: (iv_ruleSiriusExpressionPackage= ruleSiriusExpressionPackage EOF ) - // InternalExpressionDSL.g:69:2: iv_ruleSiriusExpressionPackage= ruleSiriusExpressionPackage EOF - { - newCompositeNode(grammarAccess.getSiriusExpressionPackageRule()); - pushFollow(FOLLOW_1); - iv_ruleSiriusExpressionPackage=ruleSiriusExpressionPackage(); - - state._fsp--; - - current =iv_ruleSiriusExpressionPackage; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleSiriusExpressionPackage" - - - // $ANTLR start "ruleSiriusExpressionPackage" - // InternalExpressionDSL.g:76:1: ruleSiriusExpressionPackage returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) ; - public final EObject ruleSiriusExpressionPackage() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - EObject lv_expressionClasses_3_0 = null; - - - enterRule(); - - try { - // InternalExpressionDSL.g:79:28: ( (otherlv_0= 'package' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) ) - // InternalExpressionDSL.g:80:1: (otherlv_0= 'package' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) - { - // InternalExpressionDSL.g:80:1: (otherlv_0= 'package' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) - // InternalExpressionDSL.g:80:3: otherlv_0= 'package' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' - { - otherlv_0=(Token)match(input,8,FOLLOW_3); - - newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); - - // InternalExpressionDSL.g:84:1: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:85:1: ( ruleFQN ) - { - // InternalExpressionDSL.g:85:1: ( ruleFQN ) - // InternalExpressionDSL.g:86:3: ruleFQN - { - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusExpressionPackageRule()); - } - - - newCompositeNode(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); - - pushFollow(FOLLOW_4); - ruleFQN(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_2=(Token)match(input,9,FOLLOW_5); - - newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); - - // InternalExpressionDSL.g:103:1: ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* - loop1: - do { - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0==11) ) { - alt1=1; - } - - - switch (alt1) { - case 1 : - // InternalExpressionDSL.g:104:1: (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) - { - // InternalExpressionDSL.g:104:1: (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) - // InternalExpressionDSL.g:105:3: lv_expressionClasses_3_0= ruleSiriusExpressionClass - { - - newCompositeNode(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); - - pushFollow(FOLLOW_5); - lv_expressionClasses_3_0=ruleSiriusExpressionClass(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSiriusExpressionPackageRule()); - } - add( - current, - "expressionClasses", - lv_expressionClasses_3_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusExpressionClass"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop1; - } - } while (true); - - otherlv_4=(Token)match(input,10,FOLLOW_2); - - newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleSiriusExpressionPackage" - - - // $ANTLR start "entryRuleSiriusExpressionClass" - // InternalExpressionDSL.g:133:1: entryRuleSiriusExpressionClass returns [EObject current=null] : iv_ruleSiriusExpressionClass= ruleSiriusExpressionClass EOF ; - public final EObject entryRuleSiriusExpressionClass() throws RecognitionException { - EObject current = null; - - EObject iv_ruleSiriusExpressionClass = null; - - - try { - // InternalExpressionDSL.g:134:2: (iv_ruleSiriusExpressionClass= ruleSiriusExpressionClass EOF ) - // InternalExpressionDSL.g:135:2: iv_ruleSiriusExpressionClass= ruleSiriusExpressionClass EOF - { - newCompositeNode(grammarAccess.getSiriusExpressionClassRule()); - pushFollow(FOLLOW_1); - iv_ruleSiriusExpressionClass=ruleSiriusExpressionClass(); - - state._fsp--; - - current =iv_ruleSiriusExpressionClass; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleSiriusExpressionClass" - - - // $ANTLR start "ruleSiriusExpressionClass" - // InternalExpressionDSL.g:142:1: ruleSiriusExpressionClass returns [EObject current=null] : (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) ; - public final EObject ruleSiriusExpressionClass() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_5=null; - EObject lv_variables_3_0 = null; - - EObject lv_expressionDescriptions_4_0 = null; - - - enterRule(); - - try { - // InternalExpressionDSL.g:145:28: ( (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) ) - // InternalExpressionDSL.g:146:1: (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) - { - // InternalExpressionDSL.g:146:1: (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) - // InternalExpressionDSL.g:146:3: otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' - { - otherlv_0=(Token)match(input,11,FOLLOW_3); - - newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); - - // InternalExpressionDSL.g:150:1: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:151:1: ( ruleFQN ) - { - // InternalExpressionDSL.g:151:1: ( ruleFQN ) - // InternalExpressionDSL.g:152:3: ruleFQN - { - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusExpressionClassRule()); - } - - - newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); - - pushFollow(FOLLOW_4); - ruleFQN(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_2=(Token)match(input,9,FOLLOW_6); - - newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); - - // InternalExpressionDSL.g:169:1: ( (lv_variables_3_0= ruleSiriusVariable ) )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( (LA2_0==RULE_ML_COMMENT||LA2_0==12) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // InternalExpressionDSL.g:170:1: (lv_variables_3_0= ruleSiriusVariable ) - { - // InternalExpressionDSL.g:170:1: (lv_variables_3_0= ruleSiriusVariable ) - // InternalExpressionDSL.g:171:3: lv_variables_3_0= ruleSiriusVariable - { - - newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); - - pushFollow(FOLLOW_6); - lv_variables_3_0=ruleSiriusVariable(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); - } - add( - current, - "variables", - lv_variables_3_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusVariable"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop2; - } - } while (true); - - // InternalExpressionDSL.g:187:3: ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( (LA3_0==15) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // InternalExpressionDSL.g:188:1: (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) - { - // InternalExpressionDSL.g:188:1: (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) - // InternalExpressionDSL.g:189:3: lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription - { - - newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); - - pushFollow(FOLLOW_7); - lv_expressionDescriptions_4_0=ruleSiriusExpressionDescription(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); - } - add( - current, - "expressionDescriptions", - lv_expressionDescriptions_4_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusExpressionDescription"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop3; - } - } while (true); - - otherlv_5=(Token)match(input,10,FOLLOW_2); - - newLeafNode(otherlv_5, grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleSiriusExpressionClass" - - - // $ANTLR start "entryRuleSiriusVariable" - // InternalExpressionDSL.g:217:1: entryRuleSiriusVariable returns [EObject current=null] : iv_ruleSiriusVariable= ruleSiriusVariable EOF ; - public final EObject entryRuleSiriusVariable() throws RecognitionException { - EObject current = null; - - EObject iv_ruleSiriusVariable = null; - - - try { - // InternalExpressionDSL.g:218:2: (iv_ruleSiriusVariable= ruleSiriusVariable EOF ) - // InternalExpressionDSL.g:219:2: iv_ruleSiriusVariable= ruleSiriusVariable EOF - { - newCompositeNode(grammarAccess.getSiriusVariableRule()); - pushFollow(FOLLOW_1); - iv_ruleSiriusVariable=ruleSiriusVariable(); - - state._fsp--; - - current =iv_ruleSiriusVariable; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleSiriusVariable" - - - // $ANTLR start "ruleSiriusVariable" - // InternalExpressionDSL.g:226:1: ruleSiriusVariable returns [EObject current=null] : ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) ; - public final EObject ruleSiriusVariable() throws RecognitionException { - EObject current = null; - - Token lv_documentation_0_0=null; - Token otherlv_1=null; - Token lv_name_2_0=null; - Token otherlv_3=null; - - enterRule(); - - try { - // InternalExpressionDSL.g:229:28: ( ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) ) - // InternalExpressionDSL.g:230:1: ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) - { - // InternalExpressionDSL.g:230:1: ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) - // InternalExpressionDSL.g:230:2: ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) - { - // InternalExpressionDSL.g:230:2: ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0==RULE_ML_COMMENT) ) { - alt4=1; - } - switch (alt4) { - case 1 : - // InternalExpressionDSL.g:231:1: (lv_documentation_0_0= RULE_ML_COMMENT ) - { - // InternalExpressionDSL.g:231:1: (lv_documentation_0_0= RULE_ML_COMMENT ) - // InternalExpressionDSL.g:232:3: lv_documentation_0_0= RULE_ML_COMMENT - { - lv_documentation_0_0=(Token)match(input,RULE_ML_COMMENT,FOLLOW_8); - - newLeafNode(lv_documentation_0_0, grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusVariableRule()); - } - setWithLastConsumed( - current, - "documentation", - lv_documentation_0_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.ML_COMMENT"); - - - } - - - } - break; - - } - - otherlv_1=(Token)match(input,12,FOLLOW_3); - - newLeafNode(otherlv_1, grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); - - // InternalExpressionDSL.g:252:1: ( (lv_name_2_0= RULE_ID ) ) - // InternalExpressionDSL.g:253:1: (lv_name_2_0= RULE_ID ) - { - // InternalExpressionDSL.g:253:1: (lv_name_2_0= RULE_ID ) - // InternalExpressionDSL.g:254:3: lv_name_2_0= RULE_ID - { - lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_9); - - newLeafNode(lv_name_2_0, grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusVariableRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_2_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.ID"); - - - } - - - } - - otherlv_3=(Token)match(input,13,FOLLOW_3); - - newLeafNode(otherlv_3, grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); - - // InternalExpressionDSL.g:274:1: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:275:1: ( ruleFQN ) - { - // InternalExpressionDSL.g:275:1: ( ruleFQN ) - // InternalExpressionDSL.g:276:3: ruleFQN - { - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusVariableRule()); - } - - - newCompositeNode(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); - - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleSiriusVariable" - - - // $ANTLR start "entryRuleFQN" - // InternalExpressionDSL.g:297:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; - public final String entryRuleFQN() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleFQN = null; - - - try { - // InternalExpressionDSL.g:298:2: (iv_ruleFQN= ruleFQN EOF ) - // InternalExpressionDSL.g:299:2: iv_ruleFQN= ruleFQN EOF - { - newCompositeNode(grammarAccess.getFQNRule()); - pushFollow(FOLLOW_1); - iv_ruleFQN=ruleFQN(); - - state._fsp--; - - current =iv_ruleFQN.getText(); - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleFQN" - - - // $ANTLR start "ruleFQN" - // InternalExpressionDSL.g:306:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; - public final AntlrDatatypeRuleToken ruleFQN() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token this_ID_0=null; - Token kw=null; - Token this_ID_2=null; - - enterRule(); - - try { - // InternalExpressionDSL.g:309:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) - // InternalExpressionDSL.g:310:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - { - // InternalExpressionDSL.g:310:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - // InternalExpressionDSL.g:310:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* - { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_10); - - current.merge(this_ID_0); - - - newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); - - // InternalExpressionDSL.g:317:1: (kw= '.' this_ID_2= RULE_ID )* - loop5: - do { - int alt5=2; - int LA5_0 = input.LA(1); - - if ( (LA5_0==14) ) { - alt5=1; - } - - - switch (alt5) { - case 1 : - // InternalExpressionDSL.g:318:2: kw= '.' this_ID_2= RULE_ID - { - kw=(Token)match(input,14,FOLLOW_3); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); - - this_ID_2=(Token)match(input,RULE_ID,FOLLOW_10); - - current.merge(this_ID_2); - - - newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); - - - } - break; - - default : - break loop5; - } - } while (true); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleFQN" - - - // $ANTLR start "entryRuleSiriusExpressionDescription" - // InternalExpressionDSL.g:338:1: entryRuleSiriusExpressionDescription returns [EObject current=null] : iv_ruleSiriusExpressionDescription= ruleSiriusExpressionDescription EOF ; - public final EObject entryRuleSiriusExpressionDescription() throws RecognitionException { - EObject current = null; - - EObject iv_ruleSiriusExpressionDescription = null; - - - try { - // InternalExpressionDSL.g:339:2: (iv_ruleSiriusExpressionDescription= ruleSiriusExpressionDescription EOF ) - // InternalExpressionDSL.g:340:2: iv_ruleSiriusExpressionDescription= ruleSiriusExpressionDescription EOF - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionRule()); - pushFollow(FOLLOW_1); - iv_ruleSiriusExpressionDescription=ruleSiriusExpressionDescription(); - - state._fsp--; - - current =iv_ruleSiriusExpressionDescription; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleSiriusExpressionDescription" - - - // $ANTLR start "ruleSiriusExpressionDescription" - // InternalExpressionDSL.g:347:1: ruleSiriusExpressionDescription returns [EObject current=null] : (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'contextableElements' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) ; - public final EObject ruleSiriusExpressionDescription() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_6=null; - Token otherlv_7=null; - Token otherlv_9=null; - Token otherlv_11=null; - Token otherlv_13=null; - Token otherlv_14=null; - Token otherlv_15=null; - Token otherlv_16=null; - Token otherlv_17=null; - Token otherlv_19=null; - Token otherlv_21=null; - Token otherlv_22=null; - EObject lv_parameters_3_0 = null; - - EObject lv_parameters_5_0 = null; - - AntlrDatatypeRuleToken lv_lowerBound_10_0 = null; - - AntlrDatatypeRuleToken lv_upperBound_12_0 = null; - - - enterRule(); - - try { - // InternalExpressionDSL.g:350:28: ( (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'contextableElements' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) ) - // InternalExpressionDSL.g:351:1: (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'contextableElements' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) - { - // InternalExpressionDSL.g:351:1: (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'contextableElements' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) - // InternalExpressionDSL.g:351:3: otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'contextableElements' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' - { - otherlv_0=(Token)match(input,15,FOLLOW_3); - - newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); - - // InternalExpressionDSL.g:355:1: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:356:1: ( ruleFQN ) - { - // InternalExpressionDSL.g:356:1: ( ruleFQN ) - // InternalExpressionDSL.g:357:3: ruleFQN - { - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); - - pushFollow(FOLLOW_11); - ruleFQN(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_2=(Token)match(input,16,FOLLOW_12); - - newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); - - // InternalExpressionDSL.g:374:1: ( ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* )? - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0==RULE_ID||LA7_0==24) ) { - alt7=1; - } - switch (alt7) { - case 1 : - // InternalExpressionDSL.g:374:2: ( (lv_parameters_3_0= ruleParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* - { - // InternalExpressionDSL.g:374:2: ( (lv_parameters_3_0= ruleParameter ) ) - // InternalExpressionDSL.g:375:1: (lv_parameters_3_0= ruleParameter ) - { - // InternalExpressionDSL.g:375:1: (lv_parameters_3_0= ruleParameter ) - // InternalExpressionDSL.g:376:3: lv_parameters_3_0= ruleParameter - { - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_0_0()); - - pushFollow(FOLLOW_13); - lv_parameters_3_0=ruleParameter(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - add( - current, - "parameters", - lv_parameters_3_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.Parameter"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalExpressionDSL.g:392:2: (otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) )* - loop6: - do { - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0==17) ) { - alt6=1; - } - - - switch (alt6) { - case 1 : - // InternalExpressionDSL.g:392:4: otherlv_4= ',' ( (lv_parameters_5_0= ruleParameter ) ) - { - otherlv_4=(Token)match(input,17,FOLLOW_14); - - newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); - - // InternalExpressionDSL.g:396:1: ( (lv_parameters_5_0= ruleParameter ) ) - // InternalExpressionDSL.g:397:1: (lv_parameters_5_0= ruleParameter ) - { - // InternalExpressionDSL.g:397:1: (lv_parameters_5_0= ruleParameter ) - // InternalExpressionDSL.g:398:3: lv_parameters_5_0= ruleParameter - { - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersParameterParserRuleCall_3_1_1_0()); - - pushFollow(FOLLOW_13); - lv_parameters_5_0=ruleParameter(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - add( - current, - "parameters", - lv_parameters_5_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.Parameter"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop6; - } - } while (true); - - - } - break; - - } - - otherlv_6=(Token)match(input,18,FOLLOW_9); - - newLeafNode(otherlv_6, grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); - - otherlv_7=(Token)match(input,13,FOLLOW_3); - - newLeafNode(otherlv_7, grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); - - // InternalExpressionDSL.g:422:1: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:423:1: ( ruleFQN ) - { - // InternalExpressionDSL.g:423:1: ( ruleFQN ) - // InternalExpressionDSL.g:424:3: ruleFQN - { - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getTypeEClassifierCrossReference_6_0()); - - pushFollow(FOLLOW_15); - ruleFQN(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_9=(Token)match(input,19,FOLLOW_16); - - newLeafNode(otherlv_9, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); - - // InternalExpressionDSL.g:441:1: ( (lv_lowerBound_10_0= ruleBound ) ) - // InternalExpressionDSL.g:442:1: (lv_lowerBound_10_0= ruleBound ) - { - // InternalExpressionDSL.g:442:1: (lv_lowerBound_10_0= ruleBound ) - // InternalExpressionDSL.g:443:3: lv_lowerBound_10_0= ruleBound - { - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); - - pushFollow(FOLLOW_17); - lv_lowerBound_10_0=ruleBound(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - set( - current, - "lowerBound", - lv_lowerBound_10_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.Bound"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_11=(Token)match(input,20,FOLLOW_16); - - newLeafNode(otherlv_11, grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); - - // InternalExpressionDSL.g:463:1: ( (lv_upperBound_12_0= ruleBound ) ) - // InternalExpressionDSL.g:464:1: (lv_upperBound_12_0= ruleBound ) - { - // InternalExpressionDSL.g:464:1: (lv_upperBound_12_0= ruleBound ) - // InternalExpressionDSL.g:465:3: lv_upperBound_12_0= ruleBound - { - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); - - pushFollow(FOLLOW_18); - lv_upperBound_12_0=ruleBound(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - set( - current, - "upperBound", - lv_upperBound_12_0, - "org.eclipse.sirius.expression.dsl.ExpressionDSL.Bound"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_13=(Token)match(input,21,FOLLOW_4); - - newLeafNode(otherlv_13, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); - - otherlv_14=(Token)match(input,9,FOLLOW_19); - - newLeafNode(otherlv_14, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); - - otherlv_15=(Token)match(input,22,FOLLOW_20); - - newLeafNode(otherlv_15, grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsKeyword_13()); - - otherlv_16=(Token)match(input,23,FOLLOW_15); - - newLeafNode(otherlv_16, grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); - - otherlv_17=(Token)match(input,19,FOLLOW_21); - - newLeafNode(otherlv_17, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); - - // InternalExpressionDSL.g:501:1: ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0==RULE_ID) ) { - alt9=1; - } - switch (alt9) { - case 1 : - // InternalExpressionDSL.g:501:2: ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* - { - // InternalExpressionDSL.g:501:2: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:502:1: ( ruleFQN ) - { - // InternalExpressionDSL.g:502:1: ( ruleFQN ) - // InternalExpressionDSL.g:503:3: ruleFQN - { - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_0_0()); - - pushFollow(FOLLOW_22); - ruleFQN(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalExpressionDSL.g:516:2: (otherlv_19= ',' ( ( ruleFQN ) ) )* - loop8: - do { - int alt8=2; - int LA8_0 = input.LA(1); - - if ( (LA8_0==17) ) { - alt8=1; - } - - - switch (alt8) { - case 1 : - // InternalExpressionDSL.g:516:4: otherlv_19= ',' ( ( ruleFQN ) ) - { - otherlv_19=(Token)match(input,17,FOLLOW_3); - - newLeafNode(otherlv_19, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); - - // InternalExpressionDSL.g:520:1: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:521:1: ( ruleFQN ) - { - // InternalExpressionDSL.g:521:1: ( ruleFQN ) - // InternalExpressionDSL.g:522:3: ruleFQN - { - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getContextableElementsEClassCrossReference_16_1_1_0()); - - pushFollow(FOLLOW_22); - ruleFQN(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop8; - } - } while (true); - - - } - break; - - } - - otherlv_21=(Token)match(input,21,FOLLOW_23); - - newLeafNode(otherlv_21, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); - - otherlv_22=(Token)match(input,10,FOLLOW_2); - - newLeafNode(otherlv_22, grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleSiriusExpressionDescription" - - - // $ANTLR start "entryRuleParameter" - // InternalExpressionDSL.g:551:1: entryRuleParameter returns [EObject current=null] : iv_ruleParameter= ruleParameter EOF ; - public final EObject entryRuleParameter() throws RecognitionException { - EObject current = null; - - EObject iv_ruleParameter = null; - - - try { - // InternalExpressionDSL.g:552:2: (iv_ruleParameter= ruleParameter EOF ) - // InternalExpressionDSL.g:553:2: iv_ruleParameter= ruleParameter EOF - { - newCompositeNode(grammarAccess.getParameterRule()); - pushFollow(FOLLOW_1); - iv_ruleParameter=ruleParameter(); - - state._fsp--; - - current =iv_ruleParameter; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleParameter" - - - // $ANTLR start "ruleParameter" - // InternalExpressionDSL.g:560:1: ruleParameter returns [EObject current=null] : ( ( (lv_optional_0_0= 'optional' ) )? ( ( ruleFQN ) ) ) ; - public final EObject ruleParameter() throws RecognitionException { - EObject current = null; - - Token lv_optional_0_0=null; - - enterRule(); - - try { - // InternalExpressionDSL.g:563:28: ( ( ( (lv_optional_0_0= 'optional' ) )? ( ( ruleFQN ) ) ) ) - // InternalExpressionDSL.g:564:1: ( ( (lv_optional_0_0= 'optional' ) )? ( ( ruleFQN ) ) ) - { - // InternalExpressionDSL.g:564:1: ( ( (lv_optional_0_0= 'optional' ) )? ( ( ruleFQN ) ) ) - // InternalExpressionDSL.g:564:2: ( (lv_optional_0_0= 'optional' ) )? ( ( ruleFQN ) ) - { - // InternalExpressionDSL.g:564:2: ( (lv_optional_0_0= 'optional' ) )? - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0==24) ) { - alt10=1; - } - switch (alt10) { - case 1 : - // InternalExpressionDSL.g:565:1: (lv_optional_0_0= 'optional' ) - { - // InternalExpressionDSL.g:565:1: (lv_optional_0_0= 'optional' ) - // InternalExpressionDSL.g:566:3: lv_optional_0_0= 'optional' - { - lv_optional_0_0=(Token)match(input,24,FOLLOW_3); - - newLeafNode(lv_optional_0_0, grammarAccess.getParameterAccess().getOptionalOptionalKeyword_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getParameterRule()); - } - setWithLastConsumed(current, "optional", true, "optional"); - - - } - - - } - break; - - } - - // InternalExpressionDSL.g:579:3: ( ( ruleFQN ) ) - // InternalExpressionDSL.g:580:1: ( ruleFQN ) - { - // InternalExpressionDSL.g:580:1: ( ruleFQN ) - // InternalExpressionDSL.g:581:3: ruleFQN - { - - if (current==null) { - current = createModelElement(grammarAccess.getParameterRule()); - } - - - newCompositeNode(grammarAccess.getParameterAccess().getVariableSiriusVariableCrossReference_1_0()); - - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleParameter" - - - // $ANTLR start "entryRuleBound" - // InternalExpressionDSL.g:602:1: entryRuleBound returns [String current=null] : iv_ruleBound= ruleBound EOF ; - public final String entryRuleBound() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleBound = null; - - - try { - // InternalExpressionDSL.g:603:2: (iv_ruleBound= ruleBound EOF ) - // InternalExpressionDSL.g:604:2: iv_ruleBound= ruleBound EOF - { - newCompositeNode(grammarAccess.getBoundRule()); - pushFollow(FOLLOW_1); - iv_ruleBound=ruleBound(); - - state._fsp--; - - current =iv_ruleBound.getText(); - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleBound" - - - // $ANTLR start "ruleBound" - // InternalExpressionDSL.g:611:1: ruleBound returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; - public final AntlrDatatypeRuleToken ruleBound() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token kw=null; - Token this_INT_1=null; - - enterRule(); - - try { - // InternalExpressionDSL.g:614:28: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) - // InternalExpressionDSL.g:615:1: ( (kw= '-' )? this_INT_1= RULE_INT ) - { - // InternalExpressionDSL.g:615:1: ( (kw= '-' )? this_INT_1= RULE_INT ) - // InternalExpressionDSL.g:615:2: (kw= '-' )? this_INT_1= RULE_INT - { - // InternalExpressionDSL.g:615:2: (kw= '-' )? - int alt11=2; - int LA11_0 = input.LA(1); - - if ( (LA11_0==25) ) { - alt11=1; - } - switch (alt11) { - case 1 : - // InternalExpressionDSL.g:616:2: kw= '-' - { - kw=(Token)match(input,25,FOLLOW_24); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); - - - } - break; - - } - - this_INT_1=(Token)match(input,RULE_INT,FOLLOW_2); - - current.merge(this_INT_1); - - - newLeafNode(this_INT_1, grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleBound" - - // Delegated rules - - - - - public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000200L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000C00L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000009410L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000008400L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000004002L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000001040020L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000060000L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000001000020L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000002000040L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000200000L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000400000L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000800000L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000200020L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000220000L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000400L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000000040L}); - -} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSemanticSequencer.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSemanticSequencer.java deleted file mode 100644 index 08772786c..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSemanticSequencer.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.serializer; - -import com.google.inject.Inject; -import com.google.inject.Provider; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage; -import org.eclipse.sirius.expression.dsl.expressionDSL.Parameter; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionClass; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionDescription; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusExpressionPackage; -import org.eclipse.sirius.expression.dsl.expressionDSL.SiriusVariable; -import org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess; -import org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor; -import org.eclipse.xtext.serializer.diagnostic.ISemanticSequencerDiagnosticProvider; -import org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic.Acceptor; -import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; -import org.eclipse.xtext.serializer.sequencer.GenericSequencer; -import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; -import org.eclipse.xtext.serializer.sequencer.ITransientValueService; - -@SuppressWarnings("all") -public class ExpressionDSLSemanticSequencer extends AbstractDelegatingSemanticSequencer { - - @Inject - private ExpressionDSLGrammarAccess grammarAccess; - - @Override - public void createSequence(EObject context, EObject semanticObject) { - if(semanticObject.eClass().getEPackage() == ExpressionDSLPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { - case ExpressionDSLPackage.PARAMETER: - sequence_Parameter(context, (Parameter) semanticObject); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_CLASS: - sequence_SiriusExpressionClass(context, (SiriusExpressionClass) semanticObject); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_DESCRIPTION: - sequence_SiriusExpressionDescription(context, (SiriusExpressionDescription) semanticObject); - return; - case ExpressionDSLPackage.SIRIUS_EXPRESSION_PACKAGE: - sequence_SiriusExpressionPackage(context, (SiriusExpressionPackage) semanticObject); - return; - case ExpressionDSLPackage.SIRIUS_VARIABLE: - sequence_SiriusVariable(context, (SiriusVariable) semanticObject); - return; - } - if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); - } - - /** - * Constraint: - * (optional?='optional'? variable=[SiriusVariable|FQN]) - */ - protected void sequence_Parameter(EObject context, Parameter semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Constraint: - * (eClass=[EClass|FQN] variables+=SiriusVariable* expressionDescriptions+=SiriusExpressionDescription*) - */ - protected void sequence_SiriusExpressionClass(EObject context, SiriusExpressionClass semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Constraint: - * ( - * expression=[EAttribute|FQN] - * (parameters+=Parameter parameters+=Parameter*)? - * type=[EClassifier|FQN] - * lowerBound=Bound - * upperBound=Bound - * (contextableElements+=[EClass|FQN] contextableElements+=[EClass|FQN]*)? - * ) - */ - protected void sequence_SiriusExpressionDescription(EObject context, SiriusExpressionDescription semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Constraint: - * (ePackage=[EPackage|FQN] expressionClasses+=SiriusExpressionClass*) - */ - protected void sequence_SiriusExpressionPackage(EObject context, SiriusExpressionPackage semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Constraint: - * (documentation=ML_COMMENT? name=ID eType=[EClassifier|FQN]) - */ - protected void sequence_SiriusVariable(EObject context, SiriusVariable semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSyntacticSequencer.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSyntacticSequencer.java deleted file mode 100644 index cfa14b257..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/serializer/ExpressionDSLSyntacticSequencer.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.serializer; - -import com.google.inject.Inject; -import java.util.List; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess; -import org.eclipse.xtext.IGrammarAccess; -import org.eclipse.xtext.RuleCall; -import org.eclipse.xtext.nodemodel.INode; -import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; -import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; -import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; - -@SuppressWarnings("all") -public class ExpressionDSLSyntacticSequencer extends AbstractSyntacticSequencer { - - protected ExpressionDSLGrammarAccess grammarAccess; - - @Inject - protected void init(IGrammarAccess access) { - grammarAccess = (ExpressionDSLGrammarAccess) access; - } - - @Override - protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { - return ""; - } - - - @Override - protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { - if (transition.getAmbiguousSyntaxes().isEmpty()) return; - List transitionNodes = collectNodes(fromNode, toNode); - for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { - List syntaxNodes = getNodesFor(transitionNodes, syntax); - acceptNodes(getLastNavigableState(), syntaxNodes); - } - } - -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/services/ExpressionDSLGrammarAccess.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/services/ExpressionDSLGrammarAccess.java deleted file mode 100644 index 5bd7c08da..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/services/ExpressionDSLGrammarAccess.java +++ /dev/null @@ -1,584 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.services; - -import com.google.inject.Singleton; -import com.google.inject.Inject; - -import java.util.List; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.service.GrammarProvider; -import org.eclipse.xtext.service.AbstractElementFinder.*; - - -@Singleton -public class ExpressionDSLGrammarAccess extends AbstractGrammarElementFinder { - - - public class SiriusExpressionPackageElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusExpressionPackage"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cEPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cEPackageEPackageCrossReference_1_0 = (CrossReference)cEPackageAssignment_1.eContents().get(0); - private final RuleCall cEPackageEPackageFQNParserRuleCall_1_0_1 = (RuleCall)cEPackageEPackageCrossReference_1_0.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cExpressionClassesAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cExpressionClassesSiriusExpressionClassParserRuleCall_3_0 = (RuleCall)cExpressionClassesAssignment_3.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); - - //SiriusExpressionPackage: - // 'package' ePackage=[ecore::EPackage|FQN] '{' - // expressionClasses+=SiriusExpressionClass* - // '}'; - @Override public ParserRule getRule() { return rule; } - - //'package' ePackage=[ecore::EPackage|FQN] '{' expressionClasses+=SiriusExpressionClass* '}' - public Group getGroup() { return cGroup; } - - //'package' - public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } - - //ePackage=[ecore::EPackage|FQN] - public Assignment getEPackageAssignment_1() { return cEPackageAssignment_1; } - - //[ecore::EPackage|FQN] - public CrossReference getEPackageEPackageCrossReference_1_0() { return cEPackageEPackageCrossReference_1_0; } - - //FQN - public RuleCall getEPackageEPackageFQNParserRuleCall_1_0_1() { return cEPackageEPackageFQNParserRuleCall_1_0_1; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //expressionClasses+=SiriusExpressionClass* - public Assignment getExpressionClassesAssignment_3() { return cExpressionClassesAssignment_3; } - - //SiriusExpressionClass - public RuleCall getExpressionClassesSiriusExpressionClassParserRuleCall_3_0() { return cExpressionClassesSiriusExpressionClassParserRuleCall_3_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } - } - - public class SiriusExpressionClassElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusExpressionClass"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cClassKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cEClassAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cEClassEClassCrossReference_1_0 = (CrossReference)cEClassAssignment_1.eContents().get(0); - private final RuleCall cEClassEClassFQNParserRuleCall_1_0_1 = (RuleCall)cEClassEClassCrossReference_1_0.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cVariablesAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cVariablesSiriusVariableParserRuleCall_3_0 = (RuleCall)cVariablesAssignment_3.eContents().get(0); - private final Assignment cExpressionDescriptionsAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final RuleCall cExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0 = (RuleCall)cExpressionDescriptionsAssignment_4.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); - - //SiriusExpressionClass: - // 'class' eClass=[ecore::EClass|FQN] '{' - // variables+=SiriusVariable* - // expressionDescriptions+=SiriusExpressionDescription* - // '}'; - @Override public ParserRule getRule() { return rule; } - - //'class' eClass=[ecore::EClass|FQN] '{' variables+=SiriusVariable* expressionDescriptions+=SiriusExpressionDescription* - //'}' - public Group getGroup() { return cGroup; } - - //'class' - public Keyword getClassKeyword_0() { return cClassKeyword_0; } - - //eClass=[ecore::EClass|FQN] - public Assignment getEClassAssignment_1() { return cEClassAssignment_1; } - - //[ecore::EClass|FQN] - public CrossReference getEClassEClassCrossReference_1_0() { return cEClassEClassCrossReference_1_0; } - - //FQN - public RuleCall getEClassEClassFQNParserRuleCall_1_0_1() { return cEClassEClassFQNParserRuleCall_1_0_1; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //variables+=SiriusVariable* - public Assignment getVariablesAssignment_3() { return cVariablesAssignment_3; } - - //SiriusVariable - public RuleCall getVariablesSiriusVariableParserRuleCall_3_0() { return cVariablesSiriusVariableParserRuleCall_3_0; } - - //expressionDescriptions+=SiriusExpressionDescription* - public Assignment getExpressionDescriptionsAssignment_4() { return cExpressionDescriptionsAssignment_4; } - - //SiriusExpressionDescription - public RuleCall getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0() { return cExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } - } - - public class SiriusVariableElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusVariable"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cDocumentationAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cDocumentationML_COMMENTTerminalRuleCall_0_0 = (RuleCall)cDocumentationAssignment_0.eContents().get(0); - private final Keyword cVarKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); - private final Keyword cColonKeyword_3 = (Keyword)cGroup.eContents().get(3); - private final Assignment cETypeAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final CrossReference cETypeEClassifierCrossReference_4_0 = (CrossReference)cETypeAssignment_4.eContents().get(0); - private final RuleCall cETypeEClassifierFQNParserRuleCall_4_0_1 = (RuleCall)cETypeEClassifierCrossReference_4_0.eContents().get(1); - - //SiriusVariable: - // documentation=ML_COMMENT? - // 'var' name=ID ':' eType=[ecore::EClassifier|FQN]; - @Override public ParserRule getRule() { return rule; } - - //documentation=ML_COMMENT? 'var' name=ID ':' eType=[ecore::EClassifier|FQN] - public Group getGroup() { return cGroup; } - - //documentation=ML_COMMENT? - public Assignment getDocumentationAssignment_0() { return cDocumentationAssignment_0; } - - //ML_COMMENT - public RuleCall getDocumentationML_COMMENTTerminalRuleCall_0_0() { return cDocumentationML_COMMENTTerminalRuleCall_0_0; } - - //'var' - public Keyword getVarKeyword_1() { return cVarKeyword_1; } - - //name=ID - public Assignment getNameAssignment_2() { return cNameAssignment_2; } - - //ID - public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } - - //':' - public Keyword getColonKeyword_3() { return cColonKeyword_3; } - - //eType=[ecore::EClassifier|FQN] - public Assignment getETypeAssignment_4() { return cETypeAssignment_4; } - - //[ecore::EClassifier|FQN] - public CrossReference getETypeEClassifierCrossReference_4_0() { return cETypeEClassifierCrossReference_4_0; } - - //FQN - public RuleCall getETypeEClassifierFQNParserRuleCall_4_0_1() { return cETypeEClassifierFQNParserRuleCall_4_0_1; } - } - - public class FQNElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.FQN"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); - private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); - - //FQN: - // ID ("." ID)*; - @Override public ParserRule getRule() { return rule; } - - //ID ("." ID)* - public Group getGroup() { return cGroup; } - - //ID - public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } - - //("." ID)* - public Group getGroup_1() { return cGroup_1; } - - //"." - public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } - - //ID - public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } - } - - public class SiriusExpressionDescriptionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.SiriusExpressionDescription"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cExpKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cExpressionAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cExpressionEAttributeCrossReference_1_0 = (CrossReference)cExpressionAssignment_1.eContents().get(0); - private final RuleCall cExpressionEAttributeFQNParserRuleCall_1_0_1 = (RuleCall)cExpressionEAttributeCrossReference_1_0.eContents().get(1); - private final Keyword cLeftParenthesisKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Group cGroup_3 = (Group)cGroup.eContents().get(3); - private final Assignment cParametersAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0); - private final RuleCall cParametersParameterParserRuleCall_3_0_0 = (RuleCall)cParametersAssignment_3_0.eContents().get(0); - private final Group cGroup_3_1 = (Group)cGroup_3.eContents().get(1); - private final Keyword cCommaKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); - private final Assignment cParametersAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1); - private final RuleCall cParametersParameterParserRuleCall_3_1_1_0 = (RuleCall)cParametersAssignment_3_1_1.eContents().get(0); - private final Keyword cRightParenthesisKeyword_4 = (Keyword)cGroup.eContents().get(4); - private final Keyword cColonKeyword_5 = (Keyword)cGroup.eContents().get(5); - private final Assignment cTypeAssignment_6 = (Assignment)cGroup.eContents().get(6); - private final CrossReference cTypeEClassifierCrossReference_6_0 = (CrossReference)cTypeAssignment_6.eContents().get(0); - private final RuleCall cTypeEClassifierFQNParserRuleCall_6_0_1 = (RuleCall)cTypeEClassifierCrossReference_6_0.eContents().get(1); - private final Keyword cLeftSquareBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); - private final Assignment cLowerBoundAssignment_8 = (Assignment)cGroup.eContents().get(8); - private final RuleCall cLowerBoundBoundParserRuleCall_8_0 = (RuleCall)cLowerBoundAssignment_8.eContents().get(0); - private final Keyword cFullStopFullStopKeyword_9 = (Keyword)cGroup.eContents().get(9); - private final Assignment cUpperBoundAssignment_10 = (Assignment)cGroup.eContents().get(10); - private final RuleCall cUpperBoundBoundParserRuleCall_10_0 = (RuleCall)cUpperBoundAssignment_10.eContents().get(0); - private final Keyword cRightSquareBracketKeyword_11 = (Keyword)cGroup.eContents().get(11); - private final Keyword cLeftCurlyBracketKeyword_12 = (Keyword)cGroup.eContents().get(12); - private final Keyword cContextableElementsKeyword_13 = (Keyword)cGroup.eContents().get(13); - private final Keyword cEqualsSignKeyword_14 = (Keyword)cGroup.eContents().get(14); - private final Keyword cLeftSquareBracketKeyword_15 = (Keyword)cGroup.eContents().get(15); - private final Group cGroup_16 = (Group)cGroup.eContents().get(16); - private final Assignment cContextableElementsAssignment_16_0 = (Assignment)cGroup_16.eContents().get(0); - private final CrossReference cContextableElementsEClassCrossReference_16_0_0 = (CrossReference)cContextableElementsAssignment_16_0.eContents().get(0); - private final RuleCall cContextableElementsEClassFQNParserRuleCall_16_0_0_1 = (RuleCall)cContextableElementsEClassCrossReference_16_0_0.eContents().get(1); - private final Group cGroup_16_1 = (Group)cGroup_16.eContents().get(1); - private final Keyword cCommaKeyword_16_1_0 = (Keyword)cGroup_16_1.eContents().get(0); - private final Assignment cContextableElementsAssignment_16_1_1 = (Assignment)cGroup_16_1.eContents().get(1); - private final CrossReference cContextableElementsEClassCrossReference_16_1_1_0 = (CrossReference)cContextableElementsAssignment_16_1_1.eContents().get(0); - private final RuleCall cContextableElementsEClassFQNParserRuleCall_16_1_1_0_1 = (RuleCall)cContextableElementsEClassCrossReference_16_1_1_0.eContents().get(1); - private final Keyword cRightSquareBracketKeyword_17 = (Keyword)cGroup.eContents().get(17); - private final Keyword cRightCurlyBracketKeyword_18 = (Keyword)cGroup.eContents().get(18); - - //SiriusExpressionDescription: - // 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=Parameter (',' parameters+=Parameter)*)? ')' ':' - // type=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' - // 'contextableElements' '=' '[' (contextableElements+=[ecore::EClass|FQN] (',' - // contextableElements+=[ecore::EClass|FQN])*)? - // ']' - // '}'; - @Override public ParserRule getRule() { return rule; } - - //'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=Parameter (',' parameters+=Parameter)*)? ')' ':' - //type=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' 'contextableElements' '=' '[' - //(contextableElements+=[ecore::EClass|FQN] (',' contextableElements+=[ecore::EClass|FQN])*)? ']' '}' - public Group getGroup() { return cGroup; } - - //'exp' - public Keyword getExpKeyword_0() { return cExpKeyword_0; } - - //expression=[ecore::EAttribute|FQN] - public Assignment getExpressionAssignment_1() { return cExpressionAssignment_1; } - - //[ecore::EAttribute|FQN] - public CrossReference getExpressionEAttributeCrossReference_1_0() { return cExpressionEAttributeCrossReference_1_0; } - - //FQN - public RuleCall getExpressionEAttributeFQNParserRuleCall_1_0_1() { return cExpressionEAttributeFQNParserRuleCall_1_0_1; } - - //'(' - public Keyword getLeftParenthesisKeyword_2() { return cLeftParenthesisKeyword_2; } - - //(parameters+=Parameter (',' parameters+=Parameter)*)? - public Group getGroup_3() { return cGroup_3; } - - //parameters+=Parameter - public Assignment getParametersAssignment_3_0() { return cParametersAssignment_3_0; } - - //Parameter - public RuleCall getParametersParameterParserRuleCall_3_0_0() { return cParametersParameterParserRuleCall_3_0_0; } - - //(',' parameters+=Parameter)* - public Group getGroup_3_1() { return cGroup_3_1; } - - //',' - public Keyword getCommaKeyword_3_1_0() { return cCommaKeyword_3_1_0; } - - //parameters+=Parameter - public Assignment getParametersAssignment_3_1_1() { return cParametersAssignment_3_1_1; } - - //Parameter - public RuleCall getParametersParameterParserRuleCall_3_1_1_0() { return cParametersParameterParserRuleCall_3_1_1_0; } - - //')' - public Keyword getRightParenthesisKeyword_4() { return cRightParenthesisKeyword_4; } - - //':' - public Keyword getColonKeyword_5() { return cColonKeyword_5; } - - //type=[ecore::EClassifier|FQN] - public Assignment getTypeAssignment_6() { return cTypeAssignment_6; } - - //[ecore::EClassifier|FQN] - public CrossReference getTypeEClassifierCrossReference_6_0() { return cTypeEClassifierCrossReference_6_0; } - - //FQN - public RuleCall getTypeEClassifierFQNParserRuleCall_6_0_1() { return cTypeEClassifierFQNParserRuleCall_6_0_1; } - - //'[' - public Keyword getLeftSquareBracketKeyword_7() { return cLeftSquareBracketKeyword_7; } - - //lowerBound=Bound - public Assignment getLowerBoundAssignment_8() { return cLowerBoundAssignment_8; } - - //Bound - public RuleCall getLowerBoundBoundParserRuleCall_8_0() { return cLowerBoundBoundParserRuleCall_8_0; } - - //'..' - public Keyword getFullStopFullStopKeyword_9() { return cFullStopFullStopKeyword_9; } - - //upperBound=Bound - public Assignment getUpperBoundAssignment_10() { return cUpperBoundAssignment_10; } - - //Bound - public RuleCall getUpperBoundBoundParserRuleCall_10_0() { return cUpperBoundBoundParserRuleCall_10_0; } - - //']' - public Keyword getRightSquareBracketKeyword_11() { return cRightSquareBracketKeyword_11; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_12() { return cLeftCurlyBracketKeyword_12; } - - //'contextableElements' - public Keyword getContextableElementsKeyword_13() { return cContextableElementsKeyword_13; } - - //'=' - public Keyword getEqualsSignKeyword_14() { return cEqualsSignKeyword_14; } - - //'[' - public Keyword getLeftSquareBracketKeyword_15() { return cLeftSquareBracketKeyword_15; } - - //(contextableElements+=[ecore::EClass|FQN] (',' contextableElements+=[ecore::EClass|FQN])*)? - public Group getGroup_16() { return cGroup_16; } - - //contextableElements+=[ecore::EClass|FQN] - public Assignment getContextableElementsAssignment_16_0() { return cContextableElementsAssignment_16_0; } - - //[ecore::EClass|FQN] - public CrossReference getContextableElementsEClassCrossReference_16_0_0() { return cContextableElementsEClassCrossReference_16_0_0; } - - //FQN - public RuleCall getContextableElementsEClassFQNParserRuleCall_16_0_0_1() { return cContextableElementsEClassFQNParserRuleCall_16_0_0_1; } - - //(',' contextableElements+=[ecore::EClass|FQN])* - public Group getGroup_16_1() { return cGroup_16_1; } - - //',' - public Keyword getCommaKeyword_16_1_0() { return cCommaKeyword_16_1_0; } - - //contextableElements+=[ecore::EClass|FQN] - public Assignment getContextableElementsAssignment_16_1_1() { return cContextableElementsAssignment_16_1_1; } - - //[ecore::EClass|FQN] - public CrossReference getContextableElementsEClassCrossReference_16_1_1_0() { return cContextableElementsEClassCrossReference_16_1_1_0; } - - //FQN - public RuleCall getContextableElementsEClassFQNParserRuleCall_16_1_1_0_1() { return cContextableElementsEClassFQNParserRuleCall_16_1_1_0_1; } - - //']' - public Keyword getRightSquareBracketKeyword_17() { return cRightSquareBracketKeyword_17; } - - //'}' - public Keyword getRightCurlyBracketKeyword_18() { return cRightCurlyBracketKeyword_18; } - } - - public class ParameterElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.Parameter"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cOptionalAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final Keyword cOptionalOptionalKeyword_0_0 = (Keyword)cOptionalAssignment_0.eContents().get(0); - private final Assignment cVariableAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cVariableSiriusVariableCrossReference_1_0 = (CrossReference)cVariableAssignment_1.eContents().get(0); - private final RuleCall cVariableSiriusVariableFQNParserRuleCall_1_0_1 = (RuleCall)cVariableSiriusVariableCrossReference_1_0.eContents().get(1); - - //Parameter: - // optional?='optional'? variable=[SiriusVariable|FQN]; - @Override public ParserRule getRule() { return rule; } - - //optional?='optional'? variable=[SiriusVariable|FQN] - public Group getGroup() { return cGroup; } - - //optional?='optional'? - public Assignment getOptionalAssignment_0() { return cOptionalAssignment_0; } - - //'optional' - public Keyword getOptionalOptionalKeyword_0_0() { return cOptionalOptionalKeyword_0_0; } - - //variable=[SiriusVariable|FQN] - public Assignment getVariableAssignment_1() { return cVariableAssignment_1; } - - //[SiriusVariable|FQN] - public CrossReference getVariableSiriusVariableCrossReference_1_0() { return cVariableSiriusVariableCrossReference_1_0; } - - //FQN - public RuleCall getVariableSiriusVariableFQNParserRuleCall_1_0_1() { return cVariableSiriusVariableFQNParserRuleCall_1_0_1; } - } - - public class BoundElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.Bound"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); - - //Bound ecore::EInt: - // '-'? INT - @Override public ParserRule getRule() { return rule; } - - //'-'? INT - public Group getGroup() { return cGroup; } - - //'-'? - public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; } - - //INT - public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; } - } - - - private final SiriusExpressionPackageElements pSiriusExpressionPackage; - private final SiriusExpressionClassElements pSiriusExpressionClass; - private final SiriusVariableElements pSiriusVariable; - private final FQNElements pFQN; - private final SiriusExpressionDescriptionElements pSiriusExpressionDescription; - private final ParameterElements pParameter; - private final BoundElements pBound; - private final TerminalRule tID; - private final TerminalRule tINT; - private final TerminalRule tML_COMMENT; - private final TerminalRule tWS; - - private final Grammar grammar; - - @Inject - public ExpressionDSLGrammarAccess(GrammarProvider grammarProvider) { - this.grammar = internalFindGrammar(grammarProvider); - this.pSiriusExpressionPackage = new SiriusExpressionPackageElements(); - this.pSiriusExpressionClass = new SiriusExpressionClassElements(); - this.pSiriusVariable = new SiriusVariableElements(); - this.pFQN = new FQNElements(); - this.pSiriusExpressionDescription = new SiriusExpressionDescriptionElements(); - this.pParameter = new ParameterElements(); - this.pBound = new BoundElements(); - this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.ID"); - this.tINT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.INT"); - this.tML_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.ML_COMMENT"); - this.tWS = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.dsl.ExpressionDSL.WS"); - } - - protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { - Grammar grammar = grammarProvider.getGrammar(this); - while (grammar != null) { - if ("org.eclipse.sirius.expression.dsl.ExpressionDSL".equals(grammar.getName())) { - return grammar; - } - List grammars = grammar.getUsedGrammars(); - if (!grammars.isEmpty()) { - grammar = grammars.iterator().next(); - } else { - return null; - } - } - return grammar; - } - - @Override - public Grammar getGrammar() { - return grammar; - } - - - - //SiriusExpressionPackage: - // 'package' ePackage=[ecore::EPackage|FQN] '{' - // expressionClasses+=SiriusExpressionClass* - // '}'; - public SiriusExpressionPackageElements getSiriusExpressionPackageAccess() { - return pSiriusExpressionPackage; - } - - public ParserRule getSiriusExpressionPackageRule() { - return getSiriusExpressionPackageAccess().getRule(); - } - - //SiriusExpressionClass: - // 'class' eClass=[ecore::EClass|FQN] '{' - // variables+=SiriusVariable* - // expressionDescriptions+=SiriusExpressionDescription* - // '}'; - public SiriusExpressionClassElements getSiriusExpressionClassAccess() { - return pSiriusExpressionClass; - } - - public ParserRule getSiriusExpressionClassRule() { - return getSiriusExpressionClassAccess().getRule(); - } - - //SiriusVariable: - // documentation=ML_COMMENT? - // 'var' name=ID ':' eType=[ecore::EClassifier|FQN]; - public SiriusVariableElements getSiriusVariableAccess() { - return pSiriusVariable; - } - - public ParserRule getSiriusVariableRule() { - return getSiriusVariableAccess().getRule(); - } - - //FQN: - // ID ("." ID)*; - public FQNElements getFQNAccess() { - return pFQN; - } - - public ParserRule getFQNRule() { - return getFQNAccess().getRule(); - } - - //SiriusExpressionDescription: - // 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=Parameter (',' parameters+=Parameter)*)? ')' ':' - // type=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' - // 'contextableElements' '=' '[' (contextableElements+=[ecore::EClass|FQN] (',' - // contextableElements+=[ecore::EClass|FQN])*)? - // ']' - // '}'; - public SiriusExpressionDescriptionElements getSiriusExpressionDescriptionAccess() { - return pSiriusExpressionDescription; - } - - public ParserRule getSiriusExpressionDescriptionRule() { - return getSiriusExpressionDescriptionAccess().getRule(); - } - - //Parameter: - // optional?='optional'? variable=[SiriusVariable|FQN]; - public ParameterElements getParameterAccess() { - return pParameter; - } - - public ParserRule getParameterRule() { - return getParameterAccess().getRule(); - } - - //Bound ecore::EInt: - // '-'? INT - public BoundElements getBoundAccess() { - return pBound; - } - - public ParserRule getBoundRule() { - return getBoundAccess().getRule(); - } - - //terminal ID: - // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; - public TerminalRule getIDRule() { - return tID; - } - - //terminal INT returns ecore::EInt: - // '0'..'9'+; - public TerminalRule getINTRule() { - return tINT; - } - - //terminal ML_COMMENT: - // '/ *'->'* /'; - public TerminalRule getML_COMMENTRule() { - return tML_COMMENT; - } - - //terminal WS: - // ' ' | '\t' | '\r' | '\n'+; - public TerminalRule getWSRule() { - return tWS; - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/validation/AbstractExpressionDSLValidator.java b/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/validation/AbstractExpressionDSLValidator.java deleted file mode 100644 index cf6dee88c..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src-gen/org/eclipse/sirius/expression/dsl/validation/AbstractExpressionDSLValidator.java +++ /dev/null @@ -1,18 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.validation; - -import java.util.ArrayList; -import java.util.List; -import org.eclipse.emf.ecore.EPackage; - -public class AbstractExpressionDSLValidator extends org.eclipse.xtext.validation.AbstractDeclarativeValidator { - - @Override - protected List getEPackages() { - List result = new ArrayList(); - result.add(org.eclipse.sirius.expression.dsl.expressionDSL.ExpressionDSLPackage.eINSTANCE); - return result; - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtext b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtext deleted file mode 100644 index e79f23567..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtext +++ /dev/null @@ -1,48 +0,0 @@ -grammar org.eclipse.sirius.expression.dsl.ExpressionDSL hidden(WS) - -generate expressionDSL "http://www.eclipse.org/sirius/expression/dsl/ExpressionDSL" - -import "http://www.eclipse.org/emf/2002/Ecore" as ecore - -SiriusExpressionPackage: - 'package' ePackage=[ecore::EPackage|FQN] '{' - (expressionClasses+=SiriusExpressionClass)* - '}' -; - -SiriusExpressionClass: - 'class' eClass=[ecore::EClass|FQN] '{' - (variables+=SiriusVariable)* - (expressionDescriptions+=SiriusExpressionDescription)* - '}' -; - -SiriusVariable: - (documentation=ML_COMMENT)? - 'var' name=ID ':' eType=[ecore::EClassifier|FQN] -; - -FQN returns ecore::EString: - ID ("." ID)* -; - -SiriusExpressionDescription: - 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=Parameter(',' parameters+=Parameter)*)? ')' ':' type=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' - 'contextableElements' '=' '[' - (contextableElements+=[ecore::EClass|FQN](',' contextableElements+=[ecore::EClass|FQN])*)? - ']' - '}' -; - -Parameter: - (optional?='optional')? variable=[SiriusVariable|FQN] -; - -Bound returns ecore::EInt: - ('-')?INT -; - -terminal ID : '^'?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; -terminal INT returns ecore::EInt: ('0'..'9')+; -terminal ML_COMMENT : '/*' -> '*/'; -terminal WS : (' '|'\t'|'\r'|'\n')+; diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLRuntimeModule.java b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLRuntimeModule.java deleted file mode 100644 index fb638dc90..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLRuntimeModule.java +++ /dev/null @@ -1,21 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl; - -import org.eclipse.sirius.expression.dsl.scoping.ExpressionDSLStatedContainerManager; -import org.eclipse.xtext.resource.IContainer.Manager; - -/** - * Use this class to register components to be used at runtime / without the Equinox extension registry. - */ -public class ExpressionDSLRuntimeModule extends org.eclipse.sirius.expression.dsl.AbstractExpressionDSLRuntimeModule { -// public Class bindIGlobalScopeProvider() { -// return ExpressionDSLGlobalScopeProvider.class; -// } - - @Override - public Class bindIContainer$Manager() { - return ExpressionDSLStatedContainerManager.class; - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetup.java b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetup.java deleted file mode 100644 index 17a66e0a6..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/ExpressionDSLStandaloneSetup.java +++ /dev/null @@ -1,16 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl; - -/** - * Initialization support for running Xtext languages - * without equinox extension registry - */ -public class ExpressionDSLStandaloneSetup extends ExpressionDSLStandaloneSetupGenerated{ - - public static void doSetup() { - new ExpressionDSLStandaloneSetup().createInjectorAndDoEMFRegistration(); - } -} - diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/GenerateExpressionDSL.mwe2 b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/GenerateExpressionDSL.mwe2 deleted file mode 100644 index 21f966647..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/GenerateExpressionDSL.mwe2 +++ /dev/null @@ -1,150 +0,0 @@ -module org.eclipse.sirius.expression.dsl.GenerateExpressionDSL - -import org.eclipse.emf.mwe.utils.* -import org.eclipse.xtext.generator.* -import org.eclipse.xtext.ui.generator.* - -var grammarURI = "classpath:/org/eclipse/sirius/expression/dsl/ExpressionDSL.xtext" -var fileExtensions = "expressions" -var projectName = "org.eclipse.sirius.expression.dsl" -var runtimeProject = "../${projectName}" -var testProject = "../../tests/${projectName}.tests" -var generateXtendStub = true -var encoding = "UTF-8" - -Workflow { - bean = StandaloneSetup { - scanClassPath = true - platformUri = "${runtimeProject}/.." - - uriMap = { - from = "platform:/plugin/org.eclipse.emf.codegen.ecore/model/GenModel.genmodel" - to = "platform:/resource/org.eclipse.emf.codegen.ecore/model/GenModel.genmodel" - } - uriMap = { - from = "platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel" - to = "platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel" - } - - registerGeneratedEPackage = "org.eclipse.emf.ecore.EcorePackage" - registerGenModelFile = "platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel" - - registerGeneratedEPackage = "org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage" - registerGenModelFile = "platform:/resource/org.eclipse.emf.codegen.ecore/model/GenModel.genmodel" - - // The following two lines can be removed, if Xbase is not used. - registerGeneratedEPackage = "org.eclipse.xtext.xbase.XbasePackage" - registerGenModelFile = "platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel" - } - - component = DirectoryCleaner { - directory = "${runtimeProject}/src-gen" - } - - component = DirectoryCleaner { - directory = "${runtimeProject}/model/generated" - } - - component = DirectoryCleaner { - directory = "${runtimeProject}.ui/src-gen" - } - - component = DirectoryCleaner { - directory = "${testProject}/src-gen" - } - - component = Generator { - pathRtProject = runtimeProject - pathUiProject = "${runtimeProject}.ui" - pathTestProject = "${testProject}" - projectNameRt = projectName - projectNameUi = "${projectName}.ui" - encoding = encoding - language = auto-inject { - uri = grammarURI - - // Java API to access grammar elements (required by several other fragments) - fragment = grammarAccess.GrammarAccessFragment auto-inject {} - - // generates Java API for the generated EPackages - fragment = ecore.EMFGeneratorFragment auto-inject {} - - // the old serialization component - // fragment = parseTreeConstructor.ParseTreeConstructorFragment auto-inject {} - - // serializer 2.0 - fragment = serializer.SerializerFragment auto-inject { - generateStub = false - } - - // a custom ResourceFactory for use with EMF - fragment = resourceFactory.ResourceFactoryFragment auto-inject {} - - // The antlr parser generator fragment. - fragment = parser.antlr.XtextAntlrGeneratorFragment auto-inject { - // options = { - // backtrack = true - // } - } - - // Xtend-based API for validation - fragment = validation.ValidatorFragment auto-inject { - // composedCheck = "org.eclipse.xtext.validation.ImportUriValidator" - // composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator" - } - - // old scoping and exporting API - // fragment = scoping.ImportURIScopingFragment auto-inject {} - // fragment = exporting.SimpleNamesFragment auto-inject {} - - // scoping and exporting API - fragment = scoping.ImportNamespacesScopingFragment auto-inject {} - fragment = exporting.QualifiedNamesFragment auto-inject {} - fragment = builder.BuilderIntegrationFragment auto-inject {} - - // generator API - fragment = generator.GeneratorFragment auto-inject {} - - // formatter API - fragment = formatting.FormatterFragment auto-inject {} - - // labeling API - fragment = labeling.LabelProviderFragment auto-inject {} - - // outline API - fragment = outline.OutlineTreeProviderFragment auto-inject {} - fragment = outline.QuickOutlineFragment auto-inject {} - - // quickfix API - fragment = quickfix.QuickfixProviderFragment auto-inject {} - - // content assist API - fragment = contentAssist.ContentAssistFragment auto-inject {} - - // generates a more lightweight Antlr parser and lexer tailored for content assist - fragment = parser.antlr.XtextAntlrUiGeneratorFragment auto-inject {} - - // generates junit test support classes into Generator#pathTestProject - fragment = junit.Junit4Fragment auto-inject {} - - // rename refactoring - fragment = refactoring.RefactorElementNameFragment auto-inject {} - - // provides the necessary bindings for java types integration - fragment = types.TypesGeneratorFragment auto-inject {} - - // generates the required bindings only if the grammar inherits from Xbase - fragment = xbase.XbaseGeneratorFragment auto-inject {} - - // generates the required bindings only if the grammar inherits from Xtype - fragment = xbase.XtypeGeneratorFragment auto-inject {} - - // provides a preference page for template proposals - fragment = templates.CodetemplatesGeneratorFragment auto-inject {} - - // provides a compare view - fragment = compare.CompareFragment auto-inject {} - } - } -} - diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.xtend b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.xtend deleted file mode 100644 index 76aabcc25..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.xtend +++ /dev/null @@ -1,30 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.formatting - -import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter -import org.eclipse.xtext.formatting.impl.FormattingConfig -// import com.google.inject.Inject; -// import org.eclipse.sirius.expression.dsl.services.ExpressionDSLGrammarAccess - -/** - * This class contains custom formatting declarations. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#formatting - * on how and when to use it. - * - * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example - */ -class ExpressionDSLFormatter extends AbstractDeclarativeFormatter { - -// @Inject extension ExpressionDSLGrammarAccess - - override protected void configureFormatting(FormattingConfig c) { -// It's usually a good idea to activate the following three statements. -// They will add and preserve newlines around comments -// c.setLinewrap(0, 1, 2).before(SL_COMMENTRule) -// c.setLinewrap(0, 1, 2).before(ML_COMMENTRule) -// c.setLinewrap(0, 1, 1).after(ML_COMMENTRule) - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.xtend b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.xtend deleted file mode 100644 index 82485b240..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.xtend +++ /dev/null @@ -1,24 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.generator - -import org.eclipse.emf.ecore.resource.Resource -import org.eclipse.xtext.generator.IGenerator -import org.eclipse.xtext.generator.IFileSystemAccess - -/** - * Generates code from your model files on save. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation - */ -class ExpressionDSLGenerator implements IGenerator { - - override void doGenerate(Resource resource, IFileSystemAccess fsa) { -// fsa.generateFile('greetings.txt', 'People to greet: ' + -// resource.allContents -// .filter(typeof(Greeting)) -// .map[name] -// .join(', ')) - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.xtend b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.xtend deleted file mode 100644 index 39fff9d86..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.xtend +++ /dev/null @@ -1,32 +0,0 @@ -package org.eclipse.sirius.expression.dsl.scoping - -import org.eclipse.xtext.resource.containers.IContainerState -import org.eclipse.emf.common.util.URI -import org.eclipse.xtext.resource.containers.IAllContainersState - -class ExpressionDSLContainerState implements IContainerState { - String root - IAllContainersState globalState - - new(String root, org.eclipse.xtext.resource.containers.IAllContainersState state) { - this.root = root - this.globalState = state - } - - override contains(URI uri) { - return getContents().contains(uri) - } - - override getContents() { - return globalState.getContainedURIs(root) - } - - override isEmpty() { - return globalState.isEmpty(root) - } - - override toString() { - return "container '" + root +"' from "+globalState - } - -} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.xtend b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.xtend deleted file mode 100644 index 28a53dc87..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.xtend +++ /dev/null @@ -1,15 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.scoping - -/** - * This class contains custom scoping description. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping - * on how and when to use it. - * - */ -class ExpressionDSLScopeProvider extends org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider { - -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.xtend b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.xtend deleted file mode 100644 index f1dd4fa9f..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.xtend +++ /dev/null @@ -1,19 +0,0 @@ -package org.eclipse.sirius.expression.dsl.scoping - -import org.eclipse.xtext.resource.containers.StateBasedContainer -import org.eclipse.xtext.resource.IResourceDescriptions -import org.eclipse.xtext.resource.containers.IContainerState -import org.eclipse.xtext.resource.IEObjectDescription - -class ExpressionDSLStateBasedContainer extends StateBasedContainer { - - new(IResourceDescriptions descriptions, IContainerState state) { - super(descriptions, state) - } - - override protected filterByURI(Iterable unfiltered) { - // Do not filter anything - return unfiltered - } - -} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.xtend b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.xtend deleted file mode 100644 index 2b178c42e..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.xtend +++ /dev/null @@ -1,19 +0,0 @@ -package org.eclipse.sirius.expression.dsl.scoping - -import org.eclipse.xtext.resource.IResourceDescriptions -import org.eclipse.xtext.resource.containers.FlatResourceSetBasedAllContainersState -import org.eclipse.xtext.resource.containers.StateBasedContainerManager - -class ExpressionDSLStatedContainerManager extends StateBasedContainerManager { - - override protected createContainer(String handle, IResourceDescriptions resourceDescriptions) { - val state = getState(resourceDescriptions); - val containerState = new ExpressionDSLContainerState(handle, state); - val result = new ExpressionDSLStateBasedContainer(resourceDescriptions, containerState); - if (state instanceof FlatResourceSetBasedAllContainersState) - result.setUriToDescriptionCacheEnabled(false); - return result; - } - -} - diff --git a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.xtend b/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.xtend deleted file mode 100644 index 1fb3e3f5a..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/src/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.xtend +++ /dev/null @@ -1,25 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.validation - -//import org.eclipse.xtext.validation.Check - -/** - * This class contains custom validation rules. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation - */ -class ExpressionDSLValidator extends AbstractExpressionDSLValidator { - -// public static val INVALID_NAME = 'invalidName' -// -// @Check -// def checkGreetingStartsWithCapital(Greeting greeting) { -// if (!Character.isUpperCase(greeting.name.charAt(0))) { -// warning('Name should start with a capital', -// MyDslPackage.Literals.GREETING__NAME, -// INVALID_NAME) -// } -// } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/.gitignore b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/.gitignore deleted file mode 100644 index 5ea920d46..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/.ExpressionDSLStatedContainerManager.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.ExpressionDSLFormatter.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.ExpressionDSLFormatter.xtendbin deleted file mode 100644 index 0882d6066..000000000 Binary files a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.ExpressionDSLFormatter.xtendbin and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.gitignore b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.gitignore deleted file mode 100644 index c67969dc8..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/.ExpressionDSLFormatter.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.java b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.java deleted file mode 100644 index 5c7f7681e..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/formatting/ExpressionDSLFormatter.java +++ /dev/null @@ -1,22 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.formatting; - -import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter; -import org.eclipse.xtext.formatting.impl.FormattingConfig; - -/** - * This class contains custom formatting declarations. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#formatting - * on how and when to use it. - * - * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example - */ -@SuppressWarnings("all") -public class ExpressionDSLFormatter extends AbstractDeclarativeFormatter { - @Override - protected void configureFormatting(final FormattingConfig c) { - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.ExpressionDSLGenerator.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.ExpressionDSLGenerator.xtendbin deleted file mode 100644 index 93f5356d2..000000000 Binary files a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.ExpressionDSLGenerator.xtendbin and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.gitignore b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.gitignore deleted file mode 100644 index a257cbefd..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/.ExpressionDSLGenerator.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.java b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.java deleted file mode 100644 index 0046e4fac..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/generator/ExpressionDSLGenerator.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.generator; - -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.xtext.generator.IFileSystemAccess; -import org.eclipse.xtext.generator.IGenerator; - -/** - * Generates code from your model files on save. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation - */ -@SuppressWarnings("all") -public class ExpressionDSLGenerator implements IGenerator { - @Override - public void doGenerate(final Resource resource, final IFileSystemAccess fsa) { - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLContainerState.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLContainerState.xtendbin deleted file mode 100644 index df1d76e93..000000000 Binary files a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLContainerState.xtendbin and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLScopeProvider.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLScopeProvider.xtendbin deleted file mode 100644 index 1af373a07..000000000 Binary files a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLScopeProvider.xtendbin and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStateBasedContainer.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStateBasedContainer.xtendbin deleted file mode 100644 index b7d585250..000000000 Binary files a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStateBasedContainer.xtendbin and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStatedContainerManager.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStatedContainerManager.xtendbin deleted file mode 100644 index c954e9fa1..000000000 Binary files a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.ExpressionDSLStatedContainerManager.xtendbin and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.gitignore b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.gitignore deleted file mode 100644 index 85a895dbc..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/.ExpressionDSLScopeProvider.java._trace -/.ExpressionDSLGlobalScopeProvider.java._trace -/.ExpressionDSLStateContainerManager.java._trace -/.ExpressionDSLStatedContainerManager.java._trace -/.ExpressionDSLStateBasedContainer.java._trace -/.ExpressionDSLContainerState.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.java b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.java deleted file mode 100644 index d3d2f67f0..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLContainerState.java +++ /dev/null @@ -1,39 +0,0 @@ -package org.eclipse.sirius.expression.dsl.scoping; - -import java.util.Collection; -import org.eclipse.emf.common.util.URI; -import org.eclipse.xtext.resource.containers.IAllContainersState; -import org.eclipse.xtext.resource.containers.IContainerState; - -@SuppressWarnings("all") -public class ExpressionDSLContainerState implements IContainerState { - private String root; - - private IAllContainersState globalState; - - public ExpressionDSLContainerState(final String root, final IAllContainersState state) { - this.root = root; - this.globalState = state; - } - - @Override - public boolean contains(final URI uri) { - Collection _contents = this.getContents(); - return _contents.contains(uri); - } - - @Override - public Collection getContents() { - return this.globalState.getContainedURIs(this.root); - } - - @Override - public boolean isEmpty() { - return this.globalState.isEmpty(this.root); - } - - @Override - public String toString() { - return ((("container \'" + this.root) + "\' from ") + this.globalState); - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.java b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.java deleted file mode 100644 index ab23dd850..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLScopeProvider.java +++ /dev/null @@ -1,16 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.scoping; - -import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider; - -/** - * This class contains custom scoping description. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping - * on how and when to use it. - */ -@SuppressWarnings("all") -public class ExpressionDSLScopeProvider extends AbstractDeclarativeScopeProvider { -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.java b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.java deleted file mode 100644 index 3e315a1bd..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStateBasedContainer.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.eclipse.sirius.expression.dsl.scoping; - -import org.eclipse.xtext.resource.IEObjectDescription; -import org.eclipse.xtext.resource.IResourceDescriptions; -import org.eclipse.xtext.resource.containers.IContainerState; -import org.eclipse.xtext.resource.containers.StateBasedContainer; - -@SuppressWarnings("all") -public class ExpressionDSLStateBasedContainer extends StateBasedContainer { - public ExpressionDSLStateBasedContainer(final IResourceDescriptions descriptions, final IContainerState state) { - super(descriptions, state); - } - - @Override - protected Iterable filterByURI(final Iterable unfiltered) { - return unfiltered; - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.java b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.java deleted file mode 100644 index afa285d89..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/scoping/ExpressionDSLStatedContainerManager.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.eclipse.sirius.expression.dsl.scoping; - -import org.eclipse.sirius.expression.dsl.scoping.ExpressionDSLContainerState; -import org.eclipse.sirius.expression.dsl.scoping.ExpressionDSLStateBasedContainer; -import org.eclipse.xtext.resource.IContainer; -import org.eclipse.xtext.resource.IResourceDescriptions; -import org.eclipse.xtext.resource.containers.FlatResourceSetBasedAllContainersState; -import org.eclipse.xtext.resource.containers.IAllContainersState; -import org.eclipse.xtext.resource.containers.StateBasedContainerManager; - -@SuppressWarnings("all") -public class ExpressionDSLStatedContainerManager extends StateBasedContainerManager { - @Override - protected IContainer createContainer(final String handle, final IResourceDescriptions resourceDescriptions) { - final IAllContainersState state = this.getState(resourceDescriptions); - final ExpressionDSLContainerState containerState = new ExpressionDSLContainerState(handle, state); - final ExpressionDSLStateBasedContainer result = new ExpressionDSLStateBasedContainer(resourceDescriptions, containerState); - if ((state instanceof FlatResourceSetBasedAllContainersState)) { - result.setUriToDescriptionCacheEnabled(false); - } - return result; - } -} diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.ExpressionDSLValidator.xtendbin b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.ExpressionDSLValidator.xtendbin deleted file mode 100644 index cb0dd3aea..000000000 Binary files a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.ExpressionDSLValidator.xtendbin and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.gitignore b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.gitignore deleted file mode 100644 index c4de489ec..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/.ExpressionDSLValidator.java._trace diff --git a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.java b/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.java deleted file mode 100644 index 1f4d5abe1..000000000 --- a/plugins/org.eclipse.sirius.expression.dsl/xtend-gen/org/eclipse/sirius/expression/dsl/validation/ExpressionDSLValidator.java +++ /dev/null @@ -1,15 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl.validation; - -import org.eclipse.sirius.expression.dsl.validation.AbstractExpressionDSLValidator; - -/** - * This class contains custom validation rules. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation - */ -@SuppressWarnings("all") -public class ExpressionDSLValidator extends AbstractExpressionDSLValidator { -} diff --git a/plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF index fd7007400..f6c76481b 100644 --- a/plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF @@ -10,6 +10,8 @@ Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Export-Package: org.eclipse.sirius.expression.provider;version="1.0.0" Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", - org.eclipse.sirius.expression;bundle-version="[1.0.0,2.0.0)", - org.eclipse.emf.edit;bundle-version="[2.8.0,3.0.0)" + org.eclipse.sirius.expression;bundle-version="[1.0.0,2.0.0)";visibility:=reexport, + org.eclipse.emf.edit;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, + org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, + org.eclipse.emf.ecore.edit;bundle-version="[2.8.0,3.0.0)";visibility:=reexport Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionDescription.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionDescription.gif new file mode 100644 index 000000000..134551bff Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionDescription.gif differ diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusParameter.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusParameter.gif new file mode 100644 index 000000000..134551bff Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusParameter.gif differ diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusVariable.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusVariable.gif new file mode 100644 index 000000000..591559182 Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusVariable.gif differ diff --git a/plugins/org.eclipse.sirius.expression.edit/plugin.properties b/plugins/org.eclipse.sirius.expression.edit/plugin.properties index 712c91ee2..20115648c 100644 --- a/plugins/org.eclipse.sirius.expression.edit/plugin.properties +++ b/plugins/org.eclipse.sirius.expression.edit/plugin.properties @@ -40,3 +40,18 @@ _UI_SiriusExpressionClass_expressionDescriptions_feature = Expression Descriptio _UI_SiriusExpressionClass_label_feature = Label _UI_Unknown_feature = Unspecified +_UI_SiriusVariable_type = Sirius Variable +_UI_SiriusVariable_name_feature = Name +_UI_SiriusVariable_documentation_feature = Documentation +_UI_SiriusExpressionDescription_type = Sirius Expression Description +_UI_SiriusParameter_type = Sirius Parameter +_UI_SiriusExpressionDescription_lowerBound_feature = Lower Bound +_UI_SiriusExpressionDescription_upperBound_feature = Upper Bound +_UI_SiriusExpressionDescription_expression_feature = Expression +_UI_SiriusExpressionDescription_parameters_feature = Parameters +_UI_SiriusExpressionDescription_returnType_feature = Return Type +_UI_SiriusExpressionDescription_variableContainers_feature = Variable Containers +_UI_SiriusVariable_eType_feature = EType +_UI_SiriusExpressionClass_eClass_feature = EClass +_UI_SiriusParameter_optional_feature = Optional +_UI_SiriusParameter_variable_feature = Variable diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionDescriptionItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionDescriptionItemProvider.java deleted file mode 100644 index 7b3341e13..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionDescriptionItemProvider.java +++ /dev/null @@ -1,311 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.sirius.expression.ExpressionDescription; -import org.eclipse.sirius.expression.ExpressionPackage; - -/** - * This is the item provider adapter for a {@link org.eclipse.sirius.expression.ExpressionDescription} object. - * - * - * @generated - */ -public class ExpressionDescriptionItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public ExpressionDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addLowerBoundPropertyDescriptor(object); - addUpperBoundPropertyDescriptor(object); - addExpressionPropertyDescriptor(object); - addVariablesPropertyDescriptor(object); - addReturnTypePropertyDescriptor(object); - addLabelPropertyDescriptor(object); - addContextableElementsPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Lower Bound feature. - * - * - * @generated - */ - protected void addLowerBoundPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ExpressionDescription_lowerBound_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_lowerBound_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__LOWER_BOUND, - true, - false, - false, - ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Upper Bound feature. - * - * - * @generated - */ - protected void addUpperBoundPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ExpressionDescription_upperBound_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_upperBound_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__UPPER_BOUND, - true, - false, - false, - ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Expression feature. - * - * - * @generated - */ - protected void addExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ExpressionDescription_expression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_expression_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__EXPRESSION, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Variables feature. - * - * - * @generated - */ - protected void addVariablesPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ExpressionDescription_variables_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_variables_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__VARIABLES, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Return Type feature. - * - * - * @generated - */ - protected void addReturnTypePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ExpressionDescription_returnType_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_returnType_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__RETURN_TYPE, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Label feature. - * - * - * @generated - */ - protected void addLabelPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ExpressionDescription_label_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_label_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__LABEL, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Contextable Elements feature. - * - * - * @generated - */ - protected void addContextableElementsPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ExpressionDescription_contextableElements_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ExpressionDescription_contextableElements_feature", "_UI_ExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns ExpressionDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ExpressionDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - ExpressionDescription expressionDescription = (ExpressionDescription)object; - return getString("_UI_ExpressionDescription_type") + " " + expressionDescription.getLowerBound(); //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(ExpressionDescription.class)) { - case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: - case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: - case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ExpressionEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java index 79725e43b..2d48f337d 100644 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java @@ -10,6 +10,7 @@ package org.eclipse.sirius.expression.provider; import org.eclipse.emf.common.EMFPlugin; import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.emf.ecore.provider.EcoreEditPlugin; /** * This is the central singleton for the Expression edit plugin. @@ -43,6 +44,7 @@ public final class ExpressionEditPlugin extends EMFPlugin { public ExpressionEditPlugin() { super (new ResourceLocator [] { + EcoreEditPlugin.INSTANCE, }); } diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java index e408c6b18..1feb0339b 100644 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java @@ -100,49 +100,49 @@ public class ExpressionItemProviderAdapterFactory extends ExpressionAdapterFacto } /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.ExpressionDescription} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.SiriusExpressionDescription} instances. * * * @generated */ - protected ExpressionDescriptionItemProvider expressionDescriptionItemProvider; + protected SiriusExpressionDescriptionItemProvider siriusExpressionDescriptionItemProvider; /** - * This creates an adapter for a {@link org.eclipse.sirius.expression.ExpressionDescription}. + * This creates an adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionDescription}. * * * @generated */ @Override - public Adapter createExpressionDescriptionAdapter() { - if (expressionDescriptionItemProvider == null) { - expressionDescriptionItemProvider = new ExpressionDescriptionItemProvider(this); + public Adapter createSiriusExpressionDescriptionAdapter() { + if (siriusExpressionDescriptionItemProvider == null) { + siriusExpressionDescriptionItemProvider = new SiriusExpressionDescriptionItemProvider(this); } - return expressionDescriptionItemProvider; + return siriusExpressionDescriptionItemProvider; } /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.Variable} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.SiriusVariable} instances. * * * @generated */ - protected VariableItemProvider variableItemProvider; + protected SiriusVariableItemProvider siriusVariableItemProvider; /** - * This creates an adapter for a {@link org.eclipse.sirius.expression.Variable}. + * This creates an adapter for a {@link org.eclipse.sirius.expression.SiriusVariable}. * * * @generated */ @Override - public Adapter createVariableAdapter() { - if (variableItemProvider == null) { - variableItemProvider = new VariableItemProvider(this); + public Adapter createSiriusVariableAdapter() { + if (siriusVariableItemProvider == null) { + siriusVariableItemProvider = new SiriusVariableItemProvider(this); } - return variableItemProvider; + return siriusVariableItemProvider; } /** @@ -168,6 +168,29 @@ public class ExpressionItemProviderAdapterFactory extends ExpressionAdapterFacto return siriusExpressionClassItemProvider; } + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.SiriusParameter} instances. + * + * + * @generated + */ + protected SiriusParameterItemProvider siriusParameterItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.SiriusParameter}. + * + * + * @generated + */ + @Override + public Adapter createSiriusParameterAdapter() { + if (siriusParameterItemProvider == null) { + siriusParameterItemProvider = new SiriusParameterItemProvider(this); + } + + return siriusParameterItemProvider; + } + /** * This returns the root adapter factory that contains this factory. * @@ -268,9 +291,10 @@ public class ExpressionItemProviderAdapterFactory extends ExpressionAdapterFacto */ public void dispose() { if (siriusExpressionPackageItemProvider != null) siriusExpressionPackageItemProvider.dispose(); - if (expressionDescriptionItemProvider != null) expressionDescriptionItemProvider.dispose(); - if (variableItemProvider != null) variableItemProvider.dispose(); + if (siriusExpressionDescriptionItemProvider != null) siriusExpressionDescriptionItemProvider.dispose(); + if (siriusVariableItemProvider != null) siriusVariableItemProvider.dispose(); if (siriusExpressionClassItemProvider != null) siriusExpressionClassItemProvider.dispose(); + if (siriusParameterItemProvider != null) siriusParameterItemProvider.dispose(); } } diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java index be114b635..47e52d426 100644 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java @@ -25,7 +25,6 @@ import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; import org.eclipse.emf.edit.provider.IItemPropertySource; import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; @@ -68,29 +67,29 @@ public class SiriusExpressionClassItemProvider if (itemPropertyDescriptors == null) { super.getPropertyDescriptors(object); - addLabelPropertyDescriptor(object); + addEClassPropertyDescriptor(object); } return itemPropertyDescriptors; } /** - * This adds a property descriptor for the Label feature. + * This adds a property descriptor for the EClass feature. * * * @generated */ - protected void addLabelPropertyDescriptor(Object object) { + protected void addEClassPropertyDescriptor(Object object) { itemPropertyDescriptors.add (createItemPropertyDescriptor (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), - getString("_UI_SiriusExpressionClass_label_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionClass_label_feature", "_UI_SiriusExpressionClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__LABEL, + getString("_UI_SiriusExpressionClass_eClass_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionClass_eClass_feature", "_UI_SiriusExpressionClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__ECLASS, true, false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + true, + null, null, null)); } @@ -155,10 +154,7 @@ public class SiriusExpressionClassItemProvider */ @Override public String getText(Object object) { - String label = ((SiriusExpressionClass)object).getLabel(); - return label == null || label.length() == 0 ? - getString("_UI_SiriusExpressionClass_type") : //$NON-NLS-1$ - getString("_UI_SiriusExpressionClass_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + return getString("_UI_SiriusExpressionClass_type"); //$NON-NLS-1$ } @@ -174,9 +170,6 @@ public class SiriusExpressionClassItemProvider updateChildren(notification); switch (notification.getFeatureID(SiriusExpressionClass.class)) { - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); @@ -199,12 +192,12 @@ public class SiriusExpressionClassItemProvider newChildDescriptors.add (createChildParameter (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__VARIABLES, - ExpressionFactory.eINSTANCE.createVariable())); + ExpressionFactory.eINSTANCE.createSiriusVariable())); newChildDescriptors.add (createChildParameter (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS, - ExpressionFactory.eINSTANCE.createExpressionDescription())); + ExpressionFactory.eINSTANCE.createSiriusExpressionDescription())); } /** diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionDescriptionItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionDescriptionItemProvider.java new file mode 100644 index 000000000..67f02360a --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionDescriptionItemProvider.java @@ -0,0 +1,305 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.ExpressionFactory; +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionDescription; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionDescription} object. + * + * + * @generated + */ +public class SiriusExpressionDescriptionItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public SiriusExpressionDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addLowerBoundPropertyDescriptor(object); + addUpperBoundPropertyDescriptor(object); + addExpressionPropertyDescriptor(object); + addReturnTypePropertyDescriptor(object); + addVariableContainersPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Lower Bound feature. + * + * + * @generated + */ + protected void addLowerBoundPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionDescription_lowerBound_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionDescription_lowerBound_feature", "_UI_SiriusExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND, + true, + false, + false, + ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Upper Bound feature. + * + * + * @generated + */ + protected void addUpperBoundPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionDescription_upperBound_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionDescription_upperBound_feature", "_UI_SiriusExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND, + true, + false, + false, + ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Expression feature. + * + * + * @generated + */ + protected void addExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionDescription_expression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionDescription_expression_feature", "_UI_SiriusExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Return Type feature. + * + * + * @generated + */ + protected void addReturnTypePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionDescription_returnType_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionDescription_returnType_feature", "_UI_SiriusExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Variable Containers feature. + * + * + * @generated + */ + protected void addVariableContainersPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionDescription_variableContainers_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionDescription_variableContainers_feature", "_UI_SiriusExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS, + true, + false, + true, + null, + 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns SiriusExpressionDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusExpressionDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + SiriusExpressionDescription siriusExpressionDescription = (SiriusExpressionDescription)object; + return getString("_UI_SiriusExpressionDescription_type") + " " + siriusExpressionDescription.getLowerBound(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(SiriusExpressionDescription.class)) { + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add + (createChildParameter + (ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS, + ExpressionFactory.eINSTANCE.createSiriusParameter())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusParameterItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusParameterItemProvider.java new file mode 100644 index 000000000..622d2f995 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusParameterItemProvider.java @@ -0,0 +1,194 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusParameter; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.SiriusParameter} object. + * + * + * @generated + */ +public class SiriusParameterItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public SiriusParameterItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addOptionalPropertyDescriptor(object); + addVariablePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Optional feature. + * + * + * @generated + */ + protected void addOptionalPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusParameter_optional_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusParameter_optional_feature", "_UI_SiriusParameter_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_PARAMETER__OPTIONAL, + true, + false, + false, + ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Variable feature. + * + * + * @generated + */ + protected void addVariablePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusParameter_variable_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusParameter_variable_feature", "_UI_SiriusParameter_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_PARAMETER__VARIABLE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns SiriusParameter.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusParameter")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + SiriusParameter siriusParameter = (SiriusParameter)object; + return getString("_UI_SiriusParameter_type") + " " + siriusParameter.isOptional(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(SiriusParameter.class)) { + case ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusVariableItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusVariableItemProvider.java new file mode 100644 index 000000000..481537529 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusVariableItemProvider.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusVariable; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.SiriusVariable} object. + * + * + * @generated + */ +public class SiriusVariableItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public SiriusVariableItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addNamePropertyDescriptor(object); + addDocumentationPropertyDescriptor(object); + addETypePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Name feature. + * + * + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusVariable_name_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusVariable_name_feature", "_UI_SiriusVariable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_VARIABLE__NAME, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Documentation feature. + * + * + * @generated + */ + protected void addDocumentationPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusVariable_documentation_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusVariable_documentation_feature", "_UI_SiriusVariable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_VARIABLE__DOCUMENTATION, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the EType feature. + * + * + * @generated + */ + protected void addETypePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusVariable_eType_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusVariable_eType_feature", "_UI_SiriusVariable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_VARIABLE__ETYPE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns SiriusVariable.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusVariable")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((SiriusVariable)object).getName(); + return label == null || label.length() == 0 ? + getString("_UI_SiriusVariable_type") : //$NON-NLS-1$ + getString("_UI_SiriusVariable_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(SiriusVariable.class)) { + case ExpressionPackage.SIRIUS_VARIABLE__NAME: + case ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/VariableItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/VariableItemProvider.java deleted file mode 100644 index 38ba718ff..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/VariableItemProvider.java +++ /dev/null @@ -1,197 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.Variable; - -/** - * This is the item provider adapter for a {@link org.eclipse.sirius.expression.Variable} object. - * - * - * @generated - */ -public class VariableItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public VariableItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addNamePropertyDescriptor(object); - addDocumentationPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Name feature. - * - * - * @generated - */ - protected void addNamePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Variable_name_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Variable_name_feature", "_UI_Variable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.VARIABLE__NAME, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Documentation feature. - * - * - * @generated - */ - protected void addDocumentationPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Variable_documentation_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Variable_documentation_feature", "_UI_Variable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.VARIABLE__DOCUMENTATION, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This returns Variable.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Variable")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((Variable)object).getName(); - return label == null || label.length() == 0 ? - getString("_UI_Variable_type") : //$NON-NLS-1$ - getString("_UI_Variable_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(Variable.class)) { - case ExpressionPackage.VARIABLE__NAME: - case ExpressionPackage.VARIABLE__DOCUMENTATION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ExpressionEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.sirius.expression.text.tests/.classpath b/plugins/org.eclipse.sirius.expression.text.tests/.classpath new file mode 100644 index 000000000..e4dad7e73 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.tests/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.text.tests/.project b/plugins/org.eclipse.sirius.expression.text.tests/.project new file mode 100644 index 000000000..f68429129 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.tests/.project @@ -0,0 +1,34 @@ + + + org.eclipse.sirius.expression.text.tests + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + org.eclipse.xtext.ui.shared.xtextNature + + diff --git a/plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 000000000..99f26c020 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..0c68a61dc --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/plugins/org.eclipse.sirius.expression.text.tests/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.text.tests/META-INF/MANIFEST.MF new file mode 100644 index 000000000..d628f3c76 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.tests/META-INF/MANIFEST.MF @@ -0,0 +1,25 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-Version: 1.0.0.qualifier +Bundle-SymbolicName: org.eclipse.sirius.expression.text.tests; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: org.eclipse.sirius.expression.text, + org.eclipse.sirius.expression.text.ui, + org.eclipse.core.runtime, + org.eclipse.xtext.junit4, + org.eclipse.xtext.xbase.lib, + org.eclipse.ui.workbench;resolution:=optional, + org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional +Import-Package: org.apache.log4j, + org.junit;version="4.5.0", + org.junit.runner;version="4.5.0", + org.junit.runner.manipulation;version="4.5.0", + org.junit.runner.notification;version="4.5.0", + org.junit.runners;version="4.5.0", + org.junit.runners.model;version="4.5.0", + org.hamcrest.core +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.sirius.expression.text diff --git a/plugins/org.eclipse.sirius.expression.text.tests/about.html b/plugins/org.eclipse.sirius.expression.text.tests/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.tests/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

    About This Content

    + +

    June 15, 2010

    +

    License

    + +

    The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

    + +

    If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

    + + + \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text.tests/build.properties b/plugins/org.eclipse.sirius.expression.text.tests/build.properties new file mode 100644 index 000000000..ef9ad3990 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.tests/build.properties @@ -0,0 +1,12 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +source.. = src-gen/ +bin.includes = META-INF/,\ + .,\ + about.html,\ + plugin.properties diff --git a/plugins/org.eclipse.sirius.expression.text.tests/org.eclipse.sirius.expression.text.tests.launch b/plugins/org.eclipse.sirius.expression.text.tests/org.eclipse.sirius.expression.text.tests.launch new file mode 100644 index 000000000..75a3747cf --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.tests/org.eclipse.sirius.expression.text.tests.launch @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.text.tests/plugin.properties b/plugins/org.eclipse.sirius.expression.text.tests/plugin.properties new file mode 100644 index 000000000..501ec941a --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.tests/plugin.properties @@ -0,0 +1,8 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +pluginName = Sirius Expression Tests +providerName = Eclipse Modeling Project \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextInjectorProvider.java b/plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextInjectorProvider.java new file mode 100644 index 000000000..768d69fef --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextInjectorProvider.java @@ -0,0 +1,48 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text; + +import org.eclipse.xtext.junit4.GlobalRegistries; +import org.eclipse.xtext.junit4.GlobalRegistries.GlobalStateMemento; +import org.eclipse.xtext.junit4.IInjectorProvider; +import org.eclipse.xtext.junit4.IRegistryConfigurator; + +import com.google.inject.Injector; + +public class ExpressionTextInjectorProvider implements IInjectorProvider, IRegistryConfigurator { + + protected GlobalStateMemento stateBeforeInjectorCreation; + protected GlobalStateMemento stateAfterInjectorCreation; + protected Injector injector; + + static { + GlobalRegistries.initializeDefaults(); + } + + @Override + public Injector getInjector() + { + if (injector == null) { + stateBeforeInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); + this.injector = internalCreateInjector(); + stateAfterInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); + } + return injector; + } + + protected Injector internalCreateInjector() { + return new ExpressionTextStandaloneSetup().createInjectorAndDoEMFRegistration(); + } + + @Override + public void restoreRegistry() { + stateBeforeInjectorCreation.restoreGlobalState(); + } + + @Override + public void setupRegistry() { + getInjector(); + stateAfterInjectorCreation.restoreGlobalState(); + } +} diff --git a/plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextUiInjectorProvider.java b/plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextUiInjectorProvider.java new file mode 100644 index 000000000..86bbd876b --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextUiInjectorProvider.java @@ -0,0 +1,17 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text; + +import org.eclipse.xtext.junit4.IInjectorProvider; + +import com.google.inject.Injector; + +public class ExpressionTextUiInjectorProvider implements IInjectorProvider { + + @Override + public Injector getInjector() { + return org.eclipse.sirius.expression.text.ui.internal.ExpressionTextActivator.getInstance().getInjector("org.eclipse.sirius.expression.text.ExpressionText"); + } + +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/.classpath b/plugins/org.eclipse.sirius.expression.text.ui/.classpath new file mode 100644 index 000000000..6ea81b1e6 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.text.ui/.project b/plugins/org.eclipse.sirius.expression.text.ui/.project new file mode 100644 index 000000000..8bf9af763 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/.project @@ -0,0 +1,34 @@ + + + org.eclipse.sirius.expression.text.ui + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + org.eclipse.xtext.ui.shared.xtextNature + + diff --git a/plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 000000000..99f26c020 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..0c68a61dc --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/plugins/org.eclipse.sirius.expression.text.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.text.ui/META-INF/MANIFEST.MF new file mode 100644 index 000000000..7ae6af452 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/META-INF/MANIFEST.MF @@ -0,0 +1,27 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-Vendor: %providerName +Bundle-Version: 1.0.0.qualifier +Bundle-Localization: plugin +Bundle-SymbolicName: org.eclipse.sirius.expression.text.ui; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: org.eclipse.sirius.expression.text;visibility:=reexport, + org.eclipse.xtext.ui, + org.eclipse.ui.editors;bundle-version="3.5.0", + org.eclipse.ui.ide;bundle-version="3.5.0", + org.eclipse.xtext.ui.shared, + org.eclipse.ui, + org.eclipse.xtext.builder, + org.eclipse.xtext.xbase.lib, + org.eclipse.xtext.common.types.ui, + org.eclipse.xtext.ui.codetemplates.ui, + org.eclipse.compare +Import-Package: org.apache.log4j +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.sirius.expression.text.ui.quickfix, + org.eclipse.sirius.expression.text.ui.contentassist, + org.eclipse.sirius.expression.text.ui.internal, + org.eclipse.sirius.expression.text.ui.contentassist.antlr, + org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal +Bundle-Activator: org.eclipse.sirius.expression.text.ui.internal.ExpressionTextActivator diff --git a/plugins/org.eclipse.sirius.expression.text.ui/about.html b/plugins/org.eclipse.sirius.expression.text.ui/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

    About This Content

    + +

    June 15, 2010

    +

    License

    + +

    The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

    + +

    If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

    + + + \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text.ui/build.properties b/plugins/org.eclipse.sirius.expression.text.ui/build.properties new file mode 100644 index 000000000..d5120529a --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/build.properties @@ -0,0 +1,14 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +source.. = src/,\ + src-gen/,\ + xtend-gen/ +bin.includes = META-INF/,\ + .,\ + plugin.xml,\ + about.html,\ + plugin.properties diff --git a/plugins/org.eclipse.sirius.expression.text.ui/plugin.properties b/plugins/org.eclipse.sirius.expression.text.ui/plugin.properties new file mode 100644 index 000000000..a48a618d0 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/plugin.properties @@ -0,0 +1,8 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +pluginName = Sirius Expression UI +providerName = Eclipse Modeling Project \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text.ui/plugin.xml b/plugins/org.eclipse.sirius.expression.text.ui/plugin.xml new file mode 100644 index 000000000..1fae06abc --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/plugin.xml @@ -0,0 +1,425 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.text.ui/plugin.xml_gen b/plugins/org.eclipse.sirius.expression.text.ui/plugin.xml_gen new file mode 100644 index 000000000..1fae06abc --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/plugin.xml_gen @@ -0,0 +1,425 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/AbstractExpressionTextUiModule.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/AbstractExpressionTextUiModule.java new file mode 100644 index 000000000..1dc331f4c --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/AbstractExpressionTextUiModule.java @@ -0,0 +1,196 @@ + +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui; + +import org.eclipse.ui.plugin.AbstractUIPlugin; + +/** + * Manual modifications go to {org.eclipse.sirius.expression.text.ui.ExpressionTextUiModule} + */ +@SuppressWarnings("all") +public abstract class AbstractExpressionTextUiModule extends org.eclipse.xtext.common.types.ui.DefaultCommonTypesUiModule { + + public AbstractExpressionTextUiModule(AbstractUIPlugin plugin) { + super(plugin); + } + + + // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment + public com.google.inject.Provider provideIAllContainersState() { + return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState(); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindIProposalConflictHelper() { + return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public void configureHighlightingLexer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextLexer.class); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public void configureHighlightingTokenDefProvider(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class); + } + + // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment + public Class bindIDependentElementsCalculator() { + return org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class); + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class bindIXtextEditorCallback() { + return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class bindIContextualOutputConfigurationProvider() { + return org.eclipse.xtext.builder.EclipseOutputConfigurationProvider.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.builder.builderState.IBuilderState.class); + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class bindDocumentBasedDirtyResource() { + return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class; + } + + // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment + public Class bindIXtextBuilderParticipant() { + return org.eclipse.xtext.builder.BuilderParticipant.class; + } + + // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment + public org.eclipse.core.resources.IWorkspaceRoot bindIWorkspaceRootToInstance() { + return org.eclipse.core.resources.ResourcesPlugin.getWorkspace().getRoot(); + } + + // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment + public void configureBuilderPreferenceStoreInitializer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("builderPreferenceInitializer")).to(org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess.Initializer.class); + } + + // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment + public Class bindILabelProvider() { + return org.eclipse.sirius.expression.text.ui.labeling.ExpressionTextLabelProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment + public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) { + binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.sirius.expression.text.ui.labeling.ExpressionTextDescriptionLabelProvider.class); + } + + // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment + public Class bindIOutlineTreeProvider() { + return org.eclipse.sirius.expression.text.ui.outline.ExpressionTextOutlineTreeProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment + public Class bindIOutlineTreeStructureProvider() { + return org.eclipse.sirius.expression.text.ui.outline.ExpressionTextOutlineTreeProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment + public Class bindIssueResolutionProvider() { + return org.eclipse.sirius.expression.text.ui.quickfix.ExpressionTextQuickfixProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.contentAssist.ContentAssistFragment + public Class bindIContentProposalProvider() { + return org.eclipse.sirius.expression.text.ui.contentassist.ExpressionTextProposalProvider.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public Class bindContentAssistContext$Factory() { + return org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public Class bindIContentAssistParser() { + return org.eclipse.sirius.expression.text.ui.contentassist.antlr.ExpressionTextParser.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public void configureContentAssistLexerProvider(com.google.inject.Binder binder) { + binder.bind(org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextLexer.class).toProvider(org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextLexer.class)); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public void configureContentAssistLexer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST)).to(org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextLexer.class); + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public Class bindIRenameStrategy() { + return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy.class; + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public Class bindIReferenceUpdater() { + return org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater.class; + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public void configureIPreferenceStoreInitializer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("RefactoringPreferences")).to(org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences.Initializer.class); + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public Class bindIRenameRefactoringProvider() { + return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public Class bindIRenameSupport$Factory() { + return org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport.Factory.class; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class bindPrefixMatcher() { + return org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.class; + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public com.google.inject.Provider provideTemplatesLanguageConfiguration() { + return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public com.google.inject.Provider provideLanguageRegistry() { + return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getLanguageRegistry(); + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class bindLanguageRegistrar() { + return org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.class; + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public Class bindXtextTemplatePreferencePage() { + return org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage.class; + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public Class bindIPartialContentAssistParser() { + return org.eclipse.sirius.expression.text.ui.contentassist.antlr.PartialExpressionTextContentAssistParser.class; + } + + // contributed by org.eclipse.xtext.ui.generator.compare.CompareFragment + public Class bindIViewerCreator() { + return org.eclipse.xtext.ui.compare.DefaultViewerCreator.class; + } + + +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/ExpressionTextExecutableExtensionFactory.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/ExpressionTextExecutableExtensionFactory.java new file mode 100644 index 000000000..1ea411595 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/ExpressionTextExecutableExtensionFactory.java @@ -0,0 +1,29 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui; + +import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; +import org.osgi.framework.Bundle; + +import com.google.inject.Injector; + +import org.eclipse.sirius.expression.text.ui.internal.ExpressionTextActivator; + +/** + * This class was generated. Customizations should only happen in a newly + * introduced subclass. + */ +public class ExpressionTextExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { + + @Override + protected Bundle getBundle() { + return ExpressionTextActivator.getInstance().getBundle(); + } + + @Override + protected Injector getInjector() { + return ExpressionTextActivator.getInstance().getInjector(ExpressionTextActivator.ORG_ECLIPSE_SIRIUS_EXPRESSION_TEXT_EXPRESSIONTEXT); + } + +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/AbstractExpressionTextProposalProvider.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/AbstractExpressionTextProposalProvider.java new file mode 100644 index 000000000..933ebe767 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/AbstractExpressionTextProposalProvider.java @@ -0,0 +1,101 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.contentassist; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.*; +import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; +import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; + +/** + * Represents a generated, default implementation of superclass {@link org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider}. + * Methods are dynamically dispatched on the first parameter, i.e., you can override them + * with a more concrete subtype. + */ +@SuppressWarnings("all") +public class AbstractExpressionTextProposalProvider extends org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider { + + public void completeSiriusExpressionPackage_EPackage(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionPackage_ExpressionClasses(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionClass_EClass(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionClass_Variables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionClass_ExpressionDescriptions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusVariable_Documentation(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusVariable_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusVariable_EType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_Expression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_Parameters(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_ReturnType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_LowerBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_UpperBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_VariableContainers(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusParameter_Optional(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeSiriusParameter_Variable(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + + public void complete_SiriusExpressionPackage(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_SiriusExpressionClass(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_FQN(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_SiriusVariable(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_SiriusExpressionDescription(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_SiriusParameter(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Bound(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ID(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_INT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ML_COMMENT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_WS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/ExpressionTextParser.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/ExpressionTextParser.java new file mode 100644 index 000000000..614172056 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/ExpressionTextParser.java @@ -0,0 +1,99 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.contentassist.antlr; + +import java.util.Collection; +import java.util.Map; +import java.util.HashMap; + +import org.antlr.runtime.RecognitionException; +import org.eclipse.xtext.AbstractElement; +import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser; +import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; + +import com.google.inject.Inject; + +import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; + +public class ExpressionTextParser extends AbstractContentAssistParser { + + @Inject + private ExpressionTextGrammarAccess grammarAccess; + + private Map nameMappings; + + @Override + protected org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser createParser() { + org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser result = new org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser(null); + result.setGrammarAccess(grammarAccess); + return result; + } + + @Override + protected String getRuleName(AbstractElement element) { + if (nameMappings == null) { + nameMappings = new HashMap() { + private static final long serialVersionUID = 1L; + { + put(grammarAccess.getSiriusExpressionPackageAccess().getGroup(), "rule__SiriusExpressionPackage__Group__0"); + put(grammarAccess.getSiriusExpressionClassAccess().getGroup(), "rule__SiriusExpressionClass__Group__0"); + put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); + put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); + put(grammarAccess.getSiriusVariableAccess().getGroup(), "rule__SiriusVariable__Group__0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup(), "rule__SiriusExpressionDescription__Group__0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3(), "rule__SiriusExpressionDescription__Group_3__0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1(), "rule__SiriusExpressionDescription__Group_3_1__0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16(), "rule__SiriusExpressionDescription__Group_16__0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1(), "rule__SiriusExpressionDescription__Group_16_1__0"); + put(grammarAccess.getSiriusParameterAccess().getGroup(), "rule__SiriusParameter__Group__0"); + put(grammarAccess.getBoundAccess().getGroup(), "rule__Bound__Group__0"); + put(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1(), "rule__SiriusExpressionPackage__EPackageAssignment_1"); + put(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3(), "rule__SiriusExpressionPackage__ExpressionClassesAssignment_3"); + put(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1(), "rule__SiriusExpressionClass__EClassAssignment_1"); + put(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3(), "rule__SiriusExpressionClass__VariablesAssignment_3"); + put(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4(), "rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4"); + put(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0(), "rule__SiriusVariable__DocumentationAssignment_0"); + put(grammarAccess.getSiriusVariableAccess().getNameAssignment_2(), "rule__SiriusVariable__NameAssignment_2"); + put(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4(), "rule__SiriusVariable__ETypeAssignment_4"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1(), "rule__SiriusExpressionDescription__ExpressionAssignment_1"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0(), "rule__SiriusExpressionDescription__ParametersAssignment_3_0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1(), "rule__SiriusExpressionDescription__ParametersAssignment_3_1_1"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeAssignment_6(), "rule__SiriusExpressionDescription__ReturnTypeAssignment_6"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8(), "rule__SiriusExpressionDescription__LowerBoundAssignment_8"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10(), "rule__SiriusExpressionDescription__UpperBoundAssignment_10"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_0(), "rule__SiriusExpressionDescription__VariableContainersAssignment_16_0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_1_1(), "rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1"); + put(grammarAccess.getSiriusParameterAccess().getOptionalAssignment_0(), "rule__SiriusParameter__OptionalAssignment_0"); + put(grammarAccess.getSiriusParameterAccess().getVariableAssignment_1(), "rule__SiriusParameter__VariableAssignment_1"); + } + }; + } + return nameMappings.get(element); + } + + @Override + protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { + try { + org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser typedParser = (org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser) parser; + typedParser.entryRuleSiriusExpressionPackage(); + return typedParser.getFollowElements(); + } catch(RecognitionException ex) { + throw new RuntimeException(ex); + } + } + + @Override + protected String[] getInitialHiddenTokens() { + return new String[] { "RULE_WS" }; + } + + public ExpressionTextGrammarAccess getGrammarAccess() { + return this.grammarAccess; + } + + public void setGrammarAccess(ExpressionTextGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/PartialExpressionTextContentAssistParser.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/PartialExpressionTextContentAssistParser.java new file mode 100644 index 000000000..5c07f38e1 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/PartialExpressionTextContentAssistParser.java @@ -0,0 +1,38 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.contentassist.antlr; + +import java.util.Collection; +import java.util.Collections; + +import org.eclipse.xtext.AbstractRule; +import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser; +import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.util.PolymorphicDispatcher; + +/* + * Template CodetemplatesGeneratorFragment.xpt + */ +public class PartialExpressionTextContentAssistParser extends ExpressionTextParser implements IPartialContentAssistParser { + + private AbstractRule rule; + + @Override + public void initializeFor(AbstractRule rule) { + this.rule = rule; + } + + @Override + protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { + if (rule == null || rule.eIsProxy()) + return Collections.emptyList(); + String methodName = "entryRule" + rule.getName(); + PolymorphicDispatcher> dispatcher = + new PolymorphicDispatcher>(methodName, 0, 0, Collections.singletonList(parser)); + dispatcher.invoke(); + return parser.getFollowElements(); + } + +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g new file mode 100644 index 000000000..6c678c8dc --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g @@ -0,0 +1,2197 @@ +/* + * generated by Xtext + */ +grammar InternalExpressionText; + +options { + superClass=AbstractInternalContentAssistParser; + +} + +@lexer::header { +package org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; +} + +@parser::header { +package org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal; + +import java.io.InputStream; +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA; +import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; + +} + +@parser::members { + + private ExpressionTextGrammarAccess grammarAccess; + + public void setGrammarAccess(ExpressionTextGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + @Override + protected Grammar getGrammar() { + return grammarAccess.getGrammar(); + } + + @Override + protected String getValueForTokenName(String tokenName) { + return tokenName; + } + +} + + + + +// Entry rule entryRuleSiriusExpressionPackage +entryRuleSiriusExpressionPackage +: +{ before(grammarAccess.getSiriusExpressionPackageRule()); } + ruleSiriusExpressionPackage +{ after(grammarAccess.getSiriusExpressionPackageRule()); } + EOF +; + +// Rule SiriusExpressionPackage +ruleSiriusExpressionPackage + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); } +(rule__SiriusExpressionPackage__Group__0) +{ after(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleSiriusExpressionClass +entryRuleSiriusExpressionClass +: +{ before(grammarAccess.getSiriusExpressionClassRule()); } + ruleSiriusExpressionClass +{ after(grammarAccess.getSiriusExpressionClassRule()); } + EOF +; + +// Rule SiriusExpressionClass +ruleSiriusExpressionClass + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getGroup()); } +(rule__SiriusExpressionClass__Group__0) +{ after(grammarAccess.getSiriusExpressionClassAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleFQN +entryRuleFQN +: +{ before(grammarAccess.getFQNRule()); } + ruleFQN +{ after(grammarAccess.getFQNRule()); } + EOF +; + +// Rule FQN +ruleFQN + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getFQNAccess().getGroup()); } +(rule__FQN__Group__0) +{ after(grammarAccess.getFQNAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleSiriusVariable +entryRuleSiriusVariable +: +{ before(grammarAccess.getSiriusVariableRule()); } + ruleSiriusVariable +{ after(grammarAccess.getSiriusVariableRule()); } + EOF +; + +// Rule SiriusVariable +ruleSiriusVariable + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getSiriusVariableAccess().getGroup()); } +(rule__SiriusVariable__Group__0) +{ after(grammarAccess.getSiriusVariableAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleSiriusExpressionDescription +entryRuleSiriusExpressionDescription +: +{ before(grammarAccess.getSiriusExpressionDescriptionRule()); } + ruleSiriusExpressionDescription +{ after(grammarAccess.getSiriusExpressionDescriptionRule()); } + EOF +; + +// Rule SiriusExpressionDescription +ruleSiriusExpressionDescription + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); } +(rule__SiriusExpressionDescription__Group__0) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleSiriusParameter +entryRuleSiriusParameter +: +{ before(grammarAccess.getSiriusParameterRule()); } + ruleSiriusParameter +{ after(grammarAccess.getSiriusParameterRule()); } + EOF +; + +// Rule SiriusParameter +ruleSiriusParameter + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getSiriusParameterAccess().getGroup()); } +(rule__SiriusParameter__Group__0) +{ after(grammarAccess.getSiriusParameterAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleBound +entryRuleBound +: +{ before(grammarAccess.getBoundRule()); } + ruleBound +{ after(grammarAccess.getBoundRule()); } + EOF +; + +// Rule Bound +ruleBound + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getBoundAccess().getGroup()); } +(rule__Bound__Group__0) +{ after(grammarAccess.getBoundAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusExpressionPackage__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionPackage__Group__0__Impl + rule__SiriusExpressionPackage__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); } + + 'package' + +{ after(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionPackage__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionPackage__Group__1__Impl + rule__SiriusExpressionPackage__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); } +(rule__SiriusExpressionPackage__EPackageAssignment_1) +{ after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionPackage__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionPackage__Group__2__Impl + rule__SiriusExpressionPackage__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); } + + '{' + +{ after(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionPackage__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionPackage__Group__3__Impl + rule__SiriusExpressionPackage__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); } +(rule__SiriusExpressionPackage__ExpressionClassesAssignment_3)* +{ after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionPackage__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionPackage__Group__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); } + + '}' + +{ after(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + +rule__SiriusExpressionClass__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__0__Impl + rule__SiriusExpressionClass__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); } + + 'class' + +{ after(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionClass__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__1__Impl + rule__SiriusExpressionClass__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); } +(rule__SiriusExpressionClass__EClassAssignment_1) +{ after(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionClass__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__2__Impl + rule__SiriusExpressionClass__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); } + + '{' + +{ after(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionClass__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__3__Impl + rule__SiriusExpressionClass__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); } +(rule__SiriusExpressionClass__VariablesAssignment_3)* +{ after(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionClass__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__4__Impl + rule__SiriusExpressionClass__Group__5 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); } +(rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4)* +{ after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionClass__Group__5 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__5__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__5__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); } + + '}' + +{ after(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + + + +rule__FQN__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__FQN__Group__0__Impl + rule__FQN__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__FQN__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); } + RULE_ID +{ after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__FQN__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__FQN__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__FQN__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getFQNAccess().getGroup_1()); } +(rule__FQN__Group_1__0)* +{ after(grammarAccess.getFQNAccess().getGroup_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__FQN__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__FQN__Group_1__0__Impl + rule__FQN__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__FQN__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); } + + '.' + +{ after(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__FQN__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__FQN__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__FQN__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); } + RULE_ID +{ after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusVariable__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusVariable__Group__0__Impl + rule__SiriusVariable__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); } +(rule__SiriusVariable__DocumentationAssignment_0)? +{ after(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusVariable__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusVariable__Group__1__Impl + rule__SiriusVariable__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); } + + 'var' + +{ after(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusVariable__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusVariable__Group__2__Impl + rule__SiriusVariable__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); } +(rule__SiriusVariable__NameAssignment_2) +{ after(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusVariable__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusVariable__Group__3__Impl + rule__SiriusVariable__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); } + + ':' + +{ after(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusVariable__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusVariable__Group__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); } +(rule__SiriusVariable__ETypeAssignment_4) +{ after(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + +rule__SiriusExpressionDescription__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__0__Impl + rule__SiriusExpressionDescription__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); } + + 'exp' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__1__Impl + rule__SiriusExpressionDescription__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); } +(rule__SiriusExpressionDescription__ExpressionAssignment_1) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__2__Impl + rule__SiriusExpressionDescription__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); } + + '(' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__3__Impl + rule__SiriusExpressionDescription__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); } +(rule__SiriusExpressionDescription__Group_3__0)? +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__4__Impl + rule__SiriusExpressionDescription__Group__5 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); } + + ')' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__5 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__5__Impl + rule__SiriusExpressionDescription__Group__6 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__5__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); } + + ':' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__6 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__6__Impl + rule__SiriusExpressionDescription__Group__7 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__6__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeAssignment_6()); } +(rule__SiriusExpressionDescription__ReturnTypeAssignment_6) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeAssignment_6()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__7 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__7__Impl + rule__SiriusExpressionDescription__Group__8 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__7__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); } + + '[' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__8 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__8__Impl + rule__SiriusExpressionDescription__Group__9 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__8__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); } +(rule__SiriusExpressionDescription__LowerBoundAssignment_8) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__9 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__9__Impl + rule__SiriusExpressionDescription__Group__10 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__9__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); } + + '..' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__10 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__10__Impl + rule__SiriusExpressionDescription__Group__11 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__10__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); } +(rule__SiriusExpressionDescription__UpperBoundAssignment_10) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__11 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__11__Impl + rule__SiriusExpressionDescription__Group__12 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__11__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); } + + ']' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__12 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__12__Impl + rule__SiriusExpressionDescription__Group__13 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__12__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); } + + '{' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__13 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__13__Impl + rule__SiriusExpressionDescription__Group__14 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__13__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersKeyword_13()); } + + 'variableContainers' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersKeyword_13()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__14 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__14__Impl + rule__SiriusExpressionDescription__Group__15 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__14__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); } + + '=' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__15 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__15__Impl + rule__SiriusExpressionDescription__Group__16 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__15__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); } + + '[' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__16 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__16__Impl + rule__SiriusExpressionDescription__Group__17 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__16__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); } +(rule__SiriusExpressionDescription__Group_16__0)? +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__17 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__17__Impl + rule__SiriusExpressionDescription__Group__18 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__17__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); } + + ']' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__18 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__18__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__18__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); } + + '}' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +rule__SiriusExpressionDescription__Group_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_3__0__Impl + rule__SiriusExpressionDescription__Group_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); } +(rule__SiriusExpressionDescription__ParametersAssignment_3_0) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_3__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_3__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); } +(rule__SiriusExpressionDescription__Group_3_1__0)* +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusExpressionDescription__Group_3_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_3_1__0__Impl + rule__SiriusExpressionDescription__Group_3_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_3_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); } + + ',' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group_3_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_3_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_3_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); } +(rule__SiriusExpressionDescription__ParametersAssignment_3_1_1) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusExpressionDescription__Group_16__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_16__0__Impl + rule__SiriusExpressionDescription__Group_16__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_16__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_0()); } +(rule__SiriusExpressionDescription__VariableContainersAssignment_16_0) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group_16__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_16__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_16__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); } +(rule__SiriusExpressionDescription__Group_16_1__0)* +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusExpressionDescription__Group_16_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_16_1__0__Impl + rule__SiriusExpressionDescription__Group_16_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_16_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); } + + ',' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group_16_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_16_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_16_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_1_1()); } +(rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusParameter__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusParameter__Group__0__Impl + rule__SiriusParameter__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusParameter__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusParameterAccess().getOptionalAssignment_0()); } +(rule__SiriusParameter__OptionalAssignment_0)? +{ after(grammarAccess.getSiriusParameterAccess().getOptionalAssignment_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusParameter__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusParameter__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusParameter__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusParameterAccess().getVariableAssignment_1()); } +(rule__SiriusParameter__VariableAssignment_1) +{ after(grammarAccess.getSiriusParameterAccess().getVariableAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__Bound__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Bound__Group__0__Impl + rule__Bound__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Bound__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); } +( + '-' +)? +{ after(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Bound__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Bound__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Bound__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); } + RULE_INT +{ after(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + +rule__SiriusExpressionPackage__EPackageAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); } +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageIDTerminalRuleCall_1_0_1()); } + RULE_ID{ after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageIDTerminalRuleCall_1_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); } + ruleSiriusExpressionClass{ after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__EClassAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); } +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__VariablesAssignment_3 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); } + ruleSiriusVariable{ after(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); } + ruleSiriusExpressionDescription{ after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__DocumentationAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); } + RULE_ML_COMMENT{ after(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__NameAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); } + RULE_ID{ after(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__ETypeAssignment_4 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); } +( +{ before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); } +) +{ after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__ExpressionAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); } +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__ParametersAssignment_3_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); } + ruleSiriusParameter{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); } + ruleSiriusParameter{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__ReturnTypeAssignment_6 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); } +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierFQNParserRuleCall_6_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierFQNParserRuleCall_6_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__LowerBoundAssignment_8 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); } + ruleBound{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__UpperBoundAssignment_10 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); } + ruleBound{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); } +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_0_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_0_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); } +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_1_1_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_1_1_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusParameter__OptionalAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); } +( +{ before(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); } + + 'optional' + +{ after(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); } +) + +{ after(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusParameter__VariableAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); } +( +{ before(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableIDTerminalRuleCall_1_0_1()); } + RULE_ID{ after(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableIDTerminalRuleCall_1_0_1()); } +) +{ after(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; + +RULE_INT : ('0'..'9')+; + +RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; + +RULE_WS : (' '|'\t'|'\r'|'\n')+; + + diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens new file mode 100644 index 000000000..b96b3f918 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens @@ -0,0 +1,40 @@ +'('=16 +')'=17 +','=23 +'-'=24 +'.'=12 +'..'=19 +':'=14 +'='=22 +'['=18 +']'=20 +'class'=11 +'exp'=15 +'optional'=25 +'package'=8 +'var'=13 +'variableContainers'=21 +'{'=9 +'}'=10 +RULE_ID=4 +RULE_INT=5 +RULE_ML_COMMENT=6 +RULE_WS=7 +T__10=10 +T__11=11 +T__12=12 +T__13=13 +T__14=14 +T__15=15 +T__16=16 +T__17=17 +T__18=18 +T__19=19 +T__20=20 +T__21=21 +T__22=22 +T__23=23 +T__24=24 +T__25=25 +T__8=8 +T__9=9 diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java new file mode 100644 index 000000000..8c12baba7 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java @@ -0,0 +1,945 @@ +package org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalExpressionTextLexer extends Lexer { + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int EOF=-1; + public static final int T__10=10; + public static final int T__9=9; + public static final int T__8=8; + public static final int RULE_ID=4; + public static final int RULE_WS=7; + public static final int RULE_INT=5; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=6; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + + // delegates + // delegators + + public InternalExpressionTextLexer() {;} + public InternalExpressionTextLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + public InternalExpressionTextLexer(CharStream input, RecognizerSharedState state) { + super(input,state); + + } + public String getGrammarFileName() { return "InternalExpressionText.g"; } + + // $ANTLR start "T__8" + public final void mT__8() throws RecognitionException { + try { + int _type = T__8; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:11:6: ( 'package' ) + // InternalExpressionText.g:11:8: 'package' + { + match("package"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__8" + + // $ANTLR start "T__9" + public final void mT__9() throws RecognitionException { + try { + int _type = T__9; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:12:6: ( '{' ) + // InternalExpressionText.g:12:8: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__9" + + // $ANTLR start "T__10" + public final void mT__10() throws RecognitionException { + try { + int _type = T__10; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:13:7: ( '}' ) + // InternalExpressionText.g:13:9: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__10" + + // $ANTLR start "T__11" + public final void mT__11() throws RecognitionException { + try { + int _type = T__11; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:14:7: ( 'class' ) + // InternalExpressionText.g:14:9: 'class' + { + match("class"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__11" + + // $ANTLR start "T__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:15:7: ( '.' ) + // InternalExpressionText.g:15:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__12" + + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { + try { + int _type = T__13; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:16:7: ( 'var' ) + // InternalExpressionText.g:16:9: 'var' + { + match("var"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:17:7: ( ':' ) + // InternalExpressionText.g:17:9: ':' + { + match(':'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:18:7: ( 'exp' ) + // InternalExpressionText.g:18:9: 'exp' + { + match("exp"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:19:7: ( '(' ) + // InternalExpressionText.g:19:9: '(' + { + match('('); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:20:7: ( ')' ) + // InternalExpressionText.g:20:9: ')' + { + match(')'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:21:7: ( '[' ) + // InternalExpressionText.g:21:9: '[' + { + match('['); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:22:7: ( '..' ) + // InternalExpressionText.g:22:9: '..' + { + match(".."); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:23:7: ( ']' ) + // InternalExpressionText.g:23:9: ']' + { + match(']'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:24:7: ( 'variableContainers' ) + // InternalExpressionText.g:24:9: 'variableContainers' + { + match("variableContainers"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:25:7: ( '=' ) + // InternalExpressionText.g:25:9: '=' + { + match('='); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:26:7: ( ',' ) + // InternalExpressionText.g:26:9: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:27:7: ( '-' ) + // InternalExpressionText.g:27:9: '-' + { + match('-'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:28:7: ( 'optional' ) + // InternalExpressionText.g:28:9: 'optional' + { + match("optional"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__25" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:2189:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalExpressionText.g:2189:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // InternalExpressionText.g:2189:11: ( '^' )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='^') ) { + alt1=1; + } + switch (alt1) { + case 1 : + // InternalExpressionText.g:2189:11: '^' + { + match('^'); + + } + break; + + } + + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // InternalExpressionText.g:2189:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalExpressionText.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop2; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:2191:10: ( ( '0' .. '9' )+ ) + // InternalExpressionText.g:2191:12: ( '0' .. '9' )+ + { + // InternalExpressionText.g:2191:12: ( '0' .. '9' )+ + int cnt3=0; + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( ((LA3_0>='0' && LA3_0<='9')) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalExpressionText.g:2191:13: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt3 >= 1 ) break loop3; + EarlyExitException eee = + new EarlyExitException(3, input); + throw eee; + } + cnt3++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_INT" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:2193:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalExpressionText.g:2193:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // InternalExpressionText.g:2193:24: ( options {greedy=false; } : . )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0=='*') ) { + int LA4_1 = input.LA(2); + + if ( (LA4_1=='/') ) { + alt4=2; + } + else if ( ((LA4_1>='\u0000' && LA4_1<='.')||(LA4_1>='0' && LA4_1<='\uFFFF')) ) { + alt4=1; + } + + + } + else if ( ((LA4_0>='\u0000' && LA4_0<=')')||(LA4_0>='+' && LA4_0<='\uFFFF')) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalExpressionText.g:2193:52: . + { + matchAny(); + + } + break; + + default : + break loop4; + } + } while (true); + + match("*/"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_WS" + public final void mRULE_WS() throws RecognitionException { + try { + int _type = RULE_WS; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:2195:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalExpressionText.g:2195:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // InternalExpressionText.g:2195:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt5=0; + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( ((LA5_0>='\t' && LA5_0<='\n')||LA5_0=='\r'||LA5_0==' ') ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalExpressionText.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt5 >= 1 ) break loop5; + EarlyExitException eee = + new EarlyExitException(5, input); + throw eee; + } + cnt5++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + public void mTokens() throws RecognitionException { + // InternalExpressionText.g:1:8: ( T__8 | T__9 | T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS ) + int alt6=22; + alt6 = dfa6.predict(input); + switch (alt6) { + case 1 : + // InternalExpressionText.g:1:10: T__8 + { + mT__8(); + + } + break; + case 2 : + // InternalExpressionText.g:1:15: T__9 + { + mT__9(); + + } + break; + case 3 : + // InternalExpressionText.g:1:20: T__10 + { + mT__10(); + + } + break; + case 4 : + // InternalExpressionText.g:1:26: T__11 + { + mT__11(); + + } + break; + case 5 : + // InternalExpressionText.g:1:32: T__12 + { + mT__12(); + + } + break; + case 6 : + // InternalExpressionText.g:1:38: T__13 + { + mT__13(); + + } + break; + case 7 : + // InternalExpressionText.g:1:44: T__14 + { + mT__14(); + + } + break; + case 8 : + // InternalExpressionText.g:1:50: T__15 + { + mT__15(); + + } + break; + case 9 : + // InternalExpressionText.g:1:56: T__16 + { + mT__16(); + + } + break; + case 10 : + // InternalExpressionText.g:1:62: T__17 + { + mT__17(); + + } + break; + case 11 : + // InternalExpressionText.g:1:68: T__18 + { + mT__18(); + + } + break; + case 12 : + // InternalExpressionText.g:1:74: T__19 + { + mT__19(); + + } + break; + case 13 : + // InternalExpressionText.g:1:80: T__20 + { + mT__20(); + + } + break; + case 14 : + // InternalExpressionText.g:1:86: T__21 + { + mT__21(); + + } + break; + case 15 : + // InternalExpressionText.g:1:92: T__22 + { + mT__22(); + + } + break; + case 16 : + // InternalExpressionText.g:1:98: T__23 + { + mT__23(); + + } + break; + case 17 : + // InternalExpressionText.g:1:104: T__24 + { + mT__24(); + + } + break; + case 18 : + // InternalExpressionText.g:1:110: T__25 + { + mT__25(); + + } + break; + case 19 : + // InternalExpressionText.g:1:116: RULE_ID + { + mRULE_ID(); + + } + break; + case 20 : + // InternalExpressionText.g:1:124: RULE_INT + { + mRULE_INT(); + + } + break; + case 21 : + // InternalExpressionText.g:1:133: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 22 : + // InternalExpressionText.g:1:149: RULE_WS + { + mRULE_WS(); + + } + break; + + } + + } + + + protected DFA6 dfa6 = new DFA6(this); + static final String DFA6_eotS = + "\1\uffff\1\21\2\uffff\1\21\1\30\1\21\1\uffff\1\21\7\uffff\1\21\4\uffff\2\21\2\uffff\5\21\1\44\1\45\4\21\2\uffff\2\21\1\54\3\21\1\uffff\2\21\1\62\2\21\1\uffff\1\21\1\66\1\21\1\uffff\10\21\1\100\1\uffff"; + static final String DFA6_eofS = + "\101\uffff"; + static final String DFA6_minS = + "\1\11\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\7\uffff\1\160\4\uffff\1\143\1\141\2\uffff\1\162\1\160\1\164\1\153\1\163\2\60\1\151\1\141\1\163\1\141\2\uffff\1\157\1\147\1\60\1\142\1\156\1\145\1\uffff\1\154\1\141\1\60\1\145\1\154\1\uffff\1\103\1\60\1\157\1\uffff\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\60\1\uffff"; + static final String DFA6_maxS = + "\1\175\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\7\uffff\1\160\4\uffff\1\143\1\141\2\uffff\1\162\1\160\1\164\1\153\1\163\2\172\1\151\1\141\1\163\1\141\2\uffff\1\157\1\147\1\172\1\142\1\156\1\145\1\uffff\1\154\1\141\1\172\1\145\1\154\1\uffff\1\103\1\172\1\157\1\uffff\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\172\1\uffff"; + static final String DFA6_acceptS = + "\2\uffff\1\2\1\3\3\uffff\1\7\1\uffff\1\11\1\12\1\13\1\15\1\17\1\20\1\21\1\uffff\1\23\1\24\1\25\1\26\2\uffff\1\14\1\5\13\uffff\1\6\1\10\6\uffff\1\4\5\uffff\1\1\3\uffff\1\22\11\uffff\1\16"; + static final String DFA6_specialS = + "\101\uffff}>"; + static final String[] DFA6_transitionS = { + "\2\24\2\uffff\1\24\22\uffff\1\24\7\uffff\1\11\1\12\2\uffff\1\16\1\17\1\5\1\23\12\22\1\7\2\uffff\1\15\3\uffff\32\21\1\13\1\uffff\1\14\2\21\1\uffff\2\21\1\4\1\21\1\10\11\21\1\20\1\1\5\21\1\6\4\21\1\2\1\uffff\1\3", + "\1\25", + "", + "", + "\1\26", + "\1\27", + "\1\31", + "", + "\1\32", + "", + "", + "", + "", + "", + "", + "", + "\1\33", + "", + "", + "", + "", + "\1\34", + "\1\35", + "", + "", + "\1\36", + "\1\37", + "\1\40", + "\1\41", + "\1\42", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\10\21\1\43\21\21", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\46", + "\1\47", + "\1\50", + "\1\51", + "", + "", + "\1\52", + "\1\53", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\55", + "\1\56", + "\1\57", + "", + "\1\60", + "\1\61", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\63", + "\1\64", + "", + "\1\65", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\67", + "", + "\1\70", + "\1\71", + "\1\72", + "\1\73", + "\1\74", + "\1\75", + "\1\76", + "\1\77", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "" + }; + + static final short[] DFA6_eot = DFA.unpackEncodedString(DFA6_eotS); + static final short[] DFA6_eof = DFA.unpackEncodedString(DFA6_eofS); + static final char[] DFA6_min = DFA.unpackEncodedStringToUnsignedChars(DFA6_minS); + static final char[] DFA6_max = DFA.unpackEncodedStringToUnsignedChars(DFA6_maxS); + static final short[] DFA6_accept = DFA.unpackEncodedString(DFA6_acceptS); + static final short[] DFA6_special = DFA.unpackEncodedString(DFA6_specialS); + static final short[][] DFA6_transition; + + static { + int numStates = DFA6_transitionS.length; + DFA6_transition = new short[numStates][]; + for (int i=0; i", "", "", "", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "'package'", "'{'", "'}'", "'class'", "'.'", "'var'", "':'", "'exp'", "'('", "')'", "'['", "'..'", "']'", "'variableContainers'", "'='", "','", "'-'", "'optional'" + }; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int EOF=-1; + public static final int T__10=10; + public static final int T__9=9; + public static final int T__8=8; + public static final int RULE_ID=4; + public static final int RULE_WS=7; + public static final int RULE_INT=5; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=6; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + + // delegates + // delegators + + + public InternalExpressionTextParser(TokenStream input) { + this(input, new RecognizerSharedState()); + } + public InternalExpressionTextParser(TokenStream input, RecognizerSharedState state) { + super(input, state); + + } + + + public String[] getTokenNames() { return InternalExpressionTextParser.tokenNames; } + public String getGrammarFileName() { return "InternalExpressionText.g"; } + + + + private ExpressionTextGrammarAccess grammarAccess; + + public void setGrammarAccess(ExpressionTextGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + @Override + protected Grammar getGrammar() { + return grammarAccess.getGrammar(); + } + + @Override + protected String getValueForTokenName(String tokenName) { + return tokenName; + } + + + + + // $ANTLR start "entryRuleSiriusExpressionPackage" + // InternalExpressionText.g:60:1: entryRuleSiriusExpressionPackage : ruleSiriusExpressionPackage EOF ; + public final void entryRuleSiriusExpressionPackage() throws RecognitionException { + try { + // InternalExpressionText.g:61:1: ( ruleSiriusExpressionPackage EOF ) + // InternalExpressionText.g:62:1: ruleSiriusExpressionPackage EOF + { + before(grammarAccess.getSiriusExpressionPackageRule()); + pushFollow(FOLLOW_1); + ruleSiriusExpressionPackage(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionPackageRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleSiriusExpressionPackage" + + + // $ANTLR start "ruleSiriusExpressionPackage" + // InternalExpressionText.g:69:1: ruleSiriusExpressionPackage : ( ( rule__SiriusExpressionPackage__Group__0 ) ) ; + public final void ruleSiriusExpressionPackage() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:73:2: ( ( ( rule__SiriusExpressionPackage__Group__0 ) ) ) + // InternalExpressionText.g:74:1: ( ( rule__SiriusExpressionPackage__Group__0 ) ) + { + // InternalExpressionText.g:74:1: ( ( rule__SiriusExpressionPackage__Group__0 ) ) + // InternalExpressionText.g:75:1: ( rule__SiriusExpressionPackage__Group__0 ) + { + before(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); + // InternalExpressionText.g:76:1: ( rule__SiriusExpressionPackage__Group__0 ) + // InternalExpressionText.g:76:2: rule__SiriusExpressionPackage__Group__0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleSiriusExpressionPackage" + + + // $ANTLR start "entryRuleSiriusExpressionClass" + // InternalExpressionText.g:88:1: entryRuleSiriusExpressionClass : ruleSiriusExpressionClass EOF ; + public final void entryRuleSiriusExpressionClass() throws RecognitionException { + try { + // InternalExpressionText.g:89:1: ( ruleSiriusExpressionClass EOF ) + // InternalExpressionText.g:90:1: ruleSiriusExpressionClass EOF + { + before(grammarAccess.getSiriusExpressionClassRule()); + pushFollow(FOLLOW_1); + ruleSiriusExpressionClass(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionClassRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleSiriusExpressionClass" + + + // $ANTLR start "ruleSiriusExpressionClass" + // InternalExpressionText.g:97:1: ruleSiriusExpressionClass : ( ( rule__SiriusExpressionClass__Group__0 ) ) ; + public final void ruleSiriusExpressionClass() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:101:2: ( ( ( rule__SiriusExpressionClass__Group__0 ) ) ) + // InternalExpressionText.g:102:1: ( ( rule__SiriusExpressionClass__Group__0 ) ) + { + // InternalExpressionText.g:102:1: ( ( rule__SiriusExpressionClass__Group__0 ) ) + // InternalExpressionText.g:103:1: ( rule__SiriusExpressionClass__Group__0 ) + { + before(grammarAccess.getSiriusExpressionClassAccess().getGroup()); + // InternalExpressionText.g:104:1: ( rule__SiriusExpressionClass__Group__0 ) + // InternalExpressionText.g:104:2: rule__SiriusExpressionClass__Group__0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionClassAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleSiriusExpressionClass" + + + // $ANTLR start "entryRuleFQN" + // InternalExpressionText.g:116:1: entryRuleFQN : ruleFQN EOF ; + public final void entryRuleFQN() throws RecognitionException { + try { + // InternalExpressionText.g:117:1: ( ruleFQN EOF ) + // InternalExpressionText.g:118:1: ruleFQN EOF + { + before(grammarAccess.getFQNRule()); + pushFollow(FOLLOW_1); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getFQNRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleFQN" + + + // $ANTLR start "ruleFQN" + // InternalExpressionText.g:125:1: ruleFQN : ( ( rule__FQN__Group__0 ) ) ; + public final void ruleFQN() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:129:2: ( ( ( rule__FQN__Group__0 ) ) ) + // InternalExpressionText.g:130:1: ( ( rule__FQN__Group__0 ) ) + { + // InternalExpressionText.g:130:1: ( ( rule__FQN__Group__0 ) ) + // InternalExpressionText.g:131:1: ( rule__FQN__Group__0 ) + { + before(grammarAccess.getFQNAccess().getGroup()); + // InternalExpressionText.g:132:1: ( rule__FQN__Group__0 ) + // InternalExpressionText.g:132:2: rule__FQN__Group__0 + { + pushFollow(FOLLOW_2); + rule__FQN__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getFQNAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleFQN" + + + // $ANTLR start "entryRuleSiriusVariable" + // InternalExpressionText.g:144:1: entryRuleSiriusVariable : ruleSiriusVariable EOF ; + public final void entryRuleSiriusVariable() throws RecognitionException { + try { + // InternalExpressionText.g:145:1: ( ruleSiriusVariable EOF ) + // InternalExpressionText.g:146:1: ruleSiriusVariable EOF + { + before(grammarAccess.getSiriusVariableRule()); + pushFollow(FOLLOW_1); + ruleSiriusVariable(); + + state._fsp--; + + after(grammarAccess.getSiriusVariableRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleSiriusVariable" + + + // $ANTLR start "ruleSiriusVariable" + // InternalExpressionText.g:153:1: ruleSiriusVariable : ( ( rule__SiriusVariable__Group__0 ) ) ; + public final void ruleSiriusVariable() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:157:2: ( ( ( rule__SiriusVariable__Group__0 ) ) ) + // InternalExpressionText.g:158:1: ( ( rule__SiriusVariable__Group__0 ) ) + { + // InternalExpressionText.g:158:1: ( ( rule__SiriusVariable__Group__0 ) ) + // InternalExpressionText.g:159:1: ( rule__SiriusVariable__Group__0 ) + { + before(grammarAccess.getSiriusVariableAccess().getGroup()); + // InternalExpressionText.g:160:1: ( rule__SiriusVariable__Group__0 ) + // InternalExpressionText.g:160:2: rule__SiriusVariable__Group__0 + { + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusVariableAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleSiriusVariable" + + + // $ANTLR start "entryRuleSiriusExpressionDescription" + // InternalExpressionText.g:172:1: entryRuleSiriusExpressionDescription : ruleSiriusExpressionDescription EOF ; + public final void entryRuleSiriusExpressionDescription() throws RecognitionException { + try { + // InternalExpressionText.g:173:1: ( ruleSiriusExpressionDescription EOF ) + // InternalExpressionText.g:174:1: ruleSiriusExpressionDescription EOF + { + before(grammarAccess.getSiriusExpressionDescriptionRule()); + pushFollow(FOLLOW_1); + ruleSiriusExpressionDescription(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleSiriusExpressionDescription" + + + // $ANTLR start "ruleSiriusExpressionDescription" + // InternalExpressionText.g:181:1: ruleSiriusExpressionDescription : ( ( rule__SiriusExpressionDescription__Group__0 ) ) ; + public final void ruleSiriusExpressionDescription() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:185:2: ( ( ( rule__SiriusExpressionDescription__Group__0 ) ) ) + // InternalExpressionText.g:186:1: ( ( rule__SiriusExpressionDescription__Group__0 ) ) + { + // InternalExpressionText.g:186:1: ( ( rule__SiriusExpressionDescription__Group__0 ) ) + // InternalExpressionText.g:187:1: ( rule__SiriusExpressionDescription__Group__0 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); + // InternalExpressionText.g:188:1: ( rule__SiriusExpressionDescription__Group__0 ) + // InternalExpressionText.g:188:2: rule__SiriusExpressionDescription__Group__0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleSiriusExpressionDescription" + + + // $ANTLR start "entryRuleSiriusParameter" + // InternalExpressionText.g:200:1: entryRuleSiriusParameter : ruleSiriusParameter EOF ; + public final void entryRuleSiriusParameter() throws RecognitionException { + try { + // InternalExpressionText.g:201:1: ( ruleSiriusParameter EOF ) + // InternalExpressionText.g:202:1: ruleSiriusParameter EOF + { + before(grammarAccess.getSiriusParameterRule()); + pushFollow(FOLLOW_1); + ruleSiriusParameter(); + + state._fsp--; + + after(grammarAccess.getSiriusParameterRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleSiriusParameter" + + + // $ANTLR start "ruleSiriusParameter" + // InternalExpressionText.g:209:1: ruleSiriusParameter : ( ( rule__SiriusParameter__Group__0 ) ) ; + public final void ruleSiriusParameter() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:213:2: ( ( ( rule__SiriusParameter__Group__0 ) ) ) + // InternalExpressionText.g:214:1: ( ( rule__SiriusParameter__Group__0 ) ) + { + // InternalExpressionText.g:214:1: ( ( rule__SiriusParameter__Group__0 ) ) + // InternalExpressionText.g:215:1: ( rule__SiriusParameter__Group__0 ) + { + before(grammarAccess.getSiriusParameterAccess().getGroup()); + // InternalExpressionText.g:216:1: ( rule__SiriusParameter__Group__0 ) + // InternalExpressionText.g:216:2: rule__SiriusParameter__Group__0 + { + pushFollow(FOLLOW_2); + rule__SiriusParameter__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusParameterAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleSiriusParameter" + + + // $ANTLR start "entryRuleBound" + // InternalExpressionText.g:228:1: entryRuleBound : ruleBound EOF ; + public final void entryRuleBound() throws RecognitionException { + try { + // InternalExpressionText.g:229:1: ( ruleBound EOF ) + // InternalExpressionText.g:230:1: ruleBound EOF + { + before(grammarAccess.getBoundRule()); + pushFollow(FOLLOW_1); + ruleBound(); + + state._fsp--; + + after(grammarAccess.getBoundRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleBound" + + + // $ANTLR start "ruleBound" + // InternalExpressionText.g:237:1: ruleBound : ( ( rule__Bound__Group__0 ) ) ; + public final void ruleBound() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:241:2: ( ( ( rule__Bound__Group__0 ) ) ) + // InternalExpressionText.g:242:1: ( ( rule__Bound__Group__0 ) ) + { + // InternalExpressionText.g:242:1: ( ( rule__Bound__Group__0 ) ) + // InternalExpressionText.g:243:1: ( rule__Bound__Group__0 ) + { + before(grammarAccess.getBoundAccess().getGroup()); + // InternalExpressionText.g:244:1: ( rule__Bound__Group__0 ) + // InternalExpressionText.g:244:2: rule__Bound__Group__0 + { + pushFollow(FOLLOW_2); + rule__Bound__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getBoundAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleBound" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__0" + // InternalExpressionText.g:258:1: rule__SiriusExpressionPackage__Group__0 : rule__SiriusExpressionPackage__Group__0__Impl rule__SiriusExpressionPackage__Group__1 ; + public final void rule__SiriusExpressionPackage__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:262:1: ( rule__SiriusExpressionPackage__Group__0__Impl rule__SiriusExpressionPackage__Group__1 ) + // InternalExpressionText.g:263:2: rule__SiriusExpressionPackage__Group__0__Impl rule__SiriusExpressionPackage__Group__1 + { + pushFollow(FOLLOW_3); + rule__SiriusExpressionPackage__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__0" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__0__Impl" + // InternalExpressionText.g:270:1: rule__SiriusExpressionPackage__Group__0__Impl : ( 'package' ) ; + public final void rule__SiriusExpressionPackage__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:274:1: ( ( 'package' ) ) + // InternalExpressionText.g:275:1: ( 'package' ) + { + // InternalExpressionText.g:275:1: ( 'package' ) + // InternalExpressionText.g:276:1: 'package' + { + before(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); + match(input,8,FOLLOW_2); + after(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__1" + // InternalExpressionText.g:289:1: rule__SiriusExpressionPackage__Group__1 : rule__SiriusExpressionPackage__Group__1__Impl rule__SiriusExpressionPackage__Group__2 ; + public final void rule__SiriusExpressionPackage__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:293:1: ( rule__SiriusExpressionPackage__Group__1__Impl rule__SiriusExpressionPackage__Group__2 ) + // InternalExpressionText.g:294:2: rule__SiriusExpressionPackage__Group__1__Impl rule__SiriusExpressionPackage__Group__2 + { + pushFollow(FOLLOW_4); + rule__SiriusExpressionPackage__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__1" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__1__Impl" + // InternalExpressionText.g:301:1: rule__SiriusExpressionPackage__Group__1__Impl : ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) ; + public final void rule__SiriusExpressionPackage__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:305:1: ( ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) ) + // InternalExpressionText.g:306:1: ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) + { + // InternalExpressionText.g:306:1: ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) + // InternalExpressionText.g:307:1: ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) + { + before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); + // InternalExpressionText.g:308:1: ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) + // InternalExpressionText.g:308:2: rule__SiriusExpressionPackage__EPackageAssignment_1 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__EPackageAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__2" + // InternalExpressionText.g:318:1: rule__SiriusExpressionPackage__Group__2 : rule__SiriusExpressionPackage__Group__2__Impl rule__SiriusExpressionPackage__Group__3 ; + public final void rule__SiriusExpressionPackage__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:322:1: ( rule__SiriusExpressionPackage__Group__2__Impl rule__SiriusExpressionPackage__Group__3 ) + // InternalExpressionText.g:323:2: rule__SiriusExpressionPackage__Group__2__Impl rule__SiriusExpressionPackage__Group__3 + { + pushFollow(FOLLOW_5); + rule__SiriusExpressionPackage__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__2" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__2__Impl" + // InternalExpressionText.g:330:1: rule__SiriusExpressionPackage__Group__2__Impl : ( '{' ) ; + public final void rule__SiriusExpressionPackage__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:334:1: ( ( '{' ) ) + // InternalExpressionText.g:335:1: ( '{' ) + { + // InternalExpressionText.g:335:1: ( '{' ) + // InternalExpressionText.g:336:1: '{' + { + before(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); + match(input,9,FOLLOW_2); + after(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__2__Impl" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__3" + // InternalExpressionText.g:349:1: rule__SiriusExpressionPackage__Group__3 : rule__SiriusExpressionPackage__Group__3__Impl rule__SiriusExpressionPackage__Group__4 ; + public final void rule__SiriusExpressionPackage__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:353:1: ( rule__SiriusExpressionPackage__Group__3__Impl rule__SiriusExpressionPackage__Group__4 ) + // InternalExpressionText.g:354:2: rule__SiriusExpressionPackage__Group__3__Impl rule__SiriusExpressionPackage__Group__4 + { + pushFollow(FOLLOW_5); + rule__SiriusExpressionPackage__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__3" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__3__Impl" + // InternalExpressionText.g:361:1: rule__SiriusExpressionPackage__Group__3__Impl : ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) ; + public final void rule__SiriusExpressionPackage__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:365:1: ( ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) ) + // InternalExpressionText.g:366:1: ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) + { + // InternalExpressionText.g:366:1: ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) + // InternalExpressionText.g:367:1: ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* + { + before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); + // InternalExpressionText.g:368:1: ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* + loop1: + do { + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0==11) ) { + alt1=1; + } + + + switch (alt1) { + case 1 : + // InternalExpressionText.g:368:2: rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 + { + pushFollow(FOLLOW_6); + rule__SiriusExpressionPackage__ExpressionClassesAssignment_3(); + + state._fsp--; + + + } + break; + + default : + break loop1; + } + } while (true); + + after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__3__Impl" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__4" + // InternalExpressionText.g:378:1: rule__SiriusExpressionPackage__Group__4 : rule__SiriusExpressionPackage__Group__4__Impl ; + public final void rule__SiriusExpressionPackage__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:382:1: ( rule__SiriusExpressionPackage__Group__4__Impl ) + // InternalExpressionText.g:383:2: rule__SiriusExpressionPackage__Group__4__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__4" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__4__Impl" + // InternalExpressionText.g:389:1: rule__SiriusExpressionPackage__Group__4__Impl : ( '}' ) ; + public final void rule__SiriusExpressionPackage__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:393:1: ( ( '}' ) ) + // InternalExpressionText.g:394:1: ( '}' ) + { + // InternalExpressionText.g:394:1: ( '}' ) + // InternalExpressionText.g:395:1: '}' + { + before(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); + match(input,10,FOLLOW_2); + after(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__4__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__0" + // InternalExpressionText.g:418:1: rule__SiriusExpressionClass__Group__0 : rule__SiriusExpressionClass__Group__0__Impl rule__SiriusExpressionClass__Group__1 ; + public final void rule__SiriusExpressionClass__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:422:1: ( rule__SiriusExpressionClass__Group__0__Impl rule__SiriusExpressionClass__Group__1 ) + // InternalExpressionText.g:423:2: rule__SiriusExpressionClass__Group__0__Impl rule__SiriusExpressionClass__Group__1 + { + pushFollow(FOLLOW_3); + rule__SiriusExpressionClass__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__0" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__0__Impl" + // InternalExpressionText.g:430:1: rule__SiriusExpressionClass__Group__0__Impl : ( 'class' ) ; + public final void rule__SiriusExpressionClass__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:434:1: ( ( 'class' ) ) + // InternalExpressionText.g:435:1: ( 'class' ) + { + // InternalExpressionText.g:435:1: ( 'class' ) + // InternalExpressionText.g:436:1: 'class' + { + before(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); + match(input,11,FOLLOW_2); + after(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__1" + // InternalExpressionText.g:449:1: rule__SiriusExpressionClass__Group__1 : rule__SiriusExpressionClass__Group__1__Impl rule__SiriusExpressionClass__Group__2 ; + public final void rule__SiriusExpressionClass__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:453:1: ( rule__SiriusExpressionClass__Group__1__Impl rule__SiriusExpressionClass__Group__2 ) + // InternalExpressionText.g:454:2: rule__SiriusExpressionClass__Group__1__Impl rule__SiriusExpressionClass__Group__2 + { + pushFollow(FOLLOW_4); + rule__SiriusExpressionClass__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__1" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__1__Impl" + // InternalExpressionText.g:461:1: rule__SiriusExpressionClass__Group__1__Impl : ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) ; + public final void rule__SiriusExpressionClass__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:465:1: ( ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) ) + // InternalExpressionText.g:466:1: ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) + { + // InternalExpressionText.g:466:1: ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) + // InternalExpressionText.g:467:1: ( rule__SiriusExpressionClass__EClassAssignment_1 ) + { + before(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); + // InternalExpressionText.g:468:1: ( rule__SiriusExpressionClass__EClassAssignment_1 ) + // InternalExpressionText.g:468:2: rule__SiriusExpressionClass__EClassAssignment_1 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__EClassAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__2" + // InternalExpressionText.g:478:1: rule__SiriusExpressionClass__Group__2 : rule__SiriusExpressionClass__Group__2__Impl rule__SiriusExpressionClass__Group__3 ; + public final void rule__SiriusExpressionClass__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:482:1: ( rule__SiriusExpressionClass__Group__2__Impl rule__SiriusExpressionClass__Group__3 ) + // InternalExpressionText.g:483:2: rule__SiriusExpressionClass__Group__2__Impl rule__SiriusExpressionClass__Group__3 + { + pushFollow(FOLLOW_7); + rule__SiriusExpressionClass__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__2" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__2__Impl" + // InternalExpressionText.g:490:1: rule__SiriusExpressionClass__Group__2__Impl : ( '{' ) ; + public final void rule__SiriusExpressionClass__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:494:1: ( ( '{' ) ) + // InternalExpressionText.g:495:1: ( '{' ) + { + // InternalExpressionText.g:495:1: ( '{' ) + // InternalExpressionText.g:496:1: '{' + { + before(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); + match(input,9,FOLLOW_2); + after(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__2__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__3" + // InternalExpressionText.g:509:1: rule__SiriusExpressionClass__Group__3 : rule__SiriusExpressionClass__Group__3__Impl rule__SiriusExpressionClass__Group__4 ; + public final void rule__SiriusExpressionClass__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:513:1: ( rule__SiriusExpressionClass__Group__3__Impl rule__SiriusExpressionClass__Group__4 ) + // InternalExpressionText.g:514:2: rule__SiriusExpressionClass__Group__3__Impl rule__SiriusExpressionClass__Group__4 + { + pushFollow(FOLLOW_7); + rule__SiriusExpressionClass__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__3" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__3__Impl" + // InternalExpressionText.g:521:1: rule__SiriusExpressionClass__Group__3__Impl : ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) ; + public final void rule__SiriusExpressionClass__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:525:1: ( ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) ) + // InternalExpressionText.g:526:1: ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) + { + // InternalExpressionText.g:526:1: ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) + // InternalExpressionText.g:527:1: ( rule__SiriusExpressionClass__VariablesAssignment_3 )* + { + before(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); + // InternalExpressionText.g:528:1: ( rule__SiriusExpressionClass__VariablesAssignment_3 )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0==RULE_ML_COMMENT||LA2_0==13) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalExpressionText.g:528:2: rule__SiriusExpressionClass__VariablesAssignment_3 + { + pushFollow(FOLLOW_8); + rule__SiriusExpressionClass__VariablesAssignment_3(); + + state._fsp--; + + + } + break; + + default : + break loop2; + } + } while (true); + + after(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__3__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__4" + // InternalExpressionText.g:538:1: rule__SiriusExpressionClass__Group__4 : rule__SiriusExpressionClass__Group__4__Impl rule__SiriusExpressionClass__Group__5 ; + public final void rule__SiriusExpressionClass__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:542:1: ( rule__SiriusExpressionClass__Group__4__Impl rule__SiriusExpressionClass__Group__5 ) + // InternalExpressionText.g:543:2: rule__SiriusExpressionClass__Group__4__Impl rule__SiriusExpressionClass__Group__5 + { + pushFollow(FOLLOW_7); + rule__SiriusExpressionClass__Group__4__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__5(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__4" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__4__Impl" + // InternalExpressionText.g:550:1: rule__SiriusExpressionClass__Group__4__Impl : ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) ; + public final void rule__SiriusExpressionClass__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:554:1: ( ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) ) + // InternalExpressionText.g:555:1: ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) + { + // InternalExpressionText.g:555:1: ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) + // InternalExpressionText.g:556:1: ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* + { + before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); + // InternalExpressionText.g:557:1: ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0==15) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalExpressionText.g:557:2: rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 + { + pushFollow(FOLLOW_9); + rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4(); + + state._fsp--; + + + } + break; + + default : + break loop3; + } + } while (true); + + after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__4__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__5" + // InternalExpressionText.g:567:1: rule__SiriusExpressionClass__Group__5 : rule__SiriusExpressionClass__Group__5__Impl ; + public final void rule__SiriusExpressionClass__Group__5() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:571:1: ( rule__SiriusExpressionClass__Group__5__Impl ) + // InternalExpressionText.g:572:2: rule__SiriusExpressionClass__Group__5__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__5__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__5" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__5__Impl" + // InternalExpressionText.g:578:1: rule__SiriusExpressionClass__Group__5__Impl : ( '}' ) ; + public final void rule__SiriusExpressionClass__Group__5__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:582:1: ( ( '}' ) ) + // InternalExpressionText.g:583:1: ( '}' ) + { + // InternalExpressionText.g:583:1: ( '}' ) + // InternalExpressionText.g:584:1: '}' + { + before(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); + match(input,10,FOLLOW_2); + after(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__5__Impl" + + + // $ANTLR start "rule__FQN__Group__0" + // InternalExpressionText.g:609:1: rule__FQN__Group__0 : rule__FQN__Group__0__Impl rule__FQN__Group__1 ; + public final void rule__FQN__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:613:1: ( rule__FQN__Group__0__Impl rule__FQN__Group__1 ) + // InternalExpressionText.g:614:2: rule__FQN__Group__0__Impl rule__FQN__Group__1 + { + pushFollow(FOLLOW_10); + rule__FQN__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FQN__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group__0" + + + // $ANTLR start "rule__FQN__Group__0__Impl" + // InternalExpressionText.g:621:1: rule__FQN__Group__0__Impl : ( RULE_ID ) ; + public final void rule__FQN__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:625:1: ( ( RULE_ID ) ) + // InternalExpressionText.g:626:1: ( RULE_ID ) + { + // InternalExpressionText.g:626:1: ( RULE_ID ) + // InternalExpressionText.g:627:1: RULE_ID + { + before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group__0__Impl" + + + // $ANTLR start "rule__FQN__Group__1" + // InternalExpressionText.g:638:1: rule__FQN__Group__1 : rule__FQN__Group__1__Impl ; + public final void rule__FQN__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:642:1: ( rule__FQN__Group__1__Impl ) + // InternalExpressionText.g:643:2: rule__FQN__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__FQN__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group__1" + + + // $ANTLR start "rule__FQN__Group__1__Impl" + // InternalExpressionText.g:649:1: rule__FQN__Group__1__Impl : ( ( rule__FQN__Group_1__0 )* ) ; + public final void rule__FQN__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:653:1: ( ( ( rule__FQN__Group_1__0 )* ) ) + // InternalExpressionText.g:654:1: ( ( rule__FQN__Group_1__0 )* ) + { + // InternalExpressionText.g:654:1: ( ( rule__FQN__Group_1__0 )* ) + // InternalExpressionText.g:655:1: ( rule__FQN__Group_1__0 )* + { + before(grammarAccess.getFQNAccess().getGroup_1()); + // InternalExpressionText.g:656:1: ( rule__FQN__Group_1__0 )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==12) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalExpressionText.g:656:2: rule__FQN__Group_1__0 + { + pushFollow(FOLLOW_11); + rule__FQN__Group_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop4; + } + } while (true); + + after(grammarAccess.getFQNAccess().getGroup_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group__1__Impl" + + + // $ANTLR start "rule__FQN__Group_1__0" + // InternalExpressionText.g:670:1: rule__FQN__Group_1__0 : rule__FQN__Group_1__0__Impl rule__FQN__Group_1__1 ; + public final void rule__FQN__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:674:1: ( rule__FQN__Group_1__0__Impl rule__FQN__Group_1__1 ) + // InternalExpressionText.g:675:2: rule__FQN__Group_1__0__Impl rule__FQN__Group_1__1 + { + pushFollow(FOLLOW_3); + rule__FQN__Group_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FQN__Group_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group_1__0" + + + // $ANTLR start "rule__FQN__Group_1__0__Impl" + // InternalExpressionText.g:682:1: rule__FQN__Group_1__0__Impl : ( '.' ) ; + public final void rule__FQN__Group_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:686:1: ( ( '.' ) ) + // InternalExpressionText.g:687:1: ( '.' ) + { + // InternalExpressionText.g:687:1: ( '.' ) + // InternalExpressionText.g:688:1: '.' + { + before(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); + match(input,12,FOLLOW_2); + after(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group_1__0__Impl" + + + // $ANTLR start "rule__FQN__Group_1__1" + // InternalExpressionText.g:701:1: rule__FQN__Group_1__1 : rule__FQN__Group_1__1__Impl ; + public final void rule__FQN__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:705:1: ( rule__FQN__Group_1__1__Impl ) + // InternalExpressionText.g:706:2: rule__FQN__Group_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__FQN__Group_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group_1__1" + + + // $ANTLR start "rule__FQN__Group_1__1__Impl" + // InternalExpressionText.g:712:1: rule__FQN__Group_1__1__Impl : ( RULE_ID ) ; + public final void rule__FQN__Group_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:716:1: ( ( RULE_ID ) ) + // InternalExpressionText.g:717:1: ( RULE_ID ) + { + // InternalExpressionText.g:717:1: ( RULE_ID ) + // InternalExpressionText.g:718:1: RULE_ID + { + before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group_1__1__Impl" + + + // $ANTLR start "rule__SiriusVariable__Group__0" + // InternalExpressionText.g:733:1: rule__SiriusVariable__Group__0 : rule__SiriusVariable__Group__0__Impl rule__SiriusVariable__Group__1 ; + public final void rule__SiriusVariable__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:737:1: ( rule__SiriusVariable__Group__0__Impl rule__SiriusVariable__Group__1 ) + // InternalExpressionText.g:738:2: rule__SiriusVariable__Group__0__Impl rule__SiriusVariable__Group__1 + { + pushFollow(FOLLOW_12); + rule__SiriusVariable__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__0" + + + // $ANTLR start "rule__SiriusVariable__Group__0__Impl" + // InternalExpressionText.g:745:1: rule__SiriusVariable__Group__0__Impl : ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) ; + public final void rule__SiriusVariable__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:749:1: ( ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) ) + // InternalExpressionText.g:750:1: ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) + { + // InternalExpressionText.g:750:1: ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) + // InternalExpressionText.g:751:1: ( rule__SiriusVariable__DocumentationAssignment_0 )? + { + before(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); + // InternalExpressionText.g:752:1: ( rule__SiriusVariable__DocumentationAssignment_0 )? + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==RULE_ML_COMMENT) ) { + alt5=1; + } + switch (alt5) { + case 1 : + // InternalExpressionText.g:752:2: rule__SiriusVariable__DocumentationAssignment_0 + { + pushFollow(FOLLOW_2); + rule__SiriusVariable__DocumentationAssignment_0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__0__Impl" + + + // $ANTLR start "rule__SiriusVariable__Group__1" + // InternalExpressionText.g:762:1: rule__SiriusVariable__Group__1 : rule__SiriusVariable__Group__1__Impl rule__SiriusVariable__Group__2 ; + public final void rule__SiriusVariable__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:766:1: ( rule__SiriusVariable__Group__1__Impl rule__SiriusVariable__Group__2 ) + // InternalExpressionText.g:767:2: rule__SiriusVariable__Group__1__Impl rule__SiriusVariable__Group__2 + { + pushFollow(FOLLOW_3); + rule__SiriusVariable__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__1" + + + // $ANTLR start "rule__SiriusVariable__Group__1__Impl" + // InternalExpressionText.g:774:1: rule__SiriusVariable__Group__1__Impl : ( 'var' ) ; + public final void rule__SiriusVariable__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:778:1: ( ( 'var' ) ) + // InternalExpressionText.g:779:1: ( 'var' ) + { + // InternalExpressionText.g:779:1: ( 'var' ) + // InternalExpressionText.g:780:1: 'var' + { + before(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); + match(input,13,FOLLOW_2); + after(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__1__Impl" + + + // $ANTLR start "rule__SiriusVariable__Group__2" + // InternalExpressionText.g:793:1: rule__SiriusVariable__Group__2 : rule__SiriusVariable__Group__2__Impl rule__SiriusVariable__Group__3 ; + public final void rule__SiriusVariable__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:797:1: ( rule__SiriusVariable__Group__2__Impl rule__SiriusVariable__Group__3 ) + // InternalExpressionText.g:798:2: rule__SiriusVariable__Group__2__Impl rule__SiriusVariable__Group__3 + { + pushFollow(FOLLOW_13); + rule__SiriusVariable__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__2" + + + // $ANTLR start "rule__SiriusVariable__Group__2__Impl" + // InternalExpressionText.g:805:1: rule__SiriusVariable__Group__2__Impl : ( ( rule__SiriusVariable__NameAssignment_2 ) ) ; + public final void rule__SiriusVariable__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:809:1: ( ( ( rule__SiriusVariable__NameAssignment_2 ) ) ) + // InternalExpressionText.g:810:1: ( ( rule__SiriusVariable__NameAssignment_2 ) ) + { + // InternalExpressionText.g:810:1: ( ( rule__SiriusVariable__NameAssignment_2 ) ) + // InternalExpressionText.g:811:1: ( rule__SiriusVariable__NameAssignment_2 ) + { + before(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); + // InternalExpressionText.g:812:1: ( rule__SiriusVariable__NameAssignment_2 ) + // InternalExpressionText.g:812:2: rule__SiriusVariable__NameAssignment_2 + { + pushFollow(FOLLOW_2); + rule__SiriusVariable__NameAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__2__Impl" + + + // $ANTLR start "rule__SiriusVariable__Group__3" + // InternalExpressionText.g:822:1: rule__SiriusVariable__Group__3 : rule__SiriusVariable__Group__3__Impl rule__SiriusVariable__Group__4 ; + public final void rule__SiriusVariable__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:826:1: ( rule__SiriusVariable__Group__3__Impl rule__SiriusVariable__Group__4 ) + // InternalExpressionText.g:827:2: rule__SiriusVariable__Group__3__Impl rule__SiriusVariable__Group__4 + { + pushFollow(FOLLOW_3); + rule__SiriusVariable__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__3" + + + // $ANTLR start "rule__SiriusVariable__Group__3__Impl" + // InternalExpressionText.g:834:1: rule__SiriusVariable__Group__3__Impl : ( ':' ) ; + public final void rule__SiriusVariable__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:838:1: ( ( ':' ) ) + // InternalExpressionText.g:839:1: ( ':' ) + { + // InternalExpressionText.g:839:1: ( ':' ) + // InternalExpressionText.g:840:1: ':' + { + before(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); + match(input,14,FOLLOW_2); + after(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__3__Impl" + + + // $ANTLR start "rule__SiriusVariable__Group__4" + // InternalExpressionText.g:853:1: rule__SiriusVariable__Group__4 : rule__SiriusVariable__Group__4__Impl ; + public final void rule__SiriusVariable__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:857:1: ( rule__SiriusVariable__Group__4__Impl ) + // InternalExpressionText.g:858:2: rule__SiriusVariable__Group__4__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__4" + + + // $ANTLR start "rule__SiriusVariable__Group__4__Impl" + // InternalExpressionText.g:864:1: rule__SiriusVariable__Group__4__Impl : ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) ; + public final void rule__SiriusVariable__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:868:1: ( ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) ) + // InternalExpressionText.g:869:1: ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) + { + // InternalExpressionText.g:869:1: ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) + // InternalExpressionText.g:870:1: ( rule__SiriusVariable__ETypeAssignment_4 ) + { + before(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); + // InternalExpressionText.g:871:1: ( rule__SiriusVariable__ETypeAssignment_4 ) + // InternalExpressionText.g:871:2: rule__SiriusVariable__ETypeAssignment_4 + { + pushFollow(FOLLOW_2); + rule__SiriusVariable__ETypeAssignment_4(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__4__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__0" + // InternalExpressionText.g:891:1: rule__SiriusExpressionDescription__Group__0 : rule__SiriusExpressionDescription__Group__0__Impl rule__SiriusExpressionDescription__Group__1 ; + public final void rule__SiriusExpressionDescription__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:895:1: ( rule__SiriusExpressionDescription__Group__0__Impl rule__SiriusExpressionDescription__Group__1 ) + // InternalExpressionText.g:896:2: rule__SiriusExpressionDescription__Group__0__Impl rule__SiriusExpressionDescription__Group__1 + { + pushFollow(FOLLOW_3); + rule__SiriusExpressionDescription__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__0" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__0__Impl" + // InternalExpressionText.g:903:1: rule__SiriusExpressionDescription__Group__0__Impl : ( 'exp' ) ; + public final void rule__SiriusExpressionDescription__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:907:1: ( ( 'exp' ) ) + // InternalExpressionText.g:908:1: ( 'exp' ) + { + // InternalExpressionText.g:908:1: ( 'exp' ) + // InternalExpressionText.g:909:1: 'exp' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); + match(input,15,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__1" + // InternalExpressionText.g:922:1: rule__SiriusExpressionDescription__Group__1 : rule__SiriusExpressionDescription__Group__1__Impl rule__SiriusExpressionDescription__Group__2 ; + public final void rule__SiriusExpressionDescription__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:926:1: ( rule__SiriusExpressionDescription__Group__1__Impl rule__SiriusExpressionDescription__Group__2 ) + // InternalExpressionText.g:927:2: rule__SiriusExpressionDescription__Group__1__Impl rule__SiriusExpressionDescription__Group__2 + { + pushFollow(FOLLOW_14); + rule__SiriusExpressionDescription__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__1" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__1__Impl" + // InternalExpressionText.g:934:1: rule__SiriusExpressionDescription__Group__1__Impl : ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) ; + public final void rule__SiriusExpressionDescription__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:938:1: ( ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) ) + // InternalExpressionText.g:939:1: ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) + { + // InternalExpressionText.g:939:1: ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) + // InternalExpressionText.g:940:1: ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); + // InternalExpressionText.g:941:1: ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) + // InternalExpressionText.g:941:2: rule__SiriusExpressionDescription__ExpressionAssignment_1 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__ExpressionAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__2" + // InternalExpressionText.g:951:1: rule__SiriusExpressionDescription__Group__2 : rule__SiriusExpressionDescription__Group__2__Impl rule__SiriusExpressionDescription__Group__3 ; + public final void rule__SiriusExpressionDescription__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:955:1: ( rule__SiriusExpressionDescription__Group__2__Impl rule__SiriusExpressionDescription__Group__3 ) + // InternalExpressionText.g:956:2: rule__SiriusExpressionDescription__Group__2__Impl rule__SiriusExpressionDescription__Group__3 + { + pushFollow(FOLLOW_15); + rule__SiriusExpressionDescription__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__2" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__2__Impl" + // InternalExpressionText.g:963:1: rule__SiriusExpressionDescription__Group__2__Impl : ( '(' ) ; + public final void rule__SiriusExpressionDescription__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:967:1: ( ( '(' ) ) + // InternalExpressionText.g:968:1: ( '(' ) + { + // InternalExpressionText.g:968:1: ( '(' ) + // InternalExpressionText.g:969:1: '(' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); + match(input,16,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__2__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__3" + // InternalExpressionText.g:982:1: rule__SiriusExpressionDescription__Group__3 : rule__SiriusExpressionDescription__Group__3__Impl rule__SiriusExpressionDescription__Group__4 ; + public final void rule__SiriusExpressionDescription__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:986:1: ( rule__SiriusExpressionDescription__Group__3__Impl rule__SiriusExpressionDescription__Group__4 ) + // InternalExpressionText.g:987:2: rule__SiriusExpressionDescription__Group__3__Impl rule__SiriusExpressionDescription__Group__4 + { + pushFollow(FOLLOW_15); + rule__SiriusExpressionDescription__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__3" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__3__Impl" + // InternalExpressionText.g:994:1: rule__SiriusExpressionDescription__Group__3__Impl : ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) ; + public final void rule__SiriusExpressionDescription__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:998:1: ( ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) ) + // InternalExpressionText.g:999:1: ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) + { + // InternalExpressionText.g:999:1: ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) + // InternalExpressionText.g:1000:1: ( rule__SiriusExpressionDescription__Group_3__0 )? + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); + // InternalExpressionText.g:1001:1: ( rule__SiriusExpressionDescription__Group_3__0 )? + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==RULE_ID||LA6_0==25) ) { + alt6=1; + } + switch (alt6) { + case 1 : + // InternalExpressionText.g:1001:2: rule__SiriusExpressionDescription__Group_3__0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_3__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__3__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__4" + // InternalExpressionText.g:1011:1: rule__SiriusExpressionDescription__Group__4 : rule__SiriusExpressionDescription__Group__4__Impl rule__SiriusExpressionDescription__Group__5 ; + public final void rule__SiriusExpressionDescription__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1015:1: ( rule__SiriusExpressionDescription__Group__4__Impl rule__SiriusExpressionDescription__Group__5 ) + // InternalExpressionText.g:1016:2: rule__SiriusExpressionDescription__Group__4__Impl rule__SiriusExpressionDescription__Group__5 + { + pushFollow(FOLLOW_13); + rule__SiriusExpressionDescription__Group__4__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__5(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__4" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__4__Impl" + // InternalExpressionText.g:1023:1: rule__SiriusExpressionDescription__Group__4__Impl : ( ')' ) ; + public final void rule__SiriusExpressionDescription__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1027:1: ( ( ')' ) ) + // InternalExpressionText.g:1028:1: ( ')' ) + { + // InternalExpressionText.g:1028:1: ( ')' ) + // InternalExpressionText.g:1029:1: ')' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); + match(input,17,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__4__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__5" + // InternalExpressionText.g:1042:1: rule__SiriusExpressionDescription__Group__5 : rule__SiriusExpressionDescription__Group__5__Impl rule__SiriusExpressionDescription__Group__6 ; + public final void rule__SiriusExpressionDescription__Group__5() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1046:1: ( rule__SiriusExpressionDescription__Group__5__Impl rule__SiriusExpressionDescription__Group__6 ) + // InternalExpressionText.g:1047:2: rule__SiriusExpressionDescription__Group__5__Impl rule__SiriusExpressionDescription__Group__6 + { + pushFollow(FOLLOW_3); + rule__SiriusExpressionDescription__Group__5__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__6(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__5" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__5__Impl" + // InternalExpressionText.g:1054:1: rule__SiriusExpressionDescription__Group__5__Impl : ( ':' ) ; + public final void rule__SiriusExpressionDescription__Group__5__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1058:1: ( ( ':' ) ) + // InternalExpressionText.g:1059:1: ( ':' ) + { + // InternalExpressionText.g:1059:1: ( ':' ) + // InternalExpressionText.g:1060:1: ':' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); + match(input,14,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__5__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__6" + // InternalExpressionText.g:1073:1: rule__SiriusExpressionDescription__Group__6 : rule__SiriusExpressionDescription__Group__6__Impl rule__SiriusExpressionDescription__Group__7 ; + public final void rule__SiriusExpressionDescription__Group__6() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1077:1: ( rule__SiriusExpressionDescription__Group__6__Impl rule__SiriusExpressionDescription__Group__7 ) + // InternalExpressionText.g:1078:2: rule__SiriusExpressionDescription__Group__6__Impl rule__SiriusExpressionDescription__Group__7 + { + pushFollow(FOLLOW_16); + rule__SiriusExpressionDescription__Group__6__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__7(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__6" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__6__Impl" + // InternalExpressionText.g:1085:1: rule__SiriusExpressionDescription__Group__6__Impl : ( ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) ) ; + public final void rule__SiriusExpressionDescription__Group__6__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1089:1: ( ( ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) ) ) + // InternalExpressionText.g:1090:1: ( ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) ) + { + // InternalExpressionText.g:1090:1: ( ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) ) + // InternalExpressionText.g:1091:1: ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeAssignment_6()); + // InternalExpressionText.g:1092:1: ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) + // InternalExpressionText.g:1092:2: rule__SiriusExpressionDescription__ReturnTypeAssignment_6 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__ReturnTypeAssignment_6(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeAssignment_6()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__6__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__7" + // InternalExpressionText.g:1102:1: rule__SiriusExpressionDescription__Group__7 : rule__SiriusExpressionDescription__Group__7__Impl rule__SiriusExpressionDescription__Group__8 ; + public final void rule__SiriusExpressionDescription__Group__7() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1106:1: ( rule__SiriusExpressionDescription__Group__7__Impl rule__SiriusExpressionDescription__Group__8 ) + // InternalExpressionText.g:1107:2: rule__SiriusExpressionDescription__Group__7__Impl rule__SiriusExpressionDescription__Group__8 + { + pushFollow(FOLLOW_17); + rule__SiriusExpressionDescription__Group__7__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__8(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__7" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__7__Impl" + // InternalExpressionText.g:1114:1: rule__SiriusExpressionDescription__Group__7__Impl : ( '[' ) ; + public final void rule__SiriusExpressionDescription__Group__7__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1118:1: ( ( '[' ) ) + // InternalExpressionText.g:1119:1: ( '[' ) + { + // InternalExpressionText.g:1119:1: ( '[' ) + // InternalExpressionText.g:1120:1: '[' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); + match(input,18,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__7__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__8" + // InternalExpressionText.g:1133:1: rule__SiriusExpressionDescription__Group__8 : rule__SiriusExpressionDescription__Group__8__Impl rule__SiriusExpressionDescription__Group__9 ; + public final void rule__SiriusExpressionDescription__Group__8() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1137:1: ( rule__SiriusExpressionDescription__Group__8__Impl rule__SiriusExpressionDescription__Group__9 ) + // InternalExpressionText.g:1138:2: rule__SiriusExpressionDescription__Group__8__Impl rule__SiriusExpressionDescription__Group__9 + { + pushFollow(FOLLOW_18); + rule__SiriusExpressionDescription__Group__8__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__9(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__8" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__8__Impl" + // InternalExpressionText.g:1145:1: rule__SiriusExpressionDescription__Group__8__Impl : ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) ; + public final void rule__SiriusExpressionDescription__Group__8__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1149:1: ( ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) ) + // InternalExpressionText.g:1150:1: ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) + { + // InternalExpressionText.g:1150:1: ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) + // InternalExpressionText.g:1151:1: ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); + // InternalExpressionText.g:1152:1: ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) + // InternalExpressionText.g:1152:2: rule__SiriusExpressionDescription__LowerBoundAssignment_8 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__LowerBoundAssignment_8(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__8__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__9" + // InternalExpressionText.g:1162:1: rule__SiriusExpressionDescription__Group__9 : rule__SiriusExpressionDescription__Group__9__Impl rule__SiriusExpressionDescription__Group__10 ; + public final void rule__SiriusExpressionDescription__Group__9() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1166:1: ( rule__SiriusExpressionDescription__Group__9__Impl rule__SiriusExpressionDescription__Group__10 ) + // InternalExpressionText.g:1167:2: rule__SiriusExpressionDescription__Group__9__Impl rule__SiriusExpressionDescription__Group__10 + { + pushFollow(FOLLOW_17); + rule__SiriusExpressionDescription__Group__9__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__10(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__9" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__9__Impl" + // InternalExpressionText.g:1174:1: rule__SiriusExpressionDescription__Group__9__Impl : ( '..' ) ; + public final void rule__SiriusExpressionDescription__Group__9__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1178:1: ( ( '..' ) ) + // InternalExpressionText.g:1179:1: ( '..' ) + { + // InternalExpressionText.g:1179:1: ( '..' ) + // InternalExpressionText.g:1180:1: '..' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); + match(input,19,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__9__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__10" + // InternalExpressionText.g:1193:1: rule__SiriusExpressionDescription__Group__10 : rule__SiriusExpressionDescription__Group__10__Impl rule__SiriusExpressionDescription__Group__11 ; + public final void rule__SiriusExpressionDescription__Group__10() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1197:1: ( rule__SiriusExpressionDescription__Group__10__Impl rule__SiriusExpressionDescription__Group__11 ) + // InternalExpressionText.g:1198:2: rule__SiriusExpressionDescription__Group__10__Impl rule__SiriusExpressionDescription__Group__11 + { + pushFollow(FOLLOW_19); + rule__SiriusExpressionDescription__Group__10__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__11(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__10" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__10__Impl" + // InternalExpressionText.g:1205:1: rule__SiriusExpressionDescription__Group__10__Impl : ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) ; + public final void rule__SiriusExpressionDescription__Group__10__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1209:1: ( ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) ) + // InternalExpressionText.g:1210:1: ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) + { + // InternalExpressionText.g:1210:1: ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) + // InternalExpressionText.g:1211:1: ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); + // InternalExpressionText.g:1212:1: ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) + // InternalExpressionText.g:1212:2: rule__SiriusExpressionDescription__UpperBoundAssignment_10 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__UpperBoundAssignment_10(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__10__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__11" + // InternalExpressionText.g:1222:1: rule__SiriusExpressionDescription__Group__11 : rule__SiriusExpressionDescription__Group__11__Impl rule__SiriusExpressionDescription__Group__12 ; + public final void rule__SiriusExpressionDescription__Group__11() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1226:1: ( rule__SiriusExpressionDescription__Group__11__Impl rule__SiriusExpressionDescription__Group__12 ) + // InternalExpressionText.g:1227:2: rule__SiriusExpressionDescription__Group__11__Impl rule__SiriusExpressionDescription__Group__12 + { + pushFollow(FOLLOW_4); + rule__SiriusExpressionDescription__Group__11__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__12(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__11" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__11__Impl" + // InternalExpressionText.g:1234:1: rule__SiriusExpressionDescription__Group__11__Impl : ( ']' ) ; + public final void rule__SiriusExpressionDescription__Group__11__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1238:1: ( ( ']' ) ) + // InternalExpressionText.g:1239:1: ( ']' ) + { + // InternalExpressionText.g:1239:1: ( ']' ) + // InternalExpressionText.g:1240:1: ']' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); + match(input,20,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__11__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__12" + // InternalExpressionText.g:1253:1: rule__SiriusExpressionDescription__Group__12 : rule__SiriusExpressionDescription__Group__12__Impl rule__SiriusExpressionDescription__Group__13 ; + public final void rule__SiriusExpressionDescription__Group__12() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1257:1: ( rule__SiriusExpressionDescription__Group__12__Impl rule__SiriusExpressionDescription__Group__13 ) + // InternalExpressionText.g:1258:2: rule__SiriusExpressionDescription__Group__12__Impl rule__SiriusExpressionDescription__Group__13 + { + pushFollow(FOLLOW_20); + rule__SiriusExpressionDescription__Group__12__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__13(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__12" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__12__Impl" + // InternalExpressionText.g:1265:1: rule__SiriusExpressionDescription__Group__12__Impl : ( '{' ) ; + public final void rule__SiriusExpressionDescription__Group__12__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1269:1: ( ( '{' ) ) + // InternalExpressionText.g:1270:1: ( '{' ) + { + // InternalExpressionText.g:1270:1: ( '{' ) + // InternalExpressionText.g:1271:1: '{' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); + match(input,9,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__12__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__13" + // InternalExpressionText.g:1284:1: rule__SiriusExpressionDescription__Group__13 : rule__SiriusExpressionDescription__Group__13__Impl rule__SiriusExpressionDescription__Group__14 ; + public final void rule__SiriusExpressionDescription__Group__13() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1288:1: ( rule__SiriusExpressionDescription__Group__13__Impl rule__SiriusExpressionDescription__Group__14 ) + // InternalExpressionText.g:1289:2: rule__SiriusExpressionDescription__Group__13__Impl rule__SiriusExpressionDescription__Group__14 + { + pushFollow(FOLLOW_21); + rule__SiriusExpressionDescription__Group__13__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__14(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__13" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__13__Impl" + // InternalExpressionText.g:1296:1: rule__SiriusExpressionDescription__Group__13__Impl : ( 'variableContainers' ) ; + public final void rule__SiriusExpressionDescription__Group__13__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1300:1: ( ( 'variableContainers' ) ) + // InternalExpressionText.g:1301:1: ( 'variableContainers' ) + { + // InternalExpressionText.g:1301:1: ( 'variableContainers' ) + // InternalExpressionText.g:1302:1: 'variableContainers' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersKeyword_13()); + match(input,21,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersKeyword_13()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__13__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__14" + // InternalExpressionText.g:1315:1: rule__SiriusExpressionDescription__Group__14 : rule__SiriusExpressionDescription__Group__14__Impl rule__SiriusExpressionDescription__Group__15 ; + public final void rule__SiriusExpressionDescription__Group__14() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1319:1: ( rule__SiriusExpressionDescription__Group__14__Impl rule__SiriusExpressionDescription__Group__15 ) + // InternalExpressionText.g:1320:2: rule__SiriusExpressionDescription__Group__14__Impl rule__SiriusExpressionDescription__Group__15 + { + pushFollow(FOLLOW_16); + rule__SiriusExpressionDescription__Group__14__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__15(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__14" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__14__Impl" + // InternalExpressionText.g:1327:1: rule__SiriusExpressionDescription__Group__14__Impl : ( '=' ) ; + public final void rule__SiriusExpressionDescription__Group__14__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1331:1: ( ( '=' ) ) + // InternalExpressionText.g:1332:1: ( '=' ) + { + // InternalExpressionText.g:1332:1: ( '=' ) + // InternalExpressionText.g:1333:1: '=' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); + match(input,22,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__14__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__15" + // InternalExpressionText.g:1346:1: rule__SiriusExpressionDescription__Group__15 : rule__SiriusExpressionDescription__Group__15__Impl rule__SiriusExpressionDescription__Group__16 ; + public final void rule__SiriusExpressionDescription__Group__15() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1350:1: ( rule__SiriusExpressionDescription__Group__15__Impl rule__SiriusExpressionDescription__Group__16 ) + // InternalExpressionText.g:1351:2: rule__SiriusExpressionDescription__Group__15__Impl rule__SiriusExpressionDescription__Group__16 + { + pushFollow(FOLLOW_22); + rule__SiriusExpressionDescription__Group__15__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__16(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__15" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__15__Impl" + // InternalExpressionText.g:1358:1: rule__SiriusExpressionDescription__Group__15__Impl : ( '[' ) ; + public final void rule__SiriusExpressionDescription__Group__15__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1362:1: ( ( '[' ) ) + // InternalExpressionText.g:1363:1: ( '[' ) + { + // InternalExpressionText.g:1363:1: ( '[' ) + // InternalExpressionText.g:1364:1: '[' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); + match(input,18,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__15__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__16" + // InternalExpressionText.g:1377:1: rule__SiriusExpressionDescription__Group__16 : rule__SiriusExpressionDescription__Group__16__Impl rule__SiriusExpressionDescription__Group__17 ; + public final void rule__SiriusExpressionDescription__Group__16() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1381:1: ( rule__SiriusExpressionDescription__Group__16__Impl rule__SiriusExpressionDescription__Group__17 ) + // InternalExpressionText.g:1382:2: rule__SiriusExpressionDescription__Group__16__Impl rule__SiriusExpressionDescription__Group__17 + { + pushFollow(FOLLOW_22); + rule__SiriusExpressionDescription__Group__16__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__17(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__16" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__16__Impl" + // InternalExpressionText.g:1389:1: rule__SiriusExpressionDescription__Group__16__Impl : ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) ; + public final void rule__SiriusExpressionDescription__Group__16__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1393:1: ( ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) ) + // InternalExpressionText.g:1394:1: ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) + { + // InternalExpressionText.g:1394:1: ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) + // InternalExpressionText.g:1395:1: ( rule__SiriusExpressionDescription__Group_16__0 )? + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); + // InternalExpressionText.g:1396:1: ( rule__SiriusExpressionDescription__Group_16__0 )? + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0==RULE_ID) ) { + alt7=1; + } + switch (alt7) { + case 1 : + // InternalExpressionText.g:1396:2: rule__SiriusExpressionDescription__Group_16__0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_16__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__16__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__17" + // InternalExpressionText.g:1406:1: rule__SiriusExpressionDescription__Group__17 : rule__SiriusExpressionDescription__Group__17__Impl rule__SiriusExpressionDescription__Group__18 ; + public final void rule__SiriusExpressionDescription__Group__17() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1410:1: ( rule__SiriusExpressionDescription__Group__17__Impl rule__SiriusExpressionDescription__Group__18 ) + // InternalExpressionText.g:1411:2: rule__SiriusExpressionDescription__Group__17__Impl rule__SiriusExpressionDescription__Group__18 + { + pushFollow(FOLLOW_23); + rule__SiriusExpressionDescription__Group__17__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__18(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__17" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__17__Impl" + // InternalExpressionText.g:1418:1: rule__SiriusExpressionDescription__Group__17__Impl : ( ']' ) ; + public final void rule__SiriusExpressionDescription__Group__17__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1422:1: ( ( ']' ) ) + // InternalExpressionText.g:1423:1: ( ']' ) + { + // InternalExpressionText.g:1423:1: ( ']' ) + // InternalExpressionText.g:1424:1: ']' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); + match(input,20,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__17__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__18" + // InternalExpressionText.g:1437:1: rule__SiriusExpressionDescription__Group__18 : rule__SiriusExpressionDescription__Group__18__Impl ; + public final void rule__SiriusExpressionDescription__Group__18() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1441:1: ( rule__SiriusExpressionDescription__Group__18__Impl ) + // InternalExpressionText.g:1442:2: rule__SiriusExpressionDescription__Group__18__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__18__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__18" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__18__Impl" + // InternalExpressionText.g:1448:1: rule__SiriusExpressionDescription__Group__18__Impl : ( '}' ) ; + public final void rule__SiriusExpressionDescription__Group__18__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1452:1: ( ( '}' ) ) + // InternalExpressionText.g:1453:1: ( '}' ) + { + // InternalExpressionText.g:1453:1: ( '}' ) + // InternalExpressionText.g:1454:1: '}' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); + match(input,10,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__18__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3__0" + // InternalExpressionText.g:1505:1: rule__SiriusExpressionDescription__Group_3__0 : rule__SiriusExpressionDescription__Group_3__0__Impl rule__SiriusExpressionDescription__Group_3__1 ; + public final void rule__SiriusExpressionDescription__Group_3__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1509:1: ( rule__SiriusExpressionDescription__Group_3__0__Impl rule__SiriusExpressionDescription__Group_3__1 ) + // InternalExpressionText.g:1510:2: rule__SiriusExpressionDescription__Group_3__0__Impl rule__SiriusExpressionDescription__Group_3__1 + { + pushFollow(FOLLOW_24); + rule__SiriusExpressionDescription__Group_3__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_3__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3__0" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3__0__Impl" + // InternalExpressionText.g:1517:1: rule__SiriusExpressionDescription__Group_3__0__Impl : ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) ; + public final void rule__SiriusExpressionDescription__Group_3__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1521:1: ( ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) ) + // InternalExpressionText.g:1522:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) + { + // InternalExpressionText.g:1522:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) + // InternalExpressionText.g:1523:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); + // InternalExpressionText.g:1524:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) + // InternalExpressionText.g:1524:2: rule__SiriusExpressionDescription__ParametersAssignment_3_0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__ParametersAssignment_3_0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3__1" + // InternalExpressionText.g:1534:1: rule__SiriusExpressionDescription__Group_3__1 : rule__SiriusExpressionDescription__Group_3__1__Impl ; + public final void rule__SiriusExpressionDescription__Group_3__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1538:1: ( rule__SiriusExpressionDescription__Group_3__1__Impl ) + // InternalExpressionText.g:1539:2: rule__SiriusExpressionDescription__Group_3__1__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_3__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3__1" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3__1__Impl" + // InternalExpressionText.g:1545:1: rule__SiriusExpressionDescription__Group_3__1__Impl : ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) ; + public final void rule__SiriusExpressionDescription__Group_3__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1549:1: ( ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) ) + // InternalExpressionText.g:1550:1: ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) + { + // InternalExpressionText.g:1550:1: ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) + // InternalExpressionText.g:1551:1: ( rule__SiriusExpressionDescription__Group_3_1__0 )* + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); + // InternalExpressionText.g:1552:1: ( rule__SiriusExpressionDescription__Group_3_1__0 )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); + + if ( (LA8_0==23) ) { + alt8=1; + } + + + switch (alt8) { + case 1 : + // InternalExpressionText.g:1552:2: rule__SiriusExpressionDescription__Group_3_1__0 + { + pushFollow(FOLLOW_25); + rule__SiriusExpressionDescription__Group_3_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop8; + } + } while (true); + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__0" + // InternalExpressionText.g:1566:1: rule__SiriusExpressionDescription__Group_3_1__0 : rule__SiriusExpressionDescription__Group_3_1__0__Impl rule__SiriusExpressionDescription__Group_3_1__1 ; + public final void rule__SiriusExpressionDescription__Group_3_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1570:1: ( rule__SiriusExpressionDescription__Group_3_1__0__Impl rule__SiriusExpressionDescription__Group_3_1__1 ) + // InternalExpressionText.g:1571:2: rule__SiriusExpressionDescription__Group_3_1__0__Impl rule__SiriusExpressionDescription__Group_3_1__1 + { + pushFollow(FOLLOW_26); + rule__SiriusExpressionDescription__Group_3_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_3_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__0" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__0__Impl" + // InternalExpressionText.g:1578:1: rule__SiriusExpressionDescription__Group_3_1__0__Impl : ( ',' ) ; + public final void rule__SiriusExpressionDescription__Group_3_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1582:1: ( ( ',' ) ) + // InternalExpressionText.g:1583:1: ( ',' ) + { + // InternalExpressionText.g:1583:1: ( ',' ) + // InternalExpressionText.g:1584:1: ',' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); + match(input,23,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__1" + // InternalExpressionText.g:1597:1: rule__SiriusExpressionDescription__Group_3_1__1 : rule__SiriusExpressionDescription__Group_3_1__1__Impl ; + public final void rule__SiriusExpressionDescription__Group_3_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1601:1: ( rule__SiriusExpressionDescription__Group_3_1__1__Impl ) + // InternalExpressionText.g:1602:2: rule__SiriusExpressionDescription__Group_3_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_3_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__1" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__1__Impl" + // InternalExpressionText.g:1608:1: rule__SiriusExpressionDescription__Group_3_1__1__Impl : ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) ; + public final void rule__SiriusExpressionDescription__Group_3_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1612:1: ( ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) ) + // InternalExpressionText.g:1613:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) + { + // InternalExpressionText.g:1613:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) + // InternalExpressionText.g:1614:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); + // InternalExpressionText.g:1615:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) + // InternalExpressionText.g:1615:2: rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__ParametersAssignment_3_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16__0" + // InternalExpressionText.g:1629:1: rule__SiriusExpressionDescription__Group_16__0 : rule__SiriusExpressionDescription__Group_16__0__Impl rule__SiriusExpressionDescription__Group_16__1 ; + public final void rule__SiriusExpressionDescription__Group_16__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1633:1: ( rule__SiriusExpressionDescription__Group_16__0__Impl rule__SiriusExpressionDescription__Group_16__1 ) + // InternalExpressionText.g:1634:2: rule__SiriusExpressionDescription__Group_16__0__Impl rule__SiriusExpressionDescription__Group_16__1 + { + pushFollow(FOLLOW_24); + rule__SiriusExpressionDescription__Group_16__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_16__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16__0" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16__0__Impl" + // InternalExpressionText.g:1641:1: rule__SiriusExpressionDescription__Group_16__0__Impl : ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) ) ; + public final void rule__SiriusExpressionDescription__Group_16__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1645:1: ( ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) ) ) + // InternalExpressionText.g:1646:1: ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) ) + { + // InternalExpressionText.g:1646:1: ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) ) + // InternalExpressionText.g:1647:1: ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_0()); + // InternalExpressionText.g:1648:1: ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) + // InternalExpressionText.g:1648:2: rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__VariableContainersAssignment_16_0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16__1" + // InternalExpressionText.g:1658:1: rule__SiriusExpressionDescription__Group_16__1 : rule__SiriusExpressionDescription__Group_16__1__Impl ; + public final void rule__SiriusExpressionDescription__Group_16__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1662:1: ( rule__SiriusExpressionDescription__Group_16__1__Impl ) + // InternalExpressionText.g:1663:2: rule__SiriusExpressionDescription__Group_16__1__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_16__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16__1" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16__1__Impl" + // InternalExpressionText.g:1669:1: rule__SiriusExpressionDescription__Group_16__1__Impl : ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) ; + public final void rule__SiriusExpressionDescription__Group_16__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1673:1: ( ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) ) + // InternalExpressionText.g:1674:1: ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) + { + // InternalExpressionText.g:1674:1: ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) + // InternalExpressionText.g:1675:1: ( rule__SiriusExpressionDescription__Group_16_1__0 )* + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); + // InternalExpressionText.g:1676:1: ( rule__SiriusExpressionDescription__Group_16_1__0 )* + loop9: + do { + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==23) ) { + alt9=1; + } + + + switch (alt9) { + case 1 : + // InternalExpressionText.g:1676:2: rule__SiriusExpressionDescription__Group_16_1__0 + { + pushFollow(FOLLOW_25); + rule__SiriusExpressionDescription__Group_16_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop9; + } + } while (true); + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__0" + // InternalExpressionText.g:1690:1: rule__SiriusExpressionDescription__Group_16_1__0 : rule__SiriusExpressionDescription__Group_16_1__0__Impl rule__SiriusExpressionDescription__Group_16_1__1 ; + public final void rule__SiriusExpressionDescription__Group_16_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1694:1: ( rule__SiriusExpressionDescription__Group_16_1__0__Impl rule__SiriusExpressionDescription__Group_16_1__1 ) + // InternalExpressionText.g:1695:2: rule__SiriusExpressionDescription__Group_16_1__0__Impl rule__SiriusExpressionDescription__Group_16_1__1 + { + pushFollow(FOLLOW_3); + rule__SiriusExpressionDescription__Group_16_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_16_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__0" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__0__Impl" + // InternalExpressionText.g:1702:1: rule__SiriusExpressionDescription__Group_16_1__0__Impl : ( ',' ) ; + public final void rule__SiriusExpressionDescription__Group_16_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1706:1: ( ( ',' ) ) + // InternalExpressionText.g:1707:1: ( ',' ) + { + // InternalExpressionText.g:1707:1: ( ',' ) + // InternalExpressionText.g:1708:1: ',' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); + match(input,23,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__1" + // InternalExpressionText.g:1721:1: rule__SiriusExpressionDescription__Group_16_1__1 : rule__SiriusExpressionDescription__Group_16_1__1__Impl ; + public final void rule__SiriusExpressionDescription__Group_16_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1725:1: ( rule__SiriusExpressionDescription__Group_16_1__1__Impl ) + // InternalExpressionText.g:1726:2: rule__SiriusExpressionDescription__Group_16_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_16_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__1" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__1__Impl" + // InternalExpressionText.g:1732:1: rule__SiriusExpressionDescription__Group_16_1__1__Impl : ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) ) ; + public final void rule__SiriusExpressionDescription__Group_16_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1736:1: ( ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) ) ) + // InternalExpressionText.g:1737:1: ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) ) + { + // InternalExpressionText.g:1737:1: ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) ) + // InternalExpressionText.g:1738:1: ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_1_1()); + // InternalExpressionText.g:1739:1: ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) + // InternalExpressionText.g:1739:2: rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__1__Impl" + + + // $ANTLR start "rule__SiriusParameter__Group__0" + // InternalExpressionText.g:1753:1: rule__SiriusParameter__Group__0 : rule__SiriusParameter__Group__0__Impl rule__SiriusParameter__Group__1 ; + public final void rule__SiriusParameter__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1757:1: ( rule__SiriusParameter__Group__0__Impl rule__SiriusParameter__Group__1 ) + // InternalExpressionText.g:1758:2: rule__SiriusParameter__Group__0__Impl rule__SiriusParameter__Group__1 + { + pushFollow(FOLLOW_26); + rule__SiriusParameter__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusParameter__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusParameter__Group__0" + + + // $ANTLR start "rule__SiriusParameter__Group__0__Impl" + // InternalExpressionText.g:1765:1: rule__SiriusParameter__Group__0__Impl : ( ( rule__SiriusParameter__OptionalAssignment_0 )? ) ; + public final void rule__SiriusParameter__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1769:1: ( ( ( rule__SiriusParameter__OptionalAssignment_0 )? ) ) + // InternalExpressionText.g:1770:1: ( ( rule__SiriusParameter__OptionalAssignment_0 )? ) + { + // InternalExpressionText.g:1770:1: ( ( rule__SiriusParameter__OptionalAssignment_0 )? ) + // InternalExpressionText.g:1771:1: ( rule__SiriusParameter__OptionalAssignment_0 )? + { + before(grammarAccess.getSiriusParameterAccess().getOptionalAssignment_0()); + // InternalExpressionText.g:1772:1: ( rule__SiriusParameter__OptionalAssignment_0 )? + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==25) ) { + alt10=1; + } + switch (alt10) { + case 1 : + // InternalExpressionText.g:1772:2: rule__SiriusParameter__OptionalAssignment_0 + { + pushFollow(FOLLOW_2); + rule__SiriusParameter__OptionalAssignment_0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getSiriusParameterAccess().getOptionalAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusParameter__Group__0__Impl" + + + // $ANTLR start "rule__SiriusParameter__Group__1" + // InternalExpressionText.g:1782:1: rule__SiriusParameter__Group__1 : rule__SiriusParameter__Group__1__Impl ; + public final void rule__SiriusParameter__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1786:1: ( rule__SiriusParameter__Group__1__Impl ) + // InternalExpressionText.g:1787:2: rule__SiriusParameter__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusParameter__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusParameter__Group__1" + + + // $ANTLR start "rule__SiriusParameter__Group__1__Impl" + // InternalExpressionText.g:1793:1: rule__SiriusParameter__Group__1__Impl : ( ( rule__SiriusParameter__VariableAssignment_1 ) ) ; + public final void rule__SiriusParameter__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1797:1: ( ( ( rule__SiriusParameter__VariableAssignment_1 ) ) ) + // InternalExpressionText.g:1798:1: ( ( rule__SiriusParameter__VariableAssignment_1 ) ) + { + // InternalExpressionText.g:1798:1: ( ( rule__SiriusParameter__VariableAssignment_1 ) ) + // InternalExpressionText.g:1799:1: ( rule__SiriusParameter__VariableAssignment_1 ) + { + before(grammarAccess.getSiriusParameterAccess().getVariableAssignment_1()); + // InternalExpressionText.g:1800:1: ( rule__SiriusParameter__VariableAssignment_1 ) + // InternalExpressionText.g:1800:2: rule__SiriusParameter__VariableAssignment_1 + { + pushFollow(FOLLOW_2); + rule__SiriusParameter__VariableAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusParameterAccess().getVariableAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusParameter__Group__1__Impl" + + + // $ANTLR start "rule__Bound__Group__0" + // InternalExpressionText.g:1814:1: rule__Bound__Group__0 : rule__Bound__Group__0__Impl rule__Bound__Group__1 ; + public final void rule__Bound__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1818:1: ( rule__Bound__Group__0__Impl rule__Bound__Group__1 ) + // InternalExpressionText.g:1819:2: rule__Bound__Group__0__Impl rule__Bound__Group__1 + { + pushFollow(FOLLOW_17); + rule__Bound__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Bound__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Bound__Group__0" + + + // $ANTLR start "rule__Bound__Group__0__Impl" + // InternalExpressionText.g:1826:1: rule__Bound__Group__0__Impl : ( ( '-' )? ) ; + public final void rule__Bound__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1830:1: ( ( ( '-' )? ) ) + // InternalExpressionText.g:1831:1: ( ( '-' )? ) + { + // InternalExpressionText.g:1831:1: ( ( '-' )? ) + // InternalExpressionText.g:1832:1: ( '-' )? + { + before(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); + // InternalExpressionText.g:1833:1: ( '-' )? + int alt11=2; + int LA11_0 = input.LA(1); + + if ( (LA11_0==24) ) { + alt11=1; + } + switch (alt11) { + case 1 : + // InternalExpressionText.g:1834:2: '-' + { + match(input,24,FOLLOW_2); + + } + break; + + } + + after(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Bound__Group__0__Impl" + + + // $ANTLR start "rule__Bound__Group__1" + // InternalExpressionText.g:1845:1: rule__Bound__Group__1 : rule__Bound__Group__1__Impl ; + public final void rule__Bound__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1849:1: ( rule__Bound__Group__1__Impl ) + // InternalExpressionText.g:1850:2: rule__Bound__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__Bound__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Bound__Group__1" + + + // $ANTLR start "rule__Bound__Group__1__Impl" + // InternalExpressionText.g:1856:1: rule__Bound__Group__1__Impl : ( RULE_INT ) ; + public final void rule__Bound__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1860:1: ( ( RULE_INT ) ) + // InternalExpressionText.g:1861:1: ( RULE_INT ) + { + // InternalExpressionText.g:1861:1: ( RULE_INT ) + // InternalExpressionText.g:1862:1: RULE_INT + { + before(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Bound__Group__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionPackage__EPackageAssignment_1" + // InternalExpressionText.g:1878:1: rule__SiriusExpressionPackage__EPackageAssignment_1 : ( ( RULE_ID ) ) ; + public final void rule__SiriusExpressionPackage__EPackageAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1882:1: ( ( ( RULE_ID ) ) ) + // InternalExpressionText.g:1883:1: ( ( RULE_ID ) ) + { + // InternalExpressionText.g:1883:1: ( ( RULE_ID ) ) + // InternalExpressionText.g:1884:1: ( RULE_ID ) + { + before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); + // InternalExpressionText.g:1885:1: ( RULE_ID ) + // InternalExpressionText.g:1886:1: RULE_ID + { + before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageIDTerminalRuleCall_1_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageIDTerminalRuleCall_1_0_1()); + + } + + after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__EPackageAssignment_1" + + + // $ANTLR start "rule__SiriusExpressionPackage__ExpressionClassesAssignment_3" + // InternalExpressionText.g:1897:1: rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 : ( ruleSiriusExpressionClass ) ; + public final void rule__SiriusExpressionPackage__ExpressionClassesAssignment_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1901:1: ( ( ruleSiriusExpressionClass ) ) + // InternalExpressionText.g:1902:1: ( ruleSiriusExpressionClass ) + { + // InternalExpressionText.g:1902:1: ( ruleSiriusExpressionClass ) + // InternalExpressionText.g:1903:1: ruleSiriusExpressionClass + { + before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); + pushFollow(FOLLOW_2); + ruleSiriusExpressionClass(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__ExpressionClassesAssignment_3" + + + // $ANTLR start "rule__SiriusExpressionClass__EClassAssignment_1" + // InternalExpressionText.g:1912:1: rule__SiriusExpressionClass__EClassAssignment_1 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionClass__EClassAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1916:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionText.g:1917:1: ( ( ruleFQN ) ) + { + // InternalExpressionText.g:1917:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:1918:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); + // InternalExpressionText.g:1919:1: ( ruleFQN ) + // InternalExpressionText.g:1920:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); + + } + + after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__EClassAssignment_1" + + + // $ANTLR start "rule__SiriusExpressionClass__VariablesAssignment_3" + // InternalExpressionText.g:1931:1: rule__SiriusExpressionClass__VariablesAssignment_3 : ( ruleSiriusVariable ) ; + public final void rule__SiriusExpressionClass__VariablesAssignment_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1935:1: ( ( ruleSiriusVariable ) ) + // InternalExpressionText.g:1936:1: ( ruleSiriusVariable ) + { + // InternalExpressionText.g:1936:1: ( ruleSiriusVariable ) + // InternalExpressionText.g:1937:1: ruleSiriusVariable + { + before(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); + pushFollow(FOLLOW_2); + ruleSiriusVariable(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__VariablesAssignment_3" + + + // $ANTLR start "rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4" + // InternalExpressionText.g:1946:1: rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 : ( ruleSiriusExpressionDescription ) ; + public final void rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1950:1: ( ( ruleSiriusExpressionDescription ) ) + // InternalExpressionText.g:1951:1: ( ruleSiriusExpressionDescription ) + { + // InternalExpressionText.g:1951:1: ( ruleSiriusExpressionDescription ) + // InternalExpressionText.g:1952:1: ruleSiriusExpressionDescription + { + before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); + pushFollow(FOLLOW_2); + ruleSiriusExpressionDescription(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4" + + + // $ANTLR start "rule__SiriusVariable__DocumentationAssignment_0" + // InternalExpressionText.g:1961:1: rule__SiriusVariable__DocumentationAssignment_0 : ( RULE_ML_COMMENT ) ; + public final void rule__SiriusVariable__DocumentationAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1965:1: ( ( RULE_ML_COMMENT ) ) + // InternalExpressionText.g:1966:1: ( RULE_ML_COMMENT ) + { + // InternalExpressionText.g:1966:1: ( RULE_ML_COMMENT ) + // InternalExpressionText.g:1967:1: RULE_ML_COMMENT + { + before(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); + match(input,RULE_ML_COMMENT,FOLLOW_2); + after(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__DocumentationAssignment_0" + + + // $ANTLR start "rule__SiriusVariable__NameAssignment_2" + // InternalExpressionText.g:1976:1: rule__SiriusVariable__NameAssignment_2 : ( RULE_ID ) ; + public final void rule__SiriusVariable__NameAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1980:1: ( ( RULE_ID ) ) + // InternalExpressionText.g:1981:1: ( RULE_ID ) + { + // InternalExpressionText.g:1981:1: ( RULE_ID ) + // InternalExpressionText.g:1982:1: RULE_ID + { + before(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__NameAssignment_2" + + + // $ANTLR start "rule__SiriusVariable__ETypeAssignment_4" + // InternalExpressionText.g:1991:1: rule__SiriusVariable__ETypeAssignment_4 : ( ( ruleFQN ) ) ; + public final void rule__SiriusVariable__ETypeAssignment_4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1995:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionText.g:1996:1: ( ( ruleFQN ) ) + { + // InternalExpressionText.g:1996:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:1997:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); + // InternalExpressionText.g:1998:1: ( ruleFQN ) + // InternalExpressionText.g:1999:1: ruleFQN + { + before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); + + } + + after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__ETypeAssignment_4" + + + // $ANTLR start "rule__SiriusExpressionDescription__ExpressionAssignment_1" + // InternalExpressionText.g:2010:1: rule__SiriusExpressionDescription__ExpressionAssignment_1 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionDescription__ExpressionAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2014:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionText.g:2015:1: ( ( ruleFQN ) ) + { + // InternalExpressionText.g:2015:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:2016:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); + // InternalExpressionText.g:2017:1: ( ruleFQN ) + // InternalExpressionText.g:2018:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__ExpressionAssignment_1" + + + // $ANTLR start "rule__SiriusExpressionDescription__ParametersAssignment_3_0" + // InternalExpressionText.g:2029:1: rule__SiriusExpressionDescription__ParametersAssignment_3_0 : ( ruleSiriusParameter ) ; + public final void rule__SiriusExpressionDescription__ParametersAssignment_3_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2033:1: ( ( ruleSiriusParameter ) ) + // InternalExpressionText.g:2034:1: ( ruleSiriusParameter ) + { + // InternalExpressionText.g:2034:1: ( ruleSiriusParameter ) + // InternalExpressionText.g:2035:1: ruleSiriusParameter + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); + pushFollow(FOLLOW_2); + ruleSiriusParameter(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__ParametersAssignment_3_0" + + + // $ANTLR start "rule__SiriusExpressionDescription__ParametersAssignment_3_1_1" + // InternalExpressionText.g:2044:1: rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 : ( ruleSiriusParameter ) ; + public final void rule__SiriusExpressionDescription__ParametersAssignment_3_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2048:1: ( ( ruleSiriusParameter ) ) + // InternalExpressionText.g:2049:1: ( ruleSiriusParameter ) + { + // InternalExpressionText.g:2049:1: ( ruleSiriusParameter ) + // InternalExpressionText.g:2050:1: ruleSiriusParameter + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); + pushFollow(FOLLOW_2); + ruleSiriusParameter(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__ParametersAssignment_3_1_1" + + + // $ANTLR start "rule__SiriusExpressionDescription__ReturnTypeAssignment_6" + // InternalExpressionText.g:2059:1: rule__SiriusExpressionDescription__ReturnTypeAssignment_6 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionDescription__ReturnTypeAssignment_6() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2063:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionText.g:2064:1: ( ( ruleFQN ) ) + { + // InternalExpressionText.g:2064:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:2065:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); + // InternalExpressionText.g:2066:1: ( ruleFQN ) + // InternalExpressionText.g:2067:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierFQNParserRuleCall_6_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierFQNParserRuleCall_6_0_1()); + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__ReturnTypeAssignment_6" + + + // $ANTLR start "rule__SiriusExpressionDescription__LowerBoundAssignment_8" + // InternalExpressionText.g:2078:1: rule__SiriusExpressionDescription__LowerBoundAssignment_8 : ( ruleBound ) ; + public final void rule__SiriusExpressionDescription__LowerBoundAssignment_8() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2082:1: ( ( ruleBound ) ) + // InternalExpressionText.g:2083:1: ( ruleBound ) + { + // InternalExpressionText.g:2083:1: ( ruleBound ) + // InternalExpressionText.g:2084:1: ruleBound + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); + pushFollow(FOLLOW_2); + ruleBound(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__LowerBoundAssignment_8" + + + // $ANTLR start "rule__SiriusExpressionDescription__UpperBoundAssignment_10" + // InternalExpressionText.g:2093:1: rule__SiriusExpressionDescription__UpperBoundAssignment_10 : ( ruleBound ) ; + public final void rule__SiriusExpressionDescription__UpperBoundAssignment_10() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2097:1: ( ( ruleBound ) ) + // InternalExpressionText.g:2098:1: ( ruleBound ) + { + // InternalExpressionText.g:2098:1: ( ruleBound ) + // InternalExpressionText.g:2099:1: ruleBound + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); + pushFollow(FOLLOW_2); + ruleBound(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__UpperBoundAssignment_10" + + + // $ANTLR start "rule__SiriusExpressionDescription__VariableContainersAssignment_16_0" + // InternalExpressionText.g:2108:1: rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionDescription__VariableContainersAssignment_16_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2112:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionText.g:2113:1: ( ( ruleFQN ) ) + { + // InternalExpressionText.g:2113:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:2114:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); + // InternalExpressionText.g:2115:1: ( ruleFQN ) + // InternalExpressionText.g:2116:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_0_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_0_0_1()); + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__VariableContainersAssignment_16_0" + + + // $ANTLR start "rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1" + // InternalExpressionText.g:2127:1: rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2131:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionText.g:2132:1: ( ( ruleFQN ) ) + { + // InternalExpressionText.g:2132:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:2133:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); + // InternalExpressionText.g:2134:1: ( ruleFQN ) + // InternalExpressionText.g:2135:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_1_1_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_1_1_0_1()); + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1" + + + // $ANTLR start "rule__SiriusParameter__OptionalAssignment_0" + // InternalExpressionText.g:2146:1: rule__SiriusParameter__OptionalAssignment_0 : ( ( 'optional' ) ) ; + public final void rule__SiriusParameter__OptionalAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2150:1: ( ( ( 'optional' ) ) ) + // InternalExpressionText.g:2151:1: ( ( 'optional' ) ) + { + // InternalExpressionText.g:2151:1: ( ( 'optional' ) ) + // InternalExpressionText.g:2152:1: ( 'optional' ) + { + before(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); + // InternalExpressionText.g:2153:1: ( 'optional' ) + // InternalExpressionText.g:2154:1: 'optional' + { + before(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); + match(input,25,FOLLOW_2); + after(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); + + } + + after(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusParameter__OptionalAssignment_0" + + + // $ANTLR start "rule__SiriusParameter__VariableAssignment_1" + // InternalExpressionText.g:2169:1: rule__SiriusParameter__VariableAssignment_1 : ( ( RULE_ID ) ) ; + public final void rule__SiriusParameter__VariableAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2173:1: ( ( ( RULE_ID ) ) ) + // InternalExpressionText.g:2174:1: ( ( RULE_ID ) ) + { + // InternalExpressionText.g:2174:1: ( ( RULE_ID ) ) + // InternalExpressionText.g:2175:1: ( RULE_ID ) + { + before(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); + // InternalExpressionText.g:2176:1: ( RULE_ID ) + // InternalExpressionText.g:2177:1: RULE_ID + { + before(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableIDTerminalRuleCall_1_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableIDTerminalRuleCall_1_0_1()); + + } + + after(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusParameter__VariableAssignment_1" + + // Delegated rules + + + + + public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000200L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000C00L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000802L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x000000000000A440L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000002042L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000008002L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000001002L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000002040L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000002020010L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000001000020L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000100000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000400000L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000100010L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000400L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000800002L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000002000010L}); + +} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/internal/ExpressionTextActivator.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/internal/ExpressionTextActivator.java new file mode 100644 index 000000000..3e02a504b --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/internal/ExpressionTextActivator.java @@ -0,0 +1,95 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.internal; + +import java.util.Collections; +import java.util.Map; + +import org.apache.log4j.Logger; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.eclipse.xtext.ui.shared.SharedStateModule; +import org.eclipse.xtext.util.Modules2; +import org.osgi.framework.BundleContext; + +import com.google.common.collect.Maps; +import com.google.inject.Guice; +import com.google.inject.Injector; +import com.google.inject.Module; + +/** + * This class was generated. Customizations should only happen in a newly + * introduced subclass. + */ +public class ExpressionTextActivator extends AbstractUIPlugin { + + public static final String ORG_ECLIPSE_SIRIUS_EXPRESSION_TEXT_EXPRESSIONTEXT = "org.eclipse.sirius.expression.text.ExpressionText"; + + private static final Logger logger = Logger.getLogger(ExpressionTextActivator.class); + + private static ExpressionTextActivator INSTANCE; + + private Map injectors = Collections.synchronizedMap(Maps. newHashMapWithExpectedSize(1)); + + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + INSTANCE = this; + } + + @Override + public void stop(BundleContext context) throws Exception { + injectors.clear(); + INSTANCE = null; + super.stop(context); + } + + public static ExpressionTextActivator getInstance() { + return INSTANCE; + } + + public Injector getInjector(String language) { + synchronized (injectors) { + Injector injector = injectors.get(language); + if (injector == null) { + injectors.put(language, injector = createInjector(language)); + } + return injector; + } + } + + protected Injector createInjector(String language) { + try { + Module runtimeModule = getRuntimeModule(language); + Module sharedStateModule = getSharedStateModule(); + Module uiModule = getUiModule(language); + Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule); + return Guice.createInjector(mergedModule); + } catch (Exception e) { + logger.error("Failed to create injector for " + language); + logger.error(e.getMessage(), e); + throw new RuntimeException("Failed to create injector for " + language, e); + } + } + + protected Module getRuntimeModule(String grammar) { + if (ORG_ECLIPSE_SIRIUS_EXPRESSION_TEXT_EXPRESSIONTEXT.equals(grammar)) { + return new org.eclipse.sirius.expression.text.ExpressionTextRuntimeModule(); + } + + throw new IllegalArgumentException(grammar); + } + + protected Module getUiModule(String grammar) { + if (ORG_ECLIPSE_SIRIUS_EXPRESSION_TEXT_EXPRESSIONTEXT.equals(grammar)) { + return new org.eclipse.sirius.expression.text.ui.ExpressionTextUiModule(this); + } + + throw new IllegalArgumentException(grammar); + } + + protected Module getSharedStateModule() { + return new SharedStateModule(); + } + +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/ExpressionTextUiModule.java b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/ExpressionTextUiModule.java new file mode 100644 index 000000000..65d60d834 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/ExpressionTextUiModule.java @@ -0,0 +1,15 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui; + +import org.eclipse.ui.plugin.AbstractUIPlugin; + +/** + * Use this class to register components to be used within the IDE. + */ +public class ExpressionTextUiModule extends org.eclipse.sirius.expression.text.ui.AbstractExpressionTextUiModule { + public ExpressionTextUiModule(AbstractUIPlugin plugin) { + super(plugin); + } +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.xtend b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.xtend new file mode 100644 index 000000000..bee3f6ce2 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.xtend @@ -0,0 +1,13 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.contentassist + +import org.eclipse.sirius.expression.text.ui.contentassist.AbstractExpressionTextProposalProvider + +/** + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist + * on how to customize the content assistant. + */ +class ExpressionTextProposalProvider extends AbstractExpressionTextProposalProvider { +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.xtend b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.xtend new file mode 100644 index 000000000..98204d020 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.xtend @@ -0,0 +1,24 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.labeling + +//import org.eclipse.xtext.resource.IEObjectDescription + +/** + * Provides labels for IEObjectDescriptions and IResourceDescriptions. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +class ExpressionTextDescriptionLabelProvider extends org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider { + + // Labels and icons can be computed like this: + +// override text(IEObjectDescription ele) { +// ele.name.toString +// } +// +// override image(IEObjectDescription ele) { +// ele.EClass.name + '.gif' +// } +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.xtend b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.xtend new file mode 100644 index 000000000..5db261253 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.xtend @@ -0,0 +1,29 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.labeling + +import com.google.inject.Inject + +/** + * Provides labels for EObjects. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +class ExpressionTextLabelProvider extends org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider { + + @Inject + new(org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider delegate) { + super(delegate); + } + + // Labels and icons can be computed like this: + +// def text(Greeting ele) { +// 'A greeting to ' + ele.name +// } +// +// def image(Greeting ele) { +// 'Greeting.gif' +// } +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.xtend b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.xtend new file mode 100644 index 000000000..e5df0ce22 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.xtend @@ -0,0 +1,13 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.outline + +/** + * Customization of the default outline structure. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#outline + */ +class ExpressionTextOutlineTreeProvider extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider { + +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.xtend b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.xtend new file mode 100644 index 000000000..f37b106a8 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.xtend @@ -0,0 +1,26 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.quickfix + +//import org.eclipse.xtext.ui.editor.quickfix.Fix +//import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor +//import org.eclipse.xtext.validation.Issue + +/** + * Custom quickfixes. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#quick-fixes + */ +class ExpressionTextQuickfixProvider extends org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider { + +// @Fix(MyDslValidator::INVALID_NAME) +// def capitalizeName(Issue issue, IssueResolutionAcceptor acceptor) { +// acceptor.accept(issue, 'Capitalize name', 'Capitalize the name.', 'upcase.png') [ +// context | +// val xtextDocument = context.xtextDocument +// val firstLetter = xtextDocument.get(issue.offset, 1) +// xtextDocument.replace(issue.offset, 1, firstLetter.toUpperCase) +// ] +// } +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.java b/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.java new file mode 100644 index 000000000..d525cf5ce --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.java @@ -0,0 +1,14 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.contentassist; + +import org.eclipse.sirius.expression.text.ui.contentassist.AbstractExpressionTextProposalProvider; + +/** + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist + * on how to customize the content assistant. + */ +@SuppressWarnings("all") +public class ExpressionTextProposalProvider extends AbstractExpressionTextProposalProvider { +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.java b/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.java new file mode 100644 index 000000000..476e867c5 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.java @@ -0,0 +1,15 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.labeling; + +import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider; + +/** + * Provides labels for IEObjectDescriptions and IResourceDescriptions. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +@SuppressWarnings("all") +public class ExpressionTextDescriptionLabelProvider extends DefaultDescriptionLabelProvider { +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.java b/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.java new file mode 100644 index 000000000..0233725ad --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.java @@ -0,0 +1,21 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.labeling; + +import com.google.inject.Inject; +import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider; +import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider; + +/** + * Provides labels for EObjects. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +@SuppressWarnings("all") +public class ExpressionTextLabelProvider extends DefaultEObjectLabelProvider { + @Inject + public ExpressionTextLabelProvider(final AdapterFactoryLabelProvider delegate) { + super(delegate); + } +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.java b/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.java new file mode 100644 index 000000000..725469b64 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.java @@ -0,0 +1,15 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.outline; + +import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider; + +/** + * Customization of the default outline structure. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#outline + */ +@SuppressWarnings("all") +public class ExpressionTextOutlineTreeProvider extends DefaultOutlineTreeProvider { +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.java b/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.java new file mode 100644 index 000000000..53f8b27c9 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.java @@ -0,0 +1,15 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.quickfix; + +import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider; + +/** + * Custom quickfixes. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#quick-fixes + */ +@SuppressWarnings("all") +public class ExpressionTextQuickfixProvider extends DefaultQuickfixProvider { +} diff --git a/plugins/org.eclipse.sirius.expression.text/.antlr-generator-3.2.0-patch.jar b/plugins/org.eclipse.sirius.expression.text/.antlr-generator-3.2.0-patch.jar new file mode 100644 index 000000000..90516fd7a Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.text/.antlr-generator-3.2.0-patch.jar differ diff --git a/plugins/org.eclipse.sirius.expression.text/.classpath b/plugins/org.eclipse.sirius.expression.text/.classpath new file mode 100644 index 000000000..9081d4f70 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.text/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.text).launch b/plugins/org.eclipse.sirius.expression.text/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.text).launch new file mode 100644 index 000000000..48f094e36 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.text).launch @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.text/.launch/Launch Runtime Eclipse.launch b/plugins/org.eclipse.sirius.expression.text/.launch/Launch Runtime Eclipse.launch new file mode 100644 index 000000000..3053f7f65 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/.launch/Launch Runtime Eclipse.launch @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/org.eclipse.sirius.expression.text/.project b/plugins/org.eclipse.sirius.expression.text/.project new file mode 100644 index 000000000..7bcfb35a7 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/.project @@ -0,0 +1,34 @@ + + + org.eclipse.sirius.expression.text + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + org.eclipse.xtext.ui.shared.xtextNature + + diff --git a/plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 000000000..99f26c020 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..0c68a61dc --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/plugins/org.eclipse.sirius.expression.text/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.text/META-INF/MANIFEST.MF new file mode 100644 index 000000000..b8bd7ff2f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/META-INF/MANIFEST.MF @@ -0,0 +1,29 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-Version: 1.0.0.qualifier +Bundle-SymbolicName: org.eclipse.sirius.expression.text; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: org.eclipse.xtext;visibility:=reexport, + org.eclipse.equinox.common;bundle-version="3.5.0", + org.eclipse.sirius.expression;bundle-version="1.0.0", + org.eclipse.xtext.util, + org.eclipse.emf.ecore, + org.eclipse.emf.common, + org.eclipse.xtext.xbase.lib, + org.antlr.runtime, + org.eclipse.xtext.common.types, + org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional +Import-Package: org.apache.log4j +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.sirius.expression.text, + org.eclipse.sirius.expression.text.services, + org.eclipse.sirius.expression.text.serializer, + org.eclipse.sirius.expression.text.parser.antlr, + org.eclipse.sirius.expression.text.parser.antlr.internal, + org.eclipse.sirius.expression.text.validation, + org.eclipse.sirius.expression.text.scoping, + org.eclipse.sirius.expression.text.generator, + org.eclipse.sirius.expression.text.formatting diff --git a/plugins/org.eclipse.sirius.expression.text/about.html b/plugins/org.eclipse.sirius.expression.text/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

    About This Content

    + +

    June 15, 2010

    +

    License

    + +

    The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

    + +

    If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

    + + + \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text/build.properties b/plugins/org.eclipse.sirius.expression.text/build.properties new file mode 100644 index 000000000..47858148c --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/build.properties @@ -0,0 +1,21 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +source.. = src/,\ + src-gen/,\ + xtend-gen/ +bin.includes = META-INF/,\ + .,\ + plugin.properties,\ + about.html +additional.bundles = org.eclipse.xtext.xbase,\ + org.eclipse.xtext.generator,\ + org.apache.commons.logging,\ + org.eclipse.emf.codegen.ecore,\ + org.eclipse.emf.mwe.utils,\ + org.eclipse.emf.mwe2.launch,\ + org.eclipse.xtext.common.types,\ + org.objectweb.asm diff --git a/plugins/org.eclipse.sirius.expression.text/plugin.properties b/plugins/org.eclipse.sirius.expression.text/plugin.properties new file mode 100644 index 000000000..f2cab8b41 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/plugin.properties @@ -0,0 +1,8 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +pluginName = Sirius Expression Textual Editor +providerName = Eclipse Modeling Project \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/AbstractExpressionTextRuntimeModule.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/AbstractExpressionTextRuntimeModule.java new file mode 100644 index 000000000..5d367062d --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/AbstractExpressionTextRuntimeModule.java @@ -0,0 +1,156 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text; + +import java.util.Properties; + +import org.eclipse.xtext.Constants; + +import com.google.inject.Binder; +import com.google.inject.name.Names; + +/** + * Manual modifications go to {org.eclipse.sirius.expression.text.ExpressionTextRuntimeModule} + */ +@SuppressWarnings("all") +public abstract class AbstractExpressionTextRuntimeModule extends org.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule { + + protected Properties properties = null; + + @Override + public void configure(Binder binder) { + properties = tryBindProperties(binder, "org/eclipse/sirius/expression/text/ExpressionText.properties"); + super.configure(binder); + } + + public void configureLanguageName(Binder binder) { + binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.sirius.expression.text.ExpressionText"); + } + + public void configureFileExtensions(Binder binder) { + if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) + binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("expression"); + } + + // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment + public java.lang.ClassLoader bindClassLoaderToInstance() { + return getClass().getClassLoader(); + } + + // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment + public Class bindIGrammarAccess() { + return org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess.class; + } + + // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment + public Class bindISemanticSequencer() { + return org.eclipse.sirius.expression.text.serializer.ExpressionTextSemanticSequencer.class; + } + + // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment + public Class bindISyntacticSequencer() { + return org.eclipse.sirius.expression.text.serializer.ExpressionTextSyntacticSequencer.class; + } + + // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment + public Class bindISerializer() { + return org.eclipse.xtext.serializer.impl.Serializer.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindIParser() { + return org.eclipse.sirius.expression.text.parser.antlr.ExpressionTextParser.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindITokenToStringConverter() { + return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindIAntlrTokenFileProvider() { + return org.eclipse.sirius.expression.text.parser.antlr.ExpressionTextAntlrTokenFileProvider.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindLexer() { + return org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextLexer.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public com.google.inject.Provider provideInternalExpressionTextLexer() { + return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextLexer.class); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public void configureRuntimeLexer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextLexer.class); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindITokenDefProvider() { + return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class; + } + + // contributed by org.eclipse.xtext.generator.validation.ValidatorFragment + @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class bindExpressionTextValidator() { + return org.eclipse.sirius.expression.text.validation.ExpressionTextValidator.class; + } + + // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment + public Class bindIScopeProvider() { + return org.eclipse.sirius.expression.text.scoping.ExpressionTextScopeProvider.class; + } + + // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment + public void configureIScopeProviderDelegate(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.class); + } + + // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment + public void configureIgnoreCaseLinking(com.google.inject.Binder binder) { + binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false); + } + + // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment + public Class bindIQualifiedNameProvider() { + return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class bindIContainer$Manager() { + return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class bindIAllContainersState$Provider() { + return org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptions(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); + } + + // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment + public Class bindIGenerator() { + return org.eclipse.sirius.expression.text.generator.ExpressionTextGenerator.class; + } + + // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment + public Class bindIFormatter() { + return org.eclipse.sirius.expression.text.formatting.ExpressionTextFormatter.class; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class bindIGlobalScopeProvider() { + return org.eclipse.xtext.common.types.xtext.TypesAwareDefaultGlobalScopeProvider.class; + } + +} diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin new file mode 100644 index 000000000..06edcbe3b Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin differ diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetupGenerated.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetupGenerated.java new file mode 100644 index 000000000..e55a31b23 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetupGenerated.java @@ -0,0 +1,53 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text; + +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.xtext.ISetup; + +import com.google.inject.Guice; +import com.google.inject.Injector; + +/** + * Generated from StandaloneSetup.xpt! + */ +@SuppressWarnings("all") +public class ExpressionTextStandaloneSetupGenerated implements ISetup { + + @Override + public Injector createInjectorAndDoEMFRegistration() { + // register default ePackages + if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("ecore")) + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( + "ecore", new org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl()); + if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("xmi")) + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( + "xmi", new org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl()); + if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("xtextbin")) + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( + "xtextbin", new org.eclipse.xtext.resource.impl.BinaryGrammarResourceFactoryImpl()); + if (!EPackage.Registry.INSTANCE.containsKey(org.eclipse.xtext.XtextPackage.eNS_URI)) + EPackage.Registry.INSTANCE.put(org.eclipse.xtext.XtextPackage.eNS_URI, org.eclipse.xtext.XtextPackage.eINSTANCE); + + Injector injector = createInjector(); + register(injector); + return injector; + } + + public Injector createInjector() { + return Guice.createInjector(new org.eclipse.sirius.expression.text.ExpressionTextRuntimeModule()); + } + + public void register(Injector injector) { + + org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); + org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("expression", resourceFactory); + org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("expression", serviceProvider); + + + + } +} diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextAntlrTokenFileProvider.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextAntlrTokenFileProvider.java new file mode 100644 index 000000000..8f810fa27 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextAntlrTokenFileProvider.java @@ -0,0 +1,16 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.parser.antlr; + +import java.io.InputStream; +import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; + +public class ExpressionTextAntlrTokenFileProvider implements IAntlrTokenFileProvider { + + @Override + public InputStream getAntlrTokenFile() { + ClassLoader classLoader = getClass().getClassLoader(); + return classLoader.getResourceAsStream("org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens"); + } +} diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextParser.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextParser.java new file mode 100644 index 000000000..3d7d0c38a --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextParser.java @@ -0,0 +1,39 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.parser.antlr; + +import com.google.inject.Inject; + +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; + +public class ExpressionTextParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { + + @Inject + private ExpressionTextGrammarAccess grammarAccess; + + @Override + protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { + tokenStream.setInitialHiddenTokens("RULE_WS"); + } + + @Override + protected org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextParser createParser(XtextTokenStream stream) { + return new org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextParser(stream, getGrammarAccess()); + } + + @Override + protected String getDefaultRuleName() { + return "SiriusExpressionPackage"; + } + + public ExpressionTextGrammarAccess getGrammarAccess() { + return this.grammarAccess; + } + + public void setGrammarAccess(ExpressionTextGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + +} diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g new file mode 100644 index 000000000..261ef5a45 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g @@ -0,0 +1,639 @@ +/* + * generated by Xtext + */ +grammar InternalExpressionText; + +options { + superClass=AbstractInternalAntlrParser; + +} + +@lexer::header { +package org.eclipse.sirius.expression.text.parser.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.parser.antlr.Lexer; +} + +@parser::header { +package org.eclipse.sirius.expression.text.parser.antlr.internal; + +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; +import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; + +} + +@parser::members { + + private ExpressionTextGrammarAccess grammarAccess; + + public InternalExpressionTextParser(TokenStream input, ExpressionTextGrammarAccess grammarAccess) { + this(input); + this.grammarAccess = grammarAccess; + registerRules(grammarAccess.getGrammar()); + } + + @Override + protected String getFirstRuleName() { + return "SiriusExpressionPackage"; + } + + @Override + protected ExpressionTextGrammarAccess getGrammarAccess() { + return grammarAccess; + } +} + +@rulecatch { + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } +} + + + + +// Entry rule entryRuleSiriusExpressionPackage +entryRuleSiriusExpressionPackage returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSiriusExpressionPackageRule()); } + iv_ruleSiriusExpressionPackage=ruleSiriusExpressionPackage + { $current=$iv_ruleSiriusExpressionPackage.current; } + EOF +; + +// Rule SiriusExpressionPackage +ruleSiriusExpressionPackage returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='package' + { + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionPackageRule()); + } + } + otherlv_1=RULE_ID + { + newLeafNode(otherlv_1, grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); + } + +) +) otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); + } +( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); + } + lv_expressionClasses_3_0=ruleSiriusExpressionClass { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionPackageRule()); + } + add( + $current, + "expressionClasses", + lv_expressionClasses_3_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionClass"); + afterParserOrEnumRuleCall(); + } + +) +)* otherlv_4='}' + { + newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); + } +) +; + + + + + +// Entry rule entryRuleSiriusExpressionClass +entryRuleSiriusExpressionClass returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSiriusExpressionClassRule()); } + iv_ruleSiriusExpressionClass=ruleSiriusExpressionClass + { $current=$iv_ruleSiriusExpressionClass.current; } + EOF +; + +// Rule SiriusExpressionClass +ruleSiriusExpressionClass returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='class' + { + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionClassRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); + } +( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); + } + lv_variables_3_0=ruleSiriusVariable { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); + } + add( + $current, + "variables", + lv_variables_3_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusVariable"); + afterParserOrEnumRuleCall(); + } + +) +)*( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); + } + lv_expressionDescriptions_4_0=ruleSiriusExpressionDescription { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); + } + add( + $current, + "expressionDescriptions", + lv_expressionDescriptions_4_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionDescription"); + afterParserOrEnumRuleCall(); + } + +) +)* otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); + } +) +; + + + + + +// Entry rule entryRuleFQN +entryRuleFQN returns [String current=null] + : + { newCompositeNode(grammarAccess.getFQNRule()); } + iv_ruleFQN=ruleFQN + { $current=$iv_ruleFQN.current.getText(); } + EOF +; + +// Rule FQN +ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( this_ID_0=RULE_ID { + $current.merge(this_ID_0); + } + + { + newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); + } +( + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); + } + this_ID_2=RULE_ID { + $current.merge(this_ID_2); + } + + { + newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); + } +)*) + ; + + + + + +// Entry rule entryRuleSiriusVariable +entryRuleSiriusVariable returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSiriusVariableRule()); } + iv_ruleSiriusVariable=ruleSiriusVariable + { $current=$iv_ruleSiriusVariable.current; } + EOF +; + +// Rule SiriusVariable +ruleSiriusVariable returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( +( + lv_documentation_0_0=RULE_ML_COMMENT + { + newLeafNode(lv_documentation_0_0, grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + setWithLastConsumed( + $current, + "documentation", + lv_documentation_0_0, + "org.eclipse.sirius.expression.text.ExpressionText.ML_COMMENT"); + } + +) +)? otherlv_1='var' + { + newLeafNode(otherlv_1, grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); + } +( +( + lv_name_2_0=RULE_ID + { + newLeafNode(lv_name_2_0, grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_2_0, + "org.eclipse.sirius.expression.text.ExpressionText.ID"); + } + +) +) otherlv_3=':' + { + newLeafNode(otherlv_3, grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleSiriusExpressionDescription +entryRuleSiriusExpressionDescription returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSiriusExpressionDescriptionRule()); } + iv_ruleSiriusExpressionDescription=ruleSiriusExpressionDescription + { $current=$iv_ruleSiriusExpressionDescription.current; } + EOF +; + +// Rule SiriusExpressionDescription +ruleSiriusExpressionDescription returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='exp' + { + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='(' + { + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); + } +(( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); + } + lv_parameters_3_0=ruleSiriusParameter { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + add( + $current, + "parameters", + lv_parameters_3_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusParameter"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_4=',' + { + newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); + } + lv_parameters_5_0=ruleSiriusParameter { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + add( + $current, + "parameters", + lv_parameters_5_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusParameter"); + afterParserOrEnumRuleCall(); + } + +) +))*)? otherlv_6=')' + { + newLeafNode(otherlv_6, grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); + } + otherlv_7=':' + { + newLeafNode(otherlv_7, grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +) otherlv_9='[' + { + newLeafNode(otherlv_9, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); + } +( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); + } + lv_lowerBound_10_0=ruleBound { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + set( + $current, + "lowerBound", + lv_lowerBound_10_0, + "org.eclipse.sirius.expression.text.ExpressionText.Bound"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_11='..' + { + newLeafNode(otherlv_11, grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); + } +( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); + } + lv_upperBound_12_0=ruleBound { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + set( + $current, + "upperBound", + lv_upperBound_12_0, + "org.eclipse.sirius.expression.text.ExpressionText.Bound"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_13=']' + { + newLeafNode(otherlv_13, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); + } + otherlv_14='{' + { + newLeafNode(otherlv_14, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); + } + otherlv_15='variableContainers' + { + newLeafNode(otherlv_15, grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersKeyword_13()); + } + otherlv_16='=' + { + newLeafNode(otherlv_16, grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); + } + otherlv_17='[' + { + newLeafNode(otherlv_17, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); + } +(( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_19=',' + { + newLeafNode(otherlv_19, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +))*)? otherlv_21=']' + { + newLeafNode(otherlv_21, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); + } + otherlv_22='}' + { + newLeafNode(otherlv_22, grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); + } +) +; + + + + + +// Entry rule entryRuleSiriusParameter +entryRuleSiriusParameter returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSiriusParameterRule()); } + iv_ruleSiriusParameter=ruleSiriusParameter + { $current=$iv_ruleSiriusParameter.current; } + EOF +; + +// Rule SiriusParameter +ruleSiriusParameter returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( +( + lv_optional_0_0= 'optional' + { + newLeafNode(lv_optional_0_0, grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusParameterRule()); + } + setWithLastConsumed($current, "optional", true, "optional"); + } + +) +)?( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusParameterRule()); + } + } + otherlv_1=RULE_ID + { + newLeafNode(otherlv_1, grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); + } + +) +)) +; + + + + + +// Entry rule entryRuleBound +entryRuleBound returns [String current=null] + : + { newCompositeNode(grammarAccess.getBoundRule()); } + iv_ruleBound=ruleBound + { $current=$iv_ruleBound.current.getText(); } + EOF +; + +// Rule Bound +ruleBound returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + kw='-' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); + } +)? this_INT_1=RULE_INT { + $current.merge(this_INT_1); + } + + { + newLeafNode(this_INT_1, grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); + } +) + ; + + + + + +RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; + +RULE_INT : ('0'..'9')+; + +RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; + +RULE_WS : (' '|'\t'|'\r'|'\n')+; + + diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens new file mode 100644 index 000000000..69c21b90f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens @@ -0,0 +1,40 @@ +'('=16 +')'=18 +','=17 +'-'=25 +'.'=12 +'..'=20 +':'=14 +'='=23 +'['=19 +']'=21 +'class'=11 +'exp'=15 +'optional'=24 +'package'=8 +'var'=13 +'variableContainers'=22 +'{'=9 +'}'=10 +RULE_ID=4 +RULE_INT=6 +RULE_ML_COMMENT=5 +RULE_WS=7 +T__10=10 +T__11=11 +T__12=12 +T__13=13 +T__14=14 +T__15=15 +T__16=16 +T__17=17 +T__18=18 +T__19=19 +T__20=20 +T__21=21 +T__22=22 +T__23=23 +T__24=24 +T__25=25 +T__8=8 +T__9=9 diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java new file mode 100644 index 000000000..117a00544 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java @@ -0,0 +1,945 @@ +package org.eclipse.sirius.expression.text.parser.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.parser.antlr.Lexer; + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalExpressionTextLexer extends Lexer { + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int EOF=-1; + public static final int T__10=10; + public static final int T__9=9; + public static final int T__8=8; + public static final int RULE_ID=4; + public static final int RULE_WS=7; + public static final int RULE_INT=6; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=5; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + + // delegates + // delegators + + public InternalExpressionTextLexer() {;} + public InternalExpressionTextLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + public InternalExpressionTextLexer(CharStream input, RecognizerSharedState state) { + super(input,state); + + } + public String getGrammarFileName() { return "InternalExpressionText.g"; } + + // $ANTLR start "T__8" + public final void mT__8() throws RecognitionException { + try { + int _type = T__8; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:11:6: ( 'package' ) + // InternalExpressionText.g:11:8: 'package' + { + match("package"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__8" + + // $ANTLR start "T__9" + public final void mT__9() throws RecognitionException { + try { + int _type = T__9; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:12:6: ( '{' ) + // InternalExpressionText.g:12:8: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__9" + + // $ANTLR start "T__10" + public final void mT__10() throws RecognitionException { + try { + int _type = T__10; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:13:7: ( '}' ) + // InternalExpressionText.g:13:9: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__10" + + // $ANTLR start "T__11" + public final void mT__11() throws RecognitionException { + try { + int _type = T__11; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:14:7: ( 'class' ) + // InternalExpressionText.g:14:9: 'class' + { + match("class"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__11" + + // $ANTLR start "T__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:15:7: ( '.' ) + // InternalExpressionText.g:15:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__12" + + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { + try { + int _type = T__13; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:16:7: ( 'var' ) + // InternalExpressionText.g:16:9: 'var' + { + match("var"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:17:7: ( ':' ) + // InternalExpressionText.g:17:9: ':' + { + match(':'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:18:7: ( 'exp' ) + // InternalExpressionText.g:18:9: 'exp' + { + match("exp"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:19:7: ( '(' ) + // InternalExpressionText.g:19:9: '(' + { + match('('); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:20:7: ( ',' ) + // InternalExpressionText.g:20:9: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:21:7: ( ')' ) + // InternalExpressionText.g:21:9: ')' + { + match(')'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:22:7: ( '[' ) + // InternalExpressionText.g:22:9: '[' + { + match('['); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:23:7: ( '..' ) + // InternalExpressionText.g:23:9: '..' + { + match(".."); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:24:7: ( ']' ) + // InternalExpressionText.g:24:9: ']' + { + match(']'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:25:7: ( 'variableContainers' ) + // InternalExpressionText.g:25:9: 'variableContainers' + { + match("variableContainers"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:26:7: ( '=' ) + // InternalExpressionText.g:26:9: '=' + { + match('='); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:27:7: ( 'optional' ) + // InternalExpressionText.g:27:9: 'optional' + { + match("optional"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:28:7: ( '-' ) + // InternalExpressionText.g:28:9: '-' + { + match('-'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__25" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:631:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalExpressionText.g:631:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // InternalExpressionText.g:631:11: ( '^' )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='^') ) { + alt1=1; + } + switch (alt1) { + case 1 : + // InternalExpressionText.g:631:11: '^' + { + match('^'); + + } + break; + + } + + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // InternalExpressionText.g:631:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalExpressionText.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop2; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:633:10: ( ( '0' .. '9' )+ ) + // InternalExpressionText.g:633:12: ( '0' .. '9' )+ + { + // InternalExpressionText.g:633:12: ( '0' .. '9' )+ + int cnt3=0; + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( ((LA3_0>='0' && LA3_0<='9')) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalExpressionText.g:633:13: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt3 >= 1 ) break loop3; + EarlyExitException eee = + new EarlyExitException(3, input); + throw eee; + } + cnt3++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_INT" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:635:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalExpressionText.g:635:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // InternalExpressionText.g:635:24: ( options {greedy=false; } : . )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0=='*') ) { + int LA4_1 = input.LA(2); + + if ( (LA4_1=='/') ) { + alt4=2; + } + else if ( ((LA4_1>='\u0000' && LA4_1<='.')||(LA4_1>='0' && LA4_1<='\uFFFF')) ) { + alt4=1; + } + + + } + else if ( ((LA4_0>='\u0000' && LA4_0<=')')||(LA4_0>='+' && LA4_0<='\uFFFF')) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalExpressionText.g:635:52: . + { + matchAny(); + + } + break; + + default : + break loop4; + } + } while (true); + + match("*/"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_WS" + public final void mRULE_WS() throws RecognitionException { + try { + int _type = RULE_WS; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:637:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalExpressionText.g:637:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // InternalExpressionText.g:637:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt5=0; + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( ((LA5_0>='\t' && LA5_0<='\n')||LA5_0=='\r'||LA5_0==' ') ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalExpressionText.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt5 >= 1 ) break loop5; + EarlyExitException eee = + new EarlyExitException(5, input); + throw eee; + } + cnt5++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + public void mTokens() throws RecognitionException { + // InternalExpressionText.g:1:8: ( T__8 | T__9 | T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS ) + int alt6=22; + alt6 = dfa6.predict(input); + switch (alt6) { + case 1 : + // InternalExpressionText.g:1:10: T__8 + { + mT__8(); + + } + break; + case 2 : + // InternalExpressionText.g:1:15: T__9 + { + mT__9(); + + } + break; + case 3 : + // InternalExpressionText.g:1:20: T__10 + { + mT__10(); + + } + break; + case 4 : + // InternalExpressionText.g:1:26: T__11 + { + mT__11(); + + } + break; + case 5 : + // InternalExpressionText.g:1:32: T__12 + { + mT__12(); + + } + break; + case 6 : + // InternalExpressionText.g:1:38: T__13 + { + mT__13(); + + } + break; + case 7 : + // InternalExpressionText.g:1:44: T__14 + { + mT__14(); + + } + break; + case 8 : + // InternalExpressionText.g:1:50: T__15 + { + mT__15(); + + } + break; + case 9 : + // InternalExpressionText.g:1:56: T__16 + { + mT__16(); + + } + break; + case 10 : + // InternalExpressionText.g:1:62: T__17 + { + mT__17(); + + } + break; + case 11 : + // InternalExpressionText.g:1:68: T__18 + { + mT__18(); + + } + break; + case 12 : + // InternalExpressionText.g:1:74: T__19 + { + mT__19(); + + } + break; + case 13 : + // InternalExpressionText.g:1:80: T__20 + { + mT__20(); + + } + break; + case 14 : + // InternalExpressionText.g:1:86: T__21 + { + mT__21(); + + } + break; + case 15 : + // InternalExpressionText.g:1:92: T__22 + { + mT__22(); + + } + break; + case 16 : + // InternalExpressionText.g:1:98: T__23 + { + mT__23(); + + } + break; + case 17 : + // InternalExpressionText.g:1:104: T__24 + { + mT__24(); + + } + break; + case 18 : + // InternalExpressionText.g:1:110: T__25 + { + mT__25(); + + } + break; + case 19 : + // InternalExpressionText.g:1:116: RULE_ID + { + mRULE_ID(); + + } + break; + case 20 : + // InternalExpressionText.g:1:124: RULE_INT + { + mRULE_INT(); + + } + break; + case 21 : + // InternalExpressionText.g:1:133: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 22 : + // InternalExpressionText.g:1:149: RULE_WS + { + mRULE_WS(); + + } + break; + + } + + } + + + protected DFA6 dfa6 = new DFA6(this); + static final String DFA6_eotS = + "\1\uffff\1\21\2\uffff\1\21\1\30\1\21\1\uffff\1\21\6\uffff\1\21\5\uffff\2\21\2\uffff\5\21\1\44\1\45\4\21\2\uffff\2\21\1\54\3\21\1\uffff\2\21\1\62\2\21\1\uffff\1\21\1\66\1\21\1\uffff\10\21\1\100\1\uffff"; + static final String DFA6_eofS = + "\101\uffff"; + static final String DFA6_minS = + "\1\11\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\6\uffff\1\160\5\uffff\1\143\1\141\2\uffff\1\162\1\160\1\164\1\153\1\163\2\60\1\151\1\141\1\163\1\141\2\uffff\1\157\1\147\1\60\1\142\1\156\1\145\1\uffff\1\154\1\141\1\60\1\145\1\154\1\uffff\1\103\1\60\1\157\1\uffff\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\60\1\uffff"; + static final String DFA6_maxS = + "\1\175\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\6\uffff\1\160\5\uffff\1\143\1\141\2\uffff\1\162\1\160\1\164\1\153\1\163\2\172\1\151\1\141\1\163\1\141\2\uffff\1\157\1\147\1\172\1\142\1\156\1\145\1\uffff\1\154\1\141\1\172\1\145\1\154\1\uffff\1\103\1\172\1\157\1\uffff\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\172\1\uffff"; + static final String DFA6_acceptS = + "\2\uffff\1\2\1\3\3\uffff\1\7\1\uffff\1\11\1\12\1\13\1\14\1\16\1\20\1\uffff\1\22\1\23\1\24\1\25\1\26\2\uffff\1\15\1\5\13\uffff\1\6\1\10\6\uffff\1\4\5\uffff\1\1\3\uffff\1\21\11\uffff\1\17"; + static final String DFA6_specialS = + "\101\uffff}>"; + static final String[] DFA6_transitionS = { + "\2\24\2\uffff\1\24\22\uffff\1\24\7\uffff\1\11\1\13\2\uffff\1\12\1\20\1\5\1\23\12\22\1\7\2\uffff\1\16\3\uffff\32\21\1\14\1\uffff\1\15\2\21\1\uffff\2\21\1\4\1\21\1\10\11\21\1\17\1\1\5\21\1\6\4\21\1\2\1\uffff\1\3", + "\1\25", + "", + "", + "\1\26", + "\1\27", + "\1\31", + "", + "\1\32", + "", + "", + "", + "", + "", + "", + "\1\33", + "", + "", + "", + "", + "", + "\1\34", + "\1\35", + "", + "", + "\1\36", + "\1\37", + "\1\40", + "\1\41", + "\1\42", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\10\21\1\43\21\21", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\46", + "\1\47", + "\1\50", + "\1\51", + "", + "", + "\1\52", + "\1\53", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\55", + "\1\56", + "\1\57", + "", + "\1\60", + "\1\61", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\63", + "\1\64", + "", + "\1\65", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\67", + "", + "\1\70", + "\1\71", + "\1\72", + "\1\73", + "\1\74", + "\1\75", + "\1\76", + "\1\77", + "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "" + }; + + static final short[] DFA6_eot = DFA.unpackEncodedString(DFA6_eotS); + static final short[] DFA6_eof = DFA.unpackEncodedString(DFA6_eofS); + static final char[] DFA6_min = DFA.unpackEncodedStringToUnsignedChars(DFA6_minS); + static final char[] DFA6_max = DFA.unpackEncodedStringToUnsignedChars(DFA6_maxS); + static final short[] DFA6_accept = DFA.unpackEncodedString(DFA6_acceptS); + static final short[] DFA6_special = DFA.unpackEncodedString(DFA6_specialS); + static final short[][] DFA6_transition; + + static { + int numStates = DFA6_transitionS.length; + DFA6_transition = new short[numStates][]; + for (int i=0; i", "", "", "", "RULE_ID", "RULE_ML_COMMENT", "RULE_INT", "RULE_WS", "'package'", "'{'", "'}'", "'class'", "'.'", "'var'", "':'", "'exp'", "'('", "','", "')'", "'['", "'..'", "']'", "'variableContainers'", "'='", "'optional'", "'-'" + }; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int EOF=-1; + public static final int T__10=10; + public static final int T__9=9; + public static final int T__8=8; + public static final int RULE_ID=4; + public static final int RULE_WS=7; + public static final int RULE_INT=6; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=5; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + + // delegates + // delegators + + + public InternalExpressionTextParser(TokenStream input) { + this(input, new RecognizerSharedState()); + } + public InternalExpressionTextParser(TokenStream input, RecognizerSharedState state) { + super(input, state); + + } + + + public String[] getTokenNames() { return InternalExpressionTextParser.tokenNames; } + public String getGrammarFileName() { return "InternalExpressionText.g"; } + + + + private ExpressionTextGrammarAccess grammarAccess; + + public InternalExpressionTextParser(TokenStream input, ExpressionTextGrammarAccess grammarAccess) { + this(input); + this.grammarAccess = grammarAccess; + registerRules(grammarAccess.getGrammar()); + } + + @Override + protected String getFirstRuleName() { + return "SiriusExpressionPackage"; + } + + @Override + protected ExpressionTextGrammarAccess getGrammarAccess() { + return grammarAccess; + } + + + + // $ANTLR start "entryRuleSiriusExpressionPackage" + // InternalExpressionText.g:67:1: entryRuleSiriusExpressionPackage returns [EObject current=null] : iv_ruleSiriusExpressionPackage= ruleSiriusExpressionPackage EOF ; + public final EObject entryRuleSiriusExpressionPackage() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSiriusExpressionPackage = null; + + + try { + // InternalExpressionText.g:68:2: (iv_ruleSiriusExpressionPackage= ruleSiriusExpressionPackage EOF ) + // InternalExpressionText.g:69:2: iv_ruleSiriusExpressionPackage= ruleSiriusExpressionPackage EOF + { + newCompositeNode(grammarAccess.getSiriusExpressionPackageRule()); + pushFollow(FOLLOW_1); + iv_ruleSiriusExpressionPackage=ruleSiriusExpressionPackage(); + + state._fsp--; + + current =iv_ruleSiriusExpressionPackage; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSiriusExpressionPackage" + + + // $ANTLR start "ruleSiriusExpressionPackage" + // InternalExpressionText.g:76:1: ruleSiriusExpressionPackage returns [EObject current=null] : (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) ; + public final EObject ruleSiriusExpressionPackage() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + Token otherlv_2=null; + Token otherlv_4=null; + EObject lv_expressionClasses_3_0 = null; + + + enterRule(); + + try { + // InternalExpressionText.g:79:28: ( (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) ) + // InternalExpressionText.g:80:1: (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) + { + // InternalExpressionText.g:80:1: (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) + // InternalExpressionText.g:80:3: otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' + { + otherlv_0=(Token)match(input,8,FOLLOW_3); + + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); + + // InternalExpressionText.g:84:1: ( (otherlv_1= RULE_ID ) ) + // InternalExpressionText.g:85:1: (otherlv_1= RULE_ID ) + { + // InternalExpressionText.g:85:1: (otherlv_1= RULE_ID ) + // InternalExpressionText.g:86:3: otherlv_1= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionPackageRule()); + } + + otherlv_1=(Token)match(input,RULE_ID,FOLLOW_4); + + newLeafNode(otherlv_1, grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); + + + } + + + } + + otherlv_2=(Token)match(input,9,FOLLOW_5); + + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); + + // InternalExpressionText.g:101:1: ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* + loop1: + do { + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0==11) ) { + alt1=1; + } + + + switch (alt1) { + case 1 : + // InternalExpressionText.g:102:1: (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) + { + // InternalExpressionText.g:102:1: (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) + // InternalExpressionText.g:103:3: lv_expressionClasses_3_0= ruleSiriusExpressionClass + { + + newCompositeNode(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); + + pushFollow(FOLLOW_5); + lv_expressionClasses_3_0=ruleSiriusExpressionClass(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionPackageRule()); + } + add( + current, + "expressionClasses", + lv_expressionClasses_3_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionClass"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + break loop1; + } + } while (true); + + otherlv_4=(Token)match(input,10,FOLLOW_2); + + newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSiriusExpressionPackage" + + + // $ANTLR start "entryRuleSiriusExpressionClass" + // InternalExpressionText.g:131:1: entryRuleSiriusExpressionClass returns [EObject current=null] : iv_ruleSiriusExpressionClass= ruleSiriusExpressionClass EOF ; + public final EObject entryRuleSiriusExpressionClass() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSiriusExpressionClass = null; + + + try { + // InternalExpressionText.g:132:2: (iv_ruleSiriusExpressionClass= ruleSiriusExpressionClass EOF ) + // InternalExpressionText.g:133:2: iv_ruleSiriusExpressionClass= ruleSiriusExpressionClass EOF + { + newCompositeNode(grammarAccess.getSiriusExpressionClassRule()); + pushFollow(FOLLOW_1); + iv_ruleSiriusExpressionClass=ruleSiriusExpressionClass(); + + state._fsp--; + + current =iv_ruleSiriusExpressionClass; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSiriusExpressionClass" + + + // $ANTLR start "ruleSiriusExpressionClass" + // InternalExpressionText.g:140:1: ruleSiriusExpressionClass returns [EObject current=null] : (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) ; + public final EObject ruleSiriusExpressionClass() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_5=null; + EObject lv_variables_3_0 = null; + + EObject lv_expressionDescriptions_4_0 = null; + + + enterRule(); + + try { + // InternalExpressionText.g:143:28: ( (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) ) + // InternalExpressionText.g:144:1: (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) + { + // InternalExpressionText.g:144:1: (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) + // InternalExpressionText.g:144:3: otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' + { + otherlv_0=(Token)match(input,11,FOLLOW_3); + + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); + + // InternalExpressionText.g:148:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:149:1: ( ruleFQN ) + { + // InternalExpressionText.g:149:1: ( ruleFQN ) + // InternalExpressionText.g:150:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionClassRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); + + pushFollow(FOLLOW_4); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,9,FOLLOW_6); + + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); + + // InternalExpressionText.g:167:1: ( (lv_variables_3_0= ruleSiriusVariable ) )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0==RULE_ML_COMMENT||LA2_0==13) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalExpressionText.g:168:1: (lv_variables_3_0= ruleSiriusVariable ) + { + // InternalExpressionText.g:168:1: (lv_variables_3_0= ruleSiriusVariable ) + // InternalExpressionText.g:169:3: lv_variables_3_0= ruleSiriusVariable + { + + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); + + pushFollow(FOLLOW_6); + lv_variables_3_0=ruleSiriusVariable(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); + } + add( + current, + "variables", + lv_variables_3_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusVariable"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + break loop2; + } + } while (true); + + // InternalExpressionText.g:185:3: ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0==15) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalExpressionText.g:186:1: (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) + { + // InternalExpressionText.g:186:1: (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) + // InternalExpressionText.g:187:3: lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription + { + + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); + + pushFollow(FOLLOW_7); + lv_expressionDescriptions_4_0=ruleSiriusExpressionDescription(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); + } + add( + current, + "expressionDescriptions", + lv_expressionDescriptions_4_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionDescription"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + break loop3; + } + } while (true); + + otherlv_5=(Token)match(input,10,FOLLOW_2); + + newLeafNode(otherlv_5, grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSiriusExpressionClass" + + + // $ANTLR start "entryRuleFQN" + // InternalExpressionText.g:215:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; + public final String entryRuleFQN() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleFQN = null; + + + try { + // InternalExpressionText.g:216:2: (iv_ruleFQN= ruleFQN EOF ) + // InternalExpressionText.g:217:2: iv_ruleFQN= ruleFQN EOF + { + newCompositeNode(grammarAccess.getFQNRule()); + pushFollow(FOLLOW_1); + iv_ruleFQN=ruleFQN(); + + state._fsp--; + + current =iv_ruleFQN.getText(); + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleFQN" + + + // $ANTLR start "ruleFQN" + // InternalExpressionText.g:224:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; + public final AntlrDatatypeRuleToken ruleFQN() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_ID_0=null; + Token kw=null; + Token this_ID_2=null; + + enterRule(); + + try { + // InternalExpressionText.g:227:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) + // InternalExpressionText.g:228:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + { + // InternalExpressionText.g:228:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + // InternalExpressionText.g:228:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* + { + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_8); + + current.merge(this_ID_0); + + + newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); + + // InternalExpressionText.g:235:1: (kw= '.' this_ID_2= RULE_ID )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==12) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalExpressionText.g:236:2: kw= '.' this_ID_2= RULE_ID + { + kw=(Token)match(input,12,FOLLOW_3); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); + + this_ID_2=(Token)match(input,RULE_ID,FOLLOW_8); + + current.merge(this_ID_2); + + + newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); + + + } + break; + + default : + break loop4; + } + } while (true); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleFQN" + + + // $ANTLR start "entryRuleSiriusVariable" + // InternalExpressionText.g:256:1: entryRuleSiriusVariable returns [EObject current=null] : iv_ruleSiriusVariable= ruleSiriusVariable EOF ; + public final EObject entryRuleSiriusVariable() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSiriusVariable = null; + + + try { + // InternalExpressionText.g:257:2: (iv_ruleSiriusVariable= ruleSiriusVariable EOF ) + // InternalExpressionText.g:258:2: iv_ruleSiriusVariable= ruleSiriusVariable EOF + { + newCompositeNode(grammarAccess.getSiriusVariableRule()); + pushFollow(FOLLOW_1); + iv_ruleSiriusVariable=ruleSiriusVariable(); + + state._fsp--; + + current =iv_ruleSiriusVariable; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSiriusVariable" + + + // $ANTLR start "ruleSiriusVariable" + // InternalExpressionText.g:265:1: ruleSiriusVariable returns [EObject current=null] : ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) ; + public final EObject ruleSiriusVariable() throws RecognitionException { + EObject current = null; + + Token lv_documentation_0_0=null; + Token otherlv_1=null; + Token lv_name_2_0=null; + Token otherlv_3=null; + + enterRule(); + + try { + // InternalExpressionText.g:268:28: ( ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) ) + // InternalExpressionText.g:269:1: ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) + { + // InternalExpressionText.g:269:1: ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) + // InternalExpressionText.g:269:2: ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) + { + // InternalExpressionText.g:269:2: ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==RULE_ML_COMMENT) ) { + alt5=1; + } + switch (alt5) { + case 1 : + // InternalExpressionText.g:270:1: (lv_documentation_0_0= RULE_ML_COMMENT ) + { + // InternalExpressionText.g:270:1: (lv_documentation_0_0= RULE_ML_COMMENT ) + // InternalExpressionText.g:271:3: lv_documentation_0_0= RULE_ML_COMMENT + { + lv_documentation_0_0=(Token)match(input,RULE_ML_COMMENT,FOLLOW_9); + + newLeafNode(lv_documentation_0_0, grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + setWithLastConsumed( + current, + "documentation", + lv_documentation_0_0, + "org.eclipse.sirius.expression.text.ExpressionText.ML_COMMENT"); + + + } + + + } + break; + + } + + otherlv_1=(Token)match(input,13,FOLLOW_3); + + newLeafNode(otherlv_1, grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); + + // InternalExpressionText.g:291:1: ( (lv_name_2_0= RULE_ID ) ) + // InternalExpressionText.g:292:1: (lv_name_2_0= RULE_ID ) + { + // InternalExpressionText.g:292:1: (lv_name_2_0= RULE_ID ) + // InternalExpressionText.g:293:3: lv_name_2_0= RULE_ID + { + lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_10); + + newLeafNode(lv_name_2_0, grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_2_0, + "org.eclipse.sirius.expression.text.ExpressionText.ID"); + + + } + + + } + + otherlv_3=(Token)match(input,14,FOLLOW_3); + + newLeafNode(otherlv_3, grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); + + // InternalExpressionText.g:313:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:314:1: ( ruleFQN ) + { + // InternalExpressionText.g:314:1: ( ruleFQN ) + // InternalExpressionText.g:315:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + + + newCompositeNode(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); + + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSiriusVariable" + + + // $ANTLR start "entryRuleSiriusExpressionDescription" + // InternalExpressionText.g:336:1: entryRuleSiriusExpressionDescription returns [EObject current=null] : iv_ruleSiriusExpressionDescription= ruleSiriusExpressionDescription EOF ; + public final EObject entryRuleSiriusExpressionDescription() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSiriusExpressionDescription = null; + + + try { + // InternalExpressionText.g:337:2: (iv_ruleSiriusExpressionDescription= ruleSiriusExpressionDescription EOF ) + // InternalExpressionText.g:338:2: iv_ruleSiriusExpressionDescription= ruleSiriusExpressionDescription EOF + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionRule()); + pushFollow(FOLLOW_1); + iv_ruleSiriusExpressionDescription=ruleSiriusExpressionDescription(); + + state._fsp--; + + current =iv_ruleSiriusExpressionDescription; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSiriusExpressionDescription" + + + // $ANTLR start "ruleSiriusExpressionDescription" + // InternalExpressionText.g:345:1: ruleSiriusExpressionDescription returns [EObject current=null] : (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'variableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) ; + public final EObject ruleSiriusExpressionDescription() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_6=null; + Token otherlv_7=null; + Token otherlv_9=null; + Token otherlv_11=null; + Token otherlv_13=null; + Token otherlv_14=null; + Token otherlv_15=null; + Token otherlv_16=null; + Token otherlv_17=null; + Token otherlv_19=null; + Token otherlv_21=null; + Token otherlv_22=null; + EObject lv_parameters_3_0 = null; + + EObject lv_parameters_5_0 = null; + + AntlrDatatypeRuleToken lv_lowerBound_10_0 = null; + + AntlrDatatypeRuleToken lv_upperBound_12_0 = null; + + + enterRule(); + + try { + // InternalExpressionText.g:348:28: ( (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'variableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) ) + // InternalExpressionText.g:349:1: (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'variableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) + { + // InternalExpressionText.g:349:1: (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'variableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) + // InternalExpressionText.g:349:3: otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'variableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' + { + otherlv_0=(Token)match(input,15,FOLLOW_3); + + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); + + // InternalExpressionText.g:353:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:354:1: ( ruleFQN ) + { + // InternalExpressionText.g:354:1: ( ruleFQN ) + // InternalExpressionText.g:355:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); + + pushFollow(FOLLOW_11); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,16,FOLLOW_12); + + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); + + // InternalExpressionText.g:372:1: ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0==RULE_ID||LA7_0==24) ) { + alt7=1; + } + switch (alt7) { + case 1 : + // InternalExpressionText.g:372:2: ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* + { + // InternalExpressionText.g:372:2: ( (lv_parameters_3_0= ruleSiriusParameter ) ) + // InternalExpressionText.g:373:1: (lv_parameters_3_0= ruleSiriusParameter ) + { + // InternalExpressionText.g:373:1: (lv_parameters_3_0= ruleSiriusParameter ) + // InternalExpressionText.g:374:3: lv_parameters_3_0= ruleSiriusParameter + { + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); + + pushFollow(FOLLOW_13); + lv_parameters_3_0=ruleSiriusParameter(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + add( + current, + "parameters", + lv_parameters_3_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusParameter"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalExpressionText.g:390:2: (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* + loop6: + do { + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==17) ) { + alt6=1; + } + + + switch (alt6) { + case 1 : + // InternalExpressionText.g:390:4: otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) + { + otherlv_4=(Token)match(input,17,FOLLOW_14); + + newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); + + // InternalExpressionText.g:394:1: ( (lv_parameters_5_0= ruleSiriusParameter ) ) + // InternalExpressionText.g:395:1: (lv_parameters_5_0= ruleSiriusParameter ) + { + // InternalExpressionText.g:395:1: (lv_parameters_5_0= ruleSiriusParameter ) + // InternalExpressionText.g:396:3: lv_parameters_5_0= ruleSiriusParameter + { + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); + + pushFollow(FOLLOW_13); + lv_parameters_5_0=ruleSiriusParameter(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + add( + current, + "parameters", + lv_parameters_5_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusParameter"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop6; + } + } while (true); + + + } + break; + + } + + otherlv_6=(Token)match(input,18,FOLLOW_10); + + newLeafNode(otherlv_6, grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); + + otherlv_7=(Token)match(input,14,FOLLOW_3); + + newLeafNode(otherlv_7, grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); + + // InternalExpressionText.g:420:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:421:1: ( ruleFQN ) + { + // InternalExpressionText.g:421:1: ( ruleFQN ) + // InternalExpressionText.g:422:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); + + pushFollow(FOLLOW_15); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_9=(Token)match(input,19,FOLLOW_16); + + newLeafNode(otherlv_9, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); + + // InternalExpressionText.g:439:1: ( (lv_lowerBound_10_0= ruleBound ) ) + // InternalExpressionText.g:440:1: (lv_lowerBound_10_0= ruleBound ) + { + // InternalExpressionText.g:440:1: (lv_lowerBound_10_0= ruleBound ) + // InternalExpressionText.g:441:3: lv_lowerBound_10_0= ruleBound + { + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); + + pushFollow(FOLLOW_17); + lv_lowerBound_10_0=ruleBound(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + set( + current, + "lowerBound", + lv_lowerBound_10_0, + "org.eclipse.sirius.expression.text.ExpressionText.Bound"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_11=(Token)match(input,20,FOLLOW_16); + + newLeafNode(otherlv_11, grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); + + // InternalExpressionText.g:461:1: ( (lv_upperBound_12_0= ruleBound ) ) + // InternalExpressionText.g:462:1: (lv_upperBound_12_0= ruleBound ) + { + // InternalExpressionText.g:462:1: (lv_upperBound_12_0= ruleBound ) + // InternalExpressionText.g:463:3: lv_upperBound_12_0= ruleBound + { + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); + + pushFollow(FOLLOW_18); + lv_upperBound_12_0=ruleBound(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + set( + current, + "upperBound", + lv_upperBound_12_0, + "org.eclipse.sirius.expression.text.ExpressionText.Bound"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_13=(Token)match(input,21,FOLLOW_4); + + newLeafNode(otherlv_13, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); + + otherlv_14=(Token)match(input,9,FOLLOW_19); + + newLeafNode(otherlv_14, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); + + otherlv_15=(Token)match(input,22,FOLLOW_20); + + newLeafNode(otherlv_15, grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersKeyword_13()); + + otherlv_16=(Token)match(input,23,FOLLOW_15); + + newLeafNode(otherlv_16, grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); + + otherlv_17=(Token)match(input,19,FOLLOW_21); + + newLeafNode(otherlv_17, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); + + // InternalExpressionText.g:499:1: ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==RULE_ID) ) { + alt9=1; + } + switch (alt9) { + case 1 : + // InternalExpressionText.g:499:2: ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* + { + // InternalExpressionText.g:499:2: ( ( ruleFQN ) ) + // InternalExpressionText.g:500:1: ( ruleFQN ) + { + // InternalExpressionText.g:500:1: ( ruleFQN ) + // InternalExpressionText.g:501:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); + + pushFollow(FOLLOW_22); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalExpressionText.g:514:2: (otherlv_19= ',' ( ( ruleFQN ) ) )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); + + if ( (LA8_0==17) ) { + alt8=1; + } + + + switch (alt8) { + case 1 : + // InternalExpressionText.g:514:4: otherlv_19= ',' ( ( ruleFQN ) ) + { + otherlv_19=(Token)match(input,17,FOLLOW_3); + + newLeafNode(otherlv_19, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); + + // InternalExpressionText.g:518:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:519:1: ( ruleFQN ) + { + // InternalExpressionText.g:519:1: ( ruleFQN ) + // InternalExpressionText.g:520:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); + + pushFollow(FOLLOW_22); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop8; + } + } while (true); + + + } + break; + + } + + otherlv_21=(Token)match(input,21,FOLLOW_23); + + newLeafNode(otherlv_21, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); + + otherlv_22=(Token)match(input,10,FOLLOW_2); + + newLeafNode(otherlv_22, grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSiriusExpressionDescription" + + + // $ANTLR start "entryRuleSiriusParameter" + // InternalExpressionText.g:549:1: entryRuleSiriusParameter returns [EObject current=null] : iv_ruleSiriusParameter= ruleSiriusParameter EOF ; + public final EObject entryRuleSiriusParameter() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSiriusParameter = null; + + + try { + // InternalExpressionText.g:550:2: (iv_ruleSiriusParameter= ruleSiriusParameter EOF ) + // InternalExpressionText.g:551:2: iv_ruleSiriusParameter= ruleSiriusParameter EOF + { + newCompositeNode(grammarAccess.getSiriusParameterRule()); + pushFollow(FOLLOW_1); + iv_ruleSiriusParameter=ruleSiriusParameter(); + + state._fsp--; + + current =iv_ruleSiriusParameter; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSiriusParameter" + + + // $ANTLR start "ruleSiriusParameter" + // InternalExpressionText.g:558:1: ruleSiriusParameter returns [EObject current=null] : ( ( (lv_optional_0_0= 'optional' ) )? ( (otherlv_1= RULE_ID ) ) ) ; + public final EObject ruleSiriusParameter() throws RecognitionException { + EObject current = null; + + Token lv_optional_0_0=null; + Token otherlv_1=null; + + enterRule(); + + try { + // InternalExpressionText.g:561:28: ( ( ( (lv_optional_0_0= 'optional' ) )? ( (otherlv_1= RULE_ID ) ) ) ) + // InternalExpressionText.g:562:1: ( ( (lv_optional_0_0= 'optional' ) )? ( (otherlv_1= RULE_ID ) ) ) + { + // InternalExpressionText.g:562:1: ( ( (lv_optional_0_0= 'optional' ) )? ( (otherlv_1= RULE_ID ) ) ) + // InternalExpressionText.g:562:2: ( (lv_optional_0_0= 'optional' ) )? ( (otherlv_1= RULE_ID ) ) + { + // InternalExpressionText.g:562:2: ( (lv_optional_0_0= 'optional' ) )? + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==24) ) { + alt10=1; + } + switch (alt10) { + case 1 : + // InternalExpressionText.g:563:1: (lv_optional_0_0= 'optional' ) + { + // InternalExpressionText.g:563:1: (lv_optional_0_0= 'optional' ) + // InternalExpressionText.g:564:3: lv_optional_0_0= 'optional' + { + lv_optional_0_0=(Token)match(input,24,FOLLOW_3); + + newLeafNode(lv_optional_0_0, grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusParameterRule()); + } + setWithLastConsumed(current, "optional", true, "optional"); + + + } + + + } + break; + + } + + // InternalExpressionText.g:577:3: ( (otherlv_1= RULE_ID ) ) + // InternalExpressionText.g:578:1: (otherlv_1= RULE_ID ) + { + // InternalExpressionText.g:578:1: (otherlv_1= RULE_ID ) + // InternalExpressionText.g:579:3: otherlv_1= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusParameterRule()); + } + + otherlv_1=(Token)match(input,RULE_ID,FOLLOW_2); + + newLeafNode(otherlv_1, grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); + + + } + + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSiriusParameter" + + + // $ANTLR start "entryRuleBound" + // InternalExpressionText.g:598:1: entryRuleBound returns [String current=null] : iv_ruleBound= ruleBound EOF ; + public final String entryRuleBound() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleBound = null; + + + try { + // InternalExpressionText.g:599:2: (iv_ruleBound= ruleBound EOF ) + // InternalExpressionText.g:600:2: iv_ruleBound= ruleBound EOF + { + newCompositeNode(grammarAccess.getBoundRule()); + pushFollow(FOLLOW_1); + iv_ruleBound=ruleBound(); + + state._fsp--; + + current =iv_ruleBound.getText(); + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleBound" + + + // $ANTLR start "ruleBound" + // InternalExpressionText.g:607:1: ruleBound returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; + public final AntlrDatatypeRuleToken ruleBound() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + Token this_INT_1=null; + + enterRule(); + + try { + // InternalExpressionText.g:610:28: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) + // InternalExpressionText.g:611:1: ( (kw= '-' )? this_INT_1= RULE_INT ) + { + // InternalExpressionText.g:611:1: ( (kw= '-' )? this_INT_1= RULE_INT ) + // InternalExpressionText.g:611:2: (kw= '-' )? this_INT_1= RULE_INT + { + // InternalExpressionText.g:611:2: (kw= '-' )? + int alt11=2; + int LA11_0 = input.LA(1); + + if ( (LA11_0==25) ) { + alt11=1; + } + switch (alt11) { + case 1 : + // InternalExpressionText.g:612:2: kw= '-' + { + kw=(Token)match(input,25,FOLLOW_24); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); + + + } + break; + + } + + this_INT_1=(Token)match(input,RULE_INT,FOLLOW_2); + + current.merge(this_INT_1); + + + newLeafNode(this_INT_1, grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleBound" + + // Delegated rules + + + + + public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000200L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000C00L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x000000000000A420L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000008400L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000001002L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000001040010L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000060000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000001000010L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000002000040L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000100000L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000400000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000200010L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000220000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000400L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000000040L}); + +} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSemanticSequencer.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSemanticSequencer.java new file mode 100644 index 000000000..1d0e9d43f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSemanticSequencer.java @@ -0,0 +1,102 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.serializer; + +import com.google.inject.Inject; +import com.google.inject.Provider; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionClass; +import org.eclipse.sirius.expression.SiriusExpressionDescription; +import org.eclipse.sirius.expression.SiriusExpressionPackage; +import org.eclipse.sirius.expression.SiriusParameter; +import org.eclipse.sirius.expression.SiriusVariable; +import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; +import org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor; +import org.eclipse.xtext.serializer.diagnostic.ISemanticSequencerDiagnosticProvider; +import org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic.Acceptor; +import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.GenericSequencer; +import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.ITransientValueService; + +@SuppressWarnings("all") +public class ExpressionTextSemanticSequencer extends AbstractDelegatingSemanticSequencer { + + @Inject + private ExpressionTextGrammarAccess grammarAccess; + + @Override + public void createSequence(EObject context, EObject semanticObject) { + if(semanticObject.eClass().getEPackage() == ExpressionPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS: + sequence_SiriusExpressionClass(context, (SiriusExpressionClass) semanticObject); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION: + sequence_SiriusExpressionDescription(context, (SiriusExpressionDescription) semanticObject); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE: + sequence_SiriusExpressionPackage(context, (SiriusExpressionPackage) semanticObject); + return; + case ExpressionPackage.SIRIUS_PARAMETER: + sequence_SiriusParameter(context, (SiriusParameter) semanticObject); + return; + case ExpressionPackage.SIRIUS_VARIABLE: + sequence_SiriusVariable(context, (SiriusVariable) semanticObject); + return; + } + if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); + } + + /** + * Constraint: + * (eClass=[EClass|FQN] variables+=SiriusVariable* expressionDescriptions+=SiriusExpressionDescription*) + */ + protected void sequence_SiriusExpressionClass(EObject context, SiriusExpressionClass semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: + * ( + * expression=[EAttribute|FQN] + * (parameters+=SiriusParameter parameters+=SiriusParameter*)? + * returnType=[EClassifier|FQN] + * lowerBound=Bound + * upperBound=Bound + * (variableContainers+=[EClass|FQN] variableContainers+=[EClass|FQN]*)? + * ) + */ + protected void sequence_SiriusExpressionDescription(EObject context, SiriusExpressionDescription semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: + * (ePackage=[EPackage|ID] expressionClasses+=SiriusExpressionClass*) + */ + protected void sequence_SiriusExpressionPackage(EObject context, SiriusExpressionPackage semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: + * (optional?='optional'? variable=[SiriusVariable|ID]) + */ + protected void sequence_SiriusParameter(EObject context, SiriusParameter semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: + * (documentation=ML_COMMENT? name=ID eType=[EClassifier|FQN]) + */ + protected void sequence_SiriusVariable(EObject context, SiriusVariable semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } +} diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSyntacticSequencer.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSyntacticSequencer.java new file mode 100644 index 000000000..94c2513c1 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSyntacticSequencer.java @@ -0,0 +1,43 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.serializer; + +import com.google.inject.Inject; +import java.util.List; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; +import org.eclipse.xtext.IGrammarAccess; +import org.eclipse.xtext.RuleCall; +import org.eclipse.xtext.nodemodel.INode; +import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; +import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; +import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; + +@SuppressWarnings("all") +public class ExpressionTextSyntacticSequencer extends AbstractSyntacticSequencer { + + protected ExpressionTextGrammarAccess grammarAccess; + + @Inject + protected void init(IGrammarAccess access) { + grammarAccess = (ExpressionTextGrammarAccess) access; + } + + @Override + protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { + return ""; + } + + + @Override + protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { + if (transition.getAmbiguousSyntaxes().isEmpty()) return; + List transitionNodes = collectNodes(fromNode, toNode); + for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { + List syntaxNodes = getNodesFor(transitionNodes, syntax); + acceptNodes(getLastNavigableState(), syntaxNodes); + } + } + +} diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java new file mode 100644 index 000000000..a3d617915 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java @@ -0,0 +1,582 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.services; + +import com.google.inject.Singleton; +import com.google.inject.Inject; + +import java.util.List; + +import org.eclipse.xtext.*; +import org.eclipse.xtext.service.GrammarProvider; +import org.eclipse.xtext.service.AbstractElementFinder.*; + + +@Singleton +public class ExpressionTextGrammarAccess extends AbstractGrammarElementFinder { + + + public class SiriusExpressionPackageElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionPackage"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cEPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cEPackageEPackageCrossReference_1_0 = (CrossReference)cEPackageAssignment_1.eContents().get(0); + private final RuleCall cEPackageEPackageIDTerminalRuleCall_1_0_1 = (RuleCall)cEPackageEPackageCrossReference_1_0.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Assignment cExpressionClassesAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cExpressionClassesSiriusExpressionClassParserRuleCall_3_0 = (RuleCall)cExpressionClassesAssignment_3.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); + + //SiriusExpressionPackage: + // 'package' ePackage=[ecore::EPackage] '{' + // expressionClasses+=SiriusExpressionClass* + // '}'; + @Override public ParserRule getRule() { return rule; } + + //'package' ePackage=[ecore::EPackage] '{' expressionClasses+=SiriusExpressionClass* '}' + public Group getGroup() { return cGroup; } + + //'package' + public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } + + //ePackage=[ecore::EPackage] + public Assignment getEPackageAssignment_1() { return cEPackageAssignment_1; } + + //[ecore::EPackage] + public CrossReference getEPackageEPackageCrossReference_1_0() { return cEPackageEPackageCrossReference_1_0; } + + //ID + public RuleCall getEPackageEPackageIDTerminalRuleCall_1_0_1() { return cEPackageEPackageIDTerminalRuleCall_1_0_1; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //expressionClasses+=SiriusExpressionClass* + public Assignment getExpressionClassesAssignment_3() { return cExpressionClassesAssignment_3; } + + //SiriusExpressionClass + public RuleCall getExpressionClassesSiriusExpressionClassParserRuleCall_3_0() { return cExpressionClassesSiriusExpressionClassParserRuleCall_3_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } + } + + public class SiriusExpressionClassElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionClass"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cClassKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cEClassAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cEClassEClassCrossReference_1_0 = (CrossReference)cEClassAssignment_1.eContents().get(0); + private final RuleCall cEClassEClassFQNParserRuleCall_1_0_1 = (RuleCall)cEClassEClassCrossReference_1_0.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Assignment cVariablesAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cVariablesSiriusVariableParserRuleCall_3_0 = (RuleCall)cVariablesAssignment_3.eContents().get(0); + private final Assignment cExpressionDescriptionsAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0 = (RuleCall)cExpressionDescriptionsAssignment_4.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); + + //SiriusExpressionClass: + // 'class' eClass=[ecore::EClass|FQN] '{' + // variables+=SiriusVariable* + // expressionDescriptions+=SiriusExpressionDescription* + // '}'; + @Override public ParserRule getRule() { return rule; } + + //'class' eClass=[ecore::EClass|FQN] '{' variables+=SiriusVariable* expressionDescriptions+=SiriusExpressionDescription* + //'}' + public Group getGroup() { return cGroup; } + + //'class' + public Keyword getClassKeyword_0() { return cClassKeyword_0; } + + //eClass=[ecore::EClass|FQN] + public Assignment getEClassAssignment_1() { return cEClassAssignment_1; } + + //[ecore::EClass|FQN] + public CrossReference getEClassEClassCrossReference_1_0() { return cEClassEClassCrossReference_1_0; } + + //FQN + public RuleCall getEClassEClassFQNParserRuleCall_1_0_1() { return cEClassEClassFQNParserRuleCall_1_0_1; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //variables+=SiriusVariable* + public Assignment getVariablesAssignment_3() { return cVariablesAssignment_3; } + + //SiriusVariable + public RuleCall getVariablesSiriusVariableParserRuleCall_3_0() { return cVariablesSiriusVariableParserRuleCall_3_0; } + + //expressionDescriptions+=SiriusExpressionDescription* + public Assignment getExpressionDescriptionsAssignment_4() { return cExpressionDescriptionsAssignment_4; } + + //SiriusExpressionDescription + public RuleCall getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0() { return cExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } + } + + public class FQNElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.FQN"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); + private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); + + //FQN: + // ID ("." ID)*; + @Override public ParserRule getRule() { return rule; } + + //ID ("." ID)* + public Group getGroup() { return cGroup; } + + //ID + public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } + + //("." ID)* + public Group getGroup_1() { return cGroup_1; } + + //"." + public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } + + //ID + public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } + } + + public class SiriusVariableElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.SiriusVariable"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cDocumentationAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cDocumentationML_COMMENTTerminalRuleCall_0_0 = (RuleCall)cDocumentationAssignment_0.eContents().get(0); + private final Keyword cVarKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); + private final Keyword cColonKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cETypeAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final CrossReference cETypeEClassifierCrossReference_4_0 = (CrossReference)cETypeAssignment_4.eContents().get(0); + private final RuleCall cETypeEClassifierFQNParserRuleCall_4_0_1 = (RuleCall)cETypeEClassifierCrossReference_4_0.eContents().get(1); + + //SiriusVariable: + // documentation=ML_COMMENT? + // 'var' name=ID ':' eType=[ecore::EClassifier|FQN]; + @Override public ParserRule getRule() { return rule; } + + //documentation=ML_COMMENT? 'var' name=ID ':' eType=[ecore::EClassifier|FQN] + public Group getGroup() { return cGroup; } + + //documentation=ML_COMMENT? + public Assignment getDocumentationAssignment_0() { return cDocumentationAssignment_0; } + + //ML_COMMENT + public RuleCall getDocumentationML_COMMENTTerminalRuleCall_0_0() { return cDocumentationML_COMMENTTerminalRuleCall_0_0; } + + //'var' + public Keyword getVarKeyword_1() { return cVarKeyword_1; } + + //name=ID + public Assignment getNameAssignment_2() { return cNameAssignment_2; } + + //ID + public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } + + //':' + public Keyword getColonKeyword_3() { return cColonKeyword_3; } + + //eType=[ecore::EClassifier|FQN] + public Assignment getETypeAssignment_4() { return cETypeAssignment_4; } + + //[ecore::EClassifier|FQN] + public CrossReference getETypeEClassifierCrossReference_4_0() { return cETypeEClassifierCrossReference_4_0; } + + //FQN + public RuleCall getETypeEClassifierFQNParserRuleCall_4_0_1() { return cETypeEClassifierFQNParserRuleCall_4_0_1; } + } + + public class SiriusExpressionDescriptionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionDescription"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cExpKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cExpressionAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cExpressionEAttributeCrossReference_1_0 = (CrossReference)cExpressionAssignment_1.eContents().get(0); + private final RuleCall cExpressionEAttributeFQNParserRuleCall_1_0_1 = (RuleCall)cExpressionEAttributeCrossReference_1_0.eContents().get(1); + private final Keyword cLeftParenthesisKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Group cGroup_3 = (Group)cGroup.eContents().get(3); + private final Assignment cParametersAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0); + private final RuleCall cParametersSiriusParameterParserRuleCall_3_0_0 = (RuleCall)cParametersAssignment_3_0.eContents().get(0); + private final Group cGroup_3_1 = (Group)cGroup_3.eContents().get(1); + private final Keyword cCommaKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); + private final Assignment cParametersAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1); + private final RuleCall cParametersSiriusParameterParserRuleCall_3_1_1_0 = (RuleCall)cParametersAssignment_3_1_1.eContents().get(0); + private final Keyword cRightParenthesisKeyword_4 = (Keyword)cGroup.eContents().get(4); + private final Keyword cColonKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cReturnTypeAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final CrossReference cReturnTypeEClassifierCrossReference_6_0 = (CrossReference)cReturnTypeAssignment_6.eContents().get(0); + private final RuleCall cReturnTypeEClassifierFQNParserRuleCall_6_0_1 = (RuleCall)cReturnTypeEClassifierCrossReference_6_0.eContents().get(1); + private final Keyword cLeftSquareBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); + private final Assignment cLowerBoundAssignment_8 = (Assignment)cGroup.eContents().get(8); + private final RuleCall cLowerBoundBoundParserRuleCall_8_0 = (RuleCall)cLowerBoundAssignment_8.eContents().get(0); + private final Keyword cFullStopFullStopKeyword_9 = (Keyword)cGroup.eContents().get(9); + private final Assignment cUpperBoundAssignment_10 = (Assignment)cGroup.eContents().get(10); + private final RuleCall cUpperBoundBoundParserRuleCall_10_0 = (RuleCall)cUpperBoundAssignment_10.eContents().get(0); + private final Keyword cRightSquareBracketKeyword_11 = (Keyword)cGroup.eContents().get(11); + private final Keyword cLeftCurlyBracketKeyword_12 = (Keyword)cGroup.eContents().get(12); + private final Keyword cVariableContainersKeyword_13 = (Keyword)cGroup.eContents().get(13); + private final Keyword cEqualsSignKeyword_14 = (Keyword)cGroup.eContents().get(14); + private final Keyword cLeftSquareBracketKeyword_15 = (Keyword)cGroup.eContents().get(15); + private final Group cGroup_16 = (Group)cGroup.eContents().get(16); + private final Assignment cVariableContainersAssignment_16_0 = (Assignment)cGroup_16.eContents().get(0); + private final CrossReference cVariableContainersEClassCrossReference_16_0_0 = (CrossReference)cVariableContainersAssignment_16_0.eContents().get(0); + private final RuleCall cVariableContainersEClassFQNParserRuleCall_16_0_0_1 = (RuleCall)cVariableContainersEClassCrossReference_16_0_0.eContents().get(1); + private final Group cGroup_16_1 = (Group)cGroup_16.eContents().get(1); + private final Keyword cCommaKeyword_16_1_0 = (Keyword)cGroup_16_1.eContents().get(0); + private final Assignment cVariableContainersAssignment_16_1_1 = (Assignment)cGroup_16_1.eContents().get(1); + private final CrossReference cVariableContainersEClassCrossReference_16_1_1_0 = (CrossReference)cVariableContainersAssignment_16_1_1.eContents().get(0); + private final RuleCall cVariableContainersEClassFQNParserRuleCall_16_1_1_0_1 = (RuleCall)cVariableContainersEClassCrossReference_16_1_1_0.eContents().get(1); + private final Keyword cRightSquareBracketKeyword_17 = (Keyword)cGroup.eContents().get(17); + private final Keyword cRightCurlyBracketKeyword_18 = (Keyword)cGroup.eContents().get(18); + + //SiriusExpressionDescription: + // 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter (',' parameters+=SiriusParameter)*)? ')' ':' + // returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' + // 'variableContainers' '=' '[' (variableContainers+=[ecore::EClass|FQN] (',' variableContainers+=[ecore::EClass|FQN])*)? + // ']' + // '}'; + @Override public ParserRule getRule() { return rule; } + + //'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter (',' parameters+=SiriusParameter)*)? ')' ':' + //returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' 'variableContainers' '=' '[' + //(variableContainers+=[ecore::EClass|FQN] (',' variableContainers+=[ecore::EClass|FQN])*)? ']' '}' + public Group getGroup() { return cGroup; } + + //'exp' + public Keyword getExpKeyword_0() { return cExpKeyword_0; } + + //expression=[ecore::EAttribute|FQN] + public Assignment getExpressionAssignment_1() { return cExpressionAssignment_1; } + + //[ecore::EAttribute|FQN] + public CrossReference getExpressionEAttributeCrossReference_1_0() { return cExpressionEAttributeCrossReference_1_0; } + + //FQN + public RuleCall getExpressionEAttributeFQNParserRuleCall_1_0_1() { return cExpressionEAttributeFQNParserRuleCall_1_0_1; } + + //'(' + public Keyword getLeftParenthesisKeyword_2() { return cLeftParenthesisKeyword_2; } + + //(parameters+=SiriusParameter (',' parameters+=SiriusParameter)*)? + public Group getGroup_3() { return cGroup_3; } + + //parameters+=SiriusParameter + public Assignment getParametersAssignment_3_0() { return cParametersAssignment_3_0; } + + //SiriusParameter + public RuleCall getParametersSiriusParameterParserRuleCall_3_0_0() { return cParametersSiriusParameterParserRuleCall_3_0_0; } + + //(',' parameters+=SiriusParameter)* + public Group getGroup_3_1() { return cGroup_3_1; } + + //',' + public Keyword getCommaKeyword_3_1_0() { return cCommaKeyword_3_1_0; } + + //parameters+=SiriusParameter + public Assignment getParametersAssignment_3_1_1() { return cParametersAssignment_3_1_1; } + + //SiriusParameter + public RuleCall getParametersSiriusParameterParserRuleCall_3_1_1_0() { return cParametersSiriusParameterParserRuleCall_3_1_1_0; } + + //')' + public Keyword getRightParenthesisKeyword_4() { return cRightParenthesisKeyword_4; } + + //':' + public Keyword getColonKeyword_5() { return cColonKeyword_5; } + + //returnType=[ecore::EClassifier|FQN] + public Assignment getReturnTypeAssignment_6() { return cReturnTypeAssignment_6; } + + //[ecore::EClassifier|FQN] + public CrossReference getReturnTypeEClassifierCrossReference_6_0() { return cReturnTypeEClassifierCrossReference_6_0; } + + //FQN + public RuleCall getReturnTypeEClassifierFQNParserRuleCall_6_0_1() { return cReturnTypeEClassifierFQNParserRuleCall_6_0_1; } + + //'[' + public Keyword getLeftSquareBracketKeyword_7() { return cLeftSquareBracketKeyword_7; } + + //lowerBound=Bound + public Assignment getLowerBoundAssignment_8() { return cLowerBoundAssignment_8; } + + //Bound + public RuleCall getLowerBoundBoundParserRuleCall_8_0() { return cLowerBoundBoundParserRuleCall_8_0; } + + //'..' + public Keyword getFullStopFullStopKeyword_9() { return cFullStopFullStopKeyword_9; } + + //upperBound=Bound + public Assignment getUpperBoundAssignment_10() { return cUpperBoundAssignment_10; } + + //Bound + public RuleCall getUpperBoundBoundParserRuleCall_10_0() { return cUpperBoundBoundParserRuleCall_10_0; } + + //']' + public Keyword getRightSquareBracketKeyword_11() { return cRightSquareBracketKeyword_11; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_12() { return cLeftCurlyBracketKeyword_12; } + + //'variableContainers' + public Keyword getVariableContainersKeyword_13() { return cVariableContainersKeyword_13; } + + //'=' + public Keyword getEqualsSignKeyword_14() { return cEqualsSignKeyword_14; } + + //'[' + public Keyword getLeftSquareBracketKeyword_15() { return cLeftSquareBracketKeyword_15; } + + //(variableContainers+=[ecore::EClass|FQN] (',' variableContainers+=[ecore::EClass|FQN])*)? + public Group getGroup_16() { return cGroup_16; } + + //variableContainers+=[ecore::EClass|FQN] + public Assignment getVariableContainersAssignment_16_0() { return cVariableContainersAssignment_16_0; } + + //[ecore::EClass|FQN] + public CrossReference getVariableContainersEClassCrossReference_16_0_0() { return cVariableContainersEClassCrossReference_16_0_0; } + + //FQN + public RuleCall getVariableContainersEClassFQNParserRuleCall_16_0_0_1() { return cVariableContainersEClassFQNParserRuleCall_16_0_0_1; } + + //(',' variableContainers+=[ecore::EClass|FQN])* + public Group getGroup_16_1() { return cGroup_16_1; } + + //',' + public Keyword getCommaKeyword_16_1_0() { return cCommaKeyword_16_1_0; } + + //variableContainers+=[ecore::EClass|FQN] + public Assignment getVariableContainersAssignment_16_1_1() { return cVariableContainersAssignment_16_1_1; } + + //[ecore::EClass|FQN] + public CrossReference getVariableContainersEClassCrossReference_16_1_1_0() { return cVariableContainersEClassCrossReference_16_1_1_0; } + + //FQN + public RuleCall getVariableContainersEClassFQNParserRuleCall_16_1_1_0_1() { return cVariableContainersEClassFQNParserRuleCall_16_1_1_0_1; } + + //']' + public Keyword getRightSquareBracketKeyword_17() { return cRightSquareBracketKeyword_17; } + + //'}' + public Keyword getRightCurlyBracketKeyword_18() { return cRightCurlyBracketKeyword_18; } + } + + public class SiriusParameterElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.SiriusParameter"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cOptionalAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final Keyword cOptionalOptionalKeyword_0_0 = (Keyword)cOptionalAssignment_0.eContents().get(0); + private final Assignment cVariableAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cVariableSiriusVariableCrossReference_1_0 = (CrossReference)cVariableAssignment_1.eContents().get(0); + private final RuleCall cVariableSiriusVariableIDTerminalRuleCall_1_0_1 = (RuleCall)cVariableSiriusVariableCrossReference_1_0.eContents().get(1); + + //SiriusParameter: + // optional?='optional'? variable=[SiriusVariable]; + @Override public ParserRule getRule() { return rule; } + + //optional?='optional'? variable=[SiriusVariable] + public Group getGroup() { return cGroup; } + + //optional?='optional'? + public Assignment getOptionalAssignment_0() { return cOptionalAssignment_0; } + + //'optional' + public Keyword getOptionalOptionalKeyword_0_0() { return cOptionalOptionalKeyword_0_0; } + + //variable=[SiriusVariable] + public Assignment getVariableAssignment_1() { return cVariableAssignment_1; } + + //[SiriusVariable] + public CrossReference getVariableSiriusVariableCrossReference_1_0() { return cVariableSiriusVariableCrossReference_1_0; } + + //ID + public RuleCall getVariableSiriusVariableIDTerminalRuleCall_1_0_1() { return cVariableSiriusVariableIDTerminalRuleCall_1_0_1; } + } + + public class BoundElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.Bound"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); + + //Bound ecore::EInt: + // '-'? INT + @Override public ParserRule getRule() { return rule; } + + //'-'? INT + public Group getGroup() { return cGroup; } + + //'-'? + public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; } + + //INT + public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; } + } + + + private final SiriusExpressionPackageElements pSiriusExpressionPackage; + private final SiriusExpressionClassElements pSiriusExpressionClass; + private final FQNElements pFQN; + private final SiriusVariableElements pSiriusVariable; + private final SiriusExpressionDescriptionElements pSiriusExpressionDescription; + private final SiriusParameterElements pSiriusParameter; + private final BoundElements pBound; + private final TerminalRule tID; + private final TerminalRule tINT; + private final TerminalRule tML_COMMENT; + private final TerminalRule tWS; + + private final Grammar grammar; + + @Inject + public ExpressionTextGrammarAccess(GrammarProvider grammarProvider) { + this.grammar = internalFindGrammar(grammarProvider); + this.pSiriusExpressionPackage = new SiriusExpressionPackageElements(); + this.pSiriusExpressionClass = new SiriusExpressionClassElements(); + this.pFQN = new FQNElements(); + this.pSiriusVariable = new SiriusVariableElements(); + this.pSiriusExpressionDescription = new SiriusExpressionDescriptionElements(); + this.pSiriusParameter = new SiriusParameterElements(); + this.pBound = new BoundElements(); + this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.ID"); + this.tINT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.INT"); + this.tML_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.ML_COMMENT"); + this.tWS = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.WS"); + } + + protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { + Grammar grammar = grammarProvider.getGrammar(this); + while (grammar != null) { + if ("org.eclipse.sirius.expression.text.ExpressionText".equals(grammar.getName())) { + return grammar; + } + List grammars = grammar.getUsedGrammars(); + if (!grammars.isEmpty()) { + grammar = grammars.iterator().next(); + } else { + return null; + } + } + return grammar; + } + + @Override + public Grammar getGrammar() { + return grammar; + } + + + + //SiriusExpressionPackage: + // 'package' ePackage=[ecore::EPackage] '{' + // expressionClasses+=SiriusExpressionClass* + // '}'; + public SiriusExpressionPackageElements getSiriusExpressionPackageAccess() { + return pSiriusExpressionPackage; + } + + public ParserRule getSiriusExpressionPackageRule() { + return getSiriusExpressionPackageAccess().getRule(); + } + + //SiriusExpressionClass: + // 'class' eClass=[ecore::EClass|FQN] '{' + // variables+=SiriusVariable* + // expressionDescriptions+=SiriusExpressionDescription* + // '}'; + public SiriusExpressionClassElements getSiriusExpressionClassAccess() { + return pSiriusExpressionClass; + } + + public ParserRule getSiriusExpressionClassRule() { + return getSiriusExpressionClassAccess().getRule(); + } + + //FQN: + // ID ("." ID)*; + public FQNElements getFQNAccess() { + return pFQN; + } + + public ParserRule getFQNRule() { + return getFQNAccess().getRule(); + } + + //SiriusVariable: + // documentation=ML_COMMENT? + // 'var' name=ID ':' eType=[ecore::EClassifier|FQN]; + public SiriusVariableElements getSiriusVariableAccess() { + return pSiriusVariable; + } + + public ParserRule getSiriusVariableRule() { + return getSiriusVariableAccess().getRule(); + } + + //SiriusExpressionDescription: + // 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter (',' parameters+=SiriusParameter)*)? ')' ':' + // returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' + // 'variableContainers' '=' '[' (variableContainers+=[ecore::EClass|FQN] (',' variableContainers+=[ecore::EClass|FQN])*)? + // ']' + // '}'; + public SiriusExpressionDescriptionElements getSiriusExpressionDescriptionAccess() { + return pSiriusExpressionDescription; + } + + public ParserRule getSiriusExpressionDescriptionRule() { + return getSiriusExpressionDescriptionAccess().getRule(); + } + + //SiriusParameter: + // optional?='optional'? variable=[SiriusVariable]; + public SiriusParameterElements getSiriusParameterAccess() { + return pSiriusParameter; + } + + public ParserRule getSiriusParameterRule() { + return getSiriusParameterAccess().getRule(); + } + + //Bound ecore::EInt: + // '-'? INT + public BoundElements getBoundAccess() { + return pBound; + } + + public ParserRule getBoundRule() { + return getBoundAccess().getRule(); + } + + //terminal ID: + // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; + public TerminalRule getIDRule() { + return tID; + } + + //terminal INT returns ecore::EInt: + // '0'..'9'+; + public TerminalRule getINTRule() { + return tINT; + } + + //terminal ML_COMMENT: + // '/ *'->'* /'; + public TerminalRule getML_COMMENTRule() { + return tML_COMMENT; + } + + //terminal WS: + // ' ' | '\t' | '\r' | '\n'+; + public TerminalRule getWSRule() { + return tWS; + } +} diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/validation/AbstractExpressionTextValidator.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/validation/AbstractExpressionTextValidator.java new file mode 100644 index 000000000..0ad845d20 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/validation/AbstractExpressionTextValidator.java @@ -0,0 +1,18 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.validation; + +import java.util.ArrayList; +import java.util.List; +import org.eclipse.emf.ecore.EPackage; + +public class AbstractExpressionTextValidator extends org.eclipse.xtext.validation.AbstractDeclarativeValidator { + + @Override + protected List getEPackages() { + List result = new ArrayList(); + result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/sirius/expression")); + return result; + } +} diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext new file mode 100644 index 000000000..8ef5ef3f4 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext @@ -0,0 +1,45 @@ +grammar org.eclipse.sirius.expression.text.ExpressionText hidden(WS) + +import "http://www.eclipse.org/sirius/expression" +import "http://www.eclipse.org/emf/2002/Ecore" as ecore + +SiriusExpressionPackage: + 'package' ePackage=[ecore::EPackage] '{' + (expressionClasses+=SiriusExpressionClass)* + '}' +; + +SiriusExpressionClass: + 'class' eClass=[ecore::EClass|FQN] '{' + (variables+=SiriusVariable)* + (expressionDescriptions+=SiriusExpressionDescription)* + '}' +; + +FQN: ID ("." ID)*; + +SiriusVariable: + (documentation=ML_COMMENT)? + 'var' name=ID ':' eType=[ecore::EClassifier|FQN] +; + +SiriusExpressionDescription: + 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter(',' parameters+=SiriusParameter)*)? ')' ':' returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' + 'variableContainers' '=' '[' + (variableContainers+=[ecore::EClass|FQN](',' variableContainers+=[ecore::EClass|FQN])*)? + ']' + '}' +; + +SiriusParameter: + (optional?='optional')? variable=[SiriusVariable] +; + +Bound returns ecore::EInt: + ('-')?INT +; + +terminal ID : '^'?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; +terminal INT returns ecore::EInt: ('0'..'9')+; +terminal ML_COMMENT : '/*' -> '*/'; +terminal WS : (' '|'\t'|'\r'|'\n')+; \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextRuntimeModule.java b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextRuntimeModule.java new file mode 100644 index 000000000..8558d947f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextRuntimeModule.java @@ -0,0 +1,18 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text; + +import org.eclipse.xtext.resource.IContainer.Manager; +import org.eclipse.sirius.expression.text.scoping.ExpressionTextStatedContainerManager;; +/** + * Use this class to register components to be used at runtime / without the + * Equinox extension registry. + */ +public class ExpressionTextRuntimeModule + extends org.eclipse.sirius.expression.text.AbstractExpressionTextRuntimeModule { + @Override + public Class bindIContainer$Manager() { + return ExpressionTextStatedContainerManager.class; + } +} diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetup.java b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetup.java new file mode 100644 index 000000000..7d5142f90 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetup.java @@ -0,0 +1,16 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text; + +/** + * Initialization support for running Xtext languages + * without equinox extension registry + */ +public class ExpressionTextStandaloneSetup extends ExpressionTextStandaloneSetupGenerated{ + + public static void doSetup() { + new ExpressionTextStandaloneSetup().createInjectorAndDoEMFRegistration(); + } +} + diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/GenerateExpressionText.mwe2 b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/GenerateExpressionText.mwe2 new file mode 100644 index 000000000..2b3bbe63d --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/GenerateExpressionText.mwe2 @@ -0,0 +1,137 @@ +module org.eclipse.sirius.expression.text.GenerateExpressionText + +import org.eclipse.emf.mwe.utils.* +import org.eclipse.xtext.generator.* +import org.eclipse.xtext.ui.generator.* + +var grammarURI = "classpath:/org/eclipse/sirius/expression/text/ExpressionText.xtext" +var fileExtensions = "expression" +var projectName = "org.eclipse.sirius.expression.text" +var runtimeProject = "../${projectName}" +var generateXtendStub = true +var encoding = "UTF-8" + +Workflow { + bean = StandaloneSetup { + scanClassPath = true + platformUri = "${runtimeProject}/.." + + registerGeneratedEPackage = "org.eclipse.sirius.expression.ExpressionPackage" + registerGenModelFile = "platform:/resource/org.eclipse.sirius.expression/model/expression.genmodel" + + // The following two lines can be removed, if Xbase is not used. + registerGeneratedEPackage = "org.eclipse.xtext.xbase.XbasePackage" + registerGenModelFile = "platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel" + } + + component = DirectoryCleaner { + directory = "${runtimeProject}/src-gen" + } + + component = DirectoryCleaner { + directory = "${runtimeProject}/model/generated" + } + + component = DirectoryCleaner { + directory = "${runtimeProject}.ui/src-gen" + } + + component = DirectoryCleaner { + directory = "${runtimeProject}.tests/src-gen" + } + + component = Generator { + pathRtProject = runtimeProject + pathUiProject = "${runtimeProject}.ui" + pathTestProject = "${runtimeProject}.tests" + projectNameRt = projectName + projectNameUi = "${projectName}.ui" + encoding = encoding + language = auto-inject { + uri = grammarURI + + // Java API to access grammar elements (required by several other fragments) + fragment = grammarAccess.GrammarAccessFragment auto-inject {} + + // generates Java API for the generated EPackages + fragment = ecore.EMFGeneratorFragment auto-inject {} + + // the old serialization component + // fragment = parseTreeConstructor.ParseTreeConstructorFragment auto-inject {} + + // serializer 2.0 + fragment = serializer.SerializerFragment auto-inject { + generateStub = false + } + + // a custom ResourceFactory for use with EMF + fragment = resourceFactory.ResourceFactoryFragment auto-inject {} + + // The antlr parser generator fragment. + fragment = parser.antlr.XtextAntlrGeneratorFragment auto-inject { + // options = { + // backtrack = true + // } + } + + // Xtend-based API for validation + fragment = validation.ValidatorFragment auto-inject { + // composedCheck = "org.eclipse.xtext.validation.ImportUriValidator" + // composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator" + } + + // old scoping and exporting API + // fragment = scoping.ImportURIScopingFragment auto-inject {} + // fragment = exporting.SimpleNamesFragment auto-inject {} + + // scoping and exporting API + fragment = scoping.ImportNamespacesScopingFragment auto-inject {} + fragment = exporting.QualifiedNamesFragment auto-inject {} + fragment = builder.BuilderIntegrationFragment auto-inject {} + + // generator API + fragment = generator.GeneratorFragment auto-inject {} + + // formatter API + fragment = formatting.FormatterFragment auto-inject {} + + // labeling API + fragment = labeling.LabelProviderFragment auto-inject {} + + // outline API + fragment = outline.OutlineTreeProviderFragment auto-inject {} + fragment = outline.QuickOutlineFragment auto-inject {} + + // quickfix API + fragment = quickfix.QuickfixProviderFragment auto-inject {} + + // content assist API + fragment = contentAssist.ContentAssistFragment auto-inject {} + + // generates a more lightweight Antlr parser and lexer tailored for content assist + fragment = parser.antlr.XtextAntlrUiGeneratorFragment auto-inject {} + + // generates junit test support classes into Generator#pathTestProject + fragment = junit.Junit4Fragment auto-inject {} + + // rename refactoring + fragment = refactoring.RefactorElementNameFragment auto-inject {} + + // provides the necessary bindings for java types integration + fragment = types.TypesGeneratorFragment auto-inject {} + + // generates the required bindings only if the grammar inherits from Xbase + fragment = xbase.XbaseGeneratorFragment auto-inject {} + + // generates the required bindings only if the grammar inherits from Xtype + fragment = xbase.XtypeGeneratorFragment auto-inject {} + + // provides a preference page for template proposals + fragment = templates.CodetemplatesGeneratorFragment auto-inject {} + + // provides a compare view + fragment = compare.CompareFragment auto-inject {} + } + } +} + diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.xtend b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.xtend new file mode 100644 index 000000000..25d8ab9b0 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.xtend @@ -0,0 +1,30 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.formatting + +import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter +import org.eclipse.xtext.formatting.impl.FormattingConfig +// import com.google.inject.Inject; +// import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess + +/** + * This class contains custom formatting declarations. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#formatting + * on how and when to use it. + * + * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example + */ +class ExpressionTextFormatter extends AbstractDeclarativeFormatter { + +// @Inject extension ExpressionTextGrammarAccess + + override protected void configureFormatting(FormattingConfig c) { +// It's usually a good idea to activate the following three statements. +// They will add and preserve newlines around comments +// c.setLinewrap(0, 1, 2).before(SL_COMMENTRule) +// c.setLinewrap(0, 1, 2).before(ML_COMMENTRule) +// c.setLinewrap(0, 1, 1).after(ML_COMMENTRule) + } +} diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.xtend b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.xtend new file mode 100644 index 000000000..31b99c36f --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.xtend @@ -0,0 +1,24 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.generator + +import org.eclipse.emf.ecore.resource.Resource +import org.eclipse.xtext.generator.IGenerator +import org.eclipse.xtext.generator.IFileSystemAccess + +/** + * Generates code from your model files on save. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation + */ +class ExpressionTextGenerator implements IGenerator { + + override void doGenerate(Resource resource, IFileSystemAccess fsa) { +// fsa.generateFile('greetings.txt', 'People to greet: ' + +// resource.allContents +// .filter(typeof(Greeting)) +// .map[name] +// .join(', ')) + } +} diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.xtend b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.xtend new file mode 100644 index 000000000..f429253ea --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.xtend @@ -0,0 +1,32 @@ +package org.eclipse.sirius.expression.text.scoping + +import org.eclipse.xtext.resource.containers.IContainerState +import org.eclipse.emf.common.util.URI +import org.eclipse.xtext.resource.containers.IAllContainersState + +class ExpressionTextContainerState implements IContainerState { + String root + IAllContainersState globalState + + new(String root, org.eclipse.xtext.resource.containers.IAllContainersState state) { + this.root = root + this.globalState = state + } + + override contains(URI uri) { + return getContents().contains(uri) + } + + override getContents() { + return globalState.getContainedURIs(root) + } + + override isEmpty() { + return globalState.isEmpty(root) + } + + override toString() { + return "container '" + root +"' from "+globalState + } + +} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.xtend b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.xtend new file mode 100644 index 000000000..c7954ae5c --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.xtend @@ -0,0 +1,15 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.scoping + +/** + * This class contains custom scoping description. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping + * on how and when to use it. + * + */ +class ExpressionTextScopeProvider extends org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider { + +} diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.xtend b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.xtend new file mode 100644 index 000000000..e56ae1fd6 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.xtend @@ -0,0 +1,19 @@ +package org.eclipse.sirius.expression.text.scoping + +import org.eclipse.xtext.resource.containers.StateBasedContainer +import org.eclipse.xtext.resource.IResourceDescriptions +import org.eclipse.xtext.resource.containers.IContainerState +import org.eclipse.xtext.resource.IEObjectDescription + +class ExpressionTextStateBasedContainer extends StateBasedContainer { + + new(IResourceDescriptions descriptions, IContainerState state) { + super(descriptions, state) + } + + override protected filterByURI(Iterable unfiltered) { + // Do not filter anything + return unfiltered + } + +} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.xtend b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.xtend new file mode 100644 index 000000000..b031c982d --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.xtend @@ -0,0 +1,19 @@ +package org.eclipse.sirius.expression.text.scoping + +import org.eclipse.xtext.resource.IResourceDescriptions +import org.eclipse.xtext.resource.containers.FlatResourceSetBasedAllContainersState +import org.eclipse.xtext.resource.containers.StateBasedContainerManager + +class ExpressionTextStatedContainerManager extends StateBasedContainerManager { + + override protected createContainer(String handle, IResourceDescriptions resourceDescriptions) { + val state = getState(resourceDescriptions); + val containerState = new org.eclipse.sirius.expression.text.scoping.ExpressionTextContainerState(handle, state); + val result = new org.eclipse.sirius.expression.text.scoping.ExpressionTextStateBasedContainer(resourceDescriptions, containerState); + if (state instanceof FlatResourceSetBasedAllContainersState) + result.setUriToDescriptionCacheEnabled(false); + return result; + } + +} + diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.xtend b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.xtend new file mode 100644 index 000000000..bba7549b1 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.xtend @@ -0,0 +1,25 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.validation + +//import org.eclipse.xtext.validation.Check + +/** + * This class contains custom validation rules. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation + */ +class ExpressionTextValidator extends AbstractExpressionTextValidator { + +// public static val INVALID_NAME = 'invalidName' +// +// @Check +// def checkGreetingStartsWithCapital(Greeting greeting) { +// if (!Character.isUpperCase(greeting.name.charAt(0))) { +// warning('Name should start with a capital', +// MyDslPackage.Literals.GREETING__NAME, +// INVALID_NAME) +// } +// } +} diff --git a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.java b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.java new file mode 100644 index 000000000..993de606e --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.java @@ -0,0 +1,22 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.formatting; + +import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter; +import org.eclipse.xtext.formatting.impl.FormattingConfig; + +/** + * This class contains custom formatting declarations. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#formatting + * on how and when to use it. + * + * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example + */ +@SuppressWarnings("all") +public class ExpressionTextFormatter extends AbstractDeclarativeFormatter { + @Override + protected void configureFormatting(final FormattingConfig c) { + } +} diff --git a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.java b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.java new file mode 100644 index 000000000..c7a70753b --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.java @@ -0,0 +1,20 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.generator; + +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.xtext.generator.IFileSystemAccess; +import org.eclipse.xtext.generator.IGenerator; + +/** + * Generates code from your model files on save. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation + */ +@SuppressWarnings("all") +public class ExpressionTextGenerator implements IGenerator { + @Override + public void doGenerate(final Resource resource, final IFileSystemAccess fsa) { + } +} diff --git a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.java b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.java new file mode 100644 index 000000000..4019d52dc --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.java @@ -0,0 +1,39 @@ +package org.eclipse.sirius.expression.text.scoping; + +import java.util.Collection; +import org.eclipse.emf.common.util.URI; +import org.eclipse.xtext.resource.containers.IAllContainersState; +import org.eclipse.xtext.resource.containers.IContainerState; + +@SuppressWarnings("all") +public class ExpressionTextContainerState implements IContainerState { + private String root; + + private IAllContainersState globalState; + + public ExpressionTextContainerState(final String root, final IAllContainersState state) { + this.root = root; + this.globalState = state; + } + + @Override + public boolean contains(final URI uri) { + Collection _contents = this.getContents(); + return _contents.contains(uri); + } + + @Override + public Collection getContents() { + return this.globalState.getContainedURIs(this.root); + } + + @Override + public boolean isEmpty() { + return this.globalState.isEmpty(this.root); + } + + @Override + public String toString() { + return ((("container \'" + this.root) + "\' from ") + this.globalState); + } +} diff --git a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.java b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.java new file mode 100644 index 000000000..78b0a1197 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.java @@ -0,0 +1,16 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.scoping; + +import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider; + +/** + * This class contains custom scoping description. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping + * on how and when to use it. + */ +@SuppressWarnings("all") +public class ExpressionTextScopeProvider extends AbstractDeclarativeScopeProvider { +} diff --git a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.java b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.java new file mode 100644 index 000000000..83c7dd818 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.java @@ -0,0 +1,18 @@ +package org.eclipse.sirius.expression.text.scoping; + +import org.eclipse.xtext.resource.IEObjectDescription; +import org.eclipse.xtext.resource.IResourceDescriptions; +import org.eclipse.xtext.resource.containers.IContainerState; +import org.eclipse.xtext.resource.containers.StateBasedContainer; + +@SuppressWarnings("all") +public class ExpressionTextStateBasedContainer extends StateBasedContainer { + public ExpressionTextStateBasedContainer(final IResourceDescriptions descriptions, final IContainerState state) { + super(descriptions, state); + } + + @Override + protected Iterable filterByURI(final Iterable unfiltered) { + return unfiltered; + } +} diff --git a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.java b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.java new file mode 100644 index 000000000..4916e0d1a --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.java @@ -0,0 +1,23 @@ +package org.eclipse.sirius.expression.text.scoping; + +import org.eclipse.sirius.expression.text.scoping.ExpressionTextContainerState; +import org.eclipse.sirius.expression.text.scoping.ExpressionTextStateBasedContainer; +import org.eclipse.xtext.resource.IContainer; +import org.eclipse.xtext.resource.IResourceDescriptions; +import org.eclipse.xtext.resource.containers.FlatResourceSetBasedAllContainersState; +import org.eclipse.xtext.resource.containers.IAllContainersState; +import org.eclipse.xtext.resource.containers.StateBasedContainerManager; + +@SuppressWarnings("all") +public class ExpressionTextStatedContainerManager extends StateBasedContainerManager { + @Override + protected IContainer createContainer(final String handle, final IResourceDescriptions resourceDescriptions) { + final IAllContainersState state = this.getState(resourceDescriptions); + final ExpressionTextContainerState containerState = new ExpressionTextContainerState(handle, state); + final ExpressionTextStateBasedContainer result = new ExpressionTextStateBasedContainer(resourceDescriptions, containerState); + if ((state instanceof FlatResourceSetBasedAllContainersState)) { + result.setUriToDescriptionCacheEnabled(false); + } + return result; + } +} diff --git a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.java b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.java new file mode 100644 index 000000000..071d10c16 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.java @@ -0,0 +1,15 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.validation; + +import org.eclipse.sirius.expression.text.validation.AbstractExpressionTextValidator; + +/** + * This class contains custom validation rules. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation + */ +@SuppressWarnings("all") +public class ExpressionTextValidator extends AbstractExpressionTextValidator { +} diff --git a/plugins/org.eclipse.sirius.expression/.project b/plugins/org.eclipse.sirius.expression/.project index bace3fa3e..27caa6d55 100644 --- a/plugins/org.eclipse.sirius.expression/.project +++ b/plugins/org.eclipse.sirius.expression/.project @@ -5,6 +5,11 @@ + + org.eclipse.xtext.ui.shared.xtextBuilder + + + org.eclipse.jdt.core.javabuilder @@ -31,5 +36,6 @@ org.eclipse.jdt.core.javanature org.eclipse.pde.PluginNature net.sf.eclipsecs.core.CheckstyleNature + org.eclipse.xtext.ui.shared.xtextNature diff --git a/plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF index 97f462b68..50c35b96e 100644 --- a/plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF @@ -11,6 +11,6 @@ Export-Package: org.eclipse.sirius.expression;version="1.0.0", org.eclipse.sirius.expression.impl;version="1.0.0", org.eclipse.sirius.expression.util;version="1.0.0" Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", - org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)", + org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, org.eclipse.emf.ecore.xmi;bundle-version="[2.8.0,3.0.0)" Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.expression/model/expression.ecore b/plugins/org.eclipse.sirius.expression/model/expression.ecore index 4faef104c..dff99b701 100644 --- a/plugins/org.eclipse.sirius.expression/model/expression.ecore +++ b/plugins/org.eclipse.sirius.expression/model/expression.ecore @@ -12,13 +12,13 @@
    - +
    - +
    @@ -33,35 +33,30 @@
    - +
    - +
    - +
    - - -
    - - - +
    - +
    @@ -75,28 +70,29 @@
    +
    + eType="#//SiriusVariable" containment="true">
    + upperBound="-1" eType="#//SiriusExpressionDescription" containment="true">
    - - -
    - - + + + + + diff --git a/plugins/org.eclipse.sirius.expression/model/expression.genmodel b/plugins/org.eclipse.sirius.expression/model/expression.genmodel index e3c72f35a..7edee50a2 100644 --- a/plugins/org.eclipse.sirius.expression/model/expression.genmodel +++ b/plugins/org.eclipse.sirius.expression/model/expression.genmodel @@ -6,7 +6,8 @@ modelPluginID="org.eclipse.sirius.expression" modelName="Expression" nonNLSMarkers="true" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" testsDirectory="" importerID="org.eclipse.emf.importer.ecore" containmentProxies="true" complianceLevel="6.0" - copyrightFields="false" language="" operationReflection="true" importOrganizing="true"> + copyrightFields="false" language="" usedGenPackages="../../org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore" + operationReflection="true" importOrganizing="true"> expression.ecore @@ -17,23 +18,27 @@ - - - - - - - - + + + + + + + - - - + + + + - + + + + + diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionDescription.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionDescription.java deleted file mode 100644 index ff02c37a6..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionDescription.java +++ /dev/null @@ -1,200 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EStructuralFeature; - -/** - * - * A representation of the model object 'Description'. - * - * - * - * Defines an expression. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.sirius.expression.ExpressionDescription#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.sirius.expression.ExpressionDescription#getUpperBound Upper Bound}
    • - *
    • {@link org.eclipse.sirius.expression.ExpressionDescription#getExpression Expression}
    • - *
    • {@link org.eclipse.sirius.expression.ExpressionDescription#getVariables Variables}
    • - *
    • {@link org.eclipse.sirius.expression.ExpressionDescription#getReturnType Return Type}
    • - *
    • {@link org.eclipse.sirius.expression.ExpressionDescription#getLabel Label}
    • - *
    • {@link org.eclipse.sirius.expression.ExpressionDescription#getContextableElements Contextable Elements}
    • - *
    - * - * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription() - * @model - * @generated - */ -public interface ExpressionDescription extends EObject { - /** - * Returns the value of the 'Lower Bound' attribute. - * - * - * - * Defines the return type lower bound. - * - * @return the value of the 'Lower Bound' attribute. - * @see #setLowerBound(int) - * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription_LowerBound() - * @model - * @generated - */ - int getLowerBound(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.ExpressionDescription#getLowerBound Lower Bound}' attribute. - * - * - * @param value the new value of the 'Lower Bound' attribute. - * @see #getLowerBound() - * @generated - */ - void setLowerBound(int value); - - /** - * Returns the value of the 'Upper Bound' attribute. - * The default value is "1". - * - * - * - * Defines the return type upper bound. - * - * @return the value of the 'Upper Bound' attribute. - * @see #setUpperBound(int) - * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription_UpperBound() - * @model default="1" - * @generated - */ - int getUpperBound(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.ExpressionDescription#getUpperBound Upper Bound}' attribute. - * - * - * @param value the new value of the 'Upper Bound' attribute. - * @see #getUpperBound() - * @generated - */ - void setUpperBound(int value); - - /** - * Returns the value of the 'Expression' reference. - * - * - * - * References an expression from another metamodel. - * - * @return the value of the 'Expression' reference. - * @see #setExpression(EStructuralFeature) - * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription_Expression() - * @model - * @generated - */ - EStructuralFeature getExpression(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.ExpressionDescription#getExpression Expression}' reference. - * - * - * @param value the new value of the 'Expression' reference. - * @see #getExpression() - * @generated - */ - void setExpression(EStructuralFeature value); - - /** - * Returns the value of the 'Variables' reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.Variable}. - * - * - * - * Contains the variables associated to an expression description. - * - * @return the value of the 'Variables' reference list. - * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription_Variables() - * @model - * @generated - */ - EList getVariables(); - - /** - * Returns the value of the 'Return Type' reference. - * - * - * - * Defines the return type of an expression. - * - * @return the value of the 'Return Type' reference. - * @see #setReturnType(EClassifier) - * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription_ReturnType() - * @model - * @generated - */ - EClassifier getReturnType(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.ExpressionDescription#getReturnType Return Type}' reference. - * - * - * @param value the new value of the 'Return Type' reference. - * @see #getReturnType() - * @generated - */ - void setReturnType(EClassifier value); - - /** - * Returns the value of the 'Label' attribute. - * - * - * - * Defines the label of theexpression. - * - * @return the value of the 'Label' attribute. - * @see #setLabel(String) - * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription_Label() - * @model - * @generated - */ - String getLabel(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.ExpressionDescription#getLabel Label}' attribute. - * - * - * @param value the new value of the 'Label' attribute. - * @see #getLabel() - * @generated - */ - void setLabel(String value); - - /** - * Returns the value of the 'Contextable Elements' reference list. - * The list contents are of type {@link org.eclipse.emf.ecore.EClass}. - * - * - * - * References contextable elements to get the associated context variables. - * - * @return the value of the 'Contextable Elements' reference list. - * @see org.eclipse.sirius.expression.ExpressionPackage#getExpressionDescription_ContextableElements() - * @model - * @generated - */ - EList getContextableElements(); - -} // ExpressionDescription diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java index d48332d96..a6c648fc2 100644 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java @@ -36,22 +36,22 @@ public interface ExpressionFactory extends EFactory { SiriusExpressionPackage createSiriusExpressionPackage(); /** - * Returns a new object of class 'Description'. + * Returns a new object of class 'Sirius Expression Description'. * * - * @return a new object of class 'Description'. + * @return a new object of class 'Sirius Expression Description'. * @generated */ - ExpressionDescription createExpressionDescription(); + SiriusExpressionDescription createSiriusExpressionDescription(); /** - * Returns a new object of class 'Variable'. + * Returns a new object of class 'Sirius Variable'. * * - * @return a new object of class 'Variable'. + * @return a new object of class 'Sirius Variable'. * @generated */ - Variable createVariable(); + SiriusVariable createSiriusVariable(); /** * Returns a new object of class 'Sirius Expression Class'. @@ -62,6 +62,15 @@ public interface ExpressionFactory extends EFactory { */ SiriusExpressionClass createSiriusExpressionClass(); + /** + * Returns a new object of class 'Sirius Parameter'. + * + * + * @return a new object of class 'Sirius Parameter'. + * @generated + */ + SiriusParameter createSiriusParameter(); + /** * Returns the package supported by this factory. * diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java index ff973ed6d..d50bfb78b 100644 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java @@ -109,14 +109,14 @@ public interface ExpressionPackage extends EPackage { int SIRIUS_EXPRESSION_PACKAGE_OPERATION_COUNT = 0; /** - * The meta object id for the '{@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl Description}' class. + * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl Sirius Expression Description}' class. * * - * @see org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getExpressionDescription() + * @see org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionDescription() * @generated */ - int EXPRESSION_DESCRIPTION = 1; + int SIRIUS_EXPRESSION_DESCRIPTION = 1; /** * The feature id for the 'Lower Bound' attribute. @@ -125,7 +125,7 @@ public interface ExpressionPackage extends EPackage { * @generated * @ordered */ - int EXPRESSION_DESCRIPTION__LOWER_BOUND = 0; + int SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND = 0; /** * The feature id for the 'Upper Bound' attribute. @@ -134,7 +134,7 @@ public interface ExpressionPackage extends EPackage { * @generated * @ordered */ - int EXPRESSION_DESCRIPTION__UPPER_BOUND = 1; + int SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND = 1; /** * The feature id for the 'Expression' reference. @@ -143,16 +143,16 @@ public interface ExpressionPackage extends EPackage { * @generated * @ordered */ - int EXPRESSION_DESCRIPTION__EXPRESSION = 2; + int SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION = 2; /** - * The feature id for the 'Variables' reference list. + * The feature id for the 'Parameters' containment reference list. * * * @generated * @ordered */ - int EXPRESSION_DESCRIPTION__VARIABLES = 3; + int SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS = 3; /** * The feature id for the 'Return Type' reference. @@ -161,89 +161,89 @@ public interface ExpressionPackage extends EPackage { * @generated * @ordered */ - int EXPRESSION_DESCRIPTION__RETURN_TYPE = 4; + int SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE = 4; /** - * The feature id for the 'Label' attribute. + * The feature id for the 'Variable Containers' reference list. * * * @generated * @ordered */ - int EXPRESSION_DESCRIPTION__LABEL = 5; + int SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS = 5; /** - * The feature id for the 'Contextable Elements' reference list. + * The number of structural features of the 'Sirius Expression Description' class. * * * @generated * @ordered */ - int EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS = 6; + int SIRIUS_EXPRESSION_DESCRIPTION_FEATURE_COUNT = 6; /** - * The number of structural features of the 'Description' class. + * The number of operations of the 'Sirius Expression Description' class. * * * @generated * @ordered */ - int EXPRESSION_DESCRIPTION_FEATURE_COUNT = 7; + int SIRIUS_EXPRESSION_DESCRIPTION_OPERATION_COUNT = 0; /** - * The number of operations of the 'Description' class. + * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusVariableImpl Sirius Variable}' class. * * + * @see org.eclipse.sirius.expression.impl.SiriusVariableImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusVariable() * @generated - * @ordered */ - int EXPRESSION_DESCRIPTION_OPERATION_COUNT = 0; + int SIRIUS_VARIABLE = 2; /** - * The meta object id for the '{@link org.eclipse.sirius.expression.impl.VariableImpl Variable}' class. + * The feature id for the 'Name' attribute. * * - * @see org.eclipse.sirius.expression.impl.VariableImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getVariable() * @generated + * @ordered */ - int VARIABLE = 2; + int SIRIUS_VARIABLE__NAME = 0; /** - * The feature id for the 'Name' attribute. + * The feature id for the 'Documentation' attribute. * * * @generated * @ordered */ - int VARIABLE__NAME = 0; + int SIRIUS_VARIABLE__DOCUMENTATION = 1; /** - * The feature id for the 'Documentation' attribute. + * The feature id for the 'EType' reference. * * * @generated * @ordered */ - int VARIABLE__DOCUMENTATION = 1; + int SIRIUS_VARIABLE__ETYPE = 2; /** - * The number of structural features of the 'Variable' class. + * The number of structural features of the 'Sirius Variable' class. * * * @generated * @ordered */ - int VARIABLE_FEATURE_COUNT = 2; + int SIRIUS_VARIABLE_FEATURE_COUNT = 3; /** - * The number of operations of the 'Variable' class. + * The number of operations of the 'Sirius Variable' class. * * * @generated * @ordered */ - int VARIABLE_OPERATION_COUNT = 0; + int SIRIUS_VARIABLE_OPERATION_COUNT = 0; /** * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. @@ -274,13 +274,13 @@ public interface ExpressionPackage extends EPackage { int SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = 1; /** - * The feature id for the 'Label' attribute. + * The feature id for the 'EClass' reference. * * * @generated * @ordered */ - int SIRIUS_EXPRESSION_CLASS__LABEL = 2; + int SIRIUS_EXPRESSION_CLASS__ECLASS = 2; /** * The number of structural features of the 'Sirius Expression Class' class. @@ -300,6 +300,52 @@ public interface ExpressionPackage extends EPackage { */ int SIRIUS_EXPRESSION_CLASS_OPERATION_COUNT = 0; + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusParameterImpl Sirius Parameter}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusParameterImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusParameter() + * @generated + */ + int SIRIUS_PARAMETER = 4; + + /** + * The feature id for the 'Optional' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_PARAMETER__OPTIONAL = 0; + + /** + * The feature id for the 'Variable' reference. + * + * + * @generated + * @ordered + */ + int SIRIUS_PARAMETER__VARIABLE = 1; + + /** + * The number of structural features of the 'Sirius Parameter' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_PARAMETER_FEATURE_COUNT = 2; + + /** + * The number of operations of the 'Sirius Parameter' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_PARAMETER_OPERATION_COUNT = 0; + /** * The meta object id for the 'Void' data type. * @@ -308,7 +354,7 @@ public interface ExpressionPackage extends EPackage { * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getVoid() * @generated */ - int VOID = 4; + int VOID = 5; /** * The meta object id for the 'Object' data type. @@ -318,7 +364,7 @@ public interface ExpressionPackage extends EPackage { * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getObject() * @generated */ - int OBJECT = 5; + int OBJECT = 6; /** * The meta object id for the 'Predicate' data type. @@ -328,7 +374,7 @@ public interface ExpressionPackage extends EPackage { * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getPredicate() * @generated */ - int PREDICATE = 6; + int PREDICATE = 7; /** @@ -364,123 +410,123 @@ public interface ExpressionPackage extends EPackage { EReference getSiriusExpressionPackage_EPackage(); /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.ExpressionDescription Description}'. + * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusExpressionDescription Sirius Expression Description}'. * * - * @return the meta object for class 'Description'. - * @see org.eclipse.sirius.expression.ExpressionDescription + * @return the meta object for class 'Sirius Expression Description'. + * @see org.eclipse.sirius.expression.SiriusExpressionDescription * @generated */ - EClass getExpressionDescription(); + EClass getSiriusExpressionDescription(); /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.ExpressionDescription#getLowerBound Lower Bound}'. + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getLowerBound Lower Bound}'. * * * @return the meta object for the attribute 'Lower Bound'. - * @see org.eclipse.sirius.expression.ExpressionDescription#getLowerBound() - * @see #getExpressionDescription() + * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getLowerBound() + * @see #getSiriusExpressionDescription() * @generated */ - EAttribute getExpressionDescription_LowerBound(); + EAttribute getSiriusExpressionDescription_LowerBound(); /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.ExpressionDescription#getUpperBound Upper Bound}'. + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getUpperBound Upper Bound}'. * * * @return the meta object for the attribute 'Upper Bound'. - * @see org.eclipse.sirius.expression.ExpressionDescription#getUpperBound() - * @see #getExpressionDescription() + * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getUpperBound() + * @see #getSiriusExpressionDescription() * @generated */ - EAttribute getExpressionDescription_UpperBound(); + EAttribute getSiriusExpressionDescription_UpperBound(); /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.ExpressionDescription#getExpression Expression}'. + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getExpression Expression}'. * * * @return the meta object for the reference 'Expression'. - * @see org.eclipse.sirius.expression.ExpressionDescription#getExpression() - * @see #getExpressionDescription() + * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getExpression() + * @see #getSiriusExpressionDescription() * @generated */ - EReference getExpressionDescription_Expression(); + EReference getSiriusExpressionDescription_Expression(); /** - * Returns the meta object for the reference list '{@link org.eclipse.sirius.expression.ExpressionDescription#getVariables Variables}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getParameters Parameters}'. * * - * @return the meta object for the reference list 'Variables'. - * @see org.eclipse.sirius.expression.ExpressionDescription#getVariables() - * @see #getExpressionDescription() + * @return the meta object for the containment reference list 'Parameters'. + * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getParameters() + * @see #getSiriusExpressionDescription() * @generated */ - EReference getExpressionDescription_Variables(); + EReference getSiriusExpressionDescription_Parameters(); /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.ExpressionDescription#getReturnType Return Type}'. + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getReturnType Return Type}'. * * * @return the meta object for the reference 'Return Type'. - * @see org.eclipse.sirius.expression.ExpressionDescription#getReturnType() - * @see #getExpressionDescription() + * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getReturnType() + * @see #getSiriusExpressionDescription() * @generated */ - EReference getExpressionDescription_ReturnType(); + EReference getSiriusExpressionDescription_ReturnType(); /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.ExpressionDescription#getLabel Label}'. + * Returns the meta object for the reference list '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getVariableContainers Variable Containers}'. * * - * @return the meta object for the attribute 'Label'. - * @see org.eclipse.sirius.expression.ExpressionDescription#getLabel() - * @see #getExpressionDescription() + * @return the meta object for the reference list 'Variable Containers'. + * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getVariableContainers() + * @see #getSiriusExpressionDescription() * @generated */ - EAttribute getExpressionDescription_Label(); + EReference getSiriusExpressionDescription_VariableContainers(); /** - * Returns the meta object for the reference list '{@link org.eclipse.sirius.expression.ExpressionDescription#getContextableElements Contextable Elements}'. + * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusVariable Sirius Variable}'. * * - * @return the meta object for the reference list 'Contextable Elements'. - * @see org.eclipse.sirius.expression.ExpressionDescription#getContextableElements() - * @see #getExpressionDescription() + * @return the meta object for class 'Sirius Variable'. + * @see org.eclipse.sirius.expression.SiriusVariable * @generated */ - EReference getExpressionDescription_ContextableElements(); + EClass getSiriusVariable(); /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.Variable Variable}'. + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusVariable#getName Name}'. * * - * @return the meta object for class 'Variable'. - * @see org.eclipse.sirius.expression.Variable + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.sirius.expression.SiriusVariable#getName() + * @see #getSiriusVariable() * @generated */ - EClass getVariable(); + EAttribute getSiriusVariable_Name(); /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.Variable#getName Name}'. + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusVariable#getDocumentation Documentation}'. * * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.sirius.expression.Variable#getName() - * @see #getVariable() + * @return the meta object for the attribute 'Documentation'. + * @see org.eclipse.sirius.expression.SiriusVariable#getDocumentation() + * @see #getSiriusVariable() * @generated */ - EAttribute getVariable_Name(); + EAttribute getSiriusVariable_Documentation(); /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.Variable#getDocumentation Documentation}'. + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusVariable#getEType EType}'. * * - * @return the meta object for the attribute 'Documentation'. - * @see org.eclipse.sirius.expression.Variable#getDocumentation() - * @see #getVariable() + * @return the meta object for the reference 'EType'. + * @see org.eclipse.sirius.expression.SiriusVariable#getEType() + * @see #getSiriusVariable() * @generated */ - EAttribute getVariable_Documentation(); + EReference getSiriusVariable_EType(); /** * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusExpressionClass Sirius Expression Class}'. @@ -515,15 +561,47 @@ public interface ExpressionPackage extends EPackage { EReference getSiriusExpressionClass_ExpressionDescriptions(); /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getLabel Label}'. + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getEClass EClass}'. * * - * @return the meta object for the attribute 'Label'. - * @see org.eclipse.sirius.expression.SiriusExpressionClass#getLabel() + * @return the meta object for the reference 'EClass'. + * @see org.eclipse.sirius.expression.SiriusExpressionClass#getEClass() * @see #getSiriusExpressionClass() * @generated */ - EAttribute getSiriusExpressionClass_Label(); + EReference getSiriusExpressionClass_EClass(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusParameter Sirius Parameter}'. + * + * + * @return the meta object for class 'Sirius Parameter'. + * @see org.eclipse.sirius.expression.SiriusParameter + * @generated + */ + EClass getSiriusParameter(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusParameter#isOptional Optional}'. + * + * + * @return the meta object for the attribute 'Optional'. + * @see org.eclipse.sirius.expression.SiriusParameter#isOptional() + * @see #getSiriusParameter() + * @generated + */ + EAttribute getSiriusParameter_Optional(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusParameter#getVariable Variable}'. + * + * + * @return the meta object for the reference 'Variable'. + * @see org.eclipse.sirius.expression.SiriusParameter#getVariable() + * @see #getSiriusParameter() + * @generated + */ + EReference getSiriusParameter_Variable(); /** * Returns the meta object for data type '{@link java.lang.Void Void}'. @@ -608,14 +686,14 @@ public interface ExpressionPackage extends EPackage { EReference SIRIUS_EXPRESSION_PACKAGE__EPACKAGE = eINSTANCE.getSiriusExpressionPackage_EPackage(); /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl Description}' class. + * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl Sirius Expression Description}' class. * * - * @see org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getExpressionDescription() + * @see org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionDescription() * @generated */ - EClass EXPRESSION_DESCRIPTION = eINSTANCE.getExpressionDescription(); + EClass SIRIUS_EXPRESSION_DESCRIPTION = eINSTANCE.getSiriusExpressionDescription(); /** * The meta object literal for the 'Lower Bound' attribute feature. @@ -623,7 +701,7 @@ public interface ExpressionPackage extends EPackage { * * @generated */ - EAttribute EXPRESSION_DESCRIPTION__LOWER_BOUND = eINSTANCE.getExpressionDescription_LowerBound(); + EAttribute SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND = eINSTANCE.getSiriusExpressionDescription_LowerBound(); /** * The meta object literal for the 'Upper Bound' attribute feature. @@ -631,7 +709,7 @@ public interface ExpressionPackage extends EPackage { * * @generated */ - EAttribute EXPRESSION_DESCRIPTION__UPPER_BOUND = eINSTANCE.getExpressionDescription_UpperBound(); + EAttribute SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND = eINSTANCE.getSiriusExpressionDescription_UpperBound(); /** * The meta object literal for the 'Expression' reference feature. @@ -639,15 +717,15 @@ public interface ExpressionPackage extends EPackage { * * @generated */ - EReference EXPRESSION_DESCRIPTION__EXPRESSION = eINSTANCE.getExpressionDescription_Expression(); + EReference SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION = eINSTANCE.getSiriusExpressionDescription_Expression(); /** - * The meta object literal for the 'Variables' reference list feature. + * The meta object literal for the 'Parameters' containment reference list feature. * * * @generated */ - EReference EXPRESSION_DESCRIPTION__VARIABLES = eINSTANCE.getExpressionDescription_Variables(); + EReference SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS = eINSTANCE.getSiriusExpressionDescription_Parameters(); /** * The meta object literal for the 'Return Type' reference feature. @@ -655,49 +733,49 @@ public interface ExpressionPackage extends EPackage { * * @generated */ - EReference EXPRESSION_DESCRIPTION__RETURN_TYPE = eINSTANCE.getExpressionDescription_ReturnType(); + EReference SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE = eINSTANCE.getSiriusExpressionDescription_ReturnType(); /** - * The meta object literal for the 'Label' attribute feature. + * The meta object literal for the 'Variable Containers' reference list feature. * * * @generated */ - EAttribute EXPRESSION_DESCRIPTION__LABEL = eINSTANCE.getExpressionDescription_Label(); + EReference SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS = eINSTANCE.getSiriusExpressionDescription_VariableContainers(); /** - * The meta object literal for the 'Contextable Elements' reference list feature. + * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusVariableImpl Sirius Variable}' class. * * + * @see org.eclipse.sirius.expression.impl.SiriusVariableImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusVariable() * @generated */ - EReference EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS = eINSTANCE.getExpressionDescription_ContextableElements(); + EClass SIRIUS_VARIABLE = eINSTANCE.getSiriusVariable(); /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.VariableImpl Variable}' class. + * The meta object literal for the 'Name' attribute feature. * * - * @see org.eclipse.sirius.expression.impl.VariableImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getVariable() * @generated */ - EClass VARIABLE = eINSTANCE.getVariable(); + EAttribute SIRIUS_VARIABLE__NAME = eINSTANCE.getSiriusVariable_Name(); /** - * The meta object literal for the 'Name' attribute feature. + * The meta object literal for the 'Documentation' attribute feature. * * * @generated */ - EAttribute VARIABLE__NAME = eINSTANCE.getVariable_Name(); + EAttribute SIRIUS_VARIABLE__DOCUMENTATION = eINSTANCE.getSiriusVariable_Documentation(); /** - * The meta object literal for the 'Documentation' attribute feature. + * The meta object literal for the 'EType' reference feature. * * * @generated */ - EAttribute VARIABLE__DOCUMENTATION = eINSTANCE.getVariable_Documentation(); + EReference SIRIUS_VARIABLE__ETYPE = eINSTANCE.getSiriusVariable_EType(); /** * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. @@ -726,12 +804,38 @@ public interface ExpressionPackage extends EPackage { EReference SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = eINSTANCE.getSiriusExpressionClass_ExpressionDescriptions(); /** - * The meta object literal for the 'Label' attribute feature. + * The meta object literal for the 'EClass' reference feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_CLASS__ECLASS = eINSTANCE.getSiriusExpressionClass_EClass(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusParameterImpl Sirius Parameter}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusParameterImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusParameter() + * @generated + */ + EClass SIRIUS_PARAMETER = eINSTANCE.getSiriusParameter(); + + /** + * The meta object literal for the 'Optional' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_PARAMETER__OPTIONAL = eINSTANCE.getSiriusParameter_Optional(); + + /** + * The meta object literal for the 'Variable' reference feature. * * * @generated */ - EAttribute SIRIUS_EXPRESSION_CLASS__LABEL = eINSTANCE.getSiriusExpressionClass_Label(); + EReference SIRIUS_PARAMETER__VARIABLE = eINSTANCE.getSiriusParameter_Variable(); /** * The meta object literal for the 'Void' data type. diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java index 648175cda..450ed2fdc 100644 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java @@ -9,6 +9,7 @@ package org.eclipse.sirius.expression; import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; /** @@ -26,7 +27,7 @@ import org.eclipse.emf.ecore.EObject; *
      *
    • {@link org.eclipse.sirius.expression.SiriusExpressionClass#getVariables Variables}
    • *
    • {@link org.eclipse.sirius.expression.SiriusExpressionClass#getExpressionDescriptions Expression Descriptions}
    • - *
    • {@link org.eclipse.sirius.expression.SiriusExpressionClass#getLabel Label}
    • + *
    • {@link org.eclipse.sirius.expression.SiriusExpressionClass#getEClass EClass}
    • *
    * * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionClass() @@ -36,7 +37,7 @@ import org.eclipse.emf.ecore.EObject; public interface SiriusExpressionClass extends EObject { /** * Returns the value of the 'Variables' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.Variable}. + * The list contents are of type {@link org.eclipse.sirius.expression.SiriusVariable}. * * * @@ -47,11 +48,11 @@ public interface SiriusExpressionClass extends EObject { * @model containment="true" resolveProxies="true" * @generated */ - EList getVariables(); + EList getVariables(); /** * Returns the value of the 'Expression Descriptions' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.ExpressionDescription}. + * The list contents are of type {@link org.eclipse.sirius.expression.SiriusExpressionDescription}. * * * @@ -62,31 +63,32 @@ public interface SiriusExpressionClass extends EObject { * @model containment="true" resolveProxies="true" * @generated */ - EList getExpressionDescriptions(); + EList getExpressionDescriptions(); /** - * Returns the value of the 'Label' attribute. + * Returns the value of the 'EClass' reference. * + *

    + * If the meaning of the 'EClass' reference isn't clear, + * there really should be more of a description here... + *

    * - * - * Lable to identify an expression class. - * - * @return the value of the 'Label' attribute. - * @see #setLabel(String) - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionClass_Label() + * @return the value of the 'EClass' reference. + * @see #setEClass(EClass) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionClass_EClass() * @model * @generated */ - String getLabel(); + EClass getEClass(); /** - * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getLabel Label}' attribute. + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getEClass EClass}' reference. * * - * @param value the new value of the 'Label' attribute. - * @see #getLabel() + * @param value the new value of the 'EClass' reference. + * @see #getEClass() * @generated */ - void setLabel(String value); + void setEClass(EClass value); } // SiriusExpressionClass diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionDescription.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionDescription.java new file mode 100644 index 000000000..f13ec2a60 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionDescription.java @@ -0,0 +1,174 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EStructuralFeature; + +/** + * + * A representation of the model object 'Sirius Expression Description'. + * + * + * + * Defines an expression. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getUpperBound Upper Bound}
    • + *
    • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getExpression Expression}
    • + *
    • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getParameters Parameters}
    • + *
    • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getReturnType Return Type}
    • + *
    • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getVariableContainers Variable Containers}
    • + *
    + * + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription() + * @model + * @generated + */ +public interface SiriusExpressionDescription extends EObject { + /** + * Returns the value of the 'Lower Bound' attribute. + * + * + * + * Defines the return type lower bound. + * + * @return the value of the 'Lower Bound' attribute. + * @see #setLowerBound(int) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_LowerBound() + * @model + * @generated + */ + int getLowerBound(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getLowerBound Lower Bound}' attribute. + * + * + * @param value the new value of the 'Lower Bound' attribute. + * @see #getLowerBound() + * @generated + */ + void setLowerBound(int value); + + /** + * Returns the value of the 'Upper Bound' attribute. + * The default value is "1". + * + * + * + * Defines the return type upper bound. + * + * @return the value of the 'Upper Bound' attribute. + * @see #setUpperBound(int) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_UpperBound() + * @model default="1" + * @generated + */ + int getUpperBound(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getUpperBound Upper Bound}' attribute. + * + * + * @param value the new value of the 'Upper Bound' attribute. + * @see #getUpperBound() + * @generated + */ + void setUpperBound(int value); + + /** + * Returns the value of the 'Expression' reference. + * + * + * + * References an expression from another metamodel. + * + * @return the value of the 'Expression' reference. + * @see #setExpression(EStructuralFeature) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_Expression() + * @model + * @generated + */ + EStructuralFeature getExpression(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getExpression Expression}' reference. + * + * + * @param value the new value of the 'Expression' reference. + * @see #getExpression() + * @generated + */ + void setExpression(EStructuralFeature value); + + /** + * Returns the value of the 'Parameters' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.SiriusParameter}. + * + * + * + * Contains the variables associated to an expression description. + * + * @return the value of the 'Parameters' containment reference list. + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_Parameters() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getParameters(); + + /** + * Returns the value of the 'Return Type' reference. + * + * + * + * Defines the return type of an expression. + * + * @return the value of the 'Return Type' reference. + * @see #setReturnType(EClassifier) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_ReturnType() + * @model + * @generated + */ + EClassifier getReturnType(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getReturnType Return Type}' reference. + * + * + * @param value the new value of the 'Return Type' reference. + * @see #getReturnType() + * @generated + */ + void setReturnType(EClassifier value); + + /** + * Returns the value of the 'Variable Containers' reference list. + * The list contents are of type {@link org.eclipse.emf.ecore.EClass}. + * + * + * + * References contextable elements to get the associated context variables. + * + * @return the value of the 'Variable Containers' reference list. + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_VariableContainers() + * @model + * @generated + */ + EList getVariableContainers(); + +} // SiriusExpressionDescription diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusParameter.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusParameter.java new file mode 100644 index 000000000..6aab57425 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusParameter.java @@ -0,0 +1,82 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Sirius Parameter'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.SiriusParameter#isOptional Optional}
    • + *
    • {@link org.eclipse.sirius.expression.SiriusParameter#getVariable Variable}
    • + *
    + * + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusParameter() + * @model + * @generated + */ +public interface SiriusParameter extends EObject { + /** + * Returns the value of the 'Optional' attribute. + * + *

    + * If the meaning of the 'Optional' attribute isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Optional' attribute. + * @see #setOptional(boolean) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusParameter_Optional() + * @model + * @generated + */ + boolean isOptional(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusParameter#isOptional Optional}' attribute. + * + * + * @param value the new value of the 'Optional' attribute. + * @see #isOptional() + * @generated + */ + void setOptional(boolean value); + + /** + * Returns the value of the 'Variable' reference. + * + *

    + * If the meaning of the 'Variable' reference isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'Variable' reference. + * @see #setVariable(SiriusVariable) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusParameter_Variable() + * @model + * @generated + */ + SiriusVariable getVariable(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusParameter#getVariable Variable}' reference. + * + * + * @param value the new value of the 'Variable' reference. + * @see #getVariable() + * @generated + */ + void setVariable(SiriusVariable value); + +} // SiriusParameter diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusVariable.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusVariable.java new file mode 100644 index 000000000..6f8d422bd --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusVariable.java @@ -0,0 +1,112 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Sirius Variable'. + * + * + * + * Represents a variable. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.SiriusVariable#getName Name}
    • + *
    • {@link org.eclipse.sirius.expression.SiriusVariable#getDocumentation Documentation}
    • + *
    • {@link org.eclipse.sirius.expression.SiriusVariable#getEType EType}
    • + *
    + * + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusVariable() + * @model + * @generated + */ +public interface SiriusVariable extends EObject { + /** + * Returns the value of the 'Name' attribute. + * + * + * + * Defines the name of the varriable. + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusVariable_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusVariable#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Documentation' attribute. + * + * + * + * Defines the documentation of the variables. + * + * @return the value of the 'Documentation' attribute. + * @see #setDocumentation(String) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusVariable_Documentation() + * @model + * @generated + */ + String getDocumentation(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusVariable#getDocumentation Documentation}' attribute. + * + * + * @param value the new value of the 'Documentation' attribute. + * @see #getDocumentation() + * @generated + */ + void setDocumentation(String value); + + /** + * Returns the value of the 'EType' reference. + * + *

    + * If the meaning of the 'EType' reference isn't clear, + * there really should be more of a description here... + *

    + * + * @return the value of the 'EType' reference. + * @see #setEType(EClassifier) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusVariable_EType() + * @model + * @generated + */ + EClassifier getEType(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusVariable#getEType EType}' reference. + * + * + * @param value the new value of the 'EType' reference. + * @see #getEType() + * @generated + */ + void setEType(EClassifier value); + +} // SiriusVariable diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionDescriptionImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionDescriptionImpl.java deleted file mode 100644 index 6e5a816f7..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionDescriptionImpl.java +++ /dev/null @@ -1,475 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -import org.eclipse.sirius.expression.ExpressionDescription; -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.Variable; - -/** - * - * An implementation of the model object 'Description'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl#getUpperBound Upper Bound}
    • - *
    • {@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl#getExpression Expression}
    • - *
    • {@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl#getVariables Variables}
    • - *
    • {@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl#getReturnType Return Type}
    • - *
    • {@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl#getLabel Label}
    • - *
    • {@link org.eclipse.sirius.expression.impl.ExpressionDescriptionImpl#getContextableElements Contextable Elements}
    • - *
    - * - * @generated - */ -public class ExpressionDescriptionImpl extends MinimalEObjectImpl.Container implements ExpressionDescription { - /** - * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected static final int LOWER_BOUND_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected int lowerBound = LOWER_BOUND_EDEFAULT; - - /** - * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected static final int UPPER_BOUND_EDEFAULT = 1; - - /** - * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected int upperBound = UPPER_BOUND_EDEFAULT; - - /** - * The cached value of the '{@link #getExpression() Expression}' reference. - * - * - * @see #getExpression() - * @generated - * @ordered - */ - protected EStructuralFeature expression; - - /** - * The cached value of the '{@link #getVariables() Variables}' reference list. - * - * - * @see #getVariables() - * @generated - * @ordered - */ - protected EList variables; - - /** - * The cached value of the '{@link #getReturnType() Return Type}' reference. - * - * - * @see #getReturnType() - * @generated - * @ordered - */ - protected EClassifier returnType; - - /** - * The default value of the '{@link #getLabel() Label}' attribute. - * - * - * @see #getLabel() - * @generated - * @ordered - */ - protected static final String LABEL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLabel() Label}' attribute. - * - * - * @see #getLabel() - * @generated - * @ordered - */ - protected String label = LABEL_EDEFAULT; - - /** - * The cached value of the '{@link #getContextableElements() Contextable Elements}' reference list. - * - * - * @see #getContextableElements() - * @generated - * @ordered - */ - protected EList contextableElements; - - /** - * - * - * @generated - */ - protected ExpressionDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ExpressionPackage.Literals.EXPRESSION_DESCRIPTION; - } - - /** - * - * - * @generated - */ - public int getLowerBound() { - return lowerBound; - } - - /** - * - * - * @generated - */ - public void setLowerBound(int newLowerBound) { - int oldLowerBound = lowerBound; - lowerBound = newLowerBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND, oldLowerBound, lowerBound)); - } - - /** - * - * - * @generated - */ - public int getUpperBound() { - return upperBound; - } - - /** - * - * - * @generated - */ - public void setUpperBound(int newUpperBound) { - int oldUpperBound = upperBound; - upperBound = newUpperBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND, oldUpperBound, upperBound)); - } - - /** - * - * - * @generated - */ - public EStructuralFeature getExpression() { - if (expression != null && expression.eIsProxy()) { - InternalEObject oldExpression = (InternalEObject)expression; - expression = (EStructuralFeature)eResolveProxy(oldExpression); - if (expression != oldExpression) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); - } - } - return expression; - } - - /** - * - * - * @generated - */ - public EStructuralFeature basicGetExpression() { - return expression; - } - - /** - * - * - * @generated - */ - public void setExpression(EStructuralFeature newExpression) { - EStructuralFeature oldExpression = expression; - expression = newExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); - } - - /** - * - * - * @generated - */ - public EList getVariables() { - if (variables == null) { - variables = new EObjectResolvingEList(Variable.class, this, ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES); - } - return variables; - } - - /** - * - * - * @generated - */ - public EClassifier getReturnType() { - if (returnType != null && returnType.eIsProxy()) { - InternalEObject oldReturnType = (InternalEObject)returnType; - returnType = (EClassifier)eResolveProxy(oldReturnType); - if (returnType != oldReturnType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE, oldReturnType, returnType)); - } - } - return returnType; - } - - /** - * - * - * @generated - */ - public EClassifier basicGetReturnType() { - return returnType; - } - - /** - * - * - * @generated - */ - public void setReturnType(EClassifier newReturnType) { - EClassifier oldReturnType = returnType; - returnType = newReturnType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE, oldReturnType, returnType)); - } - - /** - * - * - * @generated - */ - public String getLabel() { - return label; - } - - /** - * - * - * @generated - */ - public void setLabel(String newLabel) { - String oldLabel = label; - label = newLabel; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL, oldLabel, label)); - } - - /** - * - * - * @generated - */ - public EList getContextableElements() { - if (contextableElements == null) { - contextableElements = new EObjectResolvingEList(EClass.class, this, ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS); - } - return contextableElements; - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: - return getLowerBound(); - case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: - return getUpperBound(); - case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: - if (resolve) return getExpression(); - return basicGetExpression(); - case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: - return getVariables(); - case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: - if (resolve) return getReturnType(); - return basicGetReturnType(); - case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: - return getLabel(); - case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: - return getContextableElements(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: - setLowerBound((Integer)newValue); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: - setUpperBound((Integer)newValue); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: - setExpression((EStructuralFeature)newValue); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: - getVariables().clear(); - getVariables().addAll((Collection)newValue); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: - setReturnType((EClassifier)newValue); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: - setLabel((String)newValue); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: - getContextableElements().clear(); - getContextableElements().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: - setLowerBound(LOWER_BOUND_EDEFAULT); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: - setUpperBound(UPPER_BOUND_EDEFAULT); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: - setExpression((EStructuralFeature)null); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: - getVariables().clear(); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: - setReturnType((EClassifier)null); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: - setLabel(LABEL_EDEFAULT); - return; - case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: - getContextableElements().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ExpressionPackage.EXPRESSION_DESCRIPTION__LOWER_BOUND: - return lowerBound != LOWER_BOUND_EDEFAULT; - case ExpressionPackage.EXPRESSION_DESCRIPTION__UPPER_BOUND: - return upperBound != UPPER_BOUND_EDEFAULT; - case ExpressionPackage.EXPRESSION_DESCRIPTION__EXPRESSION: - return expression != null; - case ExpressionPackage.EXPRESSION_DESCRIPTION__VARIABLES: - return variables != null && !variables.isEmpty(); - case ExpressionPackage.EXPRESSION_DESCRIPTION__RETURN_TYPE: - return returnType != null; - case ExpressionPackage.EXPRESSION_DESCRIPTION__LABEL: - return LABEL_EDEFAULT == null ? label != null : !LABEL_EDEFAULT.equals(label); - case ExpressionPackage.EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS: - return contextableElements != null && !contextableElements.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (lowerBound: "); //$NON-NLS-1$ - result.append(lowerBound); - result.append(", upperBound: "); //$NON-NLS-1$ - result.append(upperBound); - result.append(", label: "); //$NON-NLS-1$ - result.append(label); - result.append(')'); - return result.toString(); - } - -} //ExpressionDescriptionImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java index 1472afaf4..4089664e4 100644 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java @@ -63,9 +63,10 @@ public class ExpressionFactoryImpl extends EFactoryImpl implements ExpressionFac public EObject create(EClass eClass) { switch (eClass.getClassifierID()) { case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE: return createSiriusExpressionPackage(); - case ExpressionPackage.EXPRESSION_DESCRIPTION: return createExpressionDescription(); - case ExpressionPackage.VARIABLE: return createVariable(); + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION: return createSiriusExpressionDescription(); + case ExpressionPackage.SIRIUS_VARIABLE: return createSiriusVariable(); case ExpressionPackage.SIRIUS_EXPRESSION_CLASS: return createSiriusExpressionClass(); + case ExpressionPackage.SIRIUS_PARAMETER: return createSiriusParameter(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ } @@ -124,9 +125,9 @@ public class ExpressionFactoryImpl extends EFactoryImpl implements ExpressionFac * * @generated */ - public ExpressionDescription createExpressionDescription() { - ExpressionDescriptionImpl expressionDescription = new ExpressionDescriptionImpl(); - return expressionDescription; + public SiriusExpressionDescription createSiriusExpressionDescription() { + SiriusExpressionDescriptionImpl siriusExpressionDescription = new SiriusExpressionDescriptionImpl(); + return siriusExpressionDescription; } /** @@ -134,9 +135,9 @@ public class ExpressionFactoryImpl extends EFactoryImpl implements ExpressionFac * * @generated */ - public Variable createVariable() { - VariableImpl variable = new VariableImpl(); - return variable; + public SiriusVariable createSiriusVariable() { + SiriusVariableImpl siriusVariable = new SiriusVariableImpl(); + return siriusVariable; } /** @@ -149,6 +150,16 @@ public class ExpressionFactoryImpl extends EFactoryImpl implements ExpressionFac return siriusExpressionClass; } + /** + * + * + * @generated + */ + public SiriusParameter createSiriusParameter() { + SiriusParameterImpl siriusParameter = new SiriusParameterImpl(); + return siriusParameter; + } + /** * * diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java index 73dc3f0d9..0d27cafc3 100644 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java @@ -13,14 +13,15 @@ import org.eclipse.emf.ecore.EDataType; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EcorePackage; import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.sirius.expression.ExpressionDescription; import org.eclipse.sirius.expression.ExpressionFactory; import org.eclipse.sirius.expression.ExpressionPackage; import org.eclipse.sirius.expression.SiriusExpressionClass; +import org.eclipse.sirius.expression.SiriusExpressionDescription; import org.eclipse.sirius.expression.SiriusExpressionPackage; -import org.eclipse.sirius.expression.Variable; +import org.eclipse.sirius.expression.SiriusParameter; +import org.eclipse.sirius.expression.SiriusVariable; /** * @@ -41,14 +42,14 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac * * @generated */ - private EClass expressionDescriptionEClass = null; + private EClass siriusExpressionDescriptionEClass = null; /** * * * @generated */ - private EClass variableEClass = null; + private EClass siriusVariableEClass = null; /** * @@ -57,6 +58,13 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac */ private EClass siriusExpressionClassEClass = null; + /** + * + * + * @generated + */ + private EClass siriusParameterEClass = null; + /** * * @@ -124,6 +132,9 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac isInited = true; + // Initialize simple dependencies + EcorePackage.eINSTANCE.eClass(); + // Create package meta-data objects theExpressionPackage.createPackageContents(); @@ -171,8 +182,8 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac * * @generated */ - public EClass getExpressionDescription() { - return expressionDescriptionEClass; + public EClass getSiriusExpressionDescription() { + return siriusExpressionDescriptionEClass; } /** @@ -180,8 +191,8 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac * * @generated */ - public EAttribute getExpressionDescription_LowerBound() { - return (EAttribute)expressionDescriptionEClass.getEStructuralFeatures().get(0); + public EAttribute getSiriusExpressionDescription_LowerBound() { + return (EAttribute)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(0); } /** @@ -189,8 +200,8 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac * * @generated */ - public EAttribute getExpressionDescription_UpperBound() { - return (EAttribute)expressionDescriptionEClass.getEStructuralFeatures().get(1); + public EAttribute getSiriusExpressionDescription_UpperBound() { + return (EAttribute)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(1); } /** @@ -198,8 +209,8 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac * * @generated */ - public EReference getExpressionDescription_Expression() { - return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(2); + public EReference getSiriusExpressionDescription_Expression() { + return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(2); } /** @@ -207,8 +218,8 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac * * @generated */ - public EReference getExpressionDescription_Variables() { - return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(3); + public EReference getSiriusExpressionDescription_Parameters() { + return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(3); } /** @@ -216,8 +227,8 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac * * @generated */ - public EReference getExpressionDescription_ReturnType() { - return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(4); + public EReference getSiriusExpressionDescription_ReturnType() { + return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(4); } /** @@ -225,8 +236,8 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac * * @generated */ - public EAttribute getExpressionDescription_Label() { - return (EAttribute)expressionDescriptionEClass.getEStructuralFeatures().get(5); + public EReference getSiriusExpressionDescription_VariableContainers() { + return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(5); } /** @@ -234,8 +245,8 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac * * @generated */ - public EReference getExpressionDescription_ContextableElements() { - return (EReference)expressionDescriptionEClass.getEStructuralFeatures().get(6); + public EClass getSiriusVariable() { + return siriusVariableEClass; } /** @@ -243,8 +254,8 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac * * @generated */ - public EClass getVariable() { - return variableEClass; + public EAttribute getSiriusVariable_Name() { + return (EAttribute)siriusVariableEClass.getEStructuralFeatures().get(0); } /** @@ -252,8 +263,8 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac * * @generated */ - public EAttribute getVariable_Name() { - return (EAttribute)variableEClass.getEStructuralFeatures().get(0); + public EAttribute getSiriusVariable_Documentation() { + return (EAttribute)siriusVariableEClass.getEStructuralFeatures().get(1); } /** @@ -261,8 +272,8 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac * * @generated */ - public EAttribute getVariable_Documentation() { - return (EAttribute)variableEClass.getEStructuralFeatures().get(1); + public EReference getSiriusVariable_EType() { + return (EReference)siriusVariableEClass.getEStructuralFeatures().get(2); } /** @@ -297,8 +308,35 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac * * @generated */ - public EAttribute getSiriusExpressionClass_Label() { - return (EAttribute)siriusExpressionClassEClass.getEStructuralFeatures().get(2); + public EReference getSiriusExpressionClass_EClass() { + return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getSiriusParameter() { + return siriusParameterEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusParameter_Optional() { + return (EAttribute)siriusParameterEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getSiriusParameter_Variable() { + return (EReference)siriusParameterEClass.getEStructuralFeatures().get(1); } /** @@ -360,23 +398,27 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EPACKAGE); - expressionDescriptionEClass = createEClass(EXPRESSION_DESCRIPTION); - createEAttribute(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__LOWER_BOUND); - createEAttribute(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__UPPER_BOUND); - createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__EXPRESSION); - createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__VARIABLES); - createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__RETURN_TYPE); - createEAttribute(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__LABEL); - createEReference(expressionDescriptionEClass, EXPRESSION_DESCRIPTION__CONTEXTABLE_ELEMENTS); + siriusExpressionDescriptionEClass = createEClass(SIRIUS_EXPRESSION_DESCRIPTION); + createEAttribute(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND); + createEAttribute(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND); + createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION); + createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS); + createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE); + createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS); - variableEClass = createEClass(VARIABLE); - createEAttribute(variableEClass, VARIABLE__NAME); - createEAttribute(variableEClass, VARIABLE__DOCUMENTATION); + siriusVariableEClass = createEClass(SIRIUS_VARIABLE); + createEAttribute(siriusVariableEClass, SIRIUS_VARIABLE__NAME); + createEAttribute(siriusVariableEClass, SIRIUS_VARIABLE__DOCUMENTATION); + createEReference(siriusVariableEClass, SIRIUS_VARIABLE__ETYPE); siriusExpressionClassEClass = createEClass(SIRIUS_EXPRESSION_CLASS); createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__VARIABLES); createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); - createEAttribute(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__LABEL); + createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__ECLASS); + + siriusParameterEClass = createEClass(SIRIUS_PARAMETER); + createEAttribute(siriusParameterEClass, SIRIUS_PARAMETER__OPTIONAL); + createEReference(siriusParameterEClass, SIRIUS_PARAMETER__VARIABLE); // Create data types voidEDataType = createEDataType(VOID); @@ -407,6 +449,9 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); + // Obtain other dependent packages + EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); + // Create type parameters // Set bounds for type parameters @@ -416,25 +461,29 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac // Initialize classes, features, and operations; add parameters initEClass(siriusExpressionPackageEClass, SiriusExpressionPackage.class, "SiriusExpressionPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference(getSiriusExpressionPackage_ExpressionClasses(), this.getSiriusExpressionClass(), null, "expressionClasses", null, 0, -1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getSiriusExpressionPackage_EPackage(), ecorePackage.getEPackage(), null, "ePackage", null, 0, 1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionPackage_EPackage(), theEcorePackage.getEPackage(), null, "ePackage", null, 0, 1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEClass(expressionDescriptionEClass, ExpressionDescription.class, "ExpressionDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getExpressionDescription_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getExpressionDescription_UpperBound(), ecorePackage.getEInt(), "upperBound", "1", 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - initEReference(getExpressionDescription_Expression(), ecorePackage.getEStructuralFeature(), null, "expression", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getExpressionDescription_Variables(), this.getVariable(), null, "variables", null, 0, -1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getExpressionDescription_ReturnType(), ecorePackage.getEClassifier(), null, "returnType", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getExpressionDescription_Label(), ecorePackage.getEString(), "label", null, 0, 1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getExpressionDescription_ContextableElements(), ecorePackage.getEClass(), null, "contextableElements", null, 0, -1, ExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEClass(siriusExpressionDescriptionEClass, SiriusExpressionDescription.class, "SiriusExpressionDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getSiriusExpressionDescription_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getSiriusExpressionDescription_UpperBound(), ecorePackage.getEInt(), "upperBound", "1", 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ + initEReference(getSiriusExpressionDescription_Expression(), theEcorePackage.getEStructuralFeature(), null, "expression", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionDescription_Parameters(), this.getSiriusParameter(), null, "parameters", null, 0, -1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionDescription_ReturnType(), theEcorePackage.getEClassifier(), null, "returnType", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionDescription_VariableContainers(), theEcorePackage.getEClass(), null, "variableContainers", null, 0, -1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getVariable_Name(), ecorePackage.getEString(), "name", null, 0, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getVariable_Documentation(), ecorePackage.getEString(), "documentation", null, 0, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEClass(siriusVariableEClass, SiriusVariable.class, "SiriusVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getSiriusVariable_Name(), ecorePackage.getEString(), "name", null, 0, 1, SiriusVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getSiriusVariable_Documentation(), ecorePackage.getEString(), "documentation", null, 0, 1, SiriusVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusVariable_EType(), theEcorePackage.getEClassifier(), null, "eType", null, 0, 1, SiriusVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(siriusExpressionClassEClass, SiriusExpressionClass.class, "SiriusExpressionClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getSiriusExpressionClass_Variables(), this.getVariable(), null, "variables", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getSiriusExpressionClass_ExpressionDescriptions(), this.getExpressionDescription(), null, "expressionDescriptions", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getSiriusExpressionClass_Label(), ecorePackage.getEString(), "label", null, 0, 1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionClass_Variables(), this.getSiriusVariable(), null, "variables", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionClass_ExpressionDescriptions(), this.getSiriusExpressionDescription(), null, "expressionDescriptions", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionClass_EClass(), theEcorePackage.getEClass(), null, "eClass", null, 0, 1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + initEClass(siriusParameterEClass, SiriusParameter.class, "SiriusParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getSiriusParameter_Optional(), ecorePackage.getEBoolean(), "optional", null, 0, 1, SiriusParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusParameter_Variable(), this.getSiriusVariable(), null, "variable", null, 0, 1, SiriusParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ // Initialize data types initEDataType(voidEDataType, Void.class, "Void", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java index 27c018907..48537ebd3 100644 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java @@ -22,11 +22,10 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; import org.eclipse.emf.ecore.util.EObjectContainmentEList; import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.sirius.expression.ExpressionDescription; import org.eclipse.sirius.expression.ExpressionPackage; import org.eclipse.sirius.expression.SiriusExpressionClass; -import org.eclipse.sirius.expression.Variable; +import org.eclipse.sirius.expression.SiriusExpressionDescription; +import org.eclipse.sirius.expression.SiriusVariable; /** * @@ -38,7 +37,7 @@ import org.eclipse.sirius.expression.Variable; *
      *
    • {@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl#getVariables Variables}
    • *
    • {@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl#getExpressionDescriptions Expression Descriptions}
    • - *
    • {@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl#getLabel Label}
    • + *
    • {@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl#getEClass EClass}
    • *
    * * @generated @@ -52,7 +51,7 @@ public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container impl * @generated * @ordered */ - protected EList variables; + protected EList variables; /** * The cached value of the '{@link #getExpressionDescriptions() Expression Descriptions}' containment reference list. @@ -62,27 +61,17 @@ public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container impl * @generated * @ordered */ - protected EList expressionDescriptions; + protected EList expressionDescriptions; /** - * The default value of the '{@link #getLabel() Label}' attribute. + * The cached value of the '{@link #getEClass() EClass}' reference. * * - * @see #getLabel() + * @see #getEClass() * @generated * @ordered */ - protected static final String LABEL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLabel() Label}' attribute. - * - * - * @see #getLabel() - * @generated - * @ordered - */ - protected String label = LABEL_EDEFAULT; + protected EClass eClass; /** * @@ -108,9 +97,9 @@ public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container impl * * @generated */ - public EList getVariables() { + public EList getVariables() { if (variables == null) { - variables = new EObjectContainmentEList.Resolving(Variable.class, this, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES); + variables = new EObjectContainmentEList.Resolving(SiriusVariable.class, this, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES); } return variables; } @@ -120,9 +109,9 @@ public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container impl * * @generated */ - public EList getExpressionDescriptions() { + public EList getExpressionDescriptions() { if (expressionDescriptions == null) { - expressionDescriptions = new EObjectContainmentEList.Resolving(ExpressionDescription.class, this, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); + expressionDescriptions = new EObjectContainmentEList.Resolving(SiriusExpressionDescription.class, this, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); } return expressionDescriptions; } @@ -132,8 +121,16 @@ public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container impl * * @generated */ - public String getLabel() { - return label; + public EClass getEClass() { + if (eClass != null && eClass.eIsProxy()) { + InternalEObject oldEClass = (InternalEObject)eClass; + eClass = (EClass)eResolveProxy(oldEClass); + if (eClass != oldEClass) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS, oldEClass, eClass)); + } + } + return eClass; } /** @@ -141,11 +138,20 @@ public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container impl * * @generated */ - public void setLabel(String newLabel) { - String oldLabel = label; - label = newLabel; + public EClass basicGetEClass() { + return eClass; + } + + /** + * + * + * @generated + */ + public void setEClass(EClass newEClass) { + EClass oldEClass = eClass; + eClass = newEClass; if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL, oldLabel, label)); + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS, oldEClass, eClass)); } /** @@ -176,8 +182,9 @@ public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container impl return getVariables(); case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: return getExpressionDescriptions(); - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: - return getLabel(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: + if (resolve) return getEClass(); + return basicGetEClass(); } return super.eGet(featureID, resolve, coreType); } @@ -193,14 +200,14 @@ public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container impl switch (featureID) { case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: getVariables().clear(); - getVariables().addAll((Collection)newValue); + getVariables().addAll((Collection)newValue); return; case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: getExpressionDescriptions().clear(); - getExpressionDescriptions().addAll((Collection)newValue); + getExpressionDescriptions().addAll((Collection)newValue); return; - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: - setLabel((String)newValue); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: + setEClass((EClass)newValue); return; } super.eSet(featureID, newValue); @@ -220,8 +227,8 @@ public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container impl case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: getExpressionDescriptions().clear(); return; - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: - setLabel(LABEL_EDEFAULT); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: + setEClass((EClass)null); return; } super.eUnset(featureID); @@ -239,26 +246,10 @@ public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container impl return variables != null && !variables.isEmpty(); case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: return expressionDescriptions != null && !expressionDescriptions.isEmpty(); - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__LABEL: - return LABEL_EDEFAULT == null ? label != null : !LABEL_EDEFAULT.equals(label); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: + return eClass != null; } return super.eIsSet(featureID); } - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (label: "); //$NON-NLS-1$ - result.append(label); - result.append(')'); - return result.toString(); - } - } //SiriusExpressionClassImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionDescriptionImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionDescriptionImpl.java new file mode 100644 index 000000000..8c0eea732 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionDescriptionImpl.java @@ -0,0 +1,438 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.EObjectResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionDescription; +import org.eclipse.sirius.expression.SiriusParameter; + +/** + * + * An implementation of the model object 'Sirius Expression Description'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getUpperBound Upper Bound}
    • + *
    • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getExpression Expression}
    • + *
    • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getParameters Parameters}
    • + *
    • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getReturnType Return Type}
    • + *
    • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getVariableContainers Variable Containers}
    • + *
    + * + * @generated + */ +public class SiriusExpressionDescriptionImpl extends MinimalEObjectImpl.Container implements SiriusExpressionDescription { + /** + * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected static final int LOWER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected int lowerBound = LOWER_BOUND_EDEFAULT; + + /** + * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected static final int UPPER_BOUND_EDEFAULT = 1; + + /** + * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected int upperBound = UPPER_BOUND_EDEFAULT; + + /** + * The cached value of the '{@link #getExpression() Expression}' reference. + * + * + * @see #getExpression() + * @generated + * @ordered + */ + protected EStructuralFeature expression; + + /** + * The cached value of the '{@link #getParameters() Parameters}' containment reference list. + * + * + * @see #getParameters() + * @generated + * @ordered + */ + protected EList parameters; + + /** + * The cached value of the '{@link #getReturnType() Return Type}' reference. + * + * + * @see #getReturnType() + * @generated + * @ordered + */ + protected EClassifier returnType; + + /** + * The cached value of the '{@link #getVariableContainers() Variable Containers}' reference list. + * + * + * @see #getVariableContainers() + * @generated + * @ordered + */ + protected EList variableContainers; + + /** + * + * + * @generated + */ + protected SiriusExpressionDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION; + } + + /** + * + * + * @generated + */ + public int getLowerBound() { + return lowerBound; + } + + /** + * + * + * @generated + */ + public void setLowerBound(int newLowerBound) { + int oldLowerBound = lowerBound; + lowerBound = newLowerBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND, oldLowerBound, lowerBound)); + } + + /** + * + * + * @generated + */ + public int getUpperBound() { + return upperBound; + } + + /** + * + * + * @generated + */ + public void setUpperBound(int newUpperBound) { + int oldUpperBound = upperBound; + upperBound = newUpperBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND, oldUpperBound, upperBound)); + } + + /** + * + * + * @generated + */ + public EStructuralFeature getExpression() { + if (expression != null && expression.eIsProxy()) { + InternalEObject oldExpression = (InternalEObject)expression; + expression = (EStructuralFeature)eResolveProxy(oldExpression); + if (expression != oldExpression) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); + } + } + return expression; + } + + /** + * + * + * @generated + */ + public EStructuralFeature basicGetExpression() { + return expression; + } + + /** + * + * + * @generated + */ + public void setExpression(EStructuralFeature newExpression) { + EStructuralFeature oldExpression = expression; + expression = newExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); + } + + /** + * + * + * @generated + */ + public EList getParameters() { + if (parameters == null) { + parameters = new EObjectContainmentEList.Resolving(SiriusParameter.class, this, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS); + } + return parameters; + } + + /** + * + * + * @generated + */ + public EClassifier getReturnType() { + if (returnType != null && returnType.eIsProxy()) { + InternalEObject oldReturnType = (InternalEObject)returnType; + returnType = (EClassifier)eResolveProxy(oldReturnType); + if (returnType != oldReturnType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE, oldReturnType, returnType)); + } + } + return returnType; + } + + /** + * + * + * @generated + */ + public EClassifier basicGetReturnType() { + return returnType; + } + + /** + * + * + * @generated + */ + public void setReturnType(EClassifier newReturnType) { + EClassifier oldReturnType = returnType; + returnType = newReturnType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE, oldReturnType, returnType)); + } + + /** + * + * + * @generated + */ + public EList getVariableContainers() { + if (variableContainers == null) { + variableContainers = new EObjectResolvingEList(EClass.class, this, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS); + } + return variableContainers; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + return ((InternalEList)getParameters()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: + return getLowerBound(); + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: + return getUpperBound(); + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: + if (resolve) return getExpression(); + return basicGetExpression(); + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + return getParameters(); + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE: + if (resolve) return getReturnType(); + return basicGetReturnType(); + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS: + return getVariableContainers(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: + setLowerBound((Integer)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: + setUpperBound((Integer)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: + setExpression((EStructuralFeature)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + getParameters().clear(); + getParameters().addAll((Collection)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE: + setReturnType((EClassifier)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS: + getVariableContainers().clear(); + getVariableContainers().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: + setLowerBound(LOWER_BOUND_EDEFAULT); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: + setUpperBound(UPPER_BOUND_EDEFAULT); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: + setExpression((EStructuralFeature)null); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + getParameters().clear(); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE: + setReturnType((EClassifier)null); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS: + getVariableContainers().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: + return lowerBound != LOWER_BOUND_EDEFAULT; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: + return upperBound != UPPER_BOUND_EDEFAULT; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: + return expression != null; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + return parameters != null && !parameters.isEmpty(); + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE: + return returnType != null; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS: + return variableContainers != null && !variableContainers.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (lowerBound: "); //$NON-NLS-1$ + result.append(lowerBound); + result.append(", upperBound: "); //$NON-NLS-1$ + result.append(upperBound); + result.append(')'); + return result.toString(); + } + +} //SiriusExpressionDescriptionImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusParameterImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusParameterImpl.java new file mode 100644 index 000000000..e14414316 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusParameterImpl.java @@ -0,0 +1,230 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusParameter; +import org.eclipse.sirius.expression.SiriusVariable; + +/** + * + * An implementation of the model object 'Sirius Parameter'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.impl.SiriusParameterImpl#isOptional Optional}
    • + *
    • {@link org.eclipse.sirius.expression.impl.SiriusParameterImpl#getVariable Variable}
    • + *
    + * + * @generated + */ +public class SiriusParameterImpl extends MinimalEObjectImpl.Container implements SiriusParameter { + /** + * The default value of the '{@link #isOptional() Optional}' attribute. + * + * + * @see #isOptional() + * @generated + * @ordered + */ + protected static final boolean OPTIONAL_EDEFAULT = false; + + /** + * The cached value of the '{@link #isOptional() Optional}' attribute. + * + * + * @see #isOptional() + * @generated + * @ordered + */ + protected boolean optional = OPTIONAL_EDEFAULT; + + /** + * The cached value of the '{@link #getVariable() Variable}' reference. + * + * + * @see #getVariable() + * @generated + * @ordered + */ + protected SiriusVariable variable; + + /** + * + * + * @generated + */ + protected SiriusParameterImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.SIRIUS_PARAMETER; + } + + /** + * + * + * @generated + */ + public boolean isOptional() { + return optional; + } + + /** + * + * + * @generated + */ + public void setOptional(boolean newOptional) { + boolean oldOptional = optional; + optional = newOptional; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL, oldOptional, optional)); + } + + /** + * + * + * @generated + */ + public SiriusVariable getVariable() { + if (variable != null && variable.eIsProxy()) { + InternalEObject oldVariable = (InternalEObject)variable; + variable = (SiriusVariable)eResolveProxy(oldVariable); + if (variable != oldVariable) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_PARAMETER__VARIABLE, oldVariable, variable)); + } + } + return variable; + } + + /** + * + * + * @generated + */ + public SiriusVariable basicGetVariable() { + return variable; + } + + /** + * + * + * @generated + */ + public void setVariable(SiriusVariable newVariable) { + SiriusVariable oldVariable = variable; + variable = newVariable; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_PARAMETER__VARIABLE, oldVariable, variable)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL: + return isOptional(); + case ExpressionPackage.SIRIUS_PARAMETER__VARIABLE: + if (resolve) return getVariable(); + return basicGetVariable(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL: + setOptional((Boolean)newValue); + return; + case ExpressionPackage.SIRIUS_PARAMETER__VARIABLE: + setVariable((SiriusVariable)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL: + setOptional(OPTIONAL_EDEFAULT); + return; + case ExpressionPackage.SIRIUS_PARAMETER__VARIABLE: + setVariable((SiriusVariable)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL: + return optional != OPTIONAL_EDEFAULT; + case ExpressionPackage.SIRIUS_PARAMETER__VARIABLE: + return variable != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (optional: "); //$NON-NLS-1$ + result.append(optional); + result.append(')'); + return result.toString(); + } + +} //SiriusParameterImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusVariableImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusVariableImpl.java new file mode 100644 index 000000000..283c24631 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusVariableImpl.java @@ -0,0 +1,284 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusVariable; + +/** + * + * An implementation of the model object 'Sirius Variable'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.sirius.expression.impl.SiriusVariableImpl#getName Name}
    • + *
    • {@link org.eclipse.sirius.expression.impl.SiriusVariableImpl#getDocumentation Documentation}
    • + *
    • {@link org.eclipse.sirius.expression.impl.SiriusVariableImpl#getEType EType}
    • + *
    + * + * @generated + */ +public class SiriusVariableImpl extends MinimalEObjectImpl.Container implements SiriusVariable { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected static final String DOCUMENTATION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected String documentation = DOCUMENTATION_EDEFAULT; + + /** + * The cached value of the '{@link #getEType() EType}' reference. + * + * + * @see #getEType() + * @generated + * @ordered + */ + protected EClassifier eType; + + /** + * + * + * @generated + */ + protected SiriusVariableImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.SIRIUS_VARIABLE; + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_VARIABLE__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + public String getDocumentation() { + return documentation; + } + + /** + * + * + * @generated + */ + public void setDocumentation(String newDocumentation) { + String oldDocumentation = documentation; + documentation = newDocumentation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION, oldDocumentation, documentation)); + } + + /** + * + * + * @generated + */ + public EClassifier getEType() { + if (eType != null && eType.eIsProxy()) { + InternalEObject oldEType = (InternalEObject)eType; + eType = (EClassifier)eResolveProxy(oldEType); + if (eType != oldEType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_VARIABLE__ETYPE, oldEType, eType)); + } + } + return eType; + } + + /** + * + * + * @generated + */ + public EClassifier basicGetEType() { + return eType; + } + + /** + * + * + * @generated + */ + public void setEType(EClassifier newEType) { + EClassifier oldEType = eType; + eType = newEType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_VARIABLE__ETYPE, oldEType, eType)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.SIRIUS_VARIABLE__NAME: + return getName(); + case ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION: + return getDocumentation(); + case ExpressionPackage.SIRIUS_VARIABLE__ETYPE: + if (resolve) return getEType(); + return basicGetEType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.SIRIUS_VARIABLE__NAME: + setName((String)newValue); + return; + case ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION: + setDocumentation((String)newValue); + return; + case ExpressionPackage.SIRIUS_VARIABLE__ETYPE: + setEType((EClassifier)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_VARIABLE__NAME: + setName(NAME_EDEFAULT); + return; + case ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION: + setDocumentation(DOCUMENTATION_EDEFAULT); + return; + case ExpressionPackage.SIRIUS_VARIABLE__ETYPE: + setEType((EClassifier)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_VARIABLE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION: + return DOCUMENTATION_EDEFAULT == null ? documentation != null : !DOCUMENTATION_EDEFAULT.equals(documentation); + case ExpressionPackage.SIRIUS_VARIABLE__ETYPE: + return eType != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); //$NON-NLS-1$ + result.append(name); + result.append(", documentation: "); //$NON-NLS-1$ + result.append(documentation); + result.append(')'); + return result.toString(); + } + +} //SiriusVariableImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/VariableImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/VariableImpl.java deleted file mode 100644 index 1a2326d60..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/VariableImpl.java +++ /dev/null @@ -1,222 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.Variable; - -/** - * - * An implementation of the model object 'Variable'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.sirius.expression.impl.VariableImpl#getName Name}
    • - *
    • {@link org.eclipse.sirius.expression.impl.VariableImpl#getDocumentation Documentation}
    • - *
    - * - * @generated - */ -public class VariableImpl extends MinimalEObjectImpl.Container implements Variable { - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getDocumentation() Documentation}' attribute. - * - * - * @see #getDocumentation() - * @generated - * @ordered - */ - protected static final String DOCUMENTATION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDocumentation() Documentation}' attribute. - * - * - * @see #getDocumentation() - * @generated - * @ordered - */ - protected String documentation = DOCUMENTATION_EDEFAULT; - - /** - * - * - * @generated - */ - protected VariableImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ExpressionPackage.Literals.VARIABLE; - } - - /** - * - * - * @generated - */ - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.VARIABLE__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - public String getDocumentation() { - return documentation; - } - - /** - * - * - * @generated - */ - public void setDocumentation(String newDocumentation) { - String oldDocumentation = documentation; - documentation = newDocumentation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.VARIABLE__DOCUMENTATION, oldDocumentation, documentation)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ExpressionPackage.VARIABLE__NAME: - return getName(); - case ExpressionPackage.VARIABLE__DOCUMENTATION: - return getDocumentation(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ExpressionPackage.VARIABLE__NAME: - setName((String)newValue); - return; - case ExpressionPackage.VARIABLE__DOCUMENTATION: - setDocumentation((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ExpressionPackage.VARIABLE__NAME: - setName(NAME_EDEFAULT); - return; - case ExpressionPackage.VARIABLE__DOCUMENTATION: - setDocumentation(DOCUMENTATION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ExpressionPackage.VARIABLE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case ExpressionPackage.VARIABLE__DOCUMENTATION: - return DOCUMENTATION_EDEFAULT == null ? documentation != null : !DOCUMENTATION_EDEFAULT.equals(documentation); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); //$NON-NLS-1$ - result.append(name); - result.append(", documentation: "); //$NON-NLS-1$ - result.append(documentation); - result.append(')'); - return result.toString(); - } - -} //VariableImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java index ddfda92fe..15d39b9fc 100644 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java @@ -77,18 +77,22 @@ public class ExpressionAdapterFactory extends AdapterFactoryImpl { return createSiriusExpressionPackageAdapter(); } @Override - public Adapter caseExpressionDescription(ExpressionDescription object) { - return createExpressionDescriptionAdapter(); + public Adapter caseSiriusExpressionDescription(SiriusExpressionDescription object) { + return createSiriusExpressionDescriptionAdapter(); } @Override - public Adapter caseVariable(Variable object) { - return createVariableAdapter(); + public Adapter caseSiriusVariable(SiriusVariable object) { + return createSiriusVariableAdapter(); } @Override public Adapter caseSiriusExpressionClass(SiriusExpressionClass object) { return createSiriusExpressionClassAdapter(); } @Override + public Adapter caseSiriusParameter(SiriusParameter object) { + return createSiriusParameterAdapter(); + } + @Override public Adapter defaultCase(EObject object) { return createEObjectAdapter(); } @@ -123,30 +127,30 @@ public class ExpressionAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.ExpressionDescription Description}'. + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.SiriusExpressionDescription Sirius Expression Description}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see org.eclipse.sirius.expression.ExpressionDescription + * @see org.eclipse.sirius.expression.SiriusExpressionDescription * @generated */ - public Adapter createExpressionDescriptionAdapter() { + public Adapter createSiriusExpressionDescriptionAdapter() { return null; } /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.Variable Variable}'. + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.SiriusVariable Sirius Variable}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see org.eclipse.sirius.expression.Variable + * @see org.eclipse.sirius.expression.SiriusVariable * @generated */ - public Adapter createVariableAdapter() { + public Adapter createSiriusVariableAdapter() { return null; } @@ -164,6 +168,20 @@ public class ExpressionAdapterFactory extends AdapterFactoryImpl { return null; } + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.SiriusParameter Sirius Parameter}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.SiriusParameter + * @generated + */ + public Adapter createSiriusParameterAdapter() { + return null; + } + /** * Creates a new adapter for the default case. * diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java index affcf41b8..47577a709 100644 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java @@ -77,15 +77,15 @@ public class ExpressionSwitch extends Switch { if (result == null) result = defaultCase(theEObject); return result; } - case ExpressionPackage.EXPRESSION_DESCRIPTION: { - ExpressionDescription expressionDescription = (ExpressionDescription)theEObject; - T result = caseExpressionDescription(expressionDescription); + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION: { + SiriusExpressionDescription siriusExpressionDescription = (SiriusExpressionDescription)theEObject; + T result = caseSiriusExpressionDescription(siriusExpressionDescription); if (result == null) result = defaultCase(theEObject); return result; } - case ExpressionPackage.VARIABLE: { - Variable variable = (Variable)theEObject; - T result = caseVariable(variable); + case ExpressionPackage.SIRIUS_VARIABLE: { + SiriusVariable siriusVariable = (SiriusVariable)theEObject; + T result = caseSiriusVariable(siriusVariable); if (result == null) result = defaultCase(theEObject); return result; } @@ -95,6 +95,12 @@ public class ExpressionSwitch extends Switch { if (result == null) result = defaultCase(theEObject); return result; } + case ExpressionPackage.SIRIUS_PARAMETER: { + SiriusParameter siriusParameter = (SiriusParameter)theEObject; + T result = caseSiriusParameter(siriusParameter); + if (result == null) result = defaultCase(theEObject); + return result; + } default: return defaultCase(theEObject); } } @@ -115,32 +121,32 @@ public class ExpressionSwitch extends Switch { } /** - * Returns the result of interpreting the object as an instance of 'Description'. + * Returns the result of interpreting the object as an instance of 'Sirius Expression Description'. * * This implementation returns null; * returning a non-null result will terminate the switch. * * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Description'. + * @return the result of interpreting the object as an instance of 'Sirius Expression Description'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseExpressionDescription(ExpressionDescription object) { + public T caseSiriusExpressionDescription(SiriusExpressionDescription object) { return null; } /** - * Returns the result of interpreting the object as an instance of 'Variable'. + * Returns the result of interpreting the object as an instance of 'Sirius Variable'. * * This implementation returns null; * returning a non-null result will terminate the switch. * * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Variable'. + * @return the result of interpreting the object as an instance of 'Sirius Variable'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseVariable(Variable object) { + public T caseSiriusVariable(SiriusVariable object) { return null; } @@ -159,6 +165,21 @@ public class ExpressionSwitch extends Switch { return null; } + /** + * Returns the result of interpreting the object as an instance of 'Sirius Parameter'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Parameter'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusParameter(SiriusParameter object) { + return null; + } + /** * Returns the result of interpreting the object as an instance of 'EObject'. * diff --git a/plugins/org.eclipse.sirius.validation/about.html b/plugins/org.eclipse.sirius.validation/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.sirius.validation/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

    About This Content

    + +

    June 15, 2010

    +

    License

    + +

    The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

    + +

    If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

    + + + \ No newline at end of file diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/about.html b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.custom/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

    About This Content

    + +

    June 15, 2010

    +

    License

    + +

    The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

    + +

    If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

    + + + \ No newline at end of file diff --git a/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/about.html b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/samples/sirius-custom-editor/org.eclipse.sirius.editor.properties/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

    About This Content

    + +

    June 15, 2010

    +

    License

    + +

    The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

    + +

    If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

    + + + \ No newline at end of file diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/about.html b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

    About This Content

    + +

    June 15, 2010

    +

    License

    + +

    The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

    + +

    If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

    + + + \ No newline at end of file diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/.classpath b/tests/org.eclipse.sirius.expression.dsl.tests/.classpath deleted file mode 100644 index 9081d4f70..000000000 --- a/tests/org.eclipse.sirius.expression.dsl.tests/.classpath +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/.project b/tests/org.eclipse.sirius.expression.dsl.tests/.project deleted file mode 100644 index f8e7b17bb..000000000 --- a/tests/org.eclipse.sirius.expression.dsl.tests/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.eclipse.sirius.expression.dsl.tests - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - org.eclipse.xtext.ui.shared.xtextNature - - diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c020..000000000 --- a/tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0c68a61dc..000000000 --- a/tests/org.eclipse.sirius.expression.dsl.tests/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.sirius.expression.dsl.tests/META-INF/MANIFEST.MF deleted file mode 100644 index 5b9487a95..000000000 --- a/tests/org.eclipse.sirius.expression.dsl.tests/META-INF/MANIFEST.MF +++ /dev/null @@ -1,24 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: org.eclipse.sirius.expression.dsl.tests -Bundle-Vendor: My Company -Bundle-Version: 1.0.0.qualifier -Bundle-SymbolicName: org.eclipse.sirius.expression.dsl.tests; singleton:=true -Bundle-ActivationPolicy: lazy -Require-Bundle: org.eclipse.sirius.expression.dsl, - org.eclipse.sirius.expression.dsl.ui, - org.eclipse.core.runtime, - org.eclipse.xtext.junit4, - org.eclipse.xtext.xbase.lib, - org.eclipse.ui.workbench;resolution:=optional, - org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional -Import-Package: org.apache.log4j, - org.junit;version="4.5.0", - org.junit.runner;version="4.5.0", - org.junit.runner.manipulation;version="4.5.0", - org.junit.runner.notification;version="4.5.0", - org.junit.runners;version="4.5.0", - org.junit.runners.model;version="4.5.0", - org.hamcrest.core -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: org.eclipse.sirius.expression.dsl diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/build.properties b/tests/org.eclipse.sirius.expression.dsl.tests/build.properties deleted file mode 100644 index c22eebe28..000000000 --- a/tests/org.eclipse.sirius.expression.dsl.tests/build.properties +++ /dev/null @@ -1,5 +0,0 @@ -source.. = src/,\ - src-gen/,\ - xtend-gen/ -bin.includes = META-INF/,\ - . diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/org.eclipse.sirius.expression.dsl.tests.launch b/tests/org.eclipse.sirius.expression.dsl.tests/org.eclipse.sirius.expression.dsl.tests.launch deleted file mode 100644 index 377fd6b45..000000000 --- a/tests/org.eclipse.sirius.expression.dsl.tests/org.eclipse.sirius.expression.dsl.tests.launch +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLInjectorProvider.java b/tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLInjectorProvider.java deleted file mode 100644 index 1ec490a01..000000000 --- a/tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLInjectorProvider.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl; - -import org.eclipse.xtext.junit4.GlobalRegistries; -import org.eclipse.xtext.junit4.GlobalRegistries.GlobalStateMemento; -import org.eclipse.xtext.junit4.IInjectorProvider; -import org.eclipse.xtext.junit4.IRegistryConfigurator; - -import com.google.inject.Injector; - -public class ExpressionDSLInjectorProvider implements IInjectorProvider, IRegistryConfigurator { - - protected GlobalStateMemento stateBeforeInjectorCreation; - protected GlobalStateMemento stateAfterInjectorCreation; - protected Injector injector; - - static { - GlobalRegistries.initializeDefaults(); - } - - @Override - public Injector getInjector() - { - if (injector == null) { - stateBeforeInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); - this.injector = internalCreateInjector(); - stateAfterInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); - } - return injector; - } - - protected Injector internalCreateInjector() { - return new ExpressionDSLStandaloneSetup().createInjectorAndDoEMFRegistration(); - } - - @Override - public void restoreRegistry() { - stateBeforeInjectorCreation.restoreGlobalState(); - } - - @Override - public void setupRegistry() { - getInjector(); - stateAfterInjectorCreation.restoreGlobalState(); - } -} diff --git a/tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLUiInjectorProvider.java b/tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLUiInjectorProvider.java deleted file mode 100644 index 439f58e07..000000000 --- a/tests/org.eclipse.sirius.expression.dsl.tests/src-gen/org/eclipse/sirius/expression/dsl/ExpressionDSLUiInjectorProvider.java +++ /dev/null @@ -1,17 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.dsl; - -import org.eclipse.xtext.junit4.IInjectorProvider; - -import com.google.inject.Injector; - -public class ExpressionDSLUiInjectorProvider implements IInjectorProvider { - - @Override - public Injector getInjector() { - return org.eclipse.sirius.expression.dsl.ui.internal.ExpressionDSLActivator.getInstance().getInjector("org.eclipse.sirius.expression.dsl.ExpressionDSL"); - } - -} -- cgit v1.2.3 From b86cbf377d6ab749f74e74b7e2f502eb9c2ea5c4 Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Thu, 22 Oct 2015 16:24:55 +0200 Subject: Update eef metamodel to support validation substatus Change-Id: I811ba678ddd85dabc6b2532cad22a429000a7986 Signed-off-by: Mélanie Bats --- .../model/validation.aird | 43 +++++++++++++++++++++- .../model/validation.ecore | 2 + .../model/validation.genmodel | 1 + 3 files changed, 44 insertions(+), 2 deletions(-) diff --git a/plugins/org.eclipse.sirius.validation/model/validation.aird b/plugins/org.eclipse.sirius.validation/model/validation.aird index d82413302..297210e95 100644 --- a/plugins/org.eclipse.sirius.validation/model/validation.aird +++ b/plugins/org.eclipse.sirius.validation/model/validation.aird @@ -5,7 +5,17 @@ - + + + + + + + + + + + @@ -69,9 +79,25 @@ + + + + + + + + + + + + + + + + - + KEEP_LOCATION @@ -169,6 +195,19 @@ + + + + + + labelSize + + + labelSize + + + + diff --git a/plugins/org.eclipse.sirius.validation/model/validation.ecore b/plugins/org.eclipse.sirius.validation/model/validation.ecore index a0ec637b3..b5b5a53db 100644 --- a/plugins/org.eclipse.sirius.validation/model/validation.ecore +++ b/plugins/org.eclipse.sirius.validation/model/validation.ecore @@ -6,6 +6,8 @@ +
    diff --git a/plugins/org.eclipse.sirius.validation/model/validation.genmodel b/plugins/org.eclipse.sirius.validation/model/validation.genmodel index db3f7288f..1e273a95a 100644 --- a/plugins/org.eclipse.sirius.validation/model/validation.genmodel +++ b/plugins/org.eclipse.sirius.validation/model/validation.genmodel @@ -19,6 +19,7 @@ + -- cgit v1.2.3 From 0bc454a8d59cdd221331073d6b9d9a864bdf17ba Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Thu, 22 Oct 2015 16:12:24 +0200 Subject: Update eef metamodel to manage quickfix and actions on table Change-Id: I8249356b6297d477b1e51ce1b2731f2df0e71261 Signed-off-by: Mélanie Bats --- plugins/org.eclipse.eef.expression/.classpath | 7 + plugins/org.eclipse.eef.expression/.project | 34 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 16 + plugins/org.eclipse.eef.expression/about.html | 28 + .../org.eclipse.eef.expression/build.properties | 13 + plugins/org.eclipse.eef.expression/eef.expression | 568 +++++++++++++++ .../org.eclipse.eef.expression/plugin.properties | 9 + .../src/eef/expression/Activator.java | 60 ++ plugins/org.eclipse.eef/model/EEFExpression.xmi | 758 --------------------- plugins/org.eclipse.eef/model/eef.ecore | 34 +- plugins/org.eclipse.eef/model/eef.expressions | 553 --------------- 12 files changed, 766 insertions(+), 1321 deletions(-) create mode 100644 plugins/org.eclipse.eef.expression/.classpath create mode 100644 plugins/org.eclipse.eef.expression/.project create mode 100644 plugins/org.eclipse.eef.expression/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.eclipse.eef.expression/META-INF/MANIFEST.MF create mode 100644 plugins/org.eclipse.eef.expression/about.html create mode 100644 plugins/org.eclipse.eef.expression/build.properties create mode 100644 plugins/org.eclipse.eef.expression/eef.expression create mode 100644 plugins/org.eclipse.eef.expression/plugin.properties create mode 100644 plugins/org.eclipse.eef.expression/src/eef/expression/Activator.java delete mode 100644 plugins/org.eclipse.eef/model/EEFExpression.xmi delete mode 100644 plugins/org.eclipse.eef/model/eef.expressions diff --git a/plugins/org.eclipse.eef.expression/.classpath b/plugins/org.eclipse.eef.expression/.classpath new file mode 100644 index 000000000..ad32c83a7 --- /dev/null +++ b/plugins/org.eclipse.eef.expression/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/org.eclipse.eef.expression/.project b/plugins/org.eclipse.eef.expression/.project new file mode 100644 index 000000000..6e19e124c --- /dev/null +++ b/plugins/org.eclipse.eef.expression/.project @@ -0,0 +1,34 @@ + + + org.eclipse.eef.expression + + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + org.eclipse.xtext.ui.shared.xtextNature + + diff --git a/plugins/org.eclipse.eef.expression/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.eef.expression/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..0c68a61dc --- /dev/null +++ b/plugins/org.eclipse.eef.expression/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/plugins/org.eclipse.eef.expression/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.expression/META-INF/MANIFEST.MF new file mode 100644 index 000000000..dec78e50b --- /dev/null +++ b/plugins/org.eclipse.eef.expression/META-INF/MANIFEST.MF @@ -0,0 +1,16 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.eef.expression +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: eef.expression.Activator +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.eclipse.sirius.contentassist;bundle-version="0.1.0", + org.eclipse.sirius.expression;bundle-version="1.0.0", + org.eclipse.sirius.validation;bundle-version="0.1.0", + org.eclipse.eef;bundle-version="2.0.0" +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Bundle-ActivationPolicy: lazy +Bundle-Vendor: %providerName +Bundle-Localization: plugin diff --git a/plugins/org.eclipse.eef.expression/about.html b/plugins/org.eclipse.eef.expression/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.eef.expression/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

    About This Content

    + +

    June 15, 2010

    +

    License

    + +

    The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

    + +

    If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

    + + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef.expression/build.properties b/plugins/org.eclipse.eef.expression/build.properties new file mode 100644 index 000000000..eadf859a3 --- /dev/null +++ b/plugins/org.eclipse.eef.expression/build.properties @@ -0,0 +1,13 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + about.html,\ + plugin.properties diff --git a/plugins/org.eclipse.eef.expression/eef.expression b/plugins/org.eclipse.eef.expression/eef.expression new file mode 100644 index 000000000..7d99fe8fb --- /dev/null +++ b/plugins/org.eclipse.eef.expression/eef.expression @@ -0,0 +1,568 @@ +package eef{ + class eef.EEFViewDescription { + /** + * The variable representing the view input. + */ + var viewSemanticCandidate : ecore.EObject + + exp eef.EEFViewDescription.labelExpression(viewSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription + ] + } + } + + class eef.EEFPageDescription { + /** + * The variable representing the page input. + */ + var pageSemanticCandidate : ecore.EObject + + exp eef.EEFPageDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription + ] + } + exp eef.EEFPageDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription + ] + } + } + + class eef.EEFGroupDescription { + /** + * The variable representing the group input. + */ + var groupSemanticCandidate : ecore.EObject + + exp eef.EEFGroupDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + exp eef.EEFGroupDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + exp eef.EEFGroupDescription.collapsibleExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EBoolean [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + exp eef.EEFGroupDescription.collapsedByDefaultExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EBoolean [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + } + + class eef.EEFContainerDescription { + /** + * The variable representing the container input. + */ + var containerSemanticCandidate : ecore.EObject + + exp eef.EEFContainerDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate, containerSemanticCandidate, groupSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription + ] + } + } + + class eef.EEFWidgetDescription { + exp eef.EEFWidgetDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFWidgetDescription.tooltipExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFWidgetDescription.helpExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + } + + class eef.EEFCheckboxDescription { + /** + * The variable containing the new updated value. + */ + var newValue : ecore.EObject + + exp eef.EEFCheckboxDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription + ] + } + exp eef.EEFCheckboxDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription + ] + } + } + + class eef.EEFSelectDescription { + /** + * The variable containing the new updated value. + */ + var newValue : ecore.EObject + + /** + * Represents one of the possible inputs. + */ + var candidate : ecore.EObject + + exp eef.EEFSelectDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFSelectDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFSelectDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFSelectDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + } + + class eef.EEFLabelDescription { + exp eef.EEFLabelDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription + ] + } + } + + class eef.EEFRadioDescription { + /** + * The variable containing the new updated value. + */ + var newValue : ecore.EObject + + /** + * Represents the one of the possible inputs. + */ + var candidate : ecore.EObject + + exp eef.EEFRadioDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + exp eef.EEFRadioDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + exp eef.EEFRadioDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + exp eef.EEFRadioDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + } + + class eef.EEFLinkDescription { + exp eef.EEFLinkDescription.onClickExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Void [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription + ] + } + } + + class eef.EEFImageDescription { + exp eef.EEFImageDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImageDescription + ] + } + } + + class eef.EEFTreeDescription { + /** + * The variable containing the new updated values. + */ + var newValue : ecore.EObject + + exp eef.EEFTreeDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDescription + ] + } + exp eef.EEFTreeDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDescription + ] + } + } + + class eef.EEFTreeDialogSelectDescription { + /** + * Represents the semantic candidate. + */ + var treeDialogSelectSemanticCandidate : ecore.EObject + + /** + * Represents one of the possible inputs. + */ + var candidate : ecore.EObject + + /** + * The variable containing the new updated values. + */ + var newValue : ecore.EObject + + exp eef.EEFTreeDialogSelectDescription.semanticCandidateExpression(viewSemanticCandidate, treeDialogSelectSemanticCandidate, candidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDialogSelectDescription + ] + } + } + + class eef.EEFImagePickerDescription { + /** + * The variable containing the new updated value. + */ + var newValue : ecore.EObject + + exp eef.EEFImagePickerDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..-1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription + ] + } + exp eef.EEFImagePickerDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription + ] + } + exp eef.EEFImagePickerDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription + ] + } + } + + class eef.EEFColumnDescription { + /** + * Represents the column input. + */ + var columnSemanticCandidate : ecore.EObject + + exp eef.EEFColumnDescription.headerExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFColumnDescription + ] + } + } + + class eef.EEFLineDescription { + /** + * Represents the line input. + */ + var lineSemanticCandidate : ecore.EObject + + exp eef.EEFLineDescription.headerExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLineDescription + ] + } + exp eef.EEFLineDescription.semanticCandidatesExpression(viewSemanticCandidate, lineSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLineDescription + ] + } + } + + class eef.EEFTableDescription { + /** + * The variable containing the new updated values. + */ + var newValue : ecore.EObject + + exp eef.EEFTableDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTableDescription + ] + } + exp eef.EEFTableDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTableDescription + ] + } + } + + class eef.EEFInterpretedTreeStructureDescription { + /** + * The variable representing the parent element while computing the children expression in the Tree. + */ + var parent : ecore.EObject + + /** + * The variable representing the candidate element while computing the candidate display expression. + */ + var candidate : ecore.EObject + + exp eef.EEFInterpretedTreeStructureDescription.rootsExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription + ] + } + exp eef.EEFInterpretedTreeStructureDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription + ] + } + exp eef.EEFInterpretedTreeStructureDescription.selectablePredicateExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Predicate [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription + ] + } + exp eef.EEFInterpretedTreeStructureDescription.childrenExpression(viewSemanticCandidate, parent, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription + ] + } + } + + class eef.EEFTextDescription { + /** + * The variable containing the text field value. + */ + var value : ecore.EObject + + /** + * The variable containing the cursor position when the completion is called. + */ + var position : ecore.EObject + + exp eef.EEFTextDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + exp eef.EEFTextDescription.editExpression(viewSemanticCandidate, value, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + exp eef.EEFTextDescription.readOnlyExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + exp eef.EEFTextDescription.contentAssistExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate, value, position) : contentassist.CompletionProposal [0..-1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + exp eef.EEFTextDescription.placeholderExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + } + + class eef.EEFStyle { + exp eef.EEFStyle.fontExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + } + + class eef.EEFConditionalStyle { + exp eef.EEFConditionalStyle.conditionalExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + } + + class eef.EEFGroupStyle { + exp eef.EEFGroupStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + } + + class eef.EEFTextStyle { + exp eef.EEFTextStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + exp eef.EEFTextStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + } + + class eef.EEFCheckboxStyle { + exp eef.EEFCheckboxStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription + ] + } + exp eef.EEFCheckboxStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription + ] + } + } + + class eef.EEFLabelStyle { + exp eef.EEFLabelStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription + ] + } + exp eef.EEFLabelStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription + ] + } + } + + class eef.EEFRadioStyle { + exp eef.EEFRadioStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + exp eef.EEFRadioStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + } + + class eef.EEFLinkStyle { + exp eef.EEFLinkStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription + ] + } + exp eef.EEFLinkStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription + ] + } + exp eef.EEFLinkStyle.backgroundImageExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription + ] + } + } + + class eef.EEFSelectStyle { + exp eef.EEFSelectStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFSelectStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + } + + class eef.EEFLineStyle { + exp eef.EEFLineStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFLineStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFLineStyle.headerBackgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFLineStyle.headerForegroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + } + + class eef.EEFColumnStyle { + exp eef.EEFColumnStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFColumnStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFColumnStyle.headerBackgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFColumnStyle.headerForegroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + variableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + } + + class eef.EEFValidation{ + exp eef.EEFValidation.validationExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1]{ + variableContainers=[ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + } + + class eef.EEFQuickFix{ + exp eef.EEFQuickFix.canHandleStatusExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1]{ + variableContainers=[ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFQuickFix.fixExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Void [0..1]{ + variableContainers=[ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFQuickFix.messageExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1]{ + variableContainers=[ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFQuickFix.titleExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1]{ + variableContainers=[ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + } + +} diff --git a/plugins/org.eclipse.eef.expression/plugin.properties b/plugins/org.eclipse.eef.expression/plugin.properties new file mode 100644 index 000000000..bff4a561e --- /dev/null +++ b/plugins/org.eclipse.eef.expression/plugin.properties @@ -0,0 +1,9 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +pluginName = EEF Expression +providerName = Eclipse Modeling Project diff --git a/plugins/org.eclipse.eef.expression/src/eef/expression/Activator.java b/plugins/org.eclipse.eef.expression/src/eef/expression/Activator.java new file mode 100644 index 000000000..b720f0c9f --- /dev/null +++ b/plugins/org.eclipse.eef.expression/src/eef/expression/Activator.java @@ -0,0 +1,60 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package eef.expression; + +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends AbstractUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID = "eef.expression"; //$NON-NLS-1$ + + // The shared instance + private static Activator plugin; + + /** + * The constructor + */ + public Activator() { + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} diff --git a/plugins/org.eclipse.eef/model/EEFExpression.xmi b/plugins/org.eclipse.eef/model/EEFExpression.xmi deleted file mode 100644 index ac3c10801..000000000 --- a/plugins/org.eclipse.eef/model/EEFExpression.xmi +++ /dev/null @@ -1,758 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef/model/eef.ecore b/plugins/org.eclipse.eef/model/eef.ecore index 08c5006a3..15f8df626 100644 --- a/plugins/org.eclipse.eef/model/eef.ecore +++ b/plugins/org.eclipse.eef/model/eef.ecore @@ -147,11 +147,8 @@
    - - -
    - - + @@ -224,11 +221,8 @@
    - - -
    - - + @@ -631,6 +625,10 @@
    + + + + @@ -1094,4 +1092,20 @@ + + + + + + + + + +
    + + + + diff --git a/plugins/org.eclipse.eef/model/eef.expressions b/plugins/org.eclipse.eef/model/eef.expressions deleted file mode 100644 index 09ecc38a7..000000000 --- a/plugins/org.eclipse.eef/model/eef.expressions +++ /dev/null @@ -1,553 +0,0 @@ -package eef{ - - class eef.EEFViewDescription { - /** - * The variable representing the view input. - */ - var viewSemanticCandidate : ecore.EObject - - exp eef.EEFViewDescription.labelExpression(viewSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription - ] - } - } - - class eef.EEFPageDescription { - /** - * The variable representing the page input. - */ - var pageSemanticCandidate : ecore.EObject - - exp eef.EEFPageDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription - ] - } - exp eef.EEFPageDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription - ] - } - } - - class eef.EEFGroupDescription { - /** - * The variable representing the group input. - */ - var groupSemanticCandidate : ecore.EObject - - exp eef.EEFGroupDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription - ] - } - exp eef.EEFGroupDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription - ] - } - exp eef.EEFGroupDescription.collapsibleExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EBoolean [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription - ] - } - exp eef.EEFGroupDescription.collapsedByDefaultExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EBoolean [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription - ] - } - exp eef.EEFGroupDescription.validationExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : SiriusStatus [0..-1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription - ] - } - } - - class eef.EEFContainerDescription { - /** - * The variable representing the container input. - */ - var containerSemanticCandidate : ecore.EObject - - exp eef.EEFContainerDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate, containerSemanticCandidate, groupSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription - ] - } - } - - class eef.EEFWidgetDescription { - exp eef.EEFWidgetDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFWidgetDescription.tooltipExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFWidgetDescription.helpExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFWidgetDescription.validationExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : SiriusStatus [0..-1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - } - - class eef.EEFCheckboxDescription { - /** - * The variable containing the new updated value. - */ - var newValue : ecore.EObject - - exp eef.EEFCheckboxDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription - ] - } - exp eef.EEFCheckboxDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription - ] - } - } - - class eef.EEFSelectDescription { - /** - * The variable containing the new updated value. - */ - var newValue : ecore.EObject - - /** - * Represents one of the possible inputs. - */ - var candidate : ecore.EObject - - exp eef.EEFSelectDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - exp eef.EEFSelectDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - exp eef.EEFSelectDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - exp eef.EEFSelectDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - } - - class eef.EEFLabelDescription { - exp eef.EEFLabelDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription - ] - } - } - - class eef.EEFRadioDescription { - /** - * The variable containing the new updated value. - */ - var newValue : ecore.EObject - - /** - * Represents the one of the possible inputs. - */ - var candidate : ecore.EObject - - exp eef.EEFRadioDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription - ] - } - exp eef.EEFRadioDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription - ] - } - exp eef.EEFRadioDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription - ] - } - exp eef.EEFRadioDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription - ] - } - } - - class eef.EEFLinkDescription { - exp eef.EEFLinkDescription.onClickExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : Void [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription - ] - } - } - - class eef.EEFImageDescription { - exp eef.EEFImageDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : Object [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImageDescription - ] - } - } - - class eef.EEFTreeDescription { - /** - * The variable containing the new updated values. - */ - var newValue : ecore.EObject - - exp eef.EEFTreeDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDescription - ] - } - exp eef.EEFTreeDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDescription - ] - } - } - - class eef.EEFTreeDialogSelectDescription { - /** - * Represents the semantic candidate. - */ - var treeDialogSelectSemanticCandidate : ecore.EObject - - /** - * Represents one of the possible inputs. - */ - var candidate : ecore.EObject - - /** - * The variable containing the new updated values. - */ - var newValue : ecore.EObject - - exp eef.EEFTreeDialogSelectDescription.semanticCandidateExpression(viewSemanticCandidate, treeDialogSelectSemanticCandidate, candidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDialogSelectDescription - ] - } - } - - class eef.EEFImagePickerDescription { - /** - * The variable containing the new updated value. - */ - var newValue : ecore.EObject - - exp eef.EEFImagePickerDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : Object [0..-1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription - ] - } - exp eef.EEFImagePickerDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : Object [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription - ] - } - exp eef.EEFImagePickerDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : Object [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription - ] - } - } - - class eef.EEFColumnDescription { - /** - * Represents the column input. - */ - var columnSemanticCandidate : ecore.EObject - - exp eef.EEFColumnDescription.headerExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFColumnDescription - ] - } - exp eef.EEFColumnDescription.contextCandidatesExpression(viewSemanticCandidate, columnSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFColumnDescription - ] - } - } - - class eef.EEFLineDescription { - /** - * Represents the line input. - */ - var lineSemanticCandidate : ecore.EObject - - exp eef.EEFLineDescription.headerExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLineDescription - ] - } - exp eef.EEFLineDescription.semanticCandidatesExpression(viewSemanticCandidate, lineSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLineDescription - ] - } - } - - class eef.EEFTableDescription { - /** - * The variable containing the new updated values. - */ - var newValue : ecore.EObject - - exp eef.EEFTableDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTableDescription - ] - } - exp eef.EEFTableDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTableDescription - ] - } - } - - class eef.EEFInterpretedTreeStructureDescription { - /** - * The variable representing the parent element while computing the children expression in the Tree. - */ - var parent : ecore.EObject - - /** - * The variable representing the candidate element while computing the candidate display expression. - */ - var candidate : ecore.EObject - - exp eef.EEFInterpretedTreeStructureDescription.rootsExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription - ] - } - exp eef.EEFInterpretedTreeStructureDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription - ] - } - exp eef.EEFInterpretedTreeStructureDescription.selectablePredicateExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : Predicate [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription - ] - } - exp eef.EEFInterpretedTreeStructureDescription.childrenExpression(viewSemanticCandidate, parent, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription - ] - } - } - - class eef.EEFTextDescription { - /** - * The variable containing the text field value. - */ - var value : ecore.EObject - - /** - * The variable containing the cursor position when the completion is called. - */ - var position : ecore.EObject - - exp eef.EEFTextDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription - ] - } - exp eef.EEFTextDescription.editExpression(viewSemanticCandidate, value, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription - ] - } - exp eef.EEFTextDescription.readOnlyExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription - ] - } - exp eef.EEFTextDescription.contentAssistExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate, value, position) : CompletionProposal [0..-1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription - ] - } - exp eef.EEFTextDescription.placeholderExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription - ] - } - } - - class eef.EEFStyleDescription { - exp eef.EEFStyleDescription.fontExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - } - - class eef.EEFConditionalStyleDescription { - exp eef.EEFConditionalStyleDescription.conditionalExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - } - - class eef.EEFGroupStyleDescription { - exp eef.EEFGroupStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription - ] - } - } - - class eef.EEFTextStyleDescription { - exp eef.EEFTextStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription - ] - } - exp eef.EEFTextStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription - ] - } - } - - class eef.EEFCheckboxStyleDescription { - exp eef.EEFCheckboxStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription - ] - } - exp eef.EEFCheckboxStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription - ] - } - } - - class eef.EEFLabelStyleDescription { - exp eef.EEFLabelStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription - ] - } - exp eef.EEFLabelStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription - ] - } - } - - class eef.EEFRadioStyleDescription { - exp eef.EEFRadioStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription - ] - } - exp eef.EEFRadioStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription - ] - } - } - - class eef.EEFLinkStyleDescription { - exp eef.EEFLinkStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription - ] - } - exp eef.EEFLinkStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription - ] - } - exp eef.EEFLinkStyleDescription.backgroundImageExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription - ] - } - } - - class eef.EEFSelectStyleDescription { - exp eef.EEFSelectStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - exp eef.EEFSelectStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - } - - class eef.EEFLineStyleDescription { - exp eef.EEFLineStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFLineStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - exp eef.EEFLineStyleDescription.headerBackgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFLineStyleDescription.headerForegroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - } - - class eef.EEFColumnStyleDescription { - exp eef.EEFColumnStyleDescription.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFColumnStyleDescription.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - exp eef.EEFColumnStyleDescription.headerBackgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFColumnStyleDescription.headerForegroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - contextableElements = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - } - -} -- cgit v1.2.3 From 21555c0b0f1de66bdd0bd8149964c51dc1af7896 Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Mon, 26 Oct 2015 17:30:18 +0100 Subject: Define optional parameters Change-Id: Id375b1a35f5592a41389a09c4fef8879d33b63fd Signed-off-by: Mélanie Bats --- plugins/org.eclipse.eef.expression/eef.expression | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/org.eclipse.eef.expression/eef.expression b/plugins/org.eclipse.eef.expression/eef.expression index 7d99fe8fb..54e37169d 100644 --- a/plugins/org.eclipse.eef.expression/eef.expression +++ b/plugins/org.eclipse.eef.expression/eef.expression @@ -535,7 +535,7 @@ package eef{ } class eef.EEFValidation{ - exp eef.EEFValidation.validationExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1]{ + exp eef.EEFValidation.validationExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EBoolean [0..1]{ variableContainers=[ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] @@ -543,22 +543,22 @@ package eef{ } class eef.EEFQuickFix{ - exp eef.EEFQuickFix.canHandleStatusExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1]{ + exp eef.EEFQuickFix.canHandleStatusExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EBoolean [0..1]{ variableContainers=[ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } - exp eef.EEFQuickFix.fixExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Void [0..1]{ + exp eef.EEFQuickFix.fixExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : expression.Void [0..1]{ variableContainers=[ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } - exp eef.EEFQuickFix.messageExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1]{ + exp eef.EEFQuickFix.messageExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EString [0..1]{ variableContainers=[ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } - exp eef.EEFQuickFix.titleExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1]{ + exp eef.EEFQuickFix.titleExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EString [0..1]{ variableContainers=[ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] -- cgit v1.2.3 From 1b0d325647df25f4fd48c27b4ee124d907f8d6e7 Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Tue, 27 Oct 2015 11:02:40 +0100 Subject: Move expression datatype to expression.ecore Change-Id: I8a5ed3c0df409d1aa702058e0b2f0f40b7c75d15 Signed-off-by: Mélanie Bats --- plugins/org.eclipse.eef/model/eef.ecore | 158 ++++++++++----------- .../model/expression.ecore | 5 + 2 files changed, 82 insertions(+), 81 deletions(-) diff --git a/plugins/org.eclipse.eef/model/eef.ecore b/plugins/org.eclipse.eef/model/eef.ecore index 15f8df626..e69754fd8 100644 --- a/plugins/org.eclipse.eef/model/eef.ecore +++ b/plugins/org.eclipse.eef/model/eef.ecore @@ -11,7 +11,7 @@
    - +
    @@ -75,7 +75,7 @@
    - +
    @@ -86,7 +86,8 @@ + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression" + defaultValueLiteral="">
    @@ -113,7 +114,7 @@
    - +
    @@ -124,7 +125,7 @@ + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -136,13 +137,13 @@ + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -161,7 +162,7 @@ + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -201,7 +202,7 @@
    - +
    @@ -211,12 +212,12 @@
    - +
    - +
    @@ -224,11 +225,6 @@ - - -
    - -
    @@ -301,24 +297,24 @@
    - +
    - +
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -328,29 +324,29 @@
    - +
    - +
    - +
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -378,12 +374,12 @@
    - +
    - +
    @@ -393,17 +389,17 @@
    - +
    - +
    - +
    @@ -414,7 +410,7 @@ + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -424,7 +420,7 @@
    - +
    @@ -434,23 +430,23 @@
    - +
    - +
    - +
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -461,7 +457,7 @@
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -487,7 +483,7 @@
    - +
    @@ -497,7 +493,7 @@
    - +
    @@ -507,7 +503,7 @@
    - +
    @@ -517,7 +513,7 @@
    - +
    @@ -527,17 +523,17 @@
    - +
    - +
    - +
    @@ -547,12 +543,12 @@
    - +
    - +
    @@ -572,7 +568,7 @@
    - +
    @@ -593,7 +589,7 @@ + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -625,10 +621,10 @@
    - - - - + + + + @@ -665,7 +661,7 @@
    - +
    @@ -676,7 +672,7 @@
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -692,7 +688,7 @@
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -725,13 +721,13 @@
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -764,9 +760,9 @@
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression"/> + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression"/> @@ -795,13 +791,13 @@
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -834,13 +830,13 @@
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -873,19 +869,19 @@
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -918,13 +914,13 @@
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    @@ -1011,21 +1007,21 @@
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression"/> + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression"/> @@ -1054,21 +1050,21 @@
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression">
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression"/> + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression"/> @@ -1093,14 +1089,14 @@ - - + + - + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression"/> + - +
    diff --git a/plugins/org.eclipse.sirius.expression/model/expression.ecore b/plugins/org.eclipse.sirius.expression/model/expression.ecore index dff99b701..be9f6938c 100644 --- a/plugins/org.eclipse.sirius.expression/model/expression.ecore +++ b/plugins/org.eclipse.sirius.expression/model/expression.ecore @@ -109,4 +109,9 @@
    + + +
    + + -- cgit v1.2.3 From f4bb3a3d35df5e54590a4d75c1628da5141bf2b1 Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Tue, 27 Oct 2015 15:33:40 +0100 Subject: Update metamodels to review context Change-Id: I684368b84fa3b61f36ee5d6b5a4b8aa0503b2286 Signed-off-by: Mélanie Bats --- plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF | 6 +- .../icons/full/obj16/EEFQuickFix.gif | Bin 0 -> 129 bytes .../icons/full/obj16/EEFValidation.gif | Bin 0 -> 129 bytes plugins/org.eclipse.eef.edit/plugin.properties | 148 ++ .../provider/ContextableElementItemProvider.java | 190 -- .../EEFCellWidgetDescriptionItemProvider.java | 22 - .../EEFCheckboxDescriptionItemProvider.java | 21 - .../EEFContainerDescriptionItemProvider.java | 51 +- .../provider/EEFGroupDescriptionItemProvider.java | 73 +- .../provider/EEFImageDescriptionItemProvider.java | 21 - .../EEFImagePickerDescriptionItemProvider.java | 21 - .../provider/EEFLabelDescriptionItemProvider.java | 21 - .../provider/EEFLinkDescriptionItemProvider.java | 21 - .../provider/EEFPageDescriptionItemProvider.java | 84 +- .../eef/provider/EEFQuickFixItemProvider.java | 203 ++ .../provider/EEFRadioDescriptionItemProvider.java | 21 - .../provider/EEFSelectDescriptionItemProvider.java | 21 - .../provider/EEFTableDescriptionItemProvider.java | 21 - .../EEFTableStructureDescriptionItemProvider.java | 68 + .../provider/EEFTextDescriptionItemProvider.java | 22 +- .../provider/EEFTreeDescriptionItemProvider.java | 21 - ...EEFTreeDialogSelectDescriptionItemProvider.java | 21 - .../eef/provider/EEFValidationItemProvider.java | 196 ++ .../provider/EEFViewDescriptionItemProvider.java | 51 +- .../provider/EEFWidgetDescriptionItemProvider.java | 93 +- .../org/eclipse/eef/provider/EefEditPlugin.java | 6 +- .../provider/EefItemProviderAdapterFactory.java | 50 + plugins/org.eclipse.eef.expression/eef.expression | 165 +- .../userDefinedVariable.expression | 8 + plugins/org.eclipse.eef/META-INF/MANIFEST.MF | 2 +- plugins/org.eclipse.eef/model/eef.aird | 2260 +++++++++++--------- plugins/org.eclipse.eef/model/eef.ecore | 203 +- plugins/org.eclipse.eef/model/eef.genmodel | 35 +- .../org/eclipse/eef/ContextableElement.java | 69 - .../org/eclipse/eef/EEFCheckboxDescription.java | 4 +- .../src-gen/org/eclipse/eef/EEFCheckboxStyle.java | 18 +- .../org/eclipse/eef/EEFColumnDescription.java | 2 +- .../src-gen/org/eclipse/eef/EEFColumnStyle.java | 22 +- .../org/eclipse/eef/EEFConditionalStyle.java | 2 +- .../org/eclipse/eef/EEFContainerDescription.java | 50 +- .../org/eclipse/eef/EEFGroupDescription.java | 82 +- .../src-gen/org/eclipse/eef/EEFGroupStyle.java | 2 +- .../org/eclipse/eef/EEFImageDescription.java | 2 +- .../org/eclipse/eef/EEFImagePickerDescription.java | 6 +- .../EEFInterpretedTreeStructureDescription.java | 8 +- .../org/eclipse/eef/EEFLabelDescription.java | 2 +- .../src-gen/org/eclipse/eef/EEFLabelStyle.java | 4 +- .../org/eclipse/eef/EEFLineDescription.java | 2 +- .../src-gen/org/eclipse/eef/EEFLineStyle.java | 22 +- .../org/eclipse/eef/EEFLinkDescription.java | 2 +- .../src-gen/org/eclipse/eef/EEFLinkStyle.java | 6 +- .../org/eclipse/eef/EEFPageDescription.java | 52 +- .../src-gen/org/eclipse/eef/EEFQuickFix.java | 137 ++ .../org/eclipse/eef/EEFRadioDescription.java | 8 +- .../src-gen/org/eclipse/eef/EEFRadioStyle.java | 4 +- .../org/eclipse/eef/EEFSelectDescription.java | 8 +- .../src-gen/org/eclipse/eef/EEFSelectStyle.java | 4 +- .../src-gen/org/eclipse/eef/EEFStyle.java | 2 +- .../org/eclipse/eef/EEFTableDescription.java | 4 +- .../eclipse/eef/EEFTableStructureDescription.java | 104 + .../org/eclipse/eef/EEFTextDescription.java | 10 +- .../src-gen/org/eclipse/eef/EEFTextStyle.java | 4 +- .../org/eclipse/eef/EEFTreeDescription.java | 4 +- .../eef/EEFTreeDialogSelectDescription.java | 2 +- .../src-gen/org/eclipse/eef/EEFValidation.java | 77 + .../org/eclipse/eef/EEFViewDescription.java | 50 +- .../org/eclipse/eef/EEFWidgetDescription.java | 80 +- .../src-gen/org/eclipse/eef/EefFactory.java | 18 + .../src-gen/org/eclipse/eef/EefPackage.java | 1114 +++++++--- .../eclipse/eef/impl/ContextableElementImpl.java | 199 -- .../eef/impl/EEFContainerDescriptionImpl.java | 101 +- .../eclipse/eef/impl/EEFGroupDescriptionImpl.java | 220 +- .../eclipse/eef/impl/EEFPageDescriptionImpl.java | 116 +- .../org/eclipse/eef/impl/EEFQuickFixImpl.java | 343 +++ .../eef/impl/EEFTableStructureDescriptionImpl.java | 228 ++ .../eclipse/eef/impl/EEFTextDescriptionImpl.java | 7 +- .../org/eclipse/eef/impl/EEFValidationImpl.java | 234 ++ .../eclipse/eef/impl/EEFViewDescriptionImpl.java | 101 +- .../eclipse/eef/impl/EEFWidgetDescriptionImpl.java | 235 +- .../org/eclipse/eef/impl/EefFactoryImpl.java | 20 +- .../org/eclipse/eef/impl/EefPackageImpl.java | 638 ++++-- .../org/eclipse/eef/util/EefAdapterFactory.java | 57 +- .../src-gen/org/eclipse/eef/util/EefSwitch.java | 100 +- .../org.eclipse.sirius.context.edit/.checkstyle | 13 - plugins/org.eclipse.sirius.context.edit/.classpath | 11 - plugins/org.eclipse.sirius.context.edit/.project | 34 - .../.settings/org.eclipse.jdt.core.prefs | 398 ---- .../.settings/org.eclipse.jdt.launching.prefs | 2 - .../.settings/org.eclipse.jdt.ui.prefs | 67 - .../.settings/org.eclipse.pde.prefs | 32 - .../META-INF/MANIFEST.MF | 15 - plugins/org.eclipse.sirius.context.edit/about.html | 28 - .../build.properties | 16 - .../icons/full/obj16/Context.gif | Bin 129 -> 0 bytes .../icons/full/obj16/ContextVariable.gif | Bin 129 -> 0 bytes .../plugin.properties | 29 - plugins/org.eclipse.sirius.context.edit/plugin.xml | 27 - .../sirius/context/provider/ContextEditPlugin.java | 92 - .../context/provider/ContextItemProvider.java | 127 -- .../ContextItemProviderAdapterFactory.java | 237 -- .../provider/ContextVariableItemProvider.java | 193 -- plugins/org.eclipse.sirius.context/.checkstyle | 13 - plugins/org.eclipse.sirius.context/.classpath | 11 - plugins/org.eclipse.sirius.context/.project | 35 - .../.settings/org.eclipse.jdt.core.prefs | 398 ---- .../.settings/org.eclipse.jdt.launching.prefs | 2 - .../.settings/org.eclipse.jdt.ui.prefs | 67 - .../.settings/org.eclipse.pde.prefs | 32 - .../META-INF/MANIFEST.MF | 14 - plugins/org.eclipse.sirius.context/about.html | 28 - .../org.eclipse.sirius.context/build.properties | 16 - .../org.eclipse.sirius.context/model/context.aird | 204 -- .../org.eclipse.sirius.context/model/context.ecore | 30 - .../model/context.genmodel | 20 - .../org.eclipse.sirius.context/plugin.properties | 8 - plugins/org.eclipse.sirius.context/plugin.xml | 22 - .../org/eclipse/sirius/context/Context.java | 27 - .../org/eclipse/sirius/context/ContextFactory.java | 56 - .../org/eclipse/sirius/context/ContextPackage.java | 269 --- .../eclipse/sirius/context/ContextVariable.java | 110 - .../sirius/context/impl/ContextFactoryImpl.java | 116 - .../eclipse/sirius/context/impl/ContextImpl.java | 44 - .../sirius/context/impl/ContextPackageImpl.java | 242 --- .../sirius/context/impl/ContextVariableImpl.java | 297 --- .../sirius/context/util/ContextAdapterFactory.java | 143 -- .../eclipse/sirius/context/util/ContextSwitch.java | 139 -- .../icons/full/obj16/UserDefinedVariable.gif | Bin 0 -> 129 bytes .../plugin.properties | 2 + .../ExpressionItemProviderAdapterFactory.java | 24 + .../SiriusExpressionClassItemProvider.java | 5 + .../provider/UserDefinedVariableItemProvider.java | 147 ++ .../antlr/internal/InternalExpressionText.g | 6 +- .../antlr/internal/InternalExpressionText.tokens | 2 +- .../internal/InternalExpressionTextLexer.java | 80 +- .../internal/InternalExpressionTextParser.java | 16 +- .../sirius/expression/text/ExpressionText.xtextbin | Bin 2577 -> 2588 bytes .../parser/antlr/internal/InternalExpressionText.g | 4 +- .../antlr/internal/InternalExpressionText.tokens | 2 +- .../internal/InternalExpressionTextLexer.java | 80 +- .../internal/InternalExpressionTextParser.java | 14 +- .../text/services/ExpressionTextGrammarAccess.java | 16 +- .../sirius/expression/text/ExpressionText.xtext | 2 +- .../model/expression.ecore | 3 + .../model/expression.genmodel | 4 + .../sirius/expression/ExpressionFactory.java | 9 + .../sirius/expression/ExpressionPackage.java | 141 +- .../sirius/expression/UserDefinedVariable.java | 54 + .../expression/impl/ExpressionFactoryImpl.java | 33 + .../expression/impl/ExpressionPackageImpl.java | 51 + .../expression/impl/UserDefinedVariableImpl.java | 167 ++ .../expression/util/ExpressionAdapterFactory.java | 18 + .../sirius/expression/util/ExpressionSwitch.java | 22 + 152 files changed, 6827 insertions(+), 6471 deletions(-) create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFQuickFix.gif create mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFValidation.gif delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/ContextableElementItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFQuickFixItemProvider.java create mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFValidationItemProvider.java create mode 100644 plugins/org.eclipse.eef.expression/userDefinedVariable.expression delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/ContextableElement.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFQuickFix.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFValidation.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/ContextableElementImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFQuickFixImpl.java create mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFValidationImpl.java delete mode 100644 plugins/org.eclipse.sirius.context.edit/.checkstyle delete mode 100644 plugins/org.eclipse.sirius.context.edit/.classpath delete mode 100644 plugins/org.eclipse.sirius.context.edit/.project delete mode 100644 plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.launching.prefs delete mode 100644 plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.ui.prefs delete mode 100644 plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.pde.prefs delete mode 100644 plugins/org.eclipse.sirius.context.edit/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.sirius.context.edit/about.html delete mode 100644 plugins/org.eclipse.sirius.context.edit/build.properties delete mode 100644 plugins/org.eclipse.sirius.context.edit/icons/full/obj16/Context.gif delete mode 100644 plugins/org.eclipse.sirius.context.edit/icons/full/obj16/ContextVariable.gif delete mode 100644 plugins/org.eclipse.sirius.context.edit/plugin.properties delete mode 100644 plugins/org.eclipse.sirius.context.edit/plugin.xml delete mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextEditPlugin.java delete mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProvider.java delete mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProviderAdapterFactory.java delete mode 100644 plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextVariableItemProvider.java delete mode 100644 plugins/org.eclipse.sirius.context/.checkstyle delete mode 100644 plugins/org.eclipse.sirius.context/.classpath delete mode 100644 plugins/org.eclipse.sirius.context/.project delete mode 100644 plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.launching.prefs delete mode 100644 plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.ui.prefs delete mode 100644 plugins/org.eclipse.sirius.context/.settings/org.eclipse.pde.prefs delete mode 100644 plugins/org.eclipse.sirius.context/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.sirius.context/about.html delete mode 100644 plugins/org.eclipse.sirius.context/build.properties delete mode 100644 plugins/org.eclipse.sirius.context/model/context.aird delete mode 100644 plugins/org.eclipse.sirius.context/model/context.ecore delete mode 100644 plugins/org.eclipse.sirius.context/model/context.genmodel delete mode 100644 plugins/org.eclipse.sirius.context/plugin.properties delete mode 100644 plugins/org.eclipse.sirius.context/plugin.xml delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/Context.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextFactory.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextPackage.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextVariable.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextFactoryImpl.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextImpl.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextPackageImpl.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextVariableImpl.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextAdapterFactory.java delete mode 100644 plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextSwitch.java create mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/UserDefinedVariable.gif create mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/UserDefinedVariableItemProvider.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/UserDefinedVariable.java create mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/UserDefinedVariableImpl.java diff --git a/plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF index 7216bf5fe..a5dbd5665 100644 --- a/plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF @@ -12,6 +12,8 @@ Export-Package: org.eclipse.eef.provider;version="2.0.0" Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", org.eclipse.eef;bundle-version="[2.0.0,3.0.0)";visibility:=reexport, org.eclipse.emf.edit;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, - org.eclipse.sirius.context;bundle-version="[1.0.0,2.0.0)";visibility:=reexport, - org.eclipse.sirius.context.edit;bundle-version="[1.0.0,2.0.0)";visibility:=reexport + org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, + org.eclipse.emf.ecore.edit;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, + org.eclipse.sirius.expression;bundle-version="[1.0.0,2.0.0)";visibility:=reexport, + org.eclipse.sirius.expression.edit;bundle-version="[1.0.0,2.0.0)";visibility:=reexport Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFQuickFix.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFQuickFix.gif new file mode 100644 index 000000000..7b7c428c7 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFQuickFix.gif differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFValidation.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFValidation.gif new file mode 100644 index 000000000..5a9bc7514 Binary files /dev/null and b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFValidation.gif differ diff --git a/plugins/org.eclipse.eef.edit/plugin.properties b/plugins/org.eclipse.eef.edit/plugin.properties index 719b70977..41e5eda11 100644 --- a/plugins/org.eclipse.eef.edit/plugin.properties +++ b/plugins/org.eclipse.eef.edit/plugin.properties @@ -229,3 +229,151 @@ _UI_EEFColumnStyle_headerBackgroundColorExpression_feature = Header Background C _UI_EEFColumnStyle_headerForegroundColorExpression_feature = Header Foreground Color Expression _UI_EEFColumnConditionalStyle_style_feature = Style _UI_EEFColumnStyleCustomization_style_feature = Style +_UI_EEFQuickFix_type = EEF Quick Fix +_UI_EEFValidation_type = EEF Validation +_UI_SiriusExpressionPackage_type = Sirius Expression Package +_UI_SiriusExpressionDescription_type = Sirius Expression Description +_UI_SiriusVariable_type = Sirius Variable +_UI_SiriusExpressionClass_type = Sirius Expression Class +_UI_SiriusParameter_type = Sirius Parameter +_UI_UserDefinedVariable_type = User Defined Variable +_UI_EAttribute_type = EAttribute +_UI_EAnnotation_type = EAnnotation +_UI_EClass_type = EClass +_UI_EClassifier_type = EClassifier +_UI_EDataType_type = EData Type +_UI_EEnum_type = EEnum +_UI_EEnumLiteral_type = EEnum Literal +_UI_EFactory_type = EFactory +_UI_EModelElement_type = EModel Element +_UI_ENamedElement_type = ENamed Element +_UI_EObject_type = EObject +_UI_EOperation_type = EOperation +_UI_EPackage_type = EPackage +_UI_EParameter_type = EParameter +_UI_EReference_type = EReference +_UI_EStructuralFeature_type = EStructural Feature +_UI_ETypedElement_type = ETyped Element +_UI_EStringToStringMapEntry_type = EString To String Map Entry +_UI_EGenericType_type = EGeneric Type +_UI_ETypeParameter_type = EType Parameter +_UI_EEFViewDescription_preconditionExpression_feature = Precondition Expression +_UI_EEFViewDescription_userDefinedVariables_feature = User Defined Variables +_UI_EEFPageDescription_preconditionExpression_feature = Precondition Expression +_UI_EEFPageDescription_userDefinedVariables_feature = User Defined Variables +_UI_EEFGroupDescription_preconditionExpression_feature = Precondition Expression +_UI_EEFGroupDescription_userDefinedVariables_feature = User Defined Variables +_UI_EEFGroupDescription_validation_feature = Validation +_UI_EEFContainerDescription_preconditionExpression_feature = Precondition Expression +_UI_EEFContainerDescription_userDefinedVariables_feature = User Defined Variables +_UI_EEFWidgetDescription_preconditionExpression_feature = Precondition Expression +_UI_EEFWidgetDescription_userDefinedVariables_feature = User Defined Variables +_UI_EEFWidgetDescription_validation_feature = Validation +_UI_EEFTableStructureDescription_addExpression_feature = Add Expression +_UI_EEFTableStructureDescription_removeExpression_feature = Remove Expression +_UI_EEFTableStructureDescription_upExpression_feature = Up Expression +_UI_EEFTableStructureDescription_downExpression_feature = Down Expression +_UI_EEFQuickFix_titleExpression_feature = Title Expression +_UI_EEFQuickFix_messageExpression_feature = Message Expression +_UI_EEFQuickFix_canHandleStatusExpression_feature = Can Handle Status Expression +_UI_EEFQuickFix_fixExpression_feature = Fix Expression +_UI_EEFValidation_validationExpression_feature = Validation Expression +_UI_EEFValidation_quickfixes_feature = Quickfixes +_UI_SiriusExpressionPackage_expressionClasses_feature = Expression Classes +_UI_SiriusExpressionPackage_ePackage_feature = EPackage +_UI_SiriusExpressionDescription_lowerBound_feature = Lower Bound +_UI_SiriusExpressionDescription_upperBound_feature = Upper Bound +_UI_SiriusExpressionDescription_expression_feature = Expression +_UI_SiriusExpressionDescription_parameters_feature = Parameters +_UI_SiriusExpressionDescription_returnType_feature = Return Type +_UI_SiriusExpressionDescription_variableContainers_feature = Variable Containers +_UI_SiriusVariable_name_feature = Name +_UI_SiriusVariable_documentation_feature = Documentation +_UI_SiriusVariable_eType_feature = EType +_UI_SiriusExpressionClass_variables_feature = Variables +_UI_SiriusExpressionClass_expressionDescriptions_feature = Expression Descriptions +_UI_SiriusExpressionClass_eClass_feature = EClass +_UI_SiriusParameter_optional_feature = Optional +_UI_SiriusParameter_variable_feature = Variable +_UI_UserDefinedVariable_valueExpression_feature = Value Expression +_UI_EAttribute_iD_feature = ID +_UI_EAttribute_eAttributeType_feature = EAttribute Type +_UI_EAnnotation_source_feature = Source +_UI_EAnnotation_details_feature = Details +_UI_EAnnotation_eModelElement_feature = EModel Element +_UI_EAnnotation_contents_feature = Contents +_UI_EAnnotation_references_feature = References +_UI_EClass_abstract_feature = Abstract +_UI_EClass_interface_feature = Interface +_UI_EClass_eSuperTypes_feature = ESuper Types +_UI_EClass_eOperations_feature = EOperations +_UI_EClass_eAllAttributes_feature = EAll Attributes +_UI_EClass_eAllReferences_feature = EAll References +_UI_EClass_eReferences_feature = EReferences +_UI_EClass_eAttributes_feature = EAttributes +_UI_EClass_eAllContainments_feature = EAll Containments +_UI_EClass_eAllOperations_feature = EAll Operations +_UI_EClass_eAllStructuralFeatures_feature = EAll Structural Features +_UI_EClass_eAllSuperTypes_feature = EAll Super Types +_UI_EClass_eIDAttribute_feature = EID Attribute +_UI_EClass_eStructuralFeatures_feature = EStructural Features +_UI_EClass_eGenericSuperTypes_feature = EGeneric Super Types +_UI_EClass_eAllGenericSuperTypes_feature = EAll Generic Super Types +_UI_EClassifier_instanceClassName_feature = Instance Class Name +_UI_EClassifier_instanceClass_feature = Instance Class +_UI_EClassifier_defaultValue_feature = Default Value +_UI_EClassifier_instanceTypeName_feature = Instance Type Name +_UI_EClassifier_ePackage_feature = EPackage +_UI_EClassifier_eTypeParameters_feature = EType Parameters +_UI_EDataType_serializable_feature = Serializable +_UI_EEnum_eLiterals_feature = ELiterals +_UI_EEnumLiteral_value_feature = Value +_UI_EEnumLiteral_instance_feature = Instance +_UI_EEnumLiteral_literal_feature = Literal +_UI_EEnumLiteral_eEnum_feature = EEnum +_UI_EFactory_ePackage_feature = EPackage +_UI_EModelElement_eAnnotations_feature = EAnnotations +_UI_ENamedElement_name_feature = Name +_UI_EOperation_eContainingClass_feature = EContaining Class +_UI_EOperation_eTypeParameters_feature = EType Parameters +_UI_EOperation_eParameters_feature = EParameters +_UI_EOperation_eExceptions_feature = EExceptions +_UI_EOperation_eGenericExceptions_feature = EGeneric Exceptions +_UI_EPackage_nsURI_feature = Ns URI +_UI_EPackage_nsPrefix_feature = Ns Prefix +_UI_EPackage_eFactoryInstance_feature = EFactory Instance +_UI_EPackage_eClassifiers_feature = EClassifiers +_UI_EPackage_eSubpackages_feature = ESubpackages +_UI_EPackage_eSuperPackage_feature = ESuper Package +_UI_EParameter_eOperation_feature = EOperation +_UI_EReference_containment_feature = Containment +_UI_EReference_container_feature = Container +_UI_EReference_resolveProxies_feature = Resolve Proxies +_UI_EReference_eOpposite_feature = EOpposite +_UI_EReference_eReferenceType_feature = EReference Type +_UI_EReference_eKeys_feature = EKeys +_UI_EStructuralFeature_changeable_feature = Changeable +_UI_EStructuralFeature_volatile_feature = Volatile +_UI_EStructuralFeature_transient_feature = Transient +_UI_EStructuralFeature_defaultValueLiteral_feature = Default Value Literal +_UI_EStructuralFeature_defaultValue_feature = Default Value +_UI_EStructuralFeature_unsettable_feature = Unsettable +_UI_EStructuralFeature_derived_feature = Derived +_UI_EStructuralFeature_eContainingClass_feature = EContaining Class +_UI_ETypedElement_ordered_feature = Ordered +_UI_ETypedElement_unique_feature = Unique +_UI_ETypedElement_lowerBound_feature = Lower Bound +_UI_ETypedElement_upperBound_feature = Upper Bound +_UI_ETypedElement_many_feature = Many +_UI_ETypedElement_required_feature = Required +_UI_ETypedElement_eType_feature = EType +_UI_ETypedElement_eGenericType_feature = EGeneric Type +_UI_EStringToStringMapEntry_key_feature = Key +_UI_EStringToStringMapEntry_value_feature = Value +_UI_EGenericType_eUpperBound_feature = EUpper Bound +_UI_EGenericType_eTypeArguments_feature = EType Arguments +_UI_EGenericType_eRawType_feature = ERaw Type +_UI_EGenericType_eLowerBound_feature = ELower Bound +_UI_EGenericType_eTypeParameter_feature = EType Parameter +_UI_EGenericType_eClassifier_feature = EClassifier +_UI_ETypeParameter_eBounds_feature = EBounds diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/ContextableElementItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/ContextableElementItemProvider.java deleted file mode 100644 index 7bf77cdfe..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/ContextableElementItemProvider.java +++ /dev/null @@ -1,190 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.ContextableElement; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.sirius.context.ContextFactory; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.ContextableElement} object. - * - * - * @generated - */ -public class ContextableElementItemProvider extends ItemProviderAdapter - implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public ContextableElementItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES); - childrenFeatures.add(EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_ContextableElement_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(ContextableElement.class)) { - case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: - case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES, - ContextFactory.eINSTANCE.createContextVariable())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES, - ContextFactory.eINSTANCE.createContextVariable())); - } - - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCellWidgetDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCellWidgetDescriptionItemProvider.java index 05780687f..d4aeecf0b 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCellWidgetDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCellWidgetDescriptionItemProvider.java @@ -12,7 +12,6 @@ import java.util.Collection; import java.util.List; import org.eclipse.eef.EEFCellWidgetDescription; -import org.eclipse.eef.EefPackage; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; @@ -111,25 +110,4 @@ public class EEFCellWidgetDescriptionItemProvider extends EEFWidgetDescriptionIt super.collectNewChildDescriptors(newChildDescriptors, object); } - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxDescriptionItemProvider.java index 69d67c03e..ee2813a37 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxDescriptionItemProvider.java @@ -153,25 +153,4 @@ public class EEFCheckboxDescriptionItemProvider extends EEFCellWidgetDescription super.collectNewChildDescriptors(newChildDescriptors, object); } - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFContainerDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFContainerDescriptionItemProvider.java index da23f60c3..891791bdf 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFContainerDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFContainerDescriptionItemProvider.java @@ -18,20 +18,31 @@ import org.eclipse.eef.EefPackage; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; + import org.eclipse.emf.ecore.EStructuralFeature; import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; +import org.eclipse.sirius.expression.ExpressionFactory; + /** * This is the item provider adapter for a {@link org.eclipse.eef.EEFContainerDescription} object. * * * @generated */ -public class EEFContainerDescriptionItemProvider extends ContextableElementItemProvider { +public class EEFContainerDescriptionItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { /** * This constructs an instance from a factory and a notifier. * @@ -54,6 +65,7 @@ public class EEFContainerDescriptionItemProvider extends ContextableElementItemP super.getPropertyDescriptors(object); addIdentifierPropertyDescriptor(object); + addPreconditionExpressionPropertyDescriptor(object); addSemanticCandidateExpressionPropertyDescriptor(object); addDomainClassPropertyDescriptor(object); addLayoutColumnCountPropertyDescriptor(object); @@ -75,6 +87,21 @@ public class EEFContainerDescriptionItemProvider extends ContextableElementItemP null)); } + /** + * This adds a property descriptor for the Precondition Expression feature. + * + * + * @generated + */ + protected void addPreconditionExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFContainerDescription_preconditionExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFContainerDescription_preconditionExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + /** * This adds a property descriptor for the Semantic Candidate Expression feature. * @@ -132,6 +159,7 @@ public class EEFContainerDescriptionItemProvider extends ContextableElementItemP public Collection getChildrenFeatures(Object object) { if (childrenFeatures == null) { super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES); childrenFeatures.add(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__CONTAINERS); childrenFeatures.add(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS); } @@ -199,11 +227,13 @@ public class EEFContainerDescriptionItemProvider extends ContextableElementItemP switch (notification.getFeatureID(EEFContainerDescription.class)) { case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION: case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES: case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); @@ -223,6 +253,9 @@ public class EEFContainerDescriptionItemProvider extends ContextableElementItemP protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES, + ExpressionFactory.eINSTANCE.createUserDefinedVariable())); + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__CONTAINERS, EefFactory.eINSTANCE.createEEFContainerDescription())); @@ -261,24 +294,14 @@ public class EEFContainerDescriptionItemProvider extends ContextableElementItemP } /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * Return the resource locator for this item provider's resources. * * * @generated */ @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; } } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java index c1a3353e7..d1ed545b6 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java @@ -18,20 +18,31 @@ import org.eclipse.eef.EefPackage; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; + import org.eclipse.emf.ecore.EStructuralFeature; import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; +import org.eclipse.sirius.expression.ExpressionFactory; + /** * This is the item provider adapter for a {@link org.eclipse.eef.EEFGroupDescription} object. * * * @generated */ -public class EEFGroupDescriptionItemProvider extends ContextableElementItemProvider { +public class EEFGroupDescriptionItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { /** * This constructs an instance from a factory and a notifier. * @@ -54,12 +65,12 @@ public class EEFGroupDescriptionItemProvider extends ContextableElementItemProvi super.getPropertyDescriptors(object); addIdentifierPropertyDescriptor(object); + addPreconditionExpressionPropertyDescriptor(object); addLabelExpressionPropertyDescriptor(object); addDomainClassPropertyDescriptor(object); addSemanticCandidateExpressionPropertyDescriptor(object); addCollapsibleExpressionPropertyDescriptor(object); addCollapsedByDefaultExpressionPropertyDescriptor(object); - addValidationExpressionPropertyDescriptor(object); } return itemPropertyDescriptors; } @@ -77,6 +88,21 @@ public class EEFGroupDescriptionItemProvider extends ContextableElementItemProvi EefPackage.Literals.EEF_GROUP_DESCRIPTION__IDENTIFIER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); } + /** + * This adds a property descriptor for the Precondition Expression feature. + * + * + * @generated + */ + protected void addPreconditionExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFGroupDescription_preconditionExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_preconditionExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + /** * This adds a property descriptor for the Label Expression feature. * @@ -149,21 +175,6 @@ public class EEFGroupDescriptionItemProvider extends ContextableElementItemProvi ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); } - /** - * This adds a property descriptor for the Validation Expression feature. - * - * - * @generated - */ - protected void addValidationExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFGroupDescription_validationExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_validationExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION, 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 @@ -176,7 +187,9 @@ public class EEFGroupDescriptionItemProvider extends ContextableElementItemProvi public Collection getChildrenFeatures(Object object) { if (childrenFeatures == null) { super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES); childrenFeatures.add(EefPackage.Literals.EEF_GROUP_DESCRIPTION__CONTAINER); + childrenFeatures.add(EefPackage.Literals.EEF_GROUP_DESCRIPTION__VALIDATION); } return childrenFeatures; } @@ -242,15 +255,17 @@ public class EEFGroupDescriptionItemProvider extends ContextableElementItemProvi switch (notification.getFeatureID(EEFGroupDescription.class)) { case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION: case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION: case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION: - case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; + case EefPackage.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES: case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: + case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); return; } @@ -268,29 +283,25 @@ public class EEFGroupDescriptionItemProvider extends ContextableElementItemProvi protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES, + ExpressionFactory.eINSTANCE.createUserDefinedVariable())); + newChildDescriptors.add( createChildParameter(EefPackage.Literals.EEF_GROUP_DESCRIPTION__CONTAINER, EefFactory.eINSTANCE.createEEFContainerDescription())); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_GROUP_DESCRIPTION__VALIDATION, EefFactory.eINSTANCE.createEEFValidation())); } /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * Return the resource locator for this item provider's resources. * * * @generated */ @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; } } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImageDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImageDescriptionItemProvider.java index c523da5b9..b9a7eea8f 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImageDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImageDescriptionItemProvider.java @@ -135,25 +135,4 @@ public class EEFImageDescriptionItemProvider extends EEFCellWidgetDescriptionIte super.collectNewChildDescriptors(newChildDescriptors, object); } - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImagePickerDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImagePickerDescriptionItemProvider.java index 820790dca..94c4997c1 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImagePickerDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImagePickerDescriptionItemProvider.java @@ -170,25 +170,4 @@ public class EEFImagePickerDescriptionItemProvider extends EEFWidgetDescriptionI super.collectNewChildDescriptors(newChildDescriptors, object); } - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelDescriptionItemProvider.java index b37f17c85..8a932897b 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelDescriptionItemProvider.java @@ -135,25 +135,4 @@ public class EEFLabelDescriptionItemProvider extends EEFCellWidgetDescriptionIte super.collectNewChildDescriptors(newChildDescriptors, object); } - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkDescriptionItemProvider.java index 905baaec9..258fe2419 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkDescriptionItemProvider.java @@ -135,25 +135,4 @@ public class EEFLinkDescriptionItemProvider extends EEFCellWidgetDescriptionItem super.collectNewChildDescriptors(newChildDescriptors, object); } - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFPageDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFPageDescriptionItemProvider.java index 5b97b723b..86cadf59b 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFPageDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFPageDescriptionItemProvider.java @@ -17,18 +17,31 @@ import org.eclipse.eef.EefPackage; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; +import org.eclipse.sirius.expression.ExpressionFactory; + /** * This is the item provider adapter for a {@link org.eclipse.eef.EEFPageDescription} object. * * * @generated */ -public class EEFPageDescriptionItemProvider extends ContextableElementItemProvider { +public class EEFPageDescriptionItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { /** * This constructs an instance from a factory and a notifier. * @@ -51,6 +64,7 @@ public class EEFPageDescriptionItemProvider extends ContextableElementItemProvid super.getPropertyDescriptors(object); addIdentifierPropertyDescriptor(object); + addPreconditionExpressionPropertyDescriptor(object); addLabelExpressionPropertyDescriptor(object); addDomainClassPropertyDescriptor(object); addSemanticCandidateExpressionPropertyDescriptor(object); @@ -73,6 +87,21 @@ public class EEFPageDescriptionItemProvider extends ContextableElementItemProvid EefPackage.Literals.EEF_PAGE_DESCRIPTION__IDENTIFIER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); } + /** + * This adds a property descriptor for the Precondition Expression feature. + * + * + * @generated + */ + protected void addPreconditionExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFPageDescription_preconditionExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_preconditionExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFPageDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + /** * This adds a property descriptor for the Label Expression feature. * @@ -141,6 +170,36 @@ public class EEFPageDescriptionItemProvider extends ContextableElementItemProvid EefPackage.Literals.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE, true, false, true, null, 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + /** * This returns EEFPageDescription.gif. * @@ -189,11 +248,15 @@ public class EEFPageDescriptionItemProvider extends ContextableElementItemProvid switch (notification.getFeatureID(EEFPageDescription.class)) { case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION: case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; + case EefPackage.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; } super.notifyChanged(notification); } @@ -208,27 +271,20 @@ public class EEFPageDescriptionItemProvider extends ContextableElementItemProvid @Override protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES, + ExpressionFactory.eINSTANCE.createUserDefinedVariable())); } /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * Return the resource locator for this item provider's resources. * * * @generated */ @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; } } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFQuickFixItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFQuickFixItemProvider.java new file mode 100644 index 000000000..010bc16bb --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFQuickFixItemProvider.java @@ -0,0 +1,203 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFQuickFix; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFQuickFix} object. + * + * + * @generated + */ +public class EEFQuickFixItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFQuickFixItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addTitleExpressionPropertyDescriptor(object); + addMessageExpressionPropertyDescriptor(object); + addCanHandleStatusExpressionPropertyDescriptor(object); + addFixExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Title Expression feature. + * + * + * @generated + */ + protected void addTitleExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFQuickFix_titleExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFQuickFix_titleExpression_feature", "_UI_EEFQuickFix_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_QUICK_FIX__TITLE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Message Expression feature. + * + * + * @generated + */ + protected void addMessageExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFQuickFix_messageExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFQuickFix_messageExpression_feature", "_UI_EEFQuickFix_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_QUICK_FIX__MESSAGE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Can Handle Status Expression feature. + * + * + * @generated + */ + protected void addCanHandleStatusExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFQuickFix_canHandleStatusExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFQuickFix_canHandleStatusExpression_feature", "_UI_EEFQuickFix_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, + null)); + } + + /** + * This adds a property descriptor for the Fix Expression feature. + * + * + * @generated + */ + protected void addFixExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFQuickFix_fixExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFQuickFix_fixExpression_feature", "_UI_EEFQuickFix_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_QUICK_FIX__FIX_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns EEFQuickFix.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFQuickFix")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFQuickFix) object).getTitleExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFQuickFix_type") //$NON-NLS-1$ + : + getString("_UI_EEFQuickFix_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFQuickFix.class)) { + case EefPackage.EEF_QUICK_FIX__TITLE_EXPRESSION: + case EefPackage.EEF_QUICK_FIX__MESSAGE_EXPRESSION: + case EefPackage.EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION: + case EefPackage.EEF_QUICK_FIX__FIX_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioDescriptionItemProvider.java index aec1bf2ab..785b8b398 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioDescriptionItemProvider.java @@ -185,25 +185,4 @@ public class EEFRadioDescriptionItemProvider extends EEFWidgetDescriptionItemPro super.collectNewChildDescriptors(newChildDescriptors, object); } - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectDescriptionItemProvider.java index 72f4d8635..d9e3ed694 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectDescriptionItemProvider.java @@ -200,25 +200,4 @@ public class EEFSelectDescriptionItemProvider extends EEFCellWidgetDescriptionIt super.collectNewChildDescriptors(newChildDescriptors, object); } - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableDescriptionItemProvider.java index d8b721583..b7a8f9188 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableDescriptionItemProvider.java @@ -165,25 +165,4 @@ public class EEFTableDescriptionItemProvider extends EEFWidgetDescriptionItemPro super.collectNewChildDescriptors(newChildDescriptors, object); } - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStructureDescriptionItemProvider.java index e5ae051c1..ef228e0de 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStructureDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStructureDescriptionItemProvider.java @@ -61,6 +61,10 @@ public class EEFTableStructureDescriptionItemProvider extends ItemProviderAdapte addMultiplePropertyDescriptor(object); addIdentifierPropertyDescriptor(object); + addAddExpressionPropertyDescriptor(object); + addRemoveExpressionPropertyDescriptor(object); + addUpExpressionPropertyDescriptor(object); + addDownExpressionPropertyDescriptor(object); } return itemPropertyDescriptors; } @@ -95,6 +99,66 @@ public class EEFTableStructureDescriptionItemProvider extends ItemProviderAdapte null)); } + /** + * This adds a property descriptor for the Add Expression feature. + * + * + * @generated + */ + protected void addAddExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTableStructureDescription_addExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_addExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This adds a property descriptor for the Remove Expression feature. + * + * + * @generated + */ + protected void addRemoveExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTableStructureDescription_removeExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_removeExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Up Expression feature. + * + * + * @generated + */ + protected void addUpExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTableStructureDescription_upExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_upExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + + /** + * This adds a property descriptor for the Down Expression feature. + * + * + * @generated + */ + protected void addDownExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFTableStructureDescription_downExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_downExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + /** * This returns EEFTableStructureDescription.gif. * @@ -142,6 +206,10 @@ public class EEFTableStructureDescriptionItemProvider extends ItemProviderAdapte switch (notification.getFeatureID(EEFTableStructureDescription.class)) { case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION: + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION: + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION: + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java index 6fb84c894..bf4341749 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java @@ -19,6 +19,7 @@ import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EStructuralFeature; + import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; @@ -258,25 +259,4 @@ public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItem EefFactory.eINSTANCE.createEEFTextConditionalStyle())); } - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDescriptionItemProvider.java index 656d93c65..692cb50fe 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDescriptionItemProvider.java @@ -165,25 +165,4 @@ public class EEFTreeDescriptionItemProvider extends EEFCellWidgetDescriptionItem super.collectNewChildDescriptors(newChildDescriptors, object); } - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java index 7bc89cb8a..477a727fc 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java @@ -185,25 +185,4 @@ public class EEFTreeDialogSelectDescriptionItemProvider extends EEFCellWidgetDes super.collectNewChildDescriptors(newChildDescriptors, object); } - /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. - * - * - * @generated - */ - @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); - } - } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFValidationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFValidationItemProvider.java new file mode 100644 index 000000000..10091665b --- /dev/null +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFValidationItemProvider.java @@ -0,0 +1,196 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.eef.EEFValidation; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +/** + * This is the item provider adapter for a {@link org.eclipse.eef.EEFValidation} object. + * + * + * @generated + */ +public class EEFValidationItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public EEFValidationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValidationExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Validation Expression feature. + * + * + * @generated + */ + protected void addValidationExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFValidation_validationExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFValidation_validationExpression_feature", "_UI_EEFValidation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_VALIDATION__VALIDATION_EXPRESSION, 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_VALIDATION__QUICKFIXES); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns EEFValidation.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFValidation")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((EEFValidation) object).getValidationExpression(); + return label == null || label.length() == 0 ? getString("_UI_EEFValidation_type") //$NON-NLS-1$ + : + getString("_UI_EEFValidation_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EEFValidation.class)) { + case EefPackage.EEF_VALIDATION__VALIDATION_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case EefPackage.EEF_VALIDATION__QUICKFIXES: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VALIDATION__QUICKFIXES, EefFactory.eINSTANCE.createEEFQuickFix())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; + } + +} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java index 732774af5..7e4e3886a 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java @@ -18,20 +18,31 @@ import org.eclipse.eef.EefPackage; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; + import org.eclipse.emf.ecore.EStructuralFeature; import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; +import org.eclipse.sirius.expression.ExpressionFactory; + /** * This is the item provider adapter for a {@link org.eclipse.eef.EEFViewDescription} object. * * * @generated */ -public class EEFViewDescriptionItemProvider extends ContextableElementItemProvider { +public class EEFViewDescriptionItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { /** * This constructs an instance from a factory and a notifier. * @@ -54,6 +65,7 @@ public class EEFViewDescriptionItemProvider extends ContextableElementItemProvid super.getPropertyDescriptors(object); addIdentifierPropertyDescriptor(object); + addPreconditionExpressionPropertyDescriptor(object); addLabelExpressionPropertyDescriptor(object); addEPackageNsUrisPropertyDescriptor(object); addImportedViewsPropertyDescriptor(object); @@ -75,6 +87,21 @@ public class EEFViewDescriptionItemProvider extends ContextableElementItemProvid EefPackage.Literals.EEF_VIEW_DESCRIPTION__IDENTIFIER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); } + /** + * This adds a property descriptor for the Precondition Expression feature. + * + * + * @generated + */ + protected void addPreconditionExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFViewDescription_preconditionExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_preconditionExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFViewDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + /** * This adds a property descriptor for the Label Expression feature. * @@ -141,6 +168,7 @@ public class EEFViewDescriptionItemProvider extends ContextableElementItemProvid public Collection getChildrenFeatures(Object object) { if (childrenFeatures == null) { super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES); childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__GROUPS); childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__PAGES); childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS); @@ -211,10 +239,12 @@ public class EEFViewDescriptionItemProvider extends ContextableElementItemProvid switch (notification.getFeatureID(EEFViewDescription.class)) { case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION: case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; + case EefPackage.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES: case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: @@ -237,6 +267,9 @@ public class EEFViewDescriptionItemProvider extends ContextableElementItemProvid protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES, + ExpressionFactory.eINSTANCE.createUserDefinedVariable())); + newChildDescriptors .add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__GROUPS, EefFactory.eINSTANCE.createEEFGroupDescription())); @@ -260,24 +293,14 @@ public class EEFViewDescriptionItemProvider extends ContextableElementItemProvid } /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * Return the resource locator for this item provider's resources. * * * @generated */ @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; } } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java index af0e9670e..b6d032c11 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java @@ -12,23 +12,37 @@ import java.util.Collection; import java.util.List; import org.eclipse.eef.EEFWidgetDescription; +import org.eclipse.eef.EefFactory; import org.eclipse.eef.EefPackage; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; +import org.eclipse.sirius.expression.ExpressionFactory; + /** * This is the item provider adapter for a {@link org.eclipse.eef.EEFWidgetDescription} object. * * * @generated */ -public class EEFWidgetDescriptionItemProvider extends ContextableElementItemProvider { +public class EEFWidgetDescriptionItemProvider extends ItemProviderAdapter + implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { /** * This constructs an instance from a factory and a notifier. * @@ -51,11 +65,11 @@ public class EEFWidgetDescriptionItemProvider extends ContextableElementItemProv super.getPropertyDescriptors(object); addIdentifierPropertyDescriptor(object); + addPreconditionExpressionPropertyDescriptor(object); addLabelExpressionPropertyDescriptor(object); addLabelStylePropertyDescriptor(object); addTooltipExpressionPropertyDescriptor(object); addHelpExpressionPropertyDescriptor(object); - addValidationExpressionPropertyDescriptor(object); } return itemPropertyDescriptors; } @@ -73,6 +87,21 @@ public class EEFWidgetDescriptionItemProvider extends ContextableElementItemProv EefPackage.Literals.EEF_WIDGET_DESCRIPTION__IDENTIFIER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); } + /** + * This adds a property descriptor for the Precondition Expression feature. + * + * + * @generated + */ + protected void addPreconditionExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_EEFWidgetDescription_preconditionExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFWidgetDescription_preconditionExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ + "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ + EefPackage.Literals.EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, null)); + } + /** * This adds a property descriptor for the Label Expression feature. * @@ -130,18 +159,34 @@ public class EEFWidgetDescriptionItemProvider extends ContextableElementItemProv } /** - * This adds a property descriptor for the Validation Expression feature. + * 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}. * * * @generated */ - protected void addValidationExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFWidgetDescription_validationExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFWidgetDescription_validationExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(EefPackage.Literals.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES); + childrenFeatures.add(EefPackage.Literals.EEF_WIDGET_DESCRIPTION__VALIDATION); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); } /** @@ -192,12 +237,16 @@ public class EEFWidgetDescriptionItemProvider extends ContextableElementItemProv switch (notification.getFeatureID(EEFWidgetDescription.class)) { case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: + case EefPackage.EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION: case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: case EefPackage.EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION: case EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION: - case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; + case EefPackage.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES: + case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; } super.notifyChanged(notification); } @@ -212,27 +261,23 @@ public class EEFWidgetDescriptionItemProvider extends ContextableElementItemProv @Override protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES, + ExpressionFactory.eINSTANCE.createUserDefinedVariable())); + + newChildDescriptors + .add(createChildParameter(EefPackage.Literals.EEF_WIDGET_DESCRIPTION__VALIDATION, EefFactory.eINSTANCE.createEEFValidation())); } /** - * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * Return the resource locator for this item provider's resources. * * * @generated */ @Override - public String getCreateChildText(Object owner, Object feature, Object child, Collection selection) { - Object childFeature = feature; - Object childObject = child; - - boolean qualify = childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES - || childFeature == EefPackage.Literals.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; - - if (qualify) { - return getString("_UI_CreateChild_text2", //$NON-NLS-1$ - new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); - } - return super.getCreateChildText(owner, feature, child, selection); + public ResourceLocator getResourceLocator() { + return EefEditPlugin.INSTANCE; } } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefEditPlugin.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefEditPlugin.java index 432c9100e..544fd44d6 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefEditPlugin.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefEditPlugin.java @@ -12,7 +12,9 @@ import org.eclipse.emf.common.EMFPlugin; import org.eclipse.emf.common.util.ResourceLocator; -import org.eclipse.sirius.context.provider.ContextEditPlugin; +import org.eclipse.emf.ecore.provider.EcoreEditPlugin; + +import org.eclipse.sirius.expression.provider.ExpressionEditPlugin; /** * This is the central singleton for the Eef edit plugin. @@ -44,7 +46,7 @@ public final class EefEditPlugin extends EMFPlugin { * @generated */ public EefEditPlugin() { - super(new ResourceLocator[] { ContextEditPlugin.INSTANCE, }); + super(new ResourceLocator[] { EcoreEditPlugin.INSTANCE, ExpressionEditPlugin.INSTANCE, }); } /** diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java index e4e38d5e6..110cda050 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java @@ -1342,6 +1342,52 @@ public class EefItemProviderAdapterFactory extends EefAdapterFactory implements return eefColumnStyleCustomizationItemProvider; } + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFQuickFix} instances. + * + * + * @generated + */ + protected EEFQuickFixItemProvider eefQuickFixItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFQuickFix}. + * + * + * @generated + */ + @Override + public Adapter createEEFQuickFixAdapter() { + if (eefQuickFixItemProvider == null) { + eefQuickFixItemProvider = new EEFQuickFixItemProvider(this); + } + + return eefQuickFixItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFValidation} instances. + * + * + * @generated + */ + protected EEFValidationItemProvider eefValidationItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.eef.EEFValidation}. + * + * + * @generated + */ + @Override + public Adapter createEEFValidationAdapter() { + if (eefValidationItemProvider == null) { + eefValidationItemProvider = new EEFValidationItemProvider(this); + } + + return eefValidationItemProvider; + } + /** * This returns the root adapter factory that contains this factory. * @@ -1557,6 +1603,10 @@ public class EefItemProviderAdapterFactory extends EefAdapterFactory implements eefColumnConditionalStyleItemProvider.dispose(); if (eefColumnStyleCustomizationItemProvider != null) eefColumnStyleCustomizationItemProvider.dispose(); + if (eefQuickFixItemProvider != null) + eefQuickFixItemProvider.dispose(); + if (eefValidationItemProvider != null) + eefValidationItemProvider.dispose(); } } diff --git a/plugins/org.eclipse.eef.expression/eef.expression b/plugins/org.eclipse.eef.expression/eef.expression index 54e37169d..a3a534e95 100644 --- a/plugins/org.eclipse.eef.expression/eef.expression +++ b/plugins/org.eclipse.eef.expression/eef.expression @@ -3,10 +3,15 @@ package eef{ /** * The variable representing the view input. */ - var viewSemanticCandidate : ecore.EObject - + var viewSemanticCandidate : ecore.EObject + + exp eef.EEFViewDescription.preconditionExpression(viewSemanticCandidate) : ecore.EBoolean [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription + ] + } exp eef.EEFViewDescription.labelExpression(viewSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription ] } @@ -18,13 +23,18 @@ package eef{ */ var pageSemanticCandidate : ecore.EObject + exp eef.EEFViewDescription.preconditionExpression(viewSemanticCandidate) : ecore.EBoolean [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription + ] + } exp eef.EEFPageDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription ] } exp eef.EEFPageDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription ] } @@ -36,23 +46,28 @@ package eef{ */ var groupSemanticCandidate : ecore.EObject + exp eef.EEFViewDescription.preconditionExpression(viewSemanticCandidate) : ecore.EBoolean [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } exp eef.EEFGroupDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription ] } exp eef.EEFGroupDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription ] } exp eef.EEFGroupDescription.collapsibleExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EBoolean [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription ] } exp eef.EEFGroupDescription.collapsedByDefaultExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EBoolean [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription ] } @@ -65,7 +80,7 @@ package eef{ var containerSemanticCandidate : ecore.EObject exp eef.EEFContainerDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate, containerSemanticCandidate, groupSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription ] } @@ -73,17 +88,17 @@ package eef{ class eef.EEFWidgetDescription { exp eef.EEFWidgetDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } exp eef.EEFWidgetDescription.tooltipExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } exp eef.EEFWidgetDescription.helpExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } @@ -96,12 +111,12 @@ package eef{ var newValue : ecore.EObject exp eef.EEFCheckboxDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription ] } exp eef.EEFCheckboxDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription ] } @@ -119,22 +134,22 @@ package eef{ var candidate : ecore.EObject exp eef.EEFSelectDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription ] } exp eef.EEFSelectDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription ] } exp eef.EEFSelectDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription ] } exp eef.EEFSelectDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription ] } @@ -142,7 +157,7 @@ package eef{ class eef.EEFLabelDescription { exp eef.EEFLabelDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription ] } @@ -160,22 +175,22 @@ package eef{ var candidate : ecore.EObject exp eef.EEFRadioDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription ] } exp eef.EEFRadioDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription ] } exp eef.EEFRadioDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription ] } exp eef.EEFRadioDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription ] } @@ -183,7 +198,7 @@ package eef{ class eef.EEFLinkDescription { exp eef.EEFLinkDescription.onClickExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Void [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription ] } @@ -191,7 +206,7 @@ package eef{ class eef.EEFImageDescription { exp eef.EEFImageDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImageDescription ] } @@ -204,12 +219,12 @@ package eef{ var newValue : ecore.EObject exp eef.EEFTreeDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDescription ] } exp eef.EEFTreeDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDescription ] } @@ -232,7 +247,7 @@ package eef{ var newValue : ecore.EObject exp eef.EEFTreeDialogSelectDescription.semanticCandidateExpression(viewSemanticCandidate, treeDialogSelectSemanticCandidate, candidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDialogSelectDescription ] } @@ -245,17 +260,17 @@ package eef{ var newValue : ecore.EObject exp eef.EEFImagePickerDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..-1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription ] } exp eef.EEFImagePickerDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription ] } exp eef.EEFImagePickerDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription ] } @@ -268,7 +283,7 @@ package eef{ var columnSemanticCandidate : ecore.EObject exp eef.EEFColumnDescription.headerExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFColumnDescription ] } @@ -281,12 +296,12 @@ package eef{ var lineSemanticCandidate : ecore.EObject exp eef.EEFLineDescription.headerExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLineDescription ] } exp eef.EEFLineDescription.semanticCandidatesExpression(viewSemanticCandidate, lineSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLineDescription ] } @@ -299,12 +314,12 @@ package eef{ var newValue : ecore.EObject exp eef.EEFTableDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTableDescription ] } exp eef.EEFTableDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTableDescription ] } @@ -322,22 +337,22 @@ package eef{ var candidate : ecore.EObject exp eef.EEFInterpretedTreeStructureDescription.rootsExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription ] } exp eef.EEFInterpretedTreeStructureDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription ] } exp eef.EEFInterpretedTreeStructureDescription.selectablePredicateExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Predicate [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription ] } exp eef.EEFInterpretedTreeStructureDescription.childrenExpression(viewSemanticCandidate, parent, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription ] } @@ -355,27 +370,27 @@ package eef{ var position : ecore.EObject exp eef.EEFTextDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription ] } exp eef.EEFTextDescription.editExpression(viewSemanticCandidate, value, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription ] } exp eef.EEFTextDescription.readOnlyExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription ] } exp eef.EEFTextDescription.contentAssistExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate, value, position) : contentassist.CompletionProposal [0..-1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription ] } exp eef.EEFTextDescription.placeholderExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription ] } @@ -383,7 +398,7 @@ package eef{ class eef.EEFStyle { exp eef.EEFStyle.fontExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } @@ -391,7 +406,7 @@ package eef{ class eef.EEFConditionalStyle { exp eef.EEFConditionalStyle.conditionalExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } @@ -399,7 +414,7 @@ package eef{ class eef.EEFGroupStyle { exp eef.EEFGroupStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription ] } @@ -407,12 +422,12 @@ package eef{ class eef.EEFTextStyle { exp eef.EEFTextStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription ] } exp eef.EEFTextStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription ] } @@ -420,12 +435,12 @@ package eef{ class eef.EEFCheckboxStyle { exp eef.EEFCheckboxStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription ] } exp eef.EEFCheckboxStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription ] } @@ -433,12 +448,12 @@ package eef{ class eef.EEFLabelStyle { exp eef.EEFLabelStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription ] } exp eef.EEFLabelStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription ] } @@ -446,12 +461,12 @@ package eef{ class eef.EEFRadioStyle { exp eef.EEFRadioStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription ] } exp eef.EEFRadioStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription ] } @@ -459,17 +474,17 @@ package eef{ class eef.EEFLinkStyle { exp eef.EEFLinkStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription ] } exp eef.EEFLinkStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription ] } exp eef.EEFLinkStyle.backgroundImageExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription ] } @@ -477,12 +492,12 @@ package eef{ class eef.EEFSelectStyle { exp eef.EEFSelectStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription ] } exp eef.EEFSelectStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription ] } @@ -490,22 +505,22 @@ package eef{ class eef.EEFLineStyle { exp eef.EEFLineStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } exp eef.EEFLineStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription ] } exp eef.EEFLineStyle.headerBackgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } exp eef.EEFLineStyle.headerForegroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription ] } @@ -513,22 +528,22 @@ package eef{ class eef.EEFColumnStyle { exp eef.EEFColumnStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } exp eef.EEFColumnStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription ] } exp eef.EEFColumnStyle.headerBackgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } exp eef.EEFColumnStyle.headerForegroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - variableContainers = [ + userDefinedVariableContainers = [ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription ] } @@ -536,7 +551,7 @@ package eef{ class eef.EEFValidation{ exp eef.EEFValidation.validationExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EBoolean [0..1]{ - variableContainers=[ + userDefinedVariableContainers=[ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } @@ -544,22 +559,22 @@ package eef{ class eef.EEFQuickFix{ exp eef.EEFQuickFix.canHandleStatusExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EBoolean [0..1]{ - variableContainers=[ + userDefinedVariableContainers=[ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } exp eef.EEFQuickFix.fixExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : expression.Void [0..1]{ - variableContainers=[ + userDefinedVariableContainers=[ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } exp eef.EEFQuickFix.messageExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EString [0..1]{ - variableContainers=[ + userDefinedVariableContainers=[ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } exp eef.EEFQuickFix.titleExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EString [0..1]{ - variableContainers=[ + userDefinedVariableContainers=[ eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription ] } diff --git a/plugins/org.eclipse.eef.expression/userDefinedVariable.expression b/plugins/org.eclipse.eef.expression/userDefinedVariable.expression new file mode 100644 index 000000000..46d8c1d85 --- /dev/null +++ b/plugins/org.eclipse.eef.expression/userDefinedVariable.expression @@ -0,0 +1,8 @@ +package expression { + class expression.UserDefinedVariable { + var self : ecore.EObject + exp expression.UserDefinedVariable.valueExpression(self) : ecore.EObject [0..1] { + userDefinedVariableContainers = [] + } + } +} \ No newline at end of file diff --git a/plugins/org.eclipse.eef/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef/META-INF/MANIFEST.MF index a7ae3fd84..7a69c9975 100644 --- a/plugins/org.eclipse.eef/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef/META-INF/MANIFEST.MF @@ -13,5 +13,5 @@ Export-Package: org.eclipse.eef;version="2.0.0", org.eclipse.eef.util;version="2.0.0" Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, - org.eclipse.sirius.context;bundle-version="[1.0.0,2.0.0)";visibility:=reexport + org.eclipse.sirius.expression;bundle-version="[1.0.0,2.0.0)";visibility:=reexport Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.eef/model/eef.aird b/plugins/org.eclipse.eef/model/eef.aird index a53841eff..3169fd773 100644 --- a/plugins/org.eclipse.eef/model/eef.aird +++ b/plugins/org.eclipse.eef/model/eef.aird @@ -1,5 +1,5 @@ - + eef.ecore eef.genmodel EEFInterpretedExpression.xmi @@ -4439,6 +4439,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4582,6 +4608,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4673,6 +4725,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4751,14 +4829,14 @@ - - - + + + - - - - + + + + @@ -4790,6 +4868,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4881,6 +4985,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4933,14 +5063,14 @@ - - - + + + - - - - + + + + @@ -4957,19 +5087,6 @@ - - - - - - - - - - - - - @@ -5934,6 +6051,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5971,45 +6140,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -6250,11 +6380,27 @@ + + + + + + + + + + + + + + + + @@ -6858,11 +7004,27 @@ + + + + + + + + + + + + + + + + @@ -6959,11 +7121,27 @@ + + + + + + + + + + + + + + + + @@ -7028,7 +7206,111 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -12055,8 +12337,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12064,10 +12344,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12075,6 +12355,8 @@ + + @@ -12088,16 +12370,14 @@ - - + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12105,10 +12385,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12116,6 +12396,8 @@ + + @@ -12129,8 +12411,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12138,10 +12418,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12149,10 +12429,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12160,6 +12440,8 @@ + + @@ -12173,16 +12455,14 @@ - - + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -12190,6 +12470,8 @@ + + @@ -12812,124 +13094,124 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + KEEP_LOCATION @@ -12940,47 +13222,47 @@ - - + + - - + + - - + + - + - + KEEP_LOCATION @@ -12991,8 +13273,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13000,10 +13280,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13011,10 +13291,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13022,25 +13302,27 @@ + + - + - + KEEP_LOCATION @@ -13051,16 +13333,14 @@ - - + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13068,10 +13348,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13079,10 +13359,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13090,10 +13370,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13101,10 +13381,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13112,41 +13392,43 @@ + + - + - + - + - + KEEP_LOCATION @@ -13157,23 +13439,23 @@ - - + + - + KEEP_LOCATION @@ -13184,8 +13466,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13193,10 +13473,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13204,10 +13484,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13215,10 +13495,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13226,10 +13506,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13237,10 +13517,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13248,41 +13528,43 @@ + + - + - + - + - + KEEP_LOCATION @@ -13293,23 +13575,23 @@ - - + + - + KEEP_LOCATION @@ -13320,12 +13602,12 @@ - - + + @@ -13339,8 +13621,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13348,10 +13628,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13359,10 +13639,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13370,6 +13650,8 @@ + + @@ -13383,8 +13665,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13392,10 +13672,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13403,10 +13683,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13414,10 +13694,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13425,6 +13705,8 @@ + + @@ -13438,8 +13720,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13447,10 +13727,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13458,10 +13738,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13469,10 +13749,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13480,6 +13760,8 @@ + + @@ -13493,16 +13775,14 @@ - - + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13510,10 +13790,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13521,6 +13801,8 @@ + + @@ -13534,8 +13816,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13543,10 +13823,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13554,10 +13834,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13565,6 +13845,8 @@ + + @@ -13578,16 +13860,14 @@ - - + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13595,10 +13875,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13606,113 +13886,115 @@ + + - + - + - + - + - + - + - + - + - + - + - + - + - + KEEP_LOCATION @@ -13723,16 +14005,14 @@ - - + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13740,10 +14020,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13751,10 +14031,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13762,10 +14042,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13773,10 +14053,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13784,6 +14064,8 @@ + + @@ -13797,8 +14079,6 @@ - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13806,10 +14086,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13817,10 +14097,10 @@ + + - - KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -13828,457 +14108,459 @@ + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -14292,1028 +14574,1028 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -15323,14 +15605,14 @@ - - + - + + @@ -15338,34 +15620,34 @@ - - + - + - + + - - + - + - + + @@ -15373,44 +15655,44 @@ - - + - + - + - + + - - + - + - + - + + @@ -15418,29 +15700,29 @@ - - + - + - + - + - + + @@ -15448,59 +15730,59 @@ - - + - + - + - + - + + - - + - + - + - + - + - + + @@ -15508,69 +15790,69 @@ - - + - + - + - + - + - + + - - + - + - + - + - + - + - + + @@ -15578,134 +15860,134 @@ - - + - + - + - + - + - + + - - + - + - + - + - + - + - + + - - + - + - + - + - + - + + - - + - + - + - + - + - + - + + @@ -15713,34 +15995,34 @@ - - + - + - + - + - + - + + @@ -15748,134 +16030,134 @@ - - + - + - + - + - + - + + - - + - + - + - + - + - + - + + - - + - + - + - + - + - + + - - + - + - + - + - + - + - + + @@ -15883,34 +16165,34 @@ - - + - + - + - + - + - + + @@ -15918,34 +16200,34 @@ - - + - + - + - + - + - + + @@ -15953,69 +16235,69 @@ - - + - + - + - + - + - + - + + - - + - + - + - + - + - + + @@ -16023,49 +16305,49 @@ - - + - + - + - + - + - + - + - + - + + @@ -16073,99 +16355,99 @@ - - + - + - + - + - + - + + - - + - + - + - + - + - + - + + - - + - + - + - + - + - + + @@ -16173,59 +16455,59 @@ - - + - + - + - + - + + - - + - + - + - + - + - + + @@ -16233,59 +16515,59 @@ - - + - + - + - + - + + - - + - + - + - + - + - + + @@ -16293,69 +16575,69 @@ - - + - + - + - + - + - + + - - + - + - + - + - + - + - + + @@ -16363,114 +16645,114 @@ - - + - + - + - + - + + - - + - + - + - + - + - + + - - + - + - + - + - + + - - + - + - + - + - + - + + @@ -16478,178 +16760,178 @@ - - + - + - + - + - + - + + - - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - @@ -16657,14 +16939,14 @@ - - + - + + @@ -16672,34 +16954,34 @@ - - + - + - + + - - + - + - + + @@ -16707,44 +16989,44 @@ - - + - + - + - + + - - + - + - + - + + @@ -16752,29 +17034,29 @@ - - + - + - + - + - + + @@ -16782,64 +17064,64 @@ - - + - + - + - + - + - + + - - + - + - + - + - + - + + @@ -16847,74 +17129,74 @@ - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + @@ -16922,144 +17204,144 @@ - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + @@ -17067,39 +17349,39 @@ - - + - + - + - + - + - + - + + @@ -17107,144 +17389,144 @@ - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + @@ -17252,39 +17534,39 @@ - - + - + - + - + - + - + - + + @@ -17292,39 +17574,39 @@ - - + - + - + - + - + - + - + + @@ -17332,74 +17614,74 @@ - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + @@ -17407,39 +17689,39 @@ - - + - + - + - + - + - + - + + @@ -17447,109 +17729,109 @@ - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + @@ -17557,74 +17839,74 @@ - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + @@ -17632,74 +17914,74 @@ - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + @@ -17707,74 +17989,74 @@ - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + @@ -17782,144 +18064,144 @@ - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + @@ -17927,74 +18209,74 @@ - - + - + - + - + - + - + - + + - - + - + - + - + - + - + - + + diff --git a/plugins/org.eclipse.eef/model/eef.ecore b/plugins/org.eclipse.eef/model/eef.ecore index e69754fd8..e8e51ada8 100644 --- a/plugins/org.eclipse.eef/model/eef.ecore +++ b/plugins/org.eclipse.eef/model/eef.ecore @@ -1,7 +1,7 @@ - +
    @@ -11,6 +11,19 @@
    + + +
    + + + + +
    + +
    @@ -65,7 +78,7 @@ - +
    @@ -75,6 +88,19 @@
    + + +
    + + + + +
    + +
    @@ -104,7 +130,7 @@ - +
    @@ -114,6 +140,19 @@
    + + +
    + + + + +
    + +
    @@ -149,9 +188,13 @@ + containment="true"> + +
    + + - +
    @@ -161,6 +204,19 @@
    + + +
    + + + + +
    + + @@ -191,8 +247,7 @@ - +
    @@ -202,6 +257,19 @@
    + + +
    + + + + +
    + +
    @@ -223,7 +291,11 @@ + containment="true"> + +
    + + @@ -621,10 +693,26 @@
    - - - - + + +
    + + + + +
    + + + + +
    + + + + +
    + + @@ -638,25 +726,6 @@ - - -
    - - - -
    - - - - -
    - - -
    @@ -760,9 +829,17 @@
    + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression"> + +
    + + + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression"> + +
    + + @@ -1019,9 +1096,17 @@ + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression"> + +
    + + + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression"> + +
    + + @@ -1062,9 +1147,17 @@ + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression"> + +
    + + + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression"> + +
    + + @@ -1089,19 +1182,45 @@ - - + +
    + + + +
    + + + + +
    + + - + eType="ecore:EDataType ../../org.eclipse.sirius.expression/model/expression.ecore#//Expression"> + +
    + + + + +
    + + + +
    +
    + eType="#//EEFQuickFix" containment="true"> + +
    + + diff --git a/plugins/org.eclipse.eef/model/eef.genmodel b/plugins/org.eclipse.eef/model/eef.genmodel index c809432a5..126193fba 100644 --- a/plugins/org.eclipse.eef/model/eef.genmodel +++ b/plugins/org.eclipse.eef/model/eef.genmodel @@ -5,15 +5,16 @@ editorDirectory="/org.eclipse.eef.editor/src-gen" modelPluginID="org.eclipse.eef" modelName="Eef" nonNLSMarkers="true" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.ecore" - containmentProxies="true" complianceLevel="6.0" copyrightFields="false" usedGenPackages="../../org.eclipse.sirius.context/model/context.genmodel#//context" + containmentProxies="true" complianceLevel="6.0" copyrightFields="false" usedGenPackages="../../org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore ../../org.eclipse.sirius.expression/model/expression.genmodel#//expression" importOrganizing="true" cleanup="true"> eef.ecore - + + @@ -26,6 +27,8 @@ + + @@ -34,16 +37,20 @@ + + - + + + @@ -52,11 +59,13 @@ + + - + @@ -150,14 +159,14 @@ + + + + - - - - @@ -273,5 +282,15 @@ + + + + + + + + + + diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/ContextableElement.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/ContextableElement.java deleted file mode 100644 index 470427473..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/ContextableElement.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.sirius.context.ContextVariable; - -/** - * - * A representation of the model object 'Contextable Element'. - * - * - * - * Represents an element which can provide a context. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.eef.ContextableElement#getRequiredContextVariables Required Context Variables}
    • - *
    • {@link org.eclipse.eef.ContextableElement#getExcludedContextVariables Excluded Context Variables}
    • - *
    - * - * @see org.eclipse.eef.EefPackage#getContextableElement() - * @model abstract="true" - * @generated - */ -public interface ContextableElement extends EObject { - /** - * Returns the value of the 'Required Context Variables' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.context.ContextVariable}. - * - * - * - * Defines variables associated to the required contexts. - * - * @return the value of the 'Required Context Variables' containment reference list. - * @see org.eclipse.eef.EefPackage#getContextableElement_RequiredContextVariables() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getRequiredContextVariables(); - - /** - * Returns the value of the 'Excluded Context Variables' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.context.ContextVariable}. - * - * - * - * Defines variables associated to the excluded contexts. - * - * @return the value of the 'Excluded Context Variables' containment reference list. - * @see org.eclipse.eef.EefPackage#getContextableElement_ExcludedContextVariables() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getExcludedContextVariables(); - -} // ContextableElement diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxDescription.java index 998fec275..e9cd55541 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxDescription.java @@ -40,7 +40,7 @@ public interface EEFCheckboxDescription extends EEFCellWidgetDescription { * @return the value of the 'Value Expression' attribute. * @see #setValueExpression(String) * @see org.eclipse.eef.EefPackage#getEEFCheckboxDescription_ValueExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getValueExpression(); @@ -65,7 +65,7 @@ public interface EEFCheckboxDescription extends EEFCellWidgetDescription { * @return the value of the 'Edit Expression' attribute. * @see #setEditExpression(String) * @see org.eclipse.eef.EefPackage#getEEFCheckboxDescription_EditExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getEditExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyle.java index 55c83218c..3cd79f894 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyle.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyle.java @@ -33,15 +33,14 @@ public interface EEFCheckboxStyle extends EEFStyle { /** * Returns the value of the 'Background Color Expression' attribute. * - *

    - * If the meaning of the 'Background Color Expression' attribute isn't clear, - * there really should be more of a description here... - *

    * + * + * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * * @return the value of the 'Background Color Expression' attribute. * @see #setBackgroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFCheckboxStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getBackgroundColorExpression(); @@ -59,15 +58,14 @@ public interface EEFCheckboxStyle extends EEFStyle { /** * Returns the value of the 'Foreground Color Expression' attribute. * - *

    - * If the meaning of the 'Foreground Color Expression' attribute isn't clear, - * there really should be more of a description here... - *

    * + * + * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * * @return the value of the 'Foreground Color Expression' attribute. * @see #setForegroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFCheckboxStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getForegroundColorExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java index 9dcf9500d..888f0e8be 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java @@ -68,7 +68,7 @@ public interface EEFColumnDescription extends EObject { * @return the value of the 'Header Expression' attribute. * @see #setHeaderExpression(String) * @see org.eclipse.eef.EefPackage#getEEFColumnDescription_HeaderExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getHeaderExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyle.java index 05458bed6..67388e1ff 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyle.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyle.java @@ -42,7 +42,7 @@ public interface EEFColumnStyle extends EEFStyle { * @return the value of the 'Background Color Expression' attribute. * @see #setBackgroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFColumnStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getBackgroundColorExpression(); @@ -67,7 +67,7 @@ public interface EEFColumnStyle extends EEFStyle { * @return the value of the 'Foreground Color Expression' attribute. * @see #setForegroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFColumnStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getForegroundColorExpression(); @@ -85,15 +85,14 @@ public interface EEFColumnStyle extends EEFStyle { /** * Returns the value of the 'Header Background Color Expression' attribute. * - *

    - * If the meaning of the 'Header Background Color Expression' attribute isn't clear, - * there really should be more of a description here... - *

    * + * + * Defines the header background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * * @return the value of the 'Header Background Color Expression' attribute. * @see #setHeaderBackgroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFColumnStyle_HeaderBackgroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getHeaderBackgroundColorExpression(); @@ -111,15 +110,14 @@ public interface EEFColumnStyle extends EEFStyle { /** * Returns the value of the 'Header Foreground Color Expression' attribute. * - *

    - * If the meaning of the 'Header Foreground Color Expression' attribute isn't clear, - * there really should be more of a description here... - *

    * + * + * Defines the header foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * * @return the value of the 'Header Foreground Color Expression' attribute. * @see #setHeaderForegroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFColumnStyle_HeaderForegroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getHeaderForegroundColorExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFConditionalStyle.java index a555e470c..d7db55b32 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFConditionalStyle.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFConditionalStyle.java @@ -41,7 +41,7 @@ public interface EEFConditionalStyle extends EObject { * @return the value of the 'Conditional Expression' attribute. * @see #setConditionalExpression(String) * @see org.eclipse.eef.EefPackage#getEEFConditionalStyle_ConditionalExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getConditionalExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFContainerDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFContainerDescription.java index 17c48edc5..b5653a622 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFContainerDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFContainerDescription.java @@ -10,6 +10,10 @@ package org.eclipse.eef; import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.expression.UserDefinedVariable; + /** * * A representation of the model object 'EEF Container Description'. @@ -24,6 +28,8 @@ import org.eclipse.emf.common.util.EList; *

    *
      *
    • {@link org.eclipse.eef.EEFContainerDescription#getIdentifier Identifier}
    • + *
    • {@link org.eclipse.eef.EEFContainerDescription#getPreconditionExpression Precondition Expression}
    • + *
    • {@link org.eclipse.eef.EEFContainerDescription#getUserDefinedVariables User Defined Variables}
    • *
    • {@link org.eclipse.eef.EEFContainerDescription#getSemanticCandidateExpression Semantic Candidate Expression}
    • *
    • {@link org.eclipse.eef.EEFContainerDescription#getDomainClass Domain Class}
    • *
    • {@link org.eclipse.eef.EEFContainerDescription#getLayoutColumnCount Layout Column Count}
    • @@ -35,7 +41,7 @@ import org.eclipse.emf.common.util.EList; * @model * @generated */ -public interface EEFContainerDescription extends ContextableElement { +public interface EEFContainerDescription extends EObject { /** * Returns the value of the 'Identifier' attribute. * @@ -61,6 +67,46 @@ public interface EEFContainerDescription extends ContextableElement { */ void setIdentifier(String value); + /** + * Returns the value of the 'Precondition Expression' attribute. + * + * + * + * Defines the condition on which the Container will be visible. + * + * @return the value of the 'Precondition Expression' attribute. + * @see #setPreconditionExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_PreconditionExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getPreconditionExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFContainerDescription#getPreconditionExpression Precondition Expression}' attribute. + * + * + * @param value the new value of the 'Precondition Expression' attribute. + * @see #getPreconditionExpression() + * @generated + */ + void setPreconditionExpression(String value); + + /** + * Returns the value of the 'User Defined Variables' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.UserDefinedVariable}. + * + * + * + * Contains the variables defined by the end user. + * + * @return the value of the 'User Defined Variables' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_UserDefinedVariables() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getUserDefinedVariables(); + /** * Returns the value of the 'Semantic Candidate Expression' attribute. * @@ -71,7 +117,7 @@ public interface EEFContainerDescription extends ContextableElement { * @return the value of the 'Semantic Candidate Expression' attribute. * @see #setSemanticCandidateExpression(String) * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_SemanticCandidateExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getSemanticCandidateExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java index a6b703da6..ffa0268c0 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java @@ -8,6 +8,12 @@ */ package org.eclipse.eef; +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.expression.UserDefinedVariable; + /** * * A representation of the model object 'EEF Group Description'. @@ -22,20 +28,22 @@ package org.eclipse.eef; *

      *
        *
      • {@link org.eclipse.eef.EEFGroupDescription#getIdentifier Identifier}
      • + *
      • {@link org.eclipse.eef.EEFGroupDescription#getPreconditionExpression Precondition Expression}
      • + *
      • {@link org.eclipse.eef.EEFGroupDescription#getUserDefinedVariables User Defined Variables}
      • *
      • {@link org.eclipse.eef.EEFGroupDescription#getLabelExpression Label Expression}
      • *
      • {@link org.eclipse.eef.EEFGroupDescription#getDomainClass Domain Class}
      • *
      • {@link org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression Semantic Candidate Expression}
      • *
      • {@link org.eclipse.eef.EEFGroupDescription#getContainer Container}
      • *
      • {@link org.eclipse.eef.EEFGroupDescription#getCollapsibleExpression Collapsible Expression}
      • *
      • {@link org.eclipse.eef.EEFGroupDescription#getCollapsedByDefaultExpression Collapsed By Default Expression}
      • - *
      • {@link org.eclipse.eef.EEFGroupDescription#getValidationExpression Validation Expression}
      • + *
      • {@link org.eclipse.eef.EEFGroupDescription#getValidation Validation}
      • *
      * * @see org.eclipse.eef.EefPackage#getEEFGroupDescription() * @model * @generated */ -public interface EEFGroupDescription extends ContextableElement { +public interface EEFGroupDescription extends EObject { /** * Returns the value of the 'Identifier' attribute. * @@ -61,6 +69,46 @@ public interface EEFGroupDescription extends ContextableElement { */ void setIdentifier(String value); + /** + * Returns the value of the 'Precondition Expression' attribute. + * + * + * + * Defines the condition on which the Group will be visible. + * + * @return the value of the 'Precondition Expression' attribute. + * @see #setPreconditionExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_PreconditionExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getPreconditionExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getPreconditionExpression Precondition Expression}' attribute. + * + * + * @param value the new value of the 'Precondition Expression' attribute. + * @see #getPreconditionExpression() + * @generated + */ + void setPreconditionExpression(String value); + + /** + * Returns the value of the 'User Defined Variables' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.UserDefinedVariable}. + * + * + * + * Contains the variables defined by the end user. + * + * @return the value of the 'User Defined Variables' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_UserDefinedVariables() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getUserDefinedVariables(); + /** * Returns the value of the 'Label Expression' attribute. * @@ -71,7 +119,7 @@ public interface EEFGroupDescription extends ContextableElement { * @return the value of the 'Label Expression' attribute. * @see #setLabelExpression(String) * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_LabelExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getLabelExpression(); @@ -121,7 +169,7 @@ public interface EEFGroupDescription extends ContextableElement { * @return the value of the 'Semantic Candidate Expression' attribute. * @see #setSemanticCandidateExpression(String) * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_SemanticCandidateExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getSemanticCandidateExpression(); @@ -171,7 +219,7 @@ public interface EEFGroupDescription extends ContextableElement { * @return the value of the 'Collapsible Expression' attribute. * @see #setCollapsibleExpression(String) * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_CollapsibleExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getCollapsibleExpression(); @@ -196,7 +244,7 @@ public interface EEFGroupDescription extends ContextableElement { * @return the value of the 'Collapsed By Default Expression' attribute. * @see #setCollapsedByDefaultExpression(String) * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_CollapsedByDefaultExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getCollapsedByDefaultExpression(); @@ -212,28 +260,28 @@ public interface EEFGroupDescription extends ContextableElement { void setCollapsedByDefaultExpression(String value); /** - * Returns the value of the 'Validation Expression' attribute. + * Returns the value of the 'Validation' containment reference. * * * - * Defines if a group value is valid or not. + * Contains the validation rule of the Group. * - * @return the value of the 'Validation Expression' attribute. - * @see #setValidationExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_ValidationExpression() - * @model dataType="org.eclipse.eef.Expression" + * @return the value of the 'Validation' containment reference. + * @see #setValidation(EEFValidation) + * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_Validation() + * @model containment="true" resolveProxies="true" * @generated */ - String getValidationExpression(); + EEFValidation getValidation(); /** - * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getValidationExpression Validation Expression}' attribute. + * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getValidation Validation}' containment reference. * * - * @param value the new value of the 'Validation Expression' attribute. - * @see #getValidationExpression() + * @param value the new value of the 'Validation' containment reference. + * @see #getValidation() * @generated */ - void setValidationExpression(String value); + void setValidation(EEFValidation value); } // EEFGroupDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyle.java index 6bcb74d4e..05028c67a 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyle.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyle.java @@ -39,7 +39,7 @@ public interface EEFGroupStyle extends EEFStyle { * @return the value of the 'Foreground Color Expression' attribute. * @see #setForegroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFGroupStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getForegroundColorExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImageDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImageDescription.java index 5066952df..1a698f74c 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImageDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImageDescription.java @@ -39,7 +39,7 @@ public interface EEFImageDescription extends EEFCellWidgetDescription { * @return the value of the 'Value Expression' attribute. * @see #setValueExpression(String) * @see org.eclipse.eef.EefPackage#getEEFImageDescription_ValueExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getValueExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImagePickerDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImagePickerDescription.java index 80dbd0908..d88eae6e1 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImagePickerDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImagePickerDescription.java @@ -41,7 +41,7 @@ public interface EEFImagePickerDescription extends EEFWidgetDescription { * @return the value of the 'Value Expression' attribute. * @see #setValueExpression(String) * @see org.eclipse.eef.EefPackage#getEEFImagePickerDescription_ValueExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getValueExpression(); @@ -66,7 +66,7 @@ public interface EEFImagePickerDescription extends EEFWidgetDescription { * @return the value of the 'Edit Expression' attribute. * @see #setEditExpression(String) * @see org.eclipse.eef.EefPackage#getEEFImagePickerDescription_EditExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getEditExpression(); @@ -91,7 +91,7 @@ public interface EEFImagePickerDescription extends EEFWidgetDescription { * @return the value of the 'Candidates Expression' attribute. * @see #setCandidatesExpression(String) * @see org.eclipse.eef.EefPackage#getEEFImagePickerDescription_CandidatesExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getCandidatesExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTreeStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTreeStructureDescription.java index cec0ac4de..77a11a35e 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTreeStructureDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTreeStructureDescription.java @@ -42,7 +42,7 @@ public interface EEFInterpretedTreeStructureDescription extends EEFTreeStructure * @return the value of the 'Roots Expression' attribute. * @see #setRootsExpression(String) * @see org.eclipse.eef.EefPackage#getEEFInterpretedTreeStructureDescription_RootsExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getRootsExpression(); @@ -67,7 +67,7 @@ public interface EEFInterpretedTreeStructureDescription extends EEFTreeStructure * @return the value of the 'Children Expression' attribute. * @see #setChildrenExpression(String) * @see org.eclipse.eef.EefPackage#getEEFInterpretedTreeStructureDescription_ChildrenExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getChildrenExpression(); @@ -92,7 +92,7 @@ public interface EEFInterpretedTreeStructureDescription extends EEFTreeStructure * @return the value of the 'Selectable Predicate Expression' attribute. * @see #setSelectablePredicateExpression(String) * @see org.eclipse.eef.EefPackage#getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getSelectablePredicateExpression(); @@ -117,7 +117,7 @@ public interface EEFInterpretedTreeStructureDescription extends EEFTreeStructure * @return the value of the 'Candidate Display Expression' attribute. * @see #setCandidateDisplayExpression(String) * @see org.eclipse.eef.EefPackage#getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getCandidateDisplayExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelDescription.java index 9c68eb955..aa14f1088 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelDescription.java @@ -39,7 +39,7 @@ public interface EEFLabelDescription extends EEFCellWidgetDescription { * @return the value of the 'Value Expression' attribute. * @see #setValueExpression(String) * @see org.eclipse.eef.EefPackage#getEEFLabelDescription_ValueExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getValueExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyle.java index 5b752d9c5..7957e6b9b 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyle.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyle.java @@ -40,7 +40,7 @@ public interface EEFLabelStyle extends EEFStyle { * @return the value of the 'Background Color Expression' attribute. * @see #setBackgroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFLabelStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getBackgroundColorExpression(); @@ -65,7 +65,7 @@ public interface EEFLabelStyle extends EEFStyle { * @return the value of the 'Foreground Color Expression' attribute. * @see #setForegroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFLabelStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getForegroundColorExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineDescription.java index 47ff3b174..b31cc0a7f 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineDescription.java @@ -71,7 +71,7 @@ public interface EEFLineDescription extends EObject { * @return the value of the 'Semantic Candidates Expression' attribute. * @see #setSemanticCandidatesExpression(String) * @see org.eclipse.eef.EefPackage#getEEFLineDescription_SemanticCandidatesExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getSemanticCandidatesExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyle.java index d4b75c1e0..2c95288e7 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyle.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyle.java @@ -42,7 +42,7 @@ public interface EEFLineStyle extends EEFStyle { * @return the value of the 'Background Color Expression' attribute. * @see #setBackgroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFLineStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getBackgroundColorExpression(); @@ -67,7 +67,7 @@ public interface EEFLineStyle extends EEFStyle { * @return the value of the 'Foreground Color Expression' attribute. * @see #setForegroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFLineStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getForegroundColorExpression(); @@ -85,15 +85,14 @@ public interface EEFLineStyle extends EEFStyle { /** * Returns the value of the 'Header Background Color Expression' attribute. * - *

      - * If the meaning of the 'Header Background Color Expression' attribute isn't clear, - * there really should be more of a description here... - *

      * + * + * Defines the header background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * * @return the value of the 'Header Background Color Expression' attribute. * @see #setHeaderBackgroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFLineStyle_HeaderBackgroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getHeaderBackgroundColorExpression(); @@ -111,15 +110,14 @@ public interface EEFLineStyle extends EEFStyle { /** * Returns the value of the 'Header Foreground Color Expression' attribute. * - *

      - * If the meaning of the 'Header Foreground Color Expression' attribute isn't clear, - * there really should be more of a description here... - *

      * + * + * Defines the header foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). + * * @return the value of the 'Header Foreground Color Expression' attribute. * @see #setHeaderForegroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFLineStyle_HeaderForegroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getHeaderForegroundColorExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkDescription.java index 04460e2f7..d2e044c4f 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkDescription.java @@ -39,7 +39,7 @@ public interface EEFLinkDescription extends EEFCellWidgetDescription { * @return the value of the 'On Click Expression' attribute. * @see #setOnClickExpression(String) * @see org.eclipse.eef.EefPackage#getEEFLinkDescription_OnClickExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getOnClickExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyle.java index 4b383ab12..cffa1cb70 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyle.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyle.java @@ -41,7 +41,7 @@ public interface EEFLinkStyle extends EEFStyle { * @return the value of the 'Background Color Expression' attribute. * @see #setBackgroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFLinkStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getBackgroundColorExpression(); @@ -66,7 +66,7 @@ public interface EEFLinkStyle extends EEFStyle { * @return the value of the 'Foreground Color Expression' attribute. * @see #setForegroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFLinkStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getForegroundColorExpression(); @@ -91,7 +91,7 @@ public interface EEFLinkStyle extends EEFStyle { * @return the value of the 'Background Image Expression' attribute. * @see #setBackgroundImageExpression(String) * @see org.eclipse.eef.EefPackage#getEEFLinkStyle_BackgroundImageExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getBackgroundImageExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFPageDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFPageDescription.java index 575defadb..5dd69f45a 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFPageDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFPageDescription.java @@ -10,6 +10,10 @@ package org.eclipse.eef; import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.expression.UserDefinedVariable; + /** * * A representation of the model object 'EEF Page Description'. @@ -24,6 +28,8 @@ import org.eclipse.emf.common.util.EList; *

      *
        *
      • {@link org.eclipse.eef.EEFPageDescription#getIdentifier Identifier}
      • + *
      • {@link org.eclipse.eef.EEFPageDescription#getPreconditionExpression Precondition Expression}
      • + *
      • {@link org.eclipse.eef.EEFPageDescription#getUserDefinedVariables User Defined Variables}
      • *
      • {@link org.eclipse.eef.EEFPageDescription#getLabelExpression Label Expression}
      • *
      • {@link org.eclipse.eef.EEFPageDescription#getDomainClass Domain Class}
      • *
      • {@link org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression}
      • @@ -35,7 +41,7 @@ import org.eclipse.emf.common.util.EList; * @model * @generated */ -public interface EEFPageDescription extends ContextableElement { +public interface EEFPageDescription extends EObject { /** * Returns the value of the 'Identifier' attribute. * @@ -61,6 +67,46 @@ public interface EEFPageDescription extends ContextableElement { */ void setIdentifier(String value); + /** + * Returns the value of the 'Precondition Expression' attribute. + * + * + * + * Defines the condition on which the Page will be visible. + * + * @return the value of the 'Precondition Expression' attribute. + * @see #setPreconditionExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFPageDescription_PreconditionExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getPreconditionExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFPageDescription#getPreconditionExpression Precondition Expression}' attribute. + * + * + * @param value the new value of the 'Precondition Expression' attribute. + * @see #getPreconditionExpression() + * @generated + */ + void setPreconditionExpression(String value); + + /** + * Returns the value of the 'User Defined Variables' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.UserDefinedVariable}. + * + * + * + * Contains the variables defined by the end user. + * + * @return the value of the 'User Defined Variables' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFPageDescription_UserDefinedVariables() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getUserDefinedVariables(); + /** * Returns the value of the 'Label Expression' attribute. * @@ -71,7 +117,7 @@ public interface EEFPageDescription extends ContextableElement { * @return the value of the 'Label Expression' attribute. * @see #setLabelExpression(String) * @see org.eclipse.eef.EefPackage#getEEFPageDescription_LabelExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getLabelExpression(); @@ -122,7 +168,7 @@ public interface EEFPageDescription extends ContextableElement { * @return the value of the 'Semantic Candidate Expression' attribute. * @see #setSemanticCandidateExpression(String) * @see org.eclipse.eef.EefPackage#getEEFPageDescription_SemanticCandidateExpression() - * @model default="" dataType="org.eclipse.eef.Expression" + * @model default="" dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getSemanticCandidateExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFQuickFix.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFQuickFix.java new file mode 100644 index 000000000..07894e0c2 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFQuickFix.java @@ -0,0 +1,137 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Quick Fix'. + * + * + * + * Represents a quickfix. + * + * + *

        + * The following features are supported: + *

        + *
          + *
        • {@link org.eclipse.eef.EEFQuickFix#getTitleExpression Title Expression}
        • + *
        • {@link org.eclipse.eef.EEFQuickFix#getMessageExpression Message Expression}
        • + *
        • {@link org.eclipse.eef.EEFQuickFix#getCanHandleStatusExpression Can Handle Status Expression}
        • + *
        • {@link org.eclipse.eef.EEFQuickFix#getFixExpression Fix Expression}
        • + *
        + * + * @see org.eclipse.eef.EefPackage#getEEFQuickFix() + * @model + * @generated + */ +public interface EEFQuickFix extends EObject { + /** + * Returns the value of the 'Title Expression' attribute. + * + * + * + * Defines the quickfix title. + * + * @return the value of the 'Title Expression' attribute. + * @see #setTitleExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFQuickFix_TitleExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getTitleExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFQuickFix#getTitleExpression Title Expression}' attribute. + * + * + * @param value the new value of the 'Title Expression' attribute. + * @see #getTitleExpression() + * @generated + */ + void setTitleExpression(String value); + + /** + * Returns the value of the 'Message Expression' attribute. + * + * + * + * Defines the quickfix message. + * + * @return the value of the 'Message Expression' attribute. + * @see #setMessageExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFQuickFix_MessageExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getMessageExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFQuickFix#getMessageExpression Message Expression}' attribute. + * + * + * @param value the new value of the 'Message Expression' attribute. + * @see #getMessageExpression() + * @generated + */ + void setMessageExpression(String value); + + /** + * Returns the value of the 'Can Handle Status Expression' attribute. + * + * + * + * Defines if a quickfix can be applied. + * + * @return the value of the 'Can Handle Status Expression' attribute. + * @see #setCanHandleStatusExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFQuickFix_CanHandleStatusExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getCanHandleStatusExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFQuickFix#getCanHandleStatusExpression Can Handle Status Expression}' attribute. + * + * + * @param value the new value of the 'Can Handle Status Expression' attribute. + * @see #getCanHandleStatusExpression() + * @generated + */ + void setCanHandleStatusExpression(String value); + + /** + * Returns the value of the 'Fix Expression' attribute. + * + * + * + * Defines the behavior that will be executed when the quick fix is applied. + * + * @return the value of the 'Fix Expression' attribute. + * @see #setFixExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFQuickFix_FixExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getFixExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFQuickFix#getFixExpression Fix Expression}' attribute. + * + * + * @param value the new value of the 'Fix Expression' attribute. + * @see #getFixExpression() + * @generated + */ + void setFixExpression(String value); + +} // EEFQuickFix diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioDescription.java index 866dc8a99..8685a6e39 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioDescription.java @@ -42,7 +42,7 @@ public interface EEFRadioDescription extends EEFWidgetDescription { * @return the value of the 'Value Expression' attribute. * @see #setValueExpression(String) * @see org.eclipse.eef.EefPackage#getEEFRadioDescription_ValueExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getValueExpression(); @@ -67,7 +67,7 @@ public interface EEFRadioDescription extends EEFWidgetDescription { * @return the value of the 'Edit Expression' attribute. * @see #setEditExpression(String) * @see org.eclipse.eef.EefPackage#getEEFRadioDescription_EditExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getEditExpression(); @@ -92,7 +92,7 @@ public interface EEFRadioDescription extends EEFWidgetDescription { * @return the value of the 'Candidates Expression' attribute. * @see #setCandidatesExpression(String) * @see org.eclipse.eef.EefPackage#getEEFRadioDescription_CandidatesExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getCandidatesExpression(); @@ -117,7 +117,7 @@ public interface EEFRadioDescription extends EEFWidgetDescription { * @return the value of the 'Candidate Display Expression' attribute. * @see #setCandidateDisplayExpression(String) * @see org.eclipse.eef.EefPackage#getEEFRadioDescription_CandidateDisplayExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getCandidateDisplayExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyle.java index 357646208..85e78d30c 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyle.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyle.java @@ -40,7 +40,7 @@ public interface EEFRadioStyle extends EEFStyle { * @return the value of the 'Background Color Expression' attribute. * @see #setBackgroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFRadioStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getBackgroundColorExpression(); @@ -65,7 +65,7 @@ public interface EEFRadioStyle extends EEFStyle { * @return the value of the 'Foreground Color Expression' attribute. * @see #setForegroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFRadioStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getForegroundColorExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectDescription.java index 94a0d8160..b58d857a7 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectDescription.java @@ -43,7 +43,7 @@ public interface EEFSelectDescription extends EEFCellWidgetDescription { * @return the value of the 'Value Expression' attribute. * @see #setValueExpression(String) * @see org.eclipse.eef.EefPackage#getEEFSelectDescription_ValueExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getValueExpression(); @@ -68,7 +68,7 @@ public interface EEFSelectDescription extends EEFCellWidgetDescription { * @return the value of the 'Edit Expression' attribute. * @see #setEditExpression(String) * @see org.eclipse.eef.EefPackage#getEEFSelectDescription_EditExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getEditExpression(); @@ -93,7 +93,7 @@ public interface EEFSelectDescription extends EEFCellWidgetDescription { * @return the value of the 'Candidates Expression' attribute. * @see #setCandidatesExpression(String) * @see org.eclipse.eef.EefPackage#getEEFSelectDescription_CandidatesExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getCandidatesExpression(); @@ -143,7 +143,7 @@ public interface EEFSelectDescription extends EEFCellWidgetDescription { * @return the value of the 'Candidate Display Expression' attribute. * @see #setCandidateDisplayExpression(String) * @see org.eclipse.eef.EefPackage#getEEFSelectDescription_CandidateDisplayExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getCandidateDisplayExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyle.java index f66eba8b3..ebb04e0f0 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyle.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyle.java @@ -40,7 +40,7 @@ public interface EEFSelectStyle extends EEFStyle { * @return the value of the 'Background Color Expression' attribute. * @see #setBackgroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFSelectStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getBackgroundColorExpression(); @@ -65,7 +65,7 @@ public interface EEFSelectStyle extends EEFStyle { * @return the value of the 'Foreground Color Expression' attribute. * @see #setForegroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFSelectStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getForegroundColorExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyle.java index 63ce7171d..a1f2134a7 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyle.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyle.java @@ -41,7 +41,7 @@ public interface EEFStyle extends EObject { * @return the value of the 'Font Expression' attribute. * @see #setFontExpression(String) * @see org.eclipse.eef.EefPackage#getEEFStyle_FontExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getFontExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableDescription.java index f892348d0..2799b2254 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableDescription.java @@ -41,7 +41,7 @@ public interface EEFTableDescription extends EEFWidgetDescription { * @return the value of the 'Value Expression' attribute. * @see #setValueExpression(String) * @see org.eclipse.eef.EefPackage#getEEFTableDescription_ValueExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getValueExpression(); @@ -66,7 +66,7 @@ public interface EEFTableDescription extends EEFWidgetDescription { * @return the value of the 'Edit Expression' attribute. * @see #setEditExpression(String) * @see org.eclipse.eef.EefPackage#getEEFTableDescription_EditExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getEditExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStructureDescription.java index 0dfbd1a9f..fff9b7daf 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStructureDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStructureDescription.java @@ -25,6 +25,10 @@ import org.eclipse.emf.ecore.EObject; *
          *
        • {@link org.eclipse.eef.EEFTableStructureDescription#isMultiple Multiple}
        • *
        • {@link org.eclipse.eef.EEFTableStructureDescription#getIdentifier Identifier}
        • + *
        • {@link org.eclipse.eef.EEFTableStructureDescription#getAddExpression Add Expression}
        • + *
        • {@link org.eclipse.eef.EEFTableStructureDescription#getRemoveExpression Remove Expression}
        • + *
        • {@link org.eclipse.eef.EEFTableStructureDescription#getUpExpression Up Expression}
        • + *
        • {@link org.eclipse.eef.EEFTableStructureDescription#getDownExpression Down Expression}
        • *
        * * @see org.eclipse.eef.EefPackage#getEEFTableStructureDescription() @@ -82,4 +86,104 @@ public interface EEFTableStructureDescription extends EObject { */ void setIdentifier(String value); + /** + * Returns the value of the 'Add Expression' attribute. + * + * + * + * Defines the behavior executed when the add button is clicked. + * + * @return the value of the 'Add Expression' attribute. + * @see #setAddExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTableStructureDescription_AddExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getAddExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTableStructureDescription#getAddExpression Add Expression}' attribute. + * + * + * @param value the new value of the 'Add Expression' attribute. + * @see #getAddExpression() + * @generated + */ + void setAddExpression(String value); + + /** + * Returns the value of the 'Remove Expression' attribute. + * + * + * + * Defines the behavior executed when the remove button is clicked. + * + * @return the value of the 'Remove Expression' attribute. + * @see #setRemoveExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTableStructureDescription_RemoveExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getRemoveExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTableStructureDescription#getRemoveExpression Remove Expression}' attribute. + * + * + * @param value the new value of the 'Remove Expression' attribute. + * @see #getRemoveExpression() + * @generated + */ + void setRemoveExpression(String value); + + /** + * Returns the value of the 'Up Expression' attribute. + * + * + * + * Defines the behavior executed when the up button is clicked. + * + * @return the value of the 'Up Expression' attribute. + * @see #setUpExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTableStructureDescription_UpExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getUpExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTableStructureDescription#getUpExpression Up Expression}' attribute. + * + * + * @param value the new value of the 'Up Expression' attribute. + * @see #getUpExpression() + * @generated + */ + void setUpExpression(String value); + + /** + * Returns the value of the 'Down Expression' attribute. + * + * + * + * Defines the behavior executed when the down button is clicked. + * + * @return the value of the 'Down Expression' attribute. + * @see #setDownExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFTableStructureDescription_DownExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getDownExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFTableStructureDescription#getDownExpression Down Expression}' attribute. + * + * + * @param value the new value of the 'Down Expression' attribute. + * @see #getDownExpression() + * @generated + */ + void setDownExpression(String value); + } // EEFTableStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java index 8458e3436..e7f9d87f1 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java @@ -48,7 +48,7 @@ public interface EEFTextDescription extends EEFCellWidgetDescription { * @return the value of the 'Value Expression' attribute. * @see #setValueExpression(String) * @see org.eclipse.eef.EefPackage#getEEFTextDescription_ValueExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getValueExpression(); @@ -73,7 +73,7 @@ public interface EEFTextDescription extends EEFCellWidgetDescription { * @return the value of the 'Edit Expression' attribute. * @see #setEditExpression(String) * @see org.eclipse.eef.EefPackage#getEEFTextDescription_EditExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getEditExpression(); @@ -98,7 +98,7 @@ public interface EEFTextDescription extends EEFCellWidgetDescription { * @return the value of the 'Read Only Expression' attribute. * @see #setReadOnlyExpression(String) * @see org.eclipse.eef.EefPackage#getEEFTextDescription_ReadOnlyExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getReadOnlyExpression(); @@ -123,7 +123,7 @@ public interface EEFTextDescription extends EEFCellWidgetDescription { * @return the value of the 'Content Assist Expression' attribute. * @see #setContentAssistExpression(String) * @see org.eclipse.eef.EefPackage#getEEFTextDescription_ContentAssistExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getContentAssistExpression(); @@ -148,7 +148,7 @@ public interface EEFTextDescription extends EEFCellWidgetDescription { * @return the value of the 'Placeholder Expression' attribute. * @see #setPlaceholderExpression(String) * @see org.eclipse.eef.EefPackage#getEEFTextDescription_PlaceholderExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getPlaceholderExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyle.java index 94cb8a3b4..e8551d6b8 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyle.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyle.java @@ -40,7 +40,7 @@ public interface EEFTextStyle extends EEFStyle { * @return the value of the 'Background Color Expression' attribute. * @see #setBackgroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFTextStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getBackgroundColorExpression(); @@ -65,7 +65,7 @@ public interface EEFTextStyle extends EEFStyle { * @return the value of the 'Foreground Color Expression' attribute. * @see #setForegroundColorExpression(String) * @see org.eclipse.eef.EefPackage#getEEFTextStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getForegroundColorExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDescription.java index a7ed11cad..23e1920bd 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDescription.java @@ -41,7 +41,7 @@ public interface EEFTreeDescription extends EEFCellWidgetDescription { * @return the value of the 'Value Expression' attribute. * @see #setValueExpression(String) * @see org.eclipse.eef.EefPackage#getEEFTreeDescription_ValueExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getValueExpression(); @@ -91,7 +91,7 @@ public interface EEFTreeDescription extends EEFCellWidgetDescription { * @return the value of the 'Edit Expression' attribute. * @see #setEditExpression(String) * @see org.eclipse.eef.EefPackage#getEEFTreeDescription_EditExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getEditExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDialogSelectDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDialogSelectDescription.java index 04e4ce3fc..cda320b96 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDialogSelectDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDialogSelectDescription.java @@ -42,7 +42,7 @@ public interface EEFTreeDialogSelectDescription extends EEFCellWidgetDescription * @return the value of the 'Semantic Candidate Expression' attribute. * @see #setSemanticCandidateExpression(String) * @see org.eclipse.eef.EefPackage#getEEFTreeDialogSelectDescription_SemanticCandidateExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getSemanticCandidateExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFValidation.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFValidation.java new file mode 100644 index 000000000..511e7202d --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFValidation.java @@ -0,0 +1,77 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'EEF Validation'. + * + * + * + * Represents a validation. + * + * + *

        + * The following features are supported: + *

        + *
          + *
        • {@link org.eclipse.eef.EEFValidation#getValidationExpression Validation Expression}
        • + *
        • {@link org.eclipse.eef.EEFValidation#getQuickfixes Quickfixes}
        • + *
        + * + * @see org.eclipse.eef.EefPackage#getEEFValidation() + * @model + * @generated + */ +public interface EEFValidation extends EObject { + /** + * Returns the value of the 'Validation Expression' attribute. + * + * + * + * Defines if the widget value is valid or not. + * + * @return the value of the 'Validation Expression' attribute. + * @see #setValidationExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFValidation_ValidationExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getValidationExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFValidation#getValidationExpression Validation Expression}' attribute. + * + * + * @param value the new value of the 'Validation Expression' attribute. + * @see #getValidationExpression() + * @generated + */ + void setValidationExpression(String value); + + /** + * Returns the value of the 'Quickfixes' containment reference list. + * The list contents are of type {@link org.eclipse.eef.EEFQuickFix}. + * + * + * + * Contains all the quickfixes associated to a validation. + * + * @return the value of the 'Quickfixes' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFValidation_Quickfixes() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getQuickfixes(); + +} // EEFValidation diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java index 6802f5aa5..a27853e3a 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java @@ -10,6 +10,10 @@ package org.eclipse.eef; import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.expression.UserDefinedVariable; + /** * * A representation of the model object 'EEF View Description'. @@ -24,6 +28,8 @@ import org.eclipse.emf.common.util.EList; *

        *
          *
        • {@link org.eclipse.eef.EEFViewDescription#getIdentifier Identifier}
        • + *
        • {@link org.eclipse.eef.EEFViewDescription#getPreconditionExpression Precondition Expression}
        • + *
        • {@link org.eclipse.eef.EEFViewDescription#getUserDefinedVariables User Defined Variables}
        • *
        • {@link org.eclipse.eef.EEFViewDescription#getLabelExpression Label Expression}
        • *
        • {@link org.eclipse.eef.EEFViewDescription#getEPackageNsUris EPackage Ns Uris}
        • *
        • {@link org.eclipse.eef.EEFViewDescription#getGroups Groups}
        • @@ -39,7 +45,7 @@ import org.eclipse.emf.common.util.EList; * @model * @generated */ -public interface EEFViewDescription extends ContextableElement { +public interface EEFViewDescription extends EObject { /** * Returns the value of the 'Identifier' attribute. * @@ -65,6 +71,46 @@ public interface EEFViewDescription extends ContextableElement { */ void setIdentifier(String value); + /** + * Returns the value of the 'Precondition Expression' attribute. + * + * + * + * Defines the condition on which the View will be visible. + * + * @return the value of the 'Precondition Expression' attribute. + * @see #setPreconditionExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFViewDescription_PreconditionExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getPreconditionExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFViewDescription#getPreconditionExpression Precondition Expression}' attribute. + * + * + * @param value the new value of the 'Precondition Expression' attribute. + * @see #getPreconditionExpression() + * @generated + */ + void setPreconditionExpression(String value); + + /** + * Returns the value of the 'User Defined Variables' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.UserDefinedVariable}. + * + * + * + * Contains the variables defined by the end user. + * + * @return the value of the 'User Defined Variables' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFViewDescription_UserDefinedVariables() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getUserDefinedVariables(); + /** * Returns the value of the 'Label Expression' attribute. * @@ -75,7 +121,7 @@ public interface EEFViewDescription extends ContextableElement { * @return the value of the 'Label Expression' attribute. * @see #setLabelExpression(String) * @see org.eclipse.eef.EefPackage#getEEFViewDescription_LabelExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getLabelExpression(); diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java index 22c461131..276ab0f04 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java @@ -8,6 +8,12 @@ */ package org.eclipse.eef; +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.expression.UserDefinedVariable; + /** * * A representation of the model object 'EEF Widget Description'. @@ -22,18 +28,20 @@ package org.eclipse.eef; *

          *
            *
          • {@link org.eclipse.eef.EEFWidgetDescription#getIdentifier Identifier}
          • + *
          • {@link org.eclipse.eef.EEFWidgetDescription#getPreconditionExpression Precondition Expression}
          • + *
          • {@link org.eclipse.eef.EEFWidgetDescription#getUserDefinedVariables User Defined Variables}
          • *
          • {@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression Label Expression}
          • *
          • {@link org.eclipse.eef.EEFWidgetDescription#getLabelStyle Label Style}
          • *
          • {@link org.eclipse.eef.EEFWidgetDescription#getTooltipExpression Tooltip Expression}
          • *
          • {@link org.eclipse.eef.EEFWidgetDescription#getHelpExpression Help Expression}
          • - *
          • {@link org.eclipse.eef.EEFWidgetDescription#getValidationExpression Validation Expression}
          • + *
          • {@link org.eclipse.eef.EEFWidgetDescription#getValidation Validation}
          • *
          * * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription() * @model abstract="true" * @generated */ -public interface EEFWidgetDescription extends ContextableElement { +public interface EEFWidgetDescription extends EObject { /** * Returns the value of the 'Identifier' attribute. * @@ -59,6 +67,46 @@ public interface EEFWidgetDescription extends ContextableElement { */ void setIdentifier(String value); + /** + * Returns the value of the 'Precondition Expression' attribute. + * + * + * + * Defines the condition on which the Widget will be visible. + * + * @return the value of the 'Precondition Expression' attribute. + * @see #setPreconditionExpression(String) + * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_PreconditionExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getPreconditionExpression(); + + /** + * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getPreconditionExpression Precondition Expression}' attribute. + * + * + * @param value the new value of the 'Precondition Expression' attribute. + * @see #getPreconditionExpression() + * @generated + */ + void setPreconditionExpression(String value); + + /** + * Returns the value of the 'User Defined Variables' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.UserDefinedVariable}. + * + * + * + * Contains the variables defined by the end user. + * + * @return the value of the 'User Defined Variables' containment reference list. + * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_UserDefinedVariables() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getUserDefinedVariables(); + /** * Returns the value of the 'Label Expression' attribute. * @@ -69,7 +117,7 @@ public interface EEFWidgetDescription extends ContextableElement { * @return the value of the 'Label Expression' attribute. * @see #setLabelExpression(String) * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_LabelExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getLabelExpression(); @@ -119,7 +167,7 @@ public interface EEFWidgetDescription extends ContextableElement { * @return the value of the 'Tooltip Expression' attribute. * @see #setTooltipExpression(String) * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_TooltipExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getTooltipExpression(); @@ -144,7 +192,7 @@ public interface EEFWidgetDescription extends ContextableElement { * @return the value of the 'Help Expression' attribute. * @see #setHelpExpression(String) * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_HelpExpression() - * @model dataType="org.eclipse.eef.Expression" + * @model dataType="org.eclipse.sirius.expression.Expression" * @generated */ String getHelpExpression(); @@ -160,28 +208,28 @@ public interface EEFWidgetDescription extends ContextableElement { void setHelpExpression(String value); /** - * Returns the value of the 'Validation Expression' attribute. + * Returns the value of the 'Validation' containment reference. * * * - * Defines if the widget value is valid or not. + * Contains the validation rule of the Widget. * - * @return the value of the 'Validation Expression' attribute. - * @see #setValidationExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_ValidationExpression() - * @model dataType="org.eclipse.eef.Expression" + * @return the value of the 'Validation' containment reference. + * @see #setValidation(EEFValidation) + * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_Validation() + * @model containment="true" resolveProxies="true" * @generated */ - String getValidationExpression(); + EEFValidation getValidation(); /** - * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getValidationExpression Validation Expression}' attribute. + * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getValidation Validation}' containment reference. * * - * @param value the new value of the 'Validation Expression' attribute. - * @see #getValidationExpression() + * @param value the new value of the 'Validation' containment reference. + * @see #getValidation() * @generated */ - void setValidationExpression(String value); + void setValidation(EEFValidation value); } // EEFWidgetDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java index 84f00048d..c280ab062 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java @@ -522,6 +522,24 @@ public interface EefFactory extends EFactory { */ EEFColumnStyleCustomization createEEFColumnStyleCustomization(); + /** + * Returns a new object of class 'EEF Quick Fix'. + * + * + * @return a new object of class 'EEF Quick Fix'. + * @generated + */ + EEFQuickFix createEEFQuickFix(); + + /** + * Returns a new object of class 'EEF Validation'. + * + * + * @return a new object of class 'EEF Validation'. + * @generated + */ + EEFValidation createEEFValidation(); + /** * Returns the package supported by this factory. * diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java index b38c465e6..1a3d783c7 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java @@ -62,43 +62,6 @@ public interface EefPackage extends EPackage { */ EefPackage eINSTANCE = org.eclipse.eef.impl.EefPackageImpl.init(); - /** - * The meta object id for the '{@link org.eclipse.eef.impl.ContextableElementImpl Contextable Element}' class. - * - * - * @see org.eclipse.eef.impl.ContextableElementImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getContextableElement() - * @generated - */ - int CONTEXTABLE_ELEMENT = 26; - - /** - * The feature id for the 'Required Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES = 0; - - /** - * The feature id for the 'Excluded Context Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES = 1; - - /** - * The number of structural features of the 'Contextable Element' class. - * - * - * @generated - * @ordered - */ - int CONTEXTABLE_ELEMENT_FEATURE_COUNT = 2; - /** * The meta object id for the '{@link org.eclipse.eef.impl.EEFViewDescriptionImpl EEF View Description}' class. * @@ -110,31 +73,31 @@ public interface EefPackage extends EPackage { int EEF_VIEW_DESCRIPTION = 0; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; + int EEF_VIEW_DESCRIPTION__IDENTIFIER = 0; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + int EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION = 1; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; + int EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES = 2; /** * The feature id for the 'Label Expression' attribute. @@ -143,7 +106,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + int EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION = 3; /** * The feature id for the 'EPackage Ns Uris' attribute list. @@ -152,7 +115,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + int EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS = 4; /** * The feature id for the 'Groups' containment reference list. @@ -161,7 +124,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__GROUPS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; + int EEF_VIEW_DESCRIPTION__GROUPS = 5; /** * The feature id for the 'Pages' containment reference list. @@ -170,7 +133,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__PAGES = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; + int EEF_VIEW_DESCRIPTION__PAGES = 6; /** * The feature id for the 'Java Extensions' containment reference list. @@ -179,7 +142,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + int EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS = 7; /** * The feature id for the 'Imported Views' reference list. @@ -188,7 +151,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; + int EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS = 8; /** * The feature id for the 'Tree Structures' containment reference list. @@ -197,7 +160,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__TREE_STRUCTURES = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 7; + int EEF_VIEW_DESCRIPTION__TREE_STRUCTURES = 9; /** * The feature id for the 'Table Structures' containment reference list. @@ -206,7 +169,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 8; + int EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES = 10; /** * The feature id for the 'Style Customizations' reference list. @@ -215,7 +178,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 9; + int EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS = 11; /** * The number of structural features of the 'EEF View Description' class. @@ -224,7 +187,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 10; + int EEF_VIEW_DESCRIPTION_FEATURE_COUNT = 12; /** * The meta object id for the '{@link org.eclipse.eef.impl.EEFPageDescriptionImpl EEF Page Description}' class. @@ -237,31 +200,31 @@ public interface EefPackage extends EPackage { int EEF_PAGE_DESCRIPTION = 1; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; + int EEF_PAGE_DESCRIPTION__IDENTIFIER = 0; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + int EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION = 1; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; + int EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES = 2; /** * The feature id for the 'Label Expression' attribute. @@ -270,7 +233,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + int EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION = 3; /** * The feature id for the 'Domain Class' attribute. @@ -279,7 +242,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION__DOMAIN_CLASS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + int EEF_PAGE_DESCRIPTION__DOMAIN_CLASS = 4; /** * The feature id for the 'Semantic Candidate Expression' attribute. @@ -288,7 +251,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; + int EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = 5; /** * The feature id for the 'Groups' reference list. @@ -297,7 +260,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION__GROUPS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; + int EEF_PAGE_DESCRIPTION__GROUPS = 6; /** * The feature id for the 'Extended Page' reference. @@ -306,7 +269,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION__EXTENDED_PAGE = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + int EEF_PAGE_DESCRIPTION__EXTENDED_PAGE = 7; /** * The number of structural features of the 'EEF Page Description' class. @@ -315,7 +278,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; + int EEF_PAGE_DESCRIPTION_FEATURE_COUNT = 8; /** * The meta object id for the '{@link org.eclipse.eef.impl.EEFGroupDescriptionImpl EEF Group Description}' class. @@ -328,31 +291,31 @@ public interface EefPackage extends EPackage { int EEF_GROUP_DESCRIPTION = 2; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; + int EEF_GROUP_DESCRIPTION__IDENTIFIER = 0; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + int EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION = 1; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; + int EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES = 2; /** * The feature id for the 'Label Expression' attribute. @@ -361,7 +324,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + int EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION = 3; /** * The feature id for the 'Domain Class' attribute. @@ -370,7 +333,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__DOMAIN_CLASS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + int EEF_GROUP_DESCRIPTION__DOMAIN_CLASS = 4; /** * The feature id for the 'Semantic Candidate Expression' attribute. @@ -379,7 +342,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; + int EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = 5; /** * The feature id for the 'Container' containment reference. @@ -388,7 +351,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__CONTAINER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; + int EEF_GROUP_DESCRIPTION__CONTAINER = 6; /** * The feature id for the 'Collapsible Expression' attribute. @@ -397,7 +360,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + int EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION = 7; /** * The feature id for the 'Collapsed By Default Expression' attribute. @@ -406,16 +369,16 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; + int EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION = 8; /** - * The feature id for the 'Validation Expression' attribute. + * The feature id for the 'Validation' containment reference. * * * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 7; + int EEF_GROUP_DESCRIPTION__VALIDATION = 9; /** * The number of structural features of the 'EEF Group Description' class. @@ -424,7 +387,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 8; + int EEF_GROUP_DESCRIPTION_FEATURE_COUNT = 10; /** * The meta object id for the '{@link org.eclipse.eef.impl.EEFContainerDescriptionImpl EEF Container Description}' class. @@ -437,31 +400,31 @@ public interface EefPackage extends EPackage { int EEF_CONTAINER_DESCRIPTION = 3; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_CONTAINER_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; + int EEF_CONTAINER_DESCRIPTION__IDENTIFIER = 0; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_CONTAINER_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + int EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION = 1; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_CONTAINER_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; + int EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES = 2; /** * The feature id for the 'Semantic Candidate Expression' attribute. @@ -470,7 +433,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + int EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = 3; /** * The feature id for the 'Domain Class' attribute. @@ -479,7 +442,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + int EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS = 4; /** * The feature id for the 'Layout Column Count' attribute. @@ -488,7 +451,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; + int EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT = 5; /** * The feature id for the 'Containers' containment reference list. @@ -497,7 +460,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_CONTAINER_DESCRIPTION__CONTAINERS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; + int EEF_CONTAINER_DESCRIPTION__CONTAINERS = 6; /** * The feature id for the 'Widgets' containment reference list. @@ -506,7 +469,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_CONTAINER_DESCRIPTION__WIDGETS = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + int EEF_CONTAINER_DESCRIPTION__WIDGETS = 7; /** * The number of structural features of the 'EEF Container Description' class. @@ -515,7 +478,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_CONTAINER_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; + int EEF_CONTAINER_DESCRIPTION_FEATURE_COUNT = 8; /** * The meta object id for the '{@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl EEF Widget Description}' class. @@ -528,31 +491,31 @@ public interface EefPackage extends EPackage { int EEF_WIDGET_DESCRIPTION = 4; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES; + int EEF_WIDGET_DESCRIPTION__IDENTIFIER = 0; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES; + int EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION = 1; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_WIDGET_DESCRIPTION__IDENTIFIER = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 0; + int EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES = 2; /** * The feature id for the 'Label Expression' attribute. @@ -561,7 +524,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 1; + int EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION = 3; /** * The feature id for the 'Label Style' reference. @@ -570,7 +533,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_WIDGET_DESCRIPTION__LABEL_STYLE = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 2; + int EEF_WIDGET_DESCRIPTION__LABEL_STYLE = 4; /** * The feature id for the 'Tooltip Expression' attribute. @@ -579,7 +542,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 3; + int EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION = 5; /** * The feature id for the 'Help Expression' attribute. @@ -588,16 +551,16 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 4; + int EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION = 6; /** - * The feature id for the 'Validation Expression' attribute. + * The feature id for the 'Validation' containment reference. * * * @generated * @ordered */ - int EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 5; + int EEF_WIDGET_DESCRIPTION__VALIDATION = 7; /** * The number of structural features of the 'EEF Widget Description' class. @@ -606,7 +569,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_WIDGET_DESCRIPTION_FEATURE_COUNT = CONTEXTABLE_ELEMENT_FEATURE_COUNT + 6; + int EEF_WIDGET_DESCRIPTION_FEATURE_COUNT = 8; /** * The meta object id for the '{@link org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl EEF Java Extension Description}' class. @@ -701,6 +664,42 @@ public interface EefPackage extends EPackage { */ int EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = 1; + /** + * The feature id for the 'Add Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION = 2; + + /** + * The feature id for the 'Remove Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION = 3; + + /** + * The feature id for the 'Up Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION = 4; + + /** + * The feature id for the 'Down Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION = 5; + /** * The number of structural features of the 'EEF Table Structure Description' class. * @@ -708,7 +707,7 @@ public interface EefPackage extends EPackage { * @generated * @ordered */ - int EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = 2; + int EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = 6; /** * The meta object id for the '{@link org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl EEF Interpreted Table Structure Description}' class. @@ -738,6 +737,42 @@ public interface EefPackage extends EPackage { */ int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER; + /** + * The feature id for the 'Add Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION; + + /** + * The feature id for the 'Remove Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION; + + /** + * The feature id for the 'Up Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION; + + /** + * The feature id for the 'Down Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION; + /** * The feature id for the 'Columns' containment reference list. * @@ -776,31 +811,31 @@ public interface EefPackage extends EPackage { int EEF_CELL_WIDGET_DESCRIPTION = 8; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + int EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + int EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; + int EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; /** * The feature id for the 'Label Expression' attribute. @@ -839,13 +874,13 @@ public interface EefPackage extends EPackage { int EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION = EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION; /** - * The feature id for the 'Validation Expression' attribute. + * The feature id for the 'Validation' containment reference. * * * @generated * @ordered */ - int EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION = EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + int EEF_CELL_WIDGET_DESCRIPTION__VALIDATION = EEF_WIDGET_DESCRIPTION__VALIDATION; /** * The number of structural features of the 'EEF Cell Widget Description' class. @@ -986,31 +1021,31 @@ public interface EefPackage extends EPackage { int EEF_TEXT_DESCRIPTION = 11; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_TEXT_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + int EEF_TEXT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_TEXT_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + int EEF_TEXT_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_TEXT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + int EEF_TEXT_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; /** * The feature id for the 'Label Expression' attribute. @@ -1049,13 +1084,13 @@ public interface EefPackage extends EPackage { int EEF_TEXT_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; /** - * The feature id for the 'Validation Expression' attribute. + * The feature id for the 'Validation' containment reference. * * * @generated * @ordered */ - int EEF_TEXT_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + int EEF_TEXT_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; /** * The feature id for the 'Value Expression' attribute. @@ -1149,31 +1184,31 @@ public interface EefPackage extends EPackage { int EEF_CHECKBOX_DESCRIPTION = 12; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_CHECKBOX_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + int EEF_CHECKBOX_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_CHECKBOX_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + int EEF_CHECKBOX_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_CHECKBOX_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + int EEF_CHECKBOX_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; /** * The feature id for the 'Label Expression' attribute. @@ -1212,13 +1247,13 @@ public interface EefPackage extends EPackage { int EEF_CHECKBOX_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; /** - * The feature id for the 'Validation Expression' attribute. + * The feature id for the 'Validation' containment reference. * * * @generated * @ordered */ - int EEF_CHECKBOX_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + int EEF_CHECKBOX_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; /** * The feature id for the 'Value Expression' attribute. @@ -1258,31 +1293,31 @@ public interface EefPackage extends EPackage { int EEF_SELECT_DESCRIPTION = 13; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_SELECT_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + int EEF_SELECT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_SELECT_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + int EEF_SELECT_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_SELECT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + int EEF_SELECT_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; /** * The feature id for the 'Label Expression' attribute. @@ -1321,13 +1356,13 @@ public interface EefPackage extends EPackage { int EEF_SELECT_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; /** - * The feature id for the 'Validation Expression' attribute. + * The feature id for the 'Validation' containment reference. * * * @generated * @ordered */ - int EEF_SELECT_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + int EEF_SELECT_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; /** * The feature id for the 'Value Expression' attribute. @@ -1394,31 +1429,31 @@ public interface EefPackage extends EPackage { int EEF_LABEL_DESCRIPTION = 14; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_LABEL_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + int EEF_LABEL_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_LABEL_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + int EEF_LABEL_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_LABEL_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + int EEF_LABEL_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; /** * The feature id for the 'Label Expression' attribute. @@ -1457,13 +1492,13 @@ public interface EefPackage extends EPackage { int EEF_LABEL_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; /** - * The feature id for the 'Validation Expression' attribute. + * The feature id for the 'Validation' containment reference. * * * @generated * @ordered */ - int EEF_LABEL_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + int EEF_LABEL_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; /** * The feature id for the 'Value Expression' attribute. @@ -1494,31 +1529,31 @@ public interface EefPackage extends EPackage { int EEF_RADIO_DESCRIPTION = 15; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_RADIO_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + int EEF_RADIO_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_RADIO_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + int EEF_RADIO_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_RADIO_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; + int EEF_RADIO_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; /** * The feature id for the 'Label Expression' attribute. @@ -1557,13 +1592,13 @@ public interface EefPackage extends EPackage { int EEF_RADIO_DESCRIPTION__HELP_EXPRESSION = EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION; /** - * The feature id for the 'Validation Expression' attribute. + * The feature id for the 'Validation' containment reference. * * * @generated * @ordered */ - int EEF_RADIO_DESCRIPTION__VALIDATION_EXPRESSION = EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + int EEF_RADIO_DESCRIPTION__VALIDATION = EEF_WIDGET_DESCRIPTION__VALIDATION; /** * The feature id for the 'Value Expression' attribute. @@ -1621,31 +1656,31 @@ public interface EefPackage extends EPackage { int EEF_TREE_DIALOG_SELECT_DESCRIPTION = 16; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; /** * The feature id for the 'Label Expression' attribute. @@ -1684,13 +1719,13 @@ public interface EefPackage extends EPackage { int EEF_TREE_DIALOG_SELECT_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; /** - * The feature id for the 'Validation Expression' attribute. + * The feature id for the 'Validation' containment reference. * * * @generated * @ordered */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + int EEF_TREE_DIALOG_SELECT_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; /** * The feature id for the 'Semantic Candidate Expression' attribute. @@ -1748,31 +1783,31 @@ public interface EefPackage extends EPackage { int EEF_LINK_DESCRIPTION = 17; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_LINK_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + int EEF_LINK_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_LINK_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + int EEF_LINK_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_LINK_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + int EEF_LINK_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; /** * The feature id for the 'Label Expression' attribute. @@ -1811,13 +1846,13 @@ public interface EefPackage extends EPackage { int EEF_LINK_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; /** - * The feature id for the 'Validation Expression' attribute. + * The feature id for the 'Validation' containment reference. * * * @generated * @ordered */ - int EEF_LINK_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + int EEF_LINK_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; /** * The feature id for the 'On Click Expression' attribute. @@ -1848,31 +1883,31 @@ public interface EefPackage extends EPackage { int EEF_IMAGE_DESCRIPTION = 18; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_IMAGE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + int EEF_IMAGE_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_IMAGE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + int EEF_IMAGE_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_IMAGE_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + int EEF_IMAGE_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; /** * The feature id for the 'Label Expression' attribute. @@ -1911,13 +1946,13 @@ public interface EefPackage extends EPackage { int EEF_IMAGE_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; /** - * The feature id for the 'Validation Expression' attribute. + * The feature id for the 'Validation' containment reference. * * * @generated * @ordered */ - int EEF_IMAGE_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + int EEF_IMAGE_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; /** * The feature id for the 'Value Expression' attribute. @@ -1948,31 +1983,31 @@ public interface EefPackage extends EPackage { int EEF_TREE_DESCRIPTION = 19; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_TREE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + int EEF_TREE_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_TREE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + int EEF_TREE_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_TREE_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; + int EEF_TREE_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; /** * The feature id for the 'Label Expression' attribute. @@ -2011,13 +2046,13 @@ public interface EefPackage extends EPackage { int EEF_TREE_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; /** - * The feature id for the 'Validation Expression' attribute. + * The feature id for the 'Validation' containment reference. * * * @generated * @ordered */ - int EEF_TREE_DESCRIPTION__VALIDATION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + int EEF_TREE_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; /** * The feature id for the 'Value Expression' attribute. @@ -2066,31 +2101,31 @@ public interface EefPackage extends EPackage { int EEF_IMAGE_PICKER_DESCRIPTION = 20; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_IMAGE_PICKER_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + int EEF_IMAGE_PICKER_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_IMAGE_PICKER_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + int EEF_IMAGE_PICKER_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_IMAGE_PICKER_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; + int EEF_IMAGE_PICKER_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; /** * The feature id for the 'Label Expression' attribute. @@ -2129,13 +2164,13 @@ public interface EefPackage extends EPackage { int EEF_IMAGE_PICKER_DESCRIPTION__HELP_EXPRESSION = EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION; /** - * The feature id for the 'Validation Expression' attribute. + * The feature id for the 'Validation' containment reference. * * * @generated * @ordered */ - int EEF_IMAGE_PICKER_DESCRIPTION__VALIDATION_EXPRESSION = EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + int EEF_IMAGE_PICKER_DESCRIPTION__VALIDATION = EEF_WIDGET_DESCRIPTION__VALIDATION; /** * The feature id for the 'Value Expression' attribute. @@ -2184,31 +2219,31 @@ public interface EefPackage extends EPackage { int EEF_TABLE_DESCRIPTION = 21; /** - * The feature id for the 'Required Context Variables' containment reference list. + * The feature id for the 'Identifier' attribute. * * * @generated * @ordered */ - int EEF_TABLE_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__REQUIRED_CONTEXT_VARIABLES; + int EEF_TABLE_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; /** - * The feature id for the 'Excluded Context Variables' containment reference list. + * The feature id for the 'Precondition Expression' attribute. * * * @generated * @ordered */ - int EEF_TABLE_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES = EEF_WIDGET_DESCRIPTION__EXCLUDED_CONTEXT_VARIABLES; + int EEF_TABLE_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; /** - * The feature id for the 'Identifier' attribute. + * The feature id for the 'User Defined Variables' containment reference list. * * * @generated * @ordered */ - int EEF_TABLE_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; + int EEF_TABLE_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; /** * The feature id for the 'Label Expression' attribute. @@ -2247,13 +2282,13 @@ public interface EefPackage extends EPackage { int EEF_TABLE_DESCRIPTION__HELP_EXPRESSION = EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION; /** - * The feature id for the 'Validation Expression' attribute. + * The feature id for the 'Validation' containment reference. * * * @generated * @ordered */ - int EEF_TABLE_DESCRIPTION__VALIDATION_EXPRESSION = EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION; + int EEF_TABLE_DESCRIPTION__VALIDATION = EEF_WIDGET_DESCRIPTION__VALIDATION; /** * The feature id for the 'Value Expression' attribute. @@ -2420,6 +2455,42 @@ public interface EefPackage extends EPackage { */ int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER; + /** + * The feature id for the 'Add Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION; + + /** + * The feature id for the 'Remove Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION; + + /** + * The feature id for the 'Up Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION; + + /** + * The feature id for the 'Down Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION; + /** * The feature id for the 'Adapter Factory Provider' attribute. * @@ -2446,7 +2517,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFStyle() * @generated */ - int EEF_STYLE = 27; + int EEF_STYLE = 26; /** * The feature id for the 'Font Expression' attribute. @@ -2474,7 +2545,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFConditionalStyle() * @generated */ - int EEF_CONDITIONAL_STYLE = 28; + int EEF_CONDITIONAL_STYLE = 27; /** * The feature id for the 'Conditional Expression' attribute. @@ -2502,7 +2573,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFStyleCustomization() * @generated */ - int EEF_STYLE_CUSTOMIZATION = 29; + int EEF_STYLE_CUSTOMIZATION = 28; /** * The number of structural features of the 'EEF Style Customization' class. @@ -2521,7 +2592,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupStyle() * @generated */ - int EEF_GROUP_STYLE = 30; + int EEF_GROUP_STYLE = 29; /** * The feature id for the 'Font Expression' attribute. @@ -2558,7 +2629,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupConditionalStyle() * @generated */ - int EEF_GROUP_CONDITIONAL_STYLE = 31; + int EEF_GROUP_CONDITIONAL_STYLE = 30; /** * The feature id for the 'Conditional Expression' attribute. @@ -2595,7 +2666,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupStyleCustomization() * @generated */ - int EEF_GROUP_STYLE_CUSTOMIZATION = 32; + int EEF_GROUP_STYLE_CUSTOMIZATION = 31; /** * The feature id for the 'Style' containment reference. @@ -2623,7 +2694,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextStyle() * @generated */ - int EEF_TEXT_STYLE = 33; + int EEF_TEXT_STYLE = 32; /** * The feature id for the 'Font Expression' attribute. @@ -2669,7 +2740,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextConditionalStyle() * @generated */ - int EEF_TEXT_CONDITIONAL_STYLE = 34; + int EEF_TEXT_CONDITIONAL_STYLE = 33; /** * The feature id for the 'Conditional Expression' attribute. @@ -2706,7 +2777,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextStyleCustomization() * @generated */ - int EEF_TEXT_STYLE_CUSTOMIZATION = 35; + int EEF_TEXT_STYLE_CUSTOMIZATION = 34; /** * The feature id for the 'Style' containment reference. @@ -2734,7 +2805,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxStyle() * @generated */ - int EEF_CHECKBOX_STYLE = 36; + int EEF_CHECKBOX_STYLE = 35; /** * The feature id for the 'Font Expression' attribute. @@ -2780,7 +2851,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxConditionalStyle() * @generated */ - int EEF_CHECKBOX_CONDITIONAL_STYLE = 37; + int EEF_CHECKBOX_CONDITIONAL_STYLE = 36; /** * The feature id for the 'Style' containment reference. @@ -2808,7 +2879,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxStyleCustomization() * @generated */ - int EEF_CHECKBOX_STYLE_CUSTOMIZATION = 38; + int EEF_CHECKBOX_STYLE_CUSTOMIZATION = 37; /** * The feature id for the 'Style' containment reference. @@ -2836,7 +2907,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelStyle() * @generated */ - int EEF_LABEL_STYLE = 39; + int EEF_LABEL_STYLE = 38; /** * The feature id for the 'Font Expression' attribute. @@ -2882,7 +2953,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelConditionalStyle() * @generated */ - int EEF_LABEL_CONDITIONAL_STYLE = 40; + int EEF_LABEL_CONDITIONAL_STYLE = 39; /** * The feature id for the 'Conditional Expression' attribute. @@ -2919,7 +2990,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelStyleCustomization() * @generated */ - int EEF_LABEL_STYLE_CUSTOMIZATION = 41; + int EEF_LABEL_STYLE_CUSTOMIZATION = 40; /** * The feature id for the 'Style' containment reference. @@ -2947,7 +3018,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioStyle() * @generated */ - int EEF_RADIO_STYLE = 42; + int EEF_RADIO_STYLE = 41; /** * The feature id for the 'Font Expression' attribute. @@ -2993,7 +3064,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioConditionalStyle() * @generated */ - int EEF_RADIO_CONDITIONAL_STYLE = 43; + int EEF_RADIO_CONDITIONAL_STYLE = 42; /** * The feature id for the 'Conditional Expression' attribute. @@ -3030,7 +3101,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioStyleCustomization() * @generated */ - int EEF_RADIO_STYLE_CUSTOMIZATION = 44; + int EEF_RADIO_STYLE_CUSTOMIZATION = 43; /** * The feature id for the 'Style' containment reference. @@ -3058,7 +3129,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkStyle() * @generated */ - int EEF_LINK_STYLE = 45; + int EEF_LINK_STYLE = 44; /** * The feature id for the 'Font Expression' attribute. @@ -3113,7 +3184,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkConditionalStyle() * @generated */ - int EEF_LINK_CONDITIONAL_STYLE = 46; + int EEF_LINK_CONDITIONAL_STYLE = 45; /** * The feature id for the 'Conditional Expression' attribute. @@ -3150,7 +3221,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkStyleCustomization() * @generated */ - int EEF_LINK_STYLE_CUSTOMIZATION = 47; + int EEF_LINK_STYLE_CUSTOMIZATION = 46; /** * The feature id for the 'Style' containment reference. @@ -3178,7 +3249,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectStyle() * @generated */ - int EEF_SELECT_STYLE = 48; + int EEF_SELECT_STYLE = 47; /** * The feature id for the 'Font Expression' attribute. @@ -3224,7 +3295,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectConditionalStyle() * @generated */ - int EEF_SELECT_CONDITIONAL_STYLE = 49; + int EEF_SELECT_CONDITIONAL_STYLE = 48; /** * The feature id for the 'Conditional Expression' attribute. @@ -3261,7 +3332,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectStyleCustomization() * @generated */ - int EEF_SELECT_STYLE_CUSTOMIZATION = 50; + int EEF_SELECT_STYLE_CUSTOMIZATION = 49; /** * The feature id for the 'Style' containment reference. @@ -3289,7 +3360,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStyle() * @generated */ - int EEF_TREE_STYLE = 51; + int EEF_TREE_STYLE = 50; /** * The feature id for the 'Font Expression' attribute. @@ -3317,7 +3388,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeConditionalStyle() * @generated */ - int EEF_TREE_CONDITIONAL_STYLE = 52; + int EEF_TREE_CONDITIONAL_STYLE = 51; /** * The feature id for the 'Conditional Expression' attribute. @@ -3354,7 +3425,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStyleCustomization() * @generated */ - int EEF_TREE_STYLE_CUSTOMIZATION = 53; + int EEF_TREE_STYLE_CUSTOMIZATION = 52; /** * The feature id for the 'Style' containment reference. @@ -3382,7 +3453,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStyle() * @generated */ - int EEF_TABLE_STYLE = 54; + int EEF_TABLE_STYLE = 53; /** * The feature id for the 'Font Expression' attribute. @@ -3410,7 +3481,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableConditionalStyle() * @generated */ - int EEF_TABLE_CONDITIONAL_STYLE = 55; + int EEF_TABLE_CONDITIONAL_STYLE = 54; /** * The feature id for the 'Conditional Expression' attribute. @@ -3447,7 +3518,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStyleCustomization() * @generated */ - int EEF_TABLE_STYLE_CUSTOMIZATION = 56; + int EEF_TABLE_STYLE_CUSTOMIZATION = 55; /** * The feature id for the 'Style' containment reference. @@ -3475,7 +3546,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineStyle() * @generated */ - int EEF_LINE_STYLE = 57; + int EEF_LINE_STYLE = 56; /** * The feature id for the 'Font Expression' attribute. @@ -3539,7 +3610,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineConditionalStyle() * @generated */ - int EEF_LINE_CONDITIONAL_STYLE = 58; + int EEF_LINE_CONDITIONAL_STYLE = 57; /** * The feature id for the 'Conditional Expression' attribute. @@ -3576,7 +3647,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineStyleCustomization() * @generated */ - int EEF_LINE_STYLE_CUSTOMIZATION = 59; + int EEF_LINE_STYLE_CUSTOMIZATION = 58; /** * The feature id for the 'Style' containment reference. @@ -3604,7 +3675,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnStyle() * @generated */ - int EEF_COLUMN_STYLE = 60; + int EEF_COLUMN_STYLE = 59; /** * The feature id for the 'Font Expression' attribute. @@ -3668,7 +3739,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnConditionalStyle() * @generated */ - int EEF_COLUMN_CONDITIONAL_STYLE = 61; + int EEF_COLUMN_CONDITIONAL_STYLE = 60; /** * The feature id for the 'Conditional Expression' attribute. @@ -3705,7 +3776,7 @@ public interface EefPackage extends EPackage { * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnStyleCustomization() * @generated */ - int EEF_COLUMN_STYLE_CUSTOMIZATION = 62; + int EEF_COLUMN_STYLE_CUSTOMIZATION = 61; /** * The feature id for the 'Style' containment reference. @@ -3726,14 +3797,96 @@ public interface EefPackage extends EPackage { int EEF_COLUMN_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; /** - * The meta object id for the 'Expression' data type. + * The meta object id for the '{@link org.eclipse.eef.impl.EEFQuickFixImpl EEF Quick Fix}' class. + * + * + * @see org.eclipse.eef.impl.EEFQuickFixImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFQuickFix() + * @generated + */ + int EEF_QUICK_FIX = 62; + + /** + * The feature id for the 'Title Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_QUICK_FIX__TITLE_EXPRESSION = 0; + + /** + * The feature id for the 'Message Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_QUICK_FIX__MESSAGE_EXPRESSION = 1; + + /** + * The feature id for the 'Can Handle Status Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION = 2; + + /** + * The feature id for the 'Fix Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_QUICK_FIX__FIX_EXPRESSION = 3; + + /** + * The number of structural features of the 'EEF Quick Fix' class. + * + * + * @generated + * @ordered + */ + int EEF_QUICK_FIX_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.eef.impl.EEFValidationImpl EEF Validation}' class. + * + * + * @see org.eclipse.eef.impl.EEFValidationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFValidation() + * @generated + */ + int EEF_VALIDATION = 63; + + /** + * The feature id for the 'Validation Expression' attribute. + * + * + * @generated + * @ordered + */ + int EEF_VALIDATION__VALIDATION_EXPRESSION = 0; + + /** + * The feature id for the 'Quickfixes' containment reference list. + * + * + * @generated + * @ordered + */ + int EEF_VALIDATION__QUICKFIXES = 1; + + /** + * The number of structural features of the 'EEF Validation' class. * * - * @see java.lang.String - * @see org.eclipse.eef.impl.EefPackageImpl#getExpression() * @generated + * @ordered */ - int EXPRESSION = 63; + int EEF_VALIDATION_FEATURE_COUNT = 2; /** * The meta object id for the 'Type Name' data type. @@ -3766,6 +3919,28 @@ public interface EefPackage extends EPackage { */ EAttribute getEEFViewDescription_Identifier(); + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFViewDescription#getPreconditionExpression Precondition Expression}'. + * + * + * @return the meta object for the attribute 'Precondition Expression'. + * @see org.eclipse.eef.EEFViewDescription#getPreconditionExpression() + * @see #getEEFViewDescription() + * @generated + */ + EAttribute getEEFViewDescription_PreconditionExpression(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getUserDefinedVariables User Defined Variables}'. + * + * + * @return the meta object for the containment reference list 'User Defined Variables'. + * @see org.eclipse.eef.EEFViewDescription#getUserDefinedVariables() + * @see #getEEFViewDescription() + * @generated + */ + EReference getEEFViewDescription_UserDefinedVariables(); + /** * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFViewDescription#getLabelExpression Label Expression}'. * @@ -3863,28 +4038,50 @@ public interface EefPackage extends EPackage { * @see #getEEFViewDescription() * @generated */ - EReference getEEFViewDescription_StyleCustomizations(); + EReference getEEFViewDescription_StyleCustomizations(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFPageDescription EEF Page Description}'. + * + * + * @return the meta object for class 'EEF Page Description'. + * @see org.eclipse.eef.EEFPageDescription + * @generated + */ + EClass getEEFPageDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getIdentifier Identifier}'. + * + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFPageDescription#getIdentifier() + * @see #getEEFPageDescription() + * @generated + */ + EAttribute getEEFPageDescription_Identifier(); /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFPageDescription EEF Page Description}'. + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getPreconditionExpression Precondition Expression}'. * * - * @return the meta object for class 'EEF Page Description'. - * @see org.eclipse.eef.EEFPageDescription + * @return the meta object for the attribute 'Precondition Expression'. + * @see org.eclipse.eef.EEFPageDescription#getPreconditionExpression() + * @see #getEEFPageDescription() * @generated */ - EClass getEEFPageDescription(); + EAttribute getEEFPageDescription_PreconditionExpression(); /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getIdentifier Identifier}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFPageDescription#getUserDefinedVariables User Defined Variables}'. * * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.EEFPageDescription#getIdentifier() + * @return the meta object for the containment reference list 'User Defined Variables'. + * @see org.eclipse.eef.EEFPageDescription#getUserDefinedVariables() * @see #getEEFPageDescription() * @generated */ - EAttribute getEEFPageDescription_Identifier(); + EReference getEEFPageDescription_UserDefinedVariables(); /** * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getLabelExpression Label Expression}'. @@ -3962,6 +4159,28 @@ public interface EefPackage extends EPackage { */ EAttribute getEEFGroupDescription_Identifier(); + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getPreconditionExpression Precondition Expression}'. + * + * + * @return the meta object for the attribute 'Precondition Expression'. + * @see org.eclipse.eef.EEFGroupDescription#getPreconditionExpression() + * @see #getEEFGroupDescription() + * @generated + */ + EAttribute getEEFGroupDescription_PreconditionExpression(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFGroupDescription#getUserDefinedVariables User Defined Variables}'. + * + * + * @return the meta object for the containment reference list 'User Defined Variables'. + * @see org.eclipse.eef.EEFGroupDescription#getUserDefinedVariables() + * @see #getEEFGroupDescription() + * @generated + */ + EReference getEEFGroupDescription_UserDefinedVariables(); + /** * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getLabelExpression Label Expression}'. * @@ -4029,15 +4248,15 @@ public interface EefPackage extends EPackage { EAttribute getEEFGroupDescription_CollapsedByDefaultExpression(); /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getValidationExpression Validation Expression}'. + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFGroupDescription#getValidation Validation}'. * * - * @return the meta object for the attribute 'Validation Expression'. - * @see org.eclipse.eef.EEFGroupDescription#getValidationExpression() + * @return the meta object for the containment reference 'Validation'. + * @see org.eclipse.eef.EEFGroupDescription#getValidation() * @see #getEEFGroupDescription() * @generated */ - EAttribute getEEFGroupDescription_ValidationExpression(); + EReference getEEFGroupDescription_Validation(); /** * Returns the meta object for class '{@link org.eclipse.eef.EEFContainerDescription EEF Container Description}'. @@ -4060,6 +4279,28 @@ public interface EefPackage extends EPackage { */ EAttribute getEEFContainerDescription_Identifier(); + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getPreconditionExpression Precondition Expression}'. + * + * + * @return the meta object for the attribute 'Precondition Expression'. + * @see org.eclipse.eef.EEFContainerDescription#getPreconditionExpression() + * @see #getEEFContainerDescription() + * @generated + */ + EAttribute getEEFContainerDescription_PreconditionExpression(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFContainerDescription#getUserDefinedVariables User Defined Variables}'. + * + * + * @return the meta object for the containment reference list 'User Defined Variables'. + * @see org.eclipse.eef.EEFContainerDescription#getUserDefinedVariables() + * @see #getEEFContainerDescription() + * @generated + */ + EReference getEEFContainerDescription_UserDefinedVariables(); + /** * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. * @@ -4136,6 +4377,28 @@ public interface EefPackage extends EPackage { */ EAttribute getEEFWidgetDescription_Identifier(); + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getPreconditionExpression Precondition Expression}'. + * + * + * @return the meta object for the attribute 'Precondition Expression'. + * @see org.eclipse.eef.EEFWidgetDescription#getPreconditionExpression() + * @see #getEEFWidgetDescription() + * @generated + */ + EAttribute getEEFWidgetDescription_PreconditionExpression(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFWidgetDescription#getUserDefinedVariables User Defined Variables}'. + * + * + * @return the meta object for the containment reference list 'User Defined Variables'. + * @see org.eclipse.eef.EEFWidgetDescription#getUserDefinedVariables() + * @see #getEEFWidgetDescription() + * @generated + */ + EReference getEEFWidgetDescription_UserDefinedVariables(); + /** * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression Label Expression}'. * @@ -4181,15 +4444,15 @@ public interface EefPackage extends EPackage { EAttribute getEEFWidgetDescription_HelpExpression(); /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getValidationExpression Validation Expression}'. + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFWidgetDescription#getValidation Validation}'. * * - * @return the meta object for the attribute 'Validation Expression'. - * @see org.eclipse.eef.EEFWidgetDescription#getValidationExpression() + * @return the meta object for the containment reference 'Validation'. + * @see org.eclipse.eef.EEFWidgetDescription#getValidation() * @see #getEEFWidgetDescription() * @generated */ - EAttribute getEEFWidgetDescription_ValidationExpression(); + EReference getEEFWidgetDescription_Validation(); /** * Returns the meta object for class '{@link org.eclipse.eef.EEFJavaExtensionDescription EEF Java Extension Description}'. @@ -4986,57 +5249,69 @@ public interface EefPackage extends EPackage { EAttribute getEEFTableStructureDescription_Identifier(); /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription EEF Adapter Factory Table Structure Description}'. + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#getAddExpression Add Expression}'. * * - * @return the meta object for class 'EEF Adapter Factory Table Structure Description'. - * @see org.eclipse.eef.EEFAdapterFactoryTableStructureDescription + * @return the meta object for the attribute 'Add Expression'. + * @see org.eclipse.eef.EEFTableStructureDescription#getAddExpression() + * @see #getEEFTableStructureDescription() * @generated */ - EClass getEEFAdapterFactoryTableStructureDescription(); + EAttribute getEEFTableStructureDescription_AddExpression(); /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}'. + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#getRemoveExpression Remove Expression}'. * * - * @return the meta object for the attribute 'Adapter Factory Provider'. - * @see org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider() - * @see #getEEFAdapterFactoryTableStructureDescription() + * @return the meta object for the attribute 'Remove Expression'. + * @see org.eclipse.eef.EEFTableStructureDescription#getRemoveExpression() + * @see #getEEFTableStructureDescription() * @generated */ - EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); + EAttribute getEEFTableStructureDescription_RemoveExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#getUpExpression Up Expression}'. + * + * + * @return the meta object for the attribute 'Up Expression'. + * @see org.eclipse.eef.EEFTableStructureDescription#getUpExpression() + * @see #getEEFTableStructureDescription() + * @generated + */ + EAttribute getEEFTableStructureDescription_UpExpression(); /** - * Returns the meta object for class '{@link org.eclipse.eef.ContextableElement Contextable Element}'. + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#getDownExpression Down Expression}'. * * - * @return the meta object for class 'Contextable Element'. - * @see org.eclipse.eef.ContextableElement + * @return the meta object for the attribute 'Down Expression'. + * @see org.eclipse.eef.EEFTableStructureDescription#getDownExpression() + * @see #getEEFTableStructureDescription() * @generated */ - EClass getContextableElement(); + EAttribute getEEFTableStructureDescription_DownExpression(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.ContextableElement#getRequiredContextVariables Required Context Variables}'. + * Returns the meta object for class '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription EEF Adapter Factory Table Structure Description}'. * * - * @return the meta object for the containment reference list 'Required Context Variables'. - * @see org.eclipse.eef.ContextableElement#getRequiredContextVariables() - * @see #getContextableElement() + * @return the meta object for class 'EEF Adapter Factory Table Structure Description'. + * @see org.eclipse.eef.EEFAdapterFactoryTableStructureDescription * @generated */ - EReference getContextableElement_RequiredContextVariables(); + EClass getEEFAdapterFactoryTableStructureDescription(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.ContextableElement#getExcludedContextVariables Excluded Context Variables}'. + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}'. * * - * @return the meta object for the containment reference list 'Excluded Context Variables'. - * @see org.eclipse.eef.ContextableElement#getExcludedContextVariables() - * @see #getContextableElement() + * @return the meta object for the attribute 'Adapter Factory Provider'. + * @see org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider() + * @see #getEEFAdapterFactoryTableStructureDescription() * @generated */ - EReference getContextableElement_ExcludedContextVariables(); + EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); /** * Returns the meta object for class '{@link org.eclipse.eef.EEFStyle EEF Style}'. @@ -5905,15 +6180,90 @@ public interface EefPackage extends EPackage { EReference getEEFColumnStyleCustomization_Style(); /** - * Returns the meta object for data type '{@link java.lang.String Expression}'. + * Returns the meta object for class '{@link org.eclipse.eef.EEFQuickFix EEF Quick Fix}'. * * - * @return the meta object for data type 'Expression'. - * @see java.lang.String - * @model instanceClass="java.lang.String" + * @return the meta object for class 'EEF Quick Fix'. + * @see org.eclipse.eef.EEFQuickFix + * @generated + */ + EClass getEEFQuickFix(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFQuickFix#getTitleExpression Title Expression}'. + * + * + * @return the meta object for the attribute 'Title Expression'. + * @see org.eclipse.eef.EEFQuickFix#getTitleExpression() + * @see #getEEFQuickFix() + * @generated + */ + EAttribute getEEFQuickFix_TitleExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFQuickFix#getMessageExpression Message Expression}'. + * + * + * @return the meta object for the attribute 'Message Expression'. + * @see org.eclipse.eef.EEFQuickFix#getMessageExpression() + * @see #getEEFQuickFix() + * @generated + */ + EAttribute getEEFQuickFix_MessageExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFQuickFix#getCanHandleStatusExpression Can Handle Status Expression}'. + * + * + * @return the meta object for the attribute 'Can Handle Status Expression'. + * @see org.eclipse.eef.EEFQuickFix#getCanHandleStatusExpression() + * @see #getEEFQuickFix() + * @generated + */ + EAttribute getEEFQuickFix_CanHandleStatusExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFQuickFix#getFixExpression Fix Expression}'. + * + * + * @return the meta object for the attribute 'Fix Expression'. + * @see org.eclipse.eef.EEFQuickFix#getFixExpression() + * @see #getEEFQuickFix() + * @generated + */ + EAttribute getEEFQuickFix_FixExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.eef.EEFValidation EEF Validation}'. + * + * + * @return the meta object for class 'EEF Validation'. + * @see org.eclipse.eef.EEFValidation + * @generated + */ + EClass getEEFValidation(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFValidation#getValidationExpression Validation Expression}'. + * + * + * @return the meta object for the attribute 'Validation Expression'. + * @see org.eclipse.eef.EEFValidation#getValidationExpression() + * @see #getEEFValidation() + * @generated + */ + EAttribute getEEFValidation_ValidationExpression(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFValidation#getQuickfixes Quickfixes}'. + * + * + * @return the meta object for the containment reference list 'Quickfixes'. + * @see org.eclipse.eef.EEFValidation#getQuickfixes() + * @see #getEEFValidation() * @generated */ - EDataType getExpression(); + EReference getEEFValidation_Quickfixes(); /** * Returns the meta object for data type '{@link java.lang.String Type Name}'. @@ -5966,6 +6316,22 @@ public interface EefPackage extends EPackage { */ EAttribute EEF_VIEW_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFViewDescription_Identifier(); + /** + * The meta object literal for the 'Precondition Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION = eINSTANCE.getEEFViewDescription_PreconditionExpression(); + + /** + * The meta object literal for the 'User Defined Variables' containment reference list feature. + * + * + * @generated + */ + EReference EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES = eINSTANCE.getEEFViewDescription_UserDefinedVariables(); + /** * The meta object literal for the 'Label Expression' attribute feature. * @@ -6056,6 +6422,22 @@ public interface EefPackage extends EPackage { */ EAttribute EEF_PAGE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFPageDescription_Identifier(); + /** + * The meta object literal for the 'Precondition Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION = eINSTANCE.getEEFPageDescription_PreconditionExpression(); + + /** + * The meta object literal for the 'User Defined Variables' containment reference list feature. + * + * + * @generated + */ + EReference EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES = eINSTANCE.getEEFPageDescription_UserDefinedVariables(); + /** * The meta object literal for the 'Label Expression' attribute feature. * @@ -6114,6 +6496,22 @@ public interface EefPackage extends EPackage { */ EAttribute EEF_GROUP_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFGroupDescription_Identifier(); + /** + * The meta object literal for the 'Precondition Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION = eINSTANCE.getEEFGroupDescription_PreconditionExpression(); + + /** + * The meta object literal for the 'User Defined Variables' containment reference list feature. + * + * + * @generated + */ + EReference EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES = eINSTANCE.getEEFGroupDescription_UserDefinedVariables(); + /** * The meta object literal for the 'Label Expression' attribute feature. * @@ -6163,12 +6561,12 @@ public interface EefPackage extends EPackage { EAttribute EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION = eINSTANCE.getEEFGroupDescription_CollapsedByDefaultExpression(); /** - * The meta object literal for the 'Validation Expression' attribute feature. + * The meta object literal for the 'Validation' containment reference feature. * * * @generated */ - EAttribute EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION = eINSTANCE.getEEFGroupDescription_ValidationExpression(); + EReference EEF_GROUP_DESCRIPTION__VALIDATION = eINSTANCE.getEEFGroupDescription_Validation(); /** * The meta object literal for the '{@link org.eclipse.eef.impl.EEFContainerDescriptionImpl EEF Container Description}' class. @@ -6188,6 +6586,22 @@ public interface EefPackage extends EPackage { */ EAttribute EEF_CONTAINER_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFContainerDescription_Identifier(); + /** + * The meta object literal for the 'Precondition Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION = eINSTANCE.getEEFContainerDescription_PreconditionExpression(); + + /** + * The meta object literal for the 'User Defined Variables' containment reference list feature. + * + * + * @generated + */ + EReference EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES = eINSTANCE.getEEFContainerDescription_UserDefinedVariables(); + /** * The meta object literal for the 'Semantic Candidate Expression' attribute feature. * @@ -6246,6 +6660,22 @@ public interface EefPackage extends EPackage { */ EAttribute EEF_WIDGET_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFWidgetDescription_Identifier(); + /** + * The meta object literal for the 'Precondition Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION = eINSTANCE.getEEFWidgetDescription_PreconditionExpression(); + + /** + * The meta object literal for the 'User Defined Variables' containment reference list feature. + * + * + * @generated + */ + EReference EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES = eINSTANCE.getEEFWidgetDescription_UserDefinedVariables(); + /** * The meta object literal for the 'Label Expression' attribute feature. * @@ -6279,12 +6709,12 @@ public interface EefPackage extends EPackage { EAttribute EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION = eINSTANCE.getEEFWidgetDescription_HelpExpression(); /** - * The meta object literal for the 'Validation Expression' attribute feature. + * The meta object literal for the 'Validation' containment reference feature. * * * @generated */ - EAttribute EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION = eINSTANCE.getEEFWidgetDescription_ValidationExpression(); + EReference EEF_WIDGET_DESCRIPTION__VALIDATION = eINSTANCE.getEEFWidgetDescription_Validation(); /** * The meta object literal for the '{@link org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl EEF Java Extension Description}' class. @@ -6925,49 +7355,55 @@ public interface EefPackage extends EPackage { EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFTableStructureDescription_Identifier(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl EEF Adapter Factory Table Structure Description}' class. + * The meta object literal for the 'Add Expression' attribute feature. * * - * @see org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFAdapterFactoryTableStructureDescription() * @generated */ - EClass EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFAdapterFactoryTableStructureDescription(); + EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION = eINSTANCE.getEEFTableStructureDescription_AddExpression(); /** - * The meta object literal for the 'Adapter Factory Provider' attribute feature. + * The meta object literal for the 'Remove Expression' attribute feature. * * * @generated */ - EAttribute EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = eINSTANCE - .getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); + EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION = eINSTANCE.getEEFTableStructureDescription_RemoveExpression(); + + /** + * The meta object literal for the 'Up Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION = eINSTANCE.getEEFTableStructureDescription_UpExpression(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.ContextableElementImpl Contextable Element}' class. + * The meta object literal for the 'Down Expression' attribute feature. * * - * @see org.eclipse.eef.impl.ContextableElementImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getContextableElement() * @generated */ - EClass CONTEXTABLE_ELEMENT = eINSTANCE.getContextableElement(); + EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION = eINSTANCE.getEEFTableStructureDescription_DownExpression(); /** - * The meta object literal for the 'Required Context Variables' containment reference list feature. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl EEF Adapter Factory Table Structure Description}' class. * * + * @see org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFAdapterFactoryTableStructureDescription() * @generated */ - EReference CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES = eINSTANCE.getContextableElement_RequiredContextVariables(); + EClass EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFAdapterFactoryTableStructureDescription(); /** - * The meta object literal for the 'Excluded Context Variables' containment reference list feature. + * The meta object literal for the 'Adapter Factory Provider' attribute feature. * * * @generated */ - EReference CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES = eINSTANCE.getContextableElement_ExcludedContextVariables(); + EAttribute EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = eINSTANCE + .getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); /** * The meta object literal for the '{@link org.eclipse.eef.impl.EEFStyleImpl EEF Style}' class. @@ -7698,14 +8134,72 @@ public interface EefPackage extends EPackage { EReference EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFColumnStyleCustomization_Style(); /** - * The meta object literal for the 'Expression' data type. + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFQuickFixImpl EEF Quick Fix}' class. + * + * + * @see org.eclipse.eef.impl.EEFQuickFixImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFQuickFix() + * @generated + */ + EClass EEF_QUICK_FIX = eINSTANCE.getEEFQuickFix(); + + /** + * The meta object literal for the 'Title Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_QUICK_FIX__TITLE_EXPRESSION = eINSTANCE.getEEFQuickFix_TitleExpression(); + + /** + * The meta object literal for the 'Message Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_QUICK_FIX__MESSAGE_EXPRESSION = eINSTANCE.getEEFQuickFix_MessageExpression(); + + /** + * The meta object literal for the 'Can Handle Status Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION = eINSTANCE.getEEFQuickFix_CanHandleStatusExpression(); + + /** + * The meta object literal for the 'Fix Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_QUICK_FIX__FIX_EXPRESSION = eINSTANCE.getEEFQuickFix_FixExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFValidationImpl EEF Validation}' class. + * + * + * @see org.eclipse.eef.impl.EEFValidationImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFValidation() + * @generated + */ + EClass EEF_VALIDATION = eINSTANCE.getEEFValidation(); + + /** + * The meta object literal for the 'Validation Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_VALIDATION__VALIDATION_EXPRESSION = eINSTANCE.getEEFValidation_ValidationExpression(); + + /** + * The meta object literal for the 'Quickfixes' containment reference list feature. * * - * @see java.lang.String - * @see org.eclipse.eef.impl.EefPackageImpl#getExpression() * @generated */ - EDataType EXPRESSION = eINSTANCE.getExpression(); + EReference EEF_VALIDATION__QUICKFIXES = eINSTANCE.getEEFValidation_Quickfixes(); /** * The meta object literal for the 'Type Name' data type. diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/ContextableElementImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/ContextableElementImpl.java deleted file mode 100644 index 5dd9cd654..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/ContextableElementImpl.java +++ /dev/null @@ -1,199 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import java.util.Collection; - -import org.eclipse.eef.ContextableElement; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.sirius.context.ContextVariable; - -/** - * - * An implementation of the model object 'Contextable Element'. - * - *

          - * The following features are implemented: - *

          - *
            - *
          • {@link org.eclipse.eef.impl.ContextableElementImpl#getRequiredContextVariables Required Context Variables}
          • - *
          • {@link org.eclipse.eef.impl.ContextableElementImpl#getExcludedContextVariables Excluded Context Variables}
          • - *
          - * - * @generated - */ -public abstract class ContextableElementImpl extends MinimalEObjectImpl.Container implements ContextableElement { - /** - * The cached value of the '{@link #getRequiredContextVariables() Required Context Variables}' containment reference list. - * - * - * @see #getRequiredContextVariables() - * @generated - * @ordered - */ - protected EList requiredContextVariables; - - /** - * The cached value of the '{@link #getExcludedContextVariables() Excluded Context Variables}' containment reference list. - * - * - * @see #getExcludedContextVariables() - * @generated - * @ordered - */ - protected EList excludedContextVariables; - - /** - * - * - * @generated - */ - protected ContextableElementImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.CONTEXTABLE_ELEMENT; - } - - /** - * - * - * @generated - */ - @Override - public EList getRequiredContextVariables() { - if (requiredContextVariables == null) { - requiredContextVariables = new EObjectContainmentEList.Resolving(ContextVariable.class, this, - EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES); - } - return requiredContextVariables; - } - - /** - * - * - * @generated - */ - @Override - public EList getExcludedContextVariables() { - if (excludedContextVariables == null) { - excludedContextVariables = new EObjectContainmentEList.Resolving(ContextVariable.class, this, - EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES); - } - return excludedContextVariables; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: - return ((InternalEList) getRequiredContextVariables()).basicRemove(otherEnd, msgs); - case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: - return ((InternalEList) getExcludedContextVariables()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: - return getRequiredContextVariables(); - case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: - return getExcludedContextVariables(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: - getRequiredContextVariables().clear(); - getRequiredContextVariables().addAll((Collection) newValue); - return; - case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: - getExcludedContextVariables().clear(); - getExcludedContextVariables().addAll((Collection) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: - getRequiredContextVariables().clear(); - return; - case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: - getExcludedContextVariables().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES: - return requiredContextVariables != null && !requiredContextVariables.isEmpty(); - case EefPackage.CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES: - return excludedContextVariables != null && !excludedContextVariables.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //ContextableElementImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFContainerDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFContainerDescriptionImpl.java index 3a667c84b..8618089ff 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFContainerDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFContainerDescriptionImpl.java @@ -23,10 +23,13 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; import org.eclipse.emf.ecore.util.EObjectContainmentEList; import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.sirius.expression.UserDefinedVariable; + /** * * An implementation of the model object 'EEF Container Description'. @@ -36,6 +39,8 @@ import org.eclipse.emf.ecore.util.InternalEList; *

          *
            *
          • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getIdentifier Identifier}
          • + *
          • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getPreconditionExpression Precondition Expression}
          • + *
          • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getUserDefinedVariables User Defined Variables}
          • *
          • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
          • *
          • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getDomainClass Domain Class}
          • *
          • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getLayoutColumnCount Layout Column Count}
          • @@ -45,7 +50,7 @@ import org.eclipse.emf.ecore.util.InternalEList; * * @generated */ -public class EEFContainerDescriptionImpl extends ContextableElementImpl implements EEFContainerDescription { +public class EEFContainerDescriptionImpl extends MinimalEObjectImpl.Container implements EEFContainerDescription { /** * The default value of the '{@link #getIdentifier() Identifier}' attribute. * @@ -66,6 +71,36 @@ public class EEFContainerDescriptionImpl extends ContextableElementImpl implemen */ protected String identifier = IDENTIFIER_EDEFAULT; + /** + * The default value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. + * + * + * @see #getPreconditionExpression() + * @generated + * @ordered + */ + protected static final String PRECONDITION_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. + * + * + * @see #getPreconditionExpression() + * @generated + * @ordered + */ + protected String preconditionExpression = PRECONDITION_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getUserDefinedVariables() User Defined Variables}' containment reference list. + * + * + * @see #getUserDefinedVariables() + * @generated + * @ordered + */ + protected EList userDefinedVariables; + /** * The default value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. * @@ -188,6 +223,44 @@ public class EEFContainerDescriptionImpl extends ContextableElementImpl implemen eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); } + /** + * + * + * @generated + */ + @Override + public String getPreconditionExpression() { + return preconditionExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setPreconditionExpression(String newPreconditionExpression) { + String oldPreconditionExpression = preconditionExpression; + preconditionExpression = newPreconditionExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION, + oldPreconditionExpression, preconditionExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EList getUserDefinedVariables() { + if (userDefinedVariables == null) { + userDefinedVariables = new EObjectContainmentEList.Resolving(UserDefinedVariable.class, this, + EefPackage.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES); + } + return userDefinedVariables; + } + /** * * @@ -295,6 +368,8 @@ public class EEFContainerDescriptionImpl extends ContextableElementImpl implemen @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { + case EefPackage.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES: + return ((InternalEList) getUserDefinedVariables()).basicRemove(otherEnd, msgs); case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: return ((InternalEList) getContainers()).basicRemove(otherEnd, msgs); case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: @@ -313,6 +388,10 @@ public class EEFContainerDescriptionImpl extends ContextableElementImpl implemen switch (featureID) { case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: return getIdentifier(); + case EefPackage.EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION: + return getPreconditionExpression(); + case EefPackage.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES: + return getUserDefinedVariables(); case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: return getSemanticCandidateExpression(); case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: @@ -339,6 +418,13 @@ public class EEFContainerDescriptionImpl extends ContextableElementImpl implemen case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: setIdentifier((String) newValue); return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION: + setPreconditionExpression((String) newValue); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES: + getUserDefinedVariables().clear(); + getUserDefinedVariables().addAll((Collection) newValue); + return; case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: setSemanticCandidateExpression((String) newValue); return; @@ -371,6 +457,12 @@ public class EEFContainerDescriptionImpl extends ContextableElementImpl implemen case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: setIdentifier(IDENTIFIER_EDEFAULT); return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION: + setPreconditionExpression(PRECONDITION_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES: + getUserDefinedVariables().clear(); + return; case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: setSemanticCandidateExpression(SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT); return; @@ -400,6 +492,11 @@ public class EEFContainerDescriptionImpl extends ContextableElementImpl implemen switch (featureID) { case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION: + return PRECONDITION_EXPRESSION_EDEFAULT == null ? preconditionExpression != null + : !PRECONDITION_EXPRESSION_EDEFAULT.equals(preconditionExpression); + case EefPackage.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES: + return userDefinedVariables != null && !userDefinedVariables.isEmpty(); case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: return SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null : !SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); @@ -428,6 +525,8 @@ public class EEFContainerDescriptionImpl extends ContextableElementImpl implemen StringBuffer result = new StringBuffer(super.toString()); result.append(" (identifier: "); //$NON-NLS-1$ result.append(identifier); + result.append(", preconditionExpression: "); //$NON-NLS-1$ + result.append(preconditionExpression); result.append(", semanticCandidateExpression: "); //$NON-NLS-1$ result.append(semanticCandidateExpression); result.append(", domainClass: "); //$NON-NLS-1$ diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java index 77a703b06..0e6dcb099 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java @@ -8,17 +8,28 @@ */ package org.eclipse.eef.impl; +import java.util.Collection; + import org.eclipse.eef.EEFContainerDescription; import org.eclipse.eef.EEFGroupDescription; +import org.eclipse.eef.EEFValidation; import org.eclipse.eef.EefPackage; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.sirius.expression.UserDefinedVariable; /** * @@ -29,18 +40,20 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; *

            *
              *
            • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getIdentifier Identifier}
            • + *
            • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getPreconditionExpression Precondition Expression}
            • + *
            • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getUserDefinedVariables User Defined Variables}
            • *
            • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getLabelExpression Label Expression}
            • *
            • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getDomainClass Domain Class}
            • *
            • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
            • *
            • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getContainer Container}
            • *
            • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getCollapsibleExpression Collapsible Expression}
            • *
            • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getCollapsedByDefaultExpression Collapsed By Default Expression}
            • - *
            • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getValidationExpression Validation Expression}
            • + *
            • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getValidation Validation}
            • *
            * * @generated */ -public class EEFGroupDescriptionImpl extends ContextableElementImpl implements EEFGroupDescription { +public class EEFGroupDescriptionImpl extends MinimalEObjectImpl.Container implements EEFGroupDescription { /** * The default value of the '{@link #getIdentifier() Identifier}' attribute. * @@ -61,6 +74,36 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E */ protected String identifier = IDENTIFIER_EDEFAULT; + /** + * The default value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. + * + * + * @see #getPreconditionExpression() + * @generated + * @ordered + */ + protected static final String PRECONDITION_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. + * + * + * @see #getPreconditionExpression() + * @generated + * @ordered + */ + protected String preconditionExpression = PRECONDITION_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getUserDefinedVariables() User Defined Variables}' containment reference list. + * + * + * @see #getUserDefinedVariables() + * @generated + * @ordered + */ + protected EList userDefinedVariables; + /** * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. * @@ -172,24 +215,14 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E protected String collapsedByDefaultExpression = COLLAPSED_BY_DEFAULT_EXPRESSION_EDEFAULT; /** - * The default value of the '{@link #getValidationExpression() Validation Expression}' attribute. - * - * - * @see #getValidationExpression() - * @generated - * @ordered - */ - protected static final String VALIDATION_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValidationExpression() Validation Expression}' attribute. + * The cached value of the '{@link #getValidation() Validation}' containment reference. * * - * @see #getValidationExpression() + * @see #getValidation() * @generated * @ordered */ - protected String validationExpression = VALIDATION_EXPRESSION_EDEFAULT; + protected EEFValidation validation; /** * @@ -233,6 +266,44 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); } + /** + * + * + * @generated + */ + @Override + public String getPreconditionExpression() { + return preconditionExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setPreconditionExpression(String newPreconditionExpression) { + String oldPreconditionExpression = preconditionExpression; + preconditionExpression = newPreconditionExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION, + oldPreconditionExpression, preconditionExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EList getUserDefinedVariables() { + if (userDefinedVariables == null) { + userDefinedVariables = new EObjectContainmentEList.Resolving(UserDefinedVariable.class, this, + EefPackage.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES); + } + return userDefinedVariables; + } + /** * * @@ -434,8 +505,53 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E * @generated */ @Override - public String getValidationExpression() { - return validationExpression; + public EEFValidation getValidation() { + if (validation != null && validation.eIsProxy()) { + InternalEObject oldValidation = (InternalEObject) validation; + validation = (EEFValidation) eResolveProxy(oldValidation); + if (validation != oldValidation) { + InternalEObject newValidation = (InternalEObject) validation; + NotificationChain msgs = oldValidation.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION, + null, null); + if (newValidation.eInternalContainer() == null) { + msgs = newValidation.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION, oldValidation, + validation)); + } + } + return validation; + } + + /** + * + * + * @generated + */ + public EEFValidation basicGetValidation() { + return validation; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetValidation(EEFValidation newValidation, NotificationChain msgs) { + EEFValidation oldValidation = validation; + validation = newValidation; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION, + oldValidation, newValidation); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; } /** @@ -444,12 +560,20 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E * @generated */ @Override - public void setValidationExpression(String newValidationExpression) { - String oldValidationExpression = validationExpression; - validationExpression = newValidationExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION, oldValidationExpression, - validationExpression)); + public void setValidation(EEFValidation newValidation) { + if (newValidation != validation) { + NotificationChain msgs = null; + if (validation != null) + msgs = ((InternalEObject) validation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION, + null, msgs); + if (newValidation != null) + msgs = ((InternalEObject) newValidation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION, + null, msgs); + msgs = basicSetValidation(newValidation, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION, newValidation, newValidation)); } /** @@ -460,8 +584,12 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { + case EefPackage.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES: + return ((InternalEList) getUserDefinedVariables()).basicRemove(otherEnd, msgs); case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: return basicSetContainer(null, msgs); + case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION: + return basicSetValidation(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -476,6 +604,10 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E switch (featureID) { case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: return getIdentifier(); + case EefPackage.EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION: + return getPreconditionExpression(); + case EefPackage.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES: + return getUserDefinedVariables(); case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: return getLabelExpression(); case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: @@ -490,8 +622,10 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E return getCollapsibleExpression(); case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION: return getCollapsedByDefaultExpression(); - case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION: - return getValidationExpression(); + case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION: + if (resolve) + return getValidation(); + return basicGetValidation(); } return super.eGet(featureID, resolve, coreType); } @@ -501,12 +635,20 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E * * @generated */ + @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: setIdentifier((String) newValue); return; + case EefPackage.EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION: + setPreconditionExpression((String) newValue); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES: + getUserDefinedVariables().clear(); + getUserDefinedVariables().addAll((Collection) newValue); + return; case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: setLabelExpression((String) newValue); return; @@ -525,8 +667,8 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION: setCollapsedByDefaultExpression((String) newValue); return; - case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION: - setValidationExpression((String) newValue); + case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION: + setValidation((EEFValidation) newValue); return; } super.eSet(featureID, newValue); @@ -543,6 +685,12 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: setIdentifier(IDENTIFIER_EDEFAULT); return; + case EefPackage.EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION: + setPreconditionExpression(PRECONDITION_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES: + getUserDefinedVariables().clear(); + return; case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: setLabelExpression(LABEL_EXPRESSION_EDEFAULT); return; @@ -561,8 +709,8 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION: setCollapsedByDefaultExpression(COLLAPSED_BY_DEFAULT_EXPRESSION_EDEFAULT); return; - case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION: - setValidationExpression(VALIDATION_EXPRESSION_EDEFAULT); + case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION: + setValidation((EEFValidation) null); return; } super.eUnset(featureID); @@ -578,6 +726,11 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E switch (featureID) { case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION: + return PRECONDITION_EXPRESSION_EDEFAULT == null ? preconditionExpression != null + : !PRECONDITION_EXPRESSION_EDEFAULT.equals(preconditionExpression); + case EefPackage.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES: + return userDefinedVariables != null && !userDefinedVariables.isEmpty(); case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: @@ -593,9 +746,8 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION: return COLLAPSED_BY_DEFAULT_EXPRESSION_EDEFAULT == null ? collapsedByDefaultExpression != null : !COLLAPSED_BY_DEFAULT_EXPRESSION_EDEFAULT.equals(collapsedByDefaultExpression); - case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION: - return VALIDATION_EXPRESSION_EDEFAULT == null ? validationExpression != null - : !VALIDATION_EXPRESSION_EDEFAULT.equals(validationExpression); + case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION: + return validation != null; } return super.eIsSet(featureID); } @@ -613,6 +765,8 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E StringBuffer result = new StringBuffer(super.toString()); result.append(" (identifier: "); //$NON-NLS-1$ result.append(identifier); + result.append(", preconditionExpression: "); //$NON-NLS-1$ + result.append(preconditionExpression); result.append(", labelExpression: "); //$NON-NLS-1$ result.append(labelExpression); result.append(", domainClass: "); //$NON-NLS-1$ @@ -623,8 +777,6 @@ public class EEFGroupDescriptionImpl extends ContextableElementImpl implements E result.append(collapsibleExpression); result.append(", collapsedByDefaultExpression: "); //$NON-NLS-1$ result.append(collapsedByDefaultExpression); - result.append(", validationExpression: "); //$NON-NLS-1$ - result.append(validationExpression); result.append(')'); return result.toString(); } diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFPageDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFPageDescriptionImpl.java index 370d96031..557d66415 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFPageDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFPageDescriptionImpl.java @@ -15,6 +15,7 @@ import org.eclipse.eef.EEFPageDescription; import org.eclipse.eef.EefPackage; import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; @@ -22,8 +23,13 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; import org.eclipse.emf.ecore.util.EObjectResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.sirius.expression.UserDefinedVariable; /** * @@ -34,6 +40,8 @@ import org.eclipse.emf.ecore.util.EObjectResolvingEList; *

            *
              *
            • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getIdentifier Identifier}
            • + *
            • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getPreconditionExpression Precondition Expression}
            • + *
            • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getUserDefinedVariables User Defined Variables}
            • *
            • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getLabelExpression Label Expression}
            • *
            • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getDomainClass Domain Class}
            • *
            • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
            • @@ -43,7 +51,7 @@ import org.eclipse.emf.ecore.util.EObjectResolvingEList; * * @generated */ -public class EEFPageDescriptionImpl extends ContextableElementImpl implements EEFPageDescription { +public class EEFPageDescriptionImpl extends MinimalEObjectImpl.Container implements EEFPageDescription { /** * The default value of the '{@link #getIdentifier() Identifier}' attribute. * @@ -64,6 +72,36 @@ public class EEFPageDescriptionImpl extends ContextableElementImpl implements EE */ protected String identifier = IDENTIFIER_EDEFAULT; + /** + * The default value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. + * + * + * @see #getPreconditionExpression() + * @generated + * @ordered + */ + protected static final String PRECONDITION_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. + * + * + * @see #getPreconditionExpression() + * @generated + * @ordered + */ + protected String preconditionExpression = PRECONDITION_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getUserDefinedVariables() User Defined Variables}' containment reference list. + * + * + * @see #getUserDefinedVariables() + * @generated + * @ordered + */ + protected EList userDefinedVariables; + /** * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. * @@ -186,6 +224,44 @@ public class EEFPageDescriptionImpl extends ContextableElementImpl implements EE eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); } + /** + * + * + * @generated + */ + @Override + public String getPreconditionExpression() { + return preconditionExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setPreconditionExpression(String newPreconditionExpression) { + String oldPreconditionExpression = preconditionExpression; + preconditionExpression = newPreconditionExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION, oldPreconditionExpression, + preconditionExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EList getUserDefinedVariables() { + if (userDefinedVariables == null) { + userDefinedVariables = new EObjectContainmentEList.Resolving(UserDefinedVariable.class, this, + EefPackage.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES); + } + return userDefinedVariables; + } + /** * * @@ -311,6 +387,20 @@ public class EEFPageDescriptionImpl extends ContextableElementImpl implements EE eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE, oldExtendedPage, extendedPage)); } + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES: + return ((InternalEList) getUserDefinedVariables()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + /** * * @@ -321,6 +411,10 @@ public class EEFPageDescriptionImpl extends ContextableElementImpl implements EE switch (featureID) { case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: return getIdentifier(); + case EefPackage.EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION: + return getPreconditionExpression(); + case EefPackage.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES: + return getUserDefinedVariables(); case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: return getLabelExpression(); case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: @@ -349,6 +443,13 @@ public class EEFPageDescriptionImpl extends ContextableElementImpl implements EE case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: setIdentifier((String) newValue); return; + case EefPackage.EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION: + setPreconditionExpression((String) newValue); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES: + getUserDefinedVariables().clear(); + getUserDefinedVariables().addAll((Collection) newValue); + return; case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: setLabelExpression((String) newValue); return; @@ -380,6 +481,12 @@ public class EEFPageDescriptionImpl extends ContextableElementImpl implements EE case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: setIdentifier(IDENTIFIER_EDEFAULT); return; + case EefPackage.EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION: + setPreconditionExpression(PRECONDITION_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES: + getUserDefinedVariables().clear(); + return; case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: setLabelExpression(LABEL_EXPRESSION_EDEFAULT); return; @@ -409,6 +516,11 @@ public class EEFPageDescriptionImpl extends ContextableElementImpl implements EE switch (featureID) { case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION: + return PRECONDITION_EXPRESSION_EDEFAULT == null ? preconditionExpression != null + : !PRECONDITION_EXPRESSION_EDEFAULT.equals(preconditionExpression); + case EefPackage.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES: + return userDefinedVariables != null && !userDefinedVariables.isEmpty(); case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: @@ -437,6 +549,8 @@ public class EEFPageDescriptionImpl extends ContextableElementImpl implements EE StringBuffer result = new StringBuffer(super.toString()); result.append(" (identifier: "); //$NON-NLS-1$ result.append(identifier); + result.append(", preconditionExpression: "); //$NON-NLS-1$ + result.append(preconditionExpression); result.append(", labelExpression: "); //$NON-NLS-1$ result.append(labelExpression); result.append(", domainClass: "); //$NON-NLS-1$ diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFQuickFixImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFQuickFixImpl.java new file mode 100644 index 000000000..59c0f0acb --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFQuickFixImpl.java @@ -0,0 +1,343 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import org.eclipse.eef.EEFQuickFix; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'EEF Quick Fix'. + * + *

              + * The following features are implemented: + *

              + *
                + *
              • {@link org.eclipse.eef.impl.EEFQuickFixImpl#getTitleExpression Title Expression}
              • + *
              • {@link org.eclipse.eef.impl.EEFQuickFixImpl#getMessageExpression Message Expression}
              • + *
              • {@link org.eclipse.eef.impl.EEFQuickFixImpl#getCanHandleStatusExpression Can Handle Status Expression}
              • + *
              • {@link org.eclipse.eef.impl.EEFQuickFixImpl#getFixExpression Fix Expression}
              • + *
              + * + * @generated + */ +public class EEFQuickFixImpl extends MinimalEObjectImpl.Container implements EEFQuickFix { + /** + * The default value of the '{@link #getTitleExpression() Title Expression}' attribute. + * + * + * @see #getTitleExpression() + * @generated + * @ordered + */ + protected static final String TITLE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTitleExpression() Title Expression}' attribute. + * + * + * @see #getTitleExpression() + * @generated + * @ordered + */ + protected String titleExpression = TITLE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getMessageExpression() Message Expression}' attribute. + * + * + * @see #getMessageExpression() + * @generated + * @ordered + */ + protected static final String MESSAGE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMessageExpression() Message Expression}' attribute. + * + * + * @see #getMessageExpression() + * @generated + * @ordered + */ + protected String messageExpression = MESSAGE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getCanHandleStatusExpression() Can Handle Status Expression}' attribute. + * + * + * @see #getCanHandleStatusExpression() + * @generated + * @ordered + */ + protected static final String CAN_HANDLE_STATUS_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCanHandleStatusExpression() Can Handle Status Expression}' attribute. + * + * + * @see #getCanHandleStatusExpression() + * @generated + * @ordered + */ + protected String canHandleStatusExpression = CAN_HANDLE_STATUS_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getFixExpression() Fix Expression}' attribute. + * + * + * @see #getFixExpression() + * @generated + * @ordered + */ + protected static final String FIX_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getFixExpression() Fix Expression}' attribute. + * + * + * @see #getFixExpression() + * @generated + * @ordered + */ + protected String fixExpression = FIX_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected EEFQuickFixImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_QUICK_FIX; + } + + /** + * + * + * @generated + */ + @Override + public String getTitleExpression() { + return titleExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setTitleExpression(String newTitleExpression) { + String oldTitleExpression = titleExpression; + titleExpression = newTitleExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_QUICK_FIX__TITLE_EXPRESSION, oldTitleExpression, titleExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getMessageExpression() { + return messageExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setMessageExpression(String newMessageExpression) { + String oldMessageExpression = messageExpression; + messageExpression = newMessageExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_QUICK_FIX__MESSAGE_EXPRESSION, oldMessageExpression, + messageExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getCanHandleStatusExpression() { + return canHandleStatusExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setCanHandleStatusExpression(String newCanHandleStatusExpression) { + String oldCanHandleStatusExpression = canHandleStatusExpression; + canHandleStatusExpression = newCanHandleStatusExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION, + oldCanHandleStatusExpression, canHandleStatusExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getFixExpression() { + return fixExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setFixExpression(String newFixExpression) { + String oldFixExpression = fixExpression; + fixExpression = newFixExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_QUICK_FIX__FIX_EXPRESSION, oldFixExpression, fixExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_QUICK_FIX__TITLE_EXPRESSION: + return getTitleExpression(); + case EefPackage.EEF_QUICK_FIX__MESSAGE_EXPRESSION: + return getMessageExpression(); + case EefPackage.EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION: + return getCanHandleStatusExpression(); + case EefPackage.EEF_QUICK_FIX__FIX_EXPRESSION: + return getFixExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_QUICK_FIX__TITLE_EXPRESSION: + setTitleExpression((String) newValue); + return; + case EefPackage.EEF_QUICK_FIX__MESSAGE_EXPRESSION: + setMessageExpression((String) newValue); + return; + case EefPackage.EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION: + setCanHandleStatusExpression((String) newValue); + return; + case EefPackage.EEF_QUICK_FIX__FIX_EXPRESSION: + setFixExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_QUICK_FIX__TITLE_EXPRESSION: + setTitleExpression(TITLE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_QUICK_FIX__MESSAGE_EXPRESSION: + setMessageExpression(MESSAGE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION: + setCanHandleStatusExpression(CAN_HANDLE_STATUS_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_QUICK_FIX__FIX_EXPRESSION: + setFixExpression(FIX_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_QUICK_FIX__TITLE_EXPRESSION: + return TITLE_EXPRESSION_EDEFAULT == null ? titleExpression != null : !TITLE_EXPRESSION_EDEFAULT.equals(titleExpression); + case EefPackage.EEF_QUICK_FIX__MESSAGE_EXPRESSION: + return MESSAGE_EXPRESSION_EDEFAULT == null ? messageExpression != null : !MESSAGE_EXPRESSION_EDEFAULT.equals(messageExpression); + case EefPackage.EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION: + return CAN_HANDLE_STATUS_EXPRESSION_EDEFAULT == null ? canHandleStatusExpression != null + : !CAN_HANDLE_STATUS_EXPRESSION_EDEFAULT.equals(canHandleStatusExpression); + case EefPackage.EEF_QUICK_FIX__FIX_EXPRESSION: + return FIX_EXPRESSION_EDEFAULT == null ? fixExpression != null : !FIX_EXPRESSION_EDEFAULT.equals(fixExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (titleExpression: "); //$NON-NLS-1$ + result.append(titleExpression); + result.append(", messageExpression: "); //$NON-NLS-1$ + result.append(messageExpression); + result.append(", canHandleStatusExpression: "); //$NON-NLS-1$ + result.append(canHandleStatusExpression); + result.append(", fixExpression: "); //$NON-NLS-1$ + result.append(fixExpression); + result.append(')'); + return result.toString(); + } + +} //EEFQuickFixImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStructureDescriptionImpl.java index a4f89f1c9..ed55c36a8 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStructureDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStructureDescriptionImpl.java @@ -28,6 +28,10 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; *
                *
              • {@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl#isMultiple Multiple}
              • *
              • {@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl#getIdentifier Identifier}
              • + *
              • {@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl#getAddExpression Add Expression}
              • + *
              • {@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl#getRemoveExpression Remove Expression}
              • + *
              • {@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl#getUpExpression Up Expression}
              • + *
              • {@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl#getDownExpression Down Expression}
              • *
              * * @generated @@ -73,6 +77,86 @@ public abstract class EEFTableStructureDescriptionImpl extends MinimalEObjectImp */ protected String identifier = IDENTIFIER_EDEFAULT; + /** + * The default value of the '{@link #getAddExpression() Add Expression}' attribute. + * + * + * @see #getAddExpression() + * @generated + * @ordered + */ + protected static final String ADD_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAddExpression() Add Expression}' attribute. + * + * + * @see #getAddExpression() + * @generated + * @ordered + */ + protected String addExpression = ADD_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getRemoveExpression() Remove Expression}' attribute. + * + * + * @see #getRemoveExpression() + * @generated + * @ordered + */ + protected static final String REMOVE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getRemoveExpression() Remove Expression}' attribute. + * + * + * @see #getRemoveExpression() + * @generated + * @ordered + */ + protected String removeExpression = REMOVE_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getUpExpression() Up Expression}' attribute. + * + * + * @see #getUpExpression() + * @generated + * @ordered + */ + protected static final String UP_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getUpExpression() Up Expression}' attribute. + * + * + * @see #getUpExpression() + * @generated + * @ordered + */ + protected String upExpression = UP_EXPRESSION_EDEFAULT; + + /** + * The default value of the '{@link #getDownExpression() Down Expression}' attribute. + * + * + * @see #getDownExpression() + * @generated + * @ordered + */ + protected static final String DOWN_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDownExpression() Down Expression}' attribute. + * + * + * @see #getDownExpression() + * @generated + * @ordered + */ + protected String downExpression = DOWN_EXPRESSION_EDEFAULT; + /** * * @@ -138,6 +222,102 @@ public abstract class EEFTableStructureDescriptionImpl extends MinimalEObjectImp eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); } + /** + * + * + * @generated + */ + @Override + public String getAddExpression() { + return addExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setAddExpression(String newAddExpression) { + String oldAddExpression = addExpression; + addExpression = newAddExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION, oldAddExpression, + addExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getRemoveExpression() { + return removeExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setRemoveExpression(String newRemoveExpression) { + String oldRemoveExpression = removeExpression; + removeExpression = newRemoveExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION, oldRemoveExpression, + removeExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getUpExpression() { + return upExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setUpExpression(String newUpExpression) { + String oldUpExpression = upExpression; + upExpression = newUpExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION, oldUpExpression, + upExpression)); + } + + /** + * + * + * @generated + */ + @Override + public String getDownExpression() { + return downExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setDownExpression(String newDownExpression) { + String oldDownExpression = downExpression; + downExpression = newDownExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION, oldDownExpression, + downExpression)); + } + /** * * @@ -150,6 +330,14 @@ public abstract class EEFTableStructureDescriptionImpl extends MinimalEObjectImp return isMultiple(); case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: return getIdentifier(); + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION: + return getAddExpression(); + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION: + return getRemoveExpression(); + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION: + return getUpExpression(); + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION: + return getDownExpression(); } return super.eGet(featureID, resolve, coreType); } @@ -168,6 +356,18 @@ public abstract class EEFTableStructureDescriptionImpl extends MinimalEObjectImp case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: setIdentifier((String) newValue); return; + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION: + setAddExpression((String) newValue); + return; + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION: + setRemoveExpression((String) newValue); + return; + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION: + setUpExpression((String) newValue); + return; + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION: + setDownExpression((String) newValue); + return; } super.eSet(featureID, newValue); } @@ -186,6 +386,18 @@ public abstract class EEFTableStructureDescriptionImpl extends MinimalEObjectImp case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: setIdentifier(IDENTIFIER_EDEFAULT); return; + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION: + setAddExpression(ADD_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION: + setRemoveExpression(REMOVE_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION: + setUpExpression(UP_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION: + setDownExpression(DOWN_EXPRESSION_EDEFAULT); + return; } super.eUnset(featureID); } @@ -202,6 +414,14 @@ public abstract class EEFTableStructureDescriptionImpl extends MinimalEObjectImp return multiple != MULTIPLE_EDEFAULT; case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION: + return ADD_EXPRESSION_EDEFAULT == null ? addExpression != null : !ADD_EXPRESSION_EDEFAULT.equals(addExpression); + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION: + return REMOVE_EXPRESSION_EDEFAULT == null ? removeExpression != null : !REMOVE_EXPRESSION_EDEFAULT.equals(removeExpression); + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION: + return UP_EXPRESSION_EDEFAULT == null ? upExpression != null : !UP_EXPRESSION_EDEFAULT.equals(upExpression); + case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION: + return DOWN_EXPRESSION_EDEFAULT == null ? downExpression != null : !DOWN_EXPRESSION_EDEFAULT.equals(downExpression); } return super.eIsSet(featureID); } @@ -221,6 +441,14 @@ public abstract class EEFTableStructureDescriptionImpl extends MinimalEObjectImp result.append(multiple); result.append(", identifier: "); //$NON-NLS-1$ result.append(identifier); + result.append(", addExpression: "); //$NON-NLS-1$ + result.append(addExpression); + result.append(", removeExpression: "); //$NON-NLS-1$ + result.append(removeExpression); + result.append(", upExpression: "); //$NON-NLS-1$ + result.append(upExpression); + result.append(", downExpression: "); //$NON-NLS-1$ + result.append(downExpression); result.append(')'); return result.toString(); } diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java index 322331a21..b0cae37fa 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java @@ -9,19 +9,22 @@ package org.eclipse.eef.impl; import java.util.Collection; + import org.eclipse.eef.EEFTextConditionalStyle; import org.eclipse.eef.EEFTextDescription; import org.eclipse.eef.EEFTextStyle; import org.eclipse.eef.EefPackage; import org.eclipse.emf.common.notify.Notification; - import org.eclipse.emf.common.notify.NotificationChain; + import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.emf.ecore.util.EObjectContainmentEList; import org.eclipse.emf.ecore.util.InternalEList; diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFValidationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFValidationImpl.java new file mode 100644 index 000000000..66b504d43 --- /dev/null +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFValidationImpl.java @@ -0,0 +1,234 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.eef.impl; + +import java.util.Collection; + +import org.eclipse.eef.EEFQuickFix; +import org.eclipse.eef.EEFValidation; +import org.eclipse.eef.EefPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'EEF Validation'. + * + *

              + * The following features are implemented: + *

              + *
                + *
              • {@link org.eclipse.eef.impl.EEFValidationImpl#getValidationExpression Validation Expression}
              • + *
              • {@link org.eclipse.eef.impl.EEFValidationImpl#getQuickfixes Quickfixes}
              • + *
              + * + * @generated + */ +public class EEFValidationImpl extends MinimalEObjectImpl.Container implements EEFValidation { + /** + * The default value of the '{@link #getValidationExpression() Validation Expression}' attribute. + * + * + * @see #getValidationExpression() + * @generated + * @ordered + */ + protected static final String VALIDATION_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValidationExpression() Validation Expression}' attribute. + * + * + * @see #getValidationExpression() + * @generated + * @ordered + */ + protected String validationExpression = VALIDATION_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getQuickfixes() Quickfixes}' containment reference list. + * + * + * @see #getQuickfixes() + * @generated + * @ordered + */ + protected EList quickfixes; + + /** + * + * + * @generated + */ + protected EEFValidationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return EefPackage.Literals.EEF_VALIDATION; + } + + /** + * + * + * @generated + */ + @Override + public String getValidationExpression() { + return validationExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setValidationExpression(String newValidationExpression) { + String oldValidationExpression = validationExpression; + validationExpression = newValidationExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_VALIDATION__VALIDATION_EXPRESSION, oldValidationExpression, + validationExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EList getQuickfixes() { + if (quickfixes == null) { + quickfixes = new EObjectContainmentEList.Resolving(EEFQuickFix.class, this, EefPackage.EEF_VALIDATION__QUICKFIXES); + } + return quickfixes; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_VALIDATION__QUICKFIXES: + return ((InternalEList) getQuickfixes()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case EefPackage.EEF_VALIDATION__VALIDATION_EXPRESSION: + return getValidationExpression(); + case EefPackage.EEF_VALIDATION__QUICKFIXES: + return getQuickfixes(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case EefPackage.EEF_VALIDATION__VALIDATION_EXPRESSION: + setValidationExpression((String) newValue); + return; + case EefPackage.EEF_VALIDATION__QUICKFIXES: + getQuickfixes().clear(); + getQuickfixes().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case EefPackage.EEF_VALIDATION__VALIDATION_EXPRESSION: + setValidationExpression(VALIDATION_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_VALIDATION__QUICKFIXES: + getQuickfixes().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case EefPackage.EEF_VALIDATION__VALIDATION_EXPRESSION: + return VALIDATION_EXPRESSION_EDEFAULT == null ? validationExpression != null + : !VALIDATION_EXPRESSION_EDEFAULT.equals(validationExpression); + case EefPackage.EEF_VALIDATION__QUICKFIXES: + return quickfixes != null && !quickfixes.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (validationExpression: "); //$NON-NLS-1$ + result.append(validationExpression); + result.append(')'); + return result.toString(); + } + +} //EEFValidationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java index c1b06cd2a..c065f0ff2 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java @@ -28,12 +28,15 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; import org.eclipse.emf.ecore.util.EDataTypeUniqueEList; import org.eclipse.emf.ecore.util.EObjectContainmentEList; import org.eclipse.emf.ecore.util.EObjectResolvingEList; import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.sirius.expression.UserDefinedVariable; + /** * * An implementation of the model object 'EEF View Description'. @@ -43,6 +46,8 @@ import org.eclipse.emf.ecore.util.InternalEList; *

              *
                *
              • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getIdentifier Identifier}
              • + *
              • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getPreconditionExpression Precondition Expression}
              • + *
              • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getUserDefinedVariables User Defined Variables}
              • *
              • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getLabelExpression Label Expression}
              • *
              • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getEPackageNsUris EPackage Ns Uris}
              • *
              • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getGroups Groups}
              • @@ -56,7 +61,7 @@ import org.eclipse.emf.ecore.util.InternalEList; * * @generated */ -public class EEFViewDescriptionImpl extends ContextableElementImpl implements EEFViewDescription { +public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container implements EEFViewDescription { /** * The default value of the '{@link #getIdentifier() Identifier}' attribute. * @@ -77,6 +82,36 @@ public class EEFViewDescriptionImpl extends ContextableElementImpl implements EE */ protected String identifier = IDENTIFIER_EDEFAULT; + /** + * The default value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. + * + * + * @see #getPreconditionExpression() + * @generated + * @ordered + */ + protected static final String PRECONDITION_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. + * + * + * @see #getPreconditionExpression() + * @generated + * @ordered + */ + protected String preconditionExpression = PRECONDITION_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getUserDefinedVariables() User Defined Variables}' containment reference list. + * + * + * @see #getUserDefinedVariables() + * @generated + * @ordered + */ + protected EList userDefinedVariables; + /** * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. * @@ -219,6 +254,44 @@ public class EEFViewDescriptionImpl extends ContextableElementImpl implements EE eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); } + /** + * + * + * @generated + */ + @Override + public String getPreconditionExpression() { + return preconditionExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setPreconditionExpression(String newPreconditionExpression) { + String oldPreconditionExpression = preconditionExpression; + preconditionExpression = newPreconditionExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION, oldPreconditionExpression, + preconditionExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EList getUserDefinedVariables() { + if (userDefinedVariables == null) { + userDefinedVariables = new EObjectContainmentEList.Resolving(UserDefinedVariable.class, this, + EefPackage.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES); + } + return userDefinedVariables; + } + /** * * @@ -361,6 +434,8 @@ public class EEFViewDescriptionImpl extends ContextableElementImpl implements EE @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { + case EefPackage.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES: + return ((InternalEList) getUserDefinedVariables()).basicRemove(otherEnd, msgs); case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: return ((InternalEList) getGroups()).basicRemove(otherEnd, msgs); case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: @@ -385,6 +460,10 @@ public class EEFViewDescriptionImpl extends ContextableElementImpl implements EE switch (featureID) { case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: return getIdentifier(); + case EefPackage.EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION: + return getPreconditionExpression(); + case EefPackage.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES: + return getUserDefinedVariables(); case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: return getLabelExpression(); case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: @@ -419,6 +498,13 @@ public class EEFViewDescriptionImpl extends ContextableElementImpl implements EE case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: setIdentifier((String) newValue); return; + case EefPackage.EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION: + setPreconditionExpression((String) newValue); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES: + getUserDefinedVariables().clear(); + getUserDefinedVariables().addAll((Collection) newValue); + return; case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: setLabelExpression((String) newValue); return; @@ -469,6 +555,12 @@ public class EEFViewDescriptionImpl extends ContextableElementImpl implements EE case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: setIdentifier(IDENTIFIER_EDEFAULT); return; + case EefPackage.EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION: + setPreconditionExpression(PRECONDITION_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES: + getUserDefinedVariables().clear(); + return; case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: setLabelExpression(LABEL_EXPRESSION_EDEFAULT); return; @@ -510,6 +602,11 @@ public class EEFViewDescriptionImpl extends ContextableElementImpl implements EE switch (featureID) { case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION: + return PRECONDITION_EXPRESSION_EDEFAULT == null ? preconditionExpression != null + : !PRECONDITION_EXPRESSION_EDEFAULT.equals(preconditionExpression); + case EefPackage.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES: + return userDefinedVariables != null && !userDefinedVariables.isEmpty(); case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: @@ -545,6 +642,8 @@ public class EEFViewDescriptionImpl extends ContextableElementImpl implements EE StringBuffer result = new StringBuffer(super.toString()); result.append(" (identifier: "); //$NON-NLS-1$ result.append(identifier); + result.append(", preconditionExpression: "); //$NON-NLS-1$ + result.append(preconditionExpression); result.append(", labelExpression: "); //$NON-NLS-1$ result.append(labelExpression); result.append(", ePackageNsUris: "); //$NON-NLS-1$ diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java index 11dd91e83..c0479a128 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java @@ -8,16 +8,28 @@ */ package org.eclipse.eef.impl; +import java.util.Collection; + import org.eclipse.eef.EEFLabelStyle; +import org.eclipse.eef.EEFValidation; import org.eclipse.eef.EEFWidgetDescription; import org.eclipse.eef.EefPackage; import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; + import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.sirius.expression.UserDefinedVariable; /** * @@ -28,16 +40,18 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; *

                *
                  *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getIdentifier Identifier}
                • + *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getPreconditionExpression Precondition Expression}
                • + *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getUserDefinedVariables User Defined Variables}
                • *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getLabelExpression Label Expression}
                • *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getLabelStyle Label Style}
                • *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getTooltipExpression Tooltip Expression}
                • *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getHelpExpression Help Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getValidationExpression Validation Expression}
                • + *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getValidation Validation}
                • *
                * * @generated */ -public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl implements EEFWidgetDescription { +public abstract class EEFWidgetDescriptionImpl extends MinimalEObjectImpl.Container implements EEFWidgetDescription { /** * The default value of the '{@link #getIdentifier() Identifier}' attribute. * @@ -58,6 +72,36 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im */ protected String identifier = IDENTIFIER_EDEFAULT; + /** + * The default value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. + * + * + * @see #getPreconditionExpression() + * @generated + * @ordered + */ + protected static final String PRECONDITION_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. + * + * + * @see #getPreconditionExpression() + * @generated + * @ordered + */ + protected String preconditionExpression = PRECONDITION_EXPRESSION_EDEFAULT; + + /** + * The cached value of the '{@link #getUserDefinedVariables() User Defined Variables}' containment reference list. + * + * + * @see #getUserDefinedVariables() + * @generated + * @ordered + */ + protected EList userDefinedVariables; + /** * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. * @@ -129,24 +173,14 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im protected String helpExpression = HELP_EXPRESSION_EDEFAULT; /** - * The default value of the '{@link #getValidationExpression() Validation Expression}' attribute. - * - * - * @see #getValidationExpression() - * @generated - * @ordered - */ - protected static final String VALIDATION_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValidationExpression() Validation Expression}' attribute. + * The cached value of the '{@link #getValidation() Validation}' containment reference. * * - * @see #getValidationExpression() + * @see #getValidation() * @generated * @ordered */ - protected String validationExpression = VALIDATION_EXPRESSION_EDEFAULT; + protected EEFValidation validation; /** * @@ -190,6 +224,44 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); } + /** + * + * + * @generated + */ + @Override + public String getPreconditionExpression() { + return preconditionExpression; + } + + /** + * + * + * @generated + */ + @Override + public void setPreconditionExpression(String newPreconditionExpression) { + String oldPreconditionExpression = preconditionExpression; + preconditionExpression = newPreconditionExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION, + oldPreconditionExpression, preconditionExpression)); + } + + /** + * + * + * @generated + */ + @Override + public EList getUserDefinedVariables() { + if (userDefinedVariables == null) { + userDefinedVariables = new EObjectContainmentEList.Resolving(UserDefinedVariable.class, this, + EefPackage.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES); + } + return userDefinedVariables; + } + /** * * @@ -309,8 +381,53 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im * @generated */ @Override - public String getValidationExpression() { - return validationExpression; + public EEFValidation getValidation() { + if (validation != null && validation.eIsProxy()) { + InternalEObject oldValidation = (InternalEObject) validation; + validation = (EEFValidation) eResolveProxy(oldValidation); + if (validation != oldValidation) { + InternalEObject newValidation = (InternalEObject) validation; + NotificationChain msgs = oldValidation.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION, + null, null); + if (newValidation.eInternalContainer() == null) { + msgs = newValidation.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION, null, msgs); + } + if (msgs != null) + msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION, oldValidation, + validation)); + } + } + return validation; + } + + /** + * + * + * @generated + */ + public EEFValidation basicGetValidation() { + return validation; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetValidation(EEFValidation newValidation, NotificationChain msgs) { + EEFValidation oldValidation = validation; + validation = newValidation; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION, + oldValidation, newValidation); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; } /** @@ -319,12 +436,36 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im * @generated */ @Override - public void setValidationExpression(String newValidationExpression) { - String oldValidationExpression = validationExpression; - validationExpression = newValidationExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION, oldValidationExpression, - validationExpression)); + public void setValidation(EEFValidation newValidation) { + if (newValidation != validation) { + NotificationChain msgs = null; + if (validation != null) + msgs = ((InternalEObject) validation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION, + null, msgs); + if (newValidation != null) + msgs = ((InternalEObject) newValidation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION, + null, msgs); + msgs = basicSetValidation(newValidation, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION, newValidation, newValidation)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case EefPackage.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES: + return ((InternalEList) getUserDefinedVariables()).basicRemove(otherEnd, msgs); + case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION: + return basicSetValidation(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); } /** @@ -337,6 +478,10 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im switch (featureID) { case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: return getIdentifier(); + case EefPackage.EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION: + return getPreconditionExpression(); + case EefPackage.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES: + return getUserDefinedVariables(); case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: return getLabelExpression(); case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_STYLE: @@ -347,8 +492,10 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im return getTooltipExpression(); case EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION: return getHelpExpression(); - case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION: - return getValidationExpression(); + case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION: + if (resolve) + return getValidation(); + return basicGetValidation(); } return super.eGet(featureID, resolve, coreType); } @@ -358,12 +505,20 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im * * @generated */ + @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: setIdentifier((String) newValue); return; + case EefPackage.EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION: + setPreconditionExpression((String) newValue); + return; + case EefPackage.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES: + getUserDefinedVariables().clear(); + getUserDefinedVariables().addAll((Collection) newValue); + return; case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: setLabelExpression((String) newValue); return; @@ -376,8 +531,8 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im case EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION: setHelpExpression((String) newValue); return; - case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION: - setValidationExpression((String) newValue); + case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION: + setValidation((EEFValidation) newValue); return; } super.eSet(featureID, newValue); @@ -394,6 +549,12 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: setIdentifier(IDENTIFIER_EDEFAULT); return; + case EefPackage.EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION: + setPreconditionExpression(PRECONDITION_EXPRESSION_EDEFAULT); + return; + case EefPackage.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES: + getUserDefinedVariables().clear(); + return; case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: setLabelExpression(LABEL_EXPRESSION_EDEFAULT); return; @@ -406,8 +567,8 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im case EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION: setHelpExpression(HELP_EXPRESSION_EDEFAULT); return; - case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION: - setValidationExpression(VALIDATION_EXPRESSION_EDEFAULT); + case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION: + setValidation((EEFValidation) null); return; } super.eUnset(featureID); @@ -423,6 +584,11 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im switch (featureID) { case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case EefPackage.EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION: + return PRECONDITION_EXPRESSION_EDEFAULT == null ? preconditionExpression != null + : !PRECONDITION_EXPRESSION_EDEFAULT.equals(preconditionExpression); + case EefPackage.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES: + return userDefinedVariables != null && !userDefinedVariables.isEmpty(); case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_STYLE: @@ -431,9 +597,8 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im return TOOLTIP_EXPRESSION_EDEFAULT == null ? tooltipExpression != null : !TOOLTIP_EXPRESSION_EDEFAULT.equals(tooltipExpression); case EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION: return HELP_EXPRESSION_EDEFAULT == null ? helpExpression != null : !HELP_EXPRESSION_EDEFAULT.equals(helpExpression); - case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION: - return VALIDATION_EXPRESSION_EDEFAULT == null ? validationExpression != null - : !VALIDATION_EXPRESSION_EDEFAULT.equals(validationExpression); + case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION: + return validation != null; } return super.eIsSet(featureID); } @@ -451,14 +616,14 @@ public abstract class EEFWidgetDescriptionImpl extends ContextableElementImpl im StringBuffer result = new StringBuffer(super.toString()); result.append(" (identifier: "); //$NON-NLS-1$ result.append(identifier); + result.append(", preconditionExpression: "); //$NON-NLS-1$ + result.append(preconditionExpression); result.append(", labelExpression: "); //$NON-NLS-1$ result.append(labelExpression); result.append(", tooltipExpression: "); //$NON-NLS-1$ result.append(tooltipExpression); result.append(", helpExpression: "); //$NON-NLS-1$ result.append(helpExpression); - result.append(", validationExpression: "); //$NON-NLS-1$ - result.append(validationExpression); result.append(')'); return result.toString(); } diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java index 0cbbb7359..277983867 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java @@ -172,6 +172,10 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { return createEEFColumnConditionalStyle(); case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION: return createEEFColumnStyleCustomization(); + case EefPackage.EEF_QUICK_FIX: + return createEEFQuickFix(); + case EefPackage.EEF_VALIDATION: + return createEEFValidation(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ } @@ -185,8 +189,6 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { @Override public Object createFromString(EDataType eDataType, String initialValue) { switch (eDataType.getClassifierID()) { - case EefPackage.EXPRESSION: - return createExpressionFromString(eDataType, initialValue); case EefPackage.TYPE_NAME: return createTypeNameFromString(eDataType, initialValue); default: @@ -202,8 +204,6 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { @Override public String convertToString(EDataType eDataType, Object instanceValue) { switch (eDataType.getClassifierID()) { - case EefPackage.EXPRESSION: - return convertExpressionToString(eDataType, instanceValue); case EefPackage.TYPE_NAME: return convertTypeNameToString(eDataType, instanceValue); default: @@ -821,8 +821,10 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { * * @generated */ - public String createExpressionFromString(EDataType eDataType, String initialValue) { - return (String) super.createFromString(eDataType, initialValue); + @Override + public EEFQuickFix createEEFQuickFix() { + EEFQuickFixImpl eefQuickFix = new EEFQuickFixImpl(); + return eefQuickFix; } /** @@ -830,8 +832,10 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { * * @generated */ - public String convertExpressionToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); + @Override + public EEFValidation createEEFValidation() { + EEFValidationImpl eefValidation = new EEFValidationImpl(); + return eefValidation; } /** diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java index acf34762b..718a807ee 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java @@ -8,7 +8,6 @@ */ package org.eclipse.eef.impl; -import org.eclipse.eef.ContextableElement; import org.eclipse.eef.EEFAdapterFactoryTableStructureDescription; import org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription; import org.eclipse.eef.EEFCellWidgetDescription; @@ -44,6 +43,7 @@ import org.eclipse.eef.EEFLinkDescription; import org.eclipse.eef.EEFLinkStyle; import org.eclipse.eef.EEFLinkStyleCustomization; import org.eclipse.eef.EEFPageDescription; +import org.eclipse.eef.EEFQuickFix; import org.eclipse.eef.EEFRadioConditionalStyle; import org.eclipse.eef.EEFRadioDescription; import org.eclipse.eef.EEFRadioStyle; @@ -69,6 +69,7 @@ import org.eclipse.eef.EEFTreeDialogSelectDescription; import org.eclipse.eef.EEFTreeStructureDescription; import org.eclipse.eef.EEFTreeStyle; import org.eclipse.eef.EEFTreeStyleCustomization; +import org.eclipse.eef.EEFValidation; import org.eclipse.eef.EEFViewDescription; import org.eclipse.eef.EEFWidgetDescription; import org.eclipse.eef.EefFactory; @@ -82,7 +83,7 @@ import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.sirius.context.ContextPackage; +import org.eclipse.sirius.expression.ExpressionPackage; /** * @@ -273,13 +274,6 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ private EClass eefAdapterFactoryTableStructureDescriptionEClass = null; - /** - * - * - * @generated - */ - private EClass contextableElementEClass = null; - /** * * @@ -537,7 +531,14 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * * @generated */ - private EDataType expressionEDataType = null; + private EClass eefQuickFixEClass = null; + + /** + * + * + * @generated + */ + private EClass eefValidationEClass = null; /** * @@ -595,7 +596,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { isInited = true; // Initialize simple dependencies - ContextPackage.eINSTANCE.eClass(); + ExpressionPackage.eINSTANCE.eClass(); // Create package meta-data objects theEefPackage.createPackageContents(); @@ -637,10 +638,30 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFViewDescription_LabelExpression() { + public EAttribute getEEFViewDescription_PreconditionExpression() { return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(1); } + /** + * + * + * @generated + */ + @Override + public EReference getEEFViewDescription_UserDefinedVariables() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFViewDescription_LabelExpression() { + return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(3); + } + /** * * @@ -648,7 +669,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EAttribute getEEFViewDescription_EPackageNsUris() { - return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(2); + return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(4); } /** @@ -658,7 +679,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EReference getEEFViewDescription_Groups() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(3); + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(5); } /** @@ -668,7 +689,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EReference getEEFViewDescription_Pages() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(4); + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(6); } /** @@ -678,7 +699,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EReference getEEFViewDescription_JavaExtensions() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(5); + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(7); } /** @@ -688,7 +709,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EReference getEEFViewDescription_ImportedViews() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(6); + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(8); } /** @@ -698,7 +719,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EReference getEEFViewDescription_TreeStructures() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(7); + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(9); } /** @@ -708,7 +729,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EReference getEEFViewDescription_TableStructures() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(8); + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(10); } /** @@ -718,7 +739,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EReference getEEFViewDescription_StyleCustomizations() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(9); + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(11); } /** @@ -747,10 +768,30 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFPageDescription_LabelExpression() { + public EAttribute getEEFPageDescription_PreconditionExpression() { return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(1); } + /** + * + * + * @generated + */ + @Override + public EReference getEEFPageDescription_UserDefinedVariables() { + return (EReference) eefPageDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFPageDescription_LabelExpression() { + return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(3); + } + /** * * @@ -758,7 +799,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EAttribute getEEFPageDescription_DomainClass() { - return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(2); + return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(4); } /** @@ -768,7 +809,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EAttribute getEEFPageDescription_SemanticCandidateExpression() { - return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(3); + return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(5); } /** @@ -778,7 +819,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EReference getEEFPageDescription_Groups() { - return (EReference) eefPageDescriptionEClass.getEStructuralFeatures().get(4); + return (EReference) eefPageDescriptionEClass.getEStructuralFeatures().get(6); } /** @@ -788,7 +829,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EReference getEEFPageDescription_ExtendedPage() { - return (EReference) eefPageDescriptionEClass.getEStructuralFeatures().get(5); + return (EReference) eefPageDescriptionEClass.getEStructuralFeatures().get(7); } /** @@ -817,10 +858,30 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFGroupDescription_LabelExpression() { + public EAttribute getEEFGroupDescription_PreconditionExpression() { return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(1); } + /** + * + * + * @generated + */ + @Override + public EReference getEEFGroupDescription_UserDefinedVariables() { + return (EReference) eefGroupDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFGroupDescription_LabelExpression() { + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(3); + } + /** * * @@ -828,7 +889,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EAttribute getEEFGroupDescription_DomainClass() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(2); + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(4); } /** @@ -838,7 +899,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EAttribute getEEFGroupDescription_SemanticCandidateExpression() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(3); + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(5); } /** @@ -848,7 +909,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EReference getEEFGroupDescription_Container() { - return (EReference) eefGroupDescriptionEClass.getEStructuralFeatures().get(4); + return (EReference) eefGroupDescriptionEClass.getEStructuralFeatures().get(6); } /** @@ -858,7 +919,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EAttribute getEEFGroupDescription_CollapsibleExpression() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(5); + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(7); } /** @@ -868,7 +929,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EAttribute getEEFGroupDescription_CollapsedByDefaultExpression() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(6); + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(8); } /** @@ -877,8 +938,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFGroupDescription_ValidationExpression() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(7); + public EReference getEEFGroupDescription_Validation() { + return (EReference) eefGroupDescriptionEClass.getEStructuralFeatures().get(9); } /** @@ -907,10 +968,30 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFContainerDescription_SemanticCandidateExpression() { + public EAttribute getEEFContainerDescription_PreconditionExpression() { return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(1); } + /** + * + * + * @generated + */ + @Override + public EReference getEEFContainerDescription_UserDefinedVariables() { + return (EReference) eefContainerDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFContainerDescription_SemanticCandidateExpression() { + return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(3); + } + /** * * @@ -918,7 +999,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EAttribute getEEFContainerDescription_DomainClass() { - return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(2); + return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(4); } /** @@ -928,7 +1009,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EAttribute getEEFContainerDescription_LayoutColumnCount() { - return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(3); + return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(5); } /** @@ -938,7 +1019,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EReference getEEFContainerDescription_Containers() { - return (EReference) eefContainerDescriptionEClass.getEStructuralFeatures().get(4); + return (EReference) eefContainerDescriptionEClass.getEStructuralFeatures().get(6); } /** @@ -948,7 +1029,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { */ @Override public EReference getEEFContainerDescription_Widgets() { - return (EReference) eefContainerDescriptionEClass.getEStructuralFeatures().get(5); + return (EReference) eefContainerDescriptionEClass.getEStructuralFeatures().get(7); } /** @@ -977,7 +1058,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFWidgetDescription_LabelExpression() { + public EAttribute getEEFWidgetDescription_PreconditionExpression() { return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(1); } @@ -987,7 +1068,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EReference getEEFWidgetDescription_LabelStyle() { + public EReference getEEFWidgetDescription_UserDefinedVariables() { return (EReference) eefWidgetDescriptionEClass.getEStructuralFeatures().get(2); } @@ -997,7 +1078,7 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFWidgetDescription_TooltipExpression() { + public EAttribute getEEFWidgetDescription_LabelExpression() { return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(3); } @@ -1007,8 +1088,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFWidgetDescription_HelpExpression() { - return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(4); + public EReference getEEFWidgetDescription_LabelStyle() { + return (EReference) eefWidgetDescriptionEClass.getEStructuralFeatures().get(4); } /** @@ -1017,10 +1098,30 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFWidgetDescription_ValidationExpression() { + public EAttribute getEEFWidgetDescription_TooltipExpression() { return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(5); } + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFWidgetDescription_HelpExpression() { + return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFWidgetDescription_Validation() { + return (EReference) eefWidgetDescriptionEClass.getEStructuralFeatures().get(7); + } + /** * * @@ -1767,8 +1868,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getEEFAdapterFactoryTableStructureDescription() { - return eefAdapterFactoryTableStructureDescriptionEClass; + public EAttribute getEEFTableStructureDescription_AddExpression() { + return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(2); } /** @@ -1777,8 +1878,18 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider() { - return (EAttribute) eefAdapterFactoryTableStructureDescriptionEClass.getEStructuralFeatures().get(0); + public EAttribute getEEFTableStructureDescription_RemoveExpression() { + return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFTableStructureDescription_UpExpression() { + return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(4); } /** @@ -1787,8 +1898,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EClass getContextableElement() { - return contextableElementEClass; + public EAttribute getEEFTableStructureDescription_DownExpression() { + return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(5); } /** @@ -1797,8 +1908,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EReference getContextableElement_RequiredContextVariables() { - return (EReference) contextableElementEClass.getEStructuralFeatures().get(0); + public EClass getEEFAdapterFactoryTableStructureDescription() { + return eefAdapterFactoryTableStructureDescriptionEClass; } /** @@ -1807,8 +1918,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EReference getContextableElement_ExcludedContextVariables() { - return (EReference) contextableElementEClass.getEStructuralFeatures().get(1); + public EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider() { + return (EAttribute) eefAdapterFactoryTableStructureDescriptionEClass.getEStructuralFeatures().get(0); } /** @@ -2637,8 +2748,78 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { * @generated */ @Override - public EDataType getExpression() { - return expressionEDataType; + public EClass getEEFQuickFix() { + return eefQuickFixEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFQuickFix_TitleExpression() { + return (EAttribute) eefQuickFixEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFQuickFix_MessageExpression() { + return (EAttribute) eefQuickFixEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFQuickFix_CanHandleStatusExpression() { + return (EAttribute) eefQuickFixEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFQuickFix_FixExpression() { + return (EAttribute) eefQuickFixEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEEFValidation() { + return eefValidationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEEFValidation_ValidationExpression() { + return (EAttribute) eefValidationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEEFValidation_Quickfixes() { + return (EReference) eefValidationEClass.getEStructuralFeatures().get(1); } /** @@ -2683,6 +2864,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { // Create classes and their features eefViewDescriptionEClass = createEClass(EEF_VIEW_DESCRIPTION); createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__IDENTIFIER); + createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION); + createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES); createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION); createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS); createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__GROUPS); @@ -2695,6 +2878,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { eefPageDescriptionEClass = createEClass(EEF_PAGE_DESCRIPTION); createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__IDENTIFIER); + createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION); + createEReference(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES); createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION); createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__DOMAIN_CLASS); createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); @@ -2703,16 +2888,20 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { eefGroupDescriptionEClass = createEClass(EEF_GROUP_DESCRIPTION); createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__IDENTIFIER); + createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION); + createEReference(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES); createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION); createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__DOMAIN_CLASS); createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); createEReference(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__CONTAINER); createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION); createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION); - createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__VALIDATION_EXPRESSION); + createEReference(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__VALIDATION); eefContainerDescriptionEClass = createEClass(EEF_CONTAINER_DESCRIPTION); createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__IDENTIFIER); + createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION); + createEReference(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES); createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS); createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT); @@ -2721,11 +2910,13 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { eefWidgetDescriptionEClass = createEClass(EEF_WIDGET_DESCRIPTION); createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__IDENTIFIER); + createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION); + createEReference(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES); createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION); createEReference(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__LABEL_STYLE); createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION); createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION); - createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__VALIDATION_EXPRESSION); + createEReference(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__VALIDATION); eefJavaExtensionDescriptionEClass = createEClass(EEF_JAVA_EXTENSION_DESCRIPTION); createEAttribute(eefJavaExtensionDescriptionEClass, EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME); @@ -2820,14 +3011,14 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { eefTableStructureDescriptionEClass = createEClass(EEF_TABLE_STRUCTURE_DESCRIPTION); createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE); createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER); + createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION); + createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION); + createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION); + createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION); eefAdapterFactoryTableStructureDescriptionEClass = createEClass(EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION); createEAttribute(eefAdapterFactoryTableStructureDescriptionEClass, EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER); - contextableElementEClass = createEClass(CONTEXTABLE_ELEMENT); - createEReference(contextableElementEClass, CONTEXTABLE_ELEMENT__REQUIRED_CONTEXT_VARIABLES); - createEReference(contextableElementEClass, CONTEXTABLE_ELEMENT__EXCLUDED_CONTEXT_VARIABLES); - eefStyleEClass = createEClass(EEF_STYLE); createEAttribute(eefStyleEClass, EEF_STYLE__FONT_EXPRESSION); @@ -2946,8 +3137,17 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { eefColumnStyleCustomizationEClass = createEClass(EEF_COLUMN_STYLE_CUSTOMIZATION); createEReference(eefColumnStyleCustomizationEClass, EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE); + eefQuickFixEClass = createEClass(EEF_QUICK_FIX); + createEAttribute(eefQuickFixEClass, EEF_QUICK_FIX__TITLE_EXPRESSION); + createEAttribute(eefQuickFixEClass, EEF_QUICK_FIX__MESSAGE_EXPRESSION); + createEAttribute(eefQuickFixEClass, EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION); + createEAttribute(eefQuickFixEClass, EEF_QUICK_FIX__FIX_EXPRESSION); + + eefValidationEClass = createEClass(EEF_VALIDATION); + createEAttribute(eefValidationEClass, EEF_VALIDATION__VALIDATION_EXPRESSION); + createEReference(eefValidationEClass, EEF_VALIDATION__QUICKFIXES); + // Create data types - expressionEDataType = createEDataType(EXPRESSION); typeNameEDataType = createEDataType(TYPE_NAME); } @@ -2976,18 +3176,13 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { setNsURI(eNS_URI); // Obtain other dependent packages - ContextPackage theContextPackage = (ContextPackage) EPackage.Registry.INSTANCE.getEPackage(ContextPackage.eNS_URI); + ExpressionPackage theExpressionPackage = (ExpressionPackage) EPackage.Registry.INSTANCE.getEPackage(ExpressionPackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes - eefViewDescriptionEClass.getESuperTypes().add(this.getContextableElement()); - eefPageDescriptionEClass.getESuperTypes().add(this.getContextableElement()); - eefGroupDescriptionEClass.getESuperTypes().add(this.getContextableElement()); - eefContainerDescriptionEClass.getESuperTypes().add(this.getContextableElement()); - eefWidgetDescriptionEClass.getESuperTypes().add(this.getContextableElement()); eefInterpretedTableStructureDescriptionEClass.getESuperTypes().add(this.getEEFTableStructureDescription()); eefCellWidgetDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); eefAdapterFactoryTreeStructureDescriptionEClass.getESuperTypes().add(this.getEEFTreeStructureDescription()); @@ -3042,8 +3237,13 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { IS_GENERATED_INSTANCE_CLASS); initEAttribute(getEEFViewDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, EEFViewDescription.class, //$NON-NLS-1$ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFViewDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, EEFViewDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFViewDescription_PreconditionExpression(), theExpressionPackage.getExpression(), "preconditionExpression", null, 0, 1, //$NON-NLS-1$ + EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFViewDescription_UserDefinedVariables(), theExpressionPackage.getUserDefinedVariable(), null, "userDefinedVariables", //$NON-NLS-1$ + null, 0, -1, EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFViewDescription_LabelExpression(), theExpressionPackage.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ + EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getEEFViewDescription_EPackageNsUris(), ecorePackage.getEString(), "ePackageNsUris", null, 0, -1, EEFViewDescription.class, //$NON-NLS-1$ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getEEFViewDescription_Groups(), this.getEEFGroupDescription(), null, "groups", null, 0, -1, EEFViewDescription.class, //$NON-NLS-1$ @@ -3070,12 +3270,18 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { IS_GENERATED_INSTANCE_CLASS); initEAttribute(getEEFPageDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, EEFPageDescription.class, //$NON-NLS-1$ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFPageDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, EEFPageDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFPageDescription_PreconditionExpression(), theExpressionPackage.getExpression(), "preconditionExpression", null, 0, 1, //$NON-NLS-1$ + EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFPageDescription_UserDefinedVariables(), theExpressionPackage.getUserDefinedVariable(), null, "userDefinedVariables", //$NON-NLS-1$ + null, 0, -1, EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFPageDescription_LabelExpression(), theExpressionPackage.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ + EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getEEFPageDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, EEFPageDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFPageDescription_SemanticCandidateExpression(), this.getExpression(), "semanticCandidateExpression", "", 0, 1, //$NON-NLS-1$//$NON-NLS-2$ - EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFPageDescription_SemanticCandidateExpression(), theExpressionPackage.getExpression(), "semanticCandidateExpression", "", //$NON-NLS-1$//$NON-NLS-2$ + 0, 1, EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); initEReference(getEEFPageDescription_Groups(), this.getEEFGroupDescription(), null, "groups", null, 0, -1, EEFPageDescription.class, //$NON-NLS-1$ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getEEFPageDescription_ExtendedPage(), this.getEEFPageDescription(), null, "extendedPage", null, 0, 1, EEFPageDescription.class, //$NON-NLS-1$ @@ -3085,28 +3291,41 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { IS_GENERATED_INSTANCE_CLASS); initEAttribute(getEEFGroupDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, EEFGroupDescription.class, //$NON-NLS-1$ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFGroupDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, EEFGroupDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFGroupDescription_PreconditionExpression(), theExpressionPackage.getExpression(), "preconditionExpression", null, 0, 1, //$NON-NLS-1$ + EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFGroupDescription_UserDefinedVariables(), theExpressionPackage.getUserDefinedVariable(), null, "userDefinedVariables", //$NON-NLS-1$ + null, 0, -1, EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFGroupDescription_LabelExpression(), theExpressionPackage.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ + EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getEEFGroupDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, EEFGroupDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFGroupDescription_SemanticCandidateExpression(), this.getExpression(), "semanticCandidateExpression", null, 0, 1, //$NON-NLS-1$ - EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFGroupDescription_SemanticCandidateExpression(), theExpressionPackage.getExpression(), "semanticCandidateExpression", //$NON-NLS-1$ + null, 0, 1, EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); initEReference(getEEFGroupDescription_Container(), this.getEEFContainerDescription(), null, "container", null, 1, 1, //$NON-NLS-1$ EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFGroupDescription_CollapsibleExpression(), this.getExpression(), "collapsibleExpression", null, 0, 1, //$NON-NLS-1$ - EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFGroupDescription_CollapsedByDefaultExpression(), this.getExpression(), "collapsedByDefaultExpression", null, 0, 1, //$NON-NLS-1$ - EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFGroupDescription_ValidationExpression(), this.getExpression(), "validationExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFGroupDescription_CollapsibleExpression(), theExpressionPackage.getExpression(), "collapsibleExpression", null, 0, 1, //$NON-NLS-1$ EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFGroupDescription_CollapsedByDefaultExpression(), theExpressionPackage.getExpression(), "collapsedByDefaultExpression", //$NON-NLS-1$ + null, 0, 1, EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEReference(getEEFGroupDescription_Validation(), this.getEEFValidation(), null, "validation", null, 0, 1, EEFGroupDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefContainerDescriptionEClass, EEFContainerDescription.class, "EEFContainerDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); initEAttribute(getEEFContainerDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, EEFContainerDescription.class, //$NON-NLS-1$ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFContainerDescription_SemanticCandidateExpression(), this.getExpression(), "semanticCandidateExpression", null, 0, 1, //$NON-NLS-1$ - EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + initEAttribute(getEEFContainerDescription_PreconditionExpression(), theExpressionPackage.getExpression(), "preconditionExpression", null, 0, //$NON-NLS-1$ + 1, EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEReference(getEEFContainerDescription_UserDefinedVariables(), theExpressionPackage.getUserDefinedVariable(), null, "userDefinedVariables", //$NON-NLS-1$ + null, 0, -1, EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFContainerDescription_SemanticCandidateExpression(), theExpressionPackage.getExpression(), "semanticCandidateExpression", //$NON-NLS-1$ + null, 0, 1, EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getEEFContainerDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, EEFContainerDescription.class, //$NON-NLS-1$ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -3124,16 +3343,21 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { IS_GENERATED_INSTANCE_CLASS); initEAttribute(getEEFWidgetDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, EEFWidgetDescription.class, //$NON-NLS-1$ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFWidgetDescription_LabelExpression(), this.getExpression(), "labelExpression", null, 0, 1, EEFWidgetDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFWidgetDescription_PreconditionExpression(), theExpressionPackage.getExpression(), "preconditionExpression", null, 0, 1, //$NON-NLS-1$ + EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFWidgetDescription_UserDefinedVariables(), theExpressionPackage.getUserDefinedVariable(), null, "userDefinedVariables", //$NON-NLS-1$ + null, 0, -1, EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFWidgetDescription_LabelExpression(), theExpressionPackage.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ + EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getEEFWidgetDescription_LabelStyle(), this.getEEFLabelStyle(), null, "labelStyle", null, 0, 1, EEFWidgetDescription.class, //$NON-NLS-1$ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFWidgetDescription_TooltipExpression(), this.getExpression(), "tooltipExpression", null, 0, 1, EEFWidgetDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFWidgetDescription_HelpExpression(), this.getExpression(), "helpExpression", null, 0, 1, EEFWidgetDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFWidgetDescription_ValidationExpression(), this.getExpression(), "validationExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFWidgetDescription_TooltipExpression(), theExpressionPackage.getExpression(), "tooltipExpression", null, 0, 1, //$NON-NLS-1$ + EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFWidgetDescription_HelpExpression(), theExpressionPackage.getExpression(), "helpExpression", null, 0, 1, //$NON-NLS-1$ EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFWidgetDescription_Validation(), this.getEEFValidation(), null, "validation", null, 0, 1, EEFWidgetDescription.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefJavaExtensionDescriptionEClass, EEFJavaExtensionDescription.class, "EEFJavaExtensionDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); @@ -3170,30 +3394,30 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { initEClass(eefInterpretedTreeStructureDescriptionEClass, EEFInterpretedTreeStructureDescription.class, "EEFInterpretedTreeStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFInterpretedTreeStructureDescription_RootsExpression(), this.getExpression(), "rootsExpression", null, 0, 1, //$NON-NLS-1$ - EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + initEAttribute(getEEFInterpretedTreeStructureDescription_RootsExpression(), theExpressionPackage.getExpression(), "rootsExpression", null, 0, //$NON-NLS-1$ + 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFInterpretedTreeStructureDescription_ChildrenExpression(), this.getExpression(), "childrenExpression", null, 0, 1, //$NON-NLS-1$ - EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(), this.getExpression(), - "selectablePredicateExpression", null, 0, 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ - !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(), this.getExpression(), "candidateDisplayExpression", //$NON-NLS-1$ + initEAttribute(getEEFInterpretedTreeStructureDescription_ChildrenExpression(), theExpressionPackage.getExpression(), "childrenExpression", //$NON-NLS-1$ null, 0, 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(), theExpressionPackage.getExpression(), + "selectablePredicateExpression", null, 0, 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ + !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(), theExpressionPackage.getExpression(), + "candidateDisplayExpression", null, 0, 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ + !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefTextDescriptionEClass, EEFTextDescription.class, "EEFTextDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFTextDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFTextDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTextDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, EEFTextDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTextDescription_ReadOnlyExpression(), this.getExpression(), "readOnlyExpression", null, 0, 1, EEFTextDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTextDescription_ContentAssistExpression(), this.getExpression(), "contentAssistExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFTextDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTextDescription_EditExpression(), theExpressionPackage.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ + EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTextDescription_ReadOnlyExpression(), theExpressionPackage.getExpression(), "readOnlyExpression", null, 0, 1, //$NON-NLS-1$ EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTextDescription_PlaceholderExpression(), this.getExpression(), "placeholderExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFTextDescription_ContentAssistExpression(), theExpressionPackage.getExpression(), "contentAssistExpression", null, 0, 1, //$NON-NLS-1$ + EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTextDescription_PlaceholderExpression(), theExpressionPackage.getExpression(), "placeholderExpression", null, 0, 1, //$NON-NLS-1$ EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getEEFTextDescription_LineCount(), ecorePackage.getEInt(), "lineCount", "1", 0, 1, EEFTextDescription.class, !IS_TRANSIENT, //$NON-NLS-1$//$NON-NLS-2$ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -3205,45 +3429,47 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { initEClass(eefCheckboxDescriptionEClass, EEFCheckboxDescription.class, "EEFCheckboxDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFCheckboxDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFCheckboxDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFCheckboxDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, EEFCheckboxDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFCheckboxDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFCheckboxDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFCheckboxDescription_EditExpression(), theExpressionPackage.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ + EEFCheckboxDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefSelectDescriptionEClass, EEFSelectDescription.class, "EEFSelectDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFSelectDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFSelectDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFSelectDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, EEFSelectDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFSelectDescription_CandidatesExpression(), this.getExpression(), "candidatesExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFSelectDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFSelectDescription_EditExpression(), theExpressionPackage.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ + EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFSelectDescription_CandidatesExpression(), theExpressionPackage.getExpression(), "candidatesExpression", null, 0, 1, //$NON-NLS-1$ EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getEEFSelectDescription_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, EEFSelectDescription.class, //$NON-NLS-1$ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFSelectDescription_CandidateDisplayExpression(), this.getExpression(), "candidateDisplayExpression", null, 0, 1, //$NON-NLS-1$ - EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFSelectDescription_CandidateDisplayExpression(), theExpressionPackage.getExpression(), "candidateDisplayExpression", null, //$NON-NLS-1$ + 0, 1, EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); initEClass(eefLabelDescriptionEClass, EEFLabelDescription.class, "EEFLabelDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFLabelDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFLabelDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLabelDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFLabelDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefRadioDescriptionEClass, EEFRadioDescription.class, "EEFRadioDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFRadioDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFRadioDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFRadioDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, EEFRadioDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFRadioDescription_CandidatesExpression(), this.getExpression(), "candidatesExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFRadioDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFRadioDescription_CandidateDisplayExpression(), this.getExpression(), "candidateDisplayExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFRadioDescription_EditExpression(), theExpressionPackage.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFRadioDescription_CandidatesExpression(), theExpressionPackage.getExpression(), "candidatesExpression", null, 0, 1, //$NON-NLS-1$ + EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFRadioDescription_CandidateDisplayExpression(), theExpressionPackage.getExpression(), "candidateDisplayExpression", null, //$NON-NLS-1$ + 0, 1, EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); initEClass(eefTreeDialogSelectDescriptionEClass, EEFTreeDialogSelectDescription.class, "EEFTreeDialogSelectDescription", !IS_ABSTRACT, //$NON-NLS-1$ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFTreeDialogSelectDescription_SemanticCandidateExpression(), this.getExpression(), "semanticCandidateExpression", null, 0, //$NON-NLS-1$ - 1, EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); + initEAttribute(getEEFTreeDialogSelectDescription_SemanticCandidateExpression(), theExpressionPackage.getExpression(), + "semanticCandidateExpression", null, 0, 1, EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ + !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getEEFTreeDialogSelectDescription_DefaultFilter(), ecorePackage.getEString(), "defaultFilter", "*", 0, 1, //$NON-NLS-1$//$NON-NLS-2$ EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -3256,42 +3482,42 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { initEClass(eefLinkDescriptionEClass, EEFLinkDescription.class, "EEFLinkDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFLinkDescription_OnClickExpression(), this.getExpression(), "onClickExpression", null, 0, 1, EEFLinkDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLinkDescription_OnClickExpression(), theExpressionPackage.getExpression(), "onClickExpression", null, 0, 1, //$NON-NLS-1$ + EEFLinkDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefImageDescriptionEClass, EEFImageDescription.class, "EEFImageDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFImageDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFImageDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFImageDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFImageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefTreeDescriptionEClass, EEFTreeDescription.class, "EEFTreeDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFTreeDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFTreeDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTreeDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getEEFTreeDescription_TreeStructure(), this.getEEFTreeStructureDescription(), null, "treeStructure", null, 0, 1, //$NON-NLS-1$ EEFTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTreeDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, EEFTreeDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTreeDescription_EditExpression(), theExpressionPackage.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ + EEFTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefImagePickerDescriptionEClass, EEFImagePickerDescription.class, "EEFImagePickerDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFImagePickerDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFImagePickerDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ EEFImagePickerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFImagePickerDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFImagePickerDescription_EditExpression(), theExpressionPackage.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ EEFImagePickerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFImagePickerDescription_CandidatesExpression(), this.getExpression(), "candidatesExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFImagePickerDescription_CandidatesExpression(), theExpressionPackage.getExpression(), "candidatesExpression", null, 0, 1, //$NON-NLS-1$ EEFImagePickerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefTableDescriptionEClass, EEFTableDescription.class, "EEFTableDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFTableDescription_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, EEFTableDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTableDescription_EditExpression(), this.getExpression(), "editExpression", null, 0, 1, EEFTableDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTableDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ + EEFTableDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTableDescription_EditExpression(), theExpressionPackage.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ + EEFTableDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getEEFTableDescription_TableStructure(), this.getEEFTableStructureDescription(), null, "tableStructure", null, 0, 1, //$NON-NLS-1$ EEFTableDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -3300,8 +3526,8 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { IS_GENERATED_INSTANCE_CLASS); initEAttribute(getEEFColumnDescription_Width(), ecorePackage.getEInt(), "width", null, 0, 1, EEFColumnDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFColumnDescription_HeaderExpression(), this.getExpression(), "headerExpression", null, 0, 1, EEFColumnDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFColumnDescription_HeaderExpression(), theExpressionPackage.getExpression(), "headerExpression", null, 0, 1, //$NON-NLS-1$ + EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getEEFColumnDescription_CellWidget(), this.getEEFCellWidgetDescription(), null, "cellWidget", null, 0, 1, //$NON-NLS-1$ EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -3310,8 +3536,9 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { IS_GENERATED_INSTANCE_CLASS); initEAttribute(getEEFLineDescription_HeaderExpression(), ecorePackage.getEString(), "headerExpression", null, 0, 1, EEFLineDescription.class, //$NON-NLS-1$ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFLineDescription_SemanticCandidatesExpression(), this.getExpression(), "semanticCandidatesExpression", null, 0, 1, //$NON-NLS-1$ - EEFLineDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLineDescription_SemanticCandidatesExpression(), theExpressionPackage.getExpression(), "semanticCandidatesExpression", //$NON-NLS-1$ + null, 0, 1, EEFLineDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); initEAttribute(getEEFLineDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, EEFLineDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getEEFLineDescription_SubLines(), this.getEEFLineDescription(), null, "subLines", null, 0, -1, EEFLineDescription.class, //$NON-NLS-1$ @@ -3325,6 +3552,18 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { initEAttribute(getEEFTableStructureDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTableStructureDescription_AddExpression(), theExpressionPackage.getExpression(), "addExpression", null, 0, 1, //$NON-NLS-1$ + EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEAttribute(getEEFTableStructureDescription_RemoveExpression(), theExpressionPackage.getExpression(), "removeExpression", null, 0, 1, //$NON-NLS-1$ + EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEAttribute(getEEFTableStructureDescription_UpExpression(), theExpressionPackage.getExpression(), "upExpression", null, 0, 1, //$NON-NLS-1$ + EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEAttribute(getEEFTableStructureDescription_DownExpression(), theExpressionPackage.getExpression(), "downExpression", null, 0, 1, //$NON-NLS-1$ + EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); initEClass(eefAdapterFactoryTableStructureDescriptionEClass, EEFAdapterFactoryTableStructureDescription.class, "EEFAdapterFactoryTableStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ @@ -3332,28 +3571,20 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { null, 0, 1, EEFAdapterFactoryTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEClass(contextableElementEClass, ContextableElement.class, "ContextableElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getContextableElement_RequiredContextVariables(), theContextPackage.getContextVariable(), null, "requiredContextVariables", //$NON-NLS-1$ - null, 0, -1, ContextableElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getContextableElement_ExcludedContextVariables(), theContextPackage.getContextVariable(), null, "excludedContextVariables", //$NON-NLS-1$ - null, 0, -1, ContextableElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEClass(eefStyleEClass, EEFStyle.class, "EEFStyle", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFStyle_FontExpression(), this.getExpression(), "fontExpression", null, 0, 1, EEFStyle.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ - IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFStyle_FontExpression(), theExpressionPackage.getExpression(), "fontExpression", null, 0, 1, EEFStyle.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefConditionalStyleEClass, EEFConditionalStyle.class, "EEFConditionalStyle", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFConditionalStyle_ConditionalExpression(), this.getExpression(), "conditionalExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFConditionalStyle_ConditionalExpression(), theExpressionPackage.getExpression(), "conditionalExpression", null, 0, 1, //$NON-NLS-1$ EEFConditionalStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefStyleCustomizationEClass, EEFStyleCustomization.class, "EEFStyleCustomization", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); initEClass(eefGroupStyleEClass, EEFGroupStyle.class, "EEFGroupStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFGroupStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFGroupStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ EEFGroupStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefGroupConditionalStyleEClass, EEFGroupConditionalStyle.class, "EEFGroupConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ @@ -3367,10 +3598,10 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefTextStyleEClass, EEFTextStyle.class, "EEFTextStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFTextStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, EEFTextStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTextStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, EEFTextStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTextStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFTextStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFTextStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFTextStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefTextConditionalStyleEClass, EEFTextConditionalStyle.class, "EEFTextConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); @@ -3383,9 +3614,9 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefCheckboxStyleEClass, EEFCheckboxStyle.class, "EEFCheckboxStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFCheckboxStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFCheckboxStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ EEFCheckboxStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFCheckboxStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFCheckboxStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ EEFCheckboxStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefCheckboxConditionalStyleEClass, EEFCheckboxConditionalStyle.class, "EEFCheckboxConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ @@ -3401,9 +3632,9 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefLabelStyleEClass, EEFLabelStyle.class, "EEFLabelStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFLabelStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFLabelStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ EEFLabelStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFLabelStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFLabelStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ EEFLabelStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefLabelConditionalStyleEClass, EEFLabelConditionalStyle.class, "EEFLabelConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ @@ -3417,9 +3648,9 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefRadioStyleEClass, EEFRadioStyle.class, "EEFRadioStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFRadioStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFRadioStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ EEFRadioStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFRadioStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFRadioStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ EEFRadioStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefRadioConditionalStyleEClass, EEFRadioConditionalStyle.class, "EEFRadioConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ @@ -3433,12 +3664,12 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefLinkStyleEClass, EEFLinkStyle.class, "EEFLinkStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFLinkStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, EEFLinkStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFLinkStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, EEFLinkStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFLinkStyle_BackgroundImageExpression(), this.getExpression(), "backgroundImageExpression", null, 0, 1, EEFLinkStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLinkStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFLinkStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLinkStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ + EEFLinkStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLinkStyle_BackgroundImageExpression(), theExpressionPackage.getExpression(), "backgroundImageExpression", null, 0, 1, //$NON-NLS-1$ + EEFLinkStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefLinkConditionalStyleEClass, EEFLinkConditionalStyle.class, "EEFLinkConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); @@ -3451,9 +3682,9 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefSelectStyleEClass, EEFSelectStyle.class, "EEFSelectStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFSelectStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFSelectStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ EEFSelectStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFSelectStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFSelectStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ EEFSelectStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefSelectConditionalStyleEClass, EEFSelectConditionalStyle.class, "EEFSelectConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ @@ -3491,14 +3722,16 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefLineStyleEClass, EEFLineStyle.class, "EEFLineStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFLineStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, EEFLineStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFLineStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, EEFLineStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFLineStyle_HeaderBackgroundColorExpression(), this.getExpression(), "headerBackgroundColorExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFLineStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ EEFLineStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFLineStyle_HeaderForegroundColorExpression(), this.getExpression(), "headerForegroundColorExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFLineStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ EEFLineStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFLineStyle_HeaderBackgroundColorExpression(), theExpressionPackage.getExpression(), "headerBackgroundColorExpression", //$NON-NLS-1$ + null, 0, 1, EEFLineStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEAttribute(getEEFLineStyle_HeaderForegroundColorExpression(), theExpressionPackage.getExpression(), "headerForegroundColorExpression", //$NON-NLS-1$ + null, 0, 1, EEFLineStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); initEClass(eefLineConditionalStyleEClass, EEFLineConditionalStyle.class, "EEFLineConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); @@ -3511,14 +3744,16 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eefColumnStyleEClass, EEFColumnStyle.class, "EEFColumnStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFColumnStyle_BackgroundColorExpression(), this.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFColumnStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFColumnStyle_ForegroundColorExpression(), this.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFColumnStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ EEFColumnStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFColumnStyle_HeaderBackgroundColorExpression(), this.getExpression(), "headerBackgroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFColumnStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFColumnStyle_HeaderForegroundColorExpression(), this.getExpression(), "headerForegroundColorExpression", null, 0, 1, //$NON-NLS-1$ + initEAttribute(getEEFColumnStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ EEFColumnStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFColumnStyle_HeaderBackgroundColorExpression(), theExpressionPackage.getExpression(), "headerBackgroundColorExpression", //$NON-NLS-1$ + null, 0, 1, EEFColumnStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEAttribute(getEEFColumnStyle_HeaderForegroundColorExpression(), theExpressionPackage.getExpression(), "headerForegroundColorExpression", //$NON-NLS-1$ + null, 0, 1, EEFColumnStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); initEClass(eefColumnConditionalStyleEClass, EEFColumnConditionalStyle.class, "EEFColumnConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ IS_GENERATED_INSTANCE_CLASS); @@ -3530,8 +3765,23 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { initEReference(getEEFColumnStyleCustomization_Style(), this.getEEFColumnStyle(), null, "style", null, 0, 1, EEFColumnStyleCustomization.class, //$NON-NLS-1$ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEClass(eefQuickFixEClass, EEFQuickFix.class, "EEFQuickFix", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFQuickFix_TitleExpression(), theExpressionPackage.getExpression(), "titleExpression", null, 0, 1, EEFQuickFix.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFQuickFix_MessageExpression(), theExpressionPackage.getExpression(), "messageExpression", null, 0, 1, EEFQuickFix.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFQuickFix_CanHandleStatusExpression(), theExpressionPackage.getExpression(), "canHandleStatusExpression", null, 0, 1, //$NON-NLS-1$ + EEFQuickFix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEEFQuickFix_FixExpression(), theExpressionPackage.getExpression(), "fixExpression", null, 0, 1, EEFQuickFix.class, //$NON-NLS-1$ + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eefValidationEClass, EEFValidation.class, "EEFValidation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getEEFValidation_ValidationExpression(), theExpressionPackage.getExpression(), "validationExpression", null, 0, 1, //$NON-NLS-1$ + EEFValidation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEEFValidation_Quickfixes(), this.getEEFQuickFix(), null, "quickfixes", null, 0, -1, EEFValidation.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + // Initialize data types - initEDataType(expressionEDataType, String.class, "Expression", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEDataType(typeNameEDataType, String.class, "TypeName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ // Create resource diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java index e0b12d7f8..1491716d4 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java @@ -202,11 +202,6 @@ public class EefAdapterFactory extends AdapterFactoryImpl { return createEEFAdapterFactoryTableStructureDescriptionAdapter(); } - @Override - public Adapter caseContextableElement(ContextableElement object) { - return createContextableElementAdapter(); - } - @Override public Adapter caseEEFStyle(EEFStyle object) { return createEEFStyleAdapter(); @@ -387,6 +382,16 @@ public class EefAdapterFactory extends AdapterFactoryImpl { return createEEFColumnStyleCustomizationAdapter(); } + @Override + public Adapter caseEEFQuickFix(EEFQuickFix object) { + return createEEFQuickFixAdapter(); + } + + @Override + public Adapter caseEEFValidation(EEFValidation object) { + return createEEFValidationAdapter(); + } + @Override public Adapter defaultCase(EObject object) { return createEObjectAdapter(); @@ -770,20 +775,6 @@ public class EefAdapterFactory extends AdapterFactoryImpl { return null; } - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.ContextableElement Contextable Element}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.ContextableElement - * @generated - */ - public Adapter createContextableElementAdapter() { - return null; - } - /** * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFStyle EEF Style}'. * @@ -1288,6 +1279,34 @@ public class EefAdapterFactory extends AdapterFactoryImpl { return null; } + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFQuickFix EEF Quick Fix}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFQuickFix + * @generated + */ + public Adapter createEEFQuickFixAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFValidation EEF Validation}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.eef.EEFValidation + * @generated + */ + public Adapter createEEFValidationAdapter() { + return null; + } + /** * Creates a new adapter for the default case. * diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java index cf175673e..0c998edae 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java @@ -75,8 +75,6 @@ public class EefSwitch extends Switch { case EefPackage.EEF_VIEW_DESCRIPTION: { EEFViewDescription eefViewDescription = (EEFViewDescription) theEObject; T result = caseEEFViewDescription(eefViewDescription); - if (result == null) - result = caseContextableElement(eefViewDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -84,8 +82,6 @@ public class EefSwitch extends Switch { case EefPackage.EEF_PAGE_DESCRIPTION: { EEFPageDescription eefPageDescription = (EEFPageDescription) theEObject; T result = caseEEFPageDescription(eefPageDescription); - if (result == null) - result = caseContextableElement(eefPageDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -93,8 +89,6 @@ public class EefSwitch extends Switch { case EefPackage.EEF_GROUP_DESCRIPTION: { EEFGroupDescription eefGroupDescription = (EEFGroupDescription) theEObject; T result = caseEEFGroupDescription(eefGroupDescription); - if (result == null) - result = caseContextableElement(eefGroupDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -102,8 +96,6 @@ public class EefSwitch extends Switch { case EefPackage.EEF_CONTAINER_DESCRIPTION: { EEFContainerDescription eefContainerDescription = (EEFContainerDescription) theEObject; T result = caseEEFContainerDescription(eefContainerDescription); - if (result == null) - result = caseContextableElement(eefContainerDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -111,8 +103,6 @@ public class EefSwitch extends Switch { case EefPackage.EEF_WIDGET_DESCRIPTION: { EEFWidgetDescription eefWidgetDescription = (EEFWidgetDescription) theEObject; T result = caseEEFWidgetDescription(eefWidgetDescription); - if (result == null) - result = caseContextableElement(eefWidgetDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -145,8 +135,6 @@ public class EefSwitch extends Switch { T result = caseEEFCellWidgetDescription(eefCellWidgetDescription); if (result == null) result = caseEEFWidgetDescription(eefCellWidgetDescription); - if (result == null) - result = caseContextableElement(eefCellWidgetDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -176,8 +164,6 @@ public class EefSwitch extends Switch { result = caseEEFCellWidgetDescription(eefTextDescription); if (result == null) result = caseEEFWidgetDescription(eefTextDescription); - if (result == null) - result = caseContextableElement(eefTextDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -189,8 +175,6 @@ public class EefSwitch extends Switch { result = caseEEFCellWidgetDescription(eefCheckboxDescription); if (result == null) result = caseEEFWidgetDescription(eefCheckboxDescription); - if (result == null) - result = caseContextableElement(eefCheckboxDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -202,8 +186,6 @@ public class EefSwitch extends Switch { result = caseEEFCellWidgetDescription(eefSelectDescription); if (result == null) result = caseEEFWidgetDescription(eefSelectDescription); - if (result == null) - result = caseContextableElement(eefSelectDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -215,8 +197,6 @@ public class EefSwitch extends Switch { result = caseEEFCellWidgetDescription(eefLabelDescription); if (result == null) result = caseEEFWidgetDescription(eefLabelDescription); - if (result == null) - result = caseContextableElement(eefLabelDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -226,8 +206,6 @@ public class EefSwitch extends Switch { T result = caseEEFRadioDescription(eefRadioDescription); if (result == null) result = caseEEFWidgetDescription(eefRadioDescription); - if (result == null) - result = caseContextableElement(eefRadioDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -239,8 +217,6 @@ public class EefSwitch extends Switch { result = caseEEFCellWidgetDescription(eefTreeDialogSelectDescription); if (result == null) result = caseEEFWidgetDescription(eefTreeDialogSelectDescription); - if (result == null) - result = caseContextableElement(eefTreeDialogSelectDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -252,8 +228,6 @@ public class EefSwitch extends Switch { result = caseEEFCellWidgetDescription(eefLinkDescription); if (result == null) result = caseEEFWidgetDescription(eefLinkDescription); - if (result == null) - result = caseContextableElement(eefLinkDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -265,8 +239,6 @@ public class EefSwitch extends Switch { result = caseEEFCellWidgetDescription(eefImageDescription); if (result == null) result = caseEEFWidgetDescription(eefImageDescription); - if (result == null) - result = caseContextableElement(eefImageDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -278,8 +250,6 @@ public class EefSwitch extends Switch { result = caseEEFCellWidgetDescription(eefTreeDescription); if (result == null) result = caseEEFWidgetDescription(eefTreeDescription); - if (result == null) - result = caseContextableElement(eefTreeDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -289,8 +259,6 @@ public class EefSwitch extends Switch { T result = caseEEFImagePickerDescription(eefImagePickerDescription); if (result == null) result = caseEEFWidgetDescription(eefImagePickerDescription); - if (result == null) - result = caseContextableElement(eefImagePickerDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -300,8 +268,6 @@ public class EefSwitch extends Switch { T result = caseEEFTableDescription(eefTableDescription); if (result == null) result = caseEEFWidgetDescription(eefTableDescription); - if (result == null) - result = caseContextableElement(eefTableDescription); if (result == null) result = defaultCase(theEObject); return result; @@ -336,13 +302,6 @@ public class EefSwitch extends Switch { result = defaultCase(theEObject); return result; } - case EefPackage.CONTEXTABLE_ELEMENT: { - ContextableElement contextableElement = (ContextableElement) theEObject; - T result = caseContextableElement(contextableElement); - if (result == null) - result = defaultCase(theEObject); - return result; - } case EefPackage.EEF_STYLE: { EEFStyle eefStyle = (EEFStyle) theEObject; T result = caseEEFStyle(eefStyle); @@ -659,6 +618,20 @@ public class EefSwitch extends Switch { result = defaultCase(theEObject); return result; } + case EefPackage.EEF_QUICK_FIX: { + EEFQuickFix eefQuickFix = (EEFQuickFix) theEObject; + T result = caseEEFQuickFix(eefQuickFix); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case EefPackage.EEF_VALIDATION: { + EEFValidation eefValidation = (EEFValidation) theEObject; + T result = caseEEFValidation(eefValidation); + if (result == null) + result = defaultCase(theEObject); + return result; + } default: return defaultCase(theEObject); } @@ -1054,21 +1027,6 @@ public class EefSwitch extends Switch { return null; } - /** - * Returns the result of interpreting the object as an instance of 'Contextable Element'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Contextable Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseContextableElement(ContextableElement object) { - return null; - } - /** * Returns the result of interpreting the object as an instance of 'EEF Style'. * @@ -1609,6 +1567,36 @@ public class EefSwitch extends Switch { return null; } + /** + * Returns the result of interpreting the object as an instance of 'EEF Quick Fix'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Quick Fix'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFQuickFix(EEFQuickFix object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EEF Validation'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EEF Validation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEEFValidation(EEFValidation object) { + return null; + } + /** * Returns the result of interpreting the object as an instance of 'EObject'. * diff --git a/plugins/org.eclipse.sirius.context.edit/.checkstyle b/plugins/org.eclipse.sirius.context.edit/.checkstyle deleted file mode 100644 index f1a81eec7..000000000 --- a/plugins/org.eclipse.sirius.context.edit/.checkstyle +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.context.edit/.classpath b/plugins/org.eclipse.sirius.context.edit/.classpath deleted file mode 100644 index 6292ea58a..000000000 --- a/plugins/org.eclipse.sirius.context.edit/.classpath +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.context.edit/.project b/plugins/org.eclipse.sirius.context.edit/.project deleted file mode 100644 index 3b8694e27..000000000 --- a/plugins/org.eclipse.sirius.context.edit/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.eclipse.sirius.context.edit - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - net.sf.eclipsecs.core.CheckstyleBuilder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - net.sf.eclipsecs.core.CheckstyleNature - - diff --git a/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index fb8257839..000000000 --- a/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,398 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.builder.cleanOutputFolder=clean -org.eclipse.jdt.core.builder.duplicateResourceTask=warning -org.eclipse.jdt.core.builder.invalidClasspath=abort -org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore -org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= -org.eclipse.jdt.core.circularClasspath=error -org.eclipse.jdt.core.classpath.exclusionPatterns=enabled -org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled -org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error -org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled -org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore -org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull -org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault -org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable -org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore -org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning -org.eclipse.jdt.core.compiler.problem.deadCode=warning -org.eclipse.jdt.core.compiler.problem.deprecation=warning -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled -org.eclipse.jdt.core.compiler.problem.discouragedReference=warning -org.eclipse.jdt.core.compiler.problem.emptyStatement=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore -org.eclipse.jdt.core.compiler.problem.fallthroughCase=error -org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled -org.eclipse.jdt.core.compiler.problem.fieldHiding=warning -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning -org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore -org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning -org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled -org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning -org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error -org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning -org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error -org.eclipse.jdt.core.compiler.problem.nullReference=warning -org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error -org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning -org.eclipse.jdt.core.compiler.problem.parameterAssignment=error -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning -org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning -org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning -org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning -org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning -org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore -org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning -org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore -org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning -org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled -org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning -org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning -org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled -org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning -org.eclipse.jdt.core.compiler.problem.unusedImport=warning -org.eclipse.jdt.core.compiler.problem.unusedLabel=warning -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning -org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning -org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.6 -org.eclipse.jdt.core.formatter.align_type_members_on_columns=false -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_assignment=0 -org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 -org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 -org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 -org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 -org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 -org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 -org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 -org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_after_package=1 -org.eclipse.jdt.core.formatter.blank_lines_before_field=0 -org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 -org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 -org.eclipse.jdt.core.formatter.blank_lines_before_method=1 -org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 -org.eclipse.jdt.core.formatter.blank_lines_before_package=0 -org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 -org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 -org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false -org.eclipse.jdt.core.formatter.comment.format_block_comments=true -org.eclipse.jdt.core.formatter.comment.format_header=false -org.eclipse.jdt.core.formatter.comment.format_html=true -org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true -org.eclipse.jdt.core.formatter.comment.format_line_comments=true -org.eclipse.jdt.core.formatter.comment.format_source_code=true -org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true -org.eclipse.jdt.core.formatter.comment.indent_root_tags=true -org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert -org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert -org.eclipse.jdt.core.formatter.comment.line_length=120 -org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true -org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true -org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false -org.eclipse.jdt.core.formatter.compact_else_if=true -org.eclipse.jdt.core.formatter.continuation_indentation=2 -org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 -org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off -org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true -org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_empty_lines=false -org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true -org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false -org.eclipse.jdt.core.formatter.indentation.size=4 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert -org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert -org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert -org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.join_lines_in_comments=true -org.eclipse.jdt.core.formatter.join_wrapped_lines=true -org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false -org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false -org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false -org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false -org.eclipse.jdt.core.formatter.lineSplit=150 -org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false -org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false -org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 -org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true -org.eclipse.jdt.core.formatter.tabulation.char=tab -org.eclipse.jdt.core.formatter.tabulation.size=4 -org.eclipse.jdt.core.formatter.use_on_off_tags=true -org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false -org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true -org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true -org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true -org.eclipse.jdt.core.incompatibleJDKLevel=ignore -org.eclipse.jdt.core.incompleteClasspath=error -org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.launching.prefs deleted file mode 100644 index 3bb235278..000000000 --- a/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.launching.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index e6ceed5c2..000000000 --- a/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,67 +0,0 @@ -eclipse.preferences.version=1 -editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true -formatter_settings_version=12 -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=com;java;javax;org; -org.eclipse.jdt.ui.javadoc=true -org.eclipse.jdt.ui.ondemandthreshold=99 -org.eclipse.jdt.ui.staticondemandthreshold=99 -org.eclipse.jdt.ui.text.custom_code_templates= -sp_cleanup.add_default_serial_version_id=false -sp_cleanup.add_generated_serial_version_id=false -sp_cleanup.add_missing_annotations=true -sp_cleanup.add_missing_deprecated_annotations=true -sp_cleanup.add_missing_methods=false -sp_cleanup.add_missing_nls_tags=false -sp_cleanup.add_missing_override_annotations=true -sp_cleanup.add_missing_override_annotations_interface_methods=true -sp_cleanup.add_serial_version_id=false -sp_cleanup.always_use_blocks=false -sp_cleanup.always_use_parentheses_in_expressions=false -sp_cleanup.always_use_this_for_non_static_field_access=false -sp_cleanup.always_use_this_for_non_static_method_access=false -sp_cleanup.convert_functional_interfaces=false -sp_cleanup.convert_to_enhanced_for_loop=false -sp_cleanup.correct_indentation=true -sp_cleanup.format_source_code=true -sp_cleanup.format_source_code_changes_only=false -sp_cleanup.insert_inferred_type_arguments=false -sp_cleanup.make_local_variable_final=false -sp_cleanup.make_parameters_final=false -sp_cleanup.make_private_fields_final=false -sp_cleanup.make_type_abstract_if_missing_method=false -sp_cleanup.make_variable_declarations_final=false -sp_cleanup.never_use_blocks=false -sp_cleanup.never_use_parentheses_in_expressions=false -sp_cleanup.on_save_use_additional_actions=true -sp_cleanup.organize_imports=true -sp_cleanup.qualify_static_field_accesses_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_with_declaring_class=false -sp_cleanup.qualify_static_method_accesses_with_declaring_class=false -sp_cleanup.remove_private_constructors=false -sp_cleanup.remove_redundant_type_arguments=false -sp_cleanup.remove_trailing_whitespaces=true -sp_cleanup.remove_trailing_whitespaces_all=true -sp_cleanup.remove_trailing_whitespaces_ignore_empty=false -sp_cleanup.remove_unnecessary_casts=true -sp_cleanup.remove_unnecessary_nls_tags=true -sp_cleanup.remove_unused_imports=true -sp_cleanup.remove_unused_local_variables=false -sp_cleanup.remove_unused_private_fields=false -sp_cleanup.remove_unused_private_members=false -sp_cleanup.remove_unused_private_methods=false -sp_cleanup.remove_unused_private_types=false -sp_cleanup.sort_members=false -sp_cleanup.sort_members_all=false -sp_cleanup.use_anonymous_class_creation=false -sp_cleanup.use_blocks=false -sp_cleanup.use_blocks_only_for_return_and_throw=false -sp_cleanup.use_lambda=false -sp_cleanup.use_parentheses_in_expressions=false -sp_cleanup.use_this_for_non_static_field_access=false -sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false -sp_cleanup.use_this_for_non_static_method_access=false -sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false -sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.pde.prefs deleted file mode 100644 index 3112e810d..000000000 --- a/plugins/org.eclipse.sirius.context.edit/.settings/org.eclipse.pde.prefs +++ /dev/null @@ -1,32 +0,0 @@ -compilers.f.unresolved-features=1 -compilers.f.unresolved-plugins=1 -compilers.incompatible-environment=1 -compilers.p.build=1 -compilers.p.build.bin.includes=1 -compilers.p.build.encodings=1 -compilers.p.build.java.compiler=1 -compilers.p.build.java.compliance=1 -compilers.p.build.missing.output=2 -compilers.p.build.output.library=1 -compilers.p.build.source.library=1 -compilers.p.build.src.includes=1 -compilers.p.deprecated=1 -compilers.p.discouraged-class=1 -compilers.p.internal=1 -compilers.p.missing-packages=1 -compilers.p.missing-version-export-package=0 -compilers.p.missing-version-import-package=0 -compilers.p.missing-version-require-bundle=0 -compilers.p.no-required-att=0 -compilers.p.not-externalized-att=0 -compilers.p.unknown-attribute=1 -compilers.p.unknown-class=1 -compilers.p.unknown-element=1 -compilers.p.unknown-identifier=1 -compilers.p.unknown-resource=1 -compilers.p.unresolved-ex-points=0 -compilers.p.unresolved-import=0 -compilers.s.create-docs=false -compilers.s.doc-folder=doc -compilers.s.open-tags=1 -eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.sirius.context.edit/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.context.edit/META-INF/MANIFEST.MF deleted file mode 100644 index 4bae6727a..000000000 --- a/plugins/org.eclipse.sirius.context.edit/META-INF/MANIFEST.MF +++ /dev/null @@ -1,15 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.sirius.context.edit;singleton:=true -Bundle-Version: 1.0.0.qualifier -Bundle-ClassPath: . -Bundle-Activator: org.eclipse.sirius.context.provider.ContextEditPlugin$Implementation -Bundle-Vendor: %providerName -Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Export-Package: org.eclipse.sirius.context.provider;version="1.0.0" -Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", - org.eclipse.sirius.context;bundle-version="[1.0.0,2.0.0)", - org.eclipse.emf.edit;bundle-version="[2.8.0,3.0.0)" -Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.context.edit/about.html b/plugins/org.eclipse.sirius.context.edit/about.html deleted file mode 100644 index f3a55ce5f..000000000 --- a/plugins/org.eclipse.sirius.context.edit/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

                About This Content

                - -

                June 15, 2010

                -

                License

                - -

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

                - -

                If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

                - - - \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.context.edit/build.properties b/plugins/org.eclipse.sirius.context.edit/build.properties deleted file mode 100644 index 0b892ee53..000000000 --- a/plugins/org.eclipse.sirius.context.edit/build.properties +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm - -bin.includes = .,\ - icons/,\ - META-INF/,\ - plugin.xml,\ - plugin.properties,\ - about.html -jars.compile.order = . -source.. = src-gen/ -output.. = bin/ -javacProjectSettings = true diff --git a/plugins/org.eclipse.sirius.context.edit/icons/full/obj16/Context.gif b/plugins/org.eclipse.sirius.context.edit/icons/full/obj16/Context.gif deleted file mode 100644 index badaab066..000000000 Binary files a/plugins/org.eclipse.sirius.context.edit/icons/full/obj16/Context.gif and /dev/null differ diff --git a/plugins/org.eclipse.sirius.context.edit/icons/full/obj16/ContextVariable.gif b/plugins/org.eclipse.sirius.context.edit/icons/full/obj16/ContextVariable.gif deleted file mode 100644 index be22463d2..000000000 Binary files a/plugins/org.eclipse.sirius.context.edit/icons/full/obj16/ContextVariable.gif and /dev/null differ diff --git a/plugins/org.eclipse.sirius.context.edit/plugin.properties b/plugins/org.eclipse.sirius.context.edit/plugin.properties deleted file mode 100644 index 2cfc73ccf..000000000 --- a/plugins/org.eclipse.sirius.context.edit/plugin.properties +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm - -pluginName = Sirius Context Edit Support -providerName = Eclipse Modeling Project - -_UI_CreateChild_text = {0} -_UI_CreateChild_text2 = {1} {0} -_UI_CreateChild_text3 = {1} -_UI_CreateChild_tooltip = Create New {0} Under {1} Feature -_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. -_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. - -_UI_PropertyDescriptor_description = The {0} of the {1} - -_UI_Context_type = Context -_UI_ContextVariable_type = Variable -_UI_Unknown_type = Object - -_UI_Unknown_datatype= Value - -_UI_ContextVariable_context_feature = Context -_UI_ContextVariable_name_feature = Name -_UI_ContextVariable_documentation_feature = Documentation -_UI_Unknown_feature = Unspecified - diff --git a/plugins/org.eclipse.sirius.context.edit/plugin.xml b/plugins/org.eclipse.sirius.context.edit/plugin.xml deleted file mode 100644 index f5888c115..000000000 --- a/plugins/org.eclipse.sirius.context.edit/plugin.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextEditPlugin.java b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextEditPlugin.java deleted file mode 100644 index 6edd2423f..000000000 --- a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextEditPlugin.java +++ /dev/null @@ -1,92 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.provider; - -import org.eclipse.emf.common.EMFPlugin; - -import org.eclipse.emf.common.util.ResourceLocator; - -/** - * This is the central singleton for the Context edit plugin. - * - * - * @generated - */ -public final class ContextEditPlugin extends EMFPlugin { - /** - * Keep track of the singleton. - * - * - * @generated - */ - public static final ContextEditPlugin INSTANCE = new ContextEditPlugin(); - - /** - * Keep track of the singleton. - * - * - * @generated - */ - private static Implementation plugin; - - /** - * Create the instance. - * - * - * @generated - */ - public ContextEditPlugin() { - super(new ResourceLocator[] {}); - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * - * @return the singleton instance. - * @generated - */ - @Override - public ResourceLocator getPluginResourceLocator() { - return plugin; - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * - * @return the singleton instance. - * @generated - */ - public static Implementation getPlugin() { - return plugin; - } - - /** - * The actual implementation of the Eclipse Plugin. - * - * - * @generated - */ - public static class Implementation extends EclipsePlugin { - /** - * Creates an instance. - * - * - * @generated - */ - public Implementation() { - super(); - - // Remember the static instance. - // - plugin = this; - } - } - -} diff --git a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProvider.java b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProvider.java deleted file mode 100644 index cd4a977c9..000000000 --- a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProvider.java +++ /dev/null @@ -1,127 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -/** - * This is the item provider adapter for a {@link org.eclipse.sirius.context.Context} object. - * - * - * @generated - */ -public class ContextItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, - IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public ContextItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns Context.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Context")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Context_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ContextEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProviderAdapterFactory.java b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProviderAdapterFactory.java deleted file mode 100644 index 8c7b46e1e..000000000 --- a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextItemProviderAdapterFactory.java +++ /dev/null @@ -1,237 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.provider; - -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.edit.provider.ChangeNotifier; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.ComposedAdapterFactory; -import org.eclipse.emf.edit.provider.IChangeNotifier; -import org.eclipse.emf.edit.provider.IDisposable; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.INotifyChangedListener; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; - -import org.eclipse.sirius.context.util.ContextAdapterFactory; - -/** - * This is the factory that is used to provide the interfaces needed to support Viewers. - * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. - * The adapters also support Eclipse property sheets. - * Note that most of the adapters are shared among multiple instances. - * - * - * @generated - */ -public class ContextItemProviderAdapterFactory extends ContextAdapterFactory - implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { - /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * - * - * @generated - */ - protected ComposedAdapterFactory parentAdapterFactory; - - /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * - * - * @generated - */ - protected IChangeNotifier changeNotifier = new ChangeNotifier(); - - /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * - * - * @generated - */ - protected Collection supportedTypes = new ArrayList(); - - /** - * This constructs an instance. - * - * - * @generated - */ - public ContextItemProviderAdapterFactory() { - supportedTypes.add(IEditingDomainItemProvider.class); - supportedTypes.add(IStructuredItemContentProvider.class); - supportedTypes.add(ITreeItemContentProvider.class); - supportedTypes.add(IItemLabelProvider.class); - supportedTypes.add(IItemPropertySource.class); - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.context.Context} instances. - * - * - * @generated - */ - protected ContextItemProvider contextItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.sirius.context.Context}. - * - * - * @generated - */ - @Override - public Adapter createContextAdapter() { - if (contextItemProvider == null) { - contextItemProvider = new ContextItemProvider(this); - } - - return contextItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.context.ContextVariable} instances. - * - * - * @generated - */ - protected ContextVariableItemProvider contextVariableItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.sirius.context.ContextVariable}. - * - * - * @generated - */ - @Override - public Adapter createContextVariableAdapter() { - if (contextVariableItemProvider == null) { - contextVariableItemProvider = new ContextVariableItemProvider(this); - } - - return contextVariableItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * - * - * @generated - */ - @Override - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * - * - * @generated - */ - @Override - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * - * - * @generated - */ - @Override - public boolean isFactoryForType(Object type) { - return supportedTypes.contains(type) || super.isFactoryForType(type); - } - - /** - * This implementation substitutes the factory itself as the key for the adapter. - * - * - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * - * - * @generated - */ - @Override - public Object adapt(Object object, Object type) { - if (isFactoryForType(type)) { - Object adapter = super.adapt(object, type); - if (!(type instanceof Class) || (((Class) type).isInstance(adapter))) { - return adapter; - } - } - - return null; - } - - /** - * This adds a listener. - * - * - * @generated - */ - @Override - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * - * - * @generated - */ - @Override - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * - * - * @generated - */ - @Override - public void fireNotifyChanged(Notification notification) { - changeNotifier.fireNotifyChanged(notification); - - if (parentAdapterFactory != null) { - parentAdapterFactory.fireNotifyChanged(notification); - } - } - - /** - * This disposes all of the item providers created by this factory. - * - * - * @generated - */ - @Override - public void dispose() { - if (contextItemProvider != null) - contextItemProvider.dispose(); - if (contextVariableItemProvider != null) - contextVariableItemProvider.dispose(); - } - -} diff --git a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextVariableItemProvider.java b/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextVariableItemProvider.java deleted file mode 100644 index 4dc25db2b..000000000 --- a/plugins/org.eclipse.sirius.context.edit/src-gen/org/eclipse/sirius/context/provider/ContextVariableItemProvider.java +++ /dev/null @@ -1,193 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.sirius.context.ContextPackage; -import org.eclipse.sirius.context.ContextVariable; - -/** - * This is the item provider adapter for a {@link org.eclipse.sirius.context.ContextVariable} object. - * - * - * @generated - */ -public class ContextVariableItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, - IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public ContextVariableItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addContextPropertyDescriptor(object); - addNamePropertyDescriptor(object); - addDocumentationPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Context feature. - * - * - * @generated - */ - protected void addContextPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_ContextVariable_context_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ContextVariable_context_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_ContextVariable_type"), //$NON-NLS-1$ - ContextPackage.Literals.CONTEXT_VARIABLE__CONTEXT, true, false, true, null, null, null)); - } - - /** - * This adds a property descriptor for the Name feature. - * - * - * @generated - */ - protected void addNamePropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_ContextVariable_name_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ContextVariable_name_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_ContextVariable_type"), //$NON-NLS-1$ - ContextPackage.Literals.CONTEXT_VARIABLE__NAME, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Documentation feature. - * - * - * @generated - */ - protected void addDocumentationPropertyDescriptor(Object object) { - itemPropertyDescriptors - .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_ContextVariable_documentation_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ContextVariable_documentation_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_ContextVariable_type"), //$NON-NLS-1$ - ContextPackage.Literals.CONTEXT_VARIABLE__DOCUMENTATION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns ContextVariable.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ContextVariable")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((ContextVariable) object).getName(); - return label == null || label.length() == 0 ? getString("_UI_ContextVariable_type") //$NON-NLS-1$ - : - getString("_UI_ContextVariable_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(ContextVariable.class)) { - case ContextPackage.CONTEXT_VARIABLE__NAME: - case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ContextEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.sirius.context/.checkstyle b/plugins/org.eclipse.sirius.context/.checkstyle deleted file mode 100644 index f1a81eec7..000000000 --- a/plugins/org.eclipse.sirius.context/.checkstyle +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.context/.classpath b/plugins/org.eclipse.sirius.context/.classpath deleted file mode 100644 index 6292ea58a..000000000 --- a/plugins/org.eclipse.sirius.context/.classpath +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.context/.project b/plugins/org.eclipse.sirius.context/.project deleted file mode 100644 index 0128a779d..000000000 --- a/plugins/org.eclipse.sirius.context/.project +++ /dev/null @@ -1,35 +0,0 @@ - - - org.eclipse.sirius.context - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - net.sf.eclipsecs.core.CheckstyleBuilder - - - - - - org.eclipse.sirius.nature.modelingproject - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - net.sf.eclipsecs.core.CheckstyleNature - - diff --git a/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index fb8257839..000000000 --- a/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,398 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.builder.cleanOutputFolder=clean -org.eclipse.jdt.core.builder.duplicateResourceTask=warning -org.eclipse.jdt.core.builder.invalidClasspath=abort -org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore -org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= -org.eclipse.jdt.core.circularClasspath=error -org.eclipse.jdt.core.classpath.exclusionPatterns=enabled -org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled -org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error -org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled -org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore -org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull -org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault -org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable -org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore -org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning -org.eclipse.jdt.core.compiler.problem.deadCode=warning -org.eclipse.jdt.core.compiler.problem.deprecation=warning -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled -org.eclipse.jdt.core.compiler.problem.discouragedReference=warning -org.eclipse.jdt.core.compiler.problem.emptyStatement=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore -org.eclipse.jdt.core.compiler.problem.fallthroughCase=error -org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled -org.eclipse.jdt.core.compiler.problem.fieldHiding=warning -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning -org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore -org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning -org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled -org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning -org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error -org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning -org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error -org.eclipse.jdt.core.compiler.problem.nullReference=warning -org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error -org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning -org.eclipse.jdt.core.compiler.problem.parameterAssignment=error -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning -org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning -org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning -org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning -org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning -org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore -org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning -org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore -org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning -org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled -org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning -org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning -org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled -org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning -org.eclipse.jdt.core.compiler.problem.unusedImport=warning -org.eclipse.jdt.core.compiler.problem.unusedLabel=warning -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning -org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning -org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.6 -org.eclipse.jdt.core.formatter.align_type_members_on_columns=false -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_assignment=0 -org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 -org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 -org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 -org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 -org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 -org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 -org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 -org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_after_package=1 -org.eclipse.jdt.core.formatter.blank_lines_before_field=0 -org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 -org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 -org.eclipse.jdt.core.formatter.blank_lines_before_method=1 -org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 -org.eclipse.jdt.core.formatter.blank_lines_before_package=0 -org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 -org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 -org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false -org.eclipse.jdt.core.formatter.comment.format_block_comments=true -org.eclipse.jdt.core.formatter.comment.format_header=false -org.eclipse.jdt.core.formatter.comment.format_html=true -org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true -org.eclipse.jdt.core.formatter.comment.format_line_comments=true -org.eclipse.jdt.core.formatter.comment.format_source_code=true -org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true -org.eclipse.jdt.core.formatter.comment.indent_root_tags=true -org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert -org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert -org.eclipse.jdt.core.formatter.comment.line_length=120 -org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true -org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true -org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false -org.eclipse.jdt.core.formatter.compact_else_if=true -org.eclipse.jdt.core.formatter.continuation_indentation=2 -org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 -org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off -org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true -org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_empty_lines=false -org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true -org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false -org.eclipse.jdt.core.formatter.indentation.size=4 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert -org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert -org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert -org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.join_lines_in_comments=true -org.eclipse.jdt.core.formatter.join_wrapped_lines=true -org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false -org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false -org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false -org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false -org.eclipse.jdt.core.formatter.lineSplit=150 -org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false -org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false -org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 -org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true -org.eclipse.jdt.core.formatter.tabulation.char=tab -org.eclipse.jdt.core.formatter.tabulation.size=4 -org.eclipse.jdt.core.formatter.use_on_off_tags=true -org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false -org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true -org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true -org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true -org.eclipse.jdt.core.incompatibleJDKLevel=ignore -org.eclipse.jdt.core.incompleteClasspath=error -org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.launching.prefs deleted file mode 100644 index 3bb235278..000000000 --- a/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.launching.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index e6ceed5c2..000000000 --- a/plugins/org.eclipse.sirius.context/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,67 +0,0 @@ -eclipse.preferences.version=1 -editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true -formatter_settings_version=12 -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=com;java;javax;org; -org.eclipse.jdt.ui.javadoc=true -org.eclipse.jdt.ui.ondemandthreshold=99 -org.eclipse.jdt.ui.staticondemandthreshold=99 -org.eclipse.jdt.ui.text.custom_code_templates= -sp_cleanup.add_default_serial_version_id=false -sp_cleanup.add_generated_serial_version_id=false -sp_cleanup.add_missing_annotations=true -sp_cleanup.add_missing_deprecated_annotations=true -sp_cleanup.add_missing_methods=false -sp_cleanup.add_missing_nls_tags=false -sp_cleanup.add_missing_override_annotations=true -sp_cleanup.add_missing_override_annotations_interface_methods=true -sp_cleanup.add_serial_version_id=false -sp_cleanup.always_use_blocks=false -sp_cleanup.always_use_parentheses_in_expressions=false -sp_cleanup.always_use_this_for_non_static_field_access=false -sp_cleanup.always_use_this_for_non_static_method_access=false -sp_cleanup.convert_functional_interfaces=false -sp_cleanup.convert_to_enhanced_for_loop=false -sp_cleanup.correct_indentation=true -sp_cleanup.format_source_code=true -sp_cleanup.format_source_code_changes_only=false -sp_cleanup.insert_inferred_type_arguments=false -sp_cleanup.make_local_variable_final=false -sp_cleanup.make_parameters_final=false -sp_cleanup.make_private_fields_final=false -sp_cleanup.make_type_abstract_if_missing_method=false -sp_cleanup.make_variable_declarations_final=false -sp_cleanup.never_use_blocks=false -sp_cleanup.never_use_parentheses_in_expressions=false -sp_cleanup.on_save_use_additional_actions=true -sp_cleanup.organize_imports=true -sp_cleanup.qualify_static_field_accesses_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_with_declaring_class=false -sp_cleanup.qualify_static_method_accesses_with_declaring_class=false -sp_cleanup.remove_private_constructors=false -sp_cleanup.remove_redundant_type_arguments=false -sp_cleanup.remove_trailing_whitespaces=true -sp_cleanup.remove_trailing_whitespaces_all=true -sp_cleanup.remove_trailing_whitespaces_ignore_empty=false -sp_cleanup.remove_unnecessary_casts=true -sp_cleanup.remove_unnecessary_nls_tags=true -sp_cleanup.remove_unused_imports=true -sp_cleanup.remove_unused_local_variables=false -sp_cleanup.remove_unused_private_fields=false -sp_cleanup.remove_unused_private_members=false -sp_cleanup.remove_unused_private_methods=false -sp_cleanup.remove_unused_private_types=false -sp_cleanup.sort_members=false -sp_cleanup.sort_members_all=false -sp_cleanup.use_anonymous_class_creation=false -sp_cleanup.use_blocks=false -sp_cleanup.use_blocks_only_for_return_and_throw=false -sp_cleanup.use_lambda=false -sp_cleanup.use_parentheses_in_expressions=false -sp_cleanup.use_this_for_non_static_field_access=false -sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false -sp_cleanup.use_this_for_non_static_method_access=false -sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false -sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.sirius.context/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.sirius.context/.settings/org.eclipse.pde.prefs deleted file mode 100644 index 3112e810d..000000000 --- a/plugins/org.eclipse.sirius.context/.settings/org.eclipse.pde.prefs +++ /dev/null @@ -1,32 +0,0 @@ -compilers.f.unresolved-features=1 -compilers.f.unresolved-plugins=1 -compilers.incompatible-environment=1 -compilers.p.build=1 -compilers.p.build.bin.includes=1 -compilers.p.build.encodings=1 -compilers.p.build.java.compiler=1 -compilers.p.build.java.compliance=1 -compilers.p.build.missing.output=2 -compilers.p.build.output.library=1 -compilers.p.build.source.library=1 -compilers.p.build.src.includes=1 -compilers.p.deprecated=1 -compilers.p.discouraged-class=1 -compilers.p.internal=1 -compilers.p.missing-packages=1 -compilers.p.missing-version-export-package=0 -compilers.p.missing-version-import-package=0 -compilers.p.missing-version-require-bundle=0 -compilers.p.no-required-att=0 -compilers.p.not-externalized-att=0 -compilers.p.unknown-attribute=1 -compilers.p.unknown-class=1 -compilers.p.unknown-element=1 -compilers.p.unknown-identifier=1 -compilers.p.unknown-resource=1 -compilers.p.unresolved-ex-points=0 -compilers.p.unresolved-import=0 -compilers.s.create-docs=false -compilers.s.doc-folder=doc -compilers.s.open-tags=1 -eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.sirius.context/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.context/META-INF/MANIFEST.MF deleted file mode 100644 index f7132a99c..000000000 --- a/plugins/org.eclipse.sirius.context/META-INF/MANIFEST.MF +++ /dev/null @@ -1,14 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.sirius.context;singleton:=true -Bundle-Version: 1.0.0.qualifier -Bundle-ClassPath: . -Bundle-Vendor: %providerName -Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Require-Bundle: org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)" -Bundle-ActivationPolicy: lazy -Export-Package: org.eclipse.sirius.context;version="1.0.0", - org.eclipse.sirius.context.impl;version="1.0.0", - org.eclipse.sirius.context.util;version="1.0.0" diff --git a/plugins/org.eclipse.sirius.context/about.html b/plugins/org.eclipse.sirius.context/about.html deleted file mode 100644 index f3a55ce5f..000000000 --- a/plugins/org.eclipse.sirius.context/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

                About This Content

                - -

                June 15, 2010

                -

                License

                - -

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

                - -

                If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

                - - - \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.context/build.properties b/plugins/org.eclipse.sirius.context/build.properties deleted file mode 100644 index 7dafef1b5..000000000 --- a/plugins/org.eclipse.sirius.context/build.properties +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm - -bin.includes = .,\ - model/,\ - META-INF/,\ - plugin.xml,\ - plugin.properties,\ - about.html -jars.compile.order = . -source.. = src-gen/ -output.. = bin/ -javacProjectSettings = true diff --git a/plugins/org.eclipse.sirius.context/model/context.aird b/plugins/org.eclipse.sirius.context/model/context.aird deleted file mode 100644 index cd714c3af..000000000 --- a/plugins/org.eclipse.sirius.context/model/context.aird +++ /dev/null @@ -1,204 +0,0 @@ - - - context.ecore - context.genmodel - platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.context/model/context.ecore b/plugins/org.eclipse.sirius.context/model/context.ecore deleted file mode 100644 index 6dabd6760..000000000 --- a/plugins/org.eclipse.sirius.context/model/context.ecore +++ /dev/null @@ -1,30 +0,0 @@ - - - - -
                - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - diff --git a/plugins/org.eclipse.sirius.context/model/context.genmodel b/plugins/org.eclipse.sirius.context/model/context.genmodel deleted file mode 100644 index e0f8c6688..000000000 --- a/plugins/org.eclipse.sirius.context/model/context.genmodel +++ /dev/null @@ -1,20 +0,0 @@ - - - context.ecore - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.context/plugin.properties b/plugins/org.eclipse.sirius.context/plugin.properties deleted file mode 100644 index f2d4059c9..000000000 --- a/plugins/org.eclipse.sirius.context/plugin.properties +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm - -pluginName = Sirius Context Model -providerName = Eclipse Modeling Project diff --git a/plugins/org.eclipse.sirius.context/plugin.xml b/plugins/org.eclipse.sirius.context/plugin.xml deleted file mode 100644 index 7ff4e20be..000000000 --- a/plugins/org.eclipse.sirius.context/plugin.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/Context.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/Context.java deleted file mode 100644 index 4a7d0f27a..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/Context.java +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Context'. - * - * - * - * Represents a Context. - * - * - * - * @see org.eclipse.sirius.context.ContextPackage#getContext() - * @model - * @generated - */ -public interface Context extends EObject { -} // Context diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextFactory.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextFactory.java deleted file mode 100644 index eb76327ff..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextFactory.java +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.sirius.context.ContextPackage - * @generated - */ -public interface ContextFactory extends EFactory { - /** - * The singleton instance of the factory. - * - * - * @generated - */ - ContextFactory eINSTANCE = org.eclipse.sirius.context.impl.ContextFactoryImpl.init(); - - /** - * Returns a new object of class 'Context'. - * - * - * @return a new object of class 'Context'. - * @generated - */ - Context createContext(); - - /** - * Returns a new object of class 'Variable'. - * - * - * @return a new object of class 'Variable'. - * @generated - */ - ContextVariable createContextVariable(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - ContextPackage getContextPackage(); - -} //ContextFactory diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextPackage.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextPackage.java deleted file mode 100644 index 6e29948d6..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextPackage.java +++ /dev/null @@ -1,269 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
                  - *
                • each class,
                • - *
                • each feature of each class,
                • - *
                • each operation of each class,
                • - *
                • each enum,
                • - *
                • and each data type
                • - *
                - * - * @see org.eclipse.sirius.context.ContextFactory - * @model kind="package" - * @generated - */ -public interface ContextPackage extends EPackage { - /** - * The package name. - * - * - * @generated - */ - String eNAME = "context"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "http://www.eclipse.org/sirius/context"; //$NON-NLS-1$ - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "context"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * - * - * @generated - */ - ContextPackage eINSTANCE = org.eclipse.sirius.context.impl.ContextPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.sirius.context.impl.ContextImpl Context}' class. - * - * - * @see org.eclipse.sirius.context.impl.ContextImpl - * @see org.eclipse.sirius.context.impl.ContextPackageImpl#getContext() - * @generated - */ - int CONTEXT = 0; - - /** - * The number of structural features of the 'Context' class. - * - * - * @generated - * @ordered - */ - int CONTEXT_FEATURE_COUNT = 0; - - /** - * The number of operations of the 'Context' class. - * - * - * @generated - * @ordered - */ - int CONTEXT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.sirius.context.impl.ContextVariableImpl Variable}' class. - * - * - * @see org.eclipse.sirius.context.impl.ContextVariableImpl - * @see org.eclipse.sirius.context.impl.ContextPackageImpl#getContextVariable() - * @generated - */ - int CONTEXT_VARIABLE = 1; - - /** - * The feature id for the 'Context' reference. - * - * - * @generated - * @ordered - */ - int CONTEXT_VARIABLE__CONTEXT = 0; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int CONTEXT_VARIABLE__NAME = 1; - - /** - * The feature id for the 'Documentation' attribute. - * - * - * @generated - * @ordered - */ - int CONTEXT_VARIABLE__DOCUMENTATION = 2; - - /** - * The number of structural features of the 'Variable' class. - * - * - * @generated - * @ordered - */ - int CONTEXT_VARIABLE_FEATURE_COUNT = 3; - - /** - * The number of operations of the 'Variable' class. - * - * - * @generated - * @ordered - */ - int CONTEXT_VARIABLE_OPERATION_COUNT = 0; - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.context.Context Context}'. - * - * - * @return the meta object for class 'Context'. - * @see org.eclipse.sirius.context.Context - * @generated - */ - EClass getContext(); - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.context.ContextVariable Variable}'. - * - * - * @return the meta object for class 'Variable'. - * @see org.eclipse.sirius.context.ContextVariable - * @generated - */ - EClass getContextVariable(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.context.ContextVariable#getContext Context}'. - * - * - * @return the meta object for the reference 'Context'. - * @see org.eclipse.sirius.context.ContextVariable#getContext() - * @see #getContextVariable() - * @generated - */ - EReference getContextVariable_Context(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.context.ContextVariable#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.sirius.context.ContextVariable#getName() - * @see #getContextVariable() - * @generated - */ - EAttribute getContextVariable_Name(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.context.ContextVariable#getDocumentation Documentation}'. - * - * - * @return the meta object for the attribute 'Documentation'. - * @see org.eclipse.sirius.context.ContextVariable#getDocumentation() - * @see #getContextVariable() - * @generated - */ - EAttribute getContextVariable_Documentation(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - ContextFactory getContextFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
                  - *
                • each class,
                • - *
                • each feature of each class,
                • - *
                • each operation of each class,
                • - *
                • each enum,
                • - *
                • and each data type
                • - *
                - * - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.sirius.context.impl.ContextImpl Context}' class. - * - * - * @see org.eclipse.sirius.context.impl.ContextImpl - * @see org.eclipse.sirius.context.impl.ContextPackageImpl#getContext() - * @generated - */ - EClass CONTEXT = eINSTANCE.getContext(); - - /** - * The meta object literal for the '{@link org.eclipse.sirius.context.impl.ContextVariableImpl Variable}' class. - * - * - * @see org.eclipse.sirius.context.impl.ContextVariableImpl - * @see org.eclipse.sirius.context.impl.ContextPackageImpl#getContextVariable() - * @generated - */ - EClass CONTEXT_VARIABLE = eINSTANCE.getContextVariable(); - - /** - * The meta object literal for the 'Context' reference feature. - * - * - * @generated - */ - EReference CONTEXT_VARIABLE__CONTEXT = eINSTANCE.getContextVariable_Context(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute CONTEXT_VARIABLE__NAME = eINSTANCE.getContextVariable_Name(); - - /** - * The meta object literal for the 'Documentation' attribute feature. - * - * - * @generated - */ - EAttribute CONTEXT_VARIABLE__DOCUMENTATION = eINSTANCE.getContextVariable_Documentation(); - - } - -} //ContextPackage diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextVariable.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextVariable.java deleted file mode 100644 index 5c3800f2d..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/ContextVariable.java +++ /dev/null @@ -1,110 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Variable'. - * - * - * - * Represents a variable associated to a context. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.sirius.context.ContextVariable#getContext Context}
                • - *
                • {@link org.eclipse.sirius.context.ContextVariable#getName Name}
                • - *
                • {@link org.eclipse.sirius.context.ContextVariable#getDocumentation Documentation}
                • - *
                - * - * @see org.eclipse.sirius.context.ContextPackage#getContextVariable() - * @model - * @generated - */ -public interface ContextVariable extends EObject { - /** - * Returns the value of the 'Context' reference. - * - * - * - * Defines the context. - * - * @return the value of the 'Context' reference. - * @see #setContext(Context) - * @see org.eclipse.sirius.context.ContextPackage#getContextVariable_Context() - * @model required="true" - * @generated - */ - Context getContext(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.context.ContextVariable#getContext Context}' reference. - * - * - * @param value the new value of the 'Context' reference. - * @see #getContext() - * @generated - */ - void setContext(Context value); - - /** - * Returns the value of the 'Name' attribute. - * - * - * - * Defines the name of the variable. - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.sirius.context.ContextPackage#getContextVariable_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.context.ContextVariable#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Documentation' attribute. - * - * - * - * Define the documentation of the variable. - * - * @return the value of the 'Documentation' attribute. - * @see #setDocumentation(String) - * @see org.eclipse.sirius.context.ContextPackage#getContextVariable_Documentation() - * @model - * @generated - */ - String getDocumentation(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.context.ContextVariable#getDocumentation Documentation}' attribute. - * - * - * @param value the new value of the 'Documentation' attribute. - * @see #getDocumentation() - * @generated - */ - void setDocumentation(String value); - -} // ContextVariable diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextFactoryImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextFactoryImpl.java deleted file mode 100644 index ced785a21..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextFactoryImpl.java +++ /dev/null @@ -1,116 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.sirius.context.*; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class ContextFactoryImpl extends EFactoryImpl implements ContextFactory { - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static ContextFactory init() { - try { - ContextFactory theContextFactory = (ContextFactory) EPackage.Registry.INSTANCE - .getEFactory(ContextPackage.eNS_URI); - if (theContextFactory != null) { - return theContextFactory; - } - } catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new ContextFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public ContextFactoryImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case ContextPackage.CONTEXT: - return createContext(); - case ContextPackage.CONTEXT_VARIABLE: - return createContextVariable(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * - * - * @generated - */ - @Override - public Context createContext() { - ContextImpl context = new ContextImpl(); - return context; - } - - /** - * - * - * @generated - */ - @Override - public ContextVariable createContextVariable() { - ContextVariableImpl contextVariable = new ContextVariableImpl(); - return contextVariable; - } - - /** - * - * - * @generated - */ - @Override - public ContextPackage getContextPackage() { - return (ContextPackage) getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static ContextPackage getPackage() { - return ContextPackage.eINSTANCE; - } - -} //ContextFactoryImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextImpl.java deleted file mode 100644 index 1882337f5..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextImpl.java +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.sirius.context.Context; -import org.eclipse.sirius.context.ContextPackage; - -/** - * - * An implementation of the model object 'Context'. - * - * - * @generated - */ -public class ContextImpl extends MinimalEObjectImpl.Container implements Context { - /** - * - * - * @generated - */ - protected ContextImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ContextPackage.Literals.CONTEXT; - } - -} //ContextImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextPackageImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextPackageImpl.java deleted file mode 100644 index 83f09556f..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextPackageImpl.java +++ /dev/null @@ -1,242 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.sirius.context.Context; -import org.eclipse.sirius.context.ContextFactory; -import org.eclipse.sirius.context.ContextPackage; -import org.eclipse.sirius.context.ContextVariable; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class ContextPackageImpl extends EPackageImpl implements ContextPackage { - /** - * - * - * @generated - */ - private EClass contextEClass = null; - - /** - * - * - * @generated - */ - private EClass contextVariableEClass = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

                Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.sirius.context.ContextPackage#eNS_URI - * @see #init() - * @generated - */ - private ContextPackageImpl() { - super(eNS_URI, ContextFactory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

                This method is used to initialize {@link ContextPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static ContextPackage init() { - if (isInited) - return (ContextPackage) EPackage.Registry.INSTANCE.getEPackage(ContextPackage.eNS_URI); - - // Obtain or create and register package - ContextPackageImpl theContextPackage = (ContextPackageImpl) (EPackage.Registry.INSTANCE - .get(eNS_URI) instanceof ContextPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) - : new ContextPackageImpl()); - - isInited = true; - - // Create package meta-data objects - theContextPackage.createPackageContents(); - - // Initialize created meta-data - theContextPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theContextPackage.freeze(); - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(ContextPackage.eNS_URI, theContextPackage); - return theContextPackage; - } - - /** - * - * - * @generated - */ - @Override - public EClass getContext() { - return contextEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getContextVariable() { - return contextVariableEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getContextVariable_Context() { - return (EReference) contextVariableEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getContextVariable_Name() { - return (EAttribute) contextVariableEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getContextVariable_Documentation() { - return (EAttribute) contextVariableEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public ContextFactory getContextFactory() { - return (ContextFactory) getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() { - if (isCreated) - return; - isCreated = true; - - // Create classes and their features - contextEClass = createEClass(CONTEXT); - - contextVariableEClass = createEClass(CONTEXT_VARIABLE); - createEReference(contextVariableEClass, CONTEXT_VARIABLE__CONTEXT); - createEAttribute(contextVariableEClass, CONTEXT_VARIABLE__NAME); - createEAttribute(contextVariableEClass, CONTEXT_VARIABLE__DOCUMENTATION); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() { - if (isInitialized) - return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes, features, and operations; add parameters - initEClass(contextEClass, Context.class, "Context", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - initEClass(contextVariableEClass, ContextVariable.class, "ContextVariable", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getContextVariable_Context(), this.getContext(), null, "context", null, 1, 1, //$NON-NLS-1$ - ContextVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getContextVariable_Name(), ecorePackage.getEString(), "name", null, 0, 1, ContextVariable.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getContextVariable_Documentation(), ecorePackage.getEString(), "documentation", null, 0, 1, //$NON-NLS-1$ - ContextVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - - // Create resource - createResource(eNS_URI); - } - -} //ContextPackageImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextVariableImpl.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextVariableImpl.java deleted file mode 100644 index 2426801a5..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/impl/ContextVariableImpl.java +++ /dev/null @@ -1,297 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.sirius.context.Context; -import org.eclipse.sirius.context.ContextPackage; -import org.eclipse.sirius.context.ContextVariable; - -/** - * - * An implementation of the model object 'Variable'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.sirius.context.impl.ContextVariableImpl#getContext Context}
                • - *
                • {@link org.eclipse.sirius.context.impl.ContextVariableImpl#getName Name}
                • - *
                • {@link org.eclipse.sirius.context.impl.ContextVariableImpl#getDocumentation Documentation}
                • - *
                - * - * @generated - */ -public class ContextVariableImpl extends MinimalEObjectImpl.Container implements ContextVariable { - /** - * The cached value of the '{@link #getContext() Context}' reference. - * - * - * @see #getContext() - * @generated - * @ordered - */ - protected Context context; - - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getDocumentation() Documentation}' attribute. - * - * - * @see #getDocumentation() - * @generated - * @ordered - */ - protected static final String DOCUMENTATION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDocumentation() Documentation}' attribute. - * - * - * @see #getDocumentation() - * @generated - * @ordered - */ - protected String documentation = DOCUMENTATION_EDEFAULT; - - /** - * - * - * @generated - */ - protected ContextVariableImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ContextPackage.Literals.CONTEXT_VARIABLE; - } - - /** - * - * - * @generated - */ - @Override - public Context getContext() { - if (context != null && context.eIsProxy()) { - InternalEObject oldContext = (InternalEObject) context; - context = (Context) eResolveProxy(oldContext); - if (context != oldContext) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ContextPackage.CONTEXT_VARIABLE__CONTEXT, - oldContext, context)); - } - } - return context; - } - - /** - * - * - * @generated - */ - public Context basicGetContext() { - return context; - } - - /** - * - * - * @generated - */ - @Override - public void setContext(Context newContext) { - Context oldContext = context; - context = newContext; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ContextPackage.CONTEXT_VARIABLE__CONTEXT, oldContext, - context)); - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ContextPackage.CONTEXT_VARIABLE__NAME, oldName, - name)); - } - - /** - * - * - * @generated - */ - @Override - public String getDocumentation() { - return documentation; - } - - /** - * - * - * @generated - */ - @Override - public void setDocumentation(String newDocumentation) { - String oldDocumentation = documentation; - documentation = newDocumentation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION, - oldDocumentation, documentation)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ContextPackage.CONTEXT_VARIABLE__CONTEXT: - if (resolve) - return getContext(); - return basicGetContext(); - case ContextPackage.CONTEXT_VARIABLE__NAME: - return getName(); - case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: - return getDocumentation(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ContextPackage.CONTEXT_VARIABLE__CONTEXT: - setContext((Context) newValue); - return; - case ContextPackage.CONTEXT_VARIABLE__NAME: - setName((String) newValue); - return; - case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: - setDocumentation((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ContextPackage.CONTEXT_VARIABLE__CONTEXT: - setContext((Context) null); - return; - case ContextPackage.CONTEXT_VARIABLE__NAME: - setName(NAME_EDEFAULT); - return; - case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: - setDocumentation(DOCUMENTATION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ContextPackage.CONTEXT_VARIABLE__CONTEXT: - return context != null; - case ContextPackage.CONTEXT_VARIABLE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case ContextPackage.CONTEXT_VARIABLE__DOCUMENTATION: - return DOCUMENTATION_EDEFAULT == null ? documentation != null - : !DOCUMENTATION_EDEFAULT.equals(documentation); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); //$NON-NLS-1$ - result.append(name); - result.append(", documentation: "); //$NON-NLS-1$ - result.append(documentation); - result.append(')'); - return result.toString(); - } - -} //ContextVariableImpl diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextAdapterFactory.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextAdapterFactory.java deleted file mode 100644 index 6800c1ca1..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextAdapterFactory.java +++ /dev/null @@ -1,143 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.sirius.context.*; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see org.eclipse.sirius.context.ContextPackage - * @generated - */ -public class ContextAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * - * - * @generated - */ - protected static ContextPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public ContextAdapterFactory() { - if (modelPackage == null) { - modelPackage = ContextPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject) object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected ContextSwitch modelSwitch = new ContextSwitch() { - @Override - public Adapter caseContext(Context object) { - return createContextAdapter(); - } - - @Override - public Adapter caseContextVariable(ContextVariable object) { - return createContextVariableAdapter(); - } - - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject) target); - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.context.Context Context}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.context.Context - * @generated - */ - public Adapter createContextAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.context.ContextVariable Variable}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.context.ContextVariable - * @generated - */ - public Adapter createContextVariableAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //ContextAdapterFactory diff --git a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextSwitch.java b/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextSwitch.java deleted file mode 100644 index 221975f19..000000000 --- a/plugins/org.eclipse.sirius.context/src-gen/org/eclipse/sirius/context/util/ContextSwitch.java +++ /dev/null @@ -1,139 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.context.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.sirius.context.*; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see org.eclipse.sirius.context.ContextPackage - * @generated - */ -public class ContextSwitch extends Switch { - /** - * The cached model package - * - * - * @generated - */ - protected static ContextPackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public ContextSwitch() { - if (modelPackage == null) { - modelPackage = ContextPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case ContextPackage.CONTEXT: { - Context context = (Context) theEObject; - T result = caseContext(context); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case ContextPackage.CONTEXT_VARIABLE: { - ContextVariable contextVariable = (ContextVariable) theEObject; - T result = caseContextVariable(contextVariable); - if (result == null) - result = defaultCase(theEObject); - return result; - } - default: - return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Context'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Context'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseContext(Context object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Variable'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Variable'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseContextVariable(ContextVariable object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //ContextSwitch diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/UserDefinedVariable.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/UserDefinedVariable.gif new file mode 100644 index 000000000..8a5c70cbd Binary files /dev/null and b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/UserDefinedVariable.gif differ diff --git a/plugins/org.eclipse.sirius.expression.edit/plugin.properties b/plugins/org.eclipse.sirius.expression.edit/plugin.properties index 20115648c..976114c13 100644 --- a/plugins/org.eclipse.sirius.expression.edit/plugin.properties +++ b/plugins/org.eclipse.sirius.expression.edit/plugin.properties @@ -55,3 +55,5 @@ _UI_SiriusVariable_eType_feature = EType _UI_SiriusExpressionClass_eClass_feature = EClass _UI_SiriusParameter_optional_feature = Optional _UI_SiriusParameter_variable_feature = Variable +_UI_UserDefinedVariable_type = User Defined Variable +_UI_UserDefinedVariable_valueExpression_feature = Value Expression diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java index 1feb0339b..40a322653 100644 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java @@ -191,6 +191,29 @@ public class ExpressionItemProviderAdapterFactory extends ExpressionAdapterFacto return siriusParameterItemProvider; } + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.UserDefinedVariable} instances. + * + * + * @generated + */ + protected UserDefinedVariableItemProvider userDefinedVariableItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.UserDefinedVariable}. + * + * + * @generated + */ + @Override + public Adapter createUserDefinedVariableAdapter() { + if (userDefinedVariableItemProvider == null) { + userDefinedVariableItemProvider = new UserDefinedVariableItemProvider(this); + } + + return userDefinedVariableItemProvider; + } + /** * This returns the root adapter factory that contains this factory. * @@ -295,6 +318,7 @@ public class ExpressionItemProviderAdapterFactory extends ExpressionAdapterFacto if (siriusVariableItemProvider != null) siriusVariableItemProvider.dispose(); if (siriusExpressionClassItemProvider != null) siriusExpressionClassItemProvider.dispose(); if (siriusParameterItemProvider != null) siriusParameterItemProvider.dispose(); + if (userDefinedVariableItemProvider != null) userDefinedVariableItemProvider.dispose(); } } diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java index 47e52d426..bea80dfaa 100644 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java @@ -194,6 +194,11 @@ public class SiriusExpressionClassItemProvider (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__VARIABLES, ExpressionFactory.eINSTANCE.createSiriusVariable())); + newChildDescriptors.add + (createChildParameter + (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__VARIABLES, + ExpressionFactory.eINSTANCE.createUserDefinedVariable())); + newChildDescriptors.add (createChildParameter (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS, diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/UserDefinedVariableItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/UserDefinedVariableItemProvider.java new file mode 100644 index 000000000..227dd60f5 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/UserDefinedVariableItemProvider.java @@ -0,0 +1,147 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.UserDefinedVariable; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.UserDefinedVariable} object. + * + * + * @generated + */ +public class UserDefinedVariableItemProvider extends SiriusVariableItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public UserDefinedVariableItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_UserDefinedVariable_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_UserDefinedVariable_valueExpression_feature", "_UI_UserDefinedVariable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.USER_DEFINED_VARIABLE__VALUE_EXPRESSION, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This returns UserDefinedVariable.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/UserDefinedVariable")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((UserDefinedVariable)object).getName(); + return label == null || label.length() == 0 ? + getString("_UI_UserDefinedVariable_type") : //$NON-NLS-1$ + getString("_UI_UserDefinedVariable_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(UserDefinedVariable.class)) { + case ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g index 6c678c8dc..ab00256bb 100644 --- a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g +++ b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g @@ -1299,11 +1299,11 @@ rule__SiriusExpressionDescription__Group__13__Impl } : ( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersKeyword_13()); } +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); } - 'variableContainers' + 'userDefinedVariableContainers' -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersKeyword_13()); } +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); } ) ; diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens index b96b3f918..3fe78ba0f 100644 --- a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens +++ b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens @@ -12,8 +12,8 @@ 'exp'=15 'optional'=25 'package'=8 +'userDefinedVariableContainers'=21 'var'=13 -'variableContainers'=21 '{'=9 '}'=10 RULE_ID=4 diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java index 8c12baba7..82f76fae9 100644 --- a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java +++ b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java @@ -319,10 +319,10 @@ public class InternalExpressionTextLexer extends Lexer { try { int _type = T__21; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:24:7: ( 'variableContainers' ) - // InternalExpressionText.g:24:9: 'variableContainers' + // InternalExpressionText.g:24:7: ( 'userDefinedVariableContainers' ) + // InternalExpressionText.g:24:9: 'userDefinedVariableContainers' { - match("variableContainers"); + match("userDefinedVariableContainers"); } @@ -828,82 +828,96 @@ public class InternalExpressionTextLexer extends Lexer { protected DFA6 dfa6 = new DFA6(this); static final String DFA6_eotS = - "\1\uffff\1\21\2\uffff\1\21\1\30\1\21\1\uffff\1\21\7\uffff\1\21\4\uffff\2\21\2\uffff\5\21\1\44\1\45\4\21\2\uffff\2\21\1\54\3\21\1\uffff\2\21\1\62\2\21\1\uffff\1\21\1\66\1\21\1\uffff\10\21\1\100\1\uffff"; + "\1\uffff\1\22\2\uffff\1\22\1\31\1\22\1\uffff\1\22\4\uffff\1\22\3\uffff\1\22\4\uffff\2\22\2\uffff\6\22\1\46\1\47\4\22\2\uffff\3\22\1\57\3\22\1\uffff\2\22\1\65\2\22\1\uffff\1\22\1\71\1\22\1\uffff\23\22\1\116\1\uffff"; static final String DFA6_eofS = - "\101\uffff"; + "\117\uffff"; static final String DFA6_minS = - "\1\11\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\7\uffff\1\160\4\uffff\1\143\1\141\2\uffff\1\162\1\160\1\164\1\153\1\163\2\60\1\151\1\141\1\163\1\141\2\uffff\1\157\1\147\1\60\1\142\1\156\1\145\1\uffff\1\154\1\141\1\60\1\145\1\154\1\uffff\1\103\1\60\1\157\1\uffff\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\60\1\uffff"; + "\1\11\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\4\uffff\1\163\3\uffff\1\160\4\uffff\1\143\1\141\2\uffff\1\162\1\160\1\145\1\164\1\153\1\163\2\60\1\162\1\151\1\141\1\163\2\uffff\1\104\1\157\1\147\1\60\1\145\1\156\1\145\1\uffff\1\146\1\141\1\60\1\151\1\154\1\uffff\1\156\1\60\1\145\1\uffff\1\144\1\126\1\141\1\162\1\151\1\141\1\142\1\154\1\145\1\103\1\157\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\60\1\uffff"; static final String DFA6_maxS = - "\1\175\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\7\uffff\1\160\4\uffff\1\143\1\141\2\uffff\1\162\1\160\1\164\1\153\1\163\2\172\1\151\1\141\1\163\1\141\2\uffff\1\157\1\147\1\172\1\142\1\156\1\145\1\uffff\1\154\1\141\1\172\1\145\1\154\1\uffff\1\103\1\172\1\157\1\uffff\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\172\1\uffff"; + "\1\175\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\4\uffff\1\163\3\uffff\1\160\4\uffff\1\143\1\141\2\uffff\1\162\1\160\1\145\1\164\1\153\1\163\2\172\1\162\1\151\1\141\1\163\2\uffff\1\104\1\157\1\147\1\172\1\145\1\156\1\145\1\uffff\1\146\1\141\1\172\1\151\1\154\1\uffff\1\156\1\172\1\145\1\uffff\1\144\1\126\1\141\1\162\1\151\1\141\1\142\1\154\1\145\1\103\1\157\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\172\1\uffff"; static final String DFA6_acceptS = - "\2\uffff\1\2\1\3\3\uffff\1\7\1\uffff\1\11\1\12\1\13\1\15\1\17\1\20\1\21\1\uffff\1\23\1\24\1\25\1\26\2\uffff\1\14\1\5\13\uffff\1\6\1\10\6\uffff\1\4\5\uffff\1\1\3\uffff\1\22\11\uffff\1\16"; + "\2\uffff\1\2\1\3\3\uffff\1\7\1\uffff\1\11\1\12\1\13\1\15\1\uffff\1\17\1\20\1\21\1\uffff\1\23\1\24\1\25\1\26\2\uffff\1\14\1\5\14\uffff\1\6\1\10\7\uffff\1\4\5\uffff\1\1\3\uffff\1\22\24\uffff\1\16"; static final String DFA6_specialS = - "\101\uffff}>"; + "\117\uffff}>"; static final String[] DFA6_transitionS = { - "\2\24\2\uffff\1\24\22\uffff\1\24\7\uffff\1\11\1\12\2\uffff\1\16\1\17\1\5\1\23\12\22\1\7\2\uffff\1\15\3\uffff\32\21\1\13\1\uffff\1\14\2\21\1\uffff\2\21\1\4\1\21\1\10\11\21\1\20\1\1\5\21\1\6\4\21\1\2\1\uffff\1\3", - "\1\25", + "\2\25\2\uffff\1\25\22\uffff\1\25\7\uffff\1\11\1\12\2\uffff\1\17\1\20\1\5\1\24\12\23\1\7\2\uffff\1\16\3\uffff\32\22\1\13\1\uffff\1\14\2\22\1\uffff\2\22\1\4\1\22\1\10\11\22\1\21\1\1\4\22\1\15\1\6\4\22\1\2\1\uffff\1\3", + "\1\26", "", "", - "\1\26", "\1\27", - "\1\31", - "", + "\1\30", "\1\32", "", + "\1\33", "", "", "", "", + "\1\34", "", "", - "\1\33", - "", "", + "\1\35", "", "", - "\1\34", - "\1\35", "", "", "\1\36", "\1\37", + "", + "", "\1\40", "\1\41", "\1\42", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\10\21\1\43\21\21", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", - "\1\46", - "\1\47", + "\1\43", + "\1\44", + "\1\45", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", "\1\50", "\1\51", - "", - "", "\1\52", "\1\53", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "", + "", + "\1\54", "\1\55", "\1\56", - "\1\57", - "", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", "\1\60", "\1\61", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\62", + "", "\1\63", "\1\64", - "", - "\1\65", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "\1\66", "\1\67", "", "\1\70", - "\1\71", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", "\1\72", + "", "\1\73", "\1\74", "\1\75", "\1\76", "\1\77", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\100", + "\1\101", + "\1\102", + "\1\103", + "\1\104", + "\1\105", + "\1\106", + "\1\107", + "\1\110", + "\1\111", + "\1\112", + "\1\113", + "\1\114", + "\1\115", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", "" }; diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextParser.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextParser.java index d3cf3d9f8..0ae30e8fe 100644 --- a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextParser.java +++ b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextParser.java @@ -22,7 +22,7 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalExpressionTextParser extends AbstractInternalContentAssistParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "'package'", "'{'", "'}'", "'class'", "'.'", "'var'", "':'", "'exp'", "'('", "')'", "'['", "'..'", "']'", "'variableContainers'", "'='", "','", "'-'", "'optional'" + "", "", "", "", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "'package'", "'{'", "'}'", "'class'", "'.'", "'var'", "':'", "'exp'", "'('", "')'", "'['", "'..'", "']'", "'userDefinedVariableContainers'", "'='", "','", "'-'", "'optional'" }; public static final int T__19=19; public static final int T__15=15; @@ -3347,21 +3347,21 @@ public class InternalExpressionTextParser extends AbstractInternalContentAssistP // $ANTLR start "rule__SiriusExpressionDescription__Group__13__Impl" - // InternalExpressionText.g:1296:1: rule__SiriusExpressionDescription__Group__13__Impl : ( 'variableContainers' ) ; + // InternalExpressionText.g:1296:1: rule__SiriusExpressionDescription__Group__13__Impl : ( 'userDefinedVariableContainers' ) ; public final void rule__SiriusExpressionDescription__Group__13__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalExpressionText.g:1300:1: ( ( 'variableContainers' ) ) - // InternalExpressionText.g:1301:1: ( 'variableContainers' ) + // InternalExpressionText.g:1300:1: ( ( 'userDefinedVariableContainers' ) ) + // InternalExpressionText.g:1301:1: ( 'userDefinedVariableContainers' ) { - // InternalExpressionText.g:1301:1: ( 'variableContainers' ) - // InternalExpressionText.g:1302:1: 'variableContainers' + // InternalExpressionText.g:1301:1: ( 'userDefinedVariableContainers' ) + // InternalExpressionText.g:1302:1: 'userDefinedVariableContainers' { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersKeyword_13()); + before(grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); match(input,21,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersKeyword_13()); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); } diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin index 06edcbe3b..85d43bcce 100644 Binary files a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin and b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin differ diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g index 261ef5a45..04d74716e 100644 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g @@ -484,9 +484,9 @@ ruleSiriusExpressionDescription returns [EObject current=null] { newLeafNode(otherlv_14, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); } - otherlv_15='variableContainers' + otherlv_15='userDefinedVariableContainers' { - newLeafNode(otherlv_15, grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersKeyword_13()); + newLeafNode(otherlv_15, grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); } otherlv_16='=' { diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens index 69c21b90f..6d9fa6e4b 100644 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens @@ -12,8 +12,8 @@ 'exp'=15 'optional'=24 'package'=8 +'userDefinedVariableContainers'=22 'var'=13 -'variableContainers'=22 '{'=9 '}'=10 RULE_ID=4 diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java index 117a00544..b9c87c9a9 100644 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java @@ -339,10 +339,10 @@ public class InternalExpressionTextLexer extends Lexer { try { int _type = T__22; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:25:7: ( 'variableContainers' ) - // InternalExpressionText.g:25:9: 'variableContainers' + // InternalExpressionText.g:25:7: ( 'userDefinedVariableContainers' ) + // InternalExpressionText.g:25:9: 'userDefinedVariableContainers' { - match("variableContainers"); + match("userDefinedVariableContainers"); } @@ -828,82 +828,96 @@ public class InternalExpressionTextLexer extends Lexer { protected DFA6 dfa6 = new DFA6(this); static final String DFA6_eotS = - "\1\uffff\1\21\2\uffff\1\21\1\30\1\21\1\uffff\1\21\6\uffff\1\21\5\uffff\2\21\2\uffff\5\21\1\44\1\45\4\21\2\uffff\2\21\1\54\3\21\1\uffff\2\21\1\62\2\21\1\uffff\1\21\1\66\1\21\1\uffff\10\21\1\100\1\uffff"; + "\1\uffff\1\22\2\uffff\1\22\1\31\1\22\1\uffff\1\22\5\uffff\1\22\1\uffff\1\22\5\uffff\2\22\2\uffff\6\22\1\46\1\47\4\22\2\uffff\3\22\1\57\3\22\1\uffff\2\22\1\65\2\22\1\uffff\1\22\1\71\1\22\1\uffff\23\22\1\116\1\uffff"; static final String DFA6_eofS = - "\101\uffff"; + "\117\uffff"; static final String DFA6_minS = - "\1\11\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\6\uffff\1\160\5\uffff\1\143\1\141\2\uffff\1\162\1\160\1\164\1\153\1\163\2\60\1\151\1\141\1\163\1\141\2\uffff\1\157\1\147\1\60\1\142\1\156\1\145\1\uffff\1\154\1\141\1\60\1\145\1\154\1\uffff\1\103\1\60\1\157\1\uffff\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\60\1\uffff"; + "\1\11\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\5\uffff\1\163\1\uffff\1\160\5\uffff\1\143\1\141\2\uffff\1\162\1\160\1\145\1\164\1\153\1\163\2\60\1\162\1\151\1\141\1\163\2\uffff\1\104\1\157\1\147\1\60\1\145\1\156\1\145\1\uffff\1\146\1\141\1\60\1\151\1\154\1\uffff\1\156\1\60\1\145\1\uffff\1\144\1\126\1\141\1\162\1\151\1\141\1\142\1\154\1\145\1\103\1\157\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\60\1\uffff"; static final String DFA6_maxS = - "\1\175\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\6\uffff\1\160\5\uffff\1\143\1\141\2\uffff\1\162\1\160\1\164\1\153\1\163\2\172\1\151\1\141\1\163\1\141\2\uffff\1\157\1\147\1\172\1\142\1\156\1\145\1\uffff\1\154\1\141\1\172\1\145\1\154\1\uffff\1\103\1\172\1\157\1\uffff\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\172\1\uffff"; + "\1\175\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\5\uffff\1\163\1\uffff\1\160\5\uffff\1\143\1\141\2\uffff\1\162\1\160\1\145\1\164\1\153\1\163\2\172\1\162\1\151\1\141\1\163\2\uffff\1\104\1\157\1\147\1\172\1\145\1\156\1\145\1\uffff\1\146\1\141\1\172\1\151\1\154\1\uffff\1\156\1\172\1\145\1\uffff\1\144\1\126\1\141\1\162\1\151\1\141\1\142\1\154\1\145\1\103\1\157\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\172\1\uffff"; static final String DFA6_acceptS = - "\2\uffff\1\2\1\3\3\uffff\1\7\1\uffff\1\11\1\12\1\13\1\14\1\16\1\20\1\uffff\1\22\1\23\1\24\1\25\1\26\2\uffff\1\15\1\5\13\uffff\1\6\1\10\6\uffff\1\4\5\uffff\1\1\3\uffff\1\21\11\uffff\1\17"; + "\2\uffff\1\2\1\3\3\uffff\1\7\1\uffff\1\11\1\12\1\13\1\14\1\16\1\uffff\1\20\1\uffff\1\22\1\23\1\24\1\25\1\26\2\uffff\1\15\1\5\14\uffff\1\6\1\10\7\uffff\1\4\5\uffff\1\1\3\uffff\1\21\24\uffff\1\17"; static final String DFA6_specialS = - "\101\uffff}>"; + "\117\uffff}>"; static final String[] DFA6_transitionS = { - "\2\24\2\uffff\1\24\22\uffff\1\24\7\uffff\1\11\1\13\2\uffff\1\12\1\20\1\5\1\23\12\22\1\7\2\uffff\1\16\3\uffff\32\21\1\14\1\uffff\1\15\2\21\1\uffff\2\21\1\4\1\21\1\10\11\21\1\17\1\1\5\21\1\6\4\21\1\2\1\uffff\1\3", - "\1\25", + "\2\25\2\uffff\1\25\22\uffff\1\25\7\uffff\1\11\1\13\2\uffff\1\12\1\21\1\5\1\24\12\23\1\7\2\uffff\1\17\3\uffff\32\22\1\14\1\uffff\1\15\2\22\1\uffff\2\22\1\4\1\22\1\10\11\22\1\20\1\1\4\22\1\16\1\6\4\22\1\2\1\uffff\1\3", + "\1\26", "", "", - "\1\26", "\1\27", - "\1\31", - "", + "\1\30", "\1\32", "", + "\1\33", "", "", "", "", "", - "\1\33", - "", + "\1\34", "", + "\1\35", "", "", "", - "\1\34", - "\1\35", "", "", "\1\36", "\1\37", + "", + "", "\1\40", "\1\41", "\1\42", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\10\21\1\43\21\21", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", - "\1\46", - "\1\47", + "\1\43", + "\1\44", + "\1\45", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", "\1\50", "\1\51", - "", - "", "\1\52", "\1\53", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "", + "", + "\1\54", "\1\55", "\1\56", - "\1\57", - "", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", "\1\60", "\1\61", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\62", + "", "\1\63", "\1\64", - "", - "\1\65", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "\1\66", "\1\67", "", "\1\70", - "\1\71", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", "\1\72", + "", "\1\73", "\1\74", "\1\75", "\1\76", "\1\77", - "\12\21\7\uffff\32\21\4\uffff\1\21\1\uffff\32\21", + "\1\100", + "\1\101", + "\1\102", + "\1\103", + "\1\104", + "\1\105", + "\1\106", + "\1\107", + "\1\110", + "\1\111", + "\1\112", + "\1\113", + "\1\114", + "\1\115", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", "" }; diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextParser.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextParser.java index aedf963d8..466f764dd 100644 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextParser.java +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextParser.java @@ -21,7 +21,7 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalExpressionTextParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_ID", "RULE_ML_COMMENT", "RULE_INT", "RULE_WS", "'package'", "'{'", "'}'", "'class'", "'.'", "'var'", "':'", "'exp'", "'('", "','", "')'", "'['", "'..'", "']'", "'variableContainers'", "'='", "'optional'", "'-'" + "", "", "", "", "RULE_ID", "RULE_ML_COMMENT", "RULE_INT", "RULE_WS", "'package'", "'{'", "'}'", "'class'", "'.'", "'var'", "':'", "'exp'", "'('", "','", "')'", "'['", "'..'", "']'", "'userDefinedVariableContainers'", "'='", "'optional'", "'-'" }; public static final int T__19=19; public static final int T__15=15; @@ -788,7 +788,7 @@ public class InternalExpressionTextParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleSiriusExpressionDescription" - // InternalExpressionText.g:345:1: ruleSiriusExpressionDescription returns [EObject current=null] : (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'variableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) ; + // InternalExpressionText.g:345:1: ruleSiriusExpressionDescription returns [EObject current=null] : (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'userDefinedVariableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) ; public final EObject ruleSiriusExpressionDescription() throws RecognitionException { EObject current = null; @@ -819,11 +819,11 @@ public class InternalExpressionTextParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalExpressionText.g:348:28: ( (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'variableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) ) - // InternalExpressionText.g:349:1: (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'variableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) + // InternalExpressionText.g:348:28: ( (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'userDefinedVariableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) ) + // InternalExpressionText.g:349:1: (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'userDefinedVariableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) { - // InternalExpressionText.g:349:1: (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'variableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) - // InternalExpressionText.g:349:3: otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'variableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' + // InternalExpressionText.g:349:1: (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'userDefinedVariableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) + // InternalExpressionText.g:349:3: otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'userDefinedVariableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' { otherlv_0=(Token)match(input,15,FOLLOW_3); @@ -1084,7 +1084,7 @@ public class InternalExpressionTextParser extends AbstractInternalAntlrParser { otherlv_15=(Token)match(input,22,FOLLOW_20); - newLeafNode(otherlv_15, grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersKeyword_13()); + newLeafNode(otherlv_15, grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); otherlv_16=(Token)match(input,23,FOLLOW_15); diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java index a3d617915..1abe4c1c8 100644 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java +++ b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java @@ -224,7 +224,7 @@ public class ExpressionTextGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cUpperBoundBoundParserRuleCall_10_0 = (RuleCall)cUpperBoundAssignment_10.eContents().get(0); private final Keyword cRightSquareBracketKeyword_11 = (Keyword)cGroup.eContents().get(11); private final Keyword cLeftCurlyBracketKeyword_12 = (Keyword)cGroup.eContents().get(12); - private final Keyword cVariableContainersKeyword_13 = (Keyword)cGroup.eContents().get(13); + private final Keyword cUserDefinedVariableContainersKeyword_13 = (Keyword)cGroup.eContents().get(13); private final Keyword cEqualsSignKeyword_14 = (Keyword)cGroup.eContents().get(14); private final Keyword cLeftSquareBracketKeyword_15 = (Keyword)cGroup.eContents().get(15); private final Group cGroup_16 = (Group)cGroup.eContents().get(16); @@ -242,14 +242,15 @@ public class ExpressionTextGrammarAccess extends AbstractGrammarElementFinder { //SiriusExpressionDescription: // 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter (',' parameters+=SiriusParameter)*)? ')' ':' // returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' - // 'variableContainers' '=' '[' (variableContainers+=[ecore::EClass|FQN] (',' variableContainers+=[ecore::EClass|FQN])*)? + // 'userDefinedVariableContainers' '=' '[' (variableContainers+=[ecore::EClass|FQN] (',' + // variableContainers+=[ecore::EClass|FQN])*)? // ']' // '}'; @Override public ParserRule getRule() { return rule; } //'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter (',' parameters+=SiriusParameter)*)? ')' ':' - //returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' 'variableContainers' '=' '[' - //(variableContainers+=[ecore::EClass|FQN] (',' variableContainers+=[ecore::EClass|FQN])*)? ']' '}' + //returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' 'userDefinedVariableContainers' + //'=' '[' (variableContainers+=[ecore::EClass|FQN] (',' variableContainers+=[ecore::EClass|FQN])*)? ']' '}' public Group getGroup() { return cGroup; } //'exp' @@ -327,8 +328,8 @@ public class ExpressionTextGrammarAccess extends AbstractGrammarElementFinder { //'{' public Keyword getLeftCurlyBracketKeyword_12() { return cLeftCurlyBracketKeyword_12; } - //'variableContainers' - public Keyword getVariableContainersKeyword_13() { return cVariableContainersKeyword_13; } + //'userDefinedVariableContainers' + public Keyword getUserDefinedVariableContainersKeyword_13() { return cUserDefinedVariableContainersKeyword_13; } //'=' public Keyword getEqualsSignKeyword_14() { return cEqualsSignKeyword_14; } @@ -525,7 +526,8 @@ public class ExpressionTextGrammarAccess extends AbstractGrammarElementFinder { //SiriusExpressionDescription: // 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter (',' parameters+=SiriusParameter)*)? ')' ':' // returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' - // 'variableContainers' '=' '[' (variableContainers+=[ecore::EClass|FQN] (',' variableContainers+=[ecore::EClass|FQN])*)? + // 'userDefinedVariableContainers' '=' '[' (variableContainers+=[ecore::EClass|FQN] (',' + // variableContainers+=[ecore::EClass|FQN])*)? // ']' // '}'; public SiriusExpressionDescriptionElements getSiriusExpressionDescriptionAccess() { diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext index 8ef5ef3f4..ce60eeba4 100644 --- a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext +++ b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext @@ -25,7 +25,7 @@ SiriusVariable: SiriusExpressionDescription: 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter(',' parameters+=SiriusParameter)*)? ')' ':' returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' - 'variableContainers' '=' '[' + 'userDefinedVariableContainers' '=' '[' (variableContainers+=[ecore::EClass|FQN](',' variableContainers+=[ecore::EClass|FQN])*)? ']' '}' diff --git a/plugins/org.eclipse.sirius.expression/model/expression.ecore b/plugins/org.eclipse.sirius.expression/model/expression.ecore index be9f6938c..b932578e1 100644 --- a/plugins/org.eclipse.sirius.expression/model/expression.ecore +++ b/plugins/org.eclipse.sirius.expression/model/expression.ecore @@ -94,6 +94,9 @@ + + +
                diff --git a/plugins/org.eclipse.sirius.expression/model/expression.genmodel b/plugins/org.eclipse.sirius.expression/model/expression.genmodel index 7edee50a2..9cbc40829 100644 --- a/plugins/org.eclipse.sirius.expression/model/expression.genmodel +++ b/plugins/org.eclipse.sirius.expression/model/expression.genmodel @@ -14,6 +14,7 @@ + @@ -40,5 +41,8 @@ + + + diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java index a6c648fc2..0efe9705f 100644 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java @@ -71,6 +71,15 @@ public interface ExpressionFactory extends EFactory { */ SiriusParameter createSiriusParameter(); + /** + * Returns a new object of class 'User Defined Variable'. + * + * + * @return a new object of class 'User Defined Variable'. + * @generated + */ + UserDefinedVariable createUserDefinedVariable(); + /** * Returns the package supported by this factory. * diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java index d50bfb78b..59db87021 100644 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java @@ -346,6 +346,70 @@ public interface ExpressionPackage extends EPackage { */ int SIRIUS_PARAMETER_OPERATION_COUNT = 0; + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.impl.UserDefinedVariableImpl User Defined Variable}' class. + * + * + * @see org.eclipse.sirius.expression.impl.UserDefinedVariableImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getUserDefinedVariable() + * @generated + */ + int USER_DEFINED_VARIABLE = 5; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int USER_DEFINED_VARIABLE__NAME = SIRIUS_VARIABLE__NAME; + + /** + * The feature id for the 'Documentation' attribute. + * + * + * @generated + * @ordered + */ + int USER_DEFINED_VARIABLE__DOCUMENTATION = SIRIUS_VARIABLE__DOCUMENTATION; + + /** + * The feature id for the 'EType' reference. + * + * + * @generated + * @ordered + */ + int USER_DEFINED_VARIABLE__ETYPE = SIRIUS_VARIABLE__ETYPE; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int USER_DEFINED_VARIABLE__VALUE_EXPRESSION = SIRIUS_VARIABLE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'User Defined Variable' class. + * + * + * @generated + * @ordered + */ + int USER_DEFINED_VARIABLE_FEATURE_COUNT = SIRIUS_VARIABLE_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'User Defined Variable' class. + * + * + * @generated + * @ordered + */ + int USER_DEFINED_VARIABLE_OPERATION_COUNT = SIRIUS_VARIABLE_OPERATION_COUNT + 0; + /** * The meta object id for the 'Void' data type. * @@ -354,7 +418,7 @@ public interface ExpressionPackage extends EPackage { * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getVoid() * @generated */ - int VOID = 5; + int VOID = 6; /** * The meta object id for the 'Object' data type. @@ -364,7 +428,7 @@ public interface ExpressionPackage extends EPackage { * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getObject() * @generated */ - int OBJECT = 6; + int OBJECT = 7; /** * The meta object id for the 'Predicate' data type. @@ -374,7 +438,18 @@ public interface ExpressionPackage extends EPackage { * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getPredicate() * @generated */ - int PREDICATE = 7; + int PREDICATE = 8; + + + /** + * The meta object id for the 'Expression' data type. + * + * + * @see java.lang.String + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getExpression() + * @generated + */ + int EXPRESSION = 9; /** @@ -603,6 +678,27 @@ public interface ExpressionPackage extends EPackage { */ EReference getSiriusParameter_Variable(); + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.UserDefinedVariable User Defined Variable}'. + * + * + * @return the meta object for class 'User Defined Variable'. + * @see org.eclipse.sirius.expression.UserDefinedVariable + * @generated + */ + EClass getUserDefinedVariable(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.UserDefinedVariable#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.sirius.expression.UserDefinedVariable#getValueExpression() + * @see #getUserDefinedVariable() + * @generated + */ + EAttribute getUserDefinedVariable_ValueExpression(); + /** * Returns the meta object for data type '{@link java.lang.Void Void}'. * @@ -636,6 +732,17 @@ public interface ExpressionPackage extends EPackage { */ EDataType getPredicate(); + /** + * Returns the meta object for data type '{@link java.lang.String Expression}'. + * + * + * @return the meta object for data type 'Expression'. + * @see java.lang.String + * @model instanceClass="java.lang.String" + * @generated + */ + EDataType getExpression(); + /** * Returns the factory that creates the instances of the model. * @@ -837,6 +944,24 @@ public interface ExpressionPackage extends EPackage { */ EReference SIRIUS_PARAMETER__VARIABLE = eINSTANCE.getSiriusParameter_Variable(); + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.UserDefinedVariableImpl User Defined Variable}' class. + * + * + * @see org.eclipse.sirius.expression.impl.UserDefinedVariableImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getUserDefinedVariable() + * @generated + */ + EClass USER_DEFINED_VARIABLE = eINSTANCE.getUserDefinedVariable(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute USER_DEFINED_VARIABLE__VALUE_EXPRESSION = eINSTANCE.getUserDefinedVariable_ValueExpression(); + /** * The meta object literal for the 'Void' data type. * @@ -867,6 +992,16 @@ public interface ExpressionPackage extends EPackage { */ EDataType PREDICATE = eINSTANCE.getPredicate(); + /** + * The meta object literal for the 'Expression' data type. + * + * + * @see java.lang.String + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getExpression() + * @generated + */ + EDataType EXPRESSION = eINSTANCE.getExpression(); + } } //ExpressionPackage diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/UserDefinedVariable.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/UserDefinedVariable.java new file mode 100644 index 000000000..ac0423264 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/UserDefinedVariable.java @@ -0,0 +1,54 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + + +/** + * + * A representation of the model object 'User Defined Variable'. + * + * + *

                + * The following features are supported: + *

                + *
                  + *
                • {@link org.eclipse.sirius.expression.UserDefinedVariable#getValueExpression Value Expression}
                • + *
                + * + * @see org.eclipse.sirius.expression.ExpressionPackage#getUserDefinedVariable() + * @model + * @generated + */ +public interface UserDefinedVariable extends SiriusVariable { + /** + * Returns the value of the 'Value Expression' attribute. + * + *

                + * If the meaning of the 'Value Expression' attribute isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.sirius.expression.ExpressionPackage#getUserDefinedVariable_ValueExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.UserDefinedVariable#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + +} // UserDefinedVariable diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java index 4089664e4..35433f597 100644 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java @@ -67,6 +67,7 @@ public class ExpressionFactoryImpl extends EFactoryImpl implements ExpressionFac case ExpressionPackage.SIRIUS_VARIABLE: return createSiriusVariable(); case ExpressionPackage.SIRIUS_EXPRESSION_CLASS: return createSiriusExpressionClass(); case ExpressionPackage.SIRIUS_PARAMETER: return createSiriusParameter(); + case ExpressionPackage.USER_DEFINED_VARIABLE: return createUserDefinedVariable(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ } @@ -86,6 +87,8 @@ public class ExpressionFactoryImpl extends EFactoryImpl implements ExpressionFac return createObjectFromString(eDataType, initialValue); case ExpressionPackage.PREDICATE: return createPredicateFromString(eDataType, initialValue); + case ExpressionPackage.EXPRESSION: + return createExpressionFromString(eDataType, initialValue); default: throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ } @@ -105,6 +108,8 @@ public class ExpressionFactoryImpl extends EFactoryImpl implements ExpressionFac return convertObjectToString(eDataType, instanceValue); case ExpressionPackage.PREDICATE: return convertPredicateToString(eDataType, instanceValue); + case ExpressionPackage.EXPRESSION: + return convertExpressionToString(eDataType, instanceValue); default: throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ } @@ -160,6 +165,16 @@ public class ExpressionFactoryImpl extends EFactoryImpl implements ExpressionFac return siriusParameter; } + /** + * + * + * @generated + */ + public UserDefinedVariable createUserDefinedVariable() { + UserDefinedVariableImpl userDefinedVariable = new UserDefinedVariableImpl(); + return userDefinedVariable; + } + /** * * @@ -214,6 +229,24 @@ public class ExpressionFactoryImpl extends EFactoryImpl implements ExpressionFac return super.convertToString(eDataType, instanceValue); } + /** + * + * + * @generated + */ + public String createExpressionFromString(EDataType eDataType, String initialValue) { + return (String)super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertExpressionToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + /** * * diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java index 0d27cafc3..bf4a9e42f 100644 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java @@ -22,6 +22,7 @@ import org.eclipse.sirius.expression.SiriusExpressionDescription; import org.eclipse.sirius.expression.SiriusExpressionPackage; import org.eclipse.sirius.expression.SiriusParameter; import org.eclipse.sirius.expression.SiriusVariable; +import org.eclipse.sirius.expression.UserDefinedVariable; /** * @@ -65,6 +66,13 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac */ private EClass siriusParameterEClass = null; + /** + * + * + * @generated + */ + private EClass userDefinedVariableEClass = null; + /** * * @@ -86,6 +94,13 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac */ private EDataType predicateEDataType = null; + /** + * + * + * @generated + */ + private EDataType expressionEDataType = null; + /** * Creates an instance of the model Package, registered with * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package @@ -339,6 +354,24 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac return (EReference)siriusParameterEClass.getEStructuralFeatures().get(1); } + /** + * + * + * @generated + */ + public EClass getUserDefinedVariable() { + return userDefinedVariableEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getUserDefinedVariable_ValueExpression() { + return (EAttribute)userDefinedVariableEClass.getEStructuralFeatures().get(0); + } + /** * * @@ -366,6 +399,15 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac return predicateEDataType; } + /** + * + * + * @generated + */ + public EDataType getExpression() { + return expressionEDataType; + } + /** * * @@ -420,10 +462,14 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac createEAttribute(siriusParameterEClass, SIRIUS_PARAMETER__OPTIONAL); createEReference(siriusParameterEClass, SIRIUS_PARAMETER__VARIABLE); + userDefinedVariableEClass = createEClass(USER_DEFINED_VARIABLE); + createEAttribute(userDefinedVariableEClass, USER_DEFINED_VARIABLE__VALUE_EXPRESSION); + // Create data types voidEDataType = createEDataType(VOID); objectEDataType = createEDataType(OBJECT); predicateEDataType = createEDataType(PREDICATE); + expressionEDataType = createEDataType(EXPRESSION); } /** @@ -457,6 +503,7 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac // Set bounds for type parameters // Add supertypes to classes + userDefinedVariableEClass.getESuperTypes().add(this.getSiriusVariable()); // Initialize classes, features, and operations; add parameters initEClass(siriusExpressionPackageEClass, SiriusExpressionPackage.class, "SiriusExpressionPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ @@ -485,10 +532,14 @@ public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPac initEAttribute(getSiriusParameter_Optional(), ecorePackage.getEBoolean(), "optional", null, 0, 1, SiriusParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference(getSiriusParameter_Variable(), this.getSiriusVariable(), null, "variable", null, 0, 1, SiriusParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEClass(userDefinedVariableEClass, UserDefinedVariable.class, "UserDefinedVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getUserDefinedVariable_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, UserDefinedVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + // Initialize data types initEDataType(voidEDataType, Void.class, "Void", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEDataType(objectEDataType, Object.class, "Object", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEDataType(predicateEDataType, Object.class, "Predicate", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEDataType(expressionEDataType, String.class, "Expression", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ // Create resource createResource(eNS_URI); diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/UserDefinedVariableImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/UserDefinedVariableImpl.java new file mode 100644 index 000000000..599b57c23 --- /dev/null +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/UserDefinedVariableImpl.java @@ -0,0 +1,167 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.UserDefinedVariable; + +/** + * + * An implementation of the model object 'User Defined Variable'. + * + *

                + * The following features are implemented: + *

                + *
                  + *
                • {@link org.eclipse.sirius.expression.impl.UserDefinedVariableImpl#getValueExpression Value Expression}
                • + *
                + * + * @generated + */ +public class UserDefinedVariableImpl extends SiriusVariableImpl implements UserDefinedVariable { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected UserDefinedVariableImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.USER_DEFINED_VARIABLE; + } + + /** + * + * + * @generated + */ + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION, oldValueExpression, valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION: + return getValueExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION: + setValueExpression((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(')'); + return result.toString(); + } + +} //UserDefinedVariableImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java index 15d39b9fc..79aac7ba5 100644 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java @@ -93,6 +93,10 @@ public class ExpressionAdapterFactory extends AdapterFactoryImpl { return createSiriusParameterAdapter(); } @Override + public Adapter caseUserDefinedVariable(UserDefinedVariable object) { + return createUserDefinedVariableAdapter(); + } + @Override public Adapter defaultCase(EObject object) { return createEObjectAdapter(); } @@ -182,6 +186,20 @@ public class ExpressionAdapterFactory extends AdapterFactoryImpl { return null; } + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.UserDefinedVariable User Defined Variable}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.UserDefinedVariable + * @generated + */ + public Adapter createUserDefinedVariableAdapter() { + return null; + } + /** * Creates a new adapter for the default case. * diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java index 47577a709..b43178246 100644 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java +++ b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java @@ -101,6 +101,13 @@ public class ExpressionSwitch extends Switch { if (result == null) result = defaultCase(theEObject); return result; } + case ExpressionPackage.USER_DEFINED_VARIABLE: { + UserDefinedVariable userDefinedVariable = (UserDefinedVariable)theEObject; + T result = caseUserDefinedVariable(userDefinedVariable); + if (result == null) result = caseSiriusVariable(userDefinedVariable); + if (result == null) result = defaultCase(theEObject); + return result; + } default: return defaultCase(theEObject); } } @@ -180,6 +187,21 @@ public class ExpressionSwitch extends Switch { return null; } + /** + * Returns the result of interpreting the object as an instance of 'User Defined Variable'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'User Defined Variable'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUserDefinedVariable(UserDefinedVariable object) { + return null; + } + /** * Returns the result of interpreting the object as an instance of 'EObject'. * -- cgit v1.2.3 From 364c5cab72ed87db052dd66e7d663cf6f0de3d07 Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Wed, 28 Oct 2015 14:36:12 +0100 Subject: Fix styles in eef.ecore Change-Id: I0eee626bbc9e03bcca765895f57f95237a18a737 Signed-off-by: Mélanie Bats --- plugins/org.eclipse.eef/model/eef.aird | 266 +++++++++++++++++++++++++++++++- plugins/org.eclipse.eef/model/eef.ecore | 120 ++++++++++++++ 2 files changed, 385 insertions(+), 1 deletion(-) diff --git a/plugins/org.eclipse.eef/model/eef.aird b/plugins/org.eclipse.eef/model/eef.aird index 3169fd773..e5710e94c 100644 --- a/plugins/org.eclipse.eef/model/eef.aird +++ b/plugins/org.eclipse.eef/model/eef.aird @@ -10,6 +10,10 @@ http://www.eclipse.org/emf/2002/Ecore platform:/resource/org.eclipse.sirius.contentassist/model/contentassist.ecore platform:/resource/org.eclipse.sirius.validation/model/validation.ecore + platform:/resource/org.eclipse.sirius.expression/model/expression.genmodel + platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel + platform:/resource/org.eclipse.sirius.expression/model/expression.ecore + platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore @@ -4842,6 +4846,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5453,6 +5483,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5531,6 +5587,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5557,6 +5639,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5622,6 +5730,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5713,6 +5847,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5791,6 +5951,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5895,6 +6081,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5947,6 +6159,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6012,6 +6250,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7310,7 +7574,7 @@ - + diff --git a/plugins/org.eclipse.eef/model/eef.ecore b/plugins/org.eclipse.eef/model/eef.ecore index e8e51ada8..1b827b95f 100644 --- a/plugins/org.eclipse.eef/model/eef.ecore +++ b/plugins/org.eclipse.eef/model/eef.ecore @@ -193,6 +193,18 @@
                + + +
                + + + + +
                + + @@ -456,6 +468,18 @@
                + + +
                + + + + +
                + + @@ -487,6 +511,18 @@
                + + +
                + + + + +
                + + @@ -497,6 +533,18 @@
                + + +
                + + + + +
                + + @@ -523,6 +571,18 @@
                + + +
                + + + + +
                + + @@ -560,6 +620,18 @@
                + + +
                + + + + +
                + + @@ -590,6 +662,18 @@
                + + +
                + + + + +
                + + @@ -630,6 +714,18 @@
                + + +
                + + + + +
                + + @@ -650,6 +746,18 @@
                + + +
                + + + + +
                + + @@ -677,6 +785,18 @@
                + + +
                + + + + +
                + + -- cgit v1.2.3 From 1f11ccc494779a9b17e61acaaf1f9cdc734b1acf Mon Sep 17 00:00:00 2001 From: Stéphane Bégaudeau Date: Mon, 16 Nov 2015 16:05:57 +0100 Subject: Expose the selection as a new variable during the edition Change-Id: Ieef2d516cfc2aa2b0cf7c75734199952328dd6ff Signed-off-by: Stéphane Bégaudeau --- .../src/org/eclipse/eef/core/api/EEFText.java | 4 +- .../org/eclipse/eef/core/internal/EEFTextImpl.java | 60 ++++++++-------------- .../eef/ide/ui/internal/data/EEFSection.java | 22 +++++--- 3 files changed, 40 insertions(+), 46 deletions(-) diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java index 9139e0ebf..a64de501f 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java @@ -40,11 +40,13 @@ public interface EEFText extends EEFWidget { /** * Updates the value of the text. + * + * @param selection * * @param newValue * The new value */ - void updateValue(String newValue); + void updateValue(Object selection, String newValue); /** * Adds a consumer which will be triggered when the label expression is evaluated. diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java index 639a072ad..d624ac35b 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java @@ -23,7 +23,6 @@ import org.eclipse.eef.interpreter.api.IEvaluationResult; import org.eclipse.eef.interpreter.api.IInterpreter; import org.eclipse.emf.common.command.Command; import org.eclipse.emf.common.command.CommandStack; -import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.transaction.RecordingCommand; import org.eclipse.emf.transaction.TransactionalEditingDomain; @@ -98,55 +97,40 @@ public class EEFTextImpl extends AbstractEEFWidgetImpl implements EEFText { */ @Override public void setInput(Object object) { - Command command = new RecordingCommand(this.editingDomain) { - @Override - protected void doExecute() { - String valueExpression = EEFTextImpl.this.eefTextDescription.getValueExpression(); - if (valueExpression != null) { - IEvaluationResult evaluationResult = EEFTextImpl.this.getInterpreter() - .evaluateExpression(EEFTextImpl.this.getVariableManager().getVariables(), null, valueExpression); - Object value = evaluationResult.getValue(); - if (value instanceof String && EEFTextImpl.this.valueExpressionConsumer != null) { - EEFTextImpl.this.valueExpressionConsumer.apply((String) value); - } - } - - String labelExpression = EEFTextImpl.this.eefTextDescription.getLabelExpression(); - if (labelExpression != null) { - IEvaluationResult evaluationResult = EEFTextImpl.this.getInterpreter() - .evaluateExpression(EEFTextImpl.this.getVariableManager().getVariables(), null, labelExpression); - Object value = evaluationResult.getValue(); - if (value instanceof String && EEFTextImpl.this.labelExpressionConsumer != null) { - EEFTextImpl.this.labelExpressionConsumer.apply((String) value); - } - } + String valueExpression = EEFTextImpl.this.eefTextDescription.getValueExpression(); + if (valueExpression != null) { + IEvaluationResult evaluationResult = EEFTextImpl.this.getInterpreter() + .evaluateExpression(EEFTextImpl.this.getVariableManager().getVariables(), null, valueExpression); + Object value = evaluationResult.getValue(); + if (value instanceof String && EEFTextImpl.this.valueExpressionConsumer != null) { + EEFTextImpl.this.valueExpressionConsumer.apply((String) value); } - }; - CommandStack commandStack = this.editingDomain.getCommandStack(); - commandStack.execute(command); + } + + String labelExpression = EEFTextImpl.this.eefTextDescription.getLabelExpression(); + if (labelExpression != null) { + IEvaluationResult evaluationResult = EEFTextImpl.this.getInterpreter() + .evaluateExpression(EEFTextImpl.this.getVariableManager().getVariables(), null, labelExpression); + Object value = evaluationResult.getValue(); + if (value instanceof String && EEFTextImpl.this.labelExpressionConsumer != null) { + EEFTextImpl.this.labelExpressionConsumer.apply((String) value); + } + } } - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFText#updateValue(java.lang.String) - */ @Override - public void updateValue(final String newValue) { + public void updateValue(final Object selection, final String newValue) { Command command = new RecordingCommand(this.editingDomain) { @Override protected void doExecute() { - Object object = EEFTextImpl.this.getVariableManager().getVariables().get(EEFExpressionUtils.EEFView.VIEW_SEMANTIC_CANDIDATE); - if (object instanceof EObject) { - EObject eObject = (EObject) object; - eObject.eSet(eObject.eClass().getEStructuralFeature("name"), "YOUHOUYOUHOU"); //$NON-NLS-1$//$NON-NLS-2$ - } - String editExpression = EEFTextImpl.this.eefTextDescription.getEditExpression(); if (editExpression != null) { Map variables = new HashMap(); variables.putAll(EEFTextImpl.this.getVariableManager().getVariables()); variables.put(EEFExpressionUtils.EEFText.NEW_VALUE, newValue); + + // FIXME REMOVE THIS HARDCODED STUFF!!!! + variables.put("selection", selection); //$NON-NLS-1$ EEFTextImpl.this.getInterpreter().evaluateExpression(variables, null, editExpression); } } diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java index 8a133193c..31532f035 100644 --- a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java @@ -13,6 +13,7 @@ package org.eclipse.eef.ide.ui.internal.data; import java.util.ArrayList; import java.util.List; +import org.eclipse.core.runtime.Platform; import org.eclipse.eef.core.api.EEFChildObject; import org.eclipse.eef.core.api.EEFContainer; import org.eclipse.eef.core.api.EEFGroup; @@ -57,6 +58,8 @@ public class EEFSection implements ISection { */ private List widgets = new ArrayList(); + private Object selection; + /** * The constructor. * @@ -118,10 +121,13 @@ public class EEFSection implements ISection { public void setInput(IWorkbenchPart part, ISelection selection) { if (selection instanceof IStructuredSelection) { IStructuredSelection iStructuredSelection = (IStructuredSelection) selection; - Object firstElement = iStructuredSelection.getFirstElement(); - if (firstElement instanceof EObject) { - EObject eObject = (EObject) firstElement; + Object object = iStructuredSelection.getFirstElement(); + + this.selection = ((IStructuredSelection) selection).getFirstElement(); + + EObject eObject = Platform.getAdapterManager().getAdapter(object, EObject.class); + if (eObject != null) { for (Widget widget : widgets) { if (widget instanceof Text && ((Text) widget).getData() instanceof EEFText) { Text text = (Text) widget; @@ -177,9 +183,11 @@ public class EEFSection implements ISection { eefText.addValueExpressionConsumer(new IConsumer() { @Override public void apply(String value) { - text.setText(value); - if (!text.isEnabled()) { - text.setEnabled(true); + if (!text.isDisposed()) { + text.setText(value); + if (!text.isEnabled()) { + text.setEnabled(true); + } } } }); @@ -187,7 +195,7 @@ public class EEFSection implements ISection { text.addModifyListener(new ModifyListener() { @Override public void modifyText(ModifyEvent e) { - eefText.updateValue(text.getText()); + eefText.updateValue(selection, text.getText()); } }); } -- cgit v1.2.3 From 04f3f4568da96ac7ff89c75428abfb39dfe66f26 Mon Sep 17 00:00:00 2001 From: Stéphane Bégaudeau Date: Fri, 20 Nov 2015 14:09:11 +0100 Subject: Contribute the first version of the build for EEF NG 1) A build has been contributed for all the org.eclipse.eef.* projects 2) All the plugins that will not be used now have been moved to the prototypes directory. Change-Id: I4477be42b519df975a426fb8016ea5b5276cc729 Signed-off-by: Stéphane Bégaudeau --- .../META-INF/MANIFEST.MF | 2 +- doc/org.eclipse.eef.documentation/pom.xml | 37 + .../.classpath | 7 - doc/org.eclipse.sirius.expression.design/.project | 34 - .../META-INF/MANIFEST.MF | 13 - .../about.html | 28 - .../build.properties | 7 - .../description/expression.odesign | 192 - .../plugin.xml | 10 - .../sirius/expression/design/Activator.java | 66 - features/org.eclipse.eef.sdk-feature/feature.xml | 44 +- features/org.eclipse.eef.sdk-feature/pom.xml | 37 + plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF | 3 +- plugins/org.eclipse.eef.core/build.properties | 3 +- plugins/org.eclipse.eef.core/pom.xml | 37 + .../src/org/eclipse/eef/core/api/EEFText.java | 3 +- .../eef/core/internal/EEFCompoundInterpreter.java | 25 +- .../eclipse/eef/core/internal/EEFGroupImpl.java | 10 +- .../org/eclipse/eef/core/internal/EEFPageImpl.java | 7 +- .../org/eclipse/eef/core/internal/EEFTextImpl.java | 6 +- .../org/eclipse/eef/core/internal/EEFViewImpl.java | 2 +- plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF | 4 +- .../EEFAdapterFactoryTableStructureDescription.gif | Bin 129 -> 0 bytes .../EEFAdapterFactoryTreeStructureDescription.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFCellWidgetDescription.gif | Bin 129 -> 0 bytes .../full/obj16/EEFCheckboxConditionalStyle.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFCheckboxDescription.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFCheckboxStyle.gif | Bin 129 -> 0 bytes .../full/obj16/EEFCheckboxStyleCustomization.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFColumnConditionalStyle.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFColumnDescription.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFColumnStyle.gif | Bin 129 -> 0 bytes .../full/obj16/EEFColumnStyleCustomization.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFGroupConditionalStyle.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFGroupStyle.gif | Bin 129 -> 0 bytes .../full/obj16/EEFGroupStyleCustomization.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFImageDescription.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFImagePickerDescription.gif | Bin 129 -> 0 bytes .../EEFInterpretedTableStructureDescription.gif | Bin 129 -> 0 bytes .../EEFInterpretedTreeStructureDescription.gif | Bin 129 -> 0 bytes .../full/obj16/EEFJavaExtensionDescription.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFLabelConditionalStyle.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFLabelDescription.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFLabelStyle.gif | Bin 129 -> 0 bytes .../full/obj16/EEFLabelStyleCustomization.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFLineConditionalStyle.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFLineDescription.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFLineStyle.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFLineStyleCustomization.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFLinkConditionalStyle.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFLinkDescription.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFLinkStyle.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFLinkStyleCustomization.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFQuickFix.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFRadioConditionalStyle.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFRadioDescription.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFRadioStyle.gif | Bin 129 -> 0 bytes .../full/obj16/EEFRadioStyleCustomization.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFSelectConditionalStyle.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFSelectDescription.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFSelectStyle.gif | Bin 129 -> 0 bytes .../full/obj16/EEFSelectStyleCustomization.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFTableConditionalStyle.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFTableDescription.gif | Bin 129 -> 0 bytes .../full/obj16/EEFTableStructureDescription.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFTableStyle.gif | Bin 129 -> 0 bytes .../full/obj16/EEFTableStyleCustomization.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFTextConditionalStyle.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFTextStyle.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFTextStyleCustomization.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFTreeConditionalStyle.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFTreeDescription.gif | Bin 129 -> 0 bytes .../full/obj16/EEFTreeDialogSelectDescription.gif | Bin 129 -> 0 bytes .../full/obj16/EEFTreeStructureDescription.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFTreeStyle.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFTreeStyleCustomization.gif | Bin 129 -> 0 bytes .../icons/full/obj16/EEFValidation.gif | Bin 129 -> 0 bytes plugins/org.eclipse.eef.edit/plugin.properties | 337 +- plugins/org.eclipse.eef.edit/pom.xml | 37 + ...ctoryTableStructureDescriptionItemProvider.java | 137 - ...actoryTreeStructureDescriptionItemProvider.java | 139 - .../EEFCellWidgetDescriptionItemProvider.java | 113 - .../EEFCheckboxConditionalStyleItemProvider.java | 174 - .../EEFCheckboxDescriptionItemProvider.java | 156 - .../EEFCheckboxStyleCustomizationItemProvider.java | 154 - .../eef/provider/EEFCheckboxStyleItemProvider.java | 156 - .../EEFColumnConditionalStyleItemProvider.java | 157 - .../provider/EEFColumnDescriptionItemProvider.java | 185 - .../EEFColumnStyleCustomizationItemProvider.java | 154 - .../eef/provider/EEFColumnStyleItemProvider.java | 188 - .../provider/EEFConditionalStyleItemProvider.java | 148 - .../EEFContainerDescriptionItemProvider.java | 184 +- .../EEFGroupConditionalStyleItemProvider.java | 157 - .../provider/EEFGroupDescriptionItemProvider.java | 161 +- .../EEFGroupStyleCustomizationItemProvider.java | 154 - .../eef/provider/EEFGroupStyleItemProvider.java | 138 - .../provider/EEFImageDescriptionItemProvider.java | 138 - .../EEFImagePickerDescriptionItemProvider.java | 173 - ...retedTableStructureDescriptionItemProvider.java | 160 - ...pretedTreeStructureDescriptionItemProvider.java | 190 - .../EEFJavaExtensionDescriptionItemProvider.java | 159 - .../EEFLabelConditionalStyleItemProvider.java | 157 - .../provider/EEFLabelDescriptionItemProvider.java | 138 - .../EEFLabelStyleCustomizationItemProvider.java | 154 - .../eef/provider/EEFLabelStyleItemProvider.java | 154 - .../EEFLineConditionalStyleItemProvider.java | 157 - .../provider/EEFLineDescriptionItemProvider.java | 229 - .../EEFLineStyleCustomizationItemProvider.java | 154 - .../eef/provider/EEFLineStyleItemProvider.java | 186 - .../EEFLinkConditionalStyleItemProvider.java | 157 - .../provider/EEFLinkDescriptionItemProvider.java | 138 - .../EEFLinkStyleCustomizationItemProvider.java | 154 - .../eef/provider/EEFLinkStyleItemProvider.java | 170 - .../provider/EEFPageDescriptionItemProvider.java | 163 +- .../eef/provider/EEFQuickFixItemProvider.java | 203 - .../EEFRadioConditionalStyleItemProvider.java | 157 - .../provider/EEFRadioDescriptionItemProvider.java | 188 - .../EEFRadioStyleCustomizationItemProvider.java | 154 - .../eef/provider/EEFRadioStyleItemProvider.java | 154 - .../EEFSelectConditionalStyleItemProvider.java | 157 - .../provider/EEFSelectDescriptionItemProvider.java | 203 - .../EEFSelectStyleCustomizationItemProvider.java | 154 - .../eef/provider/EEFSelectStyleItemProvider.java | 154 - .../EEFStyleCustomizationItemProvider.java | 117 - .../eclipse/eef/provider/EEFStyleItemProvider.java | 146 - .../EEFTableConditionalStyleItemProvider.java | 157 - .../provider/EEFTableDescriptionItemProvider.java | 168 - .../EEFTableStructureDescriptionItemProvider.java | 242 - .../EEFTableStyleCustomizationItemProvider.java | 154 - .../eef/provider/EEFTableStyleItemProvider.java | 113 - .../EEFTextConditionalStyleItemProvider.java | 157 - .../provider/EEFTextDescriptionItemProvider.java | 170 +- .../EEFTextStyleCustomizationItemProvider.java | 154 - .../eef/provider/EEFTextStyleItemProvider.java | 154 - .../EEFTreeConditionalStyleItemProvider.java | 157 - .../provider/EEFTreeDescriptionItemProvider.java | 168 - ...EEFTreeDialogSelectDescriptionItemProvider.java | 188 - .../EEFTreeStructureDescriptionItemProvider.java | 176 - .../EEFTreeStyleCustomizationItemProvider.java | 154 - .../eef/provider/EEFTreeStyleItemProvider.java | 113 - .../eef/provider/EEFValidationItemProvider.java | 196 - .../provider/EEFViewDescriptionItemProvider.java | 167 +- .../provider/EEFWidgetDescriptionItemProvider.java | 176 +- .../org/eclipse/eef/provider/EefEditPlugin.java | 54 +- .../provider/EefItemProviderAdapterFactory.java | 1506 +- plugins/org.eclipse.eef.expression/.classpath | 7 - plugins/org.eclipse.eef.expression/.project | 34 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 16 - plugins/org.eclipse.eef.expression/about.html | 28 - .../org.eclipse.eef.expression/build.properties | 13 - plugins/org.eclipse.eef.expression/eef.expression | 583 - .../org.eclipse.eef.expression/plugin.properties | 9 - .../src/eef/expression/Activator.java | 60 - .../userDefinedVariable.expression | 8 - plugins/org.eclipse.eef.ide.ui/pom.xml | 37 + .../eef/ide/ui/internal/data/EEFSection.java | 9 +- plugins/org.eclipse.eef.ide/pom.xml | 37 + .../src/org/eclipse/eef/ide/internal/I18N.java | 29 +- .../extensions/AbstractRegistryEventListener.java | 25 +- .../META-INF/MANIFEST.MF | 3 +- plugins/org.eclipse.eef.interpreter.aql/pom.xml | 37 + .../interpreter/aql/internal/AQLInterpreter.java | 19 +- .../eclipse/eef/interpreter/aql/internal/I18N.java | 29 +- .../META-INF/MANIFEST.MF | 1 - .../org.eclipse.eef.interpreter/build.properties | 1 - plugins/org.eclipse.eef.interpreter/pom.xml | 37 + .../eclipse/eef/interpreter/api/IInterpreter.java | 17 +- plugins/org.eclipse.eef/META-INF/MANIFEST.MF | 3 +- plugins/org.eclipse.eef/model/eef.aird | 18692 ------------------- plugins/org.eclipse.eef/model/eef.ecore | 1248 +- plugins/org.eclipse.eef/model/eef.genmodel | 255 +- plugins/org.eclipse.eef/model/eef2_legacy.ecore | 1346 ++ plugins/org.eclipse.eef/pom.xml | 37 + ...EEFAdapterFactoryTableStructureDescription.java | 57 - .../EEFAdapterFactoryTreeStructureDescription.java | 57 - .../org/eclipse/eef/EEFCellWidgetDescription.java | 26 - .../eclipse/eef/EEFCheckboxConditionalStyle.java | 59 - .../org/eclipse/eef/EEFCheckboxDescription.java | 83 - .../src-gen/org/eclipse/eef/EEFCheckboxStyle.java | 83 - .../eclipse/eef/EEFCheckboxStyleCustomization.java | 57 - .../org/eclipse/eef/EEFColumnConditionalStyle.java | 57 - .../org/eclipse/eef/EEFColumnDescription.java | 111 - .../src-gen/org/eclipse/eef/EEFColumnStyle.java | 135 - .../eclipse/eef/EEFColumnStyleCustomization.java | 57 - .../org/eclipse/eef/EEFConditionalStyle.java | 59 - .../org/eclipse/eef/EEFContainerDescription.java | 184 +- .../org/eclipse/eef/EEFGroupConditionalStyle.java | 57 - .../org/eclipse/eef/EEFGroupDescription.java | 246 +- .../src-gen/org/eclipse/eef/EEFGroupStyle.java | 57 - .../eclipse/eef/EEFGroupStyleCustomization.java | 57 - .../org/eclipse/eef/EEFImageDescription.java | 57 - .../org/eclipse/eef/EEFImagePickerDescription.java | 109 - .../EEFInterpretedTableStructureDescription.java | 75 - .../EEFInterpretedTreeStructureDescription.java | 135 - .../eclipse/eef/EEFJavaExtensionDescription.java | 59 - .../org/eclipse/eef/EEFLabelConditionalStyle.java | 57 - .../org/eclipse/eef/EEFLabelDescription.java | 57 - .../src-gen/org/eclipse/eef/EEFLabelStyle.java | 83 - .../eclipse/eef/EEFLabelStyleCustomization.java | 57 - .../org/eclipse/eef/EEFLineConditionalStyle.java | 57 - .../org/eclipse/eef/EEFLineDescription.java | 129 - .../src-gen/org/eclipse/eef/EEFLineStyle.java | 135 - .../org/eclipse/eef/EEFLineStyleCustomization.java | 57 - .../org/eclipse/eef/EEFLinkConditionalStyle.java | 57 - .../org/eclipse/eef/EEFLinkDescription.java | 57 - .../src-gen/org/eclipse/eef/EEFLinkStyle.java | 109 - .../org/eclipse/eef/EEFLinkStyleCustomization.java | 57 - .../org/eclipse/eef/EEFPageDescription.java | 190 +- .../src-gen/org/eclipse/eef/EEFQuickFix.java | 137 - .../org/eclipse/eef/EEFRadioConditionalStyle.java | 57 - .../org/eclipse/eef/EEFRadioDescription.java | 135 - .../src-gen/org/eclipse/eef/EEFRadioStyle.java | 83 - .../eclipse/eef/EEFRadioStyleCustomization.java | 57 - .../org/eclipse/eef/EEFSelectConditionalStyle.java | 57 - .../org/eclipse/eef/EEFSelectDescription.java | 161 - .../src-gen/org/eclipse/eef/EEFSelectStyle.java | 83 - .../eclipse/eef/EEFSelectStyleCustomization.java | 57 - .../src-gen/org/eclipse/eef/EEFStyle.java | 59 - .../org/eclipse/eef/EEFStyleCustomization.java | 28 - .../org/eclipse/eef/EEFTableConditionalStyle.java | 57 - .../org/eclipse/eef/EEFTableDescription.java | 109 - .../eclipse/eef/EEFTableStructureDescription.java | 189 - .../src-gen/org/eclipse/eef/EEFTableStyle.java | 26 - .../eclipse/eef/EEFTableStyleCustomization.java | 57 - .../org/eclipse/eef/EEFTextConditionalStyle.java | 57 - .../org/eclipse/eef/EEFTextDescription.java | 205 +- .../src-gen/org/eclipse/eef/EEFTextStyle.java | 83 - .../org/eclipse/eef/EEFTextStyleCustomization.java | 57 - .../org/eclipse/eef/EEFTreeConditionalStyle.java | 57 - .../org/eclipse/eef/EEFTreeDescription.java | 109 - .../eef/EEFTreeDialogSelectDescription.java | 136 - .../eclipse/eef/EEFTreeStructureDescription.java | 85 - .../src-gen/org/eclipse/eef/EEFTreeStyle.java | 26 - .../org/eclipse/eef/EEFTreeStyleCustomization.java | 57 - .../src-gen/org/eclipse/eef/EEFValidation.java | 77 - .../org/eclipse/eef/EEFViewDescription.java | 225 +- .../org/eclipse/eef/EEFWidgetDescription.java | 201 +- .../src-gen/org/eclipse/eef/EefFactory.java | 514 +- .../src-gen/org/eclipse/eef/EefPackage.java | 8250 +------- ...dapterFactoryTableStructureDescriptionImpl.java | 175 - ...AdapterFactoryTreeStructureDescriptionImpl.java | 174 - .../eef/impl/EEFCellWidgetDescriptionImpl.java | 43 - .../eef/impl/EEFCheckboxConditionalStyleImpl.java | 217 - .../eef/impl/EEFCheckboxDescriptionImpl.java | 229 - .../impl/EEFCheckboxStyleCustomizationImpl.java | 216 - .../org/eclipse/eef/impl/EEFCheckboxStyleImpl.java | 231 - .../eef/impl/EEFColumnConditionalStyleImpl.java | 216 - .../eclipse/eef/impl/EEFColumnDescriptionImpl.java | 295 - .../eef/impl/EEFColumnStyleCustomizationImpl.java | 216 - .../org/eclipse/eef/impl/EEFColumnStyleImpl.java | 347 - .../eclipse/eef/impl/EEFConditionalStyleImpl.java | 174 - .../eef/impl/EEFContainerDescriptionImpl.java | 398 +- .../eef/impl/EEFGroupConditionalStyleImpl.java | 216 - .../eclipse/eef/impl/EEFGroupDescriptionImpl.java | 587 +- .../eef/impl/EEFGroupStyleCustomizationImpl.java | 216 - .../org/eclipse/eef/impl/EEFGroupStyleImpl.java | 173 - .../eclipse/eef/impl/EEFImageDescriptionImpl.java | 172 - .../eef/impl/EEFImagePickerDescriptionImpl.java | 287 - ...EFInterpretedTableStructureDescriptionImpl.java | 265 - ...EEFInterpretedTreeStructureDescriptionImpl.java | 346 - .../eef/impl/EEFJavaExtensionDescriptionImpl.java | 173 - .../eef/impl/EEFLabelConditionalStyleImpl.java | 216 - .../eclipse/eef/impl/EEFLabelDescriptionImpl.java | 172 - .../eef/impl/EEFLabelStyleCustomizationImpl.java | 216 - .../org/eclipse/eef/impl/EEFLabelStyleImpl.java | 231 - .../eef/impl/EEFLineConditionalStyleImpl.java | 216 - .../eclipse/eef/impl/EEFLineDescriptionImpl.java | 347 - .../eef/impl/EEFLineStyleCustomizationImpl.java | 216 - .../org/eclipse/eef/impl/EEFLineStyleImpl.java | 347 - .../eef/impl/EEFLinkConditionalStyleImpl.java | 216 - .../eclipse/eef/impl/EEFLinkDescriptionImpl.java | 172 - .../eef/impl/EEFLinkStyleCustomizationImpl.java | 216 - .../org/eclipse/eef/impl/EEFLinkStyleImpl.java | 289 - .../eclipse/eef/impl/EEFPageDescriptionImpl.java | 387 +- .../org/eclipse/eef/impl/EEFQuickFixImpl.java | 343 - .../eef/impl/EEFRadioConditionalStyleImpl.java | 216 - .../eclipse/eef/impl/EEFRadioDescriptionImpl.java | 345 - .../eef/impl/EEFRadioStyleCustomizationImpl.java | 216 - .../org/eclipse/eef/impl/EEFRadioStyleImpl.java | 231 - .../eef/impl/EEFSelectConditionalStyleImpl.java | 216 - .../eclipse/eef/impl/EEFSelectDescriptionImpl.java | 401 - .../eef/impl/EEFSelectStyleCustomizationImpl.java | 216 - .../org/eclipse/eef/impl/EEFSelectStyleImpl.java | 231 - .../eef/impl/EEFStyleCustomizationImpl.java | 45 - .../src-gen/org/eclipse/eef/impl/EEFStyleImpl.java | 172 - .../eef/impl/EEFTableConditionalStyleImpl.java | 216 - .../eclipse/eef/impl/EEFTableDescriptionImpl.java | 296 - .../eef/impl/EEFTableStructureDescriptionImpl.java | 456 - .../eef/impl/EEFTableStyleCustomizationImpl.java | 216 - .../org/eclipse/eef/impl/EEFTableStyleImpl.java | 43 - .../eef/impl/EEFTextConditionalStyleImpl.java | 216 - .../eclipse/eef/impl/EEFTextDescriptionImpl.java | 496 +- .../eef/impl/EEFTextStyleCustomizationImpl.java | 216 - .../org/eclipse/eef/impl/EEFTextStyleImpl.java | 231 - .../eef/impl/EEFTreeConditionalStyleImpl.java | 216 - .../eclipse/eef/impl/EEFTreeDescriptionImpl.java | 295 - .../impl/EEFTreeDialogSelectDescriptionImpl.java | 352 - .../eef/impl/EEFTreeStructureDescriptionImpl.java | 228 - .../eef/impl/EEFTreeStyleCustomizationImpl.java | 216 - .../org/eclipse/eef/impl/EEFTreeStyleImpl.java | 43 - .../org/eclipse/eef/impl/EEFValidationImpl.java | 234 - .../eclipse/eef/impl/EEFViewDescriptionImpl.java | 465 +- .../eclipse/eef/impl/EEFWidgetDescriptionImpl.java | 505 +- .../org/eclipse/eef/impl/EefFactoryImpl.java | 787 +- .../org/eclipse/eef/impl/EefPackageImpl.java | 3800 +--- .../org/eclipse/eef/util/EefAdapterFactory.java | 1228 +- .../src-gen/org/eclipse/eef/util/EefSwitch.java | 1549 +- .../org.eclipse.sirius.contentassist/.classpath | 7 - plugins/org.eclipse.sirius.contentassist/.project | 29 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 15 - .../org.eclipse.sirius.contentassist/about.html | 28 - .../build.properties | 10 - .../model/contentassist.aird | 200 - .../model/contentassist.ecore | 16 - .../model/contentassist.genmodel | 23 - .../plugin.properties | 4 - .../org.eclipse.sirius.contentassist/plugin.xml | 17 - .../sirius/contentassist/CompletionProposal.java | 218 - .../sirius/contentassist/ContentassistFactory.java | 48 - .../sirius/contentassist/ContentassistPackage.java | 397 - .../contentassist/impl/CompletionProposalImpl.java | 463 - .../impl/ContentassistFactoryImpl.java | 172 - .../impl/ContentassistPackageImpl.java | 290 - .../util/ContentassistAdapterFactory.java | 126 - .../contentassist/util/ContentassistSwitch.java | 116 - .../org.eclipse.sirius.expression.edit/.checkstyle | 13 - .../org.eclipse.sirius.expression.edit/.classpath | 11 - .../org.eclipse.sirius.expression.edit/.project | 34 - .../.settings/org.eclipse.jdt.core.prefs | 398 - .../.settings/org.eclipse.jdt.launching.prefs | 2 - .../.settings/org.eclipse.jdt.ui.prefs | 67 - .../.settings/org.eclipse.pde.prefs | 32 - .../META-INF/MANIFEST.MF | 17 - .../org.eclipse.sirius.expression.edit/about.html | 28 - .../build.properties | 16 - .../icons/full/obj16/ExpressionDescription.gif | Bin 129 -> 0 bytes .../icons/full/obj16/SiriusExpressionClass.gif | Bin 129 -> 0 bytes .../full/obj16/SiriusExpressionDescription.gif | Bin 129 -> 0 bytes .../icons/full/obj16/SiriusExpressionPackage.gif | Bin 129 -> 0 bytes .../icons/full/obj16/SiriusParameter.gif | Bin 129 -> 0 bytes .../icons/full/obj16/SiriusVariable.gif | Bin 129 -> 0 bytes .../icons/full/obj16/UserDefinedVariable.gif | Bin 129 -> 0 bytes .../icons/full/obj16/Variable.gif | Bin 129 -> 0 bytes .../plugin.properties | 59 - .../org.eclipse.sirius.expression.edit/plugin.xml | 27 - .../expression/provider/ExpressionEditPlugin.java | 96 - .../ExpressionItemProviderAdapterFactory.java | 324 - .../SiriusExpressionClassItemProvider.java | 219 - .../SiriusExpressionDescriptionItemProvider.java | 305 - .../SiriusExpressionPackageItemProvider.java | 207 - .../provider/SiriusParameterItemProvider.java | 194 - .../provider/SiriusVariableItemProvider.java | 220 - .../provider/UserDefinedVariableItemProvider.java | 147 - .../.classpath | 7 - .../.project | 34 - .../.settings/org.eclipse.core.resources.prefs | 2 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 25 - .../about.html | 28 - .../build.properties | 12 - ...org.eclipse.sirius.expression.text.tests.launch | 13 - .../plugin.properties | 8 - .../text/ExpressionTextInjectorProvider.java | 48 - .../text/ExpressionTextUiInjectorProvider.java | 17 - .../.classpath | 9 - .../org.eclipse.sirius.expression.text.ui/.project | 34 - .../.settings/org.eclipse.core.resources.prefs | 2 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 27 - .../about.html | 28 - .../build.properties | 14 - .../plugin.properties | 8 - .../plugin.xml | 425 - .../plugin.xml_gen | 425 - .../text/ui/AbstractExpressionTextUiModule.java | 196 - .../ExpressionTextExecutableExtensionFactory.java | 29 - .../AbstractExpressionTextProposalProvider.java | 101 - .../contentassist/antlr/ExpressionTextParser.java | 99 - .../PartialExpressionTextContentAssistParser.java | 38 - .../antlr/internal/InternalExpressionText.g | 2197 --- .../antlr/internal/InternalExpressionText.tokens | 40 - .../internal/InternalExpressionTextLexer.java | 959 - .../internal/InternalExpressionTextParser.java | 5612 ------ .../text/ui/internal/ExpressionTextActivator.java | 95 - .../expression/text/ui/ExpressionTextUiModule.java | 15 - .../ExpressionTextProposalProvider.xtend | 13 - .../ExpressionTextDescriptionLabelProvider.xtend | 24 - .../ui/labeling/ExpressionTextLabelProvider.xtend | 29 - .../ExpressionTextOutlineTreeProvider.xtend | 13 - .../quickfix/ExpressionTextQuickfixProvider.xtend | 26 - .../ExpressionTextProposalProvider.java | 14 - .../ExpressionTextDescriptionLabelProvider.java | 15 - .../ui/labeling/ExpressionTextLabelProvider.java | 21 - .../outline/ExpressionTextOutlineTreeProvider.java | 15 - .../quickfix/ExpressionTextQuickfixProvider.java | 15 - .../.antlr-generator-3.2.0-patch.jar | Bin 1484649 -> 0 bytes .../org.eclipse.sirius.expression.text/.classpath | 9 - ...ure (org.eclipse.sirius.expression.text).launch | 18 - .../.launch/Launch Runtime Eclipse.launch | 34 - .../org.eclipse.sirius.expression.text/.project | 34 - .../.settings/org.eclipse.core.resources.prefs | 2 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 29 - .../org.eclipse.sirius.expression.text/about.html | 28 - .../build.properties | 21 - .../plugin.properties | 8 - .../text/AbstractExpressionTextRuntimeModule.java | 156 - .../sirius/expression/text/ExpressionText.xtextbin | Bin 2588 -> 0 bytes .../ExpressionTextStandaloneSetupGenerated.java | 53 - .../ExpressionTextAntlrTokenFileProvider.java | 16 - .../text/parser/antlr/ExpressionTextParser.java | 39 - .../parser/antlr/internal/InternalExpressionText.g | 639 - .../antlr/internal/InternalExpressionText.tokens | 40 - .../internal/InternalExpressionTextLexer.java | 959 - .../internal/InternalExpressionTextParser.java | 1484 -- .../ExpressionTextSemanticSequencer.java | 102 - .../ExpressionTextSyntacticSequencer.java | 43 - .../text/services/ExpressionTextGrammarAccess.java | 584 - .../AbstractExpressionTextValidator.java | 18 - .../sirius/expression/text/ExpressionText.xtext | 45 - .../text/ExpressionTextRuntimeModule.java | 18 - .../text/ExpressionTextStandaloneSetup.java | 16 - .../expression/text/GenerateExpressionText.mwe2 | 137 - .../text/formatting/ExpressionTextFormatter.xtend | 30 - .../text/generator/ExpressionTextGenerator.xtend | 24 - .../scoping/ExpressionTextContainerState.xtend | 32 - .../text/scoping/ExpressionTextScopeProvider.xtend | 15 - .../ExpressionTextStateBasedContainer.xtend | 19 - .../ExpressionTextStatedContainerManager.xtend | 19 - .../text/validation/ExpressionTextValidator.xtend | 25 - .../text/formatting/ExpressionTextFormatter.java | 22 - .../text/generator/ExpressionTextGenerator.java | 20 - .../text/scoping/ExpressionTextContainerState.java | 39 - .../text/scoping/ExpressionTextScopeProvider.java | 16 - .../scoping/ExpressionTextStateBasedContainer.java | 18 - .../ExpressionTextStatedContainerManager.java | 23 - .../text/validation/ExpressionTextValidator.java | 15 - plugins/org.eclipse.sirius.expression/.checkstyle | 13 - plugins/org.eclipse.sirius.expression/.classpath | 11 - plugins/org.eclipse.sirius.expression/.project | 41 - .../.settings/org.eclipse.jdt.core.prefs | 398 - .../.settings/org.eclipse.jdt.launching.prefs | 2 - .../.settings/org.eclipse.jdt.ui.prefs | 67 - .../.settings/org.eclipse.pde.prefs | 32 - .../META-INF/MANIFEST.MF | 16 - plugins/org.eclipse.sirius.expression/about.html | 28 - .../org.eclipse.sirius.expression/build.properties | 16 - .../model/expression.aird | 928 - .../model/expression.ecore | 120 - .../model/expression.genmodel | 48 - .../plugin.properties | 8 - plugins/org.eclipse.sirius.expression/plugin.xml | 22 - .../sirius/expression/ExpressionFactory.java | 92 - .../sirius/expression/ExpressionPackage.java | 1007 - .../sirius/expression/SiriusExpressionClass.java | 94 - .../expression/SiriusExpressionDescription.java | 174 - .../sirius/expression/SiriusExpressionPackage.java | 77 - .../eclipse/sirius/expression/SiriusParameter.java | 82 - .../eclipse/sirius/expression/SiriusVariable.java | 112 - .../sirius/expression/UserDefinedVariable.java | 54 - .../org/eclipse/sirius/expression/Variable.java | 84 - .../expression/impl/ExpressionFactoryImpl.java | 270 - .../expression/impl/ExpressionPackageImpl.java | 548 - .../expression/impl/SiriusExpressionClassImpl.java | 255 - .../impl/SiriusExpressionDescriptionImpl.java | 438 - .../impl/SiriusExpressionPackageImpl.java | 220 - .../expression/impl/SiriusParameterImpl.java | 230 - .../sirius/expression/impl/SiriusVariableImpl.java | 284 - .../expression/impl/UserDefinedVariableImpl.java | 167 - .../expression/util/ExpressionAdapterFactory.java | 215 - .../sirius/expression/util/ExpressionSwitch.java | 221 - plugins/org.eclipse.sirius.validation/.classpath | 7 - plugins/org.eclipse.sirius.validation/.project | 29 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 15 - plugins/org.eclipse.sirius.validation/about.html | 28 - .../org.eclipse.sirius.validation/build.properties | 15 - .../model/validation.aird | 223 - .../model/validation.ecore | 19 - .../model/validation.genmodel | 25 - .../plugin.properties | 9 - plugins/org.eclipse.sirius.validation/plugin.xml | 23 - .../org/eclipse/sirius/validation/Severity.java | 274 - .../eclipse/sirius/validation/SiriusStatus.java | 113 - .../sirius/validation/ValidationFactory.java | 48 - .../sirius/validation/ValidationPackage.java | 285 - .../sirius/validation/impl/SiriusStatusImpl.java | 268 - .../validation/impl/ValidationFactoryImpl.java | 174 - .../validation/impl/ValidationPackageImpl.java | 256 - .../validation/util/ValidationAdapterFactory.java | 126 - .../sirius/validation/util/ValidationSwitch.java | 116 - prototypes/org.eclipse.eef.expression/.classpath | 7 + prototypes/org.eclipse.eef.expression/.project | 34 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 16 + prototypes/org.eclipse.eef.expression/about.html | 28 + .../org.eclipse.eef.expression/build.properties | 13 + .../org.eclipse.eef.expression/eef.expression | 583 + .../org.eclipse.eef.expression/plugin.properties | 9 + .../src/eef/expression/Activator.java | 60 + .../userDefinedVariable.expression | 8 + .../org.eclipse.sirius.contentassist/.classpath | 7 + .../org.eclipse.sirius.contentassist/.project | 29 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 15 + .../org.eclipse.sirius.contentassist/about.html | 28 + .../build.properties | 10 + .../model/contentassist.aird | 200 + .../model/contentassist.ecore | 16 + .../model/contentassist.genmodel | 23 + .../plugin.properties | 4 + .../org.eclipse.sirius.contentassist/plugin.xml | 17 + .../sirius/contentassist/CompletionProposal.java | 218 + .../sirius/contentassist/ContentassistFactory.java | 48 + .../sirius/contentassist/ContentassistPackage.java | 397 + .../contentassist/impl/CompletionProposalImpl.java | 463 + .../impl/ContentassistFactoryImpl.java | 172 + .../impl/ContentassistPackageImpl.java | 290 + .../util/ContentassistAdapterFactory.java | 126 + .../contentassist/util/ContentassistSwitch.java | 116 + .../.classpath | 7 + .../org.eclipse.sirius.expression.design/.project | 34 + .../META-INF/MANIFEST.MF | 13 + .../about.html | 28 + .../build.properties | 7 + .../description/expression.odesign | 192 + .../plugin.xml | 10 + .../sirius/expression/design/Activator.java | 66 + .../org.eclipse.sirius.expression.edit/.checkstyle | 13 + .../org.eclipse.sirius.expression.edit/.classpath | 11 + .../org.eclipse.sirius.expression.edit/.project | 34 + .../.settings/org.eclipse.jdt.core.prefs | 398 + .../.settings/org.eclipse.jdt.launching.prefs | 2 + .../.settings/org.eclipse.jdt.ui.prefs | 67 + .../.settings/org.eclipse.pde.prefs | 32 + .../META-INF/MANIFEST.MF | 17 + .../org.eclipse.sirius.expression.edit/about.html | 28 + .../build.properties | 16 + .../icons/full/obj16/ExpressionDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/SiriusExpressionClass.gif | Bin 0 -> 129 bytes .../full/obj16/SiriusExpressionDescription.gif | Bin 0 -> 129 bytes .../icons/full/obj16/SiriusExpressionPackage.gif | Bin 0 -> 129 bytes .../icons/full/obj16/SiriusParameter.gif | Bin 0 -> 129 bytes .../icons/full/obj16/SiriusVariable.gif | Bin 0 -> 129 bytes .../icons/full/obj16/UserDefinedVariable.gif | Bin 0 -> 129 bytes .../icons/full/obj16/Variable.gif | Bin 0 -> 129 bytes .../plugin.properties | 59 + .../org.eclipse.sirius.expression.edit/plugin.xml | 27 + .../expression/provider/ExpressionEditPlugin.java | 96 + .../ExpressionItemProviderAdapterFactory.java | 324 + .../SiriusExpressionClassItemProvider.java | 219 + .../SiriusExpressionDescriptionItemProvider.java | 305 + .../SiriusExpressionPackageItemProvider.java | 207 + .../provider/SiriusParameterItemProvider.java | 194 + .../provider/SiriusVariableItemProvider.java | 220 + .../provider/UserDefinedVariableItemProvider.java | 147 + .../.classpath | 7 + .../.project | 34 + .../.settings/org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 25 + .../about.html | 28 + .../build.properties | 12 + ...org.eclipse.sirius.expression.text.tests.launch | 13 + .../plugin.properties | 8 + .../text/ExpressionTextInjectorProvider.java | 48 + .../text/ExpressionTextUiInjectorProvider.java | 17 + .../.classpath | 9 + .../org.eclipse.sirius.expression.text.ui/.project | 34 + .../.settings/org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 27 + .../about.html | 28 + .../build.properties | 14 + .../plugin.properties | 8 + .../plugin.xml | 425 + .../plugin.xml_gen | 425 + .../text/ui/AbstractExpressionTextUiModule.java | 196 + .../ExpressionTextExecutableExtensionFactory.java | 29 + .../AbstractExpressionTextProposalProvider.java | 101 + .../contentassist/antlr/ExpressionTextParser.java | 99 + .../PartialExpressionTextContentAssistParser.java | 38 + .../antlr/internal/InternalExpressionText.g | 2197 +++ .../antlr/internal/InternalExpressionText.tokens | 40 + .../internal/InternalExpressionTextLexer.java | 959 + .../internal/InternalExpressionTextParser.java | 5612 ++++++ .../text/ui/internal/ExpressionTextActivator.java | 95 + .../expression/text/ui/ExpressionTextUiModule.java | 15 + .../ExpressionTextProposalProvider.xtend | 13 + .../ExpressionTextDescriptionLabelProvider.xtend | 24 + .../ui/labeling/ExpressionTextLabelProvider.xtend | 29 + .../ExpressionTextOutlineTreeProvider.xtend | 13 + .../quickfix/ExpressionTextQuickfixProvider.xtend | 26 + .../ExpressionTextProposalProvider.java | 14 + .../ExpressionTextDescriptionLabelProvider.java | 15 + .../ui/labeling/ExpressionTextLabelProvider.java | 21 + .../outline/ExpressionTextOutlineTreeProvider.java | 15 + .../quickfix/ExpressionTextQuickfixProvider.java | 15 + .../.antlr-generator-3.2.0-patch.jar | Bin 0 -> 1484649 bytes .../org.eclipse.sirius.expression.text/.classpath | 9 + ...ure (org.eclipse.sirius.expression.text).launch | 18 + .../.launch/Launch Runtime Eclipse.launch | 34 + .../org.eclipse.sirius.expression.text/.project | 34 + .../.settings/org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 29 + .../org.eclipse.sirius.expression.text/about.html | 28 + .../build.properties | 21 + .../plugin.properties | 8 + .../text/AbstractExpressionTextRuntimeModule.java | 156 + .../sirius/expression/text/ExpressionText.xtextbin | Bin 0 -> 2588 bytes .../ExpressionTextStandaloneSetupGenerated.java | 53 + .../ExpressionTextAntlrTokenFileProvider.java | 16 + .../text/parser/antlr/ExpressionTextParser.java | 39 + .../parser/antlr/internal/InternalExpressionText.g | 639 + .../antlr/internal/InternalExpressionText.tokens | 40 + .../internal/InternalExpressionTextLexer.java | 959 + .../internal/InternalExpressionTextParser.java | 1484 ++ .../ExpressionTextSemanticSequencer.java | 102 + .../ExpressionTextSyntacticSequencer.java | 43 + .../text/services/ExpressionTextGrammarAccess.java | 584 + .../AbstractExpressionTextValidator.java | 18 + .../sirius/expression/text/ExpressionText.xtext | 45 + .../text/ExpressionTextRuntimeModule.java | 18 + .../text/ExpressionTextStandaloneSetup.java | 16 + .../expression/text/GenerateExpressionText.mwe2 | 137 + .../text/formatting/ExpressionTextFormatter.xtend | 30 + .../text/generator/ExpressionTextGenerator.xtend | 24 + .../scoping/ExpressionTextContainerState.xtend | 32 + .../text/scoping/ExpressionTextScopeProvider.xtend | 15 + .../ExpressionTextStateBasedContainer.xtend | 19 + .../ExpressionTextStatedContainerManager.xtend | 19 + .../text/validation/ExpressionTextValidator.xtend | 25 + .../text/formatting/ExpressionTextFormatter.java | 22 + .../text/generator/ExpressionTextGenerator.java | 20 + .../text/scoping/ExpressionTextContainerState.java | 39 + .../text/scoping/ExpressionTextScopeProvider.java | 16 + .../scoping/ExpressionTextStateBasedContainer.java | 18 + .../ExpressionTextStatedContainerManager.java | 23 + .../text/validation/ExpressionTextValidator.java | 15 + .../org.eclipse.sirius.expression/.checkstyle | 13 + .../org.eclipse.sirius.expression/.classpath | 11 + prototypes/org.eclipse.sirius.expression/.project | 41 + .../.settings/org.eclipse.jdt.core.prefs | 398 + .../.settings/org.eclipse.jdt.launching.prefs | 2 + .../.settings/org.eclipse.jdt.ui.prefs | 67 + .../.settings/org.eclipse.pde.prefs | 32 + .../META-INF/MANIFEST.MF | 16 + .../org.eclipse.sirius.expression/about.html | 28 + .../org.eclipse.sirius.expression/build.properties | 16 + .../model/expression.aird | 928 + .../model/expression.ecore | 120 + .../model/expression.genmodel | 48 + .../plugin.properties | 8 + .../org.eclipse.sirius.expression/plugin.xml | 22 + .../sirius/expression/ExpressionFactory.java | 92 + .../sirius/expression/ExpressionPackage.java | 1007 + .../sirius/expression/SiriusExpressionClass.java | 94 + .../expression/SiriusExpressionDescription.java | 174 + .../sirius/expression/SiriusExpressionPackage.java | 77 + .../eclipse/sirius/expression/SiriusParameter.java | 82 + .../eclipse/sirius/expression/SiriusVariable.java | 112 + .../sirius/expression/UserDefinedVariable.java | 54 + .../org/eclipse/sirius/expression/Variable.java | 84 + .../expression/impl/ExpressionFactoryImpl.java | 270 + .../expression/impl/ExpressionPackageImpl.java | 548 + .../expression/impl/SiriusExpressionClassImpl.java | 255 + .../impl/SiriusExpressionDescriptionImpl.java | 438 + .../impl/SiriusExpressionPackageImpl.java | 220 + .../expression/impl/SiriusParameterImpl.java | 230 + .../sirius/expression/impl/SiriusVariableImpl.java | 284 + .../expression/impl/UserDefinedVariableImpl.java | 167 + .../expression/util/ExpressionAdapterFactory.java | 215 + .../sirius/expression/util/ExpressionSwitch.java | 221 + .../org.eclipse.sirius.validation/.classpath | 7 + prototypes/org.eclipse.sirius.validation/.project | 29 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 15 + .../org.eclipse.sirius.validation/about.html | 28 + .../org.eclipse.sirius.validation/build.properties | 15 + .../model/validation.aird | 223 + .../model/validation.ecore | 19 + .../model/validation.genmodel | 25 + .../plugin.properties | 9 + .../org.eclipse.sirius.validation/plugin.xml | 23 + .../org/eclipse/sirius/validation/Severity.java | 274 + .../eclipse/sirius/validation/SiriusStatus.java | 113 + .../sirius/validation/ValidationFactory.java | 48 + .../sirius/validation/ValidationPackage.java | 285 + .../sirius/validation/impl/SiriusStatusImpl.java | 268 + .../validation/impl/ValidationFactoryImpl.java | 174 + .../validation/impl/ValidationPackageImpl.java | 256 + .../validation/util/ValidationAdapterFactory.java | 126 + .../sirius/validation/util/ValidationSwitch.java | 116 + releng/org.eclipse.eef.releng/pom.xml | 106 + .../targetplatforms/neon/pom.xml | 29 + tests/org.eclipse.eef.tests/.checkstyle | 10 + tests/org.eclipse.eef.tests/.classpath | 7 + tests/org.eclipse.eef.tests/.project | 34 + .../.settings/org.eclipse.jdt.core.prefs | 398 + .../.settings/org.eclipse.jdt.launching.prefs | 2 + .../.settings/org.eclipse.jdt.ui.prefs | 67 + .../.settings/org.eclipse.pde.prefs | 32 + tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF | 12 + tests/org.eclipse.eef.tests/about.html | 28 + tests/org.eclipse.eef.tests/build.properties | 13 + tests/org.eclipse.eef.tests/plugin.properties | 9 + tests/org.eclipse.eef.tests/pom.xml | 45 + .../org/eclipse/eef/tests/internal/AllTests.java | 31 + .../eef/tests/internal/InitializationTests.java | 32 + 712 files changed, 34236 insertions(+), 98505 deletions(-) create mode 100644 doc/org.eclipse.eef.documentation/pom.xml delete mode 100644 doc/org.eclipse.sirius.expression.design/.classpath delete mode 100644 doc/org.eclipse.sirius.expression.design/.project delete mode 100644 doc/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF delete mode 100644 doc/org.eclipse.sirius.expression.design/about.html delete mode 100644 doc/org.eclipse.sirius.expression.design/build.properties delete mode 100644 doc/org.eclipse.sirius.expression.design/description/expression.odesign delete mode 100644 doc/org.eclipse.sirius.expression.design/plugin.xml delete mode 100644 doc/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java create mode 100644 features/org.eclipse.eef.sdk-feature/pom.xml create mode 100644 plugins/org.eclipse.eef.core/pom.xml delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTableStructureDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTreeStructureDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCellWidgetDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxConditionalStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyleCustomization.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnConditionalStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyleCustomization.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupConditionalStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyleCustomization.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImageDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImagePickerDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTableStructureDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTreeStructureDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFJavaExtensionDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelConditionalStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyleCustomization.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineConditionalStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyleCustomization.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkConditionalStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyleCustomization.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFQuickFix.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioConditionalStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyleCustomization.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectConditionalStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyleCustomization.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableConditionalStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStructureDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyleCustomization.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextConditionalStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyleCustomization.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeConditionalStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDialogSelectDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStructureDescription.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyle.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyleCustomization.gif delete mode 100644 plugins/org.eclipse.eef.edit/icons/full/obj16/EEFValidation.gif create mode 100644 plugins/org.eclipse.eef.edit/pom.xml delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCellWidgetDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxConditionalStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleCustomizationItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnConditionalStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleCustomizationItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFConditionalStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupConditionalStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleCustomizationItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImageDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImagePickerDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFJavaExtensionDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelConditionalStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleCustomizationItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineConditionalStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleCustomizationItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkConditionalStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleCustomizationItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFQuickFixItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioConditionalStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleCustomizationItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectConditionalStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleCustomizationItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleCustomizationItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableConditionalStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStructureDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleCustomizationItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextConditionalStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleCustomizationItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeConditionalStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStructureDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleCustomizationItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleItemProvider.java delete mode 100644 plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFValidationItemProvider.java delete mode 100644 plugins/org.eclipse.eef.expression/.classpath delete mode 100644 plugins/org.eclipse.eef.expression/.project delete mode 100644 plugins/org.eclipse.eef.expression/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/org.eclipse.eef.expression/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.eef.expression/about.html delete mode 100644 plugins/org.eclipse.eef.expression/build.properties delete mode 100644 plugins/org.eclipse.eef.expression/eef.expression delete mode 100644 plugins/org.eclipse.eef.expression/plugin.properties delete mode 100644 plugins/org.eclipse.eef.expression/src/eef/expression/Activator.java delete mode 100644 plugins/org.eclipse.eef.expression/userDefinedVariable.expression create mode 100644 plugins/org.eclipse.eef.ide.ui/pom.xml create mode 100644 plugins/org.eclipse.eef.ide/pom.xml create mode 100644 plugins/org.eclipse.eef.interpreter.aql/pom.xml create mode 100644 plugins/org.eclipse.eef.interpreter/pom.xml delete mode 100644 plugins/org.eclipse.eef/model/eef.aird create mode 100644 plugins/org.eclipse.eef/model/eef2_legacy.ecore create mode 100644 plugins/org.eclipse.eef/pom.xml delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTableStructureDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTreeStructureDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCellWidgetDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxConditionalStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyleCustomization.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnConditionalStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyleCustomization.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFConditionalStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupConditionalStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyleCustomization.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImageDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImagePickerDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTableStructureDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTreeStructureDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFJavaExtensionDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelConditionalStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyleCustomization.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineConditionalStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyleCustomization.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkConditionalStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyleCustomization.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFQuickFix.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioConditionalStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyleCustomization.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectConditionalStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyleCustomization.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyleCustomization.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableConditionalStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStructureDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyleCustomization.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextConditionalStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyleCustomization.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeConditionalStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDialogSelectDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStructureDescription.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyle.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyleCustomization.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFValidation.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCellWidgetDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxConditionalStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleCustomizationImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnConditionalStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleCustomizationImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFConditionalStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupConditionalStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleCustomizationImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImageDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImagePickerDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFJavaExtensionDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelConditionalStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleCustomizationImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineConditionalStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleCustomizationImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkConditionalStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleCustomizationImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFQuickFixImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioConditionalStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleCustomizationImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectConditionalStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleCustomizationImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleCustomizationImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableConditionalStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStructureDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleCustomizationImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextConditionalStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleCustomizationImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeConditionalStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDialogSelectDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStructureDescriptionImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleCustomizationImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleImpl.java delete mode 100644 plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFValidationImpl.java delete mode 100644 plugins/org.eclipse.sirius.contentassist/.classpath delete mode 100644 plugins/org.eclipse.sirius.contentassist/.project delete mode 100644 plugins/org.eclipse.sirius.contentassist/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.sirius.contentassist/about.html delete mode 100644 plugins/org.eclipse.sirius.contentassist/build.properties delete mode 100644 plugins/org.eclipse.sirius.contentassist/model/contentassist.aird delete mode 100644 plugins/org.eclipse.sirius.contentassist/model/contentassist.ecore delete mode 100644 plugins/org.eclipse.sirius.contentassist/model/contentassist.genmodel delete mode 100644 plugins/org.eclipse.sirius.contentassist/plugin.properties delete mode 100644 plugins/org.eclipse.sirius.contentassist/plugin.xml delete mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/CompletionProposal.java delete mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistFactory.java delete mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistPackage.java delete mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/CompletionProposalImpl.java delete mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistFactoryImpl.java delete mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistPackageImpl.java delete mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistAdapterFactory.java delete mode 100644 plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistSwitch.java delete mode 100644 plugins/org.eclipse.sirius.expression.edit/.checkstyle delete mode 100644 plugins/org.eclipse.sirius.expression.edit/.classpath delete mode 100644 plugins/org.eclipse.sirius.expression.edit/.project delete mode 100644 plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.launching.prefs delete mode 100644 plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.ui.prefs delete mode 100644 plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.pde.prefs delete mode 100644 plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.sirius.expression.edit/about.html delete mode 100644 plugins/org.eclipse.sirius.expression.edit/build.properties delete mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/ExpressionDescription.gif delete mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionClass.gif delete mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionDescription.gif delete mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionPackage.gif delete mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusParameter.gif delete mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusVariable.gif delete mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/UserDefinedVariable.gif delete mode 100644 plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/Variable.gif delete mode 100644 plugins/org.eclipse.sirius.expression.edit/plugin.properties delete mode 100644 plugins/org.eclipse.sirius.expression.edit/plugin.xml delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionDescriptionItemProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionPackageItemProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusParameterItemProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusVariableItemProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/UserDefinedVariableItemProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.tests/.classpath delete mode 100644 plugins/org.eclipse.sirius.expression.text.tests/.project delete mode 100644 plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.core.resources.prefs delete mode 100644 plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/org.eclipse.sirius.expression.text.tests/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.sirius.expression.text.tests/about.html delete mode 100644 plugins/org.eclipse.sirius.expression.text.tests/build.properties delete mode 100644 plugins/org.eclipse.sirius.expression.text.tests/org.eclipse.sirius.expression.text.tests.launch delete mode 100644 plugins/org.eclipse.sirius.expression.text.tests/plugin.properties delete mode 100644 plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextInjectorProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextUiInjectorProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/.classpath delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/.project delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.core.resources.prefs delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/about.html delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/build.properties delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/plugin.properties delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/plugin.xml delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/plugin.xml_gen delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/AbstractExpressionTextUiModule.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/ExpressionTextExecutableExtensionFactory.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/AbstractExpressionTextProposalProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/ExpressionTextParser.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/PartialExpressionTextContentAssistParser.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextParser.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/internal/ExpressionTextActivator.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/ExpressionTextUiModule.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/.antlr-generator-3.2.0-patch.jar delete mode 100644 plugins/org.eclipse.sirius.expression.text/.classpath delete mode 100644 plugins/org.eclipse.sirius.expression.text/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.text).launch delete mode 100644 plugins/org.eclipse.sirius.expression.text/.launch/Launch Runtime Eclipse.launch delete mode 100644 plugins/org.eclipse.sirius.expression.text/.project delete mode 100644 plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.core.resources.prefs delete mode 100644 plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/org.eclipse.sirius.expression.text/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.sirius.expression.text/about.html delete mode 100644 plugins/org.eclipse.sirius.expression.text/build.properties delete mode 100644 plugins/org.eclipse.sirius.expression.text/plugin.properties delete mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/AbstractExpressionTextRuntimeModule.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin delete mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetupGenerated.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextAntlrTokenFileProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextParser.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g delete mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens delete mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextParser.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSemanticSequencer.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSyntacticSequencer.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/validation/AbstractExpressionTextValidator.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext delete mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextRuntimeModule.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetup.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/GenerateExpressionText.mwe2 delete mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.xtend delete mode 100644 plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.java delete mode 100644 plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.java delete mode 100644 plugins/org.eclipse.sirius.expression/.checkstyle delete mode 100644 plugins/org.eclipse.sirius.expression/.classpath delete mode 100644 plugins/org.eclipse.sirius.expression/.project delete mode 100644 plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.launching.prefs delete mode 100644 plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.ui.prefs delete mode 100644 plugins/org.eclipse.sirius.expression/.settings/org.eclipse.pde.prefs delete mode 100644 plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.sirius.expression/about.html delete mode 100644 plugins/org.eclipse.sirius.expression/build.properties delete mode 100644 plugins/org.eclipse.sirius.expression/model/expression.aird delete mode 100644 plugins/org.eclipse.sirius.expression/model/expression.ecore delete mode 100644 plugins/org.eclipse.sirius.expression/model/expression.genmodel delete mode 100644 plugins/org.eclipse.sirius.expression/plugin.properties delete mode 100644 plugins/org.eclipse.sirius.expression/plugin.xml delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionDescription.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionPackage.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusParameter.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusVariable.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/UserDefinedVariable.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/Variable.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionDescriptionImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionPackageImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusParameterImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusVariableImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/UserDefinedVariableImpl.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java delete mode 100644 plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java delete mode 100644 plugins/org.eclipse.sirius.validation/.classpath delete mode 100644 plugins/org.eclipse.sirius.validation/.project delete mode 100644 plugins/org.eclipse.sirius.validation/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/org.eclipse.sirius.validation/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.sirius.validation/about.html delete mode 100644 plugins/org.eclipse.sirius.validation/build.properties delete mode 100644 plugins/org.eclipse.sirius.validation/model/validation.aird delete mode 100644 plugins/org.eclipse.sirius.validation/model/validation.ecore delete mode 100644 plugins/org.eclipse.sirius.validation/model/validation.genmodel delete mode 100644 plugins/org.eclipse.sirius.validation/plugin.properties delete mode 100644 plugins/org.eclipse.sirius.validation/plugin.xml delete mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/Severity.java delete mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/SiriusStatus.java delete mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationFactory.java delete mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationPackage.java delete mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/SiriusStatusImpl.java delete mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationFactoryImpl.java delete mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationPackageImpl.java delete mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationAdapterFactory.java delete mode 100644 plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationSwitch.java create mode 100644 prototypes/org.eclipse.eef.expression/.classpath create mode 100644 prototypes/org.eclipse.eef.expression/.project create mode 100644 prototypes/org.eclipse.eef.expression/.settings/org.eclipse.jdt.core.prefs create mode 100644 prototypes/org.eclipse.eef.expression/META-INF/MANIFEST.MF create mode 100644 prototypes/org.eclipse.eef.expression/about.html create mode 100644 prototypes/org.eclipse.eef.expression/build.properties create mode 100644 prototypes/org.eclipse.eef.expression/eef.expression create mode 100644 prototypes/org.eclipse.eef.expression/plugin.properties create mode 100644 prototypes/org.eclipse.eef.expression/src/eef/expression/Activator.java create mode 100644 prototypes/org.eclipse.eef.expression/userDefinedVariable.expression create mode 100644 prototypes/org.eclipse.sirius.contentassist/.classpath create mode 100644 prototypes/org.eclipse.sirius.contentassist/.project create mode 100644 prototypes/org.eclipse.sirius.contentassist/.settings/org.eclipse.jdt.core.prefs create mode 100644 prototypes/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF create mode 100644 prototypes/org.eclipse.sirius.contentassist/about.html create mode 100644 prototypes/org.eclipse.sirius.contentassist/build.properties create mode 100644 prototypes/org.eclipse.sirius.contentassist/model/contentassist.aird create mode 100644 prototypes/org.eclipse.sirius.contentassist/model/contentassist.ecore create mode 100644 prototypes/org.eclipse.sirius.contentassist/model/contentassist.genmodel create mode 100644 prototypes/org.eclipse.sirius.contentassist/plugin.properties create mode 100644 prototypes/org.eclipse.sirius.contentassist/plugin.xml create mode 100644 prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/CompletionProposal.java create mode 100644 prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistFactory.java create mode 100644 prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistPackage.java create mode 100644 prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/CompletionProposalImpl.java create mode 100644 prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistFactoryImpl.java create mode 100644 prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistPackageImpl.java create mode 100644 prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistAdapterFactory.java create mode 100644 prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistSwitch.java create mode 100644 prototypes/org.eclipse.sirius.expression.design/.classpath create mode 100644 prototypes/org.eclipse.sirius.expression.design/.project create mode 100644 prototypes/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF create mode 100644 prototypes/org.eclipse.sirius.expression.design/about.html create mode 100644 prototypes/org.eclipse.sirius.expression.design/build.properties create mode 100644 prototypes/org.eclipse.sirius.expression.design/description/expression.odesign create mode 100644 prototypes/org.eclipse.sirius.expression.design/plugin.xml create mode 100644 prototypes/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java create mode 100644 prototypes/org.eclipse.sirius.expression.edit/.checkstyle create mode 100644 prototypes/org.eclipse.sirius.expression.edit/.classpath create mode 100644 prototypes/org.eclipse.sirius.expression.edit/.project create mode 100644 prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.core.prefs create mode 100644 prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.launching.prefs create mode 100644 prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.ui.prefs create mode 100644 prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.pde.prefs create mode 100644 prototypes/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF create mode 100644 prototypes/org.eclipse.sirius.expression.edit/about.html create mode 100644 prototypes/org.eclipse.sirius.expression.edit/build.properties create mode 100644 prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/ExpressionDescription.gif create mode 100644 prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionClass.gif create mode 100644 prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionDescription.gif create mode 100644 prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionPackage.gif create mode 100644 prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusParameter.gif create mode 100644 prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusVariable.gif create mode 100644 prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/UserDefinedVariable.gif create mode 100644 prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/Variable.gif create mode 100644 prototypes/org.eclipse.sirius.expression.edit/plugin.properties create mode 100644 prototypes/org.eclipse.sirius.expression.edit/plugin.xml create mode 100644 prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java create mode 100644 prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java create mode 100644 prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionDescriptionItemProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionPackageItemProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusParameterItemProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusVariableItemProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/UserDefinedVariableItemProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.tests/.classpath create mode 100644 prototypes/org.eclipse.sirius.expression.text.tests/.project create mode 100644 prototypes/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.core.resources.prefs create mode 100644 prototypes/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.jdt.core.prefs create mode 100644 prototypes/org.eclipse.sirius.expression.text.tests/META-INF/MANIFEST.MF create mode 100644 prototypes/org.eclipse.sirius.expression.text.tests/about.html create mode 100644 prototypes/org.eclipse.sirius.expression.text.tests/build.properties create mode 100644 prototypes/org.eclipse.sirius.expression.text.tests/org.eclipse.sirius.expression.text.tests.launch create mode 100644 prototypes/org.eclipse.sirius.expression.text.tests/plugin.properties create mode 100644 prototypes/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextInjectorProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextUiInjectorProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/.classpath create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/.project create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.core.resources.prefs create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.jdt.core.prefs create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/META-INF/MANIFEST.MF create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/about.html create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/build.properties create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/plugin.properties create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/plugin.xml create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/plugin.xml_gen create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/AbstractExpressionTextUiModule.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/ExpressionTextExecutableExtensionFactory.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/AbstractExpressionTextProposalProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/ExpressionTextParser.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/PartialExpressionTextContentAssistParser.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextParser.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/internal/ExpressionTextActivator.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/ExpressionTextUiModule.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.xtend create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.xtend create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.xtend create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.xtend create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.xtend create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/.antlr-generator-3.2.0-patch.jar create mode 100644 prototypes/org.eclipse.sirius.expression.text/.classpath create mode 100644 prototypes/org.eclipse.sirius.expression.text/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.text).launch create mode 100644 prototypes/org.eclipse.sirius.expression.text/.launch/Launch Runtime Eclipse.launch create mode 100644 prototypes/org.eclipse.sirius.expression.text/.project create mode 100644 prototypes/org.eclipse.sirius.expression.text/.settings/org.eclipse.core.resources.prefs create mode 100644 prototypes/org.eclipse.sirius.expression.text/.settings/org.eclipse.jdt.core.prefs create mode 100644 prototypes/org.eclipse.sirius.expression.text/META-INF/MANIFEST.MF create mode 100644 prototypes/org.eclipse.sirius.expression.text/about.html create mode 100644 prototypes/org.eclipse.sirius.expression.text/build.properties create mode 100644 prototypes/org.eclipse.sirius.expression.text/plugin.properties create mode 100644 prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/AbstractExpressionTextRuntimeModule.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin create mode 100644 prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetupGenerated.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextAntlrTokenFileProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextParser.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g create mode 100644 prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens create mode 100644 prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextParser.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSemanticSequencer.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSyntacticSequencer.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/validation/AbstractExpressionTextValidator.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext create mode 100644 prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextRuntimeModule.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetup.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/GenerateExpressionText.mwe2 create mode 100644 prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.xtend create mode 100644 prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.xtend create mode 100644 prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.xtend create mode 100644 prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.xtend create mode 100644 prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.xtend create mode 100644 prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.xtend create mode 100644 prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.xtend create mode 100644 prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.java create mode 100644 prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.java create mode 100644 prototypes/org.eclipse.sirius.expression/.checkstyle create mode 100644 prototypes/org.eclipse.sirius.expression/.classpath create mode 100644 prototypes/org.eclipse.sirius.expression/.project create mode 100644 prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.core.prefs create mode 100644 prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.launching.prefs create mode 100644 prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.ui.prefs create mode 100644 prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.pde.prefs create mode 100644 prototypes/org.eclipse.sirius.expression/META-INF/MANIFEST.MF create mode 100644 prototypes/org.eclipse.sirius.expression/about.html create mode 100644 prototypes/org.eclipse.sirius.expression/build.properties create mode 100644 prototypes/org.eclipse.sirius.expression/model/expression.aird create mode 100644 prototypes/org.eclipse.sirius.expression/model/expression.ecore create mode 100644 prototypes/org.eclipse.sirius.expression/model/expression.genmodel create mode 100644 prototypes/org.eclipse.sirius.expression/plugin.properties create mode 100644 prototypes/org.eclipse.sirius.expression/plugin.xml create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionDescription.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionPackage.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusParameter.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusVariable.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/UserDefinedVariable.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/Variable.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionDescriptionImpl.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionPackageImpl.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusParameterImpl.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusVariableImpl.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/UserDefinedVariableImpl.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java create mode 100644 prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java create mode 100644 prototypes/org.eclipse.sirius.validation/.classpath create mode 100644 prototypes/org.eclipse.sirius.validation/.project create mode 100644 prototypes/org.eclipse.sirius.validation/.settings/org.eclipse.jdt.core.prefs create mode 100644 prototypes/org.eclipse.sirius.validation/META-INF/MANIFEST.MF create mode 100644 prototypes/org.eclipse.sirius.validation/about.html create mode 100644 prototypes/org.eclipse.sirius.validation/build.properties create mode 100644 prototypes/org.eclipse.sirius.validation/model/validation.aird create mode 100644 prototypes/org.eclipse.sirius.validation/model/validation.ecore create mode 100644 prototypes/org.eclipse.sirius.validation/model/validation.genmodel create mode 100644 prototypes/org.eclipse.sirius.validation/plugin.properties create mode 100644 prototypes/org.eclipse.sirius.validation/plugin.xml create mode 100644 prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/Severity.java create mode 100644 prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/SiriusStatus.java create mode 100644 prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationFactory.java create mode 100644 prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationPackage.java create mode 100644 prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/SiriusStatusImpl.java create mode 100644 prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationFactoryImpl.java create mode 100644 prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationPackageImpl.java create mode 100644 prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationAdapterFactory.java create mode 100644 prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationSwitch.java create mode 100644 releng/org.eclipse.eef.releng/pom.xml create mode 100644 releng/org.eclipse.eef.releng/targetplatforms/neon/pom.xml create mode 100644 tests/org.eclipse.eef.tests/.checkstyle create mode 100644 tests/org.eclipse.eef.tests/.classpath create mode 100644 tests/org.eclipse.eef.tests/.project create mode 100644 tests/org.eclipse.eef.tests/.settings/org.eclipse.jdt.core.prefs create mode 100644 tests/org.eclipse.eef.tests/.settings/org.eclipse.jdt.launching.prefs create mode 100644 tests/org.eclipse.eef.tests/.settings/org.eclipse.jdt.ui.prefs create mode 100644 tests/org.eclipse.eef.tests/.settings/org.eclipse.pde.prefs create mode 100644 tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF create mode 100644 tests/org.eclipse.eef.tests/about.html create mode 100644 tests/org.eclipse.eef.tests/build.properties create mode 100644 tests/org.eclipse.eef.tests/plugin.properties create mode 100644 tests/org.eclipse.eef.tests/pom.xml create mode 100644 tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/AllTests.java create mode 100644 tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/InitializationTests.java diff --git a/doc/org.eclipse.eef.documentation/META-INF/MANIFEST.MF b/doc/org.eclipse.eef.documentation/META-INF/MANIFEST.MF index 4f4bc13b0..95decaf5c 100644 --- a/doc/org.eclipse.eef.documentation/META-INF/MANIFEST.MF +++ b/doc/org.eclipse.eef.documentation/META-INF/MANIFEST.MF @@ -2,6 +2,6 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.eef.documentation -Bundle-Version: 1.0.0.qualifier +Bundle-Version: 2.0.0.qualifier Bundle-Vendor: %providerName Bundle-Localization: plugin diff --git a/doc/org.eclipse.eef.documentation/pom.xml b/doc/org.eclipse.eef.documentation/pom.xml new file mode 100644 index 000000000..955a3be73 --- /dev/null +++ b/doc/org.eclipse.eef.documentation/pom.xml @@ -0,0 +1,37 @@ + + + + 4.0.0 + + + org.eclipse.eef + org.eclipse.eef.parent + 2.0.0-SNAPSHOT + ../../releng/org.eclipse.eef.releng + + + org.eclipse.eef.documentation + eclipse-plugin + + EEF Documentation + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + + \ No newline at end of file diff --git a/doc/org.eclipse.sirius.expression.design/.classpath b/doc/org.eclipse.sirius.expression.design/.classpath deleted file mode 100644 index 39810b7d6..000000000 --- a/doc/org.eclipse.sirius.expression.design/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/doc/org.eclipse.sirius.expression.design/.project b/doc/org.eclipse.sirius.expression.design/.project deleted file mode 100644 index f77fd4860..000000000 --- a/doc/org.eclipse.sirius.expression.design/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.eclipse.sirius.expression.design - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.acceleo.ide.ui.acceleoBuilder - - - - - - org.eclipse.acceleo.ide.ui.acceleoNature - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - - diff --git a/doc/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF b/doc/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF deleted file mode 100644 index b9132d898..000000000 --- a/doc/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF +++ /dev/null @@ -1,13 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: org.eclipse.sirius.expression.design -Bundle-SymbolicName: org.eclipse.sirius.expression.design;singleton:=true -Bundle-Version: 1.0.0 -Bundle-Activator: org.eclipse.sirius.expression.design.Activator -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime, - org.eclipse.core.resources, - org.eclipse.sirius, - org.eclipse.sirius.common.acceleo.mtl -Bundle-ActivationPolicy: lazy -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 diff --git a/doc/org.eclipse.sirius.expression.design/about.html b/doc/org.eclipse.sirius.expression.design/about.html deleted file mode 100644 index f3a55ce5f..000000000 --- a/doc/org.eclipse.sirius.expression.design/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

                About This Content

                - -

                June 15, 2010

                -

                License

                - -

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

                - -

                If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

                - - - \ No newline at end of file diff --git a/doc/org.eclipse.sirius.expression.design/build.properties b/doc/org.eclipse.sirius.expression.design/build.properties deleted file mode 100644 index bbbc4ce49..000000000 --- a/doc/org.eclipse.sirius.expression.design/build.properties +++ /dev/null @@ -1,7 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - description/,\ - plugin.xml -customBuildCallbacks = build.acceleo diff --git a/doc/org.eclipse.sirius.expression.design/description/expression.odesign b/doc/org.eclipse.sirius.expression.design/description/expression.odesign deleted file mode 100644 index 68de55fe1..000000000 --- a/doc/org.eclipse.sirius.expression.design/description/expression.odesign +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/org.eclipse.sirius.expression.design/plugin.xml b/doc/org.eclipse.sirius.expression.design/plugin.xml deleted file mode 100644 index 5ecb2c479..000000000 --- a/doc/org.eclipse.sirius.expression.design/plugin.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - diff --git a/doc/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java b/doc/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java deleted file mode 100644 index f4b15886c..000000000 --- a/doc/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java +++ /dev/null @@ -1,66 +0,0 @@ -package org.eclipse.sirius.expression.design; - -import java.util.HashSet; -import java.util.Set; - -import org.eclipse.sirius.business.api.componentization.ViewpointRegistry; -import org.eclipse.sirius.viewpoint.description.Viewpoint; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.osgi.framework.BundleContext; - -/** - * The activator class controls the plug-in life cycle - */ -public class Activator extends AbstractUIPlugin { - // The plug-in ID - public static final String PLUGIN_ID = "org.eclipse.sirius.expression.design"; - - // The shared instance - private static Activator plugin; - - private static Set viewpoints; - - /** - * The constructor - */ - public Activator() { - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) - */ - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - viewpoints = new HashSet(); - viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/expression.odesign")); - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) - */ - public void stop(BundleContext context) throws Exception { - plugin = null; - if (viewpoints != null) { - for (final Viewpoint viewpoint: viewpoints) { - ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint); - } - viewpoints.clear(); - viewpoints = null; - } - super.stop(context); - } - - /** - * Returns the shared instance - * - * @return the shared instance - */ - public static Activator getDefault() { - return plugin; - } -} diff --git a/features/org.eclipse.eef.sdk-feature/feature.xml b/features/org.eclipse.eef.sdk-feature/feature.xml index 7ccf90fa7..ecd0fa488 100644 --- a/features/org.eclipse.eef.sdk-feature/feature.xml +++ b/features/org.eclipse.eef.sdk-feature/feature.xml @@ -1,6 +1,6 @@ @@ -25,77 +25,49 @@ unpack="false"/> - - - - - - - - + + + 4.0.0 + + + org.eclipse.eef + org.eclipse.eef.parent + 2.0.0-SNAPSHOT + ../../releng/org.eclipse.eef.releng + + + org.eclipse.eef.sdk.feature + eclipse-feature + + EEF SDK Feature + + + + + org.eclipse.tycho.extras + tycho-source-feature-plugin + ${tycho-version} + + + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF index 8ce543c52..02542b7eb 100644 --- a/plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF @@ -10,8 +10,7 @@ Require-Bundle: org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)", Import-Package: com.google.common.base;version="[15.0.0,16.0.0)", com.google.common.collect;version="[15.0.0,16.0.0)", org.eclipse.eef;version="[2.0.0,3.0.0)", - org.eclipse.eef.interpreter.api;version="[2.0.0,3.0.0)", - org.eclipse.sirius.expression;version="[1.0.0,2.0.0)" + org.eclipse.eef.interpreter.api;version="[2.0.0,3.0.0)" Export-Package: org.eclipse.eef.core.api;version="2.0.0", org.eclipse.eef.core.internal;version="2.0.0";x-internal:=true Bundle-Localization: plugin diff --git a/plugins/org.eclipse.eef.core/build.properties b/plugins/org.eclipse.eef.core/build.properties index 689455d1b..a0a78460e 100644 --- a/plugins/org.eclipse.eef.core/build.properties +++ b/plugins/org.eclipse.eef.core/build.properties @@ -12,5 +12,4 @@ bin.includes = META-INF/,\ about.html,\ plugin.properties javacProjectSettings = true -additional.bundles = com.google.guava,\ - org.eclipse.sirius.expression +additional.bundles = com.google.guava diff --git a/plugins/org.eclipse.eef.core/pom.xml b/plugins/org.eclipse.eef.core/pom.xml new file mode 100644 index 000000000..7ac833b17 --- /dev/null +++ b/plugins/org.eclipse.eef.core/pom.xml @@ -0,0 +1,37 @@ + + + + 4.0.0 + + + org.eclipse.eef + org.eclipse.eef.parent + 2.0.0-SNAPSHOT + ../../releng/org.eclipse.eef.releng + + + org.eclipse.eef.core + eclipse-plugin + + EEF Core + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java index a64de501f..7b5f95ec5 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java @@ -40,8 +40,9 @@ public interface EEFText extends EEFWidget { /** * Updates the value of the text. - * + * * @param selection + * The selection * * @param newValue * The new value diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java index f492f8bb8..c25368791 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java @@ -20,8 +20,6 @@ import java.util.Map; import org.eclipse.eef.interpreter.api.IEvaluationResult; import org.eclipse.eef.interpreter.api.IInterpreter; import org.eclipse.eef.interpreter.api.IInterpreterProvider; -import org.eclipse.eef.interpreter.api.IValidationResult; -import org.eclipse.sirius.expression.SiriusExpressionDescription; /** * Utility class encapsulating all the available interpreters. @@ -69,30 +67,13 @@ public class EEFCompoundInterpreter implements IInterpreter { /** * {@inheritDoc} * - * @see org.eclipse.eef.interpreter.api.IInterpreter#evaluateExpression(java.util.Map, - * org.eclipse.sirius.expression.ExpressionDescription, java.lang.String) + * @see org.eclipse.eef.interpreter.api.IInterpreter#evaluateExpression(java.util.Map, java.lang.String) */ @Override - public IEvaluationResult evaluateExpression(Map variables, SiriusExpressionDescription expressionDescription, - String expressionBody) { + public IEvaluationResult evaluateExpression(Map variables, String expressionBody) { IInterpreter interpreter = this.getInterpreterForExpression(expressionBody); if (interpreter != null) { - return interpreter.evaluateExpression(variables, expressionDescription, expressionBody); - } - return null; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.interpreter.api.IInterpreter#validateExpression(org.eclipse.sirius.expression.ExpressionDescription, - * java.lang.String) - */ - @Override - public IValidationResult validateExpression(SiriusExpressionDescription expressionDescription, String expressionBody) { - IInterpreter interpreter = this.getInterpreterForExpression(expressionBody); - if (interpreter != null) { - return interpreter.validateExpression(expressionDescription, expressionBody); + return interpreter.evaluateExpression(variables, expressionBody); } return null; } diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java index 0c3a2292a..c34fbc4de 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.eclipse.eef.core.internal; -import org.eclipse.eef.EEFContainerDescription; import org.eclipse.eef.EEFGroupDescription; import org.eclipse.eef.core.api.EEFContainer; import org.eclipse.eef.core.api.EEFExpressionUtils; @@ -75,14 +74,7 @@ public class EEFGroupImpl extends AbstractEEFChildObject implements EEFGroup { */ @Override public void createControl() { - EEFContainerDescription eefContainerDescription = this.eefGroupDescription.getContainer(); - String semanticCandidateExpression = eefContainerDescription.getSemanticCandidateExpression(); - if (semanticCandidateExpression != null) { - // TODO Support semantic candidate for the container - } - IVariableManager childVariableManager = this.getVariableManager().createChild(); - - EEFContainerImpl eefContainerImpl = new EEFContainerImpl(this, this.eefGroupDescription.getContainer(), childVariableManager, + EEFContainerImpl eefContainerImpl = new EEFContainerImpl(this, this.eefGroupDescription.getContainer(), this.getVariableManager(), this.getInterpreter(), this.editingDomain); eefContainerImpl.createControl(); this.eefContainer = eefContainerImpl; diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java index 573a46ecc..980474007 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java @@ -84,7 +84,7 @@ public class EEFPageImpl extends AbstractEEFChildObject implements EEFPage { for (EEFGroupDescription eefGroupDescription : eefGroupDescriptions) { String semanticCandidatesExpression = eefGroupDescription.getSemanticCandidateExpression(); if (semanticCandidatesExpression != null && semanticCandidatesExpression.trim().length() > 0) { - IEvaluationResult evaluationResult = this.getInterpreter().evaluateExpression(this.getVariableManager().getVariables(), null, + IEvaluationResult evaluationResult = this.getInterpreter().evaluateExpression(this.getVariableManager().getVariables(), semanticCandidatesExpression); if (evaluationResult.getValue() instanceof Iterable) { @SuppressWarnings("unchecked") @@ -130,7 +130,7 @@ public class EEFPageImpl extends AbstractEEFChildObject implements EEFPage { String semanticCandidatesExpression = eefGroupImpl.getDescription().getSemanticCandidateExpression(); if (semanticCandidatesExpression != null && semanticCandidatesExpression.trim().length() > 0) { - IEvaluationResult evaluationResult = this.getInterpreter().evaluateExpression(this.getVariableManager().getVariables(), null, + IEvaluationResult evaluationResult = this.getInterpreter().evaluateExpression(this.getVariableManager().getVariables(), semanticCandidatesExpression); Object groupSemanticCandidate = evaluationResult.getValue(); eefGroupImpl.setInput(groupSemanticCandidate); @@ -150,8 +150,7 @@ public class EEFPageImpl extends AbstractEEFChildObject implements EEFPage { public String getLabel() { String labelExpression = this.eefPageDescription.getLabelExpression(); if (labelExpression != null) { - IEvaluationResult evaluationResult = this.getInterpreter().evaluateExpression(this.getVariableManager().getVariables(), null, - labelExpression); + IEvaluationResult evaluationResult = this.getInterpreter().evaluateExpression(this.getVariableManager().getVariables(), labelExpression); if (evaluationResult.getValue() != null) { return evaluationResult.getValue().toString(); } diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java index d624ac35b..9982b6e65 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java @@ -100,7 +100,7 @@ public class EEFTextImpl extends AbstractEEFWidgetImpl implements EEFText { String valueExpression = EEFTextImpl.this.eefTextDescription.getValueExpression(); if (valueExpression != null) { IEvaluationResult evaluationResult = EEFTextImpl.this.getInterpreter() - .evaluateExpression(EEFTextImpl.this.getVariableManager().getVariables(), null, valueExpression); + .evaluateExpression(EEFTextImpl.this.getVariableManager().getVariables(), valueExpression); Object value = evaluationResult.getValue(); if (value instanceof String && EEFTextImpl.this.valueExpressionConsumer != null) { EEFTextImpl.this.valueExpressionConsumer.apply((String) value); @@ -110,7 +110,7 @@ public class EEFTextImpl extends AbstractEEFWidgetImpl implements EEFText { String labelExpression = EEFTextImpl.this.eefTextDescription.getLabelExpression(); if (labelExpression != null) { IEvaluationResult evaluationResult = EEFTextImpl.this.getInterpreter() - .evaluateExpression(EEFTextImpl.this.getVariableManager().getVariables(), null, labelExpression); + .evaluateExpression(EEFTextImpl.this.getVariableManager().getVariables(), labelExpression); Object value = evaluationResult.getValue(); if (value instanceof String && EEFTextImpl.this.labelExpressionConsumer != null) { EEFTextImpl.this.labelExpressionConsumer.apply((String) value); @@ -131,7 +131,7 @@ public class EEFTextImpl extends AbstractEEFWidgetImpl implements EEFText { // FIXME REMOVE THIS HARDCODED STUFF!!!! variables.put("selection", selection); //$NON-NLS-1$ - EEFTextImpl.this.getInterpreter().evaluateExpression(variables, null, editExpression); + EEFTextImpl.this.getInterpreter().evaluateExpression(variables, editExpression); } } diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java index 5c526f590..0d286fd0e 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java @@ -89,7 +89,7 @@ public class EEFViewImpl extends AbstractEEFObject implements EEFView { if (semanticCandidateExpression != null && semanticCandidateExpression.trim().length() > 0) { IEvaluationResult evaluationResult = EEFViewImpl.this.getInterpreter() - .evaluateExpression(EEFViewImpl.this.getVariableManager().getVariables(), null, semanticCandidateExpression); + .evaluateExpression(EEFViewImpl.this.getVariableManager().getVariables(), semanticCandidateExpression); if (Diagnostic.OK == evaluationResult.getDiagnostic().getSeverity()) { childVariableManager.put(EEFExpressionUtils.EEFPage.PAGE_SEMANTIC_CANDIDATE, evaluationResult.getValue()); } diff --git a/plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF index a5dbd5665..3c2ff7aa7 100644 --- a/plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef.edit/META-INF/MANIFEST.MF @@ -13,7 +13,5 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", org.eclipse.eef;bundle-version="[2.0.0,3.0.0)";visibility:=reexport, org.eclipse.emf.edit;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, - org.eclipse.emf.ecore.edit;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, - org.eclipse.sirius.expression;bundle-version="[1.0.0,2.0.0)";visibility:=reexport, - org.eclipse.sirius.expression.edit;bundle-version="[1.0.0,2.0.0)";visibility:=reexport + org.eclipse.emf.ecore.edit;bundle-version="[2.8.0,3.0.0)";visibility:=reexport Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTableStructureDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTableStructureDescription.gif deleted file mode 100644 index 134551bff..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTableStructureDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTreeStructureDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTreeStructureDescription.gif deleted file mode 100644 index c414fe9f7..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFAdapterFactoryTreeStructureDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCellWidgetDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCellWidgetDescription.gif deleted file mode 100644 index 106881e5d..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCellWidgetDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxConditionalStyle.gif deleted file mode 100644 index 134551bff..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxConditionalStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxDescription.gif deleted file mode 100644 index 136e3b272..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyle.gif deleted file mode 100644 index c414fe9f7..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyleCustomization.gif deleted file mode 100644 index b3643da04..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFCheckboxStyleCustomization.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnConditionalStyle.gif deleted file mode 100644 index 904159880..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnConditionalStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnDescription.gif deleted file mode 100644 index b3643da04..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyle.gif deleted file mode 100644 index 53500daf9..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyleCustomization.gif deleted file mode 100644 index d3dc5a9ad..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFColumnStyleCustomization.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupConditionalStyle.gif deleted file mode 100644 index cb1755a71..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupConditionalStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyle.gif deleted file mode 100644 index c4fb30e96..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyleCustomization.gif deleted file mode 100644 index 83afb9b3c..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFGroupStyleCustomization.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImageDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImageDescription.gif deleted file mode 100644 index 8a5c70cbd..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImageDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImagePickerDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImagePickerDescription.gif deleted file mode 100644 index 106881e5d..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFImagePickerDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTableStructureDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTableStructureDescription.gif deleted file mode 100644 index c8d381f0b..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTableStructureDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTreeStructureDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTreeStructureDescription.gif deleted file mode 100644 index 90d10f947..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFInterpretedTreeStructureDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFJavaExtensionDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFJavaExtensionDescription.gif deleted file mode 100644 index 739ebbfa6..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFJavaExtensionDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelConditionalStyle.gif deleted file mode 100644 index 136e3b272..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelConditionalStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelDescription.gif deleted file mode 100644 index 98b351f1c..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyle.gif deleted file mode 100644 index d92f34c8a..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyleCustomization.gif deleted file mode 100644 index 33854e98c..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLabelStyleCustomization.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineConditionalStyle.gif deleted file mode 100644 index d92f34c8a..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineConditionalStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineDescription.gif deleted file mode 100644 index 591559182..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyle.gif deleted file mode 100644 index 739ebbfa6..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyleCustomization.gif deleted file mode 100644 index 14af8aaee..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLineStyleCustomization.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkConditionalStyle.gif deleted file mode 100644 index 2b6925602..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkConditionalStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkDescription.gif deleted file mode 100644 index 1e5345fb3..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyle.gif deleted file mode 100644 index 8a5c70cbd..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyleCustomization.gif deleted file mode 100644 index 2124f3e3a..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFLinkStyleCustomization.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFQuickFix.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFQuickFix.gif deleted file mode 100644 index 7b7c428c7..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFQuickFix.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioConditionalStyle.gif deleted file mode 100644 index ef56c1408..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioConditionalStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioDescription.gif deleted file mode 100644 index a3908bcf7..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyle.gif deleted file mode 100644 index c3370c7dd..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyleCustomization.gif deleted file mode 100644 index 33a997a16..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFRadioStyleCustomization.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectConditionalStyle.gif deleted file mode 100644 index a17dc7d88..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectConditionalStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectDescription.gif deleted file mode 100644 index 134551bff..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyle.gif deleted file mode 100644 index 48e3cf226..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyleCustomization.gif deleted file mode 100644 index 904159880..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFSelectStyleCustomization.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableConditionalStyle.gif deleted file mode 100644 index 498364f1c..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableConditionalStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableDescription.gif deleted file mode 100644 index 94c953e01..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStructureDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStructureDescription.gif deleted file mode 100644 index c4a8af418..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStructureDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyle.gif deleted file mode 100644 index 98b351f1c..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyleCustomization.gif deleted file mode 100644 index caf280451..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTableStyleCustomization.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextConditionalStyle.gif deleted file mode 100644 index a26660ec2..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextConditionalStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyle.gif deleted file mode 100644 index c4a8af418..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyleCustomization.gif deleted file mode 100644 index 134551bff..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTextStyleCustomization.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeConditionalStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeConditionalStyle.gif deleted file mode 100644 index 98b351f1c..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeConditionalStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDescription.gif deleted file mode 100644 index badaab066..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDialogSelectDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDialogSelectDescription.gif deleted file mode 100644 index 904159880..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeDialogSelectDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStructureDescription.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStructureDescription.gif deleted file mode 100644 index 420eee177..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStructureDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyle.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyle.gif deleted file mode 100644 index 591559182..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyle.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyleCustomization.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyleCustomization.gif deleted file mode 100644 index be22463d2..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFTreeStyleCustomization.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFValidation.gif b/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFValidation.gif deleted file mode 100644 index 5a9bc7514..000000000 Binary files a/plugins/org.eclipse.eef.edit/icons/full/obj16/EEFValidation.gif and /dev/null differ diff --git a/plugins/org.eclipse.eef.edit/plugin.properties b/plugins/org.eclipse.eef.edit/plugin.properties index 41e5eda11..e6b86476a 100644 --- a/plugins/org.eclipse.eef.edit/plugin.properties +++ b/plugins/org.eclipse.eef.edit/plugin.properties @@ -7,373 +7,38 @@ pluginName = EEF Edit Support providerName = Eclipse Modeling Project - _UI_CreateChild_text = {0} _UI_CreateChild_text2 = {1} {0} _UI_CreateChild_text3 = {1} _UI_CreateChild_tooltip = Create New {0} Under {1} Feature _UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. _UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. - _UI_PropertyDescriptor_description = The {0} of the {1} - _UI_EEFViewDescription_type = EEF View Description _UI_EEFPageDescription_type = EEF Page Description _UI_EEFGroupDescription_type = EEF Group Description _UI_EEFContainerDescription_type = EEF Container Description _UI_EEFWidgetDescription_type = EEF Widget Description -_UI_EEFJavaExtensionDescription_type = EEF Java Extension Description -_UI_EEFTreeStructureDescription_type = EEF Tree Structure Description -_UI_EEFInterpretedTableStructureDescription_type = EEF Interpreted Table Structure Description -_UI_EEFCellWidgetDescription_type = EEF Cell Widget Description -_UI_EEFAdapterFactoryTreeStructureDescription_type = EEF Adapter Factory Tree Structure Description -_UI_EEFInterpretedTreeStructureDescription_type = EEF Interpreted Tree Structure Description _UI_EEFTextDescription_type = EEF Text Description -_UI_EEFCheckboxDescription_type = EEF Checkbox Description -_UI_EEFSelectDescription_type = EEF Select Description -_UI_EEFLabelDescription_type = EEF Label Description -_UI_EEFRadioDescription_type = EEF Radio Description -_UI_EEFTreeDialogSelectDescription_type = EEF Tree Dialog Select Description -_UI_EEFLinkDescription_type = EEF Link Description -_UI_EEFImageDescription_type = EEF Image Description -_UI_EEFTreeDescription_type = EEF Tree Description -_UI_EEFImagePickerDescription_type = EEF Image Picker Description -_UI_EEFTableDescription_type = EEF Table Description -_UI_EEFColumnDescription_type = EEF Column Description -_UI_EEFLineDescription_type = EEF Line Description -_UI_EEFTableStructureDescription_type = EEF Table Structure Description -_UI_EEFAdapterFactoryTableStructureDescription_type = EEF Adapter Factory Table Structure Description -_UI_ContextableElement_type = Contextable Element _UI_Unknown_type = Object - _UI_Unknown_datatype= Value - _UI_EEFViewDescription_identifier_feature = Identifier _UI_EEFViewDescription_labelExpression_feature = Label Expression -_UI_EEFViewDescription_ePackageNsUris_feature = EPackage Ns Uris _UI_EEFViewDescription_groups_feature = Groups _UI_EEFViewDescription_pages_feature = Pages -_UI_EEFViewDescription_javaExtensions_feature = Java Extensions -_UI_EEFViewDescription_importedViews_feature = Imported Views -_UI_EEFViewDescription_treeStructures_feature = Tree Structures -_UI_EEFViewDescription_tableStructures_feature = Table Structures +_UI_EEFViewDescription_ePackages_feature = EPackages _UI_EEFPageDescription_identifier_feature = Identifier _UI_EEFPageDescription_labelExpression_feature = Label Expression -_UI_EEFPageDescription_domainClass_feature = Domain Class _UI_EEFPageDescription_semanticCandidateExpression_feature = Semantic Candidate Expression _UI_EEFPageDescription_groups_feature = Groups -_UI_EEFPageDescription_extendedPage_feature = Extended Page _UI_EEFGroupDescription_identifier_feature = Identifier _UI_EEFGroupDescription_labelExpression_feature = Label Expression -_UI_EEFGroupDescription_domainClass_feature = Domain Class _UI_EEFGroupDescription_semanticCandidateExpression_feature = Semantic Candidate Expression _UI_EEFGroupDescription_container_feature = Container _UI_EEFContainerDescription_identifier_feature = Identifier -_UI_EEFContainerDescription_semanticCandidateExpression_feature = Semantic Candidate Expression -_UI_EEFContainerDescription_domainClass_feature = Domain Class -_UI_EEFContainerDescription_layoutColumnCount_feature = Layout Column Count -_UI_EEFContainerDescription_containers_feature = Containers _UI_EEFContainerDescription_widgets_feature = Widgets _UI_EEFWidgetDescription_identifier_feature = Identifier _UI_EEFWidgetDescription_labelExpression_feature = Label Expression -_UI_EEFWidgetDescription_featureCandidatesExpression_feature = Feature Candidates Expression -_UI_EEFJavaExtensionDescription_qualifiedName_feature = Qualified Name -_UI_EEFTreeStructureDescription_identifier_feature = Identifier -_UI_EEFTreeStructureDescription_multiple_feature = Multiple -_UI_EEFInterpretedTableStructureDescription_columns_feature = Columns -_UI_EEFInterpretedTableStructureDescription_line_feature = Line -_UI_EEFAdapterFactoryTreeStructureDescription_adapterFactoryProvider_feature = Adapter Factory Provider -_UI_EEFInterpretedTreeStructureDescription_rootsExpression_feature = Roots Expression -_UI_EEFInterpretedTreeStructureDescription_childrenExpression_feature = Children Expression -_UI_EEFInterpretedTreeStructureDescription_selectablePredicateExpression_feature = Selectable Predicate Expression -_UI_EEFInterpretedTreeStructureDescription_candidateDisplayExpression_feature = Candidate Display Expression _UI_EEFTextDescription_valueExpression_feature = Value Expression _UI_EEFTextDescription_editExpression_feature = Edit Expression -_UI_EEFTextDescription_lineCount_feature = Line Count -_UI_EEFCheckboxDescription_valueExpression_feature = Value Expression -_UI_EEFCheckboxDescription_editExpression_feature = Edit Expression -_UI_EEFSelectDescription_valueExpression_feature = Value Expression -_UI_EEFSelectDescription_editExpression_feature = Edit Expression -_UI_EEFSelectDescription_candidatesExpression_feature = Candidates Expression -_UI_EEFSelectDescription_multiple_feature = Multiple -_UI_EEFSelectDescription_candidateDisplayExpression_feature = Candidate Display Expression -_UI_EEFLabelDescription_valueExpression_feature = Value Expression -_UI_EEFRadioDescription_valueExpression_feature = Value Expression -_UI_EEFRadioDescription_editExpression_feature = Edit Expression -_UI_EEFRadioDescription_candidatesExpression_feature = Candidates Expression -_UI_EEFRadioDescription_candidateDisplayExpression_feature = Candidate Display Expression -_UI_EEFTreeDialogSelectDescription_semanticCandidateExpression_feature = Semantic Candidate Expression -_UI_EEFTreeDialogSelectDescription_defaultFilter_feature = Default Filter -_UI_EEFTreeDialogSelectDescription_domainClass_feature = Domain Class -_UI_EEFTreeDialogSelectDescription_tree_feature = Tree -_UI_EEFLinkDescription_onClickExpression_feature = On Click Expression -_UI_EEFImageDescription_valueExpression_feature = Value Expression -_UI_EEFTreeDescription_valueExpression_feature = Value Expression -_UI_EEFTreeDescription_treeStructure_feature = Tree Structure -_UI_EEFTreeDescription_editExpression_feature = Edit Expression -_UI_EEFImagePickerDescription_valueExpression_feature = Value Expression -_UI_EEFImagePickerDescription_editExpression_feature = Edit Expression -_UI_EEFImagePickerDescription_candidatesExpression_feature = Candidates Expression -_UI_EEFTableDescription_valueExpression_feature = Value Expression -_UI_EEFTableDescription_editExpression_feature = Edit Expression -_UI_EEFTableDescription_tableStructure_feature = Table Structure -_UI_EEFColumnDescription_width_feature = Width -_UI_EEFColumnDescription_headerExpression_feature = Header Expression -_UI_EEFColumnDescription_cellWidget_feature = Cell Widget -_UI_EEFColumnDescription_contextCandidatesExpression_feature = Context Candidates Expression -_UI_EEFLineDescription_headerExpression_feature = Header Expression -_UI_EEFLineDescription_semanticCandidatesExpression_feature = Semantic Candidates Expression -_UI_EEFLineDescription_domainClass_feature = Domain Class -_UI_EEFLineDescription_subLines_feature = Sub Lines -_UI_EEFTableStructureDescription_multiple_feature = Multiple -_UI_EEFTableStructureDescription_identifier_feature = Identifier -_UI_EEFAdapterFactoryTableStructureDescription_adapterFactoryProvider_feature = Adapter Factory Provider -_UI_ContextableElement_requiredContextVariables_feature = Required Context Variables -_UI_ContextableElement_excludedContextVariables_feature = Excluded Context Variables _UI_Unknown_feature = Unspecified - -_UI_EEFGroupDescription_semanticCandidateExpression_feature = Semantic Candidate Expression -_UI_EEFContainerDescription_semanticCandidateExpression_feature = Semantic Candidate Expression -_UI_EEFStyle_type = EEF Style -_UI_EEFConditionalStyle_type = EEF Conditional Style -_UI_EEFStyleCustomization_type = EEF Style Customization -_UI_EEFGroupStyle_type = EEF Group Style -_UI_EEFGroupConditionalStyle_type = EEF Group Conditional Style -_UI_EEFGroupStyleCustomization_type = EEF Group Style Customization -_UI_EEFTextStyle_type = EEF Text Style -_UI_EEFTextConditionalStyle_type = EEF Text Conditional Style -_UI_EEFTextStyleCustomization_type = EEF Text Style Customization -_UI_EEFCheckboxStyle_type = EEF Checkbox Style -_UI_EEFCheckboxConditionalStyle_type = EEF Checkbox Conditional Style -_UI_EEFCheckboxStyleCustomization_type = EEF Checkbox Style Customization -_UI_EEFLabelStyle_type = EEF Label Style -_UI_EEFLabelConditionalStyle_type = EEF Label Conditional Style -_UI_EEFLabelStyleCustomization_type = EEF Label Style Customization -_UI_EEFRadioStyle_type = EEF Radio Style -_UI_EEFRadioConditionalStyle_type = EEF Radio Conditional Style -_UI_EEFRadioStyleCustomization_type = EEF Radio Style Customization -_UI_EEFLinkStyle_type = EEF Link Style -_UI_EEFLinkConditionalStyle_type = EEF Link Conditional Style -_UI_EEFLinkStyleCustomization_type = EEF Link Style Customization -_UI_EEFSelectStyle_type = EEF Select Style -_UI_EEFSelectConditionalStyle_type = EEF Select Conditional Style -_UI_EEFSelectStyleCustomization_type = EEF Select Style Customization -_UI_EEFTreeStyle_type = EEF Tree Style -_UI_EEFTreeConditionalStyle_type = EEF Tree Conditional Style -_UI_EEFTreeStyleCustomization_type = EEF Tree Style Customization -_UI_EEFTableStyle_type = EEF Table Style -_UI_EEFTableConditionalStyle_type = EEF Table Conditional Style -_UI_EEFTableStyleCustomization_type = EEF Table Style Customization -_UI_EEFLineStyle_type = EEF Line Style -_UI_EEFLineConditionalStyle_type = EEF Line Conditional Style -_UI_EEFLineStyleCustomization_type = EEF Line Style Customization -_UI_EEFColumnStyle_type = EEF Column Style -_UI_EEFColumnConditionalStyle_type = EEF Column Conditional Style -_UI_EEFColumnStyleCustomization_type = EEF Column Style Customization -_UI_EEFViewDescription_styleCustomizations_feature = Style Customizations -_UI_EEFGroupDescription_collapsibleExpression_feature = Collapsible Expression -_UI_EEFGroupDescription_collapsedByDefaultExpression_feature = Collapsed By Default Expression -_UI_EEFGroupDescription_validationExpression_feature = Validation Expression -_UI_EEFWidgetDescription_labelStyle_feature = Label Style -_UI_EEFWidgetDescription_tooltipExpression_feature = Tooltip Expression -_UI_EEFWidgetDescription_helpExpression_feature = Help Expression -_UI_EEFWidgetDescription_validationExpression_feature = Validation Expression -_UI_EEFTextDescription_readOnlyExpression_feature = Read Only Expression -_UI_EEFTextDescription_contentAssistExpression_feature = Content Assist Expression -_UI_EEFTextDescription_placeholderExpression_feature = Placeholder Expression -_UI_EEFTextDescription_style_feature = Style -_UI_EEFTextDescription_conditionalStyles_feature = Conditional Styles -_UI_EEFStyle_fontExpression_feature = Font Expression -_UI_EEFConditionalStyle_conditionalExpression_feature = Conditional Expression -_UI_EEFGroupStyle_foregroundColorExpression_feature = Foreground Color Expression -_UI_EEFGroupConditionalStyle_style_feature = Style -_UI_EEFGroupStyleCustomization_style_feature = Style -_UI_EEFTextStyle_backgroundColorExpression_feature = Background Color Expression -_UI_EEFTextStyle_foregroundColorExpression_feature = Foreground Color Expression -_UI_EEFTextConditionalStyle_style_feature = Style -_UI_EEFTextStyleCustomization_style_feature = Style -_UI_EEFCheckboxStyle_backgroundColorExpression_feature = Background Color Expression -_UI_EEFCheckboxStyle_foregroundColorExpression_feature = Foreground Color Expression -_UI_EEFCheckboxConditionalStyle_style_feature = Style -_UI_EEFCheckboxStyleCustomization_style_feature = Style -_UI_EEFLabelStyle_backgroundColorExpression_feature = Background Color Expression -_UI_EEFLabelStyle_foregroundColorExpression_feature = Foreground Color Expression -_UI_EEFLabelConditionalStyle_style_feature = Style -_UI_EEFLabelStyleCustomization_style_feature = Style -_UI_EEFRadioStyle_backgroundColorExpression_feature = Background Color Expression -_UI_EEFRadioStyle_foregroundColorExpression_feature = Foreground Color Expression -_UI_EEFRadioConditionalStyle_style_feature = Style -_UI_EEFRadioStyleCustomization_style_feature = Style -_UI_EEFLinkStyle_backgroundColorExpression_feature = Background Color Expression -_UI_EEFLinkStyle_foregroundColorExpression_feature = Foreground Color Expression -_UI_EEFLinkStyle_backgroundImageExpression_feature = Background Image Expression -_UI_EEFLinkConditionalStyle_style_feature = Style -_UI_EEFLinkStyleCustomization_style_feature = Style -_UI_EEFSelectStyle_backgroundColorExpression_feature = Background Color Expression -_UI_EEFSelectStyle_foregroundColorExpression_feature = Foreground Color Expression -_UI_EEFSelectConditionalStyle_style_feature = Style -_UI_EEFSelectStyleCustomization_style_feature = Style -_UI_EEFTreeConditionalStyle_style_feature = Style -_UI_EEFTreeStyleCustomization_style_feature = Style -_UI_EEFTableConditionalStyle_style_feature = Style -_UI_EEFTableStyleCustomization_style_feature = Style -_UI_EEFLineStyle_backgroundColorExpression_feature = Background Color Expression -_UI_EEFLineStyle_foregroundColorExpression_feature = Foreground Color Expression -_UI_EEFLineStyle_headerBackgroundColorExpression_feature = Header Background Color Expression -_UI_EEFLineStyle_headerForegroundColorExpression_feature = Header Foreground Color Expression -_UI_EEFLineConditionalStyle_style_feature = Style -_UI_EEFLineStyleCustomization_style_feature = Style -_UI_EEFColumnStyle_backgroundColorExpression_feature = Background Color Expression -_UI_EEFColumnStyle_foregroundColorExpression_feature = Foreground Color Expression -_UI_EEFColumnStyle_headerBackgroundColorExpression_feature = Header Background Color Expression -_UI_EEFColumnStyle_headerForegroundColorExpression_feature = Header Foreground Color Expression -_UI_EEFColumnConditionalStyle_style_feature = Style -_UI_EEFColumnStyleCustomization_style_feature = Style -_UI_EEFQuickFix_type = EEF Quick Fix -_UI_EEFValidation_type = EEF Validation -_UI_SiriusExpressionPackage_type = Sirius Expression Package -_UI_SiriusExpressionDescription_type = Sirius Expression Description -_UI_SiriusVariable_type = Sirius Variable -_UI_SiriusExpressionClass_type = Sirius Expression Class -_UI_SiriusParameter_type = Sirius Parameter -_UI_UserDefinedVariable_type = User Defined Variable -_UI_EAttribute_type = EAttribute -_UI_EAnnotation_type = EAnnotation -_UI_EClass_type = EClass -_UI_EClassifier_type = EClassifier -_UI_EDataType_type = EData Type -_UI_EEnum_type = EEnum -_UI_EEnumLiteral_type = EEnum Literal -_UI_EFactory_type = EFactory -_UI_EModelElement_type = EModel Element -_UI_ENamedElement_type = ENamed Element -_UI_EObject_type = EObject -_UI_EOperation_type = EOperation -_UI_EPackage_type = EPackage -_UI_EParameter_type = EParameter -_UI_EReference_type = EReference -_UI_EStructuralFeature_type = EStructural Feature -_UI_ETypedElement_type = ETyped Element -_UI_EStringToStringMapEntry_type = EString To String Map Entry -_UI_EGenericType_type = EGeneric Type -_UI_ETypeParameter_type = EType Parameter -_UI_EEFViewDescription_preconditionExpression_feature = Precondition Expression -_UI_EEFViewDescription_userDefinedVariables_feature = User Defined Variables -_UI_EEFPageDescription_preconditionExpression_feature = Precondition Expression -_UI_EEFPageDescription_userDefinedVariables_feature = User Defined Variables -_UI_EEFGroupDescription_preconditionExpression_feature = Precondition Expression -_UI_EEFGroupDescription_userDefinedVariables_feature = User Defined Variables -_UI_EEFGroupDescription_validation_feature = Validation -_UI_EEFContainerDescription_preconditionExpression_feature = Precondition Expression -_UI_EEFContainerDescription_userDefinedVariables_feature = User Defined Variables -_UI_EEFWidgetDescription_preconditionExpression_feature = Precondition Expression -_UI_EEFWidgetDescription_userDefinedVariables_feature = User Defined Variables -_UI_EEFWidgetDescription_validation_feature = Validation -_UI_EEFTableStructureDescription_addExpression_feature = Add Expression -_UI_EEFTableStructureDescription_removeExpression_feature = Remove Expression -_UI_EEFTableStructureDescription_upExpression_feature = Up Expression -_UI_EEFTableStructureDescription_downExpression_feature = Down Expression -_UI_EEFQuickFix_titleExpression_feature = Title Expression -_UI_EEFQuickFix_messageExpression_feature = Message Expression -_UI_EEFQuickFix_canHandleStatusExpression_feature = Can Handle Status Expression -_UI_EEFQuickFix_fixExpression_feature = Fix Expression -_UI_EEFValidation_validationExpression_feature = Validation Expression -_UI_EEFValidation_quickfixes_feature = Quickfixes -_UI_SiriusExpressionPackage_expressionClasses_feature = Expression Classes -_UI_SiriusExpressionPackage_ePackage_feature = EPackage -_UI_SiriusExpressionDescription_lowerBound_feature = Lower Bound -_UI_SiriusExpressionDescription_upperBound_feature = Upper Bound -_UI_SiriusExpressionDescription_expression_feature = Expression -_UI_SiriusExpressionDescription_parameters_feature = Parameters -_UI_SiriusExpressionDescription_returnType_feature = Return Type -_UI_SiriusExpressionDescription_variableContainers_feature = Variable Containers -_UI_SiriusVariable_name_feature = Name -_UI_SiriusVariable_documentation_feature = Documentation -_UI_SiriusVariable_eType_feature = EType -_UI_SiriusExpressionClass_variables_feature = Variables -_UI_SiriusExpressionClass_expressionDescriptions_feature = Expression Descriptions -_UI_SiriusExpressionClass_eClass_feature = EClass -_UI_SiriusParameter_optional_feature = Optional -_UI_SiriusParameter_variable_feature = Variable -_UI_UserDefinedVariable_valueExpression_feature = Value Expression -_UI_EAttribute_iD_feature = ID -_UI_EAttribute_eAttributeType_feature = EAttribute Type -_UI_EAnnotation_source_feature = Source -_UI_EAnnotation_details_feature = Details -_UI_EAnnotation_eModelElement_feature = EModel Element -_UI_EAnnotation_contents_feature = Contents -_UI_EAnnotation_references_feature = References -_UI_EClass_abstract_feature = Abstract -_UI_EClass_interface_feature = Interface -_UI_EClass_eSuperTypes_feature = ESuper Types -_UI_EClass_eOperations_feature = EOperations -_UI_EClass_eAllAttributes_feature = EAll Attributes -_UI_EClass_eAllReferences_feature = EAll References -_UI_EClass_eReferences_feature = EReferences -_UI_EClass_eAttributes_feature = EAttributes -_UI_EClass_eAllContainments_feature = EAll Containments -_UI_EClass_eAllOperations_feature = EAll Operations -_UI_EClass_eAllStructuralFeatures_feature = EAll Structural Features -_UI_EClass_eAllSuperTypes_feature = EAll Super Types -_UI_EClass_eIDAttribute_feature = EID Attribute -_UI_EClass_eStructuralFeatures_feature = EStructural Features -_UI_EClass_eGenericSuperTypes_feature = EGeneric Super Types -_UI_EClass_eAllGenericSuperTypes_feature = EAll Generic Super Types -_UI_EClassifier_instanceClassName_feature = Instance Class Name -_UI_EClassifier_instanceClass_feature = Instance Class -_UI_EClassifier_defaultValue_feature = Default Value -_UI_EClassifier_instanceTypeName_feature = Instance Type Name -_UI_EClassifier_ePackage_feature = EPackage -_UI_EClassifier_eTypeParameters_feature = EType Parameters -_UI_EDataType_serializable_feature = Serializable -_UI_EEnum_eLiterals_feature = ELiterals -_UI_EEnumLiteral_value_feature = Value -_UI_EEnumLiteral_instance_feature = Instance -_UI_EEnumLiteral_literal_feature = Literal -_UI_EEnumLiteral_eEnum_feature = EEnum -_UI_EFactory_ePackage_feature = EPackage -_UI_EModelElement_eAnnotations_feature = EAnnotations -_UI_ENamedElement_name_feature = Name -_UI_EOperation_eContainingClass_feature = EContaining Class -_UI_EOperation_eTypeParameters_feature = EType Parameters -_UI_EOperation_eParameters_feature = EParameters -_UI_EOperation_eExceptions_feature = EExceptions -_UI_EOperation_eGenericExceptions_feature = EGeneric Exceptions -_UI_EPackage_nsURI_feature = Ns URI -_UI_EPackage_nsPrefix_feature = Ns Prefix -_UI_EPackage_eFactoryInstance_feature = EFactory Instance -_UI_EPackage_eClassifiers_feature = EClassifiers -_UI_EPackage_eSubpackages_feature = ESubpackages -_UI_EPackage_eSuperPackage_feature = ESuper Package -_UI_EParameter_eOperation_feature = EOperation -_UI_EReference_containment_feature = Containment -_UI_EReference_container_feature = Container -_UI_EReference_resolveProxies_feature = Resolve Proxies -_UI_EReference_eOpposite_feature = EOpposite -_UI_EReference_eReferenceType_feature = EReference Type -_UI_EReference_eKeys_feature = EKeys -_UI_EStructuralFeature_changeable_feature = Changeable -_UI_EStructuralFeature_volatile_feature = Volatile -_UI_EStructuralFeature_transient_feature = Transient -_UI_EStructuralFeature_defaultValueLiteral_feature = Default Value Literal -_UI_EStructuralFeature_defaultValue_feature = Default Value -_UI_EStructuralFeature_unsettable_feature = Unsettable -_UI_EStructuralFeature_derived_feature = Derived -_UI_EStructuralFeature_eContainingClass_feature = EContaining Class -_UI_ETypedElement_ordered_feature = Ordered -_UI_ETypedElement_unique_feature = Unique -_UI_ETypedElement_lowerBound_feature = Lower Bound -_UI_ETypedElement_upperBound_feature = Upper Bound -_UI_ETypedElement_many_feature = Many -_UI_ETypedElement_required_feature = Required -_UI_ETypedElement_eType_feature = EType -_UI_ETypedElement_eGenericType_feature = EGeneric Type -_UI_EStringToStringMapEntry_key_feature = Key -_UI_EStringToStringMapEntry_value_feature = Value -_UI_EGenericType_eUpperBound_feature = EUpper Bound -_UI_EGenericType_eTypeArguments_feature = EType Arguments -_UI_EGenericType_eRawType_feature = ERaw Type -_UI_EGenericType_eLowerBound_feature = ELower Bound -_UI_EGenericType_eTypeParameter_feature = EType Parameter -_UI_EGenericType_eClassifier_feature = EClassifier -_UI_ETypeParameter_eBounds_feature = EBounds diff --git a/plugins/org.eclipse.eef.edit/pom.xml b/plugins/org.eclipse.eef.edit/pom.xml new file mode 100644 index 000000000..4c8dc8bd7 --- /dev/null +++ b/plugins/org.eclipse.eef.edit/pom.xml @@ -0,0 +1,37 @@ + + + + 4.0.0 + + + org.eclipse.eef + org.eclipse.eef.parent + 2.0.0-SNAPSHOT + ../../releng/org.eclipse.eef.releng + + + org.eclipse.eef.edit + eclipse-plugin + + EEF Edit + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java deleted file mode 100644 index 0983919e3..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTableStructureDescriptionItemProvider.java +++ /dev/null @@ -1,137 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFAdapterFactoryTableStructureDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription} object. - * - * - * @generated - */ -public class EEFAdapterFactoryTableStructureDescriptionItemProvider extends EEFTableStructureDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFAdapterFactoryTableStructureDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addAdapterFactoryProviderPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Adapter Factory Provider feature. - * - * - * @generated - */ - protected void addAdapterFactoryProviderPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFAdapterFactoryTableStructureDescription_adapterFactoryProvider_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFAdapterFactoryTableStructureDescription_adapterFactoryProvider_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFAdapterFactoryTableStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFAdapterFactoryTableStructureDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFAdapterFactoryTableStructureDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - EEFAdapterFactoryTableStructureDescription eefAdapterFactoryTableStructureDescription = (EEFAdapterFactoryTableStructureDescription) object; - return getString("_UI_EEFAdapterFactoryTableStructureDescription_type") + " " + eefAdapterFactoryTableStructureDescription.isMultiple(); //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFAdapterFactoryTableStructureDescription.class)) { - case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java deleted file mode 100644 index fb2a9783a..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFAdapterFactoryTreeStructureDescriptionItemProvider.java +++ /dev/null @@ -1,139 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription} object. - * - * - * @generated - */ -public class EEFAdapterFactoryTreeStructureDescriptionItemProvider extends EEFTreeStructureDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFAdapterFactoryTreeStructureDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addAdapterFactoryProviderPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Adapter Factory Provider feature. - * - * - * @generated - */ - protected void addAdapterFactoryProviderPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFAdapterFactoryTreeStructureDescription_adapterFactoryProvider_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFAdapterFactoryTreeStructureDescription_adapterFactoryProvider_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFAdapterFactoryTreeStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFAdapterFactoryTreeStructureDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFAdapterFactoryTreeStructureDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFAdapterFactoryTreeStructureDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFAdapterFactoryTreeStructureDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFAdapterFactoryTreeStructureDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFAdapterFactoryTreeStructureDescription.class)) { - case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCellWidgetDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCellWidgetDescriptionItemProvider.java deleted file mode 100644 index d4aeecf0b..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCellWidgetDescriptionItemProvider.java +++ /dev/null @@ -1,113 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFCellWidgetDescription; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFCellWidgetDescription} object. - * - * - * @generated - */ -public class EEFCellWidgetDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFCellWidgetDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns EEFCellWidgetDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFCellWidgetDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFCellWidgetDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFCellWidgetDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFCellWidgetDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxConditionalStyleItemProvider.java deleted file mode 100644 index 2b0b5578e..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxConditionalStyleItemProvider.java +++ /dev/null @@ -1,174 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFCheckboxConditionalStyle; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFCheckboxConditionalStyle} object. - * - * - * @generated - */ -public class EEFCheckboxConditionalStyleItemProvider extends ItemProviderAdapter - implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFCheckboxConditionalStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFCheckboxConditionalStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFCheckboxConditionalStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_EEFCheckboxConditionalStyle_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFCheckboxConditionalStyle.class)) { - case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFCheckboxStyle())); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxDescriptionItemProvider.java deleted file mode 100644 index ee2813a37..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxDescriptionItemProvider.java +++ /dev/null @@ -1,156 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFCheckboxDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFCheckboxDescription} object. - * - * - * @generated - */ -public class EEFCheckboxDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFCheckboxDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - addEditExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFCheckboxDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFCheckboxDescription_valueExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFCheckboxDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Edit Expression feature. - * - * - * @generated - */ - protected void addEditExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFCheckboxDescription_editExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFCheckboxDescription_editExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFCheckboxDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This returns EEFCheckboxDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFCheckboxDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFCheckboxDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFCheckboxDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFCheckboxDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFCheckboxDescription.class)) { - case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: - case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleCustomizationItemProvider.java deleted file mode 100644 index e6a27555d..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleCustomizationItemProvider.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFCheckboxStyleCustomization; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFCheckboxStyleCustomization} object. - * - * - * @generated - */ -public class EEFCheckboxStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFCheckboxStyleCustomizationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFCheckboxStyleCustomization.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFCheckboxStyleCustomization")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_EEFCheckboxStyleCustomization_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFCheckboxStyleCustomization.class)) { - case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add( - createChildParameter(EefPackage.Literals.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFCheckboxStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleItemProvider.java deleted file mode 100644 index 859ee977e..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFCheckboxStyleItemProvider.java +++ /dev/null @@ -1,156 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFCheckboxStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFCheckboxStyle} object. - * - * - * @generated - */ -public class EEFCheckboxStyleItemProvider extends EEFStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFCheckboxStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBackgroundColorExpressionPropertyDescriptor(object); - addForegroundColorExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Background Color Expression feature. - * - * - * @generated - */ - protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFCheckboxStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFCheckboxStyle_backgroundColorExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFCheckboxStyle_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Foreground Color Expression feature. - * - * - * @generated - */ - protected void addForegroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFCheckboxStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFCheckboxStyle_foregroundColorExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFCheckboxStyle_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This returns EEFCheckboxStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFCheckboxStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFCheckboxStyle) object).getFontExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFCheckboxStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFCheckboxStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFCheckboxStyle.class)) { - case EefPackage.EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION: - case EefPackage.EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnConditionalStyleItemProvider.java deleted file mode 100644 index 2bbd0e6df..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnConditionalStyleItemProvider.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFColumnConditionalStyle; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFColumnConditionalStyle} object. - * - * - * @generated - */ -public class EEFColumnConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFColumnConditionalStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_COLUMN_CONDITIONAL_STYLE__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFColumnConditionalStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFColumnConditionalStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFColumnConditionalStyle) object).getConditionalExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFColumnConditionalStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFColumnConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFColumnConditionalStyle.class)) { - case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFColumnStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnDescriptionItemProvider.java deleted file mode 100644 index 76f1e568b..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnDescriptionItemProvider.java +++ /dev/null @@ -1,185 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFColumnDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFColumnDescription} object. - * - * - * @generated - */ -public class EEFColumnDescriptionItemProvider extends ItemProviderAdapter - implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFColumnDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addWidthPropertyDescriptor(object); - addHeaderExpressionPropertyDescriptor(object); - addCellWidgetPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Width feature. - * - * - * @generated - */ - protected void addWidthPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFColumnDescription_width_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnDescription_width_feature", "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_COLUMN_DESCRIPTION__WIDTH, true, false, false, ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Header Expression feature. - * - * - * @generated - */ - protected void addHeaderExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFColumnDescription_headerExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnDescription_headerExpression_feature", "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Cell Widget feature. - * - * - * @generated - */ - protected void addCellWidgetPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFColumnDescription_cellWidget_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnDescription_cellWidget_feature", "_UI_EEFColumnDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_COLUMN_DESCRIPTION__CELL_WIDGET, true, false, true, null, null, null)); - } - - /** - * This returns EEFColumnDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFColumnDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - EEFColumnDescription eefColumnDescription = (EEFColumnDescription) object; - return getString("_UI_EEFColumnDescription_type") + " " + eefColumnDescription.getWidth(); //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFColumnDescription.class)) { - case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: - case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleCustomizationItemProvider.java deleted file mode 100644 index b6d7e0eda..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleCustomizationItemProvider.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFColumnStyleCustomization; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFColumnStyleCustomization} object. - * - * - * @generated - */ -public class EEFColumnStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFColumnStyleCustomizationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFColumnStyleCustomization.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFColumnStyleCustomization")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_EEFColumnStyleCustomization_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFColumnStyleCustomization.class)) { - case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFColumnStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleItemProvider.java deleted file mode 100644 index 743f91bc7..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFColumnStyleItemProvider.java +++ /dev/null @@ -1,188 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFColumnStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFColumnStyle} object. - * - * - * @generated - */ -public class EEFColumnStyleItemProvider extends EEFStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFColumnStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBackgroundColorExpressionPropertyDescriptor(object); - addForegroundColorExpressionPropertyDescriptor(object); - addHeaderBackgroundColorExpressionPropertyDescriptor(object); - addHeaderForegroundColorExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Background Color Expression feature. - * - * - * @generated - */ - protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFColumnStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnStyle_backgroundColorExpression_feature", "_UI_EEFColumnStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Foreground Color Expression feature. - * - * - * @generated - */ - protected void addForegroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFColumnStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnStyle_foregroundColorExpression_feature", "_UI_EEFColumnStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Header Background Color Expression feature. - * - * - * @generated - */ - protected void addHeaderBackgroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFColumnStyle_headerBackgroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnStyle_headerBackgroundColorExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFColumnStyle_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Header Foreground Color Expression feature. - * - * - * @generated - */ - protected void addHeaderForegroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFColumnStyle_headerForegroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFColumnStyle_headerForegroundColorExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFColumnStyle_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFColumnStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFColumnStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFColumnStyle) object).getFontExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFColumnStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFColumnStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFColumnStyle.class)) { - case EefPackage.EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION: - case EefPackage.EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION: - case EefPackage.EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: - case EefPackage.EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFConditionalStyleItemProvider.java deleted file mode 100644 index 99288acfb..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFConditionalStyleItemProvider.java +++ /dev/null @@ -1,148 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFConditionalStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFConditionalStyle} object. - * - * - * @generated - */ -public class EEFConditionalStyleItemProvider extends ItemProviderAdapter - implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFConditionalStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addConditionalExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Conditional Expression feature. - * - * - * @generated - */ - protected void addConditionalExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFConditionalStyle_conditionalExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFConditionalStyle_conditionalExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFConditionalStyle_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFConditionalStyle) object).getConditionalExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFConditionalStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFConditionalStyle.class)) { - case EefPackage.EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFContainerDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFContainerDescriptionItemProvider.java index 891791bdf..0378c97eb 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFContainerDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFContainerDescriptionItemProvider.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -14,14 +14,10 @@ import java.util.List; import org.eclipse.eef.EEFContainerDescription; import org.eclipse.eef.EefFactory; import org.eclipse.eef.EefPackage; - import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; - import org.eclipse.emf.common.util.ResourceLocator; - import org.eclipse.emf.ecore.EStructuralFeature; - import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; import org.eclipse.emf.edit.provider.IItemLabelProvider; @@ -33,20 +29,17 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.sirius.expression.ExpressionFactory; - /** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFContainerDescription} object. - * - * + * This is the item provider adapter for a {@link org.eclipse.eef.EEFContainerDescription} object. + * * @generated */ public class EEFContainerDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { /** - * This constructs an instance from a factory and a notifier. - * - * + * This constructs an instance from a factory and a notifier. + * * @generated */ public EEFContainerDescriptionItemProvider(AdapterFactory adapterFactory) { @@ -54,9 +47,8 @@ public class EEFContainerDescriptionItemProvider extends ItemProviderAdapter } /** - * This returns the property descriptors for the adapted class. - * - * + * This returns the property descriptors for the adapted class. + * * @generated */ @Override @@ -65,18 +57,13 @@ public class EEFContainerDescriptionItemProvider extends ItemProviderAdapter super.getPropertyDescriptors(object); addIdentifierPropertyDescriptor(object); - addPreconditionExpressionPropertyDescriptor(object); - addSemanticCandidateExpressionPropertyDescriptor(object); - addDomainClassPropertyDescriptor(object); - addLayoutColumnCountPropertyDescriptor(object); } return itemPropertyDescriptors; } /** - * This adds a property descriptor for the Identifier feature. - * - * + * This adds a property descriptor for the Identifier feature. + * * @generated */ protected void addIdentifierPropertyDescriptor(Object object) { @@ -87,88 +74,26 @@ public class EEFContainerDescriptionItemProvider extends ItemProviderAdapter null)); } - /** - * This adds a property descriptor for the Precondition Expression feature. - * - * - * @generated - */ - protected void addPreconditionExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFContainerDescription_preconditionExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFContainerDescription_preconditionExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Semantic Candidate Expression feature. - * - * - * @generated - */ - protected void addSemanticCandidateExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFContainerDescription_semanticCandidateExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFContainerDescription_semanticCandidateExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Domain Class feature. - * - * - * @generated - */ - protected void addDomainClassPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFContainerDescription_domainClass_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFContainerDescription_domainClass_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Layout Column Count feature. - * - * - * @generated - */ - protected void addLayoutColumnCountPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFContainerDescription_layoutColumnCount_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFContainerDescription_layoutColumnCount_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFContainerDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT, true, false, false, ItemPropertyDescriptor.INTEGRAL_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}. - * - * + * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}. + * * @generated */ @Override public Collection getChildrenFeatures(Object object) { if (childrenFeatures == null) { super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES); - childrenFeatures.add(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__CONTAINERS); childrenFeatures.add(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS); } return childrenFeatures; } /** - * - * + * + * * @generated */ @Override @@ -180,9 +105,8 @@ public class EEFContainerDescriptionItemProvider extends ItemProviderAdapter } /** - * This returns EEFContainerDescription.gif. - * - * + * This returns EEFContainerDescription.gif. + * * @generated */ @Override @@ -191,8 +115,8 @@ public class EEFContainerDescriptionItemProvider extends ItemProviderAdapter } /** - * - * + * + * * @generated */ @Override @@ -201,24 +125,22 @@ public class EEFContainerDescriptionItemProvider extends ItemProviderAdapter } /** - * This returns the label text for the adapted class. - * - * + * This returns the label text for the adapted class. + * * @generated */ @Override public String getText(Object object) { String label = ((EEFContainerDescription) object).getIdentifier(); return label == null || label.length() == 0 ? getString("_UI_EEFContainerDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFContainerDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + : getString("_UI_EEFContainerDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ } /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * * @generated */ @Override @@ -227,14 +149,8 @@ public class EEFContainerDescriptionItemProvider extends ItemProviderAdapter switch (notification.getFeatureID(EEFContainerDescription.class)) { case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: - case EefPackage.EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION: - case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: - case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES: - case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); return; @@ -243,60 +159,22 @@ public class EEFContainerDescriptionItemProvider extends ItemProviderAdapter } /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * * @generated */ @Override protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES, - ExpressionFactory.eINSTANCE.createUserDefinedVariable())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__CONTAINERS, - EefFactory.eINSTANCE.createEEFContainerDescription())); - newChildDescriptors .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFTextDescription())); - - newChildDescriptors.add( - createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFCheckboxDescription())); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFSelectDescription())); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFLabelDescription())); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFRadioDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, - EefFactory.eINSTANCE.createEEFTreeDialogSelectDescription())); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFLinkDescription())); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFImageDescription())); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFTreeDescription())); - - newChildDescriptors.add( - createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFImagePickerDescription())); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_CONTAINER_DESCRIPTION__WIDGETS, EefFactory.eINSTANCE.createEEFTableDescription())); } /** - * Return the resource locator for this item provider's resources. - * - * + * Return the resource locator for this item provider's resources. + * * @generated */ @Override diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupConditionalStyleItemProvider.java deleted file mode 100644 index 8cb3f2422..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupConditionalStyleItemProvider.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFGroupConditionalStyle; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFGroupConditionalStyle} object. - * - * - * @generated - */ -public class EEFGroupConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFGroupConditionalStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_GROUP_CONDITIONAL_STYLE__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFGroupConditionalStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFGroupConditionalStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFGroupConditionalStyle) object).getConditionalExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFGroupConditionalStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFGroupConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFGroupConditionalStyle.class)) { - case EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_GROUP_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFGroupStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java index d1ed545b6..f261ac405 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupDescriptionItemProvider.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -14,14 +14,10 @@ import java.util.List; import org.eclipse.eef.EEFGroupDescription; import org.eclipse.eef.EefFactory; import org.eclipse.eef.EefPackage; - import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; - import org.eclipse.emf.common.util.ResourceLocator; - import org.eclipse.emf.ecore.EStructuralFeature; - import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; import org.eclipse.emf.edit.provider.IItemLabelProvider; @@ -33,20 +29,17 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.sirius.expression.ExpressionFactory; - /** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFGroupDescription} object. - * + * This is the item provider adapter for a {@link org.eclipse.eef.EEFGroupDescription} object. * + * * @generated */ public class EEFGroupDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { /** - * This constructs an instance from a factory and a notifier. - * - * + * This constructs an instance from a factory and a notifier. + * * @generated */ public EEFGroupDescriptionItemProvider(AdapterFactory adapterFactory) { @@ -54,9 +47,8 @@ public class EEFGroupDescriptionItemProvider extends ItemProviderAdapter } /** - * This returns the property descriptors for the adapted class. - * - * + * This returns the property descriptors for the adapted class. + * * @generated */ @Override @@ -65,20 +57,15 @@ public class EEFGroupDescriptionItemProvider extends ItemProviderAdapter super.getPropertyDescriptors(object); addIdentifierPropertyDescriptor(object); - addPreconditionExpressionPropertyDescriptor(object); addLabelExpressionPropertyDescriptor(object); - addDomainClassPropertyDescriptor(object); addSemanticCandidateExpressionPropertyDescriptor(object); - addCollapsibleExpressionPropertyDescriptor(object); - addCollapsedByDefaultExpressionPropertyDescriptor(object); } return itemPropertyDescriptors; } /** - * This adds a property descriptor for the Identifier feature. - * - * + * This adds a property descriptor for the Identifier feature. + * * @generated */ protected void addIdentifierPropertyDescriptor(Object object) { @@ -89,24 +76,8 @@ public class EEFGroupDescriptionItemProvider extends ItemProviderAdapter } /** - * This adds a property descriptor for the Precondition Expression feature. - * - * - * @generated - */ - protected void addPreconditionExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFGroupDescription_preconditionExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_preconditionExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Label Expression feature. - * - * + * This adds a property descriptor for the Label Expression feature. + * * @generated */ protected void addLabelExpressionPropertyDescriptor(Object object) { @@ -118,22 +89,9 @@ public class EEFGroupDescriptionItemProvider extends ItemProviderAdapter } /** - * This adds a property descriptor for the Domain Class feature. - * - * - * @generated - */ - protected void addDomainClassPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFGroupDescription_domainClass_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_domainClass_feature", "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Semantic Candidate Expression feature. - * - * + * This adds a property descriptor for the Semantic Candidate Expression feature. + * * @generated */ protected void addSemanticCandidateExpressionPropertyDescriptor(Object object) { @@ -145,58 +103,26 @@ public class EEFGroupDescriptionItemProvider extends ItemProviderAdapter ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); } - /** - * This adds a property descriptor for the Collapsible Expression feature. - * - * - * @generated - */ - protected void addCollapsibleExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFGroupDescription_collapsibleExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_collapsibleExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Collapsed By Default Expression feature. - * - * - * @generated - */ - protected void addCollapsedByDefaultExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFGroupDescription_collapsedByDefaultExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupDescription_collapsedByDefaultExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFGroupDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION, 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}. - * - * + * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}. + * * @generated */ @Override public Collection getChildrenFeatures(Object object) { if (childrenFeatures == null) { super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES); childrenFeatures.add(EefPackage.Literals.EEF_GROUP_DESCRIPTION__CONTAINER); - childrenFeatures.add(EefPackage.Literals.EEF_GROUP_DESCRIPTION__VALIDATION); } return childrenFeatures; } /** - * - * + * + * * @generated */ @Override @@ -208,9 +134,8 @@ public class EEFGroupDescriptionItemProvider extends ItemProviderAdapter } /** - * This returns EEFGroupDescription.gif. - * - * + * This returns EEFGroupDescription.gif. + * * @generated */ @Override @@ -219,8 +144,8 @@ public class EEFGroupDescriptionItemProvider extends ItemProviderAdapter } /** - * - * + * + * * @generated */ @Override @@ -229,24 +154,22 @@ public class EEFGroupDescriptionItemProvider extends ItemProviderAdapter } /** - * This returns the label text for the adapted class. - * - * + * This returns the label text for the adapted class. + * * @generated */ @Override public String getText(Object object) { String label = ((EEFGroupDescription) object).getIdentifier(); return label == null || label.length() == 0 ? getString("_UI_EEFGroupDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFGroupDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + : getString("_UI_EEFGroupDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ } /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * * @generated */ @Override @@ -255,17 +178,11 @@ public class EEFGroupDescriptionItemProvider extends ItemProviderAdapter switch (notification.getFeatureID(EEFGroupDescription.class)) { case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: - case EefPackage.EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION: case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: - case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION: - case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; - case EefPackage.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES: case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: - case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); return; } @@ -273,30 +190,22 @@ public class EEFGroupDescriptionItemProvider extends ItemProviderAdapter } /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * * @generated */ @Override protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES, - ExpressionFactory.eINSTANCE.createUserDefinedVariable())); - newChildDescriptors.add( createChildParameter(EefPackage.Literals.EEF_GROUP_DESCRIPTION__CONTAINER, EefFactory.eINSTANCE.createEEFContainerDescription())); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_GROUP_DESCRIPTION__VALIDATION, EefFactory.eINSTANCE.createEEFValidation())); } /** - * Return the resource locator for this item provider's resources. - * - * + * Return the resource locator for this item provider's resources. + * * @generated */ @Override diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleCustomizationItemProvider.java deleted file mode 100644 index b1a34e5a4..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleCustomizationItemProvider.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFGroupStyleCustomization; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFGroupStyleCustomization} object. - * - * - * @generated - */ -public class EEFGroupStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFGroupStyleCustomizationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFGroupStyleCustomization.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFGroupStyleCustomization")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_EEFGroupStyleCustomization_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFGroupStyleCustomization.class)) { - case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFGroupStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleItemProvider.java deleted file mode 100644 index 5d0816393..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFGroupStyleItemProvider.java +++ /dev/null @@ -1,138 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFGroupStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFGroupStyle} object. - * - * - * @generated - */ -public class EEFGroupStyleItemProvider extends EEFStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFGroupStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addForegroundColorExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Foreground Color Expression feature. - * - * - * @generated - */ - protected void addForegroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFGroupStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFGroupStyle_foregroundColorExpression_feature", "_UI_EEFGroupStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This returns EEFGroupStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFGroupStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFGroupStyle) object).getFontExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFGroupStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFGroupStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFGroupStyle.class)) { - case EefPackage.EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImageDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImageDescriptionItemProvider.java deleted file mode 100644 index b9a7eea8f..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImageDescriptionItemProvider.java +++ /dev/null @@ -1,138 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFImageDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFImageDescription} object. - * - * - * @generated - */ -public class EEFImageDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFImageDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFImageDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFImageDescription_valueExpression_feature", "_UI_EEFImageDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This returns EEFImageDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFImageDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFImageDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFImageDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFImageDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFImageDescription.class)) { - case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImagePickerDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImagePickerDescriptionItemProvider.java deleted file mode 100644 index 94c4997c1..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFImagePickerDescriptionItemProvider.java +++ /dev/null @@ -1,173 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFImagePickerDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFImagePickerDescription} object. - * - * - * @generated - */ -public class EEFImagePickerDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFImagePickerDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - addEditExpressionPropertyDescriptor(object); - addCandidatesExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFImagePickerDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFImagePickerDescription_valueExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFImagePickerDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Edit Expression feature. - * - * - * @generated - */ - protected void addEditExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFImagePickerDescription_editExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFImagePickerDescription_editExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFImagePickerDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Candidates Expression feature. - * - * - * @generated - */ - protected void addCandidatesExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFImagePickerDescription_candidatesExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFImagePickerDescription_candidatesExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFImagePickerDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFImagePickerDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFImagePickerDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFImagePickerDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFImagePickerDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFImagePickerDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFImagePickerDescription.class)) { - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java deleted file mode 100644 index d5aa7c058..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTableStructureDescriptionItemProvider.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFInterpretedTableStructureDescription; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFInterpretedTableStructureDescription} object. - * - * - * @generated - */ -public class EEFInterpretedTableStructureDescriptionItemProvider extends EEFTableStructureDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFInterpretedTableStructureDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS); - childrenFeatures.add(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFInterpretedTableStructureDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFInterpretedTableStructureDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - EEFInterpretedTableStructureDescription eefInterpretedTableStructureDescription = (EEFInterpretedTableStructureDescription) object; - return getString("_UI_EEFInterpretedTableStructureDescription_type") + " " + eefInterpretedTableStructureDescription.isMultiple(); //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFInterpretedTableStructureDescription.class)) { - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS, - EefFactory.eINSTANCE.createEEFColumnDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, - EefFactory.eINSTANCE.createEEFLineDescription())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java deleted file mode 100644 index 440ab3b54..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFInterpretedTreeStructureDescriptionItemProvider.java +++ /dev/null @@ -1,190 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFInterpretedTreeStructureDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFInterpretedTreeStructureDescription} object. - * - * - * @generated - */ -public class EEFInterpretedTreeStructureDescriptionItemProvider extends EEFTreeStructureDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFInterpretedTreeStructureDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addRootsExpressionPropertyDescriptor(object); - addChildrenExpressionPropertyDescriptor(object); - addSelectablePredicateExpressionPropertyDescriptor(object); - addCandidateDisplayExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Roots Expression feature. - * - * - * @generated - */ - protected void addRootsExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFInterpretedTreeStructureDescription_rootsExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFInterpretedTreeStructureDescription_rootsExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Children Expression feature. - * - * - * @generated - */ - protected void addChildrenExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFInterpretedTreeStructureDescription_childrenExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFInterpretedTreeStructureDescription_childrenExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Selectable Predicate Expression feature. - * - * - * @generated - */ - protected void addSelectablePredicateExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFInterpretedTreeStructureDescription_selectablePredicateExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFInterpretedTreeStructureDescription_selectablePredicateExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Candidate Display Expression feature. - * - * - * @generated - */ - protected void addCandidateDisplayExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFInterpretedTreeStructureDescription_candidateDisplayExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFInterpretedTreeStructureDescription_candidateDisplayExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFInterpretedTreeStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFInterpretedTreeStructureDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFInterpretedTreeStructureDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFInterpretedTreeStructureDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFInterpretedTreeStructureDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFInterpretedTreeStructureDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFInterpretedTreeStructureDescription.class)) { - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFJavaExtensionDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFJavaExtensionDescriptionItemProvider.java deleted file mode 100644 index ffb8225ae..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFJavaExtensionDescriptionItemProvider.java +++ /dev/null @@ -1,159 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFJavaExtensionDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFJavaExtensionDescription} object. - * - * - * @generated - */ -public class EEFJavaExtensionDescriptionItemProvider extends ItemProviderAdapter - implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFJavaExtensionDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addQualifiedNamePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Qualified Name feature. - * - * - * @generated - */ - protected void addQualifiedNamePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFJavaExtensionDescription_qualifiedName_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFJavaExtensionDescription_qualifiedName_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFJavaExtensionDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This returns EEFJavaExtensionDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFJavaExtensionDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFJavaExtensionDescription) object).getQualifiedName(); - return label == null || label.length() == 0 ? getString("_UI_EEFJavaExtensionDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFJavaExtensionDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFJavaExtensionDescription.class)) { - case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelConditionalStyleItemProvider.java deleted file mode 100644 index 069b443cb..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelConditionalStyleItemProvider.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFLabelConditionalStyle; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFLabelConditionalStyle} object. - * - * - * @generated - */ -public class EEFLabelConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFLabelConditionalStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_LABEL_CONDITIONAL_STYLE__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFLabelConditionalStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLabelConditionalStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFLabelConditionalStyle) object).getConditionalExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFLabelConditionalStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFLabelConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFLabelConditionalStyle.class)) { - case EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_LABEL_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFLabelStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelDescriptionItemProvider.java deleted file mode 100644 index 8a932897b..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelDescriptionItemProvider.java +++ /dev/null @@ -1,138 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFLabelDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFLabelDescription} object. - * - * - * @generated - */ -public class EEFLabelDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFLabelDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLabelDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFLabelDescription_valueExpression_feature", "_UI_EEFLabelDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This returns EEFLabelDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLabelDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFLabelDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFLabelDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFLabelDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFLabelDescription.class)) { - case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleCustomizationItemProvider.java deleted file mode 100644 index c9d69fb9b..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleCustomizationItemProvider.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFLabelStyleCustomization; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFLabelStyleCustomization} object. - * - * - * @generated - */ -public class EEFLabelStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFLabelStyleCustomizationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFLabelStyleCustomization.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLabelStyleCustomization")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_EEFLabelStyleCustomization_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFLabelStyleCustomization.class)) { - case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFLabelStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleItemProvider.java deleted file mode 100644 index cc3000284..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLabelStyleItemProvider.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFLabelStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFLabelStyle} object. - * - * - * @generated - */ -public class EEFLabelStyleItemProvider extends EEFStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFLabelStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBackgroundColorExpressionPropertyDescriptor(object); - addForegroundColorExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Background Color Expression feature. - * - * - * @generated - */ - protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLabelStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFLabelStyle_backgroundColorExpression_feature", "_UI_EEFLabelStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Foreground Color Expression feature. - * - * - * @generated - */ - protected void addForegroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLabelStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFLabelStyle_foregroundColorExpression_feature", "_UI_EEFLabelStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This returns EEFLabelStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLabelStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFLabelStyle) object).getFontExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFLabelStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFLabelStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFLabelStyle.class)) { - case EefPackage.EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION: - case EefPackage.EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineConditionalStyleItemProvider.java deleted file mode 100644 index c98276a13..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineConditionalStyleItemProvider.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFLineConditionalStyle; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFLineConditionalStyle} object. - * - * - * @generated - */ -public class EEFLineConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFLineConditionalStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_LINE_CONDITIONAL_STYLE__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFLineConditionalStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLineConditionalStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFLineConditionalStyle) object).getConditionalExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFLineConditionalStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFLineConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFLineConditionalStyle.class)) { - case EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_LINE_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFLineStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineDescriptionItemProvider.java deleted file mode 100644 index 8c63800ae..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineDescriptionItemProvider.java +++ /dev/null @@ -1,229 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFLineDescription; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFLineDescription} object. - * - * - * @generated - */ -public class EEFLineDescriptionItemProvider extends ItemProviderAdapter - implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFLineDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addHeaderExpressionPropertyDescriptor(object); - addSemanticCandidatesExpressionPropertyDescriptor(object); - addDomainClassPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Header Expression feature. - * - * - * @generated - */ - protected void addHeaderExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLineDescription_headerExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFLineDescription_headerExpression_feature", "_UI_EEFLineDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Semantic Candidates Expression feature. - * - * - * @generated - */ - protected void addSemanticCandidatesExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLineDescription_semanticCandidatesExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFLineDescription_semanticCandidatesExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFLineDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Domain Class feature. - * - * - * @generated - */ - protected void addDomainClassPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLineDescription_domainClass_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFLineDescription_domainClass_feature", "_UI_EEFLineDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_LINE_DESCRIPTION__DOMAIN_CLASS, 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_LINE_DESCRIPTION__SUB_LINES); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFLineDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLineDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFLineDescription) object).getHeaderExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFLineDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFLineDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFLineDescription.class)) { - case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: - case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_LINE_DESCRIPTION__SUB_LINES, EefFactory.eINSTANCE.createEEFLineDescription())); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleCustomizationItemProvider.java deleted file mode 100644 index 2ac3186db..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleCustomizationItemProvider.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFLineStyleCustomization; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFLineStyleCustomization} object. - * - * - * @generated - */ -public class EEFLineStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFLineStyleCustomizationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_LINE_STYLE_CUSTOMIZATION__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFLineStyleCustomization.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLineStyleCustomization")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_EEFLineStyleCustomization_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFLineStyleCustomization.class)) { - case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFLineStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleItemProvider.java deleted file mode 100644 index 823f63395..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLineStyleItemProvider.java +++ /dev/null @@ -1,186 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFLineStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFLineStyle} object. - * - * - * @generated - */ -public class EEFLineStyleItemProvider extends EEFStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFLineStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBackgroundColorExpressionPropertyDescriptor(object); - addForegroundColorExpressionPropertyDescriptor(object); - addHeaderBackgroundColorExpressionPropertyDescriptor(object); - addHeaderForegroundColorExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Background Color Expression feature. - * - * - * @generated - */ - protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLineStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFLineStyle_backgroundColorExpression_feature", "_UI_EEFLineStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Foreground Color Expression feature. - * - * - * @generated - */ - protected void addForegroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLineStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFLineStyle_foregroundColorExpression_feature", "_UI_EEFLineStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Header Background Color Expression feature. - * - * - * @generated - */ - protected void addHeaderBackgroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLineStyle_headerBackgroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFLineStyle_headerBackgroundColorExpression_feature", "_UI_EEFLineStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Header Foreground Color Expression feature. - * - * - * @generated - */ - protected void addHeaderForegroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLineStyle_headerForegroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFLineStyle_headerForegroundColorExpression_feature", "_UI_EEFLineStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFLineStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLineStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFLineStyle) object).getFontExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFLineStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFLineStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFLineStyle.class)) { - case EefPackage.EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION: - case EefPackage.EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION: - case EefPackage.EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: - case EefPackage.EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkConditionalStyleItemProvider.java deleted file mode 100644 index a6090551e..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkConditionalStyleItemProvider.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFLinkConditionalStyle; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFLinkConditionalStyle} object. - * - * - * @generated - */ -public class EEFLinkConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFLinkConditionalStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_LINK_CONDITIONAL_STYLE__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFLinkConditionalStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLinkConditionalStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFLinkConditionalStyle) object).getConditionalExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFLinkConditionalStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFLinkConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFLinkConditionalStyle.class)) { - case EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_LINK_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFLinkStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkDescriptionItemProvider.java deleted file mode 100644 index 258fe2419..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkDescriptionItemProvider.java +++ /dev/null @@ -1,138 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFLinkDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFLinkDescription} object. - * - * - * @generated - */ -public class EEFLinkDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFLinkDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addOnClickExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the On Click Expression feature. - * - * - * @generated - */ - protected void addOnClickExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLinkDescription_onClickExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFLinkDescription_onClickExpression_feature", "_UI_EEFLinkDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This returns EEFLinkDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLinkDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFLinkDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFLinkDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFLinkDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFLinkDescription.class)) { - case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleCustomizationItemProvider.java deleted file mode 100644 index 603f04cf5..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleCustomizationItemProvider.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFLinkStyleCustomization; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFLinkStyleCustomization} object. - * - * - * @generated - */ -public class EEFLinkStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFLinkStyleCustomizationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_LINK_STYLE_CUSTOMIZATION__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFLinkStyleCustomization.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLinkStyleCustomization")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_EEFLinkStyleCustomization_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFLinkStyleCustomization.class)) { - case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFLinkStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleItemProvider.java deleted file mode 100644 index ffe344852..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFLinkStyleItemProvider.java +++ /dev/null @@ -1,170 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFLinkStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFLinkStyle} object. - * - * - * @generated - */ -public class EEFLinkStyleItemProvider extends EEFStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFLinkStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBackgroundColorExpressionPropertyDescriptor(object); - addForegroundColorExpressionPropertyDescriptor(object); - addBackgroundImageExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Background Color Expression feature. - * - * - * @generated - */ - protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLinkStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFLinkStyle_backgroundColorExpression_feature", "_UI_EEFLinkStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Foreground Color Expression feature. - * - * - * @generated - */ - protected void addForegroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLinkStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFLinkStyle_foregroundColorExpression_feature", "_UI_EEFLinkStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Background Image Expression feature. - * - * - * @generated - */ - protected void addBackgroundImageExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFLinkStyle_backgroundImageExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFLinkStyle_backgroundImageExpression_feature", "_UI_EEFLinkStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This returns EEFLinkStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFLinkStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFLinkStyle) object).getFontExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFLinkStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFLinkStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFLinkStyle.class)) { - case EefPackage.EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION: - case EefPackage.EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION: - case EefPackage.EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFPageDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFPageDescriptionItemProvider.java index 86cadf59b..67554ba58 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFPageDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFPageDescriptionItemProvider.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -13,14 +13,9 @@ import java.util.List; import org.eclipse.eef.EEFPageDescription; import org.eclipse.eef.EefPackage; - import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; - import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.ecore.EStructuralFeature; - import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; import org.eclipse.emf.edit.provider.IItemLabelProvider; @@ -32,20 +27,17 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.sirius.expression.ExpressionFactory; - /** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFPageDescription} object. - * + * This is the item provider adapter for a {@link org.eclipse.eef.EEFPageDescription} object. * + * * @generated */ public class EEFPageDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { /** - * This constructs an instance from a factory and a notifier. - * - * + * This constructs an instance from a factory and a notifier. + * * @generated */ public EEFPageDescriptionItemProvider(AdapterFactory adapterFactory) { @@ -53,9 +45,8 @@ public class EEFPageDescriptionItemProvider extends ItemProviderAdapter } /** - * This returns the property descriptors for the adapted class. - * - * + * This returns the property descriptors for the adapted class. + * * @generated */ @Override @@ -64,20 +55,16 @@ public class EEFPageDescriptionItemProvider extends ItemProviderAdapter super.getPropertyDescriptors(object); addIdentifierPropertyDescriptor(object); - addPreconditionExpressionPropertyDescriptor(object); addLabelExpressionPropertyDescriptor(object); - addDomainClassPropertyDescriptor(object); addSemanticCandidateExpressionPropertyDescriptor(object); addGroupsPropertyDescriptor(object); - addExtendedPagePropertyDescriptor(object); } return itemPropertyDescriptors; } /** - * This adds a property descriptor for the Identifier feature. - * - * + * This adds a property descriptor for the Identifier feature. + * * @generated */ protected void addIdentifierPropertyDescriptor(Object object) { @@ -88,24 +75,8 @@ public class EEFPageDescriptionItemProvider extends ItemProviderAdapter } /** - * This adds a property descriptor for the Precondition Expression feature. - * - * - * @generated - */ - protected void addPreconditionExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFPageDescription_preconditionExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_preconditionExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFPageDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Label Expression feature. - * - * + * This adds a property descriptor for the Label Expression feature. + * * @generated */ protected void addLabelExpressionPropertyDescriptor(Object object) { @@ -117,22 +88,9 @@ public class EEFPageDescriptionItemProvider extends ItemProviderAdapter } /** - * This adds a property descriptor for the Domain Class feature. - * - * - * @generated - */ - protected void addDomainClassPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFPageDescription_domainClass_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_domainClass_feature", "_UI_EEFPageDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Semantic Candidate Expression feature. - * - * + * This adds a property descriptor for the Semantic Candidate Expression feature. + * * @generated */ protected void addSemanticCandidateExpressionPropertyDescriptor(Object object) { @@ -145,9 +103,8 @@ public class EEFPageDescriptionItemProvider extends ItemProviderAdapter } /** - * This adds a property descriptor for the Groups feature. - * - * + * This adds a property descriptor for the Groups feature. + * * @generated */ protected void addGroupsPropertyDescriptor(Object object) { @@ -158,52 +115,8 @@ public class EEFPageDescriptionItemProvider extends ItemProviderAdapter } /** - * This adds a property descriptor for the Extended Page feature. - * - * - * @generated - */ - protected void addExtendedPagePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFPageDescription_extendedPage_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFPageDescription_extendedPage_feature", "_UI_EEFPageDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE, true, false, true, null, 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFPageDescription.gif. - * - * + * This returns EEFPageDescription.gif. + * * @generated */ @Override @@ -212,8 +125,8 @@ public class EEFPageDescriptionItemProvider extends ItemProviderAdapter } /** - * - * + * + * * @generated */ @Override @@ -222,24 +135,22 @@ public class EEFPageDescriptionItemProvider extends ItemProviderAdapter } /** - * This returns the label text for the adapted class. - * - * + * This returns the label text for the adapted class. + * * @generated */ @Override public String getText(Object object) { String label = ((EEFPageDescription) object).getIdentifier(); return label == null || label.length() == 0 ? getString("_UI_EEFPageDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFPageDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + : getString("_UI_EEFPageDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ } /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * * @generated */ @Override @@ -248,38 +159,28 @@ public class EEFPageDescriptionItemProvider extends ItemProviderAdapter switch (notification.getFeatureID(EEFPageDescription.class)) { case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: - case EefPackage.EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION: case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: - case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; - case EefPackage.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; } super.notifyChanged(notification); } /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * * @generated */ @Override protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES, - ExpressionFactory.eINSTANCE.createUserDefinedVariable())); } /** - * Return the resource locator for this item provider's resources. - * - * + * Return the resource locator for this item provider's resources. + * * @generated */ @Override diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFQuickFixItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFQuickFixItemProvider.java deleted file mode 100644 index 010bc16bb..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFQuickFixItemProvider.java +++ /dev/null @@ -1,203 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFQuickFix; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFQuickFix} object. - * - * - * @generated - */ -public class EEFQuickFixItemProvider extends ItemProviderAdapter - implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFQuickFixItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addTitleExpressionPropertyDescriptor(object); - addMessageExpressionPropertyDescriptor(object); - addCanHandleStatusExpressionPropertyDescriptor(object); - addFixExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Title Expression feature. - * - * - * @generated - */ - protected void addTitleExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFQuickFix_titleExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFQuickFix_titleExpression_feature", "_UI_EEFQuickFix_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_QUICK_FIX__TITLE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Message Expression feature. - * - * - * @generated - */ - protected void addMessageExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFQuickFix_messageExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFQuickFix_messageExpression_feature", "_UI_EEFQuickFix_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_QUICK_FIX__MESSAGE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Can Handle Status Expression feature. - * - * - * @generated - */ - protected void addCanHandleStatusExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFQuickFix_canHandleStatusExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFQuickFix_canHandleStatusExpression_feature", "_UI_EEFQuickFix_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Fix Expression feature. - * - * - * @generated - */ - protected void addFixExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFQuickFix_fixExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFQuickFix_fixExpression_feature", "_UI_EEFQuickFix_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_QUICK_FIX__FIX_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFQuickFix.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFQuickFix")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFQuickFix) object).getTitleExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFQuickFix_type") //$NON-NLS-1$ - : - getString("_UI_EEFQuickFix_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFQuickFix.class)) { - case EefPackage.EEF_QUICK_FIX__TITLE_EXPRESSION: - case EefPackage.EEF_QUICK_FIX__MESSAGE_EXPRESSION: - case EefPackage.EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION: - case EefPackage.EEF_QUICK_FIX__FIX_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioConditionalStyleItemProvider.java deleted file mode 100644 index f7f990301..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioConditionalStyleItemProvider.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFRadioConditionalStyle; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFRadioConditionalStyle} object. - * - * - * @generated - */ -public class EEFRadioConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFRadioConditionalStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_RADIO_CONDITIONAL_STYLE__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFRadioConditionalStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFRadioConditionalStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFRadioConditionalStyle) object).getConditionalExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFRadioConditionalStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFRadioConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFRadioConditionalStyle.class)) { - case EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_RADIO_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFRadioStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioDescriptionItemProvider.java deleted file mode 100644 index 785b8b398..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioDescriptionItemProvider.java +++ /dev/null @@ -1,188 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFRadioDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFRadioDescription} object. - * - * - * @generated - */ -public class EEFRadioDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFRadioDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - addEditExpressionPropertyDescriptor(object); - addCandidatesExpressionPropertyDescriptor(object); - addCandidateDisplayExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFRadioDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFRadioDescription_valueExpression_feature", "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Edit Expression feature. - * - * - * @generated - */ - protected void addEditExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFRadioDescription_editExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFRadioDescription_editExpression_feature", "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Candidates Expression feature. - * - * - * @generated - */ - protected void addCandidatesExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFRadioDescription_candidatesExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFRadioDescription_candidatesExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Candidate Display Expression feature. - * - * - * @generated - */ - protected void addCandidateDisplayExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFRadioDescription_candidateDisplayExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFRadioDescription_candidateDisplayExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFRadioDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFRadioDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFRadioDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFRadioDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFRadioDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFRadioDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFRadioDescription.class)) { - case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: - case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleCustomizationItemProvider.java deleted file mode 100644 index e8163dc11..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleCustomizationItemProvider.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFRadioStyleCustomization; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFRadioStyleCustomization} object. - * - * - * @generated - */ -public class EEFRadioStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFRadioStyleCustomizationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFRadioStyleCustomization.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFRadioStyleCustomization")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_EEFRadioStyleCustomization_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFRadioStyleCustomization.class)) { - case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFRadioStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleItemProvider.java deleted file mode 100644 index 3fd2097a6..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFRadioStyleItemProvider.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFRadioStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFRadioStyle} object. - * - * - * @generated - */ -public class EEFRadioStyleItemProvider extends EEFStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFRadioStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBackgroundColorExpressionPropertyDescriptor(object); - addForegroundColorExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Background Color Expression feature. - * - * - * @generated - */ - protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFRadioStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFRadioStyle_backgroundColorExpression_feature", "_UI_EEFRadioStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Foreground Color Expression feature. - * - * - * @generated - */ - protected void addForegroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFRadioStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFRadioStyle_foregroundColorExpression_feature", "_UI_EEFRadioStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This returns EEFRadioStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFRadioStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFRadioStyle) object).getFontExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFRadioStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFRadioStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFRadioStyle.class)) { - case EefPackage.EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION: - case EefPackage.EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectConditionalStyleItemProvider.java deleted file mode 100644 index ed1f8d70a..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectConditionalStyleItemProvider.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFSelectConditionalStyle; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFSelectConditionalStyle} object. - * - * - * @generated - */ -public class EEFSelectConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFSelectConditionalStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_SELECT_CONDITIONAL_STYLE__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFSelectConditionalStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFSelectConditionalStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFSelectConditionalStyle) object).getConditionalExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFSelectConditionalStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFSelectConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFSelectConditionalStyle.class)) { - case EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_SELECT_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFSelectStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectDescriptionItemProvider.java deleted file mode 100644 index d9e3ed694..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectDescriptionItemProvider.java +++ /dev/null @@ -1,203 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFSelectDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFSelectDescription} object. - * - * - * @generated - */ -public class EEFSelectDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFSelectDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - addEditExpressionPropertyDescriptor(object); - addCandidatesExpressionPropertyDescriptor(object); - addMultiplePropertyDescriptor(object); - addCandidateDisplayExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFSelectDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectDescription_valueExpression_feature", "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Edit Expression feature. - * - * - * @generated - */ - protected void addEditExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFSelectDescription_editExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectDescription_editExpression_feature", "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Candidates Expression feature. - * - * - * @generated - */ - protected void addCandidatesExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFSelectDescription_candidatesExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectDescription_candidatesExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Multiple feature. - * - * - * @generated - */ - protected void addMultiplePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFSelectDescription_multiple_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectDescription_multiple_feature", "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_SELECT_DESCRIPTION__MULTIPLE, true, false, false, ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Candidate Display Expression feature. - * - * - * @generated - */ - protected void addCandidateDisplayExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFSelectDescription_candidateDisplayExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectDescription_candidateDisplayExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFSelectDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This returns EEFSelectDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFSelectDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFSelectDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFSelectDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFSelectDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFSelectDescription.class)) { - case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: - case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: - case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleCustomizationItemProvider.java deleted file mode 100644 index 2be0f902e..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleCustomizationItemProvider.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFSelectStyleCustomization; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFSelectStyleCustomization} object. - * - * - * @generated - */ -public class EEFSelectStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFSelectStyleCustomizationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFSelectStyleCustomization.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFSelectStyleCustomization")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_EEFSelectStyleCustomization_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFSelectStyleCustomization.class)) { - case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFSelectStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleItemProvider.java deleted file mode 100644 index 5aeba47c8..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFSelectStyleItemProvider.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFSelectStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFSelectStyle} object. - * - * - * @generated - */ -public class EEFSelectStyleItemProvider extends EEFStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFSelectStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBackgroundColorExpressionPropertyDescriptor(object); - addForegroundColorExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Background Color Expression feature. - * - * - * @generated - */ - protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFSelectStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectStyle_backgroundColorExpression_feature", "_UI_EEFSelectStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Foreground Color Expression feature. - * - * - * @generated - */ - protected void addForegroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFSelectStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFSelectStyle_foregroundColorExpression_feature", "_UI_EEFSelectStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This returns EEFSelectStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFSelectStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFSelectStyle) object).getFontExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFSelectStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFSelectStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFSelectStyle.class)) { - case EefPackage.EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION: - case EefPackage.EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleCustomizationItemProvider.java deleted file mode 100644 index 9be323a6e..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleCustomizationItemProvider.java +++ /dev/null @@ -1,117 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFStyleCustomization} object. - * - * - * @generated - */ -public class EEFStyleCustomizationItemProvider extends ItemProviderAdapter - implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFStyleCustomizationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_EEFStyleCustomization_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleItemProvider.java deleted file mode 100644 index ab479dd87..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFStyleItemProvider.java +++ /dev/null @@ -1,146 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFStyle} object. - * - * - * @generated - */ -public class EEFStyleItemProvider extends ItemProviderAdapter - implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addFontExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Font Expression feature. - * - * - * @generated - */ - protected void addFontExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFStyle_fontExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFStyle_fontExpression_feature", "_UI_EEFStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_STYLE__FONT_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFStyle) object).getFontExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFStyle.class)) { - case EefPackage.EEF_STYLE__FONT_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableConditionalStyleItemProvider.java deleted file mode 100644 index a4399f62d..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableConditionalStyleItemProvider.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFTableConditionalStyle; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFTableConditionalStyle} object. - * - * - * @generated - */ -public class EEFTableConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTableConditionalStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_TABLE_CONDITIONAL_STYLE__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFTableConditionalStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTableConditionalStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFTableConditionalStyle) object).getConditionalExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFTableConditionalStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFTableConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTableConditionalStyle.class)) { - case EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_TABLE_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFTableStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableDescriptionItemProvider.java deleted file mode 100644 index b7a8f9188..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableDescriptionItemProvider.java +++ /dev/null @@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFTableDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFTableDescription} object. - * - * - * @generated - */ -public class EEFTableDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTableDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - addEditExpressionPropertyDescriptor(object); - addTableStructurePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTableDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTableDescription_valueExpression_feature", "_UI_EEFTableDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Edit Expression feature. - * - * - * @generated - */ - protected void addEditExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTableDescription_editExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTableDescription_editExpression_feature", "_UI_EEFTableDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Table Structure feature. - * - * - * @generated - */ - protected void addTableStructurePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTableDescription_tableStructure_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTableDescription_tableStructure_feature", "_UI_EEFTableDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE, true, false, true, null, null, null)); - } - - /** - * This returns EEFTableDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTableDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFTableDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFTableDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFTableDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTableDescription.class)) { - case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: - case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStructureDescriptionItemProvider.java deleted file mode 100644 index ef228e0de..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStructureDescriptionItemProvider.java +++ /dev/null @@ -1,242 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFTableStructureDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFTableStructureDescription} object. - * - * - * @generated - */ -public class EEFTableStructureDescriptionItemProvider extends ItemProviderAdapter - implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTableStructureDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addMultiplePropertyDescriptor(object); - addIdentifierPropertyDescriptor(object); - addAddExpressionPropertyDescriptor(object); - addRemoveExpressionPropertyDescriptor(object); - addUpExpressionPropertyDescriptor(object); - addDownExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Multiple feature. - * - * - * @generated - */ - protected void addMultiplePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTableStructureDescription_multiple_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_multiple_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE, true, false, false, ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Identifier feature. - * - * - * @generated - */ - protected void addIdentifierPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTableStructureDescription_identifier_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Add Expression feature. - * - * - * @generated - */ - protected void addAddExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTableStructureDescription_addExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_addExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Remove Expression feature. - * - * - * @generated - */ - protected void addRemoveExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTableStructureDescription_removeExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_removeExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Up Expression feature. - * - * - * @generated - */ - protected void addUpExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTableStructureDescription_upExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_upExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Down Expression feature. - * - * - * @generated - */ - protected void addDownExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTableStructureDescription_downExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTableStructureDescription_downExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTableStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This returns EEFTableStructureDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTableStructureDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - EEFTableStructureDescription eefTableStructureDescription = (EEFTableStructureDescription) object; - return getString("_UI_EEFTableStructureDescription_type") + " " + eefTableStructureDescription.isMultiple(); //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTableStructureDescription.class)) { - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION: - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION: - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION: - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleCustomizationItemProvider.java deleted file mode 100644 index d9d478947..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleCustomizationItemProvider.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFTableStyleCustomization; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFTableStyleCustomization} object. - * - * - * @generated - */ -public class EEFTableStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTableStyleCustomizationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFTableStyleCustomization.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTableStyleCustomization")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_EEFTableStyleCustomization_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTableStyleCustomization.class)) { - case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFTableStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleItemProvider.java deleted file mode 100644 index 8096febab..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTableStyleItemProvider.java +++ /dev/null @@ -1,113 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFTableStyle; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFTableStyle} object. - * - * - * @generated - */ -public class EEFTableStyleItemProvider extends EEFStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTableStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns EEFTableStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTableStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFTableStyle) object).getFontExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFTableStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFTableStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextConditionalStyleItemProvider.java deleted file mode 100644 index d8119cd03..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextConditionalStyleItemProvider.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFTextConditionalStyle; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFTextConditionalStyle} object. - * - * - * @generated - */ -public class EEFTextConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTextConditionalStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_TEXT_CONDITIONAL_STYLE__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFTextConditionalStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTextConditionalStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFTextConditionalStyle) object).getConditionalExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFTextConditionalStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFTextConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTextConditionalStyle.class)) { - case EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_TEXT_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFTextStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java index bf4341749..3676f6394 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextDescriptionItemProvider.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -12,30 +12,24 @@ import java.util.Collection; import java.util.List; import org.eclipse.eef.EEFTextDescription; -import org.eclipse.eef.EefFactory; import org.eclipse.eef.EefPackage; - import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ViewerNotification; /** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFTextDescription} object. - * + * This is the item provider adapter for a {@link org.eclipse.eef.EEFTextDescription} object. * + * * @generated */ -public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { +public class EEFTextDescriptionItemProvider extends EEFWidgetDescriptionItemProvider { /** - * This constructs an instance from a factory and a notifier. - * - * + * This constructs an instance from a factory and a notifier. + * * @generated */ public EEFTextDescriptionItemProvider(AdapterFactory adapterFactory) { @@ -43,9 +37,8 @@ public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItem } /** - * This returns the property descriptors for the adapted class. - * - * + * This returns the property descriptors for the adapted class. + * * @generated */ @Override @@ -55,18 +48,13 @@ public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItem addValueExpressionPropertyDescriptor(object); addEditExpressionPropertyDescriptor(object); - addReadOnlyExpressionPropertyDescriptor(object); - addContentAssistExpressionPropertyDescriptor(object); - addPlaceholderExpressionPropertyDescriptor(object); - addLineCountPropertyDescriptor(object); } return itemPropertyDescriptors; } /** - * This adds a property descriptor for the Value Expression feature. - * - * + * This adds a property descriptor for the Value Expression feature. + * * @generated */ protected void addValueExpressionPropertyDescriptor(Object object) { @@ -78,9 +66,8 @@ public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItem } /** - * This adds a property descriptor for the Edit Expression feature. - * - * + * This adds a property descriptor for the Edit Expression feature. + * * @generated */ protected void addEditExpressionPropertyDescriptor(Object object) { @@ -92,97 +79,8 @@ public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItem } /** - * This adds a property descriptor for the Read Only Expression feature. - * - * - * @generated - */ - protected void addReadOnlyExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTextDescription_readOnlyExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTextDescription_readOnlyExpression_feature", "_UI_EEFTextDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Content Assist Expression feature. - * - * - * @generated - */ - protected void addContentAssistExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTextDescription_contentAssistExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTextDescription_contentAssistExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTextDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Placeholder Expression feature. - * - * - * @generated - */ - protected void addPlaceholderExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTextDescription_placeholderExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTextDescription_placeholderExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTextDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Line Count feature. - * - * - * @generated - */ - protected void addLineCountPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTextDescription_lineCount_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTextDescription_lineCount_feature", "_UI_EEFTextDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_TEXT_DESCRIPTION__LINE_COUNT, true, false, false, ItemPropertyDescriptor.INTEGRAL_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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_TEXT_DESCRIPTION__STYLE); - childrenFeatures.add(EefPackage.Literals.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFTextDescription.gif. - * - * + * This returns EEFTextDescription.gif. + * * @generated */ @Override @@ -191,8 +89,8 @@ public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItem } /** - * - * + * + * * @generated */ @Override @@ -201,24 +99,22 @@ public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItem } /** - * This returns the label text for the adapted class. - * - * + * This returns the label text for the adapted class. + * * @generated */ @Override public String getText(Object object) { String label = ((EEFTextDescription) object).getIdentifier(); return label == null || label.length() == 0 ? getString("_UI_EEFTextDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFTextDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + : getString("_UI_EEFTextDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ } /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * * @generated */ @Override @@ -228,35 +124,21 @@ public class EEFTextDescriptionItemProvider extends EEFCellWidgetDescriptionItem switch (notification.getFeatureID(EEFTextDescription.class)) { case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: - case EefPackage.EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION: - case EefPackage.EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION: - case EefPackage.EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION: - case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; - case EefPackage.EEF_TEXT_DESCRIPTION__STYLE: - case EefPackage.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; } super.notifyChanged(notification); } /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * * @generated */ @Override protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_TEXT_DESCRIPTION__STYLE, EefFactory.eINSTANCE.createEEFTextStyle())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES, - EefFactory.eINSTANCE.createEEFTextConditionalStyle())); } } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleCustomizationItemProvider.java deleted file mode 100644 index e1e93eb35..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleCustomizationItemProvider.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFTextStyleCustomization; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFTextStyleCustomization} object. - * - * - * @generated - */ -public class EEFTextStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTextStyleCustomizationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFTextStyleCustomization.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTextStyleCustomization")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_EEFTextStyleCustomization_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTextStyleCustomization.class)) { - case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFTextStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleItemProvider.java deleted file mode 100644 index 87bf63f3f..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTextStyleItemProvider.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFTextStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFTextStyle} object. - * - * - * @generated - */ -public class EEFTextStyleItemProvider extends EEFStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTextStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBackgroundColorExpressionPropertyDescriptor(object); - addForegroundColorExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Background Color Expression feature. - * - * - * @generated - */ - protected void addBackgroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTextStyle_backgroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTextStyle_backgroundColorExpression_feature", "_UI_EEFTextStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Foreground Color Expression feature. - * - * - * @generated - */ - protected void addForegroundColorExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTextStyle_foregroundColorExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTextStyle_foregroundColorExpression_feature", "_UI_EEFTextStyle_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This returns EEFTextStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTextStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFTextStyle) object).getFontExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFTextStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFTextStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTextStyle.class)) { - case EefPackage.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION: - case EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeConditionalStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeConditionalStyleItemProvider.java deleted file mode 100644 index 44bbeccce..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeConditionalStyleItemProvider.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFTreeConditionalStyle; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFTreeConditionalStyle} object. - * - * - * @generated - */ -public class EEFTreeConditionalStyleItemProvider extends EEFConditionalStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTreeConditionalStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_TREE_CONDITIONAL_STYLE__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFTreeConditionalStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeConditionalStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFTreeConditionalStyle) object).getConditionalExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFTreeConditionalStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFTreeConditionalStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTreeConditionalStyle.class)) { - case EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_TREE_CONDITIONAL_STYLE__STYLE, EefFactory.eINSTANCE.createEEFTreeStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDescriptionItemProvider.java deleted file mode 100644 index 692cb50fe..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDescriptionItemProvider.java +++ /dev/null @@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFTreeDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFTreeDescription} object. - * - * - * @generated - */ -public class EEFTreeDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTreeDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - addTreeStructurePropertyDescriptor(object); - addEditExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTreeDescription_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDescription_valueExpression_feature", "_UI_EEFTreeDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Tree Structure feature. - * - * - * @generated - */ - protected void addTreeStructurePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTreeDescription_treeStructure_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDescription_treeStructure_feature", "_UI_EEFTreeDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_TREE_DESCRIPTION__TREE_STRUCTURE, true, false, true, null, null, null)); - } - - /** - * This adds a property descriptor for the Edit Expression feature. - * - * - * @generated - */ - protected void addEditExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTreeDescription_editExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDescription_editExpression_feature", "_UI_EEFTreeDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This returns EEFTreeDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFTreeDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFTreeDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFTreeDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTreeDescription.class)) { - case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: - case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java deleted file mode 100644 index 477a727fc..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeDialogSelectDescriptionItemProvider.java +++ /dev/null @@ -1,188 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFTreeDialogSelectDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFTreeDialogSelectDescription} object. - * - * - * @generated - */ -public class EEFTreeDialogSelectDescriptionItemProvider extends EEFCellWidgetDescriptionItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTreeDialogSelectDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addSemanticCandidateExpressionPropertyDescriptor(object); - addDefaultFilterPropertyDescriptor(object); - addDomainClassPropertyDescriptor(object); - addTreePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Semantic Candidate Expression feature. - * - * - * @generated - */ - protected void addSemanticCandidateExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTreeDialogSelectDescription_semanticCandidateExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDialogSelectDescription_semanticCandidateExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Default Filter feature. - * - * - * @generated - */ - protected void addDefaultFilterPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTreeDialogSelectDescription_defaultFilter_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDialogSelectDescription_defaultFilter_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER, true, false, false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); - } - - /** - * This adds a property descriptor for the Domain Class feature. - * - * - * @generated - */ - protected void addDomainClassPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTreeDialogSelectDescription_domainClass_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDialogSelectDescription_domainClass_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Tree feature. - * - * - * @generated - */ - protected void addTreePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTreeDialogSelectDescription_tree_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeDialogSelectDescription_tree_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTreeDialogSelectDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE, true, false, true, null, null, null)); - } - - /** - * This returns EEFTreeDialogSelectDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeDialogSelectDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFTreeDialogSelectDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFTreeDialogSelectDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFTreeDialogSelectDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTreeDialogSelectDescription.class)) { - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStructureDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStructureDescriptionItemProvider.java deleted file mode 100644 index 697dc539a..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStructureDescriptionItemProvider.java +++ /dev/null @@ -1,176 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFTreeStructureDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFTreeStructureDescription} object. - * - * - * @generated - */ -public class EEFTreeStructureDescriptionItemProvider extends ItemProviderAdapter - implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTreeStructureDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addIdentifierPropertyDescriptor(object); - addMultiplePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Identifier feature. - * - * - * @generated - */ - protected void addIdentifierPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTreeStructureDescription_identifier_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeStructureDescription_identifier_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTreeStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Multiple feature. - * - * - * @generated - */ - protected void addMultiplePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFTreeStructureDescription_multiple_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFTreeStructureDescription_multiple_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFTreeStructureDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE, true, false, false, ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, - null)); - } - - /** - * This returns EEFTreeStructureDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeStructureDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFTreeStructureDescription) object).getIdentifier(); - return label == null || label.length() == 0 ? getString("_UI_EEFTreeStructureDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFTreeStructureDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTreeStructureDescription.class)) { - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleCustomizationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleCustomizationItemProvider.java deleted file mode 100644 index 837962ff4..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleCustomizationItemProvider.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFTreeStyleCustomization; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFTreeStyleCustomization} object. - * - * - * @generated - */ -public class EEFTreeStyleCustomizationItemProvider extends EEFStyleCustomizationItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTreeStyleCustomizationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_TREE_STYLE_CUSTOMIZATION__STYLE); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFTreeStyleCustomization.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeStyleCustomization")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_EEFTreeStyleCustomization_type"); //$NON-NLS-1$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFTreeStyleCustomization.class)) { - case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, EefFactory.eINSTANCE.createEEFTreeStyle())); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleItemProvider.java deleted file mode 100644 index c3bb83ae6..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFTreeStyleItemProvider.java +++ /dev/null @@ -1,113 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFTreeStyle; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFTreeStyle} object. - * - * - * @generated - */ -public class EEFTreeStyleItemProvider extends EEFStyleItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFTreeStyleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns EEFTreeStyle.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFTreeStyle")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFTreeStyle) object).getFontExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFTreeStyle_type") //$NON-NLS-1$ - : - getString("_UI_EEFTreeStyle_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFValidationItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFValidationItemProvider.java deleted file mode 100644 index 10091665b..000000000 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFValidationItemProvider.java +++ /dev/null @@ -1,196 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.provider; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.eef.EEFValidation; -import org.eclipse.eef.EefFactory; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -/** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFValidation} object. - * - * - * @generated - */ -public class EEFValidationItemProvider extends ItemProviderAdapter - implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public EEFValidationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValidationExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Validation Expression feature. - * - * - * @generated - */ - protected void addValidationExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFValidation_validationExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFValidation_validationExpression_feature", "_UI_EEFValidation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_VALIDATION__VALIDATION_EXPRESSION, 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_VALIDATION__QUICKFIXES); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFValidation.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EEFValidation")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((EEFValidation) object).getValidationExpression(); - return label == null || label.length() == 0 ? getString("_UI_EEFValidation_type") //$NON-NLS-1$ - : - getString("_UI_EEFValidation_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EEFValidation.class)) { - case EefPackage.EEF_VALIDATION__VALIDATION_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - case EefPackage.EEF_VALIDATION__QUICKFIXES: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VALIDATION__QUICKFIXES, EefFactory.eINSTANCE.createEEFQuickFix())); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return EefEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java index 7e4e3886a..6ec31361d 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFViewDescriptionItemProvider.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -14,14 +14,10 @@ import java.util.List; import org.eclipse.eef.EEFViewDescription; import org.eclipse.eef.EefFactory; import org.eclipse.eef.EefPackage; - import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; - import org.eclipse.emf.common.util.ResourceLocator; - import org.eclipse.emf.ecore.EStructuralFeature; - import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; import org.eclipse.emf.edit.provider.IItemLabelProvider; @@ -33,20 +29,17 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.sirius.expression.ExpressionFactory; - /** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFViewDescription} object. - * + * This is the item provider adapter for a {@link org.eclipse.eef.EEFViewDescription} object. * + * * @generated */ public class EEFViewDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { /** - * This constructs an instance from a factory and a notifier. - * - * + * This constructs an instance from a factory and a notifier. + * * @generated */ public EEFViewDescriptionItemProvider(AdapterFactory adapterFactory) { @@ -54,9 +47,8 @@ public class EEFViewDescriptionItemProvider extends ItemProviderAdapter } /** - * This returns the property descriptors for the adapted class. - * - * + * This returns the property descriptors for the adapted class. + * * @generated */ @Override @@ -65,19 +57,15 @@ public class EEFViewDescriptionItemProvider extends ItemProviderAdapter super.getPropertyDescriptors(object); addIdentifierPropertyDescriptor(object); - addPreconditionExpressionPropertyDescriptor(object); addLabelExpressionPropertyDescriptor(object); - addEPackageNsUrisPropertyDescriptor(object); - addImportedViewsPropertyDescriptor(object); - addStyleCustomizationsPropertyDescriptor(object); + addEPackagesPropertyDescriptor(object); } return itemPropertyDescriptors; } /** - * This adds a property descriptor for the Identifier feature. - * - * + * This adds a property descriptor for the Identifier feature. + * * @generated */ protected void addIdentifierPropertyDescriptor(Object object) { @@ -88,24 +76,8 @@ public class EEFViewDescriptionItemProvider extends ItemProviderAdapter } /** - * This adds a property descriptor for the Precondition Expression feature. - * - * - * @generated - */ - protected void addPreconditionExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFViewDescription_preconditionExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_preconditionExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFViewDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Label Expression feature. - * - * + * This adds a property descriptor for the Label Expression feature. + * * @generated */ protected void addLabelExpressionPropertyDescriptor(Object object) { @@ -117,70 +89,38 @@ public class EEFViewDescriptionItemProvider extends ItemProviderAdapter } /** - * This adds a property descriptor for the EPackage Ns Uris feature. - * - * - * @generated - */ - protected void addEPackageNsUrisPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFViewDescription_ePackageNsUris_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_ePackageNsUris_feature", "_UI_EEFViewDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Imported Views feature. - * - * + * This adds a property descriptor for the EPackages feature. + * * @generated */ - protected void addImportedViewsPropertyDescriptor(Object object) { + protected void addEPackagesPropertyDescriptor(Object object) { itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFViewDescription_importedViews_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_importedViews_feature", "_UI_EEFViewDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS, true, false, true, null, null, null)); - } - - /** - * This adds a property descriptor for the Style Customizations feature. - * - * - * @generated - */ - protected void addStyleCustomizationsPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFViewDescription_styleCustomizations_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_styleCustomizations_feature", "_UI_EEFViewDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS, true, false, true, null, null, null)); + getResourceLocator(), getString("_UI_EEFViewDescription_ePackages_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EEFViewDescription_ePackages_feature", "_UI_EEFViewDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + EefPackage.Literals.EEF_VIEW_DESCRIPTION__EPACKAGES, true, false, true, null, 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}. - * - * + * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}. + * * @generated */ @Override public Collection getChildrenFeatures(Object object) { if (childrenFeatures == null) { super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES); childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__GROUPS); childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__PAGES); - childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS); - childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES); - childrenFeatures.add(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES); } return childrenFeatures; } /** - * - * + * + * * @generated */ @Override @@ -192,9 +132,8 @@ public class EEFViewDescriptionItemProvider extends ItemProviderAdapter } /** - * This returns EEFViewDescription.gif. - * - * + * This returns EEFViewDescription.gif. + * * @generated */ @Override @@ -203,8 +142,8 @@ public class EEFViewDescriptionItemProvider extends ItemProviderAdapter } /** - * - * + * + * * @generated */ @Override @@ -213,24 +152,22 @@ public class EEFViewDescriptionItemProvider extends ItemProviderAdapter } /** - * This returns the label text for the adapted class. - * - * + * This returns the label text for the adapted class. + * * @generated */ @Override public String getText(Object object) { String label = ((EEFViewDescription) object).getIdentifier(); return label == null || label.length() == 0 ? getString("_UI_EEFViewDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFViewDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + : getString("_UI_EEFViewDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ } /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * * @generated */ @Override @@ -239,17 +176,11 @@ public class EEFViewDescriptionItemProvider extends ItemProviderAdapter switch (notification.getFeatureID(EEFViewDescription.class)) { case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: - case EefPackage.EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION: case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: - case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; - case EefPackage.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES: case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: - case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: - case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: - case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); return; } @@ -257,45 +188,25 @@ public class EEFViewDescriptionItemProvider extends ItemProviderAdapter } /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * * @generated */ @Override protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES, - ExpressionFactory.eINSTANCE.createUserDefinedVariable())); - newChildDescriptors .add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__GROUPS, EefFactory.eINSTANCE.createEEFGroupDescription())); newChildDescriptors .add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__PAGES, EefFactory.eINSTANCE.createEEFPageDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS, - EefFactory.eINSTANCE.createEEFJavaExtensionDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES, - EefFactory.eINSTANCE.createEEFAdapterFactoryTreeStructureDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES, - EefFactory.eINSTANCE.createEEFInterpretedTreeStructureDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES, - EefFactory.eINSTANCE.createEEFInterpretedTableStructureDescription())); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES, - EefFactory.eINSTANCE.createEEFAdapterFactoryTableStructureDescription())); } /** - * Return the resource locator for this item provider's resources. - * - * + * Return the resource locator for this item provider's resources. + * * @generated */ @Override diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java index b6d032c11..89221fea0 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EEFWidgetDescriptionItemProvider.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -12,16 +12,10 @@ import java.util.Collection; import java.util.List; import org.eclipse.eef.EEFWidgetDescription; -import org.eclipse.eef.EefFactory; import org.eclipse.eef.EefPackage; - import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; - import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.ecore.EStructuralFeature; - import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; import org.eclipse.emf.edit.provider.IItemLabelProvider; @@ -33,20 +27,17 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.sirius.expression.ExpressionFactory; - /** - * This is the item provider adapter for a {@link org.eclipse.eef.EEFWidgetDescription} object. - * + * This is the item provider adapter for a {@link org.eclipse.eef.EEFWidgetDescription} object. * + * * @generated */ public class EEFWidgetDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { /** - * This constructs an instance from a factory and a notifier. - * - * + * This constructs an instance from a factory and a notifier. + * * @generated */ public EEFWidgetDescriptionItemProvider(AdapterFactory adapterFactory) { @@ -54,9 +45,8 @@ public class EEFWidgetDescriptionItemProvider extends ItemProviderAdapter } /** - * This returns the property descriptors for the adapted class. - * - * + * This returns the property descriptors for the adapted class. + * * @generated */ @Override @@ -65,19 +55,14 @@ public class EEFWidgetDescriptionItemProvider extends ItemProviderAdapter super.getPropertyDescriptors(object); addIdentifierPropertyDescriptor(object); - addPreconditionExpressionPropertyDescriptor(object); addLabelExpressionPropertyDescriptor(object); - addLabelStylePropertyDescriptor(object); - addTooltipExpressionPropertyDescriptor(object); - addHelpExpressionPropertyDescriptor(object); } return itemPropertyDescriptors; } /** - * This adds a property descriptor for the Identifier feature. - * - * + * This adds a property descriptor for the Identifier feature. + * * @generated */ protected void addIdentifierPropertyDescriptor(Object object) { @@ -88,24 +73,8 @@ public class EEFWidgetDescriptionItemProvider extends ItemProviderAdapter } /** - * This adds a property descriptor for the Precondition Expression feature. - * - * - * @generated - */ - protected void addPreconditionExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFWidgetDescription_preconditionExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFWidgetDescription_preconditionExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, null)); - } - - /** - * This adds a property descriptor for the Label Expression feature. - * - * + * This adds a property descriptor for the Label Expression feature. + * * @generated */ protected void addLabelExpressionPropertyDescriptor(Object object) { @@ -117,82 +86,8 @@ public class EEFWidgetDescriptionItemProvider extends ItemProviderAdapter } /** - * This adds a property descriptor for the Label Style feature. - * - * - * @generated - */ - protected void addLabelStylePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFWidgetDescription_labelStyle_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFWidgetDescription_labelStyle_feature", "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_WIDGET_DESCRIPTION__LABEL_STYLE, true, false, true, null, null, null)); - } - - /** - * This adds a property descriptor for the Tooltip Expression feature. - * - * - * @generated - */ - protected void addTooltipExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFWidgetDescription_tooltipExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFWidgetDescription_tooltipExpression_feature", //$NON-NLS-1$//$NON-NLS-2$ - "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ - EefPackage.Literals.EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, - null)); - } - - /** - * This adds a property descriptor for the Help Expression feature. - * - * - * @generated - */ - protected void addHelpExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), getString("_UI_EEFWidgetDescription_helpExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EEFWidgetDescription_helpExpression_feature", "_UI_EEFWidgetDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EefPackage.Literals.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION, 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(EefPackage.Literals.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES); - childrenFeatures.add(EefPackage.Literals.EEF_WIDGET_DESCRIPTION__VALIDATION); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns EEFWidgetDescription.gif. - * - * + * This returns EEFWidgetDescription.gif. + * * @generated */ @Override @@ -201,8 +96,8 @@ public class EEFWidgetDescriptionItemProvider extends ItemProviderAdapter } /** - * - * + * + * * @generated */ @Override @@ -211,24 +106,22 @@ public class EEFWidgetDescriptionItemProvider extends ItemProviderAdapter } /** - * This returns the label text for the adapted class. - * - * + * This returns the label text for the adapted class. + * * @generated */ @Override public String getText(Object object) { String label = ((EEFWidgetDescription) object).getIdentifier(); return label == null || label.length() == 0 ? getString("_UI_EEFWidgetDescription_type") //$NON-NLS-1$ - : - getString("_UI_EEFWidgetDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + : getString("_UI_EEFWidgetDescription_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ } /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * + * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating + * a viewer notification, which it passes to {@link #fireNotifyChanged}. + * * @generated */ @Override @@ -237,42 +130,27 @@ public class EEFWidgetDescriptionItemProvider extends ItemProviderAdapter switch (notification.getFeatureID(EEFWidgetDescription.class)) { case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: - case EefPackage.EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION: case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: - case EefPackage.EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION: - case EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; - case EefPackage.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES: - case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; } super.notifyChanged(notification); } /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created + * under this object. + * * @generated */ @Override protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add(createChildParameter(EefPackage.Literals.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES, - ExpressionFactory.eINSTANCE.createUserDefinedVariable())); - - newChildDescriptors - .add(createChildParameter(EefPackage.Literals.EEF_WIDGET_DESCRIPTION__VALIDATION, EefFactory.eINSTANCE.createEEFValidation())); } /** - * Return the resource locator for this item provider's resources. - * - * + * Return the resource locator for this item provider's resources. + * * @generated */ @Override diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefEditPlugin.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefEditPlugin.java index 544fd44d6..6188ae0cd 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefEditPlugin.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefEditPlugin.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -9,80 +9,68 @@ package org.eclipse.eef.provider; import org.eclipse.emf.common.EMFPlugin; - import org.eclipse.emf.common.util.ResourceLocator; - import org.eclipse.emf.ecore.provider.EcoreEditPlugin; -import org.eclipse.sirius.expression.provider.ExpressionEditPlugin; - /** - * This is the central singleton for the Eef edit plugin. - * - * + * This is the central singleton for the Eef edit plugin. + * * @generated */ public final class EefEditPlugin extends EMFPlugin { /** - * Keep track of the singleton. - * - * + * Keep track of the singleton. + * * @generated */ public static final EefEditPlugin INSTANCE = new EefEditPlugin(); /** - * Keep track of the singleton. - * - * + * Keep track of the singleton. + * * @generated */ private static Implementation plugin; /** - * Create the instance. - * - * + * Create the instance. + * * @generated */ public EefEditPlugin() { - super(new ResourceLocator[] { EcoreEditPlugin.INSTANCE, ExpressionEditPlugin.INSTANCE, }); + super(new ResourceLocator[] { EcoreEditPlugin.INSTANCE, }); } /** - * Returns the singleton instance of the Eclipse plugin. - * - * + * Returns the singleton instance of the Eclipse plugin. + * * @return the singleton instance. * @generated */ @Override public ResourceLocator getPluginResourceLocator() { - return plugin; + return EefEditPlugin.plugin; } /** - * Returns the singleton instance of the Eclipse plugin. - * - * + * Returns the singleton instance of the Eclipse plugin. + * * @return the singleton instance. * @generated */ public static Implementation getPlugin() { - return plugin; + return EefEditPlugin.plugin; } /** - * The actual implementation of the Eclipse Plugin. - * - * + * The actual implementation of the Eclipse Plugin. + * * @generated */ public static class Implementation extends EclipsePlugin { /** - * Creates an instance. - * - * + * Creates an instance. + * * @generated */ public Implementation() { @@ -90,7 +78,7 @@ public final class EefEditPlugin extends EMFPlugin { // Remember the static instance. // - plugin = this; + EefEditPlugin.plugin = this; } } diff --git a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java index 110cda050..2a9fa696c 100644 --- a/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java +++ b/plugins/org.eclipse.eef.edit/src-gen/org/eclipse/eef/provider/EefItemProviderAdapterFactory.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -12,11 +12,9 @@ import java.util.ArrayList; import java.util.Collection; import org.eclipse.eef.util.EefAdapterFactory; - import org.eclipse.emf.common.notify.Adapter; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.Notifier; - import org.eclipse.emf.edit.provider.ChangeNotifier; import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; import org.eclipse.emf.edit.provider.ComposedAdapterFactory; @@ -30,43 +28,41 @@ import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; import org.eclipse.emf.edit.provider.ITreeItemContentProvider; /** - * This is the factory that is used to provide the interfaces needed to support Viewers. - * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. - * The adapters also support Eclipse property sheets. - * Note that most of the adapters are shared among multiple instances. - * - * + * This is the factory that is used to provide the interfaces needed to support Viewers. The adapters generated by this + * factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. The adapters + * also support Eclipse property sheets. Note that most of the adapters are shared among multiple instances. + * * @generated */ public class EefItemProviderAdapterFactory extends EefAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * - * + * This keeps track of the root adapter factory that delegates to this adapter factory. + * * @generated */ protected ComposedAdapterFactory parentAdapterFactory; /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * - * + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * * @generated */ protected IChangeNotifier changeNotifier = new ChangeNotifier(); /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * - * + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * * @generated */ protected Collection supportedTypes = new ArrayList(); /** - * This constructs an instance. - * - * + * This constructs an instance. + * * @generated */ public EefItemProviderAdapterFactory() { @@ -78,17 +74,17 @@ public class EefItemProviderAdapterFactory extends EefAdapterFactory implements } /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFViewDescription} instances. - * - * + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFViewDescription} instances. + * * @generated */ protected EEFViewDescriptionItemProvider eefViewDescriptionItemProvider; /** - * This creates an adapter for a {@link org.eclipse.eef.EEFViewDescription}. - * - * + * This creates an adapter for a {@link org.eclipse.eef.EEFViewDescription}. + * * @generated */ @Override @@ -101,17 +97,17 @@ public class EefItemProviderAdapterFactory extends EefAdapterFactory implements } /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFPageDescription} instances. - * - * + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFPageDescription} instances. + * * @generated */ protected EEFPageDescriptionItemProvider eefPageDescriptionItemProvider; /** - * This creates an adapter for a {@link org.eclipse.eef.EEFPageDescription}. - * - * + * This creates an adapter for a {@link org.eclipse.eef.EEFPageDescription}. + * * @generated */ @Override @@ -124,17 +120,17 @@ public class EefItemProviderAdapterFactory extends EefAdapterFactory implements } /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFGroupDescription} instances. - * - * + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFGroupDescription} instances. + * * @generated */ protected EEFGroupDescriptionItemProvider eefGroupDescriptionItemProvider; /** - * This creates an adapter for a {@link org.eclipse.eef.EEFGroupDescription}. - * - * + * This creates an adapter for a {@link org.eclipse.eef.EEFGroupDescription}. + * * @generated */ @Override @@ -147,17 +143,17 @@ public class EefItemProviderAdapterFactory extends EefAdapterFactory implements } /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFContainerDescription} instances. - * - * + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFContainerDescription} instances. + * * @generated */ protected EEFContainerDescriptionItemProvider eefContainerDescriptionItemProvider; /** - * This creates an adapter for a {@link org.eclipse.eef.EEFContainerDescription}. - * - * + * This creates an adapter for a {@link org.eclipse.eef.EEFContainerDescription}. + * * @generated */ @Override @@ -170,109 +166,17 @@ public class EefItemProviderAdapterFactory extends EefAdapterFactory implements } /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFJavaExtensionDescription} instances. - * - * - * @generated - */ - protected EEFJavaExtensionDescriptionItemProvider eefJavaExtensionDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFJavaExtensionDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFJavaExtensionDescriptionAdapter() { - if (eefJavaExtensionDescriptionItemProvider == null) { - eefJavaExtensionDescriptionItemProvider = new EEFJavaExtensionDescriptionItemProvider(this); - } - - return eefJavaExtensionDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFInterpretedTableStructureDescription} instances. - * - * - * @generated - */ - protected EEFInterpretedTableStructureDescriptionItemProvider eefInterpretedTableStructureDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFInterpretedTableStructureDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFInterpretedTableStructureDescriptionAdapter() { - if (eefInterpretedTableStructureDescriptionItemProvider == null) { - eefInterpretedTableStructureDescriptionItemProvider = new EEFInterpretedTableStructureDescriptionItemProvider(this); - } - - return eefInterpretedTableStructureDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription} instances. - * - * - * @generated - */ - protected EEFAdapterFactoryTreeStructureDescriptionItemProvider eefAdapterFactoryTreeStructureDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFAdapterFactoryTreeStructureDescriptionAdapter() { - if (eefAdapterFactoryTreeStructureDescriptionItemProvider == null) { - eefAdapterFactoryTreeStructureDescriptionItemProvider = new EEFAdapterFactoryTreeStructureDescriptionItemProvider(this); - } - - return eefAdapterFactoryTreeStructureDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFInterpretedTreeStructureDescription} instances. - * - * - * @generated - */ - protected EEFInterpretedTreeStructureDescriptionItemProvider eefInterpretedTreeStructureDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFInterpretedTreeStructureDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFInterpretedTreeStructureDescriptionAdapter() { - if (eefInterpretedTreeStructureDescriptionItemProvider == null) { - eefInterpretedTreeStructureDescriptionItemProvider = new EEFInterpretedTreeStructureDescriptionItemProvider(this); - } - - return eefInterpretedTreeStructureDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTextDescription} instances. - * - * + * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTextDescription} instances. + * * @generated */ protected EEFTextDescriptionItemProvider eefTextDescriptionItemProvider; /** - * This creates an adapter for a {@link org.eclipse.eef.EEFTextDescription}. - * - * + * This creates an adapter for a {@link org.eclipse.eef.EEFTextDescription}. + * * @generated */ @Override @@ -285,1328 +189,120 @@ public class EefItemProviderAdapterFactory extends EefAdapterFactory implements } /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFCheckboxDescription} instances. - * - * - * @generated - */ - protected EEFCheckboxDescriptionItemProvider eefCheckboxDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFCheckboxDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFCheckboxDescriptionAdapter() { - if (eefCheckboxDescriptionItemProvider == null) { - eefCheckboxDescriptionItemProvider = new EEFCheckboxDescriptionItemProvider(this); - } - - return eefCheckboxDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFSelectDescription} instances. - * - * - * @generated - */ - protected EEFSelectDescriptionItemProvider eefSelectDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFSelectDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFSelectDescriptionAdapter() { - if (eefSelectDescriptionItemProvider == null) { - eefSelectDescriptionItemProvider = new EEFSelectDescriptionItemProvider(this); - } - - return eefSelectDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLabelDescription} instances. - * - * - * @generated - */ - protected EEFLabelDescriptionItemProvider eefLabelDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFLabelDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFLabelDescriptionAdapter() { - if (eefLabelDescriptionItemProvider == null) { - eefLabelDescriptionItemProvider = new EEFLabelDescriptionItemProvider(this); - } - - return eefLabelDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFRadioDescription} instances. - * - * - * @generated - */ - protected EEFRadioDescriptionItemProvider eefRadioDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFRadioDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFRadioDescriptionAdapter() { - if (eefRadioDescriptionItemProvider == null) { - eefRadioDescriptionItemProvider = new EEFRadioDescriptionItemProvider(this); - } - - return eefRadioDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTreeDialogSelectDescription} instances. - * - * - * @generated - */ - protected EEFTreeDialogSelectDescriptionItemProvider eefTreeDialogSelectDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFTreeDialogSelectDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFTreeDialogSelectDescriptionAdapter() { - if (eefTreeDialogSelectDescriptionItemProvider == null) { - eefTreeDialogSelectDescriptionItemProvider = new EEFTreeDialogSelectDescriptionItemProvider(this); - } - - return eefTreeDialogSelectDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLinkDescription} instances. - * - * - * @generated - */ - protected EEFLinkDescriptionItemProvider eefLinkDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFLinkDescription}. - * - * - * @generated - */ - @Override - public Adapter createEEFLinkDescriptionAdapter() { - if (eefLinkDescriptionItemProvider == null) { - eefLinkDescriptionItemProvider = new EEFLinkDescriptionItemProvider(this); - } - - return eefLinkDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFImageDescription} instances. - * - * - * @generated - */ - protected EEFImageDescriptionItemProvider eefImageDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFImageDescription}. - * - * + * This returns the root adapter factory that contains this factory. + * * @generated */ @Override - public Adapter createEEFImageDescriptionAdapter() { - if (eefImageDescriptionItemProvider == null) { - eefImageDescriptionItemProvider = new EEFImageDescriptionItemProvider(this); - } - - return eefImageDescriptionItemProvider; + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); } /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTreeDescription} instances. - * - * - * @generated - */ - protected EEFTreeDescriptionItemProvider eefTreeDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFTreeDescription}. - * - * + * This sets the composed adapter factory that contains this factory. + * * @generated */ @Override - public Adapter createEEFTreeDescriptionAdapter() { - if (eefTreeDescriptionItemProvider == null) { - eefTreeDescriptionItemProvider = new EEFTreeDescriptionItemProvider(this); - } - - return eefTreeDescriptionItemProvider; + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; } /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFImagePickerDescription} instances. - * - * - * @generated - */ - protected EEFImagePickerDescriptionItemProvider eefImagePickerDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFImagePickerDescription}. - * - * + * + * * @generated */ @Override - public Adapter createEEFImagePickerDescriptionAdapter() { - if (eefImagePickerDescriptionItemProvider == null) { - eefImagePickerDescriptionItemProvider = new EEFImagePickerDescriptionItemProvider(this); - } - - return eefImagePickerDescriptionItemProvider; + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); } /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTableDescription} instances. - * - * - * @generated - */ - protected EEFTableDescriptionItemProvider eefTableDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFTableDescription}. - * - * + * This implementation substitutes the factory itself as the key for the adapter. + * * @generated */ @Override - public Adapter createEEFTableDescriptionAdapter() { - if (eefTableDescriptionItemProvider == null) { - eefTableDescriptionItemProvider = new EEFTableDescriptionItemProvider(this); - } - - return eefTableDescriptionItemProvider; + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); } /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFColumnDescription} instances. - * - * - * @generated - */ - protected EEFColumnDescriptionItemProvider eefColumnDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFColumnDescription}. - * - * + * + * * @generated */ @Override - public Adapter createEEFColumnDescriptionAdapter() { - if (eefColumnDescriptionItemProvider == null) { - eefColumnDescriptionItemProvider = new EEFColumnDescriptionItemProvider(this); + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class) || (((Class) type).isInstance(adapter))) { + return adapter; + } } - return eefColumnDescriptionItemProvider; + return null; } /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLineDescription} instances. - * - * - * @generated - */ - protected EEFLineDescriptionItemProvider eefLineDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFLineDescription}. - * - * + * This adds a listener. + * * @generated */ @Override - public Adapter createEEFLineDescriptionAdapter() { - if (eefLineDescriptionItemProvider == null) { - eefLineDescriptionItemProvider = new EEFLineDescriptionItemProvider(this); - } - - return eefLineDescriptionItemProvider; + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); } /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription} instances. - * - * - * @generated - */ - protected EEFAdapterFactoryTableStructureDescriptionItemProvider eefAdapterFactoryTableStructureDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription}. - * - * + * This removes a listener. + * * @generated */ @Override - public Adapter createEEFAdapterFactoryTableStructureDescriptionAdapter() { - if (eefAdapterFactoryTableStructureDescriptionItemProvider == null) { - eefAdapterFactoryTableStructureDescriptionItemProvider = new EEFAdapterFactoryTableStructureDescriptionItemProvider(this); - } - - return eefAdapterFactoryTableStructureDescriptionItemProvider; + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); } /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFGroupStyle} instances. - * - * - * @generated - */ - protected EEFGroupStyleItemProvider eefGroupStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFGroupStyle}. - * - * + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * * @generated */ @Override - public Adapter createEEFGroupStyleAdapter() { - if (eefGroupStyleItemProvider == null) { - eefGroupStyleItemProvider = new EEFGroupStyleItemProvider(this); - } - - return eefGroupStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFGroupConditionalStyle} instances. - * - * - * @generated - */ - protected EEFGroupConditionalStyleItemProvider eefGroupConditionalStyleItemProvider; + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFGroupConditionalStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFGroupConditionalStyleAdapter() { - if (eefGroupConditionalStyleItemProvider == null) { - eefGroupConditionalStyleItemProvider = new EEFGroupConditionalStyleItemProvider(this); + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); } - - return eefGroupConditionalStyleItemProvider; } /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFGroupStyleCustomization} instances. - * - * - * @generated - */ - protected EEFGroupStyleCustomizationItemProvider eefGroupStyleCustomizationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFGroupStyleCustomization}. - * - * + * This disposes all of the item providers created by this factory. + * * @generated */ @Override - public Adapter createEEFGroupStyleCustomizationAdapter() { - if (eefGroupStyleCustomizationItemProvider == null) { - eefGroupStyleCustomizationItemProvider = new EEFGroupStyleCustomizationItemProvider(this); + public void dispose() { + if (eefViewDescriptionItemProvider != null) { + eefViewDescriptionItemProvider.dispose(); } - - return eefGroupStyleCustomizationItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTextStyle} instances. - * - * - * @generated - */ - protected EEFTextStyleItemProvider eefTextStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFTextStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFTextStyleAdapter() { - if (eefTextStyleItemProvider == null) { - eefTextStyleItemProvider = new EEFTextStyleItemProvider(this); + if (eefPageDescriptionItemProvider != null) { + eefPageDescriptionItemProvider.dispose(); } - - return eefTextStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTextConditionalStyle} instances. - * - * - * @generated - */ - protected EEFTextConditionalStyleItemProvider eefTextConditionalStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFTextConditionalStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFTextConditionalStyleAdapter() { - if (eefTextConditionalStyleItemProvider == null) { - eefTextConditionalStyleItemProvider = new EEFTextConditionalStyleItemProvider(this); + if (eefGroupDescriptionItemProvider != null) { + eefGroupDescriptionItemProvider.dispose(); } - - return eefTextConditionalStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTextStyleCustomization} instances. - * - * - * @generated - */ - protected EEFTextStyleCustomizationItemProvider eefTextStyleCustomizationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFTextStyleCustomization}. - * - * - * @generated - */ - @Override - public Adapter createEEFTextStyleCustomizationAdapter() { - if (eefTextStyleCustomizationItemProvider == null) { - eefTextStyleCustomizationItemProvider = new EEFTextStyleCustomizationItemProvider(this); + if (eefContainerDescriptionItemProvider != null) { + eefContainerDescriptionItemProvider.dispose(); } - - return eefTextStyleCustomizationItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFCheckboxStyle} instances. - * - * - * @generated - */ - protected EEFCheckboxStyleItemProvider eefCheckboxStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFCheckboxStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFCheckboxStyleAdapter() { - if (eefCheckboxStyleItemProvider == null) { - eefCheckboxStyleItemProvider = new EEFCheckboxStyleItemProvider(this); + if (eefTextDescriptionItemProvider != null) { + eefTextDescriptionItemProvider.dispose(); } - - return eefCheckboxStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFCheckboxConditionalStyle} instances. - * - * - * @generated - */ - protected EEFCheckboxConditionalStyleItemProvider eefCheckboxConditionalStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFCheckboxConditionalStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFCheckboxConditionalStyleAdapter() { - if (eefCheckboxConditionalStyleItemProvider == null) { - eefCheckboxConditionalStyleItemProvider = new EEFCheckboxConditionalStyleItemProvider(this); - } - - return eefCheckboxConditionalStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFCheckboxStyleCustomization} instances. - * - * - * @generated - */ - protected EEFCheckboxStyleCustomizationItemProvider eefCheckboxStyleCustomizationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFCheckboxStyleCustomization}. - * - * - * @generated - */ - @Override - public Adapter createEEFCheckboxStyleCustomizationAdapter() { - if (eefCheckboxStyleCustomizationItemProvider == null) { - eefCheckboxStyleCustomizationItemProvider = new EEFCheckboxStyleCustomizationItemProvider(this); - } - - return eefCheckboxStyleCustomizationItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLabelStyle} instances. - * - * - * @generated - */ - protected EEFLabelStyleItemProvider eefLabelStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFLabelStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFLabelStyleAdapter() { - if (eefLabelStyleItemProvider == null) { - eefLabelStyleItemProvider = new EEFLabelStyleItemProvider(this); - } - - return eefLabelStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLabelConditionalStyle} instances. - * - * - * @generated - */ - protected EEFLabelConditionalStyleItemProvider eefLabelConditionalStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFLabelConditionalStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFLabelConditionalStyleAdapter() { - if (eefLabelConditionalStyleItemProvider == null) { - eefLabelConditionalStyleItemProvider = new EEFLabelConditionalStyleItemProvider(this); - } - - return eefLabelConditionalStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLabelStyleCustomization} instances. - * - * - * @generated - */ - protected EEFLabelStyleCustomizationItemProvider eefLabelStyleCustomizationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFLabelStyleCustomization}. - * - * - * @generated - */ - @Override - public Adapter createEEFLabelStyleCustomizationAdapter() { - if (eefLabelStyleCustomizationItemProvider == null) { - eefLabelStyleCustomizationItemProvider = new EEFLabelStyleCustomizationItemProvider(this); - } - - return eefLabelStyleCustomizationItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFRadioStyle} instances. - * - * - * @generated - */ - protected EEFRadioStyleItemProvider eefRadioStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFRadioStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFRadioStyleAdapter() { - if (eefRadioStyleItemProvider == null) { - eefRadioStyleItemProvider = new EEFRadioStyleItemProvider(this); - } - - return eefRadioStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFRadioConditionalStyle} instances. - * - * - * @generated - */ - protected EEFRadioConditionalStyleItemProvider eefRadioConditionalStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFRadioConditionalStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFRadioConditionalStyleAdapter() { - if (eefRadioConditionalStyleItemProvider == null) { - eefRadioConditionalStyleItemProvider = new EEFRadioConditionalStyleItemProvider(this); - } - - return eefRadioConditionalStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFRadioStyleCustomization} instances. - * - * - * @generated - */ - protected EEFRadioStyleCustomizationItemProvider eefRadioStyleCustomizationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFRadioStyleCustomization}. - * - * - * @generated - */ - @Override - public Adapter createEEFRadioStyleCustomizationAdapter() { - if (eefRadioStyleCustomizationItemProvider == null) { - eefRadioStyleCustomizationItemProvider = new EEFRadioStyleCustomizationItemProvider(this); - } - - return eefRadioStyleCustomizationItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLinkStyle} instances. - * - * - * @generated - */ - protected EEFLinkStyleItemProvider eefLinkStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFLinkStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFLinkStyleAdapter() { - if (eefLinkStyleItemProvider == null) { - eefLinkStyleItemProvider = new EEFLinkStyleItemProvider(this); - } - - return eefLinkStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLinkConditionalStyle} instances. - * - * - * @generated - */ - protected EEFLinkConditionalStyleItemProvider eefLinkConditionalStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFLinkConditionalStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFLinkConditionalStyleAdapter() { - if (eefLinkConditionalStyleItemProvider == null) { - eefLinkConditionalStyleItemProvider = new EEFLinkConditionalStyleItemProvider(this); - } - - return eefLinkConditionalStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLinkStyleCustomization} instances. - * - * - * @generated - */ - protected EEFLinkStyleCustomizationItemProvider eefLinkStyleCustomizationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFLinkStyleCustomization}. - * - * - * @generated - */ - @Override - public Adapter createEEFLinkStyleCustomizationAdapter() { - if (eefLinkStyleCustomizationItemProvider == null) { - eefLinkStyleCustomizationItemProvider = new EEFLinkStyleCustomizationItemProvider(this); - } - - return eefLinkStyleCustomizationItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFSelectStyle} instances. - * - * - * @generated - */ - protected EEFSelectStyleItemProvider eefSelectStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFSelectStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFSelectStyleAdapter() { - if (eefSelectStyleItemProvider == null) { - eefSelectStyleItemProvider = new EEFSelectStyleItemProvider(this); - } - - return eefSelectStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFSelectConditionalStyle} instances. - * - * - * @generated - */ - protected EEFSelectConditionalStyleItemProvider eefSelectConditionalStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFSelectConditionalStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFSelectConditionalStyleAdapter() { - if (eefSelectConditionalStyleItemProvider == null) { - eefSelectConditionalStyleItemProvider = new EEFSelectConditionalStyleItemProvider(this); - } - - return eefSelectConditionalStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFSelectStyleCustomization} instances. - * - * - * @generated - */ - protected EEFSelectStyleCustomizationItemProvider eefSelectStyleCustomizationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFSelectStyleCustomization}. - * - * - * @generated - */ - @Override - public Adapter createEEFSelectStyleCustomizationAdapter() { - if (eefSelectStyleCustomizationItemProvider == null) { - eefSelectStyleCustomizationItemProvider = new EEFSelectStyleCustomizationItemProvider(this); - } - - return eefSelectStyleCustomizationItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTreeStyle} instances. - * - * - * @generated - */ - protected EEFTreeStyleItemProvider eefTreeStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFTreeStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFTreeStyleAdapter() { - if (eefTreeStyleItemProvider == null) { - eefTreeStyleItemProvider = new EEFTreeStyleItemProvider(this); - } - - return eefTreeStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTreeConditionalStyle} instances. - * - * - * @generated - */ - protected EEFTreeConditionalStyleItemProvider eefTreeConditionalStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFTreeConditionalStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFTreeConditionalStyleAdapter() { - if (eefTreeConditionalStyleItemProvider == null) { - eefTreeConditionalStyleItemProvider = new EEFTreeConditionalStyleItemProvider(this); - } - - return eefTreeConditionalStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTreeStyleCustomization} instances. - * - * - * @generated - */ - protected EEFTreeStyleCustomizationItemProvider eefTreeStyleCustomizationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFTreeStyleCustomization}. - * - * - * @generated - */ - @Override - public Adapter createEEFTreeStyleCustomizationAdapter() { - if (eefTreeStyleCustomizationItemProvider == null) { - eefTreeStyleCustomizationItemProvider = new EEFTreeStyleCustomizationItemProvider(this); - } - - return eefTreeStyleCustomizationItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTableStyle} instances. - * - * - * @generated - */ - protected EEFTableStyleItemProvider eefTableStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFTableStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFTableStyleAdapter() { - if (eefTableStyleItemProvider == null) { - eefTableStyleItemProvider = new EEFTableStyleItemProvider(this); - } - - return eefTableStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTableConditionalStyle} instances. - * - * - * @generated - */ - protected EEFTableConditionalStyleItemProvider eefTableConditionalStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFTableConditionalStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFTableConditionalStyleAdapter() { - if (eefTableConditionalStyleItemProvider == null) { - eefTableConditionalStyleItemProvider = new EEFTableConditionalStyleItemProvider(this); - } - - return eefTableConditionalStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFTableStyleCustomization} instances. - * - * - * @generated - */ - protected EEFTableStyleCustomizationItemProvider eefTableStyleCustomizationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFTableStyleCustomization}. - * - * - * @generated - */ - @Override - public Adapter createEEFTableStyleCustomizationAdapter() { - if (eefTableStyleCustomizationItemProvider == null) { - eefTableStyleCustomizationItemProvider = new EEFTableStyleCustomizationItemProvider(this); - } - - return eefTableStyleCustomizationItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLineStyle} instances. - * - * - * @generated - */ - protected EEFLineStyleItemProvider eefLineStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFLineStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFLineStyleAdapter() { - if (eefLineStyleItemProvider == null) { - eefLineStyleItemProvider = new EEFLineStyleItemProvider(this); - } - - return eefLineStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLineConditionalStyle} instances. - * - * - * @generated - */ - protected EEFLineConditionalStyleItemProvider eefLineConditionalStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFLineConditionalStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFLineConditionalStyleAdapter() { - if (eefLineConditionalStyleItemProvider == null) { - eefLineConditionalStyleItemProvider = new EEFLineConditionalStyleItemProvider(this); - } - - return eefLineConditionalStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFLineStyleCustomization} instances. - * - * - * @generated - */ - protected EEFLineStyleCustomizationItemProvider eefLineStyleCustomizationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFLineStyleCustomization}. - * - * - * @generated - */ - @Override - public Adapter createEEFLineStyleCustomizationAdapter() { - if (eefLineStyleCustomizationItemProvider == null) { - eefLineStyleCustomizationItemProvider = new EEFLineStyleCustomizationItemProvider(this); - } - - return eefLineStyleCustomizationItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFColumnStyle} instances. - * - * - * @generated - */ - protected EEFColumnStyleItemProvider eefColumnStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFColumnStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFColumnStyleAdapter() { - if (eefColumnStyleItemProvider == null) { - eefColumnStyleItemProvider = new EEFColumnStyleItemProvider(this); - } - - return eefColumnStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFColumnConditionalStyle} instances. - * - * - * @generated - */ - protected EEFColumnConditionalStyleItemProvider eefColumnConditionalStyleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFColumnConditionalStyle}. - * - * - * @generated - */ - @Override - public Adapter createEEFColumnConditionalStyleAdapter() { - if (eefColumnConditionalStyleItemProvider == null) { - eefColumnConditionalStyleItemProvider = new EEFColumnConditionalStyleItemProvider(this); - } - - return eefColumnConditionalStyleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFColumnStyleCustomization} instances. - * - * - * @generated - */ - protected EEFColumnStyleCustomizationItemProvider eefColumnStyleCustomizationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFColumnStyleCustomization}. - * - * - * @generated - */ - @Override - public Adapter createEEFColumnStyleCustomizationAdapter() { - if (eefColumnStyleCustomizationItemProvider == null) { - eefColumnStyleCustomizationItemProvider = new EEFColumnStyleCustomizationItemProvider(this); - } - - return eefColumnStyleCustomizationItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFQuickFix} instances. - * - * - * @generated - */ - protected EEFQuickFixItemProvider eefQuickFixItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFQuickFix}. - * - * - * @generated - */ - @Override - public Adapter createEEFQuickFixAdapter() { - if (eefQuickFixItemProvider == null) { - eefQuickFixItemProvider = new EEFQuickFixItemProvider(this); - } - - return eefQuickFixItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.eef.EEFValidation} instances. - * - * - * @generated - */ - protected EEFValidationItemProvider eefValidationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.eef.EEFValidation}. - * - * - * @generated - */ - @Override - public Adapter createEEFValidationAdapter() { - if (eefValidationItemProvider == null) { - eefValidationItemProvider = new EEFValidationItemProvider(this); - } - - return eefValidationItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * - * - * @generated - */ - @Override - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * - * - * @generated - */ - @Override - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * - * - * @generated - */ - @Override - public boolean isFactoryForType(Object type) { - return supportedTypes.contains(type) || super.isFactoryForType(type); - } - - /** - * This implementation substitutes the factory itself as the key for the adapter. - * - * - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * - * - * @generated - */ - @Override - public Object adapt(Object object, Object type) { - if (isFactoryForType(type)) { - Object adapter = super.adapt(object, type); - if (!(type instanceof Class) || (((Class) type).isInstance(adapter))) { - return adapter; - } - } - - return null; - } - - /** - * This adds a listener. - * - * - * @generated - */ - @Override - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * - * - * @generated - */ - @Override - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * - * - * @generated - */ - @Override - public void fireNotifyChanged(Notification notification) { - changeNotifier.fireNotifyChanged(notification); - - if (parentAdapterFactory != null) { - parentAdapterFactory.fireNotifyChanged(notification); - } - } - - /** - * This disposes all of the item providers created by this factory. - * - * - * @generated - */ - @Override - public void dispose() { - if (eefViewDescriptionItemProvider != null) - eefViewDescriptionItemProvider.dispose(); - if (eefPageDescriptionItemProvider != null) - eefPageDescriptionItemProvider.dispose(); - if (eefGroupDescriptionItemProvider != null) - eefGroupDescriptionItemProvider.dispose(); - if (eefContainerDescriptionItemProvider != null) - eefContainerDescriptionItemProvider.dispose(); - if (eefJavaExtensionDescriptionItemProvider != null) - eefJavaExtensionDescriptionItemProvider.dispose(); - if (eefInterpretedTableStructureDescriptionItemProvider != null) - eefInterpretedTableStructureDescriptionItemProvider.dispose(); - if (eefAdapterFactoryTreeStructureDescriptionItemProvider != null) - eefAdapterFactoryTreeStructureDescriptionItemProvider.dispose(); - if (eefInterpretedTreeStructureDescriptionItemProvider != null) - eefInterpretedTreeStructureDescriptionItemProvider.dispose(); - if (eefTextDescriptionItemProvider != null) - eefTextDescriptionItemProvider.dispose(); - if (eefCheckboxDescriptionItemProvider != null) - eefCheckboxDescriptionItemProvider.dispose(); - if (eefSelectDescriptionItemProvider != null) - eefSelectDescriptionItemProvider.dispose(); - if (eefLabelDescriptionItemProvider != null) - eefLabelDescriptionItemProvider.dispose(); - if (eefRadioDescriptionItemProvider != null) - eefRadioDescriptionItemProvider.dispose(); - if (eefTreeDialogSelectDescriptionItemProvider != null) - eefTreeDialogSelectDescriptionItemProvider.dispose(); - if (eefLinkDescriptionItemProvider != null) - eefLinkDescriptionItemProvider.dispose(); - if (eefImageDescriptionItemProvider != null) - eefImageDescriptionItemProvider.dispose(); - if (eefTreeDescriptionItemProvider != null) - eefTreeDescriptionItemProvider.dispose(); - if (eefImagePickerDescriptionItemProvider != null) - eefImagePickerDescriptionItemProvider.dispose(); - if (eefTableDescriptionItemProvider != null) - eefTableDescriptionItemProvider.dispose(); - if (eefColumnDescriptionItemProvider != null) - eefColumnDescriptionItemProvider.dispose(); - if (eefLineDescriptionItemProvider != null) - eefLineDescriptionItemProvider.dispose(); - if (eefAdapterFactoryTableStructureDescriptionItemProvider != null) - eefAdapterFactoryTableStructureDescriptionItemProvider.dispose(); - if (eefGroupStyleItemProvider != null) - eefGroupStyleItemProvider.dispose(); - if (eefGroupConditionalStyleItemProvider != null) - eefGroupConditionalStyleItemProvider.dispose(); - if (eefGroupStyleCustomizationItemProvider != null) - eefGroupStyleCustomizationItemProvider.dispose(); - if (eefTextStyleItemProvider != null) - eefTextStyleItemProvider.dispose(); - if (eefTextConditionalStyleItemProvider != null) - eefTextConditionalStyleItemProvider.dispose(); - if (eefTextStyleCustomizationItemProvider != null) - eefTextStyleCustomizationItemProvider.dispose(); - if (eefCheckboxStyleItemProvider != null) - eefCheckboxStyleItemProvider.dispose(); - if (eefCheckboxConditionalStyleItemProvider != null) - eefCheckboxConditionalStyleItemProvider.dispose(); - if (eefCheckboxStyleCustomizationItemProvider != null) - eefCheckboxStyleCustomizationItemProvider.dispose(); - if (eefLabelStyleItemProvider != null) - eefLabelStyleItemProvider.dispose(); - if (eefLabelConditionalStyleItemProvider != null) - eefLabelConditionalStyleItemProvider.dispose(); - if (eefLabelStyleCustomizationItemProvider != null) - eefLabelStyleCustomizationItemProvider.dispose(); - if (eefRadioStyleItemProvider != null) - eefRadioStyleItemProvider.dispose(); - if (eefRadioConditionalStyleItemProvider != null) - eefRadioConditionalStyleItemProvider.dispose(); - if (eefRadioStyleCustomizationItemProvider != null) - eefRadioStyleCustomizationItemProvider.dispose(); - if (eefLinkStyleItemProvider != null) - eefLinkStyleItemProvider.dispose(); - if (eefLinkConditionalStyleItemProvider != null) - eefLinkConditionalStyleItemProvider.dispose(); - if (eefLinkStyleCustomizationItemProvider != null) - eefLinkStyleCustomizationItemProvider.dispose(); - if (eefSelectStyleItemProvider != null) - eefSelectStyleItemProvider.dispose(); - if (eefSelectConditionalStyleItemProvider != null) - eefSelectConditionalStyleItemProvider.dispose(); - if (eefSelectStyleCustomizationItemProvider != null) - eefSelectStyleCustomizationItemProvider.dispose(); - if (eefTreeStyleItemProvider != null) - eefTreeStyleItemProvider.dispose(); - if (eefTreeConditionalStyleItemProvider != null) - eefTreeConditionalStyleItemProvider.dispose(); - if (eefTreeStyleCustomizationItemProvider != null) - eefTreeStyleCustomizationItemProvider.dispose(); - if (eefTableStyleItemProvider != null) - eefTableStyleItemProvider.dispose(); - if (eefTableConditionalStyleItemProvider != null) - eefTableConditionalStyleItemProvider.dispose(); - if (eefTableStyleCustomizationItemProvider != null) - eefTableStyleCustomizationItemProvider.dispose(); - if (eefLineStyleItemProvider != null) - eefLineStyleItemProvider.dispose(); - if (eefLineConditionalStyleItemProvider != null) - eefLineConditionalStyleItemProvider.dispose(); - if (eefLineStyleCustomizationItemProvider != null) - eefLineStyleCustomizationItemProvider.dispose(); - if (eefColumnStyleItemProvider != null) - eefColumnStyleItemProvider.dispose(); - if (eefColumnConditionalStyleItemProvider != null) - eefColumnConditionalStyleItemProvider.dispose(); - if (eefColumnStyleCustomizationItemProvider != null) - eefColumnStyleCustomizationItemProvider.dispose(); - if (eefQuickFixItemProvider != null) - eefQuickFixItemProvider.dispose(); - if (eefValidationItemProvider != null) - eefValidationItemProvider.dispose(); } } diff --git a/plugins/org.eclipse.eef.expression/.classpath b/plugins/org.eclipse.eef.expression/.classpath deleted file mode 100644 index ad32c83a7..000000000 --- a/plugins/org.eclipse.eef.expression/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/plugins/org.eclipse.eef.expression/.project b/plugins/org.eclipse.eef.expression/.project deleted file mode 100644 index 6e19e124c..000000000 --- a/plugins/org.eclipse.eef.expression/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.eclipse.eef.expression - - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - org.eclipse.xtext.ui.shared.xtextNature - - diff --git a/plugins/org.eclipse.eef.expression/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.eef.expression/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0c68a61dc..000000000 --- a/plugins/org.eclipse.eef.expression/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/plugins/org.eclipse.eef.expression/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.expression/META-INF/MANIFEST.MF deleted file mode 100644 index dec78e50b..000000000 --- a/plugins/org.eclipse.eef.expression/META-INF/MANIFEST.MF +++ /dev/null @@ -1,16 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.eef.expression -Bundle-Version: 1.0.0.qualifier -Bundle-Activator: eef.expression.Activator -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime, - org.eclipse.sirius.contentassist;bundle-version="0.1.0", - org.eclipse.sirius.expression;bundle-version="1.0.0", - org.eclipse.sirius.validation;bundle-version="0.1.0", - org.eclipse.eef;bundle-version="2.0.0" -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Bundle-ActivationPolicy: lazy -Bundle-Vendor: %providerName -Bundle-Localization: plugin diff --git a/plugins/org.eclipse.eef.expression/about.html b/plugins/org.eclipse.eef.expression/about.html deleted file mode 100644 index f3a55ce5f..000000000 --- a/plugins/org.eclipse.eef.expression/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

                About This Content

                - -

                June 15, 2010

                -

                License

                - -

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

                - -

                If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

                - - - \ No newline at end of file diff --git a/plugins/org.eclipse.eef.expression/build.properties b/plugins/org.eclipse.eef.expression/build.properties deleted file mode 100644 index eadf859a3..000000000 --- a/plugins/org.eclipse.eef.expression/build.properties +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm -# Contributors: Obeo - initial API and implementation - -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - about.html,\ - plugin.properties diff --git a/plugins/org.eclipse.eef.expression/eef.expression b/plugins/org.eclipse.eef.expression/eef.expression deleted file mode 100644 index a3a534e95..000000000 --- a/plugins/org.eclipse.eef.expression/eef.expression +++ /dev/null @@ -1,583 +0,0 @@ -package eef{ - class eef.EEFViewDescription { - /** - * The variable representing the view input. - */ - var viewSemanticCandidate : ecore.EObject - - exp eef.EEFViewDescription.preconditionExpression(viewSemanticCandidate) : ecore.EBoolean [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription - ] - } - exp eef.EEFViewDescription.labelExpression(viewSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription - ] - } - } - - class eef.EEFPageDescription { - /** - * The variable representing the page input. - */ - var pageSemanticCandidate : ecore.EObject - - exp eef.EEFViewDescription.preconditionExpression(viewSemanticCandidate) : ecore.EBoolean [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription - ] - } - exp eef.EEFPageDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription - ] - } - exp eef.EEFPageDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription - ] - } - } - - class eef.EEFGroupDescription { - /** - * The variable representing the group input. - */ - var groupSemanticCandidate : ecore.EObject - - exp eef.EEFViewDescription.preconditionExpression(viewSemanticCandidate) : ecore.EBoolean [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription - ] - } - exp eef.EEFGroupDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription - ] - } - exp eef.EEFGroupDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription - ] - } - exp eef.EEFGroupDescription.collapsibleExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EBoolean [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription - ] - } - exp eef.EEFGroupDescription.collapsedByDefaultExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EBoolean [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription - ] - } - } - - class eef.EEFContainerDescription { - /** - * The variable representing the container input. - */ - var containerSemanticCandidate : ecore.EObject - - exp eef.EEFContainerDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate, containerSemanticCandidate, groupSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription - ] - } - } - - class eef.EEFWidgetDescription { - exp eef.EEFWidgetDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFWidgetDescription.tooltipExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFWidgetDescription.helpExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - } - - class eef.EEFCheckboxDescription { - /** - * The variable containing the new updated value. - */ - var newValue : ecore.EObject - - exp eef.EEFCheckboxDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription - ] - } - exp eef.EEFCheckboxDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription - ] - } - } - - class eef.EEFSelectDescription { - /** - * The variable containing the new updated value. - */ - var newValue : ecore.EObject - - /** - * Represents one of the possible inputs. - */ - var candidate : ecore.EObject - - exp eef.EEFSelectDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - exp eef.EEFSelectDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - exp eef.EEFSelectDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - exp eef.EEFSelectDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - } - - class eef.EEFLabelDescription { - exp eef.EEFLabelDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription - ] - } - } - - class eef.EEFRadioDescription { - /** - * The variable containing the new updated value. - */ - var newValue : ecore.EObject - - /** - * Represents the one of the possible inputs. - */ - var candidate : ecore.EObject - - exp eef.EEFRadioDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription - ] - } - exp eef.EEFRadioDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription - ] - } - exp eef.EEFRadioDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription - ] - } - exp eef.EEFRadioDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription - ] - } - } - - class eef.EEFLinkDescription { - exp eef.EEFLinkDescription.onClickExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Void [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription - ] - } - } - - class eef.EEFImageDescription { - exp eef.EEFImageDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImageDescription - ] - } - } - - class eef.EEFTreeDescription { - /** - * The variable containing the new updated values. - */ - var newValue : ecore.EObject - - exp eef.EEFTreeDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDescription - ] - } - exp eef.EEFTreeDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDescription - ] - } - } - - class eef.EEFTreeDialogSelectDescription { - /** - * Represents the semantic candidate. - */ - var treeDialogSelectSemanticCandidate : ecore.EObject - - /** - * Represents one of the possible inputs. - */ - var candidate : ecore.EObject - - /** - * The variable containing the new updated values. - */ - var newValue : ecore.EObject - - exp eef.EEFTreeDialogSelectDescription.semanticCandidateExpression(viewSemanticCandidate, treeDialogSelectSemanticCandidate, candidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDialogSelectDescription - ] - } - } - - class eef.EEFImagePickerDescription { - /** - * The variable containing the new updated value. - */ - var newValue : ecore.EObject - - exp eef.EEFImagePickerDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..-1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription - ] - } - exp eef.EEFImagePickerDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription - ] - } - exp eef.EEFImagePickerDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription - ] - } - } - - class eef.EEFColumnDescription { - /** - * Represents the column input. - */ - var columnSemanticCandidate : ecore.EObject - - exp eef.EEFColumnDescription.headerExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFColumnDescription - ] - } - } - - class eef.EEFLineDescription { - /** - * Represents the line input. - */ - var lineSemanticCandidate : ecore.EObject - - exp eef.EEFLineDescription.headerExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLineDescription - ] - } - exp eef.EEFLineDescription.semanticCandidatesExpression(viewSemanticCandidate, lineSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLineDescription - ] - } - } - - class eef.EEFTableDescription { - /** - * The variable containing the new updated values. - */ - var newValue : ecore.EObject - - exp eef.EEFTableDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTableDescription - ] - } - exp eef.EEFTableDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTableDescription - ] - } - } - - class eef.EEFInterpretedTreeStructureDescription { - /** - * The variable representing the parent element while computing the children expression in the Tree. - */ - var parent : ecore.EObject - - /** - * The variable representing the candidate element while computing the candidate display expression. - */ - var candidate : ecore.EObject - - exp eef.EEFInterpretedTreeStructureDescription.rootsExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription - ] - } - exp eef.EEFInterpretedTreeStructureDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription - ] - } - exp eef.EEFInterpretedTreeStructureDescription.selectablePredicateExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Predicate [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription - ] - } - exp eef.EEFInterpretedTreeStructureDescription.childrenExpression(viewSemanticCandidate, parent, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription - ] - } - } - - class eef.EEFTextDescription { - /** - * The variable containing the text field value. - */ - var value : ecore.EObject - - /** - * The variable containing the cursor position when the completion is called. - */ - var position : ecore.EObject - - exp eef.EEFTextDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription - ] - } - exp eef.EEFTextDescription.editExpression(viewSemanticCandidate, value, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription - ] - } - exp eef.EEFTextDescription.readOnlyExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription - ] - } - exp eef.EEFTextDescription.contentAssistExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate, value, position) : contentassist.CompletionProposal [0..-1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription - ] - } - exp eef.EEFTextDescription.placeholderExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription - ] - } - } - - class eef.EEFStyle { - exp eef.EEFStyle.fontExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - } - - class eef.EEFConditionalStyle { - exp eef.EEFConditionalStyle.conditionalExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - } - - class eef.EEFGroupStyle { - exp eef.EEFGroupStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription - ] - } - } - - class eef.EEFTextStyle { - exp eef.EEFTextStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription - ] - } - exp eef.EEFTextStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription - ] - } - } - - class eef.EEFCheckboxStyle { - exp eef.EEFCheckboxStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription - ] - } - exp eef.EEFCheckboxStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription - ] - } - } - - class eef.EEFLabelStyle { - exp eef.EEFLabelStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription - ] - } - exp eef.EEFLabelStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription - ] - } - } - - class eef.EEFRadioStyle { - exp eef.EEFRadioStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription - ] - } - exp eef.EEFRadioStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription - ] - } - } - - class eef.EEFLinkStyle { - exp eef.EEFLinkStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription - ] - } - exp eef.EEFLinkStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription - ] - } - exp eef.EEFLinkStyle.backgroundImageExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription - ] - } - } - - class eef.EEFSelectStyle { - exp eef.EEFSelectStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - exp eef.EEFSelectStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - } - - class eef.EEFLineStyle { - exp eef.EEFLineStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFLineStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - exp eef.EEFLineStyle.headerBackgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFLineStyle.headerForegroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - } - - class eef.EEFColumnStyle { - exp eef.EEFColumnStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFColumnStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - exp eef.EEFColumnStyle.headerBackgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFColumnStyle.headerForegroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { - userDefinedVariableContainers = [ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription - ] - } - } - - class eef.EEFValidation{ - exp eef.EEFValidation.validationExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EBoolean [0..1]{ - userDefinedVariableContainers=[ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - } - - class eef.EEFQuickFix{ - exp eef.EEFQuickFix.canHandleStatusExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EBoolean [0..1]{ - userDefinedVariableContainers=[ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFQuickFix.fixExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : expression.Void [0..1]{ - userDefinedVariableContainers=[ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFQuickFix.messageExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EString [0..1]{ - userDefinedVariableContainers=[ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - exp eef.EEFQuickFix.titleExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EString [0..1]{ - userDefinedVariableContainers=[ - eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription - ] - } - } - -} diff --git a/plugins/org.eclipse.eef.expression/plugin.properties b/plugins/org.eclipse.eef.expression/plugin.properties deleted file mode 100644 index bff4a561e..000000000 --- a/plugins/org.eclipse.eef.expression/plugin.properties +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm -# Contributors: Obeo - initial API and implementation - -pluginName = EEF Expression -providerName = Eclipse Modeling Project diff --git a/plugins/org.eclipse.eef.expression/src/eef/expression/Activator.java b/plugins/org.eclipse.eef.expression/src/eef/expression/Activator.java deleted file mode 100644 index b720f0c9f..000000000 --- a/plugins/org.eclipse.eef.expression/src/eef/expression/Activator.java +++ /dev/null @@ -1,60 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package eef.expression; - -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.osgi.framework.BundleContext; - -/** - * The activator class controls the plug-in life cycle - */ -public class Activator extends AbstractUIPlugin { - - // The plug-in ID - public static final String PLUGIN_ID = "eef.expression"; //$NON-NLS-1$ - - // The shared instance - private static Activator plugin; - - /** - * The constructor - */ - public Activator() { - } - - /* - * (non-Javadoc) - * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) - */ - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - } - - /* - * (non-Javadoc) - * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) - */ - public void stop(BundleContext context) throws Exception { - plugin = null; - super.stop(context); - } - - /** - * Returns the shared instance - * - * @return the shared instance - */ - public static Activator getDefault() { - return plugin; - } - -} diff --git a/plugins/org.eclipse.eef.expression/userDefinedVariable.expression b/plugins/org.eclipse.eef.expression/userDefinedVariable.expression deleted file mode 100644 index 46d8c1d85..000000000 --- a/plugins/org.eclipse.eef.expression/userDefinedVariable.expression +++ /dev/null @@ -1,8 +0,0 @@ -package expression { - class expression.UserDefinedVariable { - var self : ecore.EObject - exp expression.UserDefinedVariable.valueExpression(self) : ecore.EObject [0..1] { - userDefinedVariableContainers = [] - } - } -} \ No newline at end of file diff --git a/plugins/org.eclipse.eef.ide.ui/pom.xml b/plugins/org.eclipse.eef.ide.ui/pom.xml new file mode 100644 index 000000000..dccbbba00 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/pom.xml @@ -0,0 +1,37 @@ + + + + 4.0.0 + + + org.eclipse.eef + org.eclipse.eef.parent + 2.0.0-SNAPSHOT + ../../releng/org.eclipse.eef.releng + + + org.eclipse.eef.ide.ui + eclipse-plugin + + EEF IDE UI + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java index 31532f035..a4237bc91 100644 --- a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java @@ -58,7 +58,10 @@ public class EEFSection implements ISection { */ private List widgets = new ArrayList(); - private Object selection; + /** + * The current selection. + */ + private Object currentSelection; /** * The constructor. @@ -123,7 +126,7 @@ public class EEFSection implements ISection { IStructuredSelection iStructuredSelection = (IStructuredSelection) selection; Object object = iStructuredSelection.getFirstElement(); - this.selection = ((IStructuredSelection) selection).getFirstElement(); + this.currentSelection = ((IStructuredSelection) selection).getFirstElement(); EObject eObject = Platform.getAdapterManager().getAdapter(object, EObject.class); @@ -195,7 +198,7 @@ public class EEFSection implements ISection { text.addModifyListener(new ModifyListener() { @Override public void modifyText(ModifyEvent e) { - eefText.updateValue(selection, text.getText()); + eefText.updateValue(currentSelection, text.getText()); } }); } diff --git a/plugins/org.eclipse.eef.ide/pom.xml b/plugins/org.eclipse.eef.ide/pom.xml new file mode 100644 index 000000000..07d12c993 --- /dev/null +++ b/plugins/org.eclipse.eef.ide/pom.xml @@ -0,0 +1,37 @@ + + + + 4.0.0 + + + org.eclipse.eef + org.eclipse.eef.parent + 2.0.0-SNAPSHOT + ../../releng/org.eclipse.eef.releng + + + org.eclipse.eef.ide + eclipse-plugin + + EEF IDE + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/I18N.java b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/I18N.java index 49c55ed53..6fab6c5ee 100644 --- a/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/I18N.java +++ b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/I18N.java @@ -22,18 +22,15 @@ import java.security.PrivilegedAction; import org.eclipse.emf.common.EMFPlugin; /** - * Helper class with bundle-independent code, that can be reused by other I18N - * classes local to each plug-in. + * Helper class with bundle-independent code, that can be reused by other I18N classes local to each plug-in. * * @author pcdavid */ public final class I18N { /** - * Used to mark a {@code public static String} field of a class as an - * externalized string, whose actual value will depend on the locale used at - * runtime. The optional value corresponds to the key in the - * {@code ResourceLocator}; if absent, the name of the field itself is used - * as key. + * Used to mark a {@code public static String} field of a class as an externalized string, whose actual value will + * depend on the locale used at runtime. The optional value corresponds to the key in the {@code ResourceLocator}; + * if absent, the name of the field itself is used as key. * * @author pcdavid */ @@ -41,10 +38,10 @@ public final class I18N { @Target(ElementType.FIELD) public @interface TranslatableMessage { /** - * The (optional) value of the message key. If absent, the key is - * assumed to be the same as the Java field's name. + * The (optional) value of the message key. If absent, the key is assumed to be the same as the Java field's + * name. */ - String[]value() default {}; + String[] value() default {}; } /** @@ -55,14 +52,13 @@ public final class I18N { } /** - * Initializes the value of a class's {@code TranslatableMessage}s using the - * specified plugin as {@code ResourceLocator}. + * Initializes the value of a class's {@code TranslatableMessage}s using the specified plugin as + * {@code ResourceLocator}. * * @param messagesClass * the class which defines the fields to initialize. * @param plugin - * the plugin from which to obtain the localized value of the - * fields. + * the plugin from which to obtain the localized value of the fields. */ public static void initializeMessages(final Class messagesClass, final EMFPlugin plugin) { if (System.getSecurityManager() == null) { @@ -99,8 +95,7 @@ public final class I18N { * * @param field * The field - * @return true if the given field is a message field, - * false otherwise. + * @return true if the given field is a message field, false otherwise. */ private static boolean isMessageField(Field field) { int mods = field.getModifiers(); @@ -133,7 +128,7 @@ public final class I18N { /** * Returns the key for the given field. - * + * * @param field * The field * @return The key of the field diff --git a/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/AbstractRegistryEventListener.java b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/AbstractRegistryEventListener.java index e42a68f67..c786bccb2 100644 --- a/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/AbstractRegistryEventListener.java +++ b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/extensions/AbstractRegistryEventListener.java @@ -23,12 +23,11 @@ import org.eclipse.core.runtime.IRegistryEventListener; */ public abstract class AbstractRegistryEventListener implements IRegistryEventListener { /** - * This enumeration will be used to distinguish the various states of an - * incoming event. + * This enumeration will be used to distinguish the various states of an incoming event. * * @author sbegaudeau */ - protected static enum Action { + protected enum Action { /** * An extension is being added. */ @@ -85,8 +84,7 @@ public abstract class AbstractRegistryEventListener implements IRegistryEventLis * @param configurationElement * The configuration element * @param action - * Indicates whether we have an addition or a removal of the - * configuration element + * Indicates whether we have an addition or a removal of the configuration element */ private void processConfigurationElement(IConfigurationElement configurationElement, Action action) { boolean isValid = this.readConfigurationElement(configurationElement, action); @@ -104,10 +102,8 @@ public abstract class AbstractRegistryEventListener implements IRegistryEventLis * @param configurationElement * The configuration element. * @param action - * Indicates wether we have an addition or a removal of the - * configuration element - * @return true if the configuration element has been read - * properly + * Indicates wether we have an addition or a removal of the configuration element + * @return true if the configuration element has been read properly */ private boolean readConfigurationElement(IConfigurationElement configurationElement, Action action) { boolean isValid = false; @@ -126,8 +122,7 @@ public abstract class AbstractRegistryEventListener implements IRegistryEventLis * * @param configurationElement * The configuration element - * @return true if the configuration element is valid, - * false otherwise + * @return true if the configuration element is valid, false otherwise */ protected abstract boolean validateConfigurationElement(IConfigurationElement configurationElement); @@ -136,18 +131,16 @@ public abstract class AbstractRegistryEventListener implements IRegistryEventLis * * @param configurationElement * The configuration element - * @return true if the configuration element has been properly - * added, false otherwise + * @return true if the configuration element has been properly added, false otherwise */ protected abstract boolean processAddition(IConfigurationElement configurationElement); /** * Processes the removal of the given configuration element. - * + * * @param configurationElement * The configuration element - * @return true if the configuration element has been properly - * removed, false otherwise + * @return true if the configuration element has been properly removed, false otherwise */ protected abstract boolean processRemoval(IConfigurationElement configurationElement); diff --git a/plugins/org.eclipse.eef.interpreter.aql/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.interpreter.aql/META-INF/MANIFEST.MF index 3e0ce4c96..ce3725232 100644 --- a/plugins/org.eclipse.eef.interpreter.aql/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef.interpreter.aql/META-INF/MANIFEST.MF @@ -8,8 +8,7 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-Localization: plugin Import-Package: com.google.common.cache;version="[15.0.0,16.0.0)", org.eclipse.acceleo.query.runtime;version="[3.6.0,4.0.0)", - org.eclipse.eef.interpreter.api;version="[2.0.0,3.0.0)", - org.eclipse.sirius.expression;version="1.0.0" + org.eclipse.eef.interpreter.api;version="[2.0.0,3.0.0)" Export-Package: org.eclipse.eef.interpreter.aql.internal;version="2.0.0";x-internal:=true Bundle-ActivationPolicy: lazy Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", diff --git a/plugins/org.eclipse.eef.interpreter.aql/pom.xml b/plugins/org.eclipse.eef.interpreter.aql/pom.xml new file mode 100644 index 000000000..9e518a4b7 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter.aql/pom.xml @@ -0,0 +1,37 @@ + + + + 4.0.0 + + + org.eclipse.eef + org.eclipse.eef.parent + 2.0.0-SNAPSHOT + ../../releng/org.eclipse.eef.releng + + + org.eclipse.eef.interpreter.aql + eclipse-plugin + + EEF Interpreter AQL + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java index 269c92185..5d2c12300 100644 --- a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java +++ b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java @@ -29,12 +29,10 @@ import org.eclipse.acceleo.query.runtime.QueryEvaluation; import org.eclipse.acceleo.query.runtime.QueryParsing; import org.eclipse.eef.interpreter.api.IEvaluationResult; import org.eclipse.eef.interpreter.api.IInterpreter; -import org.eclipse.eef.interpreter.api.IValidationResult; import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.ecore.EcorePackage; import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl; -import org.eclipse.sirius.expression.SiriusExpressionDescription; /** * The AQL {@link IInterpreter}. @@ -88,12 +86,10 @@ public class AQLInterpreter implements IInterpreter { /** * {@inheritDoc} * - * @see org.eclipse.eef.interpreter.api.IInterpreter#evaluateExpression(java.util.Map, - * org.eclipse.sirius.expression.ExpressionDescription, java.lang.String) + * @see org.eclipse.eef.interpreter.api.IInterpreter#evaluateExpression(java.util.Map, java.lang.String) */ @Override - public IEvaluationResult evaluateExpression(Map variables, SiriusExpressionDescription expressionDescription, - String expressionBody) { + public IEvaluationResult evaluateExpression(Map variables, String expressionBody) { String body = expressionBody.substring(IAQLConstants.AQL_PREFIX.length()); try { AstResult astResult = this.parsedExpressions.get(body); @@ -109,15 +105,4 @@ public class AQLInterpreter implements IInterpreter { return new AQLEvaluationResult(null, error); } - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.interpreter.api.IInterpreter#validateExpression(org.eclipse.sirius.expression.ExpressionDescription, - * java.lang.String) - */ - @Override - public IValidationResult validateExpression(SiriusExpressionDescription expressionDescription, String expressionBody) { - return null; - } - } diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/I18N.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/I18N.java index 831c5e7bd..7932f5d9a 100644 --- a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/I18N.java +++ b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/I18N.java @@ -22,18 +22,15 @@ import java.security.PrivilegedAction; import org.eclipse.emf.common.EMFPlugin; /** - * Helper class with bundle-independent code, that can be reused by other I18N - * classes local to each plug-in. + * Helper class with bundle-independent code, that can be reused by other I18N classes local to each plug-in. * * @author pcdavid */ public final class I18N { /** - * Used to mark a {@code public static String} field of a class as an - * externalized string, whose actual value will depend on the locale used at - * runtime. The optional value corresponds to the key in the - * {@code ResourceLocator}; if absent, the name of the field itself is used - * as key. + * Used to mark a {@code public static String} field of a class as an externalized string, whose actual value will + * depend on the locale used at runtime. The optional value corresponds to the key in the {@code ResourceLocator}; + * if absent, the name of the field itself is used as key. * * @author pcdavid */ @@ -41,10 +38,10 @@ public final class I18N { @Target(ElementType.FIELD) public @interface TranslatableMessage { /** - * The (optional) value of the message key. If absent, the key is - * assumed to be the same as the Java field's name. + * The (optional) value of the message key. If absent, the key is assumed to be the same as the Java field's + * name. */ - String[]value() default {}; + String[] value() default {}; } /** @@ -55,14 +52,13 @@ public final class I18N { } /** - * Initializes the value of a class's {@code TranslatableMessage}s using the - * specified plugin as {@code ResourceLocator}. + * Initializes the value of a class's {@code TranslatableMessage}s using the specified plugin as + * {@code ResourceLocator}. * * @param messagesClass * the class which defines the fields to initialize. * @param plugin - * the plugin from which to obtain the localized value of the - * fields. + * the plugin from which to obtain the localized value of the fields. */ public static void initializeMessages(final Class messagesClass, final EMFPlugin plugin) { if (System.getSecurityManager() == null) { @@ -99,8 +95,7 @@ public final class I18N { * * @param field * The field - * @return true if the given field is a message field, - * false otherwise. + * @return true if the given field is a message field, false otherwise. */ private static boolean isMessageField(Field field) { int mods = field.getModifiers(); @@ -133,7 +128,7 @@ public final class I18N { /** * Returns the key for the given field. - * + * * @param field * The field * @return The key of the field diff --git a/plugins/org.eclipse.eef.interpreter/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.interpreter/META-INF/MANIFEST.MF index fe3523554..80878e8c4 100644 --- a/plugins/org.eclipse.eef.interpreter/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef.interpreter/META-INF/MANIFEST.MF @@ -8,4 +8,3 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Require-Bundle: org.eclipse.emf.common;bundle-version="[2.8.0,3.0.0)" Export-Package: org.eclipse.eef.interpreter.api;version="2.0.0" Bundle-Localization: plugin -Import-Package: org.eclipse.sirius.expression;version="[1.0.0,2.0.0)" diff --git a/plugins/org.eclipse.eef.interpreter/build.properties b/plugins/org.eclipse.eef.interpreter/build.properties index ec069b05e..eac95d0ab 100644 --- a/plugins/org.eclipse.eef.interpreter/build.properties +++ b/plugins/org.eclipse.eef.interpreter/build.properties @@ -11,4 +11,3 @@ bin.includes = META-INF/,\ .,\ plugin.properties javacProjectSettings = true -additional.bundles = org.eclipse.sirius.expression diff --git a/plugins/org.eclipse.eef.interpreter/pom.xml b/plugins/org.eclipse.eef.interpreter/pom.xml new file mode 100644 index 000000000..701fe7af5 --- /dev/null +++ b/plugins/org.eclipse.eef.interpreter/pom.xml @@ -0,0 +1,37 @@ + + + + 4.0.0 + + + org.eclipse.eef + org.eclipse.eef.parent + 2.0.0-SNAPSHOT + ../../releng/org.eclipse.eef.releng + + + org.eclipse.eef.interpreter + eclipse-plugin + + EEF Interpreter + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java index ca41fe8a6..ee95847dd 100644 --- a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java +++ b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java @@ -12,8 +12,6 @@ package org.eclipse.eef.interpreter.api; import java.util.Map; -import org.eclipse.sirius.expression.SiriusExpressionDescription; - /** * Common interface of all the interpreters used by the EEF runtime. * @@ -25,24 +23,11 @@ public interface IInterpreter { * * @param variables * The variables used to evaluate the expression - * @param expressionDescription - * The description of the expression * @param expressionBody * The body of the expression * @return The result of the evaluation * @throws EvaluationException * In case of error during the evaluation */ - IEvaluationResult evaluateExpression(Map variables, SiriusExpressionDescription expressionDescription, String expressionBody); - - /** - * Validates the expression with the given body and parameters. - * - * @param expressionDescription - * The description of the expression - * @param expressionBody - * The body of the expression - * @return The evaluation result - */ - IValidationResult validateExpression(SiriusExpressionDescription expressionDescription, String expressionBody); + IEvaluationResult evaluateExpression(Map variables, String expressionBody); } diff --git a/plugins/org.eclipse.eef/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef/META-INF/MANIFEST.MF index 7a69c9975..2574ae46c 100644 --- a/plugins/org.eclipse.eef/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef/META-INF/MANIFEST.MF @@ -12,6 +12,5 @@ Export-Package: org.eclipse.eef;version="2.0.0", org.eclipse.eef.impl;version="2.0.0", org.eclipse.eef.util;version="2.0.0" Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", - org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, - org.eclipse.sirius.expression;bundle-version="[1.0.0,2.0.0)";visibility:=reexport + org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)";visibility:=reexport Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.eef/model/eef.aird b/plugins/org.eclipse.eef/model/eef.aird deleted file mode 100644 index e5710e94c..000000000 --- a/plugins/org.eclipse.eef/model/eef.aird +++ /dev/null @@ -1,18692 +0,0 @@ - - - eef.ecore - eef.genmodel - EEFInterpretedExpression.xmi - EEFExpression.xmi - platform:/resource/org.eclipse.sirius.context/model/context.ecore - platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore - platform:/resource/org.eclipse.sirius.context/model/context.genmodel - http://www.eclipse.org/emf/2002/Ecore - platform:/resource/org.eclipse.sirius.contentassist/model/contentassist.ecore - platform:/resource/org.eclipse.sirius.validation/model/validation.ecore - platform:/resource/org.eclipse.sirius.expression/model/expression.genmodel - platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel - platform:/resource/org.eclipse.sirius.expression/model/expression.ecore - platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore - - - - - - - bold - - - - - - - - - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bold - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bold - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - bold - - - - - - - - - - - - - - - - - - bold - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - - - - - - bold - - - - - - - - - - - italic - - - - - - - - - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef/model/eef.ecore b/plugins/org.eclipse.eef/model/eef.ecore index 1b827b95f..327513c8d 100644 --- a/plugins/org.eclipse.eef/model/eef.ecore +++ b/plugins/org.eclipse.eef/model/eef.ecore @@ -2,39 +2,17 @@ - -
                -
                - - -
                - - - - -
                - - - +
                - - -
                - - @@ -47,73 +25,23 @@
                - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - + - -
                -
                - - -
                - - - - -
                - - - +
                - - -
                - - + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" defaultValueLiteral="">
                @@ -124,47 +52,21 @@
                - - -
                - - - -
                -
                - - -
                - - - - -
                - - - +
                - - -
                - - + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
                @@ -175,83 +77,14 @@
                - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - -
                -
                - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - @@ -260,1087 +93,28 @@ - -
                -
                - - -
                - - - - -
                - - - +
                - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - - -
                - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - + +
                - +
                - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - -
                - - diff --git a/plugins/org.eclipse.eef/model/eef.genmodel b/plugins/org.eclipse.eef/model/eef.genmodel index 126193fba..954040d8a 100644 --- a/plugins/org.eclipse.eef/model/eef.genmodel +++ b/plugins/org.eclipse.eef/model/eef.genmodel @@ -5,292 +5,41 @@ editorDirectory="/org.eclipse.eef.editor/src-gen" modelPluginID="org.eclipse.eef" modelName="Eef" nonNLSMarkers="true" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.ecore" - containmentProxies="true" complianceLevel="6.0" copyrightFields="false" usedGenPackages="../../org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore ../../org.eclipse.sirius.expression/model/expression.genmodel#//expression" + containmentProxies="true" complianceLevel="6.0" copyrightFields="false" usedGenPackages="../../org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore" importOrganizing="true" cleanup="true"> eef.ecore - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.eef/model/eef2_legacy.ecore b/plugins/org.eclipse.eef/model/eef2_legacy.ecore new file mode 100644 index 000000000..1b827b95f --- /dev/null +++ b/plugins/org.eclipse.eef/model/eef2_legacy.ecore @@ -0,0 +1,1346 @@ + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + + +
                + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + diff --git a/plugins/org.eclipse.eef/pom.xml b/plugins/org.eclipse.eef/pom.xml new file mode 100644 index 000000000..61715fe2d --- /dev/null +++ b/plugins/org.eclipse.eef/pom.xml @@ -0,0 +1,37 @@ + + + + 4.0.0 + + + org.eclipse.eef + org.eclipse.eef.parent + 2.0.0-SNAPSHOT + ../../releng/org.eclipse.eef.releng + + + org.eclipse.eef + eclipse-plugin + + EEF + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + + \ No newline at end of file diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTableStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTableStructureDescription.java deleted file mode 100644 index 3122bcb47..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTableStructureDescription.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Adapter Factory Table Structure Description'. - * - * - * - * Defines the structure of a Tree from an AdapterFactory. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFAdapterFactoryTableStructureDescription() - * @model - * @generated - */ -public interface EEFAdapterFactoryTableStructureDescription extends EEFTableStructureDescription { - /** - * Returns the value of the 'Adapter Factory Provider' attribute. - * - * - * - * The qualified name of the adapter factory Java class. - * - * @return the value of the 'Adapter Factory Provider' attribute. - * @see #setAdapterFactoryProvider(String) - * @see org.eclipse.eef.EefPackage#getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider() - * @model - * @generated - */ - String getAdapterFactoryProvider(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}' attribute. - * - * - * @param value the new value of the 'Adapter Factory Provider' attribute. - * @see #getAdapterFactoryProvider() - * @generated - */ - void setAdapterFactoryProvider(String value); - -} // EEFAdapterFactoryTableStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTreeStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTreeStructureDescription.java deleted file mode 100644 index 335da0bfc..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFAdapterFactoryTreeStructureDescription.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Adapter Factory Tree Structure Description'. - * - * - * - * Defines the structure of a Tree from an AdapterFactory. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFAdapterFactoryTreeStructureDescription() - * @model - * @generated - */ -public interface EEFAdapterFactoryTreeStructureDescription extends EEFTreeStructureDescription { - /** - * Returns the value of the 'Adapter Factory Provider' attribute. - * - * - * - * The qualified name of the adapter factory Java class. - * - * @return the value of the 'Adapter Factory Provider' attribute. - * @see #setAdapterFactoryProvider(String) - * @see org.eclipse.eef.EefPackage#getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider() - * @model - * @generated - */ - String getAdapterFactoryProvider(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}' attribute. - * - * - * @param value the new value of the 'Adapter Factory Provider' attribute. - * @see #getAdapterFactoryProvider() - * @generated - */ - void setAdapterFactoryProvider(String value); - -} // EEFAdapterFactoryTreeStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCellWidgetDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCellWidgetDescription.java deleted file mode 100644 index 70407811a..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCellWidgetDescription.java +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Cell Widget Description'. - * - * - * - * Defines widget which is visible in a table cell. - * - * - * - * @see org.eclipse.eef.EefPackage#getEEFCellWidgetDescription() - * @model abstract="true" - * @generated - */ -public interface EEFCellWidgetDescription extends EEFWidgetDescription { -} // EEFCellWidgetDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxConditionalStyle.java deleted file mode 100644 index c8f1c8215..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxConditionalStyle.java +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Checkbox Conditional Style'. - * - * - * - * Represents a conditional style for a checkbox widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFCheckboxConditionalStyle#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFCheckboxConditionalStyle() - * @model - * @generated - */ -public interface EEFCheckboxConditionalStyle extends EObject { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFCheckboxStyle) - * @see org.eclipse.eef.EefPackage#getEEFCheckboxConditionalStyle_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFCheckboxStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFCheckboxConditionalStyle#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFCheckboxStyle value); - -} // EEFCheckboxConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxDescription.java deleted file mode 100644 index e9cd55541..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxDescription.java +++ /dev/null @@ -1,83 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Checkbox Description'. - * - * - * - * Represents a checkbox in the user interface. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFCheckboxDescription#getValueExpression Value Expression}
                • - *
                • {@link org.eclipse.eef.EEFCheckboxDescription#getEditExpression Edit Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFCheckboxDescription() - * @model - * @generated - */ -public interface EEFCheckboxDescription extends EEFCellWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * Indicates how to display the input value. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFCheckboxDescription_ValueExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFCheckboxDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - - /** - * Returns the value of the 'Edit Expression' attribute. - * - * - * - * Defines the behavior executed when the end-user updates the value of the checkbox. - * - * @return the value of the 'Edit Expression' attribute. - * @see #setEditExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFCheckboxDescription_EditExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getEditExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFCheckboxDescription#getEditExpression Edit Expression}' attribute. - * - * - * @param value the new value of the 'Edit Expression' attribute. - * @see #getEditExpression() - * @generated - */ - void setEditExpression(String value); - -} // EEFCheckboxDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyle.java deleted file mode 100644 index 3cd79f894..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyle.java +++ /dev/null @@ -1,83 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Checkbox Style'. - * - * - * - * Represents a style that can be applied on checkbox widgets. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFCheckboxStyle#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.EEFCheckboxStyle#getForegroundColorExpression Foreground Color Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFCheckboxStyle() - * @model - * @generated - */ -public interface EEFCheckboxStyle extends EEFStyle { - /** - * Returns the value of the 'Background Color Expression' attribute. - * - * - * - * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Background Color Expression' attribute. - * @see #setBackgroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFCheckboxStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getBackgroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFCheckboxStyle#getBackgroundColorExpression Background Color Expression}' attribute. - * - * - * @param value the new value of the 'Background Color Expression' attribute. - * @see #getBackgroundColorExpression() - * @generated - */ - void setBackgroundColorExpression(String value); - - /** - * Returns the value of the 'Foreground Color Expression' attribute. - * - * - * - * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Foreground Color Expression' attribute. - * @see #setForegroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFCheckboxStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getForegroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFCheckboxStyle#getForegroundColorExpression Foreground Color Expression}' attribute. - * - * - * @param value the new value of the 'Foreground Color Expression' attribute. - * @see #getForegroundColorExpression() - * @generated - */ - void setForegroundColorExpression(String value); - -} // EEFCheckboxStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyleCustomization.java deleted file mode 100644 index aa1918710..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFCheckboxStyleCustomization.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Checkbox Style Customization'. - * - * - * - * Represents a style customization applied on a checkbox widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFCheckboxStyleCustomization#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFCheckboxStyleCustomization() - * @model - * @generated - */ -public interface EEFCheckboxStyleCustomization extends EEFStyleCustomization { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFCheckboxStyle) - * @see org.eclipse.eef.EefPackage#getEEFCheckboxStyleCustomization_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFCheckboxStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFCheckboxStyleCustomization#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFCheckboxStyle value); - -} // EEFCheckboxStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnConditionalStyle.java deleted file mode 100644 index 11d1bb426..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnConditionalStyle.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Column Conditional Style'. - * - * - * - * Represents a conditional style for a column widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFColumnConditionalStyle#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFColumnConditionalStyle() - * @model - * @generated - */ -public interface EEFColumnConditionalStyle extends EEFConditionalStyle { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFColumnStyle) - * @see org.eclipse.eef.EefPackage#getEEFColumnConditionalStyle_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFColumnStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFColumnConditionalStyle#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFColumnStyle value); - -} // EEFColumnConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java deleted file mode 100644 index 888f0e8be..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnDescription.java +++ /dev/null @@ -1,111 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Column Description'. - * - * - * - * Represents a Column in a Table in the user interface. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFColumnDescription#getWidth Width}
                • - *
                • {@link org.eclipse.eef.EEFColumnDescription#getHeaderExpression Header Expression}
                • - *
                • {@link org.eclipse.eef.EEFColumnDescription#getCellWidget Cell Widget}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFColumnDescription() - * @model - * @generated - */ -public interface EEFColumnDescription extends EObject { - /** - * Returns the value of the 'Width' attribute. - * - * - * - * Defines the initial width of a column. It is a percentage of the total - * - * @return the value of the 'Width' attribute. - * @see #setWidth(int) - * @see org.eclipse.eef.EefPackage#getEEFColumnDescription_Width() - * @model - * @generated - */ - int getWidth(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFColumnDescription#getWidth Width}' attribute. - * - * - * @param value the new value of the 'Width' attribute. - * @see #getWidth() - * @generated - */ - void setWidth(int value); - - /** - * Returns the value of the 'Header Expression' attribute. - * - * - * - * Indicates how to display the column table header. - * - * @return the value of the 'Header Expression' attribute. - * @see #setHeaderExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFColumnDescription_HeaderExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getHeaderExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFColumnDescription#getHeaderExpression Header Expression}' attribute. - * - * - * @param value the new value of the 'Header Expression' attribute. - * @see #getHeaderExpression() - * @generated - */ - void setHeaderExpression(String value); - - /** - * Returns the value of the 'Cell Widget' reference. - * - * - * - * References the widget to represent in the cell. - * - * @return the value of the 'Cell Widget' reference. - * @see #setCellWidget(EEFCellWidgetDescription) - * @see org.eclipse.eef.EefPackage#getEEFColumnDescription_CellWidget() - * @model - * @generated - */ - EEFCellWidgetDescription getCellWidget(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFColumnDescription#getCellWidget Cell Widget}' reference. - * - * - * @param value the new value of the 'Cell Widget' reference. - * @see #getCellWidget() - * @generated - */ - void setCellWidget(EEFCellWidgetDescription value); - -} // EEFColumnDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyle.java deleted file mode 100644 index 67388e1ff..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyle.java +++ /dev/null @@ -1,135 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Column Style'. - * - * - * - * Represents a style that can be applied on column widgets. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFColumnStyle#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.EEFColumnStyle#getForegroundColorExpression Foreground Color Expression}
                • - *
                • {@link org.eclipse.eef.EEFColumnStyle#getHeaderBackgroundColorExpression Header Background Color Expression}
                • - *
                • {@link org.eclipse.eef.EEFColumnStyle#getHeaderForegroundColorExpression Header Foreground Color Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFColumnStyle() - * @model - * @generated - */ -public interface EEFColumnStyle extends EEFStyle { - /** - * Returns the value of the 'Background Color Expression' attribute. - * - * - * - * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Background Color Expression' attribute. - * @see #setBackgroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFColumnStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getBackgroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFColumnStyle#getBackgroundColorExpression Background Color Expression}' attribute. - * - * - * @param value the new value of the 'Background Color Expression' attribute. - * @see #getBackgroundColorExpression() - * @generated - */ - void setBackgroundColorExpression(String value); - - /** - * Returns the value of the 'Foreground Color Expression' attribute. - * - * - * - * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Foreground Color Expression' attribute. - * @see #setForegroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFColumnStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getForegroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFColumnStyle#getForegroundColorExpression Foreground Color Expression}' attribute. - * - * - * @param value the new value of the 'Foreground Color Expression' attribute. - * @see #getForegroundColorExpression() - * @generated - */ - void setForegroundColorExpression(String value); - - /** - * Returns the value of the 'Header Background Color Expression' attribute. - * - * - * - * Defines the header background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Header Background Color Expression' attribute. - * @see #setHeaderBackgroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFColumnStyle_HeaderBackgroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getHeaderBackgroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFColumnStyle#getHeaderBackgroundColorExpression Header Background Color Expression}' attribute. - * - * - * @param value the new value of the 'Header Background Color Expression' attribute. - * @see #getHeaderBackgroundColorExpression() - * @generated - */ - void setHeaderBackgroundColorExpression(String value); - - /** - * Returns the value of the 'Header Foreground Color Expression' attribute. - * - * - * - * Defines the header foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Header Foreground Color Expression' attribute. - * @see #setHeaderForegroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFColumnStyle_HeaderForegroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getHeaderForegroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFColumnStyle#getHeaderForegroundColorExpression Header Foreground Color Expression}' attribute. - * - * - * @param value the new value of the 'Header Foreground Color Expression' attribute. - * @see #getHeaderForegroundColorExpression() - * @generated - */ - void setHeaderForegroundColorExpression(String value); - -} // EEFColumnStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyleCustomization.java deleted file mode 100644 index a3d59ea11..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFColumnStyleCustomization.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Column Style Customization'. - * - * - * - * Represents a style customization applied on a column widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFColumnStyleCustomization#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFColumnStyleCustomization() - * @model - * @generated - */ -public interface EEFColumnStyleCustomization extends EEFStyleCustomization { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFColumnStyle) - * @see org.eclipse.eef.EefPackage#getEEFColumnStyleCustomization_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFColumnStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFColumnStyleCustomization#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFColumnStyle value); - -} // EEFColumnStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFConditionalStyle.java deleted file mode 100644 index d7db55b32..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFConditionalStyle.java +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Conditional Style'. - * - * - * - * Represents a conditional style. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFConditionalStyle#getConditionalExpression Conditional Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFConditionalStyle() - * @model abstract="true" - * @generated - */ -public interface EEFConditionalStyle extends EObject { - /** - * Returns the value of the 'Conditional Expression' attribute. - * - * - * - * Defines the condition on which a style must be applied on a widget. - * - * @return the value of the 'Conditional Expression' attribute. - * @see #setConditionalExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFConditionalStyle_ConditionalExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getConditionalExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFConditionalStyle#getConditionalExpression Conditional Expression}' attribute. - * - * - * @param value the new value of the 'Conditional Expression' attribute. - * @see #getConditionalExpression() - * @generated - */ - void setConditionalExpression(String value); - -} // EEFConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFContainerDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFContainerDescription.java index b5653a622..1ce0488e8 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFContainerDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFContainerDescription.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -9,32 +9,18 @@ package org.eclipse.eef; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; -import org.eclipse.sirius.expression.UserDefinedVariable; - /** - * - * A representation of the model object 'EEF Container Description'. - * - * - * - * Holds the widgets of a Group. - * + * A representation of the model object 'EEF Container Description'. * *

                * The following features are supported: *

                *
                  - *
                • {@link org.eclipse.eef.EEFContainerDescription#getIdentifier Identifier}
                • - *
                • {@link org.eclipse.eef.EEFContainerDescription#getPreconditionExpression Precondition Expression}
                • - *
                • {@link org.eclipse.eef.EEFContainerDescription#getUserDefinedVariables User Defined Variables}
                • - *
                • {@link org.eclipse.eef.EEFContainerDescription#getSemanticCandidateExpression Semantic Candidate Expression}
                • - *
                • {@link org.eclipse.eef.EEFContainerDescription#getDomainClass Domain Class}
                • - *
                • {@link org.eclipse.eef.EEFContainerDescription#getLayoutColumnCount Layout Column Count}
                • - *
                • {@link org.eclipse.eef.EEFContainerDescription#getContainers Containers}
                • - *
                • {@link org.eclipse.eef.EEFContainerDescription#getWidgets Widgets}
                • + *
                • {@link org.eclipse.eef.EEFContainerDescription#getIdentifier Identifier}
                • + *
                • {@link org.eclipse.eef.EEFContainerDescription#getWidgets Widgets}
                • *
                * * @see org.eclipse.eef.EefPackage#getEEFContainerDescription() @@ -43,12 +29,9 @@ import org.eclipse.sirius.expression.UserDefinedVariable; */ public interface EEFContainerDescription extends EObject { /** - * Returns the value of the 'Identifier' attribute. - * - * - * - * Used to identify a specific Container in a Group. - * + * Returns the value of the 'Identifier' attribute. + * Used to identify a specific Container in a Group. + * * @return the value of the 'Identifier' attribute. * @see #setIdentifier(String) * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_Identifier() @@ -58,154 +41,21 @@ public interface EEFContainerDescription extends EObject { String getIdentifier(); /** - * Sets the value of the '{@link org.eclipse.eef.EEFContainerDescription#getIdentifier Identifier}' attribute. - * - * - * @param value the new value of the 'Identifier' attribute. + * Sets the value of the '{@link org.eclipse.eef.EEFContainerDescription#getIdentifier Identifier}' + * attribute. + * + * @param value + * the new value of the 'Identifier' attribute. * @see #getIdentifier() * @generated */ void setIdentifier(String value); /** - * Returns the value of the 'Precondition Expression' attribute. - * - * - * - * Defines the condition on which the Container will be visible. - * - * @return the value of the 'Precondition Expression' attribute. - * @see #setPreconditionExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_PreconditionExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getPreconditionExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFContainerDescription#getPreconditionExpression Precondition Expression}' attribute. - * - * - * @param value the new value of the 'Precondition Expression' attribute. - * @see #getPreconditionExpression() - * @generated - */ - void setPreconditionExpression(String value); - - /** - * Returns the value of the 'User Defined Variables' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.UserDefinedVariable}. - * - * - * - * Contains the variables defined by the end user. - * - * @return the value of the 'User Defined Variables' containment reference list. - * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_UserDefinedVariables() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getUserDefinedVariables(); - - /** - * Returns the value of the 'Semantic Candidate Expression' attribute. - * - * - * - * The elements that are represented. - * - * @return the value of the 'Semantic Candidate Expression' attribute. - * @see #setSemanticCandidateExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_SemanticCandidateExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getSemanticCandidateExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFContainerDescription#getSemanticCandidateExpression Semantic Candidate Expression}' attribute. - * - * - * @param value the new value of the 'Semantic Candidate Expression' attribute. - * @see #getSemanticCandidateExpression() - * @generated - */ - void setSemanticCandidateExpression(String value); - - /** - * Returns the value of the 'Domain Class' attribute. - * - * - * - * Defines the context in which the Container is used. - * - * @return the value of the 'Domain Class' attribute. - * @see #setDomainClass(String) - * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_DomainClass() - * @model dataType="org.eclipse.eef.TypeName" - * @generated - */ - String getDomainClass(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFContainerDescription#getDomainClass Domain Class}' attribute. - * - * - * @param value the new value of the 'Domain Class' attribute. - * @see #getDomainClass() - * @generated - */ - void setDomainClass(String value); - - /** - * Returns the value of the 'Layout Column Count' attribute. - * The default value is "1". - * - * - * - * Number of available columns. If the number of elements is higher than the number of columns then the elements are represented on the next line. - * - * @return the value of the 'Layout Column Count' attribute. - * @see #setLayoutColumnCount(int) - * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_LayoutColumnCount() - * @model default="1" - * @generated - */ - int getLayoutColumnCount(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFContainerDescription#getLayoutColumnCount Layout Column Count}' attribute. - * - * - * @param value the new value of the 'Layout Column Count' attribute. - * @see #getLayoutColumnCount() - * @generated - */ - void setLayoutColumnCount(int value); - - /** - * Returns the value of the 'Containers' containment reference list. - * The list contents are of type {@link org.eclipse.eef.EEFContainerDescription}. - * - * - * - * Defines sub-containers. - * - * @return the value of the 'Containers' containment reference list. - * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_Containers() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getContainers(); - - /** - * Returns the value of the 'Widgets' containment reference list. - * The list contents are of type {@link org.eclipse.eef.EEFWidgetDescription}. - * - * - * - * References the widgets to hold. - * + * Returns the value of the 'Widgets' containment reference list. The list contents are of type + * {@link org.eclipse.eef.EEFWidgetDescription}. References the widgets to hold. + * * @return the value of the 'Widgets' containment reference list. * @see org.eclipse.eef.EefPackage#getEEFContainerDescription_Widgets() * @model containment="true" resolveProxies="true" required="true" diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupConditionalStyle.java deleted file mode 100644 index 664b81ab4..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupConditionalStyle.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Group Conditional Style'. - * - * - * - * Represents a conditional style for a group. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFGroupConditionalStyle#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFGroupConditionalStyle() - * @model - * @generated - */ -public interface EEFGroupConditionalStyle extends EEFConditionalStyle { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style of the group. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFGroupStyle) - * @see org.eclipse.eef.EefPackage#getEEFGroupConditionalStyle_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFGroupStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFGroupConditionalStyle#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFGroupStyle value); - -} // EEFGroupConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java index ffa0268c0..e2624ba4a 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupDescription.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -8,35 +8,21 @@ */ package org.eclipse.eef; -import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; -import org.eclipse.sirius.expression.UserDefinedVariable; - /** - * - * A representation of the model object 'EEF Group Description'. - * - * - * - * A Group is used to structure the user interface within a Page. It groups multiple widgets together. - * + * A representation of the model object 'EEF Group Description'. * *

                * The following features are supported: *

                *
                  - *
                • {@link org.eclipse.eef.EEFGroupDescription#getIdentifier Identifier}
                • - *
                • {@link org.eclipse.eef.EEFGroupDescription#getPreconditionExpression Precondition Expression}
                • - *
                • {@link org.eclipse.eef.EEFGroupDescription#getUserDefinedVariables User Defined Variables}
                • - *
                • {@link org.eclipse.eef.EEFGroupDescription#getLabelExpression Label Expression}
                • - *
                • {@link org.eclipse.eef.EEFGroupDescription#getDomainClass Domain Class}
                • - *
                • {@link org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression Semantic Candidate Expression}
                • - *
                • {@link org.eclipse.eef.EEFGroupDescription#getContainer Container}
                • - *
                • {@link org.eclipse.eef.EEFGroupDescription#getCollapsibleExpression Collapsible Expression}
                • - *
                • {@link org.eclipse.eef.EEFGroupDescription#getCollapsedByDefaultExpression Collapsed By Default Expression}
                • - *
                • {@link org.eclipse.eef.EEFGroupDescription#getValidation Validation}
                • + *
                • {@link org.eclipse.eef.EEFGroupDescription#getIdentifier Identifier}
                • + *
                • {@link org.eclipse.eef.EEFGroupDescription#getLabelExpression Label Expression}
                • + *
                • {@link org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression Semantic Candidate Expression} + *
                • + *
                • {@link org.eclipse.eef.EEFGroupDescription#getContainer Container}
                • *
                * * @see org.eclipse.eef.EefPackage#getEEFGroupDescription() @@ -45,12 +31,9 @@ import org.eclipse.sirius.expression.UserDefinedVariable; */ public interface EEFGroupDescription extends EObject { /** - * Returns the value of the 'Identifier' attribute. - * - * - * - * Used to identify a specific Group in a Page. - * + * Returns the value of the 'Identifier' attribute. + * Used to identify a specific Group in a Page. + * * @return the value of the 'Identifier' attribute. * @see #setIdentifier(String) * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_Identifier() @@ -61,136 +44,67 @@ public interface EEFGroupDescription extends EObject { /** * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getIdentifier Identifier}' attribute. - * - * - * @param value the new value of the 'Identifier' attribute. + * + * + * @param value + * the new value of the 'Identifier' attribute. * @see #getIdentifier() * @generated */ void setIdentifier(String value); /** - * Returns the value of the 'Precondition Expression' attribute. - * - * - * - * Defines the condition on which the Group will be visible. - * - * @return the value of the 'Precondition Expression' attribute. - * @see #setPreconditionExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_PreconditionExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getPreconditionExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getPreconditionExpression Precondition Expression}' attribute. - * - * - * @param value the new value of the 'Precondition Expression' attribute. - * @see #getPreconditionExpression() - * @generated - */ - void setPreconditionExpression(String value); - - /** - * Returns the value of the 'User Defined Variables' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.UserDefinedVariable}. - * - * - * - * Contains the variables defined by the end user. - * - * @return the value of the 'User Defined Variables' containment reference list. - * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_UserDefinedVariables() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getUserDefinedVariables(); - - /** - * Returns the value of the 'Label Expression' attribute. - * - * - * - * The label of the Group visible by the end users. If not specified, the Group is not drawn only its contained widgets are shown, else it is visible as a section. - * + * Returns the value of the 'Label Expression' attribute. The label of the Group visible by the end users. If not specified, the Group is not + * drawn only its contained widgets are shown, else it is visible as a section. + * * @return the value of the 'Label Expression' attribute. * @see #setLabelExpression(String) * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_LabelExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" + * @model * @generated */ String getLabelExpression(); /** - * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getLabelExpression Label Expression}' attribute. - * - * - * @param value the new value of the 'Label Expression' attribute. + * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getLabelExpression Label Expression}' + * attribute. + * + * @param value + * the new value of the 'Label Expression' attribute. * @see #getLabelExpression() * @generated */ void setLabelExpression(String value); /** - * Returns the value of the 'Domain Class' attribute. - * - * - * - * Defines the context in which the Group is used. - * - * @return the value of the 'Domain Class' attribute. - * @see #setDomainClass(String) - * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_DomainClass() - * @model dataType="org.eclipse.eef.TypeName" - * @generated - */ - String getDomainClass(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getDomainClass Domain Class}' attribute. - * - * - * @param value the new value of the 'Domain Class' attribute. - * @see #getDomainClass() - * @generated - */ - void setDomainClass(String value); - - /** - * Returns the value of the 'Semantic Candidate Expression' attribute. - * - * - * - * The elements that are represented. If not specified, the EEF runtime reuses the context of the Page for the Group. - * + * Returns the value of the 'Semantic Candidate Expression' attribute. The elements that are represented. If not specified, the EEF runtime + * reuses the context of the Page for the Group. + * * @return the value of the 'Semantic Candidate Expression' attribute. * @see #setSemanticCandidateExpression(String) * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_SemanticCandidateExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" + * @model * @generated */ String getSemanticCandidateExpression(); /** - * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression Semantic Candidate Expression}' attribute. - * - * - * @param value the new value of the 'Semantic Candidate Expression' attribute. + * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression + * Semantic Candidate Expression}' attribute. + * + * @param value + * the new value of the 'Semantic Candidate Expression' attribute. * @see #getSemanticCandidateExpression() * @generated */ void setSemanticCandidateExpression(String value); /** - * Returns the value of the 'Container' containment reference. - * - * - * - * Contains the container related to a group. - * + * Returns the value of the 'Container' containment reference. Contains the container related to a group. + * * @return the value of the 'Container' containment reference. * @see #setContainer(EEFContainerDescription) * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_Container() @@ -200,88 +114,14 @@ public interface EEFGroupDescription extends EObject { EEFContainerDescription getContainer(); /** - * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getContainer Container}' containment reference. - * - * - * @param value the new value of the 'Container' containment reference. + * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getContainer Container}' containment + * reference. + * + * @param value + * the new value of the 'Container' containment reference. * @see #getContainer() * @generated */ void setContainer(EEFContainerDescription value); - /** - * Returns the value of the 'Collapsible Expression' attribute. - * - * - * - * Defines if a group is collapsible or not. - * - * @return the value of the 'Collapsible Expression' attribute. - * @see #setCollapsibleExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_CollapsibleExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getCollapsibleExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getCollapsibleExpression Collapsible Expression}' attribute. - * - * - * @param value the new value of the 'Collapsible Expression' attribute. - * @see #getCollapsibleExpression() - * @generated - */ - void setCollapsibleExpression(String value); - - /** - * Returns the value of the 'Collapsed By Default Expression' attribute. - * - * - * - * Defines if a collapsible group must be collapsed by default or not. - * - * @return the value of the 'Collapsed By Default Expression' attribute. - * @see #setCollapsedByDefaultExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_CollapsedByDefaultExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getCollapsedByDefaultExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getCollapsedByDefaultExpression Collapsed By Default Expression}' attribute. - * - * - * @param value the new value of the 'Collapsed By Default Expression' attribute. - * @see #getCollapsedByDefaultExpression() - * @generated - */ - void setCollapsedByDefaultExpression(String value); - - /** - * Returns the value of the 'Validation' containment reference. - * - * - * - * Contains the validation rule of the Group. - * - * @return the value of the 'Validation' containment reference. - * @see #setValidation(EEFValidation) - * @see org.eclipse.eef.EefPackage#getEEFGroupDescription_Validation() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFValidation getValidation(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFGroupDescription#getValidation Validation}' containment reference. - * - * - * @param value the new value of the 'Validation' containment reference. - * @see #getValidation() - * @generated - */ - void setValidation(EEFValidation value); - } // EEFGroupDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyle.java deleted file mode 100644 index 05028c67a..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyle.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Group Style'. - * - * - * - * Represents a style that can be applied on group widgets. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFGroupStyle#getForegroundColorExpression Foreground Color Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFGroupStyle() - * @model - * @generated - */ -public interface EEFGroupStyle extends EEFStyle { - /** - * Returns the value of the 'Foreground Color Expression' attribute. - * - * - * - * Defines the foreground color of the group label. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Foreground Color Expression' attribute. - * @see #setForegroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFGroupStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getForegroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFGroupStyle#getForegroundColorExpression Foreground Color Expression}' attribute. - * - * - * @param value the new value of the 'Foreground Color Expression' attribute. - * @see #getForegroundColorExpression() - * @generated - */ - void setForegroundColorExpression(String value); - -} // EEFGroupStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyleCustomization.java deleted file mode 100644 index 12aa418fd..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFGroupStyleCustomization.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Group Style Customization'. - * - * - * - * Represents a style customization applied on a group. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFGroupStyleCustomization#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFGroupStyleCustomization() - * @model - * @generated - */ -public interface EEFGroupStyleCustomization extends EEFStyleCustomization { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFGroupStyle) - * @see org.eclipse.eef.EefPackage#getEEFGroupStyleCustomization_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFGroupStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFGroupStyleCustomization#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFGroupStyle value); - -} // EEFGroupStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImageDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImageDescription.java deleted file mode 100644 index 1a698f74c..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImageDescription.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Image Description'. - * - * - * - * Represents an image in the user interface. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFImageDescription#getValueExpression Value Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFImageDescription() - * @model - * @generated - */ -public interface EEFImageDescription extends EEFCellWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * URI of the image to display. The URI requires a scheme and is considered by the EEF runtime as an EMF URI. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFImageDescription_ValueExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFImageDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - -} // EEFImageDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImagePickerDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImagePickerDescription.java deleted file mode 100644 index d88eae6e1..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFImagePickerDescription.java +++ /dev/null @@ -1,109 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Image Picker Description'. - * - * - * - * Represents an image and a way for the end-user to modify it. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFImagePickerDescription#getValueExpression Value Expression}
                • - *
                • {@link org.eclipse.eef.EEFImagePickerDescription#getEditExpression Edit Expression}
                • - *
                • {@link org.eclipse.eef.EEFImagePickerDescription#getCandidatesExpression Candidates Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFImagePickerDescription() - * @model - * @generated - */ -public interface EEFImagePickerDescription extends EEFWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * URI of the image to display. The URI requires a scheme and is considered by the EEF runtime as an EMF URI. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFImagePickerDescription_ValueExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFImagePickerDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - - /** - * Returns the value of the 'Edit Expression' attribute. - * - * - * - * Defines the behavior executed when the end-user updates the value of the image. - * - * @return the value of the 'Edit Expression' attribute. - * @see #setEditExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFImagePickerDescription_EditExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getEditExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFImagePickerDescription#getEditExpression Edit Expression}' attribute. - * - * - * @param value the new value of the 'Edit Expression' attribute. - * @see #getEditExpression() - * @generated - */ - void setEditExpression(String value); - - /** - * Returns the value of the 'Candidates Expression' attribute. - * - * - * - * List of URIs to compute the selectable images. - * - * @return the value of the 'Candidates Expression' attribute. - * @see #setCandidatesExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFImagePickerDescription_CandidatesExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getCandidatesExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFImagePickerDescription#getCandidatesExpression Candidates Expression}' attribute. - * - * - * @param value the new value of the 'Candidates Expression' attribute. - * @see #getCandidatesExpression() - * @generated - */ - void setCandidatesExpression(String value); - -} // EEFImagePickerDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTableStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTableStructureDescription.java deleted file mode 100644 index 74212058f..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTableStructureDescription.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'EEF Interpreted Table Structure Description'. - * - * - * - * Defines the structure of a Table based on expressions and variables interpreted by the EEF runtime. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFInterpretedTableStructureDescription#getColumns Columns}
                • - *
                • {@link org.eclipse.eef.EEFInterpretedTableStructureDescription#getLine Line}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFInterpretedTableStructureDescription() - * @model - * @generated - */ -public interface EEFInterpretedTableStructureDescription extends EEFTableStructureDescription { - /** - * Returns the value of the 'Columns' containment reference list. - * The list contents are of type {@link org.eclipse.eef.EEFColumnDescription}. - * - * - * - * References the table columns. - * - * @return the value of the 'Columns' containment reference list. - * @see org.eclipse.eef.EefPackage#getEEFInterpretedTableStructureDescription_Columns() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getColumns(); - - /** - * Returns the value of the 'Line' containment reference. - * - * - * - * References the table lines. - * - * @return the value of the 'Line' containment reference. - * @see #setLine(EEFLineDescription) - * @see org.eclipse.eef.EefPackage#getEEFInterpretedTableStructureDescription_Line() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFLineDescription getLine(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription#getLine Line}' containment reference. - * - * - * @param value the new value of the 'Line' containment reference. - * @see #getLine() - * @generated - */ - void setLine(EEFLineDescription value); - -} // EEFInterpretedTableStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTreeStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTreeStructureDescription.java deleted file mode 100644 index 77a11a35e..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFInterpretedTreeStructureDescription.java +++ /dev/null @@ -1,135 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Interpreted Tree Structure Description'. - * - * - * - * Defines the structure of a Tree based on expressions and variables interpreted by the EEF runtime. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getRootsExpression Roots Expression}
                • - *
                • {@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression Children Expression}
                • - *
                • {@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression Selectable Predicate Expression}
                • - *
                • {@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression Candidate Display Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFInterpretedTreeStructureDescription() - * @model - * @generated - */ -public interface EEFInterpretedTreeStructureDescription extends EEFTreeStructureDescription { - /** - * Returns the value of the 'Roots Expression' attribute. - * - * - * - * Defines the collection of elements that could be roots of the Tree. - * - * @return the value of the 'Roots Expression' attribute. - * @see #setRootsExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFInterpretedTreeStructureDescription_RootsExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getRootsExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getRootsExpression Roots Expression}' attribute. - * - * - * @param value the new value of the 'Roots Expression' attribute. - * @see #getRootsExpression() - * @generated - */ - void setRootsExpression(String value); - - /** - * Returns the value of the 'Children Expression' attribute. - * - * - * - * Defines how to compute the children. - * - * @return the value of the 'Children Expression' attribute. - * @see #setChildrenExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFInterpretedTreeStructureDescription_ChildrenExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getChildrenExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression Children Expression}' attribute. - * - * - * @param value the new value of the 'Children Expression' attribute. - * @see #getChildrenExpression() - * @generated - */ - void setChildrenExpression(String value); - - /** - * Returns the value of the 'Selectable Predicate Expression' attribute. - * - * - * - * Defines the elements of the Tree that can be selected. - * - * @return the value of the 'Selectable Predicate Expression' attribute. - * @see #setSelectablePredicateExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getSelectablePredicateExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression Selectable Predicate Expression}' attribute. - * - * - * @param value the new value of the 'Selectable Predicate Expression' attribute. - * @see #getSelectablePredicateExpression() - * @generated - */ - void setSelectablePredicateExpression(String value); - - /** - * Returns the value of the 'Candidate Display Expression' attribute. - * - * - * - * Indicates how to display the input value. - * - * @return the value of the 'Candidate Display Expression' attribute. - * @see #setCandidateDisplayExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getCandidateDisplayExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression Candidate Display Expression}' attribute. - * - * - * @param value the new value of the 'Candidate Display Expression' attribute. - * @see #getCandidateDisplayExpression() - * @generated - */ - void setCandidateDisplayExpression(String value); - -} // EEFInterpretedTreeStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFJavaExtensionDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFJavaExtensionDescription.java deleted file mode 100644 index 444a67c93..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFJavaExtensionDescription.java +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Java Extension Description'. - * - * - * - * Contributes the referenced Java class as a service for the EEF runtime interpreters. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFJavaExtensionDescription#getQualifiedName Qualified Name}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFJavaExtensionDescription() - * @model - * @generated - */ -public interface EEFJavaExtensionDescription extends EObject { - /** - * Returns the value of the 'Qualified Name' attribute. - * - * - * - * The qualified name of the Java class to reference. - * - * @return the value of the 'Qualified Name' attribute. - * @see #setQualifiedName(String) - * @see org.eclipse.eef.EefPackage#getEEFJavaExtensionDescription_QualifiedName() - * @model - * @generated - */ - String getQualifiedName(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFJavaExtensionDescription#getQualifiedName Qualified Name}' attribute. - * - * - * @param value the new value of the 'Qualified Name' attribute. - * @see #getQualifiedName() - * @generated - */ - void setQualifiedName(String value); - -} // EEFJavaExtensionDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelConditionalStyle.java deleted file mode 100644 index 85578688f..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelConditionalStyle.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Label Conditional Style'. - * - * - * - * Represents a conditional style for a label widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFLabelConditionalStyle#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFLabelConditionalStyle() - * @model - * @generated - */ -public interface EEFLabelConditionalStyle extends EEFConditionalStyle { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFLabelStyle) - * @see org.eclipse.eef.EefPackage#getEEFLabelConditionalStyle_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFLabelStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLabelConditionalStyle#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFLabelStyle value); - -} // EEFLabelConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelDescription.java deleted file mode 100644 index aa14f1088..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelDescription.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Label Description'. - * - * - * - * Represents a label in the user interface. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFLabelDescription#getValueExpression Value Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFLabelDescription() - * @model - * @generated - */ -public interface EEFLabelDescription extends EEFCellWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * Indicates how to display the input value. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFLabelDescription_ValueExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLabelDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - -} // EEFLabelDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyle.java deleted file mode 100644 index 7957e6b9b..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyle.java +++ /dev/null @@ -1,83 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Label Style'. - * - * - * - * Represents a style that can be applied on label widgets. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFLabelStyle#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.EEFLabelStyle#getForegroundColorExpression Foreground Color Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFLabelStyle() - * @model - * @generated - */ -public interface EEFLabelStyle extends EEFStyle { - /** - * Returns the value of the 'Background Color Expression' attribute. - * - * - * - * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Background Color Expression' attribute. - * @see #setBackgroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFLabelStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getBackgroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLabelStyle#getBackgroundColorExpression Background Color Expression}' attribute. - * - * - * @param value the new value of the 'Background Color Expression' attribute. - * @see #getBackgroundColorExpression() - * @generated - */ - void setBackgroundColorExpression(String value); - - /** - * Returns the value of the 'Foreground Color Expression' attribute. - * - * - * - * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Foreground Color Expression' attribute. - * @see #setForegroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFLabelStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getForegroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLabelStyle#getForegroundColorExpression Foreground Color Expression}' attribute. - * - * - * @param value the new value of the 'Foreground Color Expression' attribute. - * @see #getForegroundColorExpression() - * @generated - */ - void setForegroundColorExpression(String value); - -} // EEFLabelStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyleCustomization.java deleted file mode 100644 index 77c62484f..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLabelStyleCustomization.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Label Style Customization'. - * - * - * - * Represents a style customization applied on a label widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFLabelStyleCustomization#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFLabelStyleCustomization() - * @model - * @generated - */ -public interface EEFLabelStyleCustomization extends EEFStyleCustomization { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFLabelStyle) - * @see org.eclipse.eef.EefPackage#getEEFLabelStyleCustomization_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFLabelStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLabelStyleCustomization#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFLabelStyle value); - -} // EEFLabelStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineConditionalStyle.java deleted file mode 100644 index f631605b6..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineConditionalStyle.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Line Conditional Style'. - * - * - * - * Represents a conditional style for a line widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFLineConditionalStyle#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFLineConditionalStyle() - * @model - * @generated - */ -public interface EEFLineConditionalStyle extends EEFConditionalStyle { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFLineStyle) - * @see org.eclipse.eef.EefPackage#getEEFLineConditionalStyle_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFLineStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLineConditionalStyle#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFLineStyle value); - -} // EEFLineConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineDescription.java deleted file mode 100644 index b31cc0a7f..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineDescription.java +++ /dev/null @@ -1,129 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Line Description'. - * - * - * - * Represents a Line in a Table in the user interface. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFLineDescription#getHeaderExpression Header Expression}
                • - *
                • {@link org.eclipse.eef.EEFLineDescription#getSemanticCandidatesExpression Semantic Candidates Expression}
                • - *
                • {@link org.eclipse.eef.EEFLineDescription#getDomainClass Domain Class}
                • - *
                • {@link org.eclipse.eef.EEFLineDescription#getSubLines Sub Lines}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFLineDescription() - * @model - * @generated - */ -public interface EEFLineDescription extends EObject { - /** - * Returns the value of the 'Header Expression' attribute. - * - * - * - * Indicates how to display the line table header. If not set, the default column will not be visible. - * - * @return the value of the 'Header Expression' attribute. - * @see #setHeaderExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFLineDescription_HeaderExpression() - * @model - * @generated - */ - String getHeaderExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLineDescription#getHeaderExpression Header Expression}' attribute. - * - * - * @param value the new value of the 'Header Expression' attribute. - * @see #getHeaderExpression() - * @generated - */ - void setHeaderExpression(String value); - - /** - * Returns the value of the 'Semantic Candidates Expression' attribute. - * - * - * - * The elements that are represented. - * - * @return the value of the 'Semantic Candidates Expression' attribute. - * @see #setSemanticCandidatesExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFLineDescription_SemanticCandidatesExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getSemanticCandidatesExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLineDescription#getSemanticCandidatesExpression Semantic Candidates Expression}' attribute. - * - * - * @param value the new value of the 'Semantic Candidates Expression' attribute. - * @see #getSemanticCandidatesExpression() - * @generated - */ - void setSemanticCandidatesExpression(String value); - - /** - * Returns the value of the 'Domain Class' attribute. - * - * - * - * Defines the context in which the Line is used. - * - * @return the value of the 'Domain Class' attribute. - * @see #setDomainClass(String) - * @see org.eclipse.eef.EefPackage#getEEFLineDescription_DomainClass() - * @model dataType="org.eclipse.eef.TypeName" - * @generated - */ - String getDomainClass(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLineDescription#getDomainClass Domain Class}' attribute. - * - * - * @param value the new value of the 'Domain Class' attribute. - * @see #getDomainClass() - * @generated - */ - void setDomainClass(String value); - - /** - * Returns the value of the 'Sub Lines' containment reference list. - * The list contents are of type {@link org.eclipse.eef.EEFLineDescription}. - * - * - * - * References lines that will be represented as sub lines in the table, this allows to get a kind of tree inside a table. - * - * @return the value of the 'Sub Lines' containment reference list. - * @see org.eclipse.eef.EefPackage#getEEFLineDescription_SubLines() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getSubLines(); - -} // EEFLineDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyle.java deleted file mode 100644 index 2c95288e7..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyle.java +++ /dev/null @@ -1,135 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Line Style'. - * - * - * - * Represents a style that can be applied on line widgets. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFLineStyle#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.EEFLineStyle#getForegroundColorExpression Foreground Color Expression}
                • - *
                • {@link org.eclipse.eef.EEFLineStyle#getHeaderBackgroundColorExpression Header Background Color Expression}
                • - *
                • {@link org.eclipse.eef.EEFLineStyle#getHeaderForegroundColorExpression Header Foreground Color Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFLineStyle() - * @model - * @generated - */ -public interface EEFLineStyle extends EEFStyle { - /** - * Returns the value of the 'Background Color Expression' attribute. - * - * - * - * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Background Color Expression' attribute. - * @see #setBackgroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFLineStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getBackgroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLineStyle#getBackgroundColorExpression Background Color Expression}' attribute. - * - * - * @param value the new value of the 'Background Color Expression' attribute. - * @see #getBackgroundColorExpression() - * @generated - */ - void setBackgroundColorExpression(String value); - - /** - * Returns the value of the 'Foreground Color Expression' attribute. - * - * - * - * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Foreground Color Expression' attribute. - * @see #setForegroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFLineStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getForegroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLineStyle#getForegroundColorExpression Foreground Color Expression}' attribute. - * - * - * @param value the new value of the 'Foreground Color Expression' attribute. - * @see #getForegroundColorExpression() - * @generated - */ - void setForegroundColorExpression(String value); - - /** - * Returns the value of the 'Header Background Color Expression' attribute. - * - * - * - * Defines the header background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Header Background Color Expression' attribute. - * @see #setHeaderBackgroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFLineStyle_HeaderBackgroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getHeaderBackgroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLineStyle#getHeaderBackgroundColorExpression Header Background Color Expression}' attribute. - * - * - * @param value the new value of the 'Header Background Color Expression' attribute. - * @see #getHeaderBackgroundColorExpression() - * @generated - */ - void setHeaderBackgroundColorExpression(String value); - - /** - * Returns the value of the 'Header Foreground Color Expression' attribute. - * - * - * - * Defines the header foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Header Foreground Color Expression' attribute. - * @see #setHeaderForegroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFLineStyle_HeaderForegroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getHeaderForegroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLineStyle#getHeaderForegroundColorExpression Header Foreground Color Expression}' attribute. - * - * - * @param value the new value of the 'Header Foreground Color Expression' attribute. - * @see #getHeaderForegroundColorExpression() - * @generated - */ - void setHeaderForegroundColorExpression(String value); - -} // EEFLineStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyleCustomization.java deleted file mode 100644 index f0ec86a9a..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLineStyleCustomization.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Line Style Customization'. - * - * - * - * Represents a style customization applied on a line widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFLineStyleCustomization#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFLineStyleCustomization() - * @model - * @generated - */ -public interface EEFLineStyleCustomization extends EEFStyleCustomization { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFLineStyle) - * @see org.eclipse.eef.EefPackage#getEEFLineStyleCustomization_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFLineStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLineStyleCustomization#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFLineStyle value); - -} // EEFLineStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkConditionalStyle.java deleted file mode 100644 index 5f28c6e48..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkConditionalStyle.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Link Conditional Style'. - * - * - * - * Represents a conditional style for a link widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFLinkConditionalStyle#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFLinkConditionalStyle() - * @model - * @generated - */ -public interface EEFLinkConditionalStyle extends EEFConditionalStyle { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFLinkStyle) - * @see org.eclipse.eef.EefPackage#getEEFLinkConditionalStyle_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFLinkStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLinkConditionalStyle#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFLinkStyle value); - -} // EEFLinkConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkDescription.java deleted file mode 100644 index d2e044c4f..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkDescription.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Link Description'. - * - * - * - * Represents an hyperlink in the user interface. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFLinkDescription#getOnClickExpression On Click Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFLinkDescription() - * @model - * @generated - */ -public interface EEFLinkDescription extends EEFCellWidgetDescription { - /** - * Returns the value of the 'On Click Expression' attribute. - * - * - * - * Defines the behavior executed when the link is clicked. - * - * @return the value of the 'On Click Expression' attribute. - * @see #setOnClickExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFLinkDescription_OnClickExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getOnClickExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLinkDescription#getOnClickExpression On Click Expression}' attribute. - * - * - * @param value the new value of the 'On Click Expression' attribute. - * @see #getOnClickExpression() - * @generated - */ - void setOnClickExpression(String value); - -} // EEFLinkDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyle.java deleted file mode 100644 index cffa1cb70..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyle.java +++ /dev/null @@ -1,109 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Link Style'. - * - * - * - * Represents a style that can be applied on link widgets. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFLinkStyle#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.EEFLinkStyle#getForegroundColorExpression Foreground Color Expression}
                • - *
                • {@link org.eclipse.eef.EEFLinkStyle#getBackgroundImageExpression Background Image Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFLinkStyle() - * @model - * @generated - */ -public interface EEFLinkStyle extends EEFStyle { - /** - * Returns the value of the 'Background Color Expression' attribute. - * - * - * - * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Background Color Expression' attribute. - * @see #setBackgroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFLinkStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getBackgroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLinkStyle#getBackgroundColorExpression Background Color Expression}' attribute. - * - * - * @param value the new value of the 'Background Color Expression' attribute. - * @see #getBackgroundColorExpression() - * @generated - */ - void setBackgroundColorExpression(String value); - - /** - * Returns the value of the 'Foreground Color Expression' attribute. - * - * - * - * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Foreground Color Expression' attribute. - * @see #setForegroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFLinkStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getForegroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLinkStyle#getForegroundColorExpression Foreground Color Expression}' attribute. - * - * - * @param value the new value of the 'Foreground Color Expression' attribute. - * @see #getForegroundColorExpression() - * @generated - */ - void setForegroundColorExpression(String value); - - /** - * Returns the value of the 'Background Image Expression' attribute. - * - * - * - * Defines the background image. It must be define as an URI. If the background image is not define then only text is represented else if the value expression of a link is not set and there is a background image defined then eef runtime shows only an image, else it shows text and image. - * - * @return the value of the 'Background Image Expression' attribute. - * @see #setBackgroundImageExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFLinkStyle_BackgroundImageExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getBackgroundImageExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLinkStyle#getBackgroundImageExpression Background Image Expression}' attribute. - * - * - * @param value the new value of the 'Background Image Expression' attribute. - * @see #getBackgroundImageExpression() - * @generated - */ - void setBackgroundImageExpression(String value); - -} // EEFLinkStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyleCustomization.java deleted file mode 100644 index bcdb5721e..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFLinkStyleCustomization.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Link Style Customization'. - * - * - * - * Represents a style customization applied on a link widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFLinkStyleCustomization#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFLinkStyleCustomization() - * @model - * @generated - */ -public interface EEFLinkStyleCustomization extends EEFStyleCustomization { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFLinkStyle) - * @see org.eclipse.eef.EefPackage#getEEFLinkStyleCustomization_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFLinkStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFLinkStyleCustomization#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFLinkStyle value); - -} // EEFLinkStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFPageDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFPageDescription.java index 5dd69f45a..36deae270 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFPageDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFPageDescription.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -9,32 +9,21 @@ package org.eclipse.eef; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; -import org.eclipse.sirius.expression.UserDefinedVariable; - /** - * - * A representation of the model object 'EEF Page Description'. - * - * - * - * A Page is a tab represented in a View. - * + * A representation of the model object 'EEF Page Description'. * *

                * The following features are supported: *

                *
                  - *
                • {@link org.eclipse.eef.EEFPageDescription#getIdentifier Identifier}
                • - *
                • {@link org.eclipse.eef.EEFPageDescription#getPreconditionExpression Precondition Expression}
                • - *
                • {@link org.eclipse.eef.EEFPageDescription#getUserDefinedVariables User Defined Variables}
                • - *
                • {@link org.eclipse.eef.EEFPageDescription#getLabelExpression Label Expression}
                • - *
                • {@link org.eclipse.eef.EEFPageDescription#getDomainClass Domain Class}
                • - *
                • {@link org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression}
                • - *
                • {@link org.eclipse.eef.EEFPageDescription#getGroups Groups}
                • - *
                • {@link org.eclipse.eef.EEFPageDescription#getExtendedPage Extended Page}
                • + *
                • {@link org.eclipse.eef.EEFPageDescription#getIdentifier Identifier}
                • + *
                • {@link org.eclipse.eef.EEFPageDescription#getLabelExpression Label Expression}
                • + *
                • {@link org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression} + *
                • + *
                • {@link org.eclipse.eef.EEFPageDescription#getGroups Groups}
                • *
                * * @see org.eclipse.eef.EefPackage#getEEFPageDescription() @@ -43,12 +32,9 @@ import org.eclipse.sirius.expression.UserDefinedVariable; */ public interface EEFPageDescription extends EObject { /** - * Returns the value of the 'Identifier' attribute. - * - * - * - * Used to identify a specific Page instance. - * + * Returns the value of the 'Identifier' attribute. + * Used to identify a specific Page instance. + * * @return the value of the 'Identifier' attribute. * @see #setIdentifier(String) * @see org.eclipse.eef.EefPackage#getEEFPageDescription_Identifier() @@ -59,138 +45,71 @@ public interface EEFPageDescription extends EObject { /** * Sets the value of the '{@link org.eclipse.eef.EEFPageDescription#getIdentifier Identifier}' attribute. - * - * - * @param value the new value of the 'Identifier' attribute. + * + * + * @param value + * the new value of the 'Identifier' attribute. * @see #getIdentifier() * @generated */ void setIdentifier(String value); /** - * Returns the value of the 'Precondition Expression' attribute. - * - * - * - * Defines the condition on which the Page will be visible. - * - * @return the value of the 'Precondition Expression' attribute. - * @see #setPreconditionExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFPageDescription_PreconditionExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getPreconditionExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFPageDescription#getPreconditionExpression Precondition Expression}' attribute. - * - * - * @param value the new value of the 'Precondition Expression' attribute. - * @see #getPreconditionExpression() - * @generated - */ - void setPreconditionExpression(String value); - - /** - * Returns the value of the 'User Defined Variables' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.UserDefinedVariable}. - * - * - * - * Contains the variables defined by the end user. - * - * @return the value of the 'User Defined Variables' containment reference list. - * @see org.eclipse.eef.EefPackage#getEEFPageDescription_UserDefinedVariables() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getUserDefinedVariables(); - - /** - * Returns the value of the 'Label Expression' attribute. - * - * - * - * The label of the Page visible by the end-users. - * + * Returns the value of the 'Label Expression' attribute. The label of the Page visible by the end-users. + * * @return the value of the 'Label Expression' attribute. * @see #setLabelExpression(String) * @see org.eclipse.eef.EefPackage#getEEFPageDescription_LabelExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" + * @model * @generated */ String getLabelExpression(); /** - * Sets the value of the '{@link org.eclipse.eef.EEFPageDescription#getLabelExpression Label Expression}' attribute. - * - * - * @param value the new value of the 'Label Expression' attribute. + * Sets the value of the '{@link org.eclipse.eef.EEFPageDescription#getLabelExpression Label Expression}' + * attribute. + * + * @param value + * the new value of the 'Label Expression' attribute. * @see #getLabelExpression() * @generated */ void setLabelExpression(String value); /** - * Returns the value of the 'Domain Class' attribute. - * - * - * - * Defines the context of the Page. - * - * @return the value of the 'Domain Class' attribute. - * @see #setDomainClass(String) - * @see org.eclipse.eef.EefPackage#getEEFPageDescription_DomainClass() - * @model dataType="org.eclipse.eef.TypeName" - * @generated - */ - String getDomainClass(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFPageDescription#getDomainClass Domain Class}' attribute. - * - * - * @param value the new value of the 'Domain Class' attribute. - * @see #getDomainClass() - * @generated - */ - void setDomainClass(String value); - - /** - * Returns the value of the 'Semantic Candidate Expression' attribute. - * The default value is "". - * - * - * - * The elements that are represented. If not specified, the EEF runtime reuses the context of the View for the Page. - * + * Returns the value of the 'Semantic Candidate Expression' attribute. The default value is + * "". The elements that are + * represented. If not specified, the EEF runtime reuses the context of the View for the Page. + * * @return the value of the 'Semantic Candidate Expression' attribute. * @see #setSemanticCandidateExpression(String) * @see org.eclipse.eef.EefPackage#getEEFPageDescription_SemanticCandidateExpression() - * @model default="" dataType="org.eclipse.sirius.expression.Expression" + * @model default="" * @generated */ String getSemanticCandidateExpression(); /** - * Sets the value of the '{@link org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression}' attribute. - * - * - * @param value the new value of the 'Semantic Candidate Expression' attribute. + * Sets the value of the '{@link org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression + * Semantic Candidate Expression}' attribute. + * + * @param value + * the new value of the 'Semantic Candidate Expression' attribute. * @see #getSemanticCandidateExpression() * @generated */ void setSemanticCandidateExpression(String value); /** - * Returns the value of the 'Groups' reference list. - * The list contents are of type {@link org.eclipse.eef.EEFGroupDescription}. - * - * - * - * References the Groups which are visible in a Page. If not specified, the EEF runtime looks for all the Groups defined under the View containing the Page that have a domainClass which is equal or a super class of the domainClass of the Page and use them following the order of the inheritance tree of the EObject. - * + * Returns the value of the 'Groups' reference list. The list contents are of type + * {@link org.eclipse.eef.EEFGroupDescription}. References the Groups which are visible in a Page. If not specified, the EEF runtime looks for all the Groups + * defined under the View containing the Page that have a domainClass which is equal or a super class of the + * domainClass of the Page and use them following the order of the inheritance tree of the EObject. + * * @return the value of the 'Groups' reference list. * @see org.eclipse.eef.EefPackage#getEEFPageDescription_Groups() * @model @@ -198,29 +117,4 @@ public interface EEFPageDescription extends EObject { */ EList getGroups(); - /** - * Returns the value of the 'Extended Page' reference. - * - * - * - * References existing pages in order to extend their contents by adding/hiding groups and widgets. - * - * @return the value of the 'Extended Page' reference. - * @see #setExtendedPage(EEFPageDescription) - * @see org.eclipse.eef.EefPackage#getEEFPageDescription_ExtendedPage() - * @model - * @generated - */ - EEFPageDescription getExtendedPage(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFPageDescription#getExtendedPage Extended Page}' reference. - * - * - * @param value the new value of the 'Extended Page' reference. - * @see #getExtendedPage() - * @generated - */ - void setExtendedPage(EEFPageDescription value); - } // EEFPageDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFQuickFix.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFQuickFix.java deleted file mode 100644 index 07894e0c2..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFQuickFix.java +++ /dev/null @@ -1,137 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Quick Fix'. - * - * - * - * Represents a quickfix. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFQuickFix#getTitleExpression Title Expression}
                • - *
                • {@link org.eclipse.eef.EEFQuickFix#getMessageExpression Message Expression}
                • - *
                • {@link org.eclipse.eef.EEFQuickFix#getCanHandleStatusExpression Can Handle Status Expression}
                • - *
                • {@link org.eclipse.eef.EEFQuickFix#getFixExpression Fix Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFQuickFix() - * @model - * @generated - */ -public interface EEFQuickFix extends EObject { - /** - * Returns the value of the 'Title Expression' attribute. - * - * - * - * Defines the quickfix title. - * - * @return the value of the 'Title Expression' attribute. - * @see #setTitleExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFQuickFix_TitleExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getTitleExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFQuickFix#getTitleExpression Title Expression}' attribute. - * - * - * @param value the new value of the 'Title Expression' attribute. - * @see #getTitleExpression() - * @generated - */ - void setTitleExpression(String value); - - /** - * Returns the value of the 'Message Expression' attribute. - * - * - * - * Defines the quickfix message. - * - * @return the value of the 'Message Expression' attribute. - * @see #setMessageExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFQuickFix_MessageExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getMessageExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFQuickFix#getMessageExpression Message Expression}' attribute. - * - * - * @param value the new value of the 'Message Expression' attribute. - * @see #getMessageExpression() - * @generated - */ - void setMessageExpression(String value); - - /** - * Returns the value of the 'Can Handle Status Expression' attribute. - * - * - * - * Defines if a quickfix can be applied. - * - * @return the value of the 'Can Handle Status Expression' attribute. - * @see #setCanHandleStatusExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFQuickFix_CanHandleStatusExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getCanHandleStatusExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFQuickFix#getCanHandleStatusExpression Can Handle Status Expression}' attribute. - * - * - * @param value the new value of the 'Can Handle Status Expression' attribute. - * @see #getCanHandleStatusExpression() - * @generated - */ - void setCanHandleStatusExpression(String value); - - /** - * Returns the value of the 'Fix Expression' attribute. - * - * - * - * Defines the behavior that will be executed when the quick fix is applied. - * - * @return the value of the 'Fix Expression' attribute. - * @see #setFixExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFQuickFix_FixExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getFixExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFQuickFix#getFixExpression Fix Expression}' attribute. - * - * - * @param value the new value of the 'Fix Expression' attribute. - * @see #getFixExpression() - * @generated - */ - void setFixExpression(String value); - -} // EEFQuickFix diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioConditionalStyle.java deleted file mode 100644 index 18ccde1e2..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioConditionalStyle.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Radio Conditional Style'. - * - * - * - * Represents a conditional style for a radio widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFRadioConditionalStyle#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFRadioConditionalStyle() - * @model - * @generated - */ -public interface EEFRadioConditionalStyle extends EEFConditionalStyle { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFRadioStyle) - * @see org.eclipse.eef.EefPackage#getEEFRadioConditionalStyle_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFRadioStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFRadioConditionalStyle#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFRadioStyle value); - -} // EEFRadioConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioDescription.java deleted file mode 100644 index 8685a6e39..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioDescription.java +++ /dev/null @@ -1,135 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Radio Description'. - * - * - * - * Represents a radio button in the user interface. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFRadioDescription#getValueExpression Value Expression}
                • - *
                • {@link org.eclipse.eef.EEFRadioDescription#getEditExpression Edit Expression}
                • - *
                • {@link org.eclipse.eef.EEFRadioDescription#getCandidatesExpression Candidates Expression}
                • - *
                • {@link org.eclipse.eef.EEFRadioDescription#getCandidateDisplayExpression Candidate Display Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFRadioDescription() - * @model - * @generated - */ -public interface EEFRadioDescription extends EEFWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * The initial selected value of the radio. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFRadioDescription_ValueExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFRadioDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - - /** - * Returns the value of the 'Edit Expression' attribute. - * - * - * - * Defines the behavior executed when the end-user updates the value of the radio. - * - * @return the value of the 'Edit Expression' attribute. - * @see #setEditExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFRadioDescription_EditExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getEditExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFRadioDescription#getEditExpression Edit Expression}' attribute. - * - * - * @param value the new value of the 'Edit Expression' attribute. - * @see #getEditExpression() - * @generated - */ - void setEditExpression(String value); - - /** - * Returns the value of the 'Candidates Expression' attribute. - * - * - * - * Defines the various proposals available. - * - * @return the value of the 'Candidates Expression' attribute. - * @see #setCandidatesExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFRadioDescription_CandidatesExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getCandidatesExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFRadioDescription#getCandidatesExpression Candidates Expression}' attribute. - * - * - * @param value the new value of the 'Candidates Expression' attribute. - * @see #getCandidatesExpression() - * @generated - */ - void setCandidatesExpression(String value); - - /** - * Returns the value of the 'Candidate Display Expression' attribute. - * - * - * - * Indicates how to display the input value. - * - * @return the value of the 'Candidate Display Expression' attribute. - * @see #setCandidateDisplayExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFRadioDescription_CandidateDisplayExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getCandidateDisplayExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFRadioDescription#getCandidateDisplayExpression Candidate Display Expression}' attribute. - * - * - * @param value the new value of the 'Candidate Display Expression' attribute. - * @see #getCandidateDisplayExpression() - * @generated - */ - void setCandidateDisplayExpression(String value); - -} // EEFRadioDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyle.java deleted file mode 100644 index 85e78d30c..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyle.java +++ /dev/null @@ -1,83 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Radio Style'. - * - * - * - * Represents a style that can be applied on radio widgets. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFRadioStyle#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.EEFRadioStyle#getForegroundColorExpression Foreground Color Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFRadioStyle() - * @model - * @generated - */ -public interface EEFRadioStyle extends EEFStyle { - /** - * Returns the value of the 'Background Color Expression' attribute. - * - * - * - * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Background Color Expression' attribute. - * @see #setBackgroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFRadioStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getBackgroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFRadioStyle#getBackgroundColorExpression Background Color Expression}' attribute. - * - * - * @param value the new value of the 'Background Color Expression' attribute. - * @see #getBackgroundColorExpression() - * @generated - */ - void setBackgroundColorExpression(String value); - - /** - * Returns the value of the 'Foreground Color Expression' attribute. - * - * - * - * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Foreground Color Expression' attribute. - * @see #setForegroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFRadioStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getForegroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFRadioStyle#getForegroundColorExpression Foreground Color Expression}' attribute. - * - * - * @param value the new value of the 'Foreground Color Expression' attribute. - * @see #getForegroundColorExpression() - * @generated - */ - void setForegroundColorExpression(String value); - -} // EEFRadioStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyleCustomization.java deleted file mode 100644 index a95d1ddc8..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFRadioStyleCustomization.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Radio Style Customization'. - * - * - * - * Represents a style customization applied on a radio widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFRadioStyleCustomization#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFRadioStyleCustomization() - * @model - * @generated - */ -public interface EEFRadioStyleCustomization extends EEFStyleCustomization { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFRadioStyle) - * @see org.eclipse.eef.EefPackage#getEEFRadioStyleCustomization_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFRadioStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFRadioStyleCustomization#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFRadioStyle value); - -} // EEFRadioStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectConditionalStyle.java deleted file mode 100644 index 469546227..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectConditionalStyle.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Select Conditional Style'. - * - * - * - * Represents a conditional style for a combo widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFSelectConditionalStyle#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFSelectConditionalStyle() - * @model - * @generated - */ -public interface EEFSelectConditionalStyle extends EEFConditionalStyle { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFSelectStyle) - * @see org.eclipse.eef.EefPackage#getEEFSelectConditionalStyle_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFSelectStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFSelectConditionalStyle#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFSelectStyle value); - -} // EEFSelectConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectDescription.java deleted file mode 100644 index b58d857a7..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectDescription.java +++ /dev/null @@ -1,161 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Select Description'. - * - * - * - * Represents a collection of candidates used to edit a single or multi-valued property. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFSelectDescription#getValueExpression Value Expression}
                • - *
                • {@link org.eclipse.eef.EEFSelectDescription#getEditExpression Edit Expression}
                • - *
                • {@link org.eclipse.eef.EEFSelectDescription#getCandidatesExpression Candidates Expression}
                • - *
                • {@link org.eclipse.eef.EEFSelectDescription#isMultiple Multiple}
                • - *
                • {@link org.eclipse.eef.EEFSelectDescription#getCandidateDisplayExpression Candidate Display Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFSelectDescription() - * @model - * @generated - */ -public interface EEFSelectDescription extends EEFCellWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * The initial selected values of the radio. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFSelectDescription_ValueExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFSelectDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - - /** - * Returns the value of the 'Edit Expression' attribute. - * - * - * - * Defines the behavior executed when the end-user updates the value of the select. - * - * @return the value of the 'Edit Expression' attribute. - * @see #setEditExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFSelectDescription_EditExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getEditExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFSelectDescription#getEditExpression Edit Expression}' attribute. - * - * - * @param value the new value of the 'Edit Expression' attribute. - * @see #getEditExpression() - * @generated - */ - void setEditExpression(String value); - - /** - * Returns the value of the 'Candidates Expression' attribute. - * - * - * - * Defines the various proposals available. - * - * @return the value of the 'Candidates Expression' attribute. - * @see #setCandidatesExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFSelectDescription_CandidatesExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getCandidatesExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFSelectDescription#getCandidatesExpression Candidates Expression}' attribute. - * - * - * @param value the new value of the 'Candidates Expression' attribute. - * @see #getCandidatesExpression() - * @generated - */ - void setCandidatesExpression(String value); - - /** - * Returns the value of the 'Multiple' attribute. - * - * - * - * If set to true several values can be selected at same time otherwise one selection is possible. - * - * @return the value of the 'Multiple' attribute. - * @see #setMultiple(boolean) - * @see org.eclipse.eef.EefPackage#getEEFSelectDescription_Multiple() - * @model - * @generated - */ - boolean isMultiple(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFSelectDescription#isMultiple Multiple}' attribute. - * - * - * @param value the new value of the 'Multiple' attribute. - * @see #isMultiple() - * @generated - */ - void setMultiple(boolean value); - - /** - * Returns the value of the 'Candidate Display Expression' attribute. - * - * - * - * Indicates how to display the input value. - * - * @return the value of the 'Candidate Display Expression' attribute. - * @see #setCandidateDisplayExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFSelectDescription_CandidateDisplayExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getCandidateDisplayExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFSelectDescription#getCandidateDisplayExpression Candidate Display Expression}' attribute. - * - * - * @param value the new value of the 'Candidate Display Expression' attribute. - * @see #getCandidateDisplayExpression() - * @generated - */ - void setCandidateDisplayExpression(String value); - -} // EEFSelectDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyle.java deleted file mode 100644 index ebb04e0f0..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyle.java +++ /dev/null @@ -1,83 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Select Style'. - * - * - * - * Represents a style that can be applied on combo widgets. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFSelectStyle#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.EEFSelectStyle#getForegroundColorExpression Foreground Color Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFSelectStyle() - * @model - * @generated - */ -public interface EEFSelectStyle extends EEFStyle { - /** - * Returns the value of the 'Background Color Expression' attribute. - * - * - * - * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Background Color Expression' attribute. - * @see #setBackgroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFSelectStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getBackgroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFSelectStyle#getBackgroundColorExpression Background Color Expression}' attribute. - * - * - * @param value the new value of the 'Background Color Expression' attribute. - * @see #getBackgroundColorExpression() - * @generated - */ - void setBackgroundColorExpression(String value); - - /** - * Returns the value of the 'Foreground Color Expression' attribute. - * - * - * - * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Foreground Color Expression' attribute. - * @see #setForegroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFSelectStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getForegroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFSelectStyle#getForegroundColorExpression Foreground Color Expression}' attribute. - * - * - * @param value the new value of the 'Foreground Color Expression' attribute. - * @see #getForegroundColorExpression() - * @generated - */ - void setForegroundColorExpression(String value); - -} // EEFSelectStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyleCustomization.java deleted file mode 100644 index 3bb270c38..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFSelectStyleCustomization.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Select Style Customization'. - * - * - * - * Represents a style customization applied on a combo widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFSelectStyleCustomization#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFSelectStyleCustomization() - * @model - * @generated - */ -public interface EEFSelectStyleCustomization extends EEFStyleCustomization { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFSelectStyle) - * @see org.eclipse.eef.EefPackage#getEEFSelectStyleCustomization_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFSelectStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFSelectStyleCustomization#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFSelectStyle value); - -} // EEFSelectStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyle.java deleted file mode 100644 index a1f2134a7..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyle.java +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Style'. - * - * - * - * Represents a widget style. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFStyle#getFontExpression Font Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFStyle() - * @model abstract="true" - * @generated - */ -public interface EEFStyle extends EObject { - /** - * Returns the value of the 'Font Expression' attribute. - * - * - * - * Defines the widget font. - * - * @return the value of the 'Font Expression' attribute. - * @see #setFontExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFStyle_FontExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getFontExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFStyle#getFontExpression Font Expression}' attribute. - * - * - * @param value the new value of the 'Font Expression' attribute. - * @see #getFontExpression() - * @generated - */ - void setFontExpression(String value); - -} // EEFStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyleCustomization.java deleted file mode 100644 index d28b8f83c..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFStyleCustomization.java +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Style Customization'. - * - * - * - * Represents a style customization. - * - * - * - * @see org.eclipse.eef.EefPackage#getEEFStyleCustomization() - * @model abstract="true" - * @generated - */ -public interface EEFStyleCustomization extends EObject { -} // EEFStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableConditionalStyle.java deleted file mode 100644 index 4a4a69e64..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableConditionalStyle.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Table Conditional Style'. - * - * - * - * Represents a conditional style for a table widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFTableConditionalStyle#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFTableConditionalStyle() - * @model - * @generated - */ -public interface EEFTableConditionalStyle extends EEFConditionalStyle { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFTableStyle) - * @see org.eclipse.eef.EefPackage#getEEFTableConditionalStyle_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFTableStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTableConditionalStyle#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFTableStyle value); - -} // EEFTableConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableDescription.java deleted file mode 100644 index 2799b2254..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableDescription.java +++ /dev/null @@ -1,109 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Table Description'. - * - * - * - * Represents a Table in the user interface. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFTableDescription#getValueExpression Value Expression}
                • - *
                • {@link org.eclipse.eef.EEFTableDescription#getEditExpression Edit Expression}
                • - *
                • {@link org.eclipse.eef.EEFTableDescription#getTableStructure Table Structure}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFTableDescription() - * @model - * @generated - */ -public interface EEFTableDescription extends EEFWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * Indicates how to display the input values. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFTableDescription_ValueExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTableDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - - /** - * Returns the value of the 'Edit Expression' attribute. - * - * - * - * Defines the behavior executed when the end-user updates the table cell elements. - * - * @return the value of the 'Edit Expression' attribute. - * @see #setEditExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFTableDescription_EditExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getEditExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTableDescription#getEditExpression Edit Expression}' attribute. - * - * - * @param value the new value of the 'Edit Expression' attribute. - * @see #getEditExpression() - * @generated - */ - void setEditExpression(String value); - - /** - * Returns the value of the 'Table Structure' reference. - * - * - * - * References a table structure. - * - * @return the value of the 'Table Structure' reference. - * @see #setTableStructure(EEFTableStructureDescription) - * @see org.eclipse.eef.EefPackage#getEEFTableDescription_TableStructure() - * @model - * @generated - */ - EEFTableStructureDescription getTableStructure(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTableDescription#getTableStructure Table Structure}' reference. - * - * - * @param value the new value of the 'Table Structure' reference. - * @see #getTableStructure() - * @generated - */ - void setTableStructure(EEFTableStructureDescription value); - -} // EEFTableDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStructureDescription.java deleted file mode 100644 index fff9b7daf..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStructureDescription.java +++ /dev/null @@ -1,189 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Table Structure Description'. - * - * - * - * Describes a table as a set of elements related to an input. This description is reusable by Table widgets. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFTableStructureDescription#isMultiple Multiple}
                • - *
                • {@link org.eclipse.eef.EEFTableStructureDescription#getIdentifier Identifier}
                • - *
                • {@link org.eclipse.eef.EEFTableStructureDescription#getAddExpression Add Expression}
                • - *
                • {@link org.eclipse.eef.EEFTableStructureDescription#getRemoveExpression Remove Expression}
                • - *
                • {@link org.eclipse.eef.EEFTableStructureDescription#getUpExpression Up Expression}
                • - *
                • {@link org.eclipse.eef.EEFTableStructureDescription#getDownExpression Down Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFTableStructureDescription() - * @model abstract="true" - * @generated - */ -public interface EEFTableStructureDescription extends EObject { - /** - * Returns the value of the 'Multiple' attribute. - * - * - * - * If set to true several values can be selected at same time otherwise one selection is possible. - * - * @return the value of the 'Multiple' attribute. - * @see #setMultiple(boolean) - * @see org.eclipse.eef.EefPackage#getEEFTableStructureDescription_Multiple() - * @model - * @generated - */ - boolean isMultiple(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTableStructureDescription#isMultiple Multiple}' attribute. - * - * - * @param value the new value of the 'Multiple' attribute. - * @see #isMultiple() - * @generated - */ - void setMultiple(boolean value); - - /** - * Returns the value of the 'Identifier' attribute. - * - * - * - * Used to identify a specific table structure. - * - * @return the value of the 'Identifier' attribute. - * @see #setIdentifier(String) - * @see org.eclipse.eef.EefPackage#getEEFTableStructureDescription_Identifier() - * @model required="true" - * @generated - */ - String getIdentifier(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTableStructureDescription#getIdentifier Identifier}' attribute. - * - * - * @param value the new value of the 'Identifier' attribute. - * @see #getIdentifier() - * @generated - */ - void setIdentifier(String value); - - /** - * Returns the value of the 'Add Expression' attribute. - * - * - * - * Defines the behavior executed when the add button is clicked. - * - * @return the value of the 'Add Expression' attribute. - * @see #setAddExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFTableStructureDescription_AddExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getAddExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTableStructureDescription#getAddExpression Add Expression}' attribute. - * - * - * @param value the new value of the 'Add Expression' attribute. - * @see #getAddExpression() - * @generated - */ - void setAddExpression(String value); - - /** - * Returns the value of the 'Remove Expression' attribute. - * - * - * - * Defines the behavior executed when the remove button is clicked. - * - * @return the value of the 'Remove Expression' attribute. - * @see #setRemoveExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFTableStructureDescription_RemoveExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getRemoveExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTableStructureDescription#getRemoveExpression Remove Expression}' attribute. - * - * - * @param value the new value of the 'Remove Expression' attribute. - * @see #getRemoveExpression() - * @generated - */ - void setRemoveExpression(String value); - - /** - * Returns the value of the 'Up Expression' attribute. - * - * - * - * Defines the behavior executed when the up button is clicked. - * - * @return the value of the 'Up Expression' attribute. - * @see #setUpExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFTableStructureDescription_UpExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getUpExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTableStructureDescription#getUpExpression Up Expression}' attribute. - * - * - * @param value the new value of the 'Up Expression' attribute. - * @see #getUpExpression() - * @generated - */ - void setUpExpression(String value); - - /** - * Returns the value of the 'Down Expression' attribute. - * - * - * - * Defines the behavior executed when the down button is clicked. - * - * @return the value of the 'Down Expression' attribute. - * @see #setDownExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFTableStructureDescription_DownExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getDownExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTableStructureDescription#getDownExpression Down Expression}' attribute. - * - * - * @param value the new value of the 'Down Expression' attribute. - * @see #getDownExpression() - * @generated - */ - void setDownExpression(String value); - -} // EEFTableStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyle.java deleted file mode 100644 index 1db8d91db..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyle.java +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Table Style'. - * - * - * - * Represents a style that can be applied on table widgets. - * - * - * - * @see org.eclipse.eef.EefPackage#getEEFTableStyle() - * @model - * @generated - */ -public interface EEFTableStyle extends EEFStyle { -} // EEFTableStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyleCustomization.java deleted file mode 100644 index 8089fea3e..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTableStyleCustomization.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Table Style Customization'. - * - * - * - * Represents a style customization applied on a table widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFTableStyleCustomization#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFTableStyleCustomization() - * @model - * @generated - */ -public interface EEFTableStyleCustomization extends EEFStyleCustomization { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFTableStyle) - * @see org.eclipse.eef.EefPackage#getEEFTableStyleCustomization_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFTableStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTableStyleCustomization#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFTableStyle value); - -} // EEFTableStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextConditionalStyle.java deleted file mode 100644 index 2fe53d7f7..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextConditionalStyle.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Text Conditional Style'. - * - * - * - * Represents a conditional style for a text widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFTextConditionalStyle#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFTextConditionalStyle() - * @model - * @generated - */ -public interface EEFTextConditionalStyle extends EEFConditionalStyle { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFTextStyle) - * @see org.eclipse.eef.EefPackage#getEEFTextConditionalStyle_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFTextStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTextConditionalStyle#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFTextStyle value); - -} // EEFTextConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java index e7f9d87f1..47f5d62c0 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextDescription.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -8,225 +8,68 @@ */ package org.eclipse.eef; -import org.eclipse.emf.common.util.EList; - /** - * - * A representation of the model object 'EEF Text Description'. - * - * - * - * Represents a text field in the user interface. - * + * A representation of the model object 'EEF Text Description'. * *

                * The following features are supported: *

                *
                  - *
                • {@link org.eclipse.eef.EEFTextDescription#getValueExpression Value Expression}
                • - *
                • {@link org.eclipse.eef.EEFTextDescription#getEditExpression Edit Expression}
                • - *
                • {@link org.eclipse.eef.EEFTextDescription#getReadOnlyExpression Read Only Expression}
                • - *
                • {@link org.eclipse.eef.EEFTextDescription#getContentAssistExpression Content Assist Expression}
                • - *
                • {@link org.eclipse.eef.EEFTextDescription#getPlaceholderExpression Placeholder Expression}
                • - *
                • {@link org.eclipse.eef.EEFTextDescription#getLineCount Line Count}
                • - *
                • {@link org.eclipse.eef.EEFTextDescription#getStyle Style}
                • - *
                • {@link org.eclipse.eef.EEFTextDescription#getConditionalStyles Conditional Styles}
                • + *
                • {@link org.eclipse.eef.EEFTextDescription#getValueExpression Value Expression}
                • + *
                • {@link org.eclipse.eef.EEFTextDescription#getEditExpression Edit Expression}
                • *
                * * @see org.eclipse.eef.EefPackage#getEEFTextDescription() * @model * @generated */ -public interface EEFTextDescription extends EEFCellWidgetDescription { +public interface EEFTextDescription extends EEFWidgetDescription { /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * Indicates how to display the input value. - * + * Returns the value of the 'Value Expression' attribute. Indicates how to display the input value. + * * @return the value of the 'Value Expression' attribute. * @see #setValueExpression(String) * @see org.eclipse.eef.EefPackage#getEEFTextDescription_ValueExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" + * @model * @generated */ String getValueExpression(); /** - * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. + * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getValueExpression Value Expression}' + * attribute. + * + * @param value + * the new value of the 'Value Expression' attribute. * @see #getValueExpression() * @generated */ void setValueExpression(String value); /** - * Returns the value of the 'Edit Expression' attribute. - * - * - * - * Defines the behavior executed when the end-user updates the value of the text field. + * Returns the value of the 'Edit Expression' attribute. Defines the behavior executed when the end-user updates the value of the text field. * + * * @return the value of the 'Edit Expression' attribute. * @see #setEditExpression(String) * @see org.eclipse.eef.EefPackage#getEEFTextDescription_EditExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" + * @model * @generated */ String getEditExpression(); /** - * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getEditExpression Edit Expression}' attribute. - * - * - * @param value the new value of the 'Edit Expression' attribute. + * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getEditExpression Edit Expression}' + * attribute. + * + * @param value + * the new value of the 'Edit Expression' attribute. * @see #getEditExpression() * @generated */ void setEditExpression(String value); - /** - * Returns the value of the 'Read Only Expression' attribute. - * - * - * - * Defines if the text widget is read only or not. - * - * @return the value of the 'Read Only Expression' attribute. - * @see #setReadOnlyExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFTextDescription_ReadOnlyExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getReadOnlyExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getReadOnlyExpression Read Only Expression}' attribute. - * - * - * @param value the new value of the 'Read Only Expression' attribute. - * @see #getReadOnlyExpression() - * @generated - */ - void setReadOnlyExpression(String value); - - /** - * Returns the value of the 'Content Assist Expression' attribute. - * - * - * - * Defines the proposals available for completion. - * - * @return the value of the 'Content Assist Expression' attribute. - * @see #setContentAssistExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFTextDescription_ContentAssistExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getContentAssistExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getContentAssistExpression Content Assist Expression}' attribute. - * - * - * @param value the new value of the 'Content Assist Expression' attribute. - * @see #getContentAssistExpression() - * @generated - */ - void setContentAssistExpression(String value); - - /** - * Returns the value of the 'Placeholder Expression' attribute. - * - * - * - * Defines the text placeholder. - * - * @return the value of the 'Placeholder Expression' attribute. - * @see #setPlaceholderExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFTextDescription_PlaceholderExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getPlaceholderExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getPlaceholderExpression Placeholder Expression}' attribute. - * - * - * @param value the new value of the 'Placeholder Expression' attribute. - * @see #getPlaceholderExpression() - * @generated - */ - void setPlaceholderExpression(String value); - - /** - * Returns the value of the 'Line Count' attribute. - * The default value is "1". - * - * - * - * Must be upper or equal to 1. If lineCount > 1, the text field is represented thanks to a text area. - * - * @return the value of the 'Line Count' attribute. - * @see #setLineCount(int) - * @see org.eclipse.eef.EefPackage#getEEFTextDescription_LineCount() - * @model default="1" - * @generated - */ - int getLineCount(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getLineCount Line Count}' attribute. - * - * - * @param value the new value of the 'Line Count' attribute. - * @see #getLineCount() - * @generated - */ - void setLineCount(int value); - - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the text style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFTextStyle) - * @see org.eclipse.eef.EefPackage#getEEFTextDescription_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFTextStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTextDescription#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFTextStyle value); - - /** - * Returns the value of the 'Conditional Styles' containment reference list. - * The list contents are of type {@link org.eclipse.eef.EEFTextConditionalStyle}. - * - * - * - * Defines the text conditional styles. - * - * @return the value of the 'Conditional Styles' containment reference list. - * @see org.eclipse.eef.EefPackage#getEEFTextDescription_ConditionalStyles() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getConditionalStyles(); - } // EEFTextDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyle.java deleted file mode 100644 index e8551d6b8..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyle.java +++ /dev/null @@ -1,83 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Text Style'. - * - * - * - * Represents a style that can be applied on text widgets. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFTextStyle#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.EEFTextStyle#getForegroundColorExpression Foreground Color Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFTextStyle() - * @model - * @generated - */ -public interface EEFTextStyle extends EEFStyle { - /** - * Returns the value of the 'Background Color Expression' attribute. - * - * - * - * Defines the background color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Background Color Expression' attribute. - * @see #setBackgroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFTextStyle_BackgroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getBackgroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTextStyle#getBackgroundColorExpression Background Color Expression}' attribute. - * - * - * @param value the new value of the 'Background Color Expression' attribute. - * @see #getBackgroundColorExpression() - * @generated - */ - void setBackgroundColorExpression(String value); - - /** - * Returns the value of the 'Foreground Color Expression' attribute. - * - * - * - * Defines the foreground color of the widget. It must be define as rgb (rgb(0,0,0)) or hexa (#000000). - * - * @return the value of the 'Foreground Color Expression' attribute. - * @see #setForegroundColorExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFTextStyle_ForegroundColorExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getForegroundColorExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTextStyle#getForegroundColorExpression Foreground Color Expression}' attribute. - * - * - * @param value the new value of the 'Foreground Color Expression' attribute. - * @see #getForegroundColorExpression() - * @generated - */ - void setForegroundColorExpression(String value); - -} // EEFTextStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyleCustomization.java deleted file mode 100644 index a5cc96a72..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTextStyleCustomization.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Text Style Customization'. - * - * - * - * Represents a style customization applied on a text widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFTextStyleCustomization#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFTextStyleCustomization() - * @model - * @generated - */ -public interface EEFTextStyleCustomization extends EEFStyleCustomization { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFTextStyle) - * @see org.eclipse.eef.EefPackage#getEEFTextStyleCustomization_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFTextStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTextStyleCustomization#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFTextStyle value); - -} // EEFTextStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeConditionalStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeConditionalStyle.java deleted file mode 100644 index b9c046736..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeConditionalStyle.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Tree Conditional Style'. - * - * - * - * Represents a conditional style for a tree widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFTreeConditionalStyle#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFTreeConditionalStyle() - * @model - * @generated - */ -public interface EEFTreeConditionalStyle extends EEFConditionalStyle { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFTreeStyle) - * @see org.eclipse.eef.EefPackage#getEEFTreeConditionalStyle_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFTreeStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTreeConditionalStyle#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFTreeStyle value); - -} // EEFTreeConditionalStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDescription.java deleted file mode 100644 index 23e1920bd..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDescription.java +++ /dev/null @@ -1,109 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Tree Description'. - * - * - * - * Represents a tree in the user interface. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFTreeDescription#getValueExpression Value Expression}
                • - *
                • {@link org.eclipse.eef.EEFTreeDescription#getTreeStructure Tree Structure}
                • - *
                • {@link org.eclipse.eef.EEFTreeDescription#getEditExpression Edit Expression}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFTreeDescription() - * @model - * @generated - */ -public interface EEFTreeDescription extends EEFCellWidgetDescription { - /** - * Returns the value of the 'Value Expression' attribute. - * - * - * - * The initial selected values in the tree. - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFTreeDescription_ValueExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTreeDescription#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - - /** - * Returns the value of the 'Tree Structure' reference. - * - * - * - * References a tree structure. - * - * @return the value of the 'Tree Structure' reference. - * @see #setTreeStructure(EEFTreeStructureDescription) - * @see org.eclipse.eef.EefPackage#getEEFTreeDescription_TreeStructure() - * @model - * @generated - */ - EEFTreeStructureDescription getTreeStructure(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTreeDescription#getTreeStructure Tree Structure}' reference. - * - * - * @param value the new value of the 'Tree Structure' reference. - * @see #getTreeStructure() - * @generated - */ - void setTreeStructure(EEFTreeStructureDescription value); - - /** - * Returns the value of the 'Edit Expression' attribute. - * - * - * - * Defines the behavior executed when the end-user updates the selection in the tree. - * - * @return the value of the 'Edit Expression' attribute. - * @see #setEditExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFTreeDescription_EditExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getEditExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTreeDescription#getEditExpression Edit Expression}' attribute. - * - * - * @param value the new value of the 'Edit Expression' attribute. - * @see #getEditExpression() - * @generated - */ - void setEditExpression(String value); - -} // EEFTreeDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDialogSelectDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDialogSelectDescription.java deleted file mode 100644 index cda320b96..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeDialogSelectDescription.java +++ /dev/null @@ -1,136 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Tree Dialog Select Description'. - * - * - * - * Represents a dialog showing a tree in the user interface. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression Semantic Candidate Expression}
                • - *
                • {@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDefaultFilter Default Filter}
                • - *
                • {@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDomainClass Domain Class}
                • - *
                • {@link org.eclipse.eef.EEFTreeDialogSelectDescription#getTree Tree}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFTreeDialogSelectDescription() - * @model - * @generated - */ -public interface EEFTreeDialogSelectDescription extends EEFCellWidgetDescription { - /** - * Returns the value of the 'Semantic Candidate Expression' attribute. - * - * - * - * The elements that are represented. - * - * @return the value of the 'Semantic Candidate Expression' attribute. - * @see #setSemanticCandidateExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFTreeDialogSelectDescription_SemanticCandidateExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getSemanticCandidateExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression Semantic Candidate Expression}' attribute. - * - * - * @param value the new value of the 'Semantic Candidate Expression' attribute. - * @see #getSemanticCandidateExpression() - * @generated - */ - void setSemanticCandidateExpression(String value); - - /** - * Returns the value of the 'Default Filter' attribute. - * The default value is "*". - * - * - * - * Defins the default value for filtering field. - * - * @return the value of the 'Default Filter' attribute. - * @see #setDefaultFilter(String) - * @see org.eclipse.eef.EefPackage#getEEFTreeDialogSelectDescription_DefaultFilter() - * @model default="*" - * @generated - */ - String getDefaultFilter(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDefaultFilter Default Filter}' attribute. - * - * - * @param value the new value of the 'Default Filter' attribute. - * @see #getDefaultFilter() - * @generated - */ - void setDefaultFilter(String value); - - /** - * Returns the value of the 'Domain Class' attribute. - * - * - * - * Defines the context in which the Tree Dialog Select is used. - * - * @return the value of the 'Domain Class' attribute. - * @see #setDomainClass(String) - * @see org.eclipse.eef.EefPackage#getEEFTreeDialogSelectDescription_DomainClass() - * @model dataType="org.eclipse.eef.TypeName" - * @generated - */ - String getDomainClass(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDomainClass Domain Class}' attribute. - * - * - * @param value the new value of the 'Domain Class' attribute. - * @see #getDomainClass() - * @generated - */ - void setDomainClass(String value); - - /** - * Returns the value of the 'Tree' reference. - * - * - * - * References the Tree widget displayed in the select dialog. - * - * @return the value of the 'Tree' reference. - * @see #setTree(EEFTreeDescription) - * @see org.eclipse.eef.EefPackage#getEEFTreeDialogSelectDescription_Tree() - * @model - * @generated - */ - EEFTreeDescription getTree(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getTree Tree}' reference. - * - * - * @param value the new value of the 'Tree' reference. - * @see #getTree() - * @generated - */ - void setTree(EEFTreeDescription value); - -} // EEFTreeDialogSelectDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStructureDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStructureDescription.java deleted file mode 100644 index 9f108181a..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStructureDescription.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Tree Structure Description'. - * - * - * - * Describes a tree as a set of elements related to an input. This description is reusable by Tree widgets. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFTreeStructureDescription#getIdentifier Identifier}
                • - *
                • {@link org.eclipse.eef.EEFTreeStructureDescription#isMultiple Multiple}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFTreeStructureDescription() - * @model abstract="true" - * @generated - */ -public interface EEFTreeStructureDescription extends EObject { - /** - * Returns the value of the 'Identifier' attribute. - * - * - * - * Used to identify a specific tree structure. - * - * @return the value of the 'Identifier' attribute. - * @see #setIdentifier(String) - * @see org.eclipse.eef.EefPackage#getEEFTreeStructureDescription_Identifier() - * @model required="true" - * @generated - */ - String getIdentifier(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTreeStructureDescription#getIdentifier Identifier}' attribute. - * - * - * @param value the new value of the 'Identifier' attribute. - * @see #getIdentifier() - * @generated - */ - void setIdentifier(String value); - - /** - * Returns the value of the 'Multiple' attribute. - * - * - * - * If set to true several values can be selected at same time otherwise one selection is possible. - * - * @return the value of the 'Multiple' attribute. - * @see #setMultiple(boolean) - * @see org.eclipse.eef.EefPackage#getEEFTreeStructureDescription_Multiple() - * @model - * @generated - */ - boolean isMultiple(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTreeStructureDescription#isMultiple Multiple}' attribute. - * - * - * @param value the new value of the 'Multiple' attribute. - * @see #isMultiple() - * @generated - */ - void setMultiple(boolean value); - -} // EEFTreeStructureDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyle.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyle.java deleted file mode 100644 index f9e102dd0..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyle.java +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Tree Style'. - * - * - * - * Represents a style that can be applied on tree widgets. - * - * - * - * @see org.eclipse.eef.EefPackage#getEEFTreeStyle() - * @model - * @generated - */ -public interface EEFTreeStyle extends EEFStyle { -} // EEFTreeStyle diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyleCustomization.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyleCustomization.java deleted file mode 100644 index 32d3bca2a..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFTreeStyleCustomization.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -/** - * - * A representation of the model object 'EEF Tree Style Customization'. - * - * - * - * Represents a style customization applied on a tree widget. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFTreeStyleCustomization#getStyle Style}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFTreeStyleCustomization() - * @model - * @generated - */ -public interface EEFTreeStyleCustomization extends EEFStyleCustomization { - /** - * Returns the value of the 'Style' containment reference. - * - * - * - * Defines the style. - * - * @return the value of the 'Style' containment reference. - * @see #setStyle(EEFTreeStyle) - * @see org.eclipse.eef.EefPackage#getEEFTreeStyleCustomization_Style() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFTreeStyle getStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFTreeStyleCustomization#getStyle Style}' containment reference. - * - * - * @param value the new value of the 'Style' containment reference. - * @see #getStyle() - * @generated - */ - void setStyle(EEFTreeStyle value); - -} // EEFTreeStyleCustomization diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFValidation.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFValidation.java deleted file mode 100644 index 511e7202d..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFValidation.java +++ /dev/null @@ -1,77 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'EEF Validation'. - * - * - * - * Represents a validation. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.eef.EEFValidation#getValidationExpression Validation Expression}
                • - *
                • {@link org.eclipse.eef.EEFValidation#getQuickfixes Quickfixes}
                • - *
                - * - * @see org.eclipse.eef.EefPackage#getEEFValidation() - * @model - * @generated - */ -public interface EEFValidation extends EObject { - /** - * Returns the value of the 'Validation Expression' attribute. - * - * - * - * Defines if the widget value is valid or not. - * - * @return the value of the 'Validation Expression' attribute. - * @see #setValidationExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFValidation_ValidationExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getValidationExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFValidation#getValidationExpression Validation Expression}' attribute. - * - * - * @param value the new value of the 'Validation Expression' attribute. - * @see #getValidationExpression() - * @generated - */ - void setValidationExpression(String value); - - /** - * Returns the value of the 'Quickfixes' containment reference list. - * The list contents are of type {@link org.eclipse.eef.EEFQuickFix}. - * - * - * - * Contains all the quickfixes associated to a validation. - * - * @return the value of the 'Quickfixes' containment reference list. - * @see org.eclipse.eef.EefPackage#getEEFValidation_Quickfixes() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getQuickfixes(); - -} // EEFValidation diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java index a27853e3a..39a3d9e9f 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFViewDescription.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -9,36 +9,22 @@ package org.eclipse.eef; import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; - -import org.eclipse.sirius.expression.UserDefinedVariable; +import org.eclipse.emf.ecore.EPackage; /** - * - * A representation of the model object 'EEF View Description'. - * - * - * - * A View is the root concept of the EEF metamodel. A View defines groups of widgets, semantic mappings and related metamodels. - * + * A representation of the model object 'EEF View Description'. * *

                * The following features are supported: *

                *
                  - *
                • {@link org.eclipse.eef.EEFViewDescription#getIdentifier Identifier}
                • - *
                • {@link org.eclipse.eef.EEFViewDescription#getPreconditionExpression Precondition Expression}
                • - *
                • {@link org.eclipse.eef.EEFViewDescription#getUserDefinedVariables User Defined Variables}
                • - *
                • {@link org.eclipse.eef.EEFViewDescription#getLabelExpression Label Expression}
                • - *
                • {@link org.eclipse.eef.EEFViewDescription#getEPackageNsUris EPackage Ns Uris}
                • - *
                • {@link org.eclipse.eef.EEFViewDescription#getGroups Groups}
                • - *
                • {@link org.eclipse.eef.EEFViewDescription#getPages Pages}
                • - *
                • {@link org.eclipse.eef.EEFViewDescription#getJavaExtensions Java Extensions}
                • - *
                • {@link org.eclipse.eef.EEFViewDescription#getImportedViews Imported Views}
                • - *
                • {@link org.eclipse.eef.EEFViewDescription#getTreeStructures Tree Structures}
                • - *
                • {@link org.eclipse.eef.EEFViewDescription#getTableStructures Table Structures}
                • - *
                • {@link org.eclipse.eef.EEFViewDescription#getStyleCustomizations Style Customizations}
                • + *
                • {@link org.eclipse.eef.EEFViewDescription#getIdentifier Identifier}
                • + *
                • {@link org.eclipse.eef.EEFViewDescription#getLabelExpression Label Expression}
                • + *
                • {@link org.eclipse.eef.EEFViewDescription#getGroups Groups}
                • + *
                • {@link org.eclipse.eef.EEFViewDescription#getPages Pages}
                • + *
                • {@link org.eclipse.eef.EEFViewDescription#getEPackages EPackages}
                • *
                * * @see org.eclipse.eef.EefPackage#getEEFViewDescription() @@ -47,12 +33,9 @@ import org.eclipse.sirius.expression.UserDefinedVariable; */ public interface EEFViewDescription extends EObject { /** - * Returns the value of the 'Identifier' attribute. - * - * - * - * Used to identify a specific View instance. - * + * Returns the value of the 'Identifier' attribute. + * Used to identify a specific View instance. + * * @return the value of the 'Identifier' attribute. * @see #setIdentifier(String) * @see org.eclipse.eef.EefPackage#getEEFViewDescription_Identifier() @@ -63,102 +46,44 @@ public interface EEFViewDescription extends EObject { /** * Sets the value of the '{@link org.eclipse.eef.EEFViewDescription#getIdentifier Identifier}' attribute. - * - * - * @param value the new value of the 'Identifier' attribute. + * + * + * @param value + * the new value of the 'Identifier' attribute. * @see #getIdentifier() * @generated */ void setIdentifier(String value); /** - * Returns the value of the 'Precondition Expression' attribute. - * - * - * - * Defines the condition on which the View will be visible. - * - * @return the value of the 'Precondition Expression' attribute. - * @see #setPreconditionExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFViewDescription_PreconditionExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getPreconditionExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFViewDescription#getPreconditionExpression Precondition Expression}' attribute. - * - * - * @param value the new value of the 'Precondition Expression' attribute. - * @see #getPreconditionExpression() - * @generated - */ - void setPreconditionExpression(String value); - - /** - * Returns the value of the 'User Defined Variables' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.UserDefinedVariable}. - * - * - * - * Contains the variables defined by the end user. - * - * @return the value of the 'User Defined Variables' containment reference list. - * @see org.eclipse.eef.EefPackage#getEEFViewDescription_UserDefinedVariables() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getUserDefinedVariables(); - - /** - * Returns the value of the 'Label Expression' attribute. - * - * - * - * The label of the View visible by the end-users. - * + * Returns the value of the 'Label Expression' attribute. The label of the View visible by the end-users. + * * @return the value of the 'Label Expression' attribute. * @see #setLabelExpression(String) * @see org.eclipse.eef.EefPackage#getEEFViewDescription_LabelExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" + * @model * @generated */ String getLabelExpression(); /** - * Sets the value of the '{@link org.eclipse.eef.EEFViewDescription#getLabelExpression Label Expression}' attribute. - * - * - * @param value the new value of the 'Label Expression' attribute. + * Sets the value of the '{@link org.eclipse.eef.EEFViewDescription#getLabelExpression Label Expression}' + * attribute. + * + * @param value + * the new value of the 'Label Expression' attribute. * @see #getLabelExpression() * @generated */ void setLabelExpression(String value); /** - * Returns the value of the 'EPackage Ns Uris' attribute list. - * The list contents are of type {@link java.lang.String}. - * - * - * - * References the metamodels to use thanks to their NsURIs. - * - * @return the value of the 'EPackage Ns Uris' attribute list. - * @see org.eclipse.eef.EefPackage#getEEFViewDescription_EPackageNsUris() - * @model - * @generated - */ - EList getEPackageNsUris(); - - /** - * Returns the value of the 'Groups' containment reference list. - * The list contents are of type {@link org.eclipse.eef.EEFGroupDescription}. - * - * - * - * Contains all the defined Groups. It is defined under the View for reuasability reason and to be referenced easily from any Page. - * + * Returns the value of the 'Groups' containment reference list. The list contents are of type + * {@link org.eclipse.eef.EEFGroupDescription}. Contains all the defined Groups. It is defined under the View for reuasability reason and to be referenced + * easily from any Page. + * * @return the value of the 'Groups' containment reference list. * @see org.eclipse.eef.EefPackage#getEEFViewDescription_Groups() * @model containment="true" resolveProxies="true" @@ -167,13 +92,10 @@ public interface EEFViewDescription extends EObject { EList getGroups(); /** - * Returns the value of the 'Pages' containment reference list. - * The list contents are of type {@link org.eclipse.eef.EEFPageDescription}. - * - * - * - * Defines the tabs that are represented in the View. - * + * Returns the value of the 'Pages' containment reference list. The list contents are of type + * {@link org.eclipse.eef.EEFPageDescription}. Defines the tabs that are represented in the View. + * * @return the value of the 'Pages' containment reference list. * @see org.eclipse.eef.EefPackage#getEEFViewDescription_Pages() * @model containment="true" resolveProxies="true" required="true" @@ -182,78 +104,19 @@ public interface EEFViewDescription extends EObject { EList getPages(); /** - * Returns the value of the 'Java Extensions' containment reference list. - * The list contents are of type {@link org.eclipse.eef.EEFJavaExtensionDescription}. - * - * - * - * References Java classes to contribute them as services for EEF runtime interpreters. - * - * @return the value of the 'Java Extensions' containment reference list. - * @see org.eclipse.eef.EefPackage#getEEFViewDescription_JavaExtensions() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getJavaExtensions(); - - /** - * Returns the value of the 'Imported Views' reference list. - * The list contents are of type {@link org.eclipse.eef.EEFViewDescription}. - * - * - * - * Imports other existing views to reuse groups and widgets. - * - * @return the value of the 'Imported Views' reference list. - * @see org.eclipse.eef.EefPackage#getEEFViewDescription_ImportedViews() - * @model - * @generated - */ - EList getImportedViews(); - - /** - * Returns the value of the 'Tree Structures' containment reference list. - * The list contents are of type {@link org.eclipse.eef.EEFTreeStructureDescription}. - * - * - * - * Contains all the defined TreeDescription. It is defined under the View for reusability reason and to be referenced easily from any Tree widget. - * - * @return the value of the 'Tree Structures' containment reference list. - * @see org.eclipse.eef.EefPackage#getEEFViewDescription_TreeStructures() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getTreeStructures(); - - /** - * Returns the value of the 'Table Structures' containment reference list. - * The list contents are of type {@link org.eclipse.eef.EEFTableStructureDescription}. - * - * - * - * Contains all the defined TableDescription. It is defined under the View for reusability reason and to be referenced easily from any Tree widget. - * - * @return the value of the 'Table Structures' containment reference list. - * @see org.eclipse.eef.EefPackage#getEEFViewDescription_TableStructures() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getTableStructures(); - - /** - * Returns the value of the 'Style Customizations' reference list. - * The list contents are of type {@link org.eclipse.eef.EEFStyleCustomization}. - * + * Returns the value of the 'EPackages' reference list. The list contents are of type + * {@link org.eclipse.emf.ecore.EPackage}. + *

                + * If the meaning of the 'EPackages' reference list isn't clear, there really should be more of a + * description here... + *

                * - * - * Contains all the style customizations defined for a view. - * - * @return the value of the 'Style Customizations' reference list. - * @see org.eclipse.eef.EefPackage#getEEFViewDescription_StyleCustomizations() + * + * @return the value of the 'EPackages' reference list. + * @see org.eclipse.eef.EefPackage#getEEFViewDescription_EPackages() * @model * @generated */ - EList getStyleCustomizations(); + EList getEPackages(); } // EEFViewDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java index 276ab0f04..2bcdf6762 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EEFWidgetDescription.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -8,33 +8,18 @@ */ package org.eclipse.eef; -import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EObject; -import org.eclipse.sirius.expression.UserDefinedVariable; - /** - * - * A representation of the model object 'EEF Widget Description'. - * - * - * - * Graphical element. - * + * A representation of the model object 'EEF Widget Description'. * *

                * The following features are supported: *

                *
                  - *
                • {@link org.eclipse.eef.EEFWidgetDescription#getIdentifier Identifier}
                • - *
                • {@link org.eclipse.eef.EEFWidgetDescription#getPreconditionExpression Precondition Expression}
                • - *
                • {@link org.eclipse.eef.EEFWidgetDescription#getUserDefinedVariables User Defined Variables}
                • - *
                • {@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression Label Expression}
                • - *
                • {@link org.eclipse.eef.EEFWidgetDescription#getLabelStyle Label Style}
                • - *
                • {@link org.eclipse.eef.EEFWidgetDescription#getTooltipExpression Tooltip Expression}
                • - *
                • {@link org.eclipse.eef.EEFWidgetDescription#getHelpExpression Help Expression}
                • - *
                • {@link org.eclipse.eef.EEFWidgetDescription#getValidation Validation}
                • + *
                • {@link org.eclipse.eef.EEFWidgetDescription#getIdentifier Identifier}
                • + *
                • {@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression Label Expression}
                • *
                * * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription() @@ -43,12 +28,9 @@ import org.eclipse.sirius.expression.UserDefinedVariable; */ public interface EEFWidgetDescription extends EObject { /** - * Returns the value of the 'Identifier' attribute. - * - * - * - * Used to identify a specific widget. - * + * Returns the value of the 'Identifier' attribute. + * Used to identify a specific widget. + * * @return the value of the 'Identifier' attribute. * @see #setIdentifier(String) * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_Identifier() @@ -59,177 +41,36 @@ public interface EEFWidgetDescription extends EObject { /** * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getIdentifier Identifier}' attribute. - * - * - * @param value the new value of the 'Identifier' attribute. + * + * + * @param value + * the new value of the 'Identifier' attribute. * @see #getIdentifier() * @generated */ void setIdentifier(String value); /** - * Returns the value of the 'Precondition Expression' attribute. - * - * - * - * Defines the condition on which the Widget will be visible. - * - * @return the value of the 'Precondition Expression' attribute. - * @see #setPreconditionExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_PreconditionExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getPreconditionExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getPreconditionExpression Precondition Expression}' attribute. - * - * - * @param value the new value of the 'Precondition Expression' attribute. - * @see #getPreconditionExpression() - * @generated - */ - void setPreconditionExpression(String value); - - /** - * Returns the value of the 'User Defined Variables' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.UserDefinedVariable}. - * - * - * - * Contains the variables defined by the end user. - * - * @return the value of the 'User Defined Variables' containment reference list. - * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_UserDefinedVariables() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getUserDefinedVariables(); - - /** - * Returns the value of the 'Label Expression' attribute. - * - * - * - * The label of the Widget visible by the end-users. - * + * Returns the value of the 'Label Expression' attribute. The label of the Widget visible by the end-users. + * * @return the value of the 'Label Expression' attribute. * @see #setLabelExpression(String) * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_LabelExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" + * @model * @generated */ String getLabelExpression(); /** - * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression Label Expression}' attribute. - * - * - * @param value the new value of the 'Label Expression' attribute. + * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression Label Expression}' + * attribute. + * + * @param value + * the new value of the 'Label Expression' attribute. * @see #getLabelExpression() * @generated */ void setLabelExpression(String value); - /** - * Returns the value of the 'Label Style' reference. - * - * - * - * The style of the label. - * - * @return the value of the 'Label Style' reference. - * @see #setLabelStyle(EEFLabelStyle) - * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_LabelStyle() - * @model - * @generated - */ - EEFLabelStyle getLabelStyle(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getLabelStyle Label Style}' reference. - * - * - * @param value the new value of the 'Label Style' reference. - * @see #getLabelStyle() - * @generated - */ - void setLabelStyle(EEFLabelStyle value); - - /** - * Returns the value of the 'Tooltip Expression' attribute. - * - * - * - * The tooltip of the Widget visible by the end-users. - * - * @return the value of the 'Tooltip Expression' attribute. - * @see #setTooltipExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_TooltipExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getTooltipExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getTooltipExpression Tooltip Expression}' attribute. - * - * - * @param value the new value of the 'Tooltip Expression' attribute. - * @see #getTooltipExpression() - * @generated - */ - void setTooltipExpression(String value); - - /** - * Returns the value of the 'Help Expression' attribute. - * - * - * - * The help of the Widget visible by the end-users. - * - * @return the value of the 'Help Expression' attribute. - * @see #setHelpExpression(String) - * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_HelpExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getHelpExpression(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getHelpExpression Help Expression}' attribute. - * - * - * @param value the new value of the 'Help Expression' attribute. - * @see #getHelpExpression() - * @generated - */ - void setHelpExpression(String value); - - /** - * Returns the value of the 'Validation' containment reference. - * - * - * - * Contains the validation rule of the Widget. - * - * @return the value of the 'Validation' containment reference. - * @see #setValidation(EEFValidation) - * @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_Validation() - * @model containment="true" resolveProxies="true" - * @generated - */ - EEFValidation getValidation(); - - /** - * Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getValidation Validation}' containment reference. - * - * - * @param value the new value of the 'Validation' containment reference. - * @see #getValidation() - * @generated - */ - void setValidation(EEFValidation value); - } // EEFWidgetDescription diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java index c280ab062..e9fad9797 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefFactory.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -11,542 +11,66 @@ package org.eclipse.eef; import org.eclipse.emf.ecore.EFactory; /** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * + * The Factory for the model. It provides a create method for each non-abstract class of + * the model. + * * @see org.eclipse.eef.EefPackage * @generated */ public interface EefFactory extends EFactory { /** - * The singleton instance of the factory. - * - * + * The singleton instance of the factory. + * * @generated */ EefFactory eINSTANCE = org.eclipse.eef.impl.EefFactoryImpl.init(); /** - * Returns a new object of class 'EEF View Description'. - * - * + * Returns a new object of class 'EEF View Description'. + * * @return a new object of class 'EEF View Description'. * @generated */ EEFViewDescription createEEFViewDescription(); /** - * Returns a new object of class 'EEF Page Description'. - * - * + * Returns a new object of class 'EEF Page Description'. + * * @return a new object of class 'EEF Page Description'. * @generated */ EEFPageDescription createEEFPageDescription(); /** - * Returns a new object of class 'EEF Group Description'. - * - * + * Returns a new object of class 'EEF Group Description'. + * * @return a new object of class 'EEF Group Description'. * @generated */ EEFGroupDescription createEEFGroupDescription(); /** - * Returns a new object of class 'EEF Container Description'. - * - * + * Returns a new object of class 'EEF Container Description'. + * * @return a new object of class 'EEF Container Description'. * @generated */ EEFContainerDescription createEEFContainerDescription(); /** - * Returns a new object of class 'EEF Java Extension Description'. - * - * - * @return a new object of class 'EEF Java Extension Description'. - * @generated - */ - EEFJavaExtensionDescription createEEFJavaExtensionDescription(); - - /** - * Returns a new object of class 'EEF Interpreted Table Structure Description'. - * - * - * @return a new object of class 'EEF Interpreted Table Structure Description'. - * @generated - */ - EEFInterpretedTableStructureDescription createEEFInterpretedTableStructureDescription(); - - /** - * Returns a new object of class 'EEF Adapter Factory Tree Structure Description'. - * - * - * @return a new object of class 'EEF Adapter Factory Tree Structure Description'. - * @generated - */ - EEFAdapterFactoryTreeStructureDescription createEEFAdapterFactoryTreeStructureDescription(); - - /** - * Returns a new object of class 'EEF Interpreted Tree Structure Description'. - * - * - * @return a new object of class 'EEF Interpreted Tree Structure Description'. - * @generated - */ - EEFInterpretedTreeStructureDescription createEEFInterpretedTreeStructureDescription(); - - /** - * Returns a new object of class 'EEF Text Description'. - * - * + * Returns a new object of class 'EEF Text Description'. + * * @return a new object of class 'EEF Text Description'. * @generated */ EEFTextDescription createEEFTextDescription(); /** - * Returns a new object of class 'EEF Checkbox Description'. - * - * - * @return a new object of class 'EEF Checkbox Description'. - * @generated - */ - EEFCheckboxDescription createEEFCheckboxDescription(); - - /** - * Returns a new object of class 'EEF Select Description'. - * - * - * @return a new object of class 'EEF Select Description'. - * @generated - */ - EEFSelectDescription createEEFSelectDescription(); - - /** - * Returns a new object of class 'EEF Label Description'. - * - * - * @return a new object of class 'EEF Label Description'. - * @generated - */ - EEFLabelDescription createEEFLabelDescription(); - - /** - * Returns a new object of class 'EEF Radio Description'. - * - * - * @return a new object of class 'EEF Radio Description'. - * @generated - */ - EEFRadioDescription createEEFRadioDescription(); - - /** - * Returns a new object of class 'EEF Tree Dialog Select Description'. - * - * - * @return a new object of class 'EEF Tree Dialog Select Description'. - * @generated - */ - EEFTreeDialogSelectDescription createEEFTreeDialogSelectDescription(); - - /** - * Returns a new object of class 'EEF Link Description'. - * - * - * @return a new object of class 'EEF Link Description'. - * @generated - */ - EEFLinkDescription createEEFLinkDescription(); - - /** - * Returns a new object of class 'EEF Image Description'. - * - * - * @return a new object of class 'EEF Image Description'. - * @generated - */ - EEFImageDescription createEEFImageDescription(); - - /** - * Returns a new object of class 'EEF Tree Description'. - * - * - * @return a new object of class 'EEF Tree Description'. - * @generated - */ - EEFTreeDescription createEEFTreeDescription(); - - /** - * Returns a new object of class 'EEF Image Picker Description'. - * - * - * @return a new object of class 'EEF Image Picker Description'. - * @generated - */ - EEFImagePickerDescription createEEFImagePickerDescription(); - - /** - * Returns a new object of class 'EEF Table Description'. - * - * - * @return a new object of class 'EEF Table Description'. - * @generated - */ - EEFTableDescription createEEFTableDescription(); - - /** - * Returns a new object of class 'EEF Column Description'. - * - * - * @return a new object of class 'EEF Column Description'. - * @generated - */ - EEFColumnDescription createEEFColumnDescription(); - - /** - * Returns a new object of class 'EEF Line Description'. - * - * - * @return a new object of class 'EEF Line Description'. - * @generated - */ - EEFLineDescription createEEFLineDescription(); - - /** - * Returns a new object of class 'EEF Adapter Factory Table Structure Description'. - * - * - * @return a new object of class 'EEF Adapter Factory Table Structure Description'. - * @generated - */ - EEFAdapterFactoryTableStructureDescription createEEFAdapterFactoryTableStructureDescription(); - - /** - * Returns a new object of class 'EEF Group Style'. - * - * - * @return a new object of class 'EEF Group Style'. - * @generated - */ - EEFGroupStyle createEEFGroupStyle(); - - /** - * Returns a new object of class 'EEF Group Conditional Style'. - * - * - * @return a new object of class 'EEF Group Conditional Style'. - * @generated - */ - EEFGroupConditionalStyle createEEFGroupConditionalStyle(); - - /** - * Returns a new object of class 'EEF Group Style Customization'. - * - * - * @return a new object of class 'EEF Group Style Customization'. - * @generated - */ - EEFGroupStyleCustomization createEEFGroupStyleCustomization(); - - /** - * Returns a new object of class 'EEF Text Style'. - * - * - * @return a new object of class 'EEF Text Style'. - * @generated - */ - EEFTextStyle createEEFTextStyle(); - - /** - * Returns a new object of class 'EEF Text Conditional Style'. - * - * - * @return a new object of class 'EEF Text Conditional Style'. - * @generated - */ - EEFTextConditionalStyle createEEFTextConditionalStyle(); - - /** - * Returns a new object of class 'EEF Text Style Customization'. - * - * - * @return a new object of class 'EEF Text Style Customization'. - * @generated - */ - EEFTextStyleCustomization createEEFTextStyleCustomization(); - - /** - * Returns a new object of class 'EEF Checkbox Style'. - * - * - * @return a new object of class 'EEF Checkbox Style'. - * @generated - */ - EEFCheckboxStyle createEEFCheckboxStyle(); - - /** - * Returns a new object of class 'EEF Checkbox Conditional Style'. - * - * - * @return a new object of class 'EEF Checkbox Conditional Style'. - * @generated - */ - EEFCheckboxConditionalStyle createEEFCheckboxConditionalStyle(); - - /** - * Returns a new object of class 'EEF Checkbox Style Customization'. - * - * - * @return a new object of class 'EEF Checkbox Style Customization'. - * @generated - */ - EEFCheckboxStyleCustomization createEEFCheckboxStyleCustomization(); - - /** - * Returns a new object of class 'EEF Label Style'. - * - * - * @return a new object of class 'EEF Label Style'. - * @generated - */ - EEFLabelStyle createEEFLabelStyle(); - - /** - * Returns a new object of class 'EEF Label Conditional Style'. - * - * - * @return a new object of class 'EEF Label Conditional Style'. - * @generated - */ - EEFLabelConditionalStyle createEEFLabelConditionalStyle(); - - /** - * Returns a new object of class 'EEF Label Style Customization'. - * - * - * @return a new object of class 'EEF Label Style Customization'. - * @generated - */ - EEFLabelStyleCustomization createEEFLabelStyleCustomization(); - - /** - * Returns a new object of class 'EEF Radio Style'. - * - * - * @return a new object of class 'EEF Radio Style'. - * @generated - */ - EEFRadioStyle createEEFRadioStyle(); - - /** - * Returns a new object of class 'EEF Radio Conditional Style'. - * - * - * @return a new object of class 'EEF Radio Conditional Style'. - * @generated - */ - EEFRadioConditionalStyle createEEFRadioConditionalStyle(); - - /** - * Returns a new object of class 'EEF Radio Style Customization'. - * - * - * @return a new object of class 'EEF Radio Style Customization'. - * @generated - */ - EEFRadioStyleCustomization createEEFRadioStyleCustomization(); - - /** - * Returns a new object of class 'EEF Link Style'. - * - * - * @return a new object of class 'EEF Link Style'. - * @generated - */ - EEFLinkStyle createEEFLinkStyle(); - - /** - * Returns a new object of class 'EEF Link Conditional Style'. - * - * - * @return a new object of class 'EEF Link Conditional Style'. - * @generated - */ - EEFLinkConditionalStyle createEEFLinkConditionalStyle(); - - /** - * Returns a new object of class 'EEF Link Style Customization'. - * - * - * @return a new object of class 'EEF Link Style Customization'. - * @generated - */ - EEFLinkStyleCustomization createEEFLinkStyleCustomization(); - - /** - * Returns a new object of class 'EEF Select Style'. - * - * - * @return a new object of class 'EEF Select Style'. - * @generated - */ - EEFSelectStyle createEEFSelectStyle(); - - /** - * Returns a new object of class 'EEF Select Conditional Style'. - * - * - * @return a new object of class 'EEF Select Conditional Style'. - * @generated - */ - EEFSelectConditionalStyle createEEFSelectConditionalStyle(); - - /** - * Returns a new object of class 'EEF Select Style Customization'. - * - * - * @return a new object of class 'EEF Select Style Customization'. - * @generated - */ - EEFSelectStyleCustomization createEEFSelectStyleCustomization(); - - /** - * Returns a new object of class 'EEF Tree Style'. - * - * - * @return a new object of class 'EEF Tree Style'. - * @generated - */ - EEFTreeStyle createEEFTreeStyle(); - - /** - * Returns a new object of class 'EEF Tree Conditional Style'. - * - * - * @return a new object of class 'EEF Tree Conditional Style'. - * @generated - */ - EEFTreeConditionalStyle createEEFTreeConditionalStyle(); - - /** - * Returns a new object of class 'EEF Tree Style Customization'. - * - * - * @return a new object of class 'EEF Tree Style Customization'. - * @generated - */ - EEFTreeStyleCustomization createEEFTreeStyleCustomization(); - - /** - * Returns a new object of class 'EEF Table Style'. - * - * - * @return a new object of class 'EEF Table Style'. - * @generated - */ - EEFTableStyle createEEFTableStyle(); - - /** - * Returns a new object of class 'EEF Table Conditional Style'. - * - * - * @return a new object of class 'EEF Table Conditional Style'. - * @generated - */ - EEFTableConditionalStyle createEEFTableConditionalStyle(); - - /** - * Returns a new object of class 'EEF Table Style Customization'. - * - * - * @return a new object of class 'EEF Table Style Customization'. - * @generated - */ - EEFTableStyleCustomization createEEFTableStyleCustomization(); - - /** - * Returns a new object of class 'EEF Line Style'. - * - * - * @return a new object of class 'EEF Line Style'. - * @generated - */ - EEFLineStyle createEEFLineStyle(); - - /** - * Returns a new object of class 'EEF Line Conditional Style'. - * - * - * @return a new object of class 'EEF Line Conditional Style'. - * @generated - */ - EEFLineConditionalStyle createEEFLineConditionalStyle(); - - /** - * Returns a new object of class 'EEF Line Style Customization'. - * - * - * @return a new object of class 'EEF Line Style Customization'. - * @generated - */ - EEFLineStyleCustomization createEEFLineStyleCustomization(); - - /** - * Returns a new object of class 'EEF Column Style'. - * - * - * @return a new object of class 'EEF Column Style'. - * @generated - */ - EEFColumnStyle createEEFColumnStyle(); - - /** - * Returns a new object of class 'EEF Column Conditional Style'. - * - * - * @return a new object of class 'EEF Column Conditional Style'. - * @generated - */ - EEFColumnConditionalStyle createEEFColumnConditionalStyle(); - - /** - * Returns a new object of class 'EEF Column Style Customization'. - * - * - * @return a new object of class 'EEF Column Style Customization'. - * @generated - */ - EEFColumnStyleCustomization createEEFColumnStyleCustomization(); - - /** - * Returns a new object of class 'EEF Quick Fix'. - * - * - * @return a new object of class 'EEF Quick Fix'. - * @generated - */ - EEFQuickFix createEEFQuickFix(); - - /** - * Returns a new object of class 'EEF Validation'. - * - * - * @return a new object of class 'EEF Validation'. - * @generated - */ - EEFValidation createEEFValidation(); - - /** - * Returns the package supported by this factory. - * - * + * Returns the package supported by this factory. + * * @return the package supported by this factory. * @generated */ EefPackage getEefPackage(); -} //EefFactory +} // EefFactory diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java index 1a3d783c7..d40f714f5 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/EefPackage.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -10,62 +10,56 @@ package org.eclipse.eef; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; /** - * - * The Package for the model. - * It contains accessors for the meta objects to represent + * The Package for the model. It contains accessors for the meta objects to represent *
                  - *
                • each class,
                • - *
                • each feature of each class,
                • - *
                • each enum,
                • - *
                • and each data type
                • + *
                • each class,
                • + *
                • each feature of each class,
                • + *
                • each enum,
                • + *
                • and each data type
                • *
                * + * * @see org.eclipse.eef.EefFactory * @model kind="package" * @generated */ public interface EefPackage extends EPackage { /** - * The package name. - * - * + * The package name. + * * @generated */ String eNAME = "eef"; //$NON-NLS-1$ /** - * The package namespace URI. - * - * + * The package namespace URI. + * * @generated */ String eNS_URI = "http://www.eclipse.org/eef"; //$NON-NLS-1$ /** - * The package namespace name. - * - * + * The package namespace name. + * * @generated */ String eNS_PREFIX = "eef"; //$NON-NLS-1$ /** - * The singleton instance of the package. - * - * + * The singleton instance of the package. + * * @generated */ EefPackage eINSTANCE = org.eclipse.eef.impl.EefPackageImpl.init(); /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFViewDescriptionImpl EEF View Description}' class. - * - * + * The meta object id for the '{@link org.eclipse.eef.impl.EEFViewDescriptionImpl EEF View Description}' + * class. + * * @see org.eclipse.eef.impl.EEFViewDescriptionImpl * @see org.eclipse.eef.impl.EefPackageImpl#getEEFViewDescription() * @generated @@ -73,8144 +67,794 @@ public interface EefPackage extends EPackage { int EEF_VIEW_DESCRIPTION = 0; /** - * The feature id for the 'Identifier' attribute. - * - * + * The feature id for the 'Identifier' attribute. + * * @generated * @ordered */ int EEF_VIEW_DESCRIPTION__IDENTIFIER = 0; /** - * The feature id for the 'Precondition Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION = 1; - - /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * + * The feature id for the 'Label Expression' attribute. + * * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES = 2; + int EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION = 1; /** - * The feature id for the 'Label Expression' attribute. - * - * + * The feature id for the 'Groups' containment reference list. + * * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION = 3; + int EEF_VIEW_DESCRIPTION__GROUPS = 2; /** - * The feature id for the 'EPackage Ns Uris' attribute list. - * - * + * The feature id for the 'Pages' containment reference list. + * * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS = 4; + int EEF_VIEW_DESCRIPTION__PAGES = 3; /** - * The feature id for the 'Groups' containment reference list. - * - * + * The feature id for the 'EPackages' reference list. + * * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__GROUPS = 5; + int EEF_VIEW_DESCRIPTION__EPACKAGES = 4; /** - * The feature id for the 'Pages' containment reference list. - * - * + * The number of structural features of the 'EEF View Description' class. + * * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__PAGES = 6; + int EEF_VIEW_DESCRIPTION_FEATURE_COUNT = 5; /** - * The feature id for the 'Java Extensions' containment reference list. - * - * + * The meta object id for the '{@link org.eclipse.eef.impl.EEFPageDescriptionImpl EEF Page Description}' + * class. + * + * @see org.eclipse.eef.impl.EEFPageDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFPageDescription() * @generated - * @ordered */ - int EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS = 7; + int EEF_PAGE_DESCRIPTION = 1; /** - * The feature id for the 'Imported Views' reference list. - * - * + * The feature id for the 'Identifier' attribute. + * * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS = 8; + int EEF_PAGE_DESCRIPTION__IDENTIFIER = 0; /** - * The feature id for the 'Tree Structures' containment reference list. - * - * + * The feature id for the 'Label Expression' attribute. + * * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__TREE_STRUCTURES = 9; + int EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION = 1; /** - * The feature id for the 'Table Structures' containment reference list. - * - * + * The feature id for the 'Semantic Candidate Expression' attribute. + * * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES = 10; + int EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = 2; /** - * The feature id for the 'Style Customizations' reference list. - * - * + * The feature id for the 'Groups' reference list. + * * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS = 11; + int EEF_PAGE_DESCRIPTION__GROUPS = 3; /** - * The number of structural features of the 'EEF View Description' class. - * - * + * The number of structural features of the 'EEF Page Description' class. + * * @generated * @ordered */ - int EEF_VIEW_DESCRIPTION_FEATURE_COUNT = 12; + int EEF_PAGE_DESCRIPTION_FEATURE_COUNT = 4; /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFPageDescriptionImpl EEF Page Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFPageDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFPageDescription() + * The meta object id for the '{@link org.eclipse.eef.impl.EEFGroupDescriptionImpl EEF Group Description}' + * class. + * + * @see org.eclipse.eef.impl.EEFGroupDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupDescription() * @generated */ - int EEF_PAGE_DESCRIPTION = 1; + int EEF_GROUP_DESCRIPTION = 2; /** - * The feature id for the 'Identifier' attribute. - * - * + * The feature id for the 'Identifier' attribute. + * * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION__IDENTIFIER = 0; + int EEF_GROUP_DESCRIPTION__IDENTIFIER = 0; /** - * The feature id for the 'Precondition Expression' attribute. - * - * + * The feature id for the 'Label Expression' attribute. + * * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION = 1; + int EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION = 1; /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * + * The feature id for the 'Semantic Candidate Expression' attribute. + * * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES = 2; + int EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = 2; /** - * The feature id for the 'Label Expression' attribute. - * - * + * The feature id for the 'Container' containment reference. + * * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION = 3; + int EEF_GROUP_DESCRIPTION__CONTAINER = 3; /** - * The feature id for the 'Domain Class' attribute. - * - * + * The number of structural features of the 'EEF Group Description' class. + * * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION__DOMAIN_CLASS = 4; + int EEF_GROUP_DESCRIPTION_FEATURE_COUNT = 4; /** - * The feature id for the 'Semantic Candidate Expression' attribute. - * - * + * The meta object id for the '{@link org.eclipse.eef.impl.EEFContainerDescriptionImpl + * EEF Container Description}' class. + * + * @see org.eclipse.eef.impl.EEFContainerDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFContainerDescription() * @generated - * @ordered */ - int EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = 5; + int EEF_CONTAINER_DESCRIPTION = 3; /** - * The feature id for the 'Groups' reference list. - * - * + * The feature id for the 'Identifier' attribute. + * * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION__GROUPS = 6; + int EEF_CONTAINER_DESCRIPTION__IDENTIFIER = 0; /** - * The feature id for the 'Extended Page' reference. - * - * + * The feature id for the 'Widgets' containment reference list. + * * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION__EXTENDED_PAGE = 7; + int EEF_CONTAINER_DESCRIPTION__WIDGETS = 1; /** - * The number of structural features of the 'EEF Page Description' class. - * - * + * The number of structural features of the 'EEF Container Description' class. + * * @generated * @ordered */ - int EEF_PAGE_DESCRIPTION_FEATURE_COUNT = 8; + int EEF_CONTAINER_DESCRIPTION_FEATURE_COUNT = 2; /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFGroupDescriptionImpl EEF Group Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFGroupDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupDescription() + * The meta object id for the '{@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl EEF Widget Description} + * ' class. + * + * @see org.eclipse.eef.impl.EEFWidgetDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFWidgetDescription() * @generated */ - int EEF_GROUP_DESCRIPTION = 2; + int EEF_WIDGET_DESCRIPTION = 4; /** - * The feature id for the 'Identifier' attribute. - * - * + * The feature id for the 'Identifier' attribute. + * * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__IDENTIFIER = 0; + int EEF_WIDGET_DESCRIPTION__IDENTIFIER = 0; /** - * The feature id for the 'Precondition Expression' attribute. - * - * + * The feature id for the 'Label Expression' attribute. + * * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION = 1; + int EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION = 1; /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * + * The number of structural features of the 'EEF Widget Description' class. + * * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES = 2; + int EEF_WIDGET_DESCRIPTION_FEATURE_COUNT = 2; /** - * The feature id for the 'Label Expression' attribute. - * - * + * The meta object id for the '{@link org.eclipse.eef.impl.EEFTextDescriptionImpl EEF Text Description}' + * class. + * + * @see org.eclipse.eef.impl.EEFTextDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextDescription() * @generated - * @ordered */ - int EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION = 3; + int EEF_TEXT_DESCRIPTION = 5; /** - * The feature id for the 'Domain Class' attribute. - * - * + * The feature id for the 'Identifier' attribute. + * * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__DOMAIN_CLASS = 4; + int EEF_TEXT_DESCRIPTION__IDENTIFIER = EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER; /** - * The feature id for the 'Semantic Candidate Expression' attribute. - * - * + * The feature id for the 'Label Expression' attribute. + * * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = 5; + int EEF_TEXT_DESCRIPTION__LABEL_EXPRESSION = EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; /** - * The feature id for the 'Container' containment reference. - * - * + * The feature id for the 'Value Expression' attribute. + * * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__CONTAINER = 6; + int EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION = EefPackage.EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; /** - * The feature id for the 'Collapsible Expression' attribute. - * - * + * The feature id for the 'Edit Expression' attribute. + * * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION = 7; + int EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION = EefPackage.EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; /** - * The feature id for the 'Collapsed By Default Expression' attribute. - * - * + * The number of structural features of the 'EEF Text Description' class. + * * @generated * @ordered */ - int EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION = 8; + int EEF_TEXT_DESCRIPTION_FEATURE_COUNT = EefPackage.EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; /** - * The feature id for the 'Validation' containment reference. - * - * + * Returns the meta object for class '{@link org.eclipse.eef.EEFViewDescription EEF View Description}'. + * + * + * @return the meta object for class 'EEF View Description'. + * @see org.eclipse.eef.EEFViewDescription * @generated - * @ordered */ - int EEF_GROUP_DESCRIPTION__VALIDATION = 9; + EClass getEEFViewDescription(); /** - * The number of structural features of the 'EEF Group Description' class. - * - * + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFViewDescription#getIdentifier + * Identifier}'. + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFViewDescription#getIdentifier() + * @see #getEEFViewDescription() * @generated - * @ordered */ - int EEF_GROUP_DESCRIPTION_FEATURE_COUNT = 10; + EAttribute getEEFViewDescription_Identifier(); /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFContainerDescriptionImpl EEF Container Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFContainerDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFContainerDescription() + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFViewDescription#getLabelExpression + * Label Expression}'. + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.EEFViewDescription#getLabelExpression() + * @see #getEEFViewDescription() * @generated */ - int EEF_CONTAINER_DESCRIPTION = 3; + EAttribute getEEFViewDescription_LabelExpression(); /** - * The feature id for the 'Identifier' attribute. - * - * + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getGroups + * Groups}'. + * + * @return the meta object for the containment reference list 'Groups'. + * @see org.eclipse.eef.EEFViewDescription#getGroups() + * @see #getEEFViewDescription() * @generated - * @ordered */ - int EEF_CONTAINER_DESCRIPTION__IDENTIFIER = 0; + EReference getEEFViewDescription_Groups(); /** - * The feature id for the 'Precondition Expression' attribute. - * - * + * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getPages + * Pages}'. + * + * @return the meta object for the containment reference list 'Pages'. + * @see org.eclipse.eef.EEFViewDescription#getPages() + * @see #getEEFViewDescription() * @generated - * @ordered */ - int EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION = 1; + EReference getEEFViewDescription_Pages(); /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * + * Returns the meta object for the reference list '{@link org.eclipse.eef.EEFViewDescription#getEPackages + * EPackages}'. + * + * @return the meta object for the reference list 'EPackages'. + * @see org.eclipse.eef.EEFViewDescription#getEPackages() + * @see #getEEFViewDescription() * @generated - * @ordered */ - int EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES = 2; + EReference getEEFViewDescription_EPackages(); /** - * The feature id for the 'Semantic Candidate Expression' attribute. - * - * + * Returns the meta object for class '{@link org.eclipse.eef.EEFPageDescription EEF Page Description}'. + * + * + * @return the meta object for class 'EEF Page Description'. + * @see org.eclipse.eef.EEFPageDescription * @generated - * @ordered */ - int EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = 3; + EClass getEEFPageDescription(); /** - * The feature id for the 'Domain Class' attribute. - * - * + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getIdentifier + * Identifier}'. + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFPageDescription#getIdentifier() + * @see #getEEFPageDescription() * @generated - * @ordered */ - int EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS = 4; + EAttribute getEEFPageDescription_Identifier(); /** - * The feature id for the 'Layout Column Count' attribute. - * - * + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getLabelExpression + * Label Expression}'. + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.EEFPageDescription#getLabelExpression() + * @see #getEEFPageDescription() * @generated - * @ordered */ - int EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT = 5; + EAttribute getEEFPageDescription_LabelExpression(); /** - * The feature id for the 'Containers' containment reference list. - * - * + * Returns the meta object for the attribute ' + * {@link org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression} + * '. + * + * @return the meta object for the attribute 'Semantic Candidate Expression'. + * @see org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression() + * @see #getEEFPageDescription() * @generated - * @ordered */ - int EEF_CONTAINER_DESCRIPTION__CONTAINERS = 6; + EAttribute getEEFPageDescription_SemanticCandidateExpression(); /** - * The feature id for the 'Widgets' containment reference list. - * - * + * Returns the meta object for the reference list '{@link org.eclipse.eef.EEFPageDescription#getGroups + * Groups}'. + * + * @return the meta object for the reference list 'Groups'. + * @see org.eclipse.eef.EEFPageDescription#getGroups() + * @see #getEEFPageDescription() * @generated - * @ordered */ - int EEF_CONTAINER_DESCRIPTION__WIDGETS = 7; + EReference getEEFPageDescription_Groups(); /** - * The number of structural features of the 'EEF Container Description' class. - * - * + * Returns the meta object for class '{@link org.eclipse.eef.EEFGroupDescription EEF Group Description}'. + * + * + * @return the meta object for class 'EEF Group Description'. + * @see org.eclipse.eef.EEFGroupDescription * @generated - * @ordered */ - int EEF_CONTAINER_DESCRIPTION_FEATURE_COUNT = 8; + EClass getEEFGroupDescription(); /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl EEF Widget Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFWidgetDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFWidgetDescription() + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getIdentifier + * Identifier}'. + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFGroupDescription#getIdentifier() + * @see #getEEFGroupDescription() * @generated */ - int EEF_WIDGET_DESCRIPTION = 4; + EAttribute getEEFGroupDescription_Identifier(); /** - * The feature id for the 'Identifier' attribute. - * - * + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getLabelExpression + * Label Expression}'. + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.EEFGroupDescription#getLabelExpression() + * @see #getEEFGroupDescription() * @generated - * @ordered */ - int EEF_WIDGET_DESCRIPTION__IDENTIFIER = 0; + EAttribute getEEFGroupDescription_LabelExpression(); /** - * The feature id for the 'Precondition Expression' attribute. - * - * + * Returns the meta object for the attribute ' + * {@link org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression Semantic Candidate Expression} + * '. + * + * @return the meta object for the attribute 'Semantic Candidate Expression'. + * @see org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression() + * @see #getEEFGroupDescription() * @generated - * @ordered */ - int EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION = 1; + EAttribute getEEFGroupDescription_SemanticCandidateExpression(); /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * + * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFGroupDescription#getContainer + * Container}'. + * + * @return the meta object for the containment reference 'Container'. + * @see org.eclipse.eef.EEFGroupDescription#getContainer() + * @see #getEEFGroupDescription() * @generated - * @ordered */ - int EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES = 2; + EReference getEEFGroupDescription_Container(); /** - * The feature id for the 'Label Expression' attribute. - * - * + * Returns the meta object for class '{@link org.eclipse.eef.EEFContainerDescription + * EEF Container Description}'. + * + * @return the meta object for class 'EEF Container Description'. + * @see org.eclipse.eef.EEFContainerDescription * @generated - * @ordered */ - int EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION = 3; + EClass getEEFContainerDescription(); /** - * The feature id for the 'Label Style' reference. - * - * + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getIdentifier + * Identifier}'. + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFContainerDescription#getIdentifier() + * @see #getEEFContainerDescription() * @generated - * @ordered */ - int EEF_WIDGET_DESCRIPTION__LABEL_STYLE = 4; + EAttribute getEEFContainerDescription_Identifier(); /** - * The feature id for the 'Tooltip Expression' attribute. - * - * + * Returns the meta object for the containment reference list ' + * {@link org.eclipse.eef.EEFContainerDescription#getWidgets Widgets}'. + * + * @return the meta object for the containment reference list 'Widgets'. + * @see org.eclipse.eef.EEFContainerDescription#getWidgets() + * @see #getEEFContainerDescription() * @generated - * @ordered */ - int EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION = 5; + EReference getEEFContainerDescription_Widgets(); /** - * The feature id for the 'Help Expression' attribute. - * - * + * Returns the meta object for class '{@link org.eclipse.eef.EEFWidgetDescription EEF Widget Description}'. + * + * + * @return the meta object for class 'EEF Widget Description'. + * @see org.eclipse.eef.EEFWidgetDescription * @generated - * @ordered */ - int EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION = 6; + EClass getEEFWidgetDescription(); /** - * The feature id for the 'Validation' containment reference. - * - * + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getIdentifier + * Identifier}'. + * + * @return the meta object for the attribute 'Identifier'. + * @see org.eclipse.eef.EEFWidgetDescription#getIdentifier() + * @see #getEEFWidgetDescription() * @generated - * @ordered */ - int EEF_WIDGET_DESCRIPTION__VALIDATION = 7; + EAttribute getEEFWidgetDescription_Identifier(); /** - * The number of structural features of the 'EEF Widget Description' class. - * - * + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression + * Label Expression}'. + * + * @return the meta object for the attribute 'Label Expression'. + * @see org.eclipse.eef.EEFWidgetDescription#getLabelExpression() + * @see #getEEFWidgetDescription() * @generated - * @ordered */ - int EEF_WIDGET_DESCRIPTION_FEATURE_COUNT = 8; + EAttribute getEEFWidgetDescription_LabelExpression(); /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl EEF Java Extension Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFJavaExtensionDescription() + * Returns the meta object for class '{@link org.eclipse.eef.EEFTextDescription EEF Text Description}'. + * + * + * @return the meta object for class 'EEF Text Description'. + * @see org.eclipse.eef.EEFTextDescription * @generated */ - int EEF_JAVA_EXTENSION_DESCRIPTION = 5; + EClass getEEFTextDescription(); /** - * The feature id for the 'Qualified Name' attribute. - * - * + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getValueExpression + * Value Expression}'. + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.eef.EEFTextDescription#getValueExpression() + * @see #getEEFTextDescription() * @generated - * @ordered */ - int EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME = 0; + EAttribute getEEFTextDescription_ValueExpression(); /** - * The number of structural features of the 'EEF Java Extension Description' class. - * - * + * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getEditExpression + * Edit Expression}'. + * + * @return the meta object for the attribute 'Edit Expression'. + * @see org.eclipse.eef.EEFTextDescription#getEditExpression() + * @see #getEEFTextDescription() * @generated - * @ordered */ - int EEF_JAVA_EXTENSION_DESCRIPTION_FEATURE_COUNT = 1; + EAttribute getEEFTextDescription_EditExpression(); /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl EEF Tree Structure Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStructureDescription() + * Returns the factory that creates the instances of the model. + * + * @return the factory that creates the instances of the model. * @generated */ - int EEF_TREE_STRUCTURE_DESCRIPTION = 6; + EefFactory getEefFactory(); /** - * The feature id for the 'Identifier' attribute. - * + * Defines literals for the meta objects that represent + *
                  + *
                • each class,
                • + *
                • each feature of each class,
                • + *
                • each enum,
                • + *
                • and each data type
                • + *
                * + * * @generated - * @ordered */ - int EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = 0; + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFViewDescriptionImpl + * EEF View Description}' class. + * + * @see org.eclipse.eef.impl.EEFViewDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFViewDescription() + * @generated + */ + EClass EEF_VIEW_DESCRIPTION = EefPackage.eINSTANCE.getEEFViewDescription(); - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = 1; + /** + * The meta object literal for the 'Identifier' attribute feature. + * + * @generated + */ + EAttribute EEF_VIEW_DESCRIPTION__IDENTIFIER = EefPackage.eINSTANCE.getEEFViewDescription_Identifier(); - /** - * The number of structural features of the 'EEF Tree Structure Description' class. - * - * - * @generated - * @ordered - */ - int EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl EEF Table Structure Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFTableStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStructureDescription() - * @generated - */ - int EEF_TABLE_STRUCTURE_DESCRIPTION = 24; - - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = 0; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = 1; - - /** - * The feature id for the 'Add Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION = 2; - - /** - * The feature id for the 'Remove Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION = 3; - - /** - * The feature id for the 'Up Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION = 4; - - /** - * The feature id for the 'Down Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION = 5; - - /** - * The number of structural features of the 'EEF Table Structure Description' class. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = 6; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl EEF Interpreted Table Structure Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFInterpretedTableStructureDescription() - * @generated - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION = 7; - - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Add Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION; - - /** - * The feature id for the 'Remove Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION; - - /** - * The feature id for the 'Up Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION; - - /** - * The feature id for the 'Down Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION; - - /** - * The feature id for the 'Columns' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Line' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'EEF Interpreted Table Structure Description' class. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFCellWidgetDescriptionImpl EEF Cell Widget Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFCellWidgetDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCellWidgetDescription() - * @generated - */ - int EEF_CELL_WIDGET_DESCRIPTION = 8; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Precondition Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; - - /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Label Style' reference. - * - * - * @generated - * @ordered - */ - int EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE = EEF_WIDGET_DESCRIPTION__LABEL_STYLE; - - /** - * The feature id for the 'Tooltip Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; - - /** - * The feature id for the 'Help Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION = EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION; - - /** - * The feature id for the 'Validation' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_CELL_WIDGET_DESCRIPTION__VALIDATION = EEF_WIDGET_DESCRIPTION__VALIDATION; - - /** - * The number of structural features of the 'EEF Cell Widget Description' class. - * - * - * @generated - * @ordered - */ - int EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl EEF Adapter Factory Tree Structure Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFAdapterFactoryTreeStructureDescription() - * @generated - */ - int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION = 9; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE; - - /** - * The feature id for the 'Adapter Factory Provider' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Adapter Factory Tree Structure Description' class. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl EEF Interpreted Tree Structure Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFInterpretedTreeStructureDescription() - * @generated - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION = 10; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE; - - /** - * The feature id for the 'Roots Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Children Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Selectable Predicate Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Candidate Display Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'EEF Interpreted Tree Structure Description' class. - * - * - * @generated - * @ordered - */ - int EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TREE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTextDescriptionImpl EEF Text Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFTextDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextDescription() - * @generated - */ - int EEF_TEXT_DESCRIPTION = 11; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Precondition Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; - - /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Label Style' reference. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; - - /** - * The feature id for the 'Tooltip Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; - - /** - * The feature id for the 'Help Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; - - /** - * The feature id for the 'Validation' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Edit Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Read Only Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Content Assist Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Placeholder Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; - - /** - * The feature id for the 'Line Count' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__LINE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 5; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__STYLE = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 6; - - /** - * The feature id for the 'Conditional Styles' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 7; - - /** - * The number of structural features of the 'EEF Text Description' class. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 8; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFCheckboxDescriptionImpl EEF Checkbox Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFCheckboxDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxDescription() - * @generated - */ - int EEF_CHECKBOX_DESCRIPTION = 12; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Precondition Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; - - /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Label Style' reference. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; - - /** - * The feature id for the 'Tooltip Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; - - /** - * The feature id for the 'Help Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; - - /** - * The feature id for the 'Validation' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Edit Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'EEF Checkbox Description' class. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFSelectDescriptionImpl EEF Select Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFSelectDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectDescription() - * @generated - */ - int EEF_SELECT_DESCRIPTION = 13; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Precondition Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; - - /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Label Style' reference. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; - - /** - * The feature id for the 'Tooltip Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; - - /** - * The feature id for the 'Help Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; - - /** - * The feature id for the 'Validation' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Edit Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__MULTIPLE = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Candidate Display Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; - - /** - * The number of structural features of the 'EEF Select Description' class. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 5; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFLabelDescriptionImpl EEF Label Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFLabelDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelDescription() - * @generated - */ - int EEF_LABEL_DESCRIPTION = 14; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Precondition Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; - - /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Label Style' reference. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; - - /** - * The feature id for the 'Tooltip Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; - - /** - * The feature id for the 'Help Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; - - /** - * The feature id for the 'Validation' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Label Description' class. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFRadioDescriptionImpl EEF Radio Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFRadioDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioDescription() - * @generated - */ - int EEF_RADIO_DESCRIPTION = 15; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Precondition Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; - - /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Label Style' reference. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__LABEL_STYLE = EEF_WIDGET_DESCRIPTION__LABEL_STYLE; - - /** - * The feature id for the 'Tooltip Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; - - /** - * The feature id for the 'Help Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__HELP_EXPRESSION = EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION; - - /** - * The feature id for the 'Validation' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__VALIDATION = EEF_WIDGET_DESCRIPTION__VALIDATION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Edit Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Candidate Display Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'EEF Radio Description' class. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl EEF Tree Dialog Select Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeDialogSelectDescription() - * @generated - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION = 16; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Precondition Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; - - /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Label Style' reference. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; - - /** - * The feature id for the 'Tooltip Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; - - /** - * The feature id for the 'Help Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; - - /** - * The feature id for the 'Validation' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; - - /** - * The feature id for the 'Semantic Candidate Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Default Filter' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Domain Class' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Tree' reference. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'EEF Tree Dialog Select Description' class. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DIALOG_SELECT_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFLinkDescriptionImpl EEF Link Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFLinkDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkDescription() - * @generated - */ - int EEF_LINK_DESCRIPTION = 17; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Precondition Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; - - /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Label Style' reference. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; - - /** - * The feature id for the 'Tooltip Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; - - /** - * The feature id for the 'Help Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; - - /** - * The feature id for the 'Validation' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; - - /** - * The feature id for the 'On Click Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Link Description' class. - * - * - * @generated - * @ordered - */ - int EEF_LINK_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFImageDescriptionImpl EEF Image Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFImageDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFImageDescription() - * @generated - */ - int EEF_IMAGE_DESCRIPTION = 18; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Precondition Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; - - /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Label Style' reference. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; - - /** - * The feature id for the 'Tooltip Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; - - /** - * The feature id for the 'Help Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; - - /** - * The feature id for the 'Validation' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Image Description' class. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTreeDescriptionImpl EEF Tree Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFTreeDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeDescription() - * @generated - */ - int EEF_TREE_DESCRIPTION = 19; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__IDENTIFIER = EEF_CELL_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Precondition Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; - - /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_CELL_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__LABEL_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Label Style' reference. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__LABEL_STYLE = EEF_CELL_WIDGET_DESCRIPTION__LABEL_STYLE; - - /** - * The feature id for the 'Tooltip Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; - - /** - * The feature id for the 'Help Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__HELP_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION__HELP_EXPRESSION; - - /** - * The feature id for the 'Validation' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__VALIDATION = EEF_CELL_WIDGET_DESCRIPTION__VALIDATION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__VALUE_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Tree Structure' reference. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__TREE_STRUCTURE = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Edit Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION__EDIT_EXPRESSION = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'EEF Tree Description' class. - * - * - * @generated - * @ordered - */ - int EEF_TREE_DESCRIPTION_FEATURE_COUNT = EEF_CELL_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFImagePickerDescriptionImpl EEF Image Picker Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFImagePickerDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFImagePickerDescription() - * @generated - */ - int EEF_IMAGE_PICKER_DESCRIPTION = 20; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Precondition Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; - - /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Label Style' reference. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__LABEL_STYLE = EEF_WIDGET_DESCRIPTION__LABEL_STYLE; - - /** - * The feature id for the 'Tooltip Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; - - /** - * The feature id for the 'Help Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__HELP_EXPRESSION = EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION; - - /** - * The feature id for the 'Validation' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__VALIDATION = EEF_WIDGET_DESCRIPTION__VALIDATION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Edit Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'EEF Image Picker Description' class. - * - * - * @generated - * @ordered - */ - int EEF_IMAGE_PICKER_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTableDescriptionImpl EEF Table Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFTableDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableDescription() - * @generated - */ - int EEF_TABLE_DESCRIPTION = 21; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__IDENTIFIER = EEF_WIDGET_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Precondition Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__PRECONDITION_EXPRESSION = EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION; - - /** - * The feature id for the 'User Defined Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__USER_DEFINED_VARIABLES = EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES; - - /** - * The feature id for the 'Label Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__LABEL_EXPRESSION = EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION; - - /** - * The feature id for the 'Label Style' reference. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__LABEL_STYLE = EEF_WIDGET_DESCRIPTION__LABEL_STYLE; - - /** - * The feature id for the 'Tooltip Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__TOOLTIP_EXPRESSION = EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION; - - /** - * The feature id for the 'Help Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__HELP_EXPRESSION = EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION; - - /** - * The feature id for the 'Validation' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__VALIDATION = EEF_WIDGET_DESCRIPTION__VALIDATION; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Edit Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Table Structure' reference. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'EEF Table Description' class. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_DESCRIPTION_FEATURE_COUNT = EEF_WIDGET_DESCRIPTION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFColumnDescriptionImpl EEF Column Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFColumnDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnDescription() - * @generated - */ - int EEF_COLUMN_DESCRIPTION = 22; - - /** - * The feature id for the 'Width' attribute. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_DESCRIPTION__WIDTH = 0; - - /** - * The feature id for the 'Header Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION = 1; - - /** - * The feature id for the 'Cell Widget' reference. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_DESCRIPTION__CELL_WIDGET = 2; - - /** - * The number of structural features of the 'EEF Column Description' class. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_DESCRIPTION_FEATURE_COUNT = 3; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFLineDescriptionImpl EEF Line Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFLineDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineDescription() - * @generated - */ - int EEF_LINE_DESCRIPTION = 23; - - /** - * The feature id for the 'Header Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINE_DESCRIPTION__HEADER_EXPRESSION = 0; - - /** - * The feature id for the 'Semantic Candidates Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = 1; - - /** - * The feature id for the 'Domain Class' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINE_DESCRIPTION__DOMAIN_CLASS = 2; - - /** - * The feature id for the 'Sub Lines' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_LINE_DESCRIPTION__SUB_LINES = 3; - - /** - * The number of structural features of the 'EEF Line Description' class. - * - * - * @generated - * @ordered - */ - int EEF_LINE_DESCRIPTION_FEATURE_COUNT = 4; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl EEF Adapter Factory Table Structure Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFAdapterFactoryTableStructureDescription() - * @generated - */ - int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION = 25; - - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE; - - /** - * The feature id for the 'Identifier' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER; - - /** - * The feature id for the 'Add Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION; - - /** - * The feature id for the 'Remove Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION; - - /** - * The feature id for the 'Up Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION; - - /** - * The feature id for the 'Down Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION = EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION; - - /** - * The feature id for the 'Adapter Factory Provider' attribute. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Adapter Factory Table Structure Description' class. - * - * - * @generated - * @ordered - */ - int EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT = EEF_TABLE_STRUCTURE_DESCRIPTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFStyleImpl EEF Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFStyle() - * @generated - */ - int EEF_STYLE = 26; - - /** - * The feature id for the 'Font Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_STYLE__FONT_EXPRESSION = 0; - - /** - * The number of structural features of the 'EEF Style' class. - * - * - * @generated - * @ordered - */ - int EEF_STYLE_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFConditionalStyleImpl EEF Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFConditionalStyle() - * @generated - */ - int EEF_CONDITIONAL_STYLE = 27; - - /** - * The feature id for the 'Conditional Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = 0; - - /** - * The number of structural features of the 'EEF Conditional Style' class. - * - * - * @generated - * @ordered - */ - int EEF_CONDITIONAL_STYLE_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFStyleCustomizationImpl EEF Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFStyleCustomization() - * @generated - */ - int EEF_STYLE_CUSTOMIZATION = 28; - - /** - * The number of structural features of the 'EEF Style Customization' class. - * - * - * @generated - * @ordered - */ - int EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFGroupStyleImpl EEF Group Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFGroupStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupStyle() - * @generated - */ - int EEF_GROUP_STYLE = 29; - - /** - * The feature id for the 'Font Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; - - /** - * The feature id for the 'Foreground Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Group Style' class. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFGroupConditionalStyleImpl EEF Group Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFGroupConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupConditionalStyle() - * @generated - */ - int EEF_GROUP_CONDITIONAL_STYLE = 30; - - /** - * The feature id for the 'Conditional Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Group Conditional Style' class. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFGroupStyleCustomizationImpl EEF Group Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFGroupStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupStyleCustomization() - * @generated - */ - int EEF_GROUP_STYLE_CUSTOMIZATION = 31; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Group Style Customization' class. - * - * - * @generated - * @ordered - */ - int EEF_GROUP_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTextStyleImpl EEF Text Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFTextStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextStyle() - * @generated - */ - int EEF_TEXT_STYLE = 32; - - /** - * The feature id for the 'Font Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; - - /** - * The feature id for the 'Background Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Foreground Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'EEF Text Style' class. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTextConditionalStyleImpl EEF Text Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFTextConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextConditionalStyle() - * @generated - */ - int EEF_TEXT_CONDITIONAL_STYLE = 33; - - /** - * The feature id for the 'Conditional Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Text Conditional Style' class. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTextStyleCustomizationImpl EEF Text Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFTextStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextStyleCustomization() - * @generated - */ - int EEF_TEXT_STYLE_CUSTOMIZATION = 34; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Text Style Customization' class. - * - * - * @generated - * @ordered - */ - int EEF_TEXT_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFCheckboxStyleImpl EEF Checkbox Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFCheckboxStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxStyle() - * @generated - */ - int EEF_CHECKBOX_STYLE = 35; - - /** - * The feature id for the 'Font Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; - - /** - * The feature id for the 'Background Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Foreground Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'EEF Checkbox Style' class. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFCheckboxConditionalStyleImpl EEF Checkbox Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFCheckboxConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxConditionalStyle() - * @generated - */ - int EEF_CHECKBOX_CONDITIONAL_STYLE = 36; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE = 0; - - /** - * The number of structural features of the 'EEF Checkbox Conditional Style' class. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_CONDITIONAL_STYLE_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFCheckboxStyleCustomizationImpl EEF Checkbox Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFCheckboxStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxStyleCustomization() - * @generated - */ - int EEF_CHECKBOX_STYLE_CUSTOMIZATION = 37; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Checkbox Style Customization' class. - * - * - * @generated - * @ordered - */ - int EEF_CHECKBOX_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFLabelStyleImpl EEF Label Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFLabelStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelStyle() - * @generated - */ - int EEF_LABEL_STYLE = 38; - - /** - * The feature id for the 'Font Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; - - /** - * The feature id for the 'Background Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Foreground Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'EEF Label Style' class. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFLabelConditionalStyleImpl EEF Label Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFLabelConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelConditionalStyle() - * @generated - */ - int EEF_LABEL_CONDITIONAL_STYLE = 39; - - /** - * The feature id for the 'Conditional Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Label Conditional Style' class. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFLabelStyleCustomizationImpl EEF Label Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFLabelStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelStyleCustomization() - * @generated - */ - int EEF_LABEL_STYLE_CUSTOMIZATION = 40; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Label Style Customization' class. - * - * - * @generated - * @ordered - */ - int EEF_LABEL_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFRadioStyleImpl EEF Radio Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFRadioStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioStyle() - * @generated - */ - int EEF_RADIO_STYLE = 41; - - /** - * The feature id for the 'Font Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; - - /** - * The feature id for the 'Background Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Foreground Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'EEF Radio Style' class. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFRadioConditionalStyleImpl EEF Radio Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFRadioConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioConditionalStyle() - * @generated - */ - int EEF_RADIO_CONDITIONAL_STYLE = 42; - - /** - * The feature id for the 'Conditional Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Radio Conditional Style' class. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFRadioStyleCustomizationImpl EEF Radio Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFRadioStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioStyleCustomization() - * @generated - */ - int EEF_RADIO_STYLE_CUSTOMIZATION = 43; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Radio Style Customization' class. - * - * - * @generated - * @ordered - */ - int EEF_RADIO_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFLinkStyleImpl EEF Link Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFLinkStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkStyle() - * @generated - */ - int EEF_LINK_STYLE = 44; - - /** - * The feature id for the 'Font Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINK_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; - - /** - * The feature id for the 'Background Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Foreground Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Background Image Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'EEF Link Style' class. - * - * - * @generated - * @ordered - */ - int EEF_LINK_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFLinkConditionalStyleImpl EEF Link Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFLinkConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkConditionalStyle() - * @generated - */ - int EEF_LINK_CONDITIONAL_STYLE = 45; - - /** - * The feature id for the 'Conditional Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINK_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_LINK_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Link Conditional Style' class. - * - * - * @generated - * @ordered - */ - int EEF_LINK_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFLinkStyleCustomizationImpl EEF Link Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFLinkStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkStyleCustomization() - * @generated - */ - int EEF_LINK_STYLE_CUSTOMIZATION = 46; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_LINK_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Link Style Customization' class. - * - * - * @generated - * @ordered - */ - int EEF_LINK_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFSelectStyleImpl EEF Select Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFSelectStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectStyle() - * @generated - */ - int EEF_SELECT_STYLE = 47; - - /** - * The feature id for the 'Font Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; - - /** - * The feature id for the 'Background Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Foreground Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'EEF Select Style' class. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFSelectConditionalStyleImpl EEF Select Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFSelectConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectConditionalStyle() - * @generated - */ - int EEF_SELECT_CONDITIONAL_STYLE = 48; - - /** - * The feature id for the 'Conditional Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Select Conditional Style' class. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFSelectStyleCustomizationImpl EEF Select Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFSelectStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectStyleCustomization() - * @generated - */ - int EEF_SELECT_STYLE_CUSTOMIZATION = 49; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Select Style Customization' class. - * - * - * @generated - * @ordered - */ - int EEF_SELECT_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTreeStyleImpl EEF Tree Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFTreeStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStyle() - * @generated - */ - int EEF_TREE_STYLE = 50; - - /** - * The feature id for the 'Font Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; - - /** - * The number of structural features of the 'EEF Tree Style' class. - * - * - * @generated - * @ordered - */ - int EEF_TREE_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTreeConditionalStyleImpl EEF Tree Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFTreeConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeConditionalStyle() - * @generated - */ - int EEF_TREE_CONDITIONAL_STYLE = 51; - - /** - * The feature id for the 'Conditional Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TREE_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_TREE_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Tree Conditional Style' class. - * - * - * @generated - * @ordered - */ - int EEF_TREE_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTreeStyleCustomizationImpl EEF Tree Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFTreeStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStyleCustomization() - * @generated - */ - int EEF_TREE_STYLE_CUSTOMIZATION = 52; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_TREE_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Tree Style Customization' class. - * - * - * @generated - * @ordered - */ - int EEF_TREE_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTableStyleImpl EEF Table Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFTableStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStyle() - * @generated - */ - int EEF_TABLE_STYLE = 53; - - /** - * The feature id for the 'Font Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; - - /** - * The number of structural features of the 'EEF Table Style' class. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTableConditionalStyleImpl EEF Table Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFTableConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableConditionalStyle() - * @generated - */ - int EEF_TABLE_CONDITIONAL_STYLE = 54; - - /** - * The feature id for the 'Conditional Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Table Conditional Style' class. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFTableStyleCustomizationImpl EEF Table Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFTableStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStyleCustomization() - * @generated - */ - int EEF_TABLE_STYLE_CUSTOMIZATION = 55; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Table Style Customization' class. - * - * - * @generated - * @ordered - */ - int EEF_TABLE_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFLineStyleImpl EEF Line Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFLineStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineStyle() - * @generated - */ - int EEF_LINE_STYLE = 56; - - /** - * The feature id for the 'Font Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINE_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; - - /** - * The feature id for the 'Background Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Foreground Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Header Background Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Header Foreground Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'EEF Line Style' class. - * - * - * @generated - * @ordered - */ - int EEF_LINE_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFLineConditionalStyleImpl EEF Line Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFLineConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineConditionalStyle() - * @generated - */ - int EEF_LINE_CONDITIONAL_STYLE = 57; - - /** - * The feature id for the 'Conditional Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_LINE_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_LINE_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Line Conditional Style' class. - * - * - * @generated - * @ordered - */ - int EEF_LINE_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFLineStyleCustomizationImpl EEF Line Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFLineStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineStyleCustomization() - * @generated - */ - int EEF_LINE_STYLE_CUSTOMIZATION = 58; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_LINE_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Line Style Customization' class. - * - * - * @generated - * @ordered - */ - int EEF_LINE_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFColumnStyleImpl EEF Column Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFColumnStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnStyle() - * @generated - */ - int EEF_COLUMN_STYLE = 59; - - /** - * The feature id for the 'Font Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_STYLE__FONT_EXPRESSION = EEF_STYLE__FONT_EXPRESSION; - - /** - * The feature id for the 'Background Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Foreground Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Header Background Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Header Foreground Color Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION = EEF_STYLE_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'EEF Column Style' class. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_STYLE_FEATURE_COUNT = EEF_STYLE_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFColumnConditionalStyleImpl EEF Column Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFColumnConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnConditionalStyle() - * @generated - */ - int EEF_COLUMN_CONDITIONAL_STYLE = 60; - - /** - * The feature id for the 'Conditional Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_CONDITIONAL_STYLE__STYLE = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Column Conditional Style' class. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_CONDITIONAL_STYLE_FEATURE_COUNT = EEF_CONDITIONAL_STYLE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFColumnStyleCustomizationImpl EEF Column Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFColumnStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnStyleCustomization() - * @generated - */ - int EEF_COLUMN_STYLE_CUSTOMIZATION = 61; - - /** - * The feature id for the 'Style' containment reference. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EEF Column Style Customization' class. - * - * - * @generated - * @ordered - */ - int EEF_COLUMN_STYLE_CUSTOMIZATION_FEATURE_COUNT = EEF_STYLE_CUSTOMIZATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFQuickFixImpl EEF Quick Fix}' class. - * - * - * @see org.eclipse.eef.impl.EEFQuickFixImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFQuickFix() - * @generated - */ - int EEF_QUICK_FIX = 62; - - /** - * The feature id for the 'Title Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_QUICK_FIX__TITLE_EXPRESSION = 0; - - /** - * The feature id for the 'Message Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_QUICK_FIX__MESSAGE_EXPRESSION = 1; - - /** - * The feature id for the 'Can Handle Status Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION = 2; - - /** - * The feature id for the 'Fix Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_QUICK_FIX__FIX_EXPRESSION = 3; - - /** - * The number of structural features of the 'EEF Quick Fix' class. - * - * - * @generated - * @ordered - */ - int EEF_QUICK_FIX_FEATURE_COUNT = 4; - - /** - * The meta object id for the '{@link org.eclipse.eef.impl.EEFValidationImpl EEF Validation}' class. - * - * - * @see org.eclipse.eef.impl.EEFValidationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFValidation() - * @generated - */ - int EEF_VALIDATION = 63; - - /** - * The feature id for the 'Validation Expression' attribute. - * - * - * @generated - * @ordered - */ - int EEF_VALIDATION__VALIDATION_EXPRESSION = 0; - - /** - * The feature id for the 'Quickfixes' containment reference list. - * - * - * @generated - * @ordered - */ - int EEF_VALIDATION__QUICKFIXES = 1; - - /** - * The number of structural features of the 'EEF Validation' class. - * - * - * @generated - * @ordered - */ - int EEF_VALIDATION_FEATURE_COUNT = 2; - - /** - * The meta object id for the 'Type Name' data type. - * - * - * @see java.lang.String - * @see org.eclipse.eef.impl.EefPackageImpl#getTypeName() - * @generated - */ - int TYPE_NAME = 64; - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFViewDescription EEF View Description}'. - * - * - * @return the meta object for class 'EEF View Description'. - * @see org.eclipse.eef.EEFViewDescription - * @generated - */ - EClass getEEFViewDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFViewDescription#getIdentifier Identifier}'. - * - * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.EEFViewDescription#getIdentifier() - * @see #getEEFViewDescription() - * @generated - */ - EAttribute getEEFViewDescription_Identifier(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFViewDescription#getPreconditionExpression Precondition Expression}'. - * - * - * @return the meta object for the attribute 'Precondition Expression'. - * @see org.eclipse.eef.EEFViewDescription#getPreconditionExpression() - * @see #getEEFViewDescription() - * @generated - */ - EAttribute getEEFViewDescription_PreconditionExpression(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getUserDefinedVariables User Defined Variables}'. - * - * - * @return the meta object for the containment reference list 'User Defined Variables'. - * @see org.eclipse.eef.EEFViewDescription#getUserDefinedVariables() - * @see #getEEFViewDescription() - * @generated - */ - EReference getEEFViewDescription_UserDefinedVariables(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFViewDescription#getLabelExpression Label Expression}'. - * - * - * @return the meta object for the attribute 'Label Expression'. - * @see org.eclipse.eef.EEFViewDescription#getLabelExpression() - * @see #getEEFViewDescription() - * @generated - */ - EAttribute getEEFViewDescription_LabelExpression(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.eef.EEFViewDescription#getEPackageNsUris EPackage Ns Uris}'. - * - * - * @return the meta object for the attribute list 'EPackage Ns Uris'. - * @see org.eclipse.eef.EEFViewDescription#getEPackageNsUris() - * @see #getEEFViewDescription() - * @generated - */ - EAttribute getEEFViewDescription_EPackageNsUris(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getGroups Groups}'. - * - * - * @return the meta object for the containment reference list 'Groups'. - * @see org.eclipse.eef.EEFViewDescription#getGroups() - * @see #getEEFViewDescription() - * @generated - */ - EReference getEEFViewDescription_Groups(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getPages Pages}'. - * - * - * @return the meta object for the containment reference list 'Pages'. - * @see org.eclipse.eef.EEFViewDescription#getPages() - * @see #getEEFViewDescription() - * @generated - */ - EReference getEEFViewDescription_Pages(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getJavaExtensions Java Extensions}'. - * - * - * @return the meta object for the containment reference list 'Java Extensions'. - * @see org.eclipse.eef.EEFViewDescription#getJavaExtensions() - * @see #getEEFViewDescription() - * @generated - */ - EReference getEEFViewDescription_JavaExtensions(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.eef.EEFViewDescription#getImportedViews Imported Views}'. - * - * - * @return the meta object for the reference list 'Imported Views'. - * @see org.eclipse.eef.EEFViewDescription#getImportedViews() - * @see #getEEFViewDescription() - * @generated - */ - EReference getEEFViewDescription_ImportedViews(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getTreeStructures Tree Structures}'. - * - * - * @return the meta object for the containment reference list 'Tree Structures'. - * @see org.eclipse.eef.EEFViewDescription#getTreeStructures() - * @see #getEEFViewDescription() - * @generated - */ - EReference getEEFViewDescription_TreeStructures(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFViewDescription#getTableStructures Table Structures}'. - * - * - * @return the meta object for the containment reference list 'Table Structures'. - * @see org.eclipse.eef.EEFViewDescription#getTableStructures() - * @see #getEEFViewDescription() - * @generated - */ - EReference getEEFViewDescription_TableStructures(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.eef.EEFViewDescription#getStyleCustomizations Style Customizations}'. - * - * - * @return the meta object for the reference list 'Style Customizations'. - * @see org.eclipse.eef.EEFViewDescription#getStyleCustomizations() - * @see #getEEFViewDescription() - * @generated - */ - EReference getEEFViewDescription_StyleCustomizations(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFPageDescription EEF Page Description}'. - * - * - * @return the meta object for class 'EEF Page Description'. - * @see org.eclipse.eef.EEFPageDescription - * @generated - */ - EClass getEEFPageDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getIdentifier Identifier}'. - * - * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.EEFPageDescription#getIdentifier() - * @see #getEEFPageDescription() - * @generated - */ - EAttribute getEEFPageDescription_Identifier(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getPreconditionExpression Precondition Expression}'. - * - * - * @return the meta object for the attribute 'Precondition Expression'. - * @see org.eclipse.eef.EEFPageDescription#getPreconditionExpression() - * @see #getEEFPageDescription() - * @generated - */ - EAttribute getEEFPageDescription_PreconditionExpression(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFPageDescription#getUserDefinedVariables User Defined Variables}'. - * - * - * @return the meta object for the containment reference list 'User Defined Variables'. - * @see org.eclipse.eef.EEFPageDescription#getUserDefinedVariables() - * @see #getEEFPageDescription() - * @generated - */ - EReference getEEFPageDescription_UserDefinedVariables(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getLabelExpression Label Expression}'. - * - * - * @return the meta object for the attribute 'Label Expression'. - * @see org.eclipse.eef.EEFPageDescription#getLabelExpression() - * @see #getEEFPageDescription() - * @generated - */ - EAttribute getEEFPageDescription_LabelExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getDomainClass Domain Class}'. - * - * - * @return the meta object for the attribute 'Domain Class'. - * @see org.eclipse.eef.EEFPageDescription#getDomainClass() - * @see #getEEFPageDescription() - * @generated - */ - EAttribute getEEFPageDescription_DomainClass(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. - * - * - * @return the meta object for the attribute 'Semantic Candidate Expression'. - * @see org.eclipse.eef.EEFPageDescription#getSemanticCandidateExpression() - * @see #getEEFPageDescription() - * @generated - */ - EAttribute getEEFPageDescription_SemanticCandidateExpression(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.eef.EEFPageDescription#getGroups Groups}'. - * - * - * @return the meta object for the reference list 'Groups'. - * @see org.eclipse.eef.EEFPageDescription#getGroups() - * @see #getEEFPageDescription() - * @generated - */ - EReference getEEFPageDescription_Groups(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.eef.EEFPageDescription#getExtendedPage Extended Page}'. - * - * - * @return the meta object for the reference 'Extended Page'. - * @see org.eclipse.eef.EEFPageDescription#getExtendedPage() - * @see #getEEFPageDescription() - * @generated - */ - EReference getEEFPageDescription_ExtendedPage(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFGroupDescription EEF Group Description}'. - * - * - * @return the meta object for class 'EEF Group Description'. - * @see org.eclipse.eef.EEFGroupDescription - * @generated - */ - EClass getEEFGroupDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getIdentifier Identifier}'. - * - * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.EEFGroupDescription#getIdentifier() - * @see #getEEFGroupDescription() - * @generated - */ - EAttribute getEEFGroupDescription_Identifier(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getPreconditionExpression Precondition Expression}'. - * - * - * @return the meta object for the attribute 'Precondition Expression'. - * @see org.eclipse.eef.EEFGroupDescription#getPreconditionExpression() - * @see #getEEFGroupDescription() - * @generated - */ - EAttribute getEEFGroupDescription_PreconditionExpression(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFGroupDescription#getUserDefinedVariables User Defined Variables}'. - * - * - * @return the meta object for the containment reference list 'User Defined Variables'. - * @see org.eclipse.eef.EEFGroupDescription#getUserDefinedVariables() - * @see #getEEFGroupDescription() - * @generated - */ - EReference getEEFGroupDescription_UserDefinedVariables(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getLabelExpression Label Expression}'. - * - * - * @return the meta object for the attribute 'Label Expression'. - * @see org.eclipse.eef.EEFGroupDescription#getLabelExpression() - * @see #getEEFGroupDescription() - * @generated - */ - EAttribute getEEFGroupDescription_LabelExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getDomainClass Domain Class}'. - * - * - * @return the meta object for the attribute 'Domain Class'. - * @see org.eclipse.eef.EEFGroupDescription#getDomainClass() - * @see #getEEFGroupDescription() - * @generated - */ - EAttribute getEEFGroupDescription_DomainClass(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. - * - * - * @return the meta object for the attribute 'Semantic Candidate Expression'. - * @see org.eclipse.eef.EEFGroupDescription#getSemanticCandidateExpression() - * @see #getEEFGroupDescription() - * @generated - */ - EAttribute getEEFGroupDescription_SemanticCandidateExpression(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFGroupDescription#getContainer Container}'. - * - * - * @return the meta object for the containment reference 'Container'. - * @see org.eclipse.eef.EEFGroupDescription#getContainer() - * @see #getEEFGroupDescription() - * @generated - */ - EReference getEEFGroupDescription_Container(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getCollapsibleExpression Collapsible Expression}'. - * - * - * @return the meta object for the attribute 'Collapsible Expression'. - * @see org.eclipse.eef.EEFGroupDescription#getCollapsibleExpression() - * @see #getEEFGroupDescription() - * @generated - */ - EAttribute getEEFGroupDescription_CollapsibleExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupDescription#getCollapsedByDefaultExpression Collapsed By Default Expression}'. - * - * - * @return the meta object for the attribute 'Collapsed By Default Expression'. - * @see org.eclipse.eef.EEFGroupDescription#getCollapsedByDefaultExpression() - * @see #getEEFGroupDescription() - * @generated - */ - EAttribute getEEFGroupDescription_CollapsedByDefaultExpression(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFGroupDescription#getValidation Validation}'. - * - * - * @return the meta object for the containment reference 'Validation'. - * @see org.eclipse.eef.EEFGroupDescription#getValidation() - * @see #getEEFGroupDescription() - * @generated - */ - EReference getEEFGroupDescription_Validation(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFContainerDescription EEF Container Description}'. - * - * - * @return the meta object for class 'EEF Container Description'. - * @see org.eclipse.eef.EEFContainerDescription - * @generated - */ - EClass getEEFContainerDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getIdentifier Identifier}'. - * - * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.EEFContainerDescription#getIdentifier() - * @see #getEEFContainerDescription() - * @generated - */ - EAttribute getEEFContainerDescription_Identifier(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getPreconditionExpression Precondition Expression}'. - * - * - * @return the meta object for the attribute 'Precondition Expression'. - * @see org.eclipse.eef.EEFContainerDescription#getPreconditionExpression() - * @see #getEEFContainerDescription() - * @generated - */ - EAttribute getEEFContainerDescription_PreconditionExpression(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFContainerDescription#getUserDefinedVariables User Defined Variables}'. - * - * - * @return the meta object for the containment reference list 'User Defined Variables'. - * @see org.eclipse.eef.EEFContainerDescription#getUserDefinedVariables() - * @see #getEEFContainerDescription() - * @generated - */ - EReference getEEFContainerDescription_UserDefinedVariables(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. - * - * - * @return the meta object for the attribute 'Semantic Candidate Expression'. - * @see org.eclipse.eef.EEFContainerDescription#getSemanticCandidateExpression() - * @see #getEEFContainerDescription() - * @generated - */ - EAttribute getEEFContainerDescription_SemanticCandidateExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getDomainClass Domain Class}'. - * - * - * @return the meta object for the attribute 'Domain Class'. - * @see org.eclipse.eef.EEFContainerDescription#getDomainClass() - * @see #getEEFContainerDescription() - * @generated - */ - EAttribute getEEFContainerDescription_DomainClass(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFContainerDescription#getLayoutColumnCount Layout Column Count}'. - * - * - * @return the meta object for the attribute 'Layout Column Count'. - * @see org.eclipse.eef.EEFContainerDescription#getLayoutColumnCount() - * @see #getEEFContainerDescription() - * @generated - */ - EAttribute getEEFContainerDescription_LayoutColumnCount(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFContainerDescription#getContainers Containers}'. - * - * - * @return the meta object for the containment reference list 'Containers'. - * @see org.eclipse.eef.EEFContainerDescription#getContainers() - * @see #getEEFContainerDescription() - * @generated - */ - EReference getEEFContainerDescription_Containers(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFContainerDescription#getWidgets Widgets}'. - * - * - * @return the meta object for the containment reference list 'Widgets'. - * @see org.eclipse.eef.EEFContainerDescription#getWidgets() - * @see #getEEFContainerDescription() - * @generated - */ - EReference getEEFContainerDescription_Widgets(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFWidgetDescription EEF Widget Description}'. - * - * - * @return the meta object for class 'EEF Widget Description'. - * @see org.eclipse.eef.EEFWidgetDescription - * @generated - */ - EClass getEEFWidgetDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getIdentifier Identifier}'. - * - * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.EEFWidgetDescription#getIdentifier() - * @see #getEEFWidgetDescription() - * @generated - */ - EAttribute getEEFWidgetDescription_Identifier(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getPreconditionExpression Precondition Expression}'. - * - * - * @return the meta object for the attribute 'Precondition Expression'. - * @see org.eclipse.eef.EEFWidgetDescription#getPreconditionExpression() - * @see #getEEFWidgetDescription() - * @generated - */ - EAttribute getEEFWidgetDescription_PreconditionExpression(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFWidgetDescription#getUserDefinedVariables User Defined Variables}'. - * - * - * @return the meta object for the containment reference list 'User Defined Variables'. - * @see org.eclipse.eef.EEFWidgetDescription#getUserDefinedVariables() - * @see #getEEFWidgetDescription() - * @generated - */ - EReference getEEFWidgetDescription_UserDefinedVariables(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression Label Expression}'. - * - * - * @return the meta object for the attribute 'Label Expression'. - * @see org.eclipse.eef.EEFWidgetDescription#getLabelExpression() - * @see #getEEFWidgetDescription() - * @generated - */ - EAttribute getEEFWidgetDescription_LabelExpression(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.eef.EEFWidgetDescription#getLabelStyle Label Style}'. - * - * - * @return the meta object for the reference 'Label Style'. - * @see org.eclipse.eef.EEFWidgetDescription#getLabelStyle() - * @see #getEEFWidgetDescription() - * @generated - */ - EReference getEEFWidgetDescription_LabelStyle(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getTooltipExpression Tooltip Expression}'. - * - * - * @return the meta object for the attribute 'Tooltip Expression'. - * @see org.eclipse.eef.EEFWidgetDescription#getTooltipExpression() - * @see #getEEFWidgetDescription() - * @generated - */ - EAttribute getEEFWidgetDescription_TooltipExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFWidgetDescription#getHelpExpression Help Expression}'. - * - * - * @return the meta object for the attribute 'Help Expression'. - * @see org.eclipse.eef.EEFWidgetDescription#getHelpExpression() - * @see #getEEFWidgetDescription() - * @generated - */ - EAttribute getEEFWidgetDescription_HelpExpression(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFWidgetDescription#getValidation Validation}'. - * - * - * @return the meta object for the containment reference 'Validation'. - * @see org.eclipse.eef.EEFWidgetDescription#getValidation() - * @see #getEEFWidgetDescription() - * @generated - */ - EReference getEEFWidgetDescription_Validation(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFJavaExtensionDescription EEF Java Extension Description}'. - * - * - * @return the meta object for class 'EEF Java Extension Description'. - * @see org.eclipse.eef.EEFJavaExtensionDescription - * @generated - */ - EClass getEEFJavaExtensionDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFJavaExtensionDescription#getQualifiedName Qualified Name}'. - * - * - * @return the meta object for the attribute 'Qualified Name'. - * @see org.eclipse.eef.EEFJavaExtensionDescription#getQualifiedName() - * @see #getEEFJavaExtensionDescription() - * @generated - */ - EAttribute getEEFJavaExtensionDescription_QualifiedName(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeStructureDescription EEF Tree Structure Description}'. - * - * - * @return the meta object for class 'EEF Tree Structure Description'. - * @see org.eclipse.eef.EEFTreeStructureDescription - * @generated - */ - EClass getEEFTreeStructureDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeStructureDescription#getIdentifier Identifier}'. - * - * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.EEFTreeStructureDescription#getIdentifier() - * @see #getEEFTreeStructureDescription() - * @generated - */ - EAttribute getEEFTreeStructureDescription_Identifier(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeStructureDescription#isMultiple Multiple}'. - * - * - * @return the meta object for the attribute 'Multiple'. - * @see org.eclipse.eef.EEFTreeStructureDescription#isMultiple() - * @see #getEEFTreeStructureDescription() - * @generated - */ - EAttribute getEEFTreeStructureDescription_Multiple(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription EEF Interpreted Table Structure Description}'. - * - * - * @return the meta object for class 'EEF Interpreted Table Structure Description'. - * @see org.eclipse.eef.EEFInterpretedTableStructureDescription - * @generated - */ - EClass getEEFInterpretedTableStructureDescription(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription#getColumns Columns}'. - * - * - * @return the meta object for the containment reference list 'Columns'. - * @see org.eclipse.eef.EEFInterpretedTableStructureDescription#getColumns() - * @see #getEEFInterpretedTableStructureDescription() - * @generated - */ - EReference getEEFInterpretedTableStructureDescription_Columns(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription#getLine Line}'. - * - * - * @return the meta object for the containment reference 'Line'. - * @see org.eclipse.eef.EEFInterpretedTableStructureDescription#getLine() - * @see #getEEFInterpretedTableStructureDescription() - * @generated - */ - EReference getEEFInterpretedTableStructureDescription_Line(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFCellWidgetDescription EEF Cell Widget Description}'. - * - * - * @return the meta object for class 'EEF Cell Widget Description'. - * @see org.eclipse.eef.EEFCellWidgetDescription - * @generated - */ - EClass getEEFCellWidgetDescription(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription EEF Adapter Factory Tree Structure Description}'. - * - * - * @return the meta object for class 'EEF Adapter Factory Tree Structure Description'. - * @see org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription - * @generated - */ - EClass getEEFAdapterFactoryTreeStructureDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}'. - * - * - * @return the meta object for the attribute 'Adapter Factory Provider'. - * @see org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription#getAdapterFactoryProvider() - * @see #getEEFAdapterFactoryTreeStructureDescription() - * @generated - */ - EAttribute getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription EEF Interpreted Tree Structure Description}'. - * - * - * @return the meta object for class 'EEF Interpreted Tree Structure Description'. - * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription - * @generated - */ - EClass getEEFInterpretedTreeStructureDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getRootsExpression Roots Expression}'. - * - * - * @return the meta object for the attribute 'Roots Expression'. - * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getRootsExpression() - * @see #getEEFInterpretedTreeStructureDescription() - * @generated - */ - EAttribute getEEFInterpretedTreeStructureDescription_RootsExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression Children Expression}'. - * - * - * @return the meta object for the attribute 'Children Expression'. - * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getChildrenExpression() - * @see #getEEFInterpretedTreeStructureDescription() - * @generated - */ - EAttribute getEEFInterpretedTreeStructureDescription_ChildrenExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression Selectable Predicate Expression}'. - * - * - * @return the meta object for the attribute 'Selectable Predicate Expression'. - * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getSelectablePredicateExpression() - * @see #getEEFInterpretedTreeStructureDescription() - * @generated - */ - EAttribute getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression Candidate Display Expression}'. - * - * - * @return the meta object for the attribute 'Candidate Display Expression'. - * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription#getCandidateDisplayExpression() - * @see #getEEFInterpretedTreeStructureDescription() - * @generated - */ - EAttribute getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTextDescription EEF Text Description}'. - * - * - * @return the meta object for class 'EEF Text Description'. - * @see org.eclipse.eef.EEFTextDescription - * @generated - */ - EClass getEEFTextDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFTextDescription#getValueExpression() - * @see #getEEFTextDescription() - * @generated - */ - EAttribute getEEFTextDescription_ValueExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getEditExpression Edit Expression}'. - * - * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.EEFTextDescription#getEditExpression() - * @see #getEEFTextDescription() - * @generated - */ - EAttribute getEEFTextDescription_EditExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getReadOnlyExpression Read Only Expression}'. - * - * - * @return the meta object for the attribute 'Read Only Expression'. - * @see org.eclipse.eef.EEFTextDescription#getReadOnlyExpression() - * @see #getEEFTextDescription() - * @generated - */ - EAttribute getEEFTextDescription_ReadOnlyExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getContentAssistExpression Content Assist Expression}'. - * - * - * @return the meta object for the attribute 'Content Assist Expression'. - * @see org.eclipse.eef.EEFTextDescription#getContentAssistExpression() - * @see #getEEFTextDescription() - * @generated - */ - EAttribute getEEFTextDescription_ContentAssistExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getPlaceholderExpression Placeholder Expression}'. - * - * - * @return the meta object for the attribute 'Placeholder Expression'. - * @see org.eclipse.eef.EEFTextDescription#getPlaceholderExpression() - * @see #getEEFTextDescription() - * @generated - */ - EAttribute getEEFTextDescription_PlaceholderExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextDescription#getLineCount Line Count}'. - * - * - * @return the meta object for the attribute 'Line Count'. - * @see org.eclipse.eef.EEFTextDescription#getLineCount() - * @see #getEEFTextDescription() - * @generated - */ - EAttribute getEEFTextDescription_LineCount(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFTextDescription#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFTextDescription#getStyle() - * @see #getEEFTextDescription() - * @generated - */ - EReference getEEFTextDescription_Style(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFTextDescription#getConditionalStyles Conditional Styles}'. - * - * - * @return the meta object for the containment reference list 'Conditional Styles'. - * @see org.eclipse.eef.EEFTextDescription#getConditionalStyles() - * @see #getEEFTextDescription() - * @generated - */ - EReference getEEFTextDescription_ConditionalStyles(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFCheckboxDescription EEF Checkbox Description}'. - * - * - * @return the meta object for class 'EEF Checkbox Description'. - * @see org.eclipse.eef.EEFCheckboxDescription - * @generated - */ - EClass getEEFCheckboxDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFCheckboxDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFCheckboxDescription#getValueExpression() - * @see #getEEFCheckboxDescription() - * @generated - */ - EAttribute getEEFCheckboxDescription_ValueExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFCheckboxDescription#getEditExpression Edit Expression}'. - * - * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.EEFCheckboxDescription#getEditExpression() - * @see #getEEFCheckboxDescription() - * @generated - */ - EAttribute getEEFCheckboxDescription_EditExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFSelectDescription EEF Select Description}'. - * - * - * @return the meta object for class 'EEF Select Description'. - * @see org.eclipse.eef.EEFSelectDescription - * @generated - */ - EClass getEEFSelectDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFSelectDescription#getValueExpression() - * @see #getEEFSelectDescription() - * @generated - */ - EAttribute getEEFSelectDescription_ValueExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getEditExpression Edit Expression}'. - * - * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.EEFSelectDescription#getEditExpression() - * @see #getEEFSelectDescription() - * @generated - */ - EAttribute getEEFSelectDescription_EditExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getCandidatesExpression Candidates Expression}'. - * - * - * @return the meta object for the attribute 'Candidates Expression'. - * @see org.eclipse.eef.EEFSelectDescription#getCandidatesExpression() - * @see #getEEFSelectDescription() - * @generated - */ - EAttribute getEEFSelectDescription_CandidatesExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#isMultiple Multiple}'. - * - * - * @return the meta object for the attribute 'Multiple'. - * @see org.eclipse.eef.EEFSelectDescription#isMultiple() - * @see #getEEFSelectDescription() - * @generated - */ - EAttribute getEEFSelectDescription_Multiple(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectDescription#getCandidateDisplayExpression Candidate Display Expression}'. - * - * - * @return the meta object for the attribute 'Candidate Display Expression'. - * @see org.eclipse.eef.EEFSelectDescription#getCandidateDisplayExpression() - * @see #getEEFSelectDescription() - * @generated - */ - EAttribute getEEFSelectDescription_CandidateDisplayExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFLabelDescription EEF Label Description}'. - * - * - * @return the meta object for class 'EEF Label Description'. - * @see org.eclipse.eef.EEFLabelDescription - * @generated - */ - EClass getEEFLabelDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLabelDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFLabelDescription#getValueExpression() - * @see #getEEFLabelDescription() - * @generated - */ - EAttribute getEEFLabelDescription_ValueExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFRadioDescription EEF Radio Description}'. - * - * - * @return the meta object for class 'EEF Radio Description'. - * @see org.eclipse.eef.EEFRadioDescription - * @generated - */ - EClass getEEFRadioDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFRadioDescription#getValueExpression() - * @see #getEEFRadioDescription() - * @generated - */ - EAttribute getEEFRadioDescription_ValueExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getEditExpression Edit Expression}'. - * - * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.EEFRadioDescription#getEditExpression() - * @see #getEEFRadioDescription() - * @generated - */ - EAttribute getEEFRadioDescription_EditExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getCandidatesExpression Candidates Expression}'. - * - * - * @return the meta object for the attribute 'Candidates Expression'. - * @see org.eclipse.eef.EEFRadioDescription#getCandidatesExpression() - * @see #getEEFRadioDescription() - * @generated - */ - EAttribute getEEFRadioDescription_CandidatesExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioDescription#getCandidateDisplayExpression Candidate Display Expression}'. - * - * - * @return the meta object for the attribute 'Candidate Display Expression'. - * @see org.eclipse.eef.EEFRadioDescription#getCandidateDisplayExpression() - * @see #getEEFRadioDescription() - * @generated - */ - EAttribute getEEFRadioDescription_CandidateDisplayExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeDialogSelectDescription EEF Tree Dialog Select Description}'. - * - * - * @return the meta object for class 'EEF Tree Dialog Select Description'. - * @see org.eclipse.eef.EEFTreeDialogSelectDescription - * @generated - */ - EClass getEEFTreeDialogSelectDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression Semantic Candidate Expression}'. - * - * - * @return the meta object for the attribute 'Semantic Candidate Expression'. - * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getSemanticCandidateExpression() - * @see #getEEFTreeDialogSelectDescription() - * @generated - */ - EAttribute getEEFTreeDialogSelectDescription_SemanticCandidateExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDefaultFilter Default Filter}'. - * - * - * @return the meta object for the attribute 'Default Filter'. - * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getDefaultFilter() - * @see #getEEFTreeDialogSelectDescription() - * @generated - */ - EAttribute getEEFTreeDialogSelectDescription_DefaultFilter(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getDomainClass Domain Class}'. - * - * - * @return the meta object for the attribute 'Domain Class'. - * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getDomainClass() - * @see #getEEFTreeDialogSelectDescription() - * @generated - */ - EAttribute getEEFTreeDialogSelectDescription_DomainClass(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.eef.EEFTreeDialogSelectDescription#getTree Tree}'. - * - * - * @return the meta object for the reference 'Tree'. - * @see org.eclipse.eef.EEFTreeDialogSelectDescription#getTree() - * @see #getEEFTreeDialogSelectDescription() - * @generated - */ - EReference getEEFTreeDialogSelectDescription_Tree(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFLinkDescription EEF Link Description}'. - * - * - * @return the meta object for class 'EEF Link Description'. - * @see org.eclipse.eef.EEFLinkDescription - * @generated - */ - EClass getEEFLinkDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLinkDescription#getOnClickExpression On Click Expression}'. - * - * - * @return the meta object for the attribute 'On Click Expression'. - * @see org.eclipse.eef.EEFLinkDescription#getOnClickExpression() - * @see #getEEFLinkDescription() - * @generated - */ - EAttribute getEEFLinkDescription_OnClickExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFImageDescription EEF Image Description}'. - * - * - * @return the meta object for class 'EEF Image Description'. - * @see org.eclipse.eef.EEFImageDescription - * @generated - */ - EClass getEEFImageDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImageDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFImageDescription#getValueExpression() - * @see #getEEFImageDescription() - * @generated - */ - EAttribute getEEFImageDescription_ValueExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeDescription EEF Tree Description}'. - * - * - * @return the meta object for class 'EEF Tree Description'. - * @see org.eclipse.eef.EEFTreeDescription - * @generated - */ - EClass getEEFTreeDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFTreeDescription#getValueExpression() - * @see #getEEFTreeDescription() - * @generated - */ - EAttribute getEEFTreeDescription_ValueExpression(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.eef.EEFTreeDescription#getTreeStructure Tree Structure}'. - * - * - * @return the meta object for the reference 'Tree Structure'. - * @see org.eclipse.eef.EEFTreeDescription#getTreeStructure() - * @see #getEEFTreeDescription() - * @generated - */ - EReference getEEFTreeDescription_TreeStructure(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTreeDescription#getEditExpression Edit Expression}'. - * - * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.EEFTreeDescription#getEditExpression() - * @see #getEEFTreeDescription() - * @generated - */ - EAttribute getEEFTreeDescription_EditExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFImagePickerDescription EEF Image Picker Description}'. - * - * - * @return the meta object for class 'EEF Image Picker Description'. - * @see org.eclipse.eef.EEFImagePickerDescription - * @generated - */ - EClass getEEFImagePickerDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImagePickerDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFImagePickerDescription#getValueExpression() - * @see #getEEFImagePickerDescription() - * @generated - */ - EAttribute getEEFImagePickerDescription_ValueExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImagePickerDescription#getEditExpression Edit Expression}'. - * - * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.EEFImagePickerDescription#getEditExpression() - * @see #getEEFImagePickerDescription() - * @generated - */ - EAttribute getEEFImagePickerDescription_EditExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFImagePickerDescription#getCandidatesExpression Candidates Expression}'. - * - * - * @return the meta object for the attribute 'Candidates Expression'. - * @see org.eclipse.eef.EEFImagePickerDescription#getCandidatesExpression() - * @see #getEEFImagePickerDescription() - * @generated - */ - EAttribute getEEFImagePickerDescription_CandidatesExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTableDescription EEF Table Description}'. - * - * - * @return the meta object for class 'EEF Table Description'. - * @see org.eclipse.eef.EEFTableDescription - * @generated - */ - EClass getEEFTableDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableDescription#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.eef.EEFTableDescription#getValueExpression() - * @see #getEEFTableDescription() - * @generated - */ - EAttribute getEEFTableDescription_ValueExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableDescription#getEditExpression Edit Expression}'. - * - * - * @return the meta object for the attribute 'Edit Expression'. - * @see org.eclipse.eef.EEFTableDescription#getEditExpression() - * @see #getEEFTableDescription() - * @generated - */ - EAttribute getEEFTableDescription_EditExpression(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.eef.EEFTableDescription#getTableStructure Table Structure}'. - * - * - * @return the meta object for the reference 'Table Structure'. - * @see org.eclipse.eef.EEFTableDescription#getTableStructure() - * @see #getEEFTableDescription() - * @generated - */ - EReference getEEFTableDescription_TableStructure(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFColumnDescription EEF Column Description}'. - * - * - * @return the meta object for class 'EEF Column Description'. - * @see org.eclipse.eef.EEFColumnDescription - * @generated - */ - EClass getEEFColumnDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnDescription#getWidth Width}'. - * - * - * @return the meta object for the attribute 'Width'. - * @see org.eclipse.eef.EEFColumnDescription#getWidth() - * @see #getEEFColumnDescription() - * @generated - */ - EAttribute getEEFColumnDescription_Width(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnDescription#getHeaderExpression Header Expression}'. - * - * - * @return the meta object for the attribute 'Header Expression'. - * @see org.eclipse.eef.EEFColumnDescription#getHeaderExpression() - * @see #getEEFColumnDescription() - * @generated - */ - EAttribute getEEFColumnDescription_HeaderExpression(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.eef.EEFColumnDescription#getCellWidget Cell Widget}'. - * - * - * @return the meta object for the reference 'Cell Widget'. - * @see org.eclipse.eef.EEFColumnDescription#getCellWidget() - * @see #getEEFColumnDescription() - * @generated - */ - EReference getEEFColumnDescription_CellWidget(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFLineDescription EEF Line Description}'. - * - * - * @return the meta object for class 'EEF Line Description'. - * @see org.eclipse.eef.EEFLineDescription - * @generated - */ - EClass getEEFLineDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineDescription#getHeaderExpression Header Expression}'. - * - * - * @return the meta object for the attribute 'Header Expression'. - * @see org.eclipse.eef.EEFLineDescription#getHeaderExpression() - * @see #getEEFLineDescription() - * @generated - */ - EAttribute getEEFLineDescription_HeaderExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineDescription#getSemanticCandidatesExpression Semantic Candidates Expression}'. - * - * - * @return the meta object for the attribute 'Semantic Candidates Expression'. - * @see org.eclipse.eef.EEFLineDescription#getSemanticCandidatesExpression() - * @see #getEEFLineDescription() - * @generated - */ - EAttribute getEEFLineDescription_SemanticCandidatesExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineDescription#getDomainClass Domain Class}'. - * - * - * @return the meta object for the attribute 'Domain Class'. - * @see org.eclipse.eef.EEFLineDescription#getDomainClass() - * @see #getEEFLineDescription() - * @generated - */ - EAttribute getEEFLineDescription_DomainClass(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFLineDescription#getSubLines Sub Lines}'. - * - * - * @return the meta object for the containment reference list 'Sub Lines'. - * @see org.eclipse.eef.EEFLineDescription#getSubLines() - * @see #getEEFLineDescription() - * @generated - */ - EReference getEEFLineDescription_SubLines(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTableStructureDescription EEF Table Structure Description}'. - * - * - * @return the meta object for class 'EEF Table Structure Description'. - * @see org.eclipse.eef.EEFTableStructureDescription - * @generated - */ - EClass getEEFTableStructureDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#isMultiple Multiple}'. - * - * - * @return the meta object for the attribute 'Multiple'. - * @see org.eclipse.eef.EEFTableStructureDescription#isMultiple() - * @see #getEEFTableStructureDescription() - * @generated - */ - EAttribute getEEFTableStructureDescription_Multiple(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#getIdentifier Identifier}'. - * - * - * @return the meta object for the attribute 'Identifier'. - * @see org.eclipse.eef.EEFTableStructureDescription#getIdentifier() - * @see #getEEFTableStructureDescription() - * @generated - */ - EAttribute getEEFTableStructureDescription_Identifier(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#getAddExpression Add Expression}'. - * - * - * @return the meta object for the attribute 'Add Expression'. - * @see org.eclipse.eef.EEFTableStructureDescription#getAddExpression() - * @see #getEEFTableStructureDescription() - * @generated - */ - EAttribute getEEFTableStructureDescription_AddExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#getRemoveExpression Remove Expression}'. - * - * - * @return the meta object for the attribute 'Remove Expression'. - * @see org.eclipse.eef.EEFTableStructureDescription#getRemoveExpression() - * @see #getEEFTableStructureDescription() - * @generated - */ - EAttribute getEEFTableStructureDescription_RemoveExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#getUpExpression Up Expression}'. - * - * - * @return the meta object for the attribute 'Up Expression'. - * @see org.eclipse.eef.EEFTableStructureDescription#getUpExpression() - * @see #getEEFTableStructureDescription() - * @generated - */ - EAttribute getEEFTableStructureDescription_UpExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTableStructureDescription#getDownExpression Down Expression}'. - * - * - * @return the meta object for the attribute 'Down Expression'. - * @see org.eclipse.eef.EEFTableStructureDescription#getDownExpression() - * @see #getEEFTableStructureDescription() - * @generated - */ - EAttribute getEEFTableStructureDescription_DownExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription EEF Adapter Factory Table Structure Description}'. - * - * - * @return the meta object for class 'EEF Adapter Factory Table Structure Description'. - * @see org.eclipse.eef.EEFAdapterFactoryTableStructureDescription - * @generated - */ - EClass getEEFAdapterFactoryTableStructureDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider Adapter Factory Provider}'. - * - * - * @return the meta object for the attribute 'Adapter Factory Provider'. - * @see org.eclipse.eef.EEFAdapterFactoryTableStructureDescription#getAdapterFactoryProvider() - * @see #getEEFAdapterFactoryTableStructureDescription() - * @generated - */ - EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFStyle EEF Style}'. - * - * - * @return the meta object for class 'EEF Style'. - * @see org.eclipse.eef.EEFStyle - * @generated - */ - EClass getEEFStyle(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFStyle#getFontExpression Font Expression}'. - * - * - * @return the meta object for the attribute 'Font Expression'. - * @see org.eclipse.eef.EEFStyle#getFontExpression() - * @see #getEEFStyle() - * @generated - */ - EAttribute getEEFStyle_FontExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFConditionalStyle EEF Conditional Style}'. - * - * - * @return the meta object for class 'EEF Conditional Style'. - * @see org.eclipse.eef.EEFConditionalStyle - * @generated - */ - EClass getEEFConditionalStyle(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFConditionalStyle#getConditionalExpression Conditional Expression}'. - * - * - * @return the meta object for the attribute 'Conditional Expression'. - * @see org.eclipse.eef.EEFConditionalStyle#getConditionalExpression() - * @see #getEEFConditionalStyle() - * @generated - */ - EAttribute getEEFConditionalStyle_ConditionalExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFStyleCustomization EEF Style Customization}'. - * - * - * @return the meta object for class 'EEF Style Customization'. - * @see org.eclipse.eef.EEFStyleCustomization - * @generated - */ - EClass getEEFStyleCustomization(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFGroupStyle EEF Group Style}'. - * - * - * @return the meta object for class 'EEF Group Style'. - * @see org.eclipse.eef.EEFGroupStyle - * @generated - */ - EClass getEEFGroupStyle(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFGroupStyle#getForegroundColorExpression Foreground Color Expression}'. - * - * - * @return the meta object for the attribute 'Foreground Color Expression'. - * @see org.eclipse.eef.EEFGroupStyle#getForegroundColorExpression() - * @see #getEEFGroupStyle() - * @generated - */ - EAttribute getEEFGroupStyle_ForegroundColorExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFGroupConditionalStyle EEF Group Conditional Style}'. - * - * - * @return the meta object for class 'EEF Group Conditional Style'. - * @see org.eclipse.eef.EEFGroupConditionalStyle - * @generated - */ - EClass getEEFGroupConditionalStyle(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFGroupConditionalStyle#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFGroupConditionalStyle#getStyle() - * @see #getEEFGroupConditionalStyle() - * @generated - */ - EReference getEEFGroupConditionalStyle_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFGroupStyleCustomization EEF Group Style Customization}'. - * - * - * @return the meta object for class 'EEF Group Style Customization'. - * @see org.eclipse.eef.EEFGroupStyleCustomization - * @generated - */ - EClass getEEFGroupStyleCustomization(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFGroupStyleCustomization#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFGroupStyleCustomization#getStyle() - * @see #getEEFGroupStyleCustomization() - * @generated - */ - EReference getEEFGroupStyleCustomization_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTextStyle EEF Text Style}'. - * - * - * @return the meta object for class 'EEF Text Style'. - * @see org.eclipse.eef.EEFTextStyle - * @generated - */ - EClass getEEFTextStyle(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextStyle#getBackgroundColorExpression Background Color Expression}'. - * - * - * @return the meta object for the attribute 'Background Color Expression'. - * @see org.eclipse.eef.EEFTextStyle#getBackgroundColorExpression() - * @see #getEEFTextStyle() - * @generated - */ - EAttribute getEEFTextStyle_BackgroundColorExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFTextStyle#getForegroundColorExpression Foreground Color Expression}'. - * - * - * @return the meta object for the attribute 'Foreground Color Expression'. - * @see org.eclipse.eef.EEFTextStyle#getForegroundColorExpression() - * @see #getEEFTextStyle() - * @generated - */ - EAttribute getEEFTextStyle_ForegroundColorExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTextConditionalStyle EEF Text Conditional Style}'. - * - * - * @return the meta object for class 'EEF Text Conditional Style'. - * @see org.eclipse.eef.EEFTextConditionalStyle - * @generated - */ - EClass getEEFTextConditionalStyle(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFTextConditionalStyle#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFTextConditionalStyle#getStyle() - * @see #getEEFTextConditionalStyle() - * @generated - */ - EReference getEEFTextConditionalStyle_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTextStyleCustomization EEF Text Style Customization}'. - * - * - * @return the meta object for class 'EEF Text Style Customization'. - * @see org.eclipse.eef.EEFTextStyleCustomization - * @generated - */ - EClass getEEFTextStyleCustomization(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFTextStyleCustomization#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFTextStyleCustomization#getStyle() - * @see #getEEFTextStyleCustomization() - * @generated - */ - EReference getEEFTextStyleCustomization_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFCheckboxStyle EEF Checkbox Style}'. - * - * - * @return the meta object for class 'EEF Checkbox Style'. - * @see org.eclipse.eef.EEFCheckboxStyle - * @generated - */ - EClass getEEFCheckboxStyle(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFCheckboxStyle#getBackgroundColorExpression Background Color Expression}'. - * - * - * @return the meta object for the attribute 'Background Color Expression'. - * @see org.eclipse.eef.EEFCheckboxStyle#getBackgroundColorExpression() - * @see #getEEFCheckboxStyle() - * @generated - */ - EAttribute getEEFCheckboxStyle_BackgroundColorExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFCheckboxStyle#getForegroundColorExpression Foreground Color Expression}'. - * - * - * @return the meta object for the attribute 'Foreground Color Expression'. - * @see org.eclipse.eef.EEFCheckboxStyle#getForegroundColorExpression() - * @see #getEEFCheckboxStyle() - * @generated - */ - EAttribute getEEFCheckboxStyle_ForegroundColorExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFCheckboxConditionalStyle EEF Checkbox Conditional Style}'. - * - * - * @return the meta object for class 'EEF Checkbox Conditional Style'. - * @see org.eclipse.eef.EEFCheckboxConditionalStyle - * @generated - */ - EClass getEEFCheckboxConditionalStyle(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFCheckboxConditionalStyle#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFCheckboxConditionalStyle#getStyle() - * @see #getEEFCheckboxConditionalStyle() - * @generated - */ - EReference getEEFCheckboxConditionalStyle_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFCheckboxStyleCustomization EEF Checkbox Style Customization}'. - * - * - * @return the meta object for class 'EEF Checkbox Style Customization'. - * @see org.eclipse.eef.EEFCheckboxStyleCustomization - * @generated - */ - EClass getEEFCheckboxStyleCustomization(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFCheckboxStyleCustomization#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFCheckboxStyleCustomization#getStyle() - * @see #getEEFCheckboxStyleCustomization() - * @generated - */ - EReference getEEFCheckboxStyleCustomization_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFLabelStyle EEF Label Style}'. - * - * - * @return the meta object for class 'EEF Label Style'. - * @see org.eclipse.eef.EEFLabelStyle - * @generated - */ - EClass getEEFLabelStyle(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLabelStyle#getBackgroundColorExpression Background Color Expression}'. - * - * - * @return the meta object for the attribute 'Background Color Expression'. - * @see org.eclipse.eef.EEFLabelStyle#getBackgroundColorExpression() - * @see #getEEFLabelStyle() - * @generated - */ - EAttribute getEEFLabelStyle_BackgroundColorExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLabelStyle#getForegroundColorExpression Foreground Color Expression}'. - * - * - * @return the meta object for the attribute 'Foreground Color Expression'. - * @see org.eclipse.eef.EEFLabelStyle#getForegroundColorExpression() - * @see #getEEFLabelStyle() - * @generated - */ - EAttribute getEEFLabelStyle_ForegroundColorExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFLabelConditionalStyle EEF Label Conditional Style}'. - * - * - * @return the meta object for class 'EEF Label Conditional Style'. - * @see org.eclipse.eef.EEFLabelConditionalStyle - * @generated - */ - EClass getEEFLabelConditionalStyle(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFLabelConditionalStyle#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFLabelConditionalStyle#getStyle() - * @see #getEEFLabelConditionalStyle() - * @generated - */ - EReference getEEFLabelConditionalStyle_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFLabelStyleCustomization EEF Label Style Customization}'. - * - * - * @return the meta object for class 'EEF Label Style Customization'. - * @see org.eclipse.eef.EEFLabelStyleCustomization - * @generated - */ - EClass getEEFLabelStyleCustomization(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFLabelStyleCustomization#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFLabelStyleCustomization#getStyle() - * @see #getEEFLabelStyleCustomization() - * @generated - */ - EReference getEEFLabelStyleCustomization_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFRadioStyle EEF Radio Style}'. - * - * - * @return the meta object for class 'EEF Radio Style'. - * @see org.eclipse.eef.EEFRadioStyle - * @generated - */ - EClass getEEFRadioStyle(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioStyle#getBackgroundColorExpression Background Color Expression}'. - * - * - * @return the meta object for the attribute 'Background Color Expression'. - * @see org.eclipse.eef.EEFRadioStyle#getBackgroundColorExpression() - * @see #getEEFRadioStyle() - * @generated - */ - EAttribute getEEFRadioStyle_BackgroundColorExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFRadioStyle#getForegroundColorExpression Foreground Color Expression}'. - * - * - * @return the meta object for the attribute 'Foreground Color Expression'. - * @see org.eclipse.eef.EEFRadioStyle#getForegroundColorExpression() - * @see #getEEFRadioStyle() - * @generated - */ - EAttribute getEEFRadioStyle_ForegroundColorExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFRadioConditionalStyle EEF Radio Conditional Style}'. - * - * - * @return the meta object for class 'EEF Radio Conditional Style'. - * @see org.eclipse.eef.EEFRadioConditionalStyle - * @generated - */ - EClass getEEFRadioConditionalStyle(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFRadioConditionalStyle#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFRadioConditionalStyle#getStyle() - * @see #getEEFRadioConditionalStyle() - * @generated - */ - EReference getEEFRadioConditionalStyle_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFRadioStyleCustomization EEF Radio Style Customization}'. - * - * - * @return the meta object for class 'EEF Radio Style Customization'. - * @see org.eclipse.eef.EEFRadioStyleCustomization - * @generated - */ - EClass getEEFRadioStyleCustomization(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFRadioStyleCustomization#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFRadioStyleCustomization#getStyle() - * @see #getEEFRadioStyleCustomization() - * @generated - */ - EReference getEEFRadioStyleCustomization_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFLinkStyle EEF Link Style}'. - * - * - * @return the meta object for class 'EEF Link Style'. - * @see org.eclipse.eef.EEFLinkStyle - * @generated - */ - EClass getEEFLinkStyle(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLinkStyle#getBackgroundColorExpression Background Color Expression}'. - * - * - * @return the meta object for the attribute 'Background Color Expression'. - * @see org.eclipse.eef.EEFLinkStyle#getBackgroundColorExpression() - * @see #getEEFLinkStyle() - * @generated - */ - EAttribute getEEFLinkStyle_BackgroundColorExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLinkStyle#getForegroundColorExpression Foreground Color Expression}'. - * - * - * @return the meta object for the attribute 'Foreground Color Expression'. - * @see org.eclipse.eef.EEFLinkStyle#getForegroundColorExpression() - * @see #getEEFLinkStyle() - * @generated - */ - EAttribute getEEFLinkStyle_ForegroundColorExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLinkStyle#getBackgroundImageExpression Background Image Expression}'. - * - * - * @return the meta object for the attribute 'Background Image Expression'. - * @see org.eclipse.eef.EEFLinkStyle#getBackgroundImageExpression() - * @see #getEEFLinkStyle() - * @generated - */ - EAttribute getEEFLinkStyle_BackgroundImageExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFLinkConditionalStyle EEF Link Conditional Style}'. - * - * - * @return the meta object for class 'EEF Link Conditional Style'. - * @see org.eclipse.eef.EEFLinkConditionalStyle - * @generated - */ - EClass getEEFLinkConditionalStyle(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFLinkConditionalStyle#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFLinkConditionalStyle#getStyle() - * @see #getEEFLinkConditionalStyle() - * @generated - */ - EReference getEEFLinkConditionalStyle_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFLinkStyleCustomization EEF Link Style Customization}'. - * - * - * @return the meta object for class 'EEF Link Style Customization'. - * @see org.eclipse.eef.EEFLinkStyleCustomization - * @generated - */ - EClass getEEFLinkStyleCustomization(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFLinkStyleCustomization#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFLinkStyleCustomization#getStyle() - * @see #getEEFLinkStyleCustomization() - * @generated - */ - EReference getEEFLinkStyleCustomization_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFSelectStyle EEF Select Style}'. - * - * - * @return the meta object for class 'EEF Select Style'. - * @see org.eclipse.eef.EEFSelectStyle - * @generated - */ - EClass getEEFSelectStyle(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectStyle#getBackgroundColorExpression Background Color Expression}'. - * - * - * @return the meta object for the attribute 'Background Color Expression'. - * @see org.eclipse.eef.EEFSelectStyle#getBackgroundColorExpression() - * @see #getEEFSelectStyle() - * @generated - */ - EAttribute getEEFSelectStyle_BackgroundColorExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFSelectStyle#getForegroundColorExpression Foreground Color Expression}'. - * - * - * @return the meta object for the attribute 'Foreground Color Expression'. - * @see org.eclipse.eef.EEFSelectStyle#getForegroundColorExpression() - * @see #getEEFSelectStyle() - * @generated - */ - EAttribute getEEFSelectStyle_ForegroundColorExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFSelectConditionalStyle EEF Select Conditional Style}'. - * - * - * @return the meta object for class 'EEF Select Conditional Style'. - * @see org.eclipse.eef.EEFSelectConditionalStyle - * @generated - */ - EClass getEEFSelectConditionalStyle(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFSelectConditionalStyle#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFSelectConditionalStyle#getStyle() - * @see #getEEFSelectConditionalStyle() - * @generated - */ - EReference getEEFSelectConditionalStyle_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFSelectStyleCustomization EEF Select Style Customization}'. - * - * - * @return the meta object for class 'EEF Select Style Customization'. - * @see org.eclipse.eef.EEFSelectStyleCustomization - * @generated - */ - EClass getEEFSelectStyleCustomization(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFSelectStyleCustomization#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFSelectStyleCustomization#getStyle() - * @see #getEEFSelectStyleCustomization() - * @generated - */ - EReference getEEFSelectStyleCustomization_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeStyle EEF Tree Style}'. - * - * - * @return the meta object for class 'EEF Tree Style'. - * @see org.eclipse.eef.EEFTreeStyle - * @generated - */ - EClass getEEFTreeStyle(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeConditionalStyle EEF Tree Conditional Style}'. - * - * - * @return the meta object for class 'EEF Tree Conditional Style'. - * @see org.eclipse.eef.EEFTreeConditionalStyle - * @generated - */ - EClass getEEFTreeConditionalStyle(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFTreeConditionalStyle#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFTreeConditionalStyle#getStyle() - * @see #getEEFTreeConditionalStyle() - * @generated - */ - EReference getEEFTreeConditionalStyle_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTreeStyleCustomization EEF Tree Style Customization}'. - * - * - * @return the meta object for class 'EEF Tree Style Customization'. - * @see org.eclipse.eef.EEFTreeStyleCustomization - * @generated - */ - EClass getEEFTreeStyleCustomization(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFTreeStyleCustomization#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFTreeStyleCustomization#getStyle() - * @see #getEEFTreeStyleCustomization() - * @generated - */ - EReference getEEFTreeStyleCustomization_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTableStyle EEF Table Style}'. - * - * - * @return the meta object for class 'EEF Table Style'. - * @see org.eclipse.eef.EEFTableStyle - * @generated - */ - EClass getEEFTableStyle(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTableConditionalStyle EEF Table Conditional Style}'. - * - * - * @return the meta object for class 'EEF Table Conditional Style'. - * @see org.eclipse.eef.EEFTableConditionalStyle - * @generated - */ - EClass getEEFTableConditionalStyle(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFTableConditionalStyle#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFTableConditionalStyle#getStyle() - * @see #getEEFTableConditionalStyle() - * @generated - */ - EReference getEEFTableConditionalStyle_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFTableStyleCustomization EEF Table Style Customization}'. - * - * - * @return the meta object for class 'EEF Table Style Customization'. - * @see org.eclipse.eef.EEFTableStyleCustomization - * @generated - */ - EClass getEEFTableStyleCustomization(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFTableStyleCustomization#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFTableStyleCustomization#getStyle() - * @see #getEEFTableStyleCustomization() - * @generated - */ - EReference getEEFTableStyleCustomization_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFLineStyle EEF Line Style}'. - * - * - * @return the meta object for class 'EEF Line Style'. - * @see org.eclipse.eef.EEFLineStyle - * @generated - */ - EClass getEEFLineStyle(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineStyle#getBackgroundColorExpression Background Color Expression}'. - * - * - * @return the meta object for the attribute 'Background Color Expression'. - * @see org.eclipse.eef.EEFLineStyle#getBackgroundColorExpression() - * @see #getEEFLineStyle() - * @generated - */ - EAttribute getEEFLineStyle_BackgroundColorExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineStyle#getForegroundColorExpression Foreground Color Expression}'. - * - * - * @return the meta object for the attribute 'Foreground Color Expression'. - * @see org.eclipse.eef.EEFLineStyle#getForegroundColorExpression() - * @see #getEEFLineStyle() - * @generated - */ - EAttribute getEEFLineStyle_ForegroundColorExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineStyle#getHeaderBackgroundColorExpression Header Background Color Expression}'. - * - * - * @return the meta object for the attribute 'Header Background Color Expression'. - * @see org.eclipse.eef.EEFLineStyle#getHeaderBackgroundColorExpression() - * @see #getEEFLineStyle() - * @generated - */ - EAttribute getEEFLineStyle_HeaderBackgroundColorExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFLineStyle#getHeaderForegroundColorExpression Header Foreground Color Expression}'. - * - * - * @return the meta object for the attribute 'Header Foreground Color Expression'. - * @see org.eclipse.eef.EEFLineStyle#getHeaderForegroundColorExpression() - * @see #getEEFLineStyle() - * @generated - */ - EAttribute getEEFLineStyle_HeaderForegroundColorExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFLineConditionalStyle EEF Line Conditional Style}'. - * - * - * @return the meta object for class 'EEF Line Conditional Style'. - * @see org.eclipse.eef.EEFLineConditionalStyle - * @generated - */ - EClass getEEFLineConditionalStyle(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFLineConditionalStyle#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFLineConditionalStyle#getStyle() - * @see #getEEFLineConditionalStyle() - * @generated - */ - EReference getEEFLineConditionalStyle_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFLineStyleCustomization EEF Line Style Customization}'. - * - * - * @return the meta object for class 'EEF Line Style Customization'. - * @see org.eclipse.eef.EEFLineStyleCustomization - * @generated - */ - EClass getEEFLineStyleCustomization(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFLineStyleCustomization#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFLineStyleCustomization#getStyle() - * @see #getEEFLineStyleCustomization() - * @generated - */ - EReference getEEFLineStyleCustomization_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFColumnStyle EEF Column Style}'. - * - * - * @return the meta object for class 'EEF Column Style'. - * @see org.eclipse.eef.EEFColumnStyle - * @generated - */ - EClass getEEFColumnStyle(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnStyle#getBackgroundColorExpression Background Color Expression}'. - * - * - * @return the meta object for the attribute 'Background Color Expression'. - * @see org.eclipse.eef.EEFColumnStyle#getBackgroundColorExpression() - * @see #getEEFColumnStyle() - * @generated - */ - EAttribute getEEFColumnStyle_BackgroundColorExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnStyle#getForegroundColorExpression Foreground Color Expression}'. - * - * - * @return the meta object for the attribute 'Foreground Color Expression'. - * @see org.eclipse.eef.EEFColumnStyle#getForegroundColorExpression() - * @see #getEEFColumnStyle() - * @generated - */ - EAttribute getEEFColumnStyle_ForegroundColorExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnStyle#getHeaderBackgroundColorExpression Header Background Color Expression}'. - * - * - * @return the meta object for the attribute 'Header Background Color Expression'. - * @see org.eclipse.eef.EEFColumnStyle#getHeaderBackgroundColorExpression() - * @see #getEEFColumnStyle() - * @generated - */ - EAttribute getEEFColumnStyle_HeaderBackgroundColorExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFColumnStyle#getHeaderForegroundColorExpression Header Foreground Color Expression}'. - * - * - * @return the meta object for the attribute 'Header Foreground Color Expression'. - * @see org.eclipse.eef.EEFColumnStyle#getHeaderForegroundColorExpression() - * @see #getEEFColumnStyle() - * @generated - */ - EAttribute getEEFColumnStyle_HeaderForegroundColorExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFColumnConditionalStyle EEF Column Conditional Style}'. - * - * - * @return the meta object for class 'EEF Column Conditional Style'. - * @see org.eclipse.eef.EEFColumnConditionalStyle - * @generated - */ - EClass getEEFColumnConditionalStyle(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFColumnConditionalStyle#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFColumnConditionalStyle#getStyle() - * @see #getEEFColumnConditionalStyle() - * @generated - */ - EReference getEEFColumnConditionalStyle_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFColumnStyleCustomization EEF Column Style Customization}'. - * - * - * @return the meta object for class 'EEF Column Style Customization'. - * @see org.eclipse.eef.EEFColumnStyleCustomization - * @generated - */ - EClass getEEFColumnStyleCustomization(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.eef.EEFColumnStyleCustomization#getStyle Style}'. - * - * - * @return the meta object for the containment reference 'Style'. - * @see org.eclipse.eef.EEFColumnStyleCustomization#getStyle() - * @see #getEEFColumnStyleCustomization() - * @generated - */ - EReference getEEFColumnStyleCustomization_Style(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFQuickFix EEF Quick Fix}'. - * - * - * @return the meta object for class 'EEF Quick Fix'. - * @see org.eclipse.eef.EEFQuickFix - * @generated - */ - EClass getEEFQuickFix(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFQuickFix#getTitleExpression Title Expression}'. - * - * - * @return the meta object for the attribute 'Title Expression'. - * @see org.eclipse.eef.EEFQuickFix#getTitleExpression() - * @see #getEEFQuickFix() - * @generated - */ - EAttribute getEEFQuickFix_TitleExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFQuickFix#getMessageExpression Message Expression}'. - * - * - * @return the meta object for the attribute 'Message Expression'. - * @see org.eclipse.eef.EEFQuickFix#getMessageExpression() - * @see #getEEFQuickFix() - * @generated - */ - EAttribute getEEFQuickFix_MessageExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFQuickFix#getCanHandleStatusExpression Can Handle Status Expression}'. - * - * - * @return the meta object for the attribute 'Can Handle Status Expression'. - * @see org.eclipse.eef.EEFQuickFix#getCanHandleStatusExpression() - * @see #getEEFQuickFix() - * @generated - */ - EAttribute getEEFQuickFix_CanHandleStatusExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFQuickFix#getFixExpression Fix Expression}'. - * - * - * @return the meta object for the attribute 'Fix Expression'. - * @see org.eclipse.eef.EEFQuickFix#getFixExpression() - * @see #getEEFQuickFix() - * @generated - */ - EAttribute getEEFQuickFix_FixExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.eef.EEFValidation EEF Validation}'. - * - * - * @return the meta object for class 'EEF Validation'. - * @see org.eclipse.eef.EEFValidation - * @generated - */ - EClass getEEFValidation(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.eef.EEFValidation#getValidationExpression Validation Expression}'. - * - * - * @return the meta object for the attribute 'Validation Expression'. - * @see org.eclipse.eef.EEFValidation#getValidationExpression() - * @see #getEEFValidation() - * @generated - */ - EAttribute getEEFValidation_ValidationExpression(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.eef.EEFValidation#getQuickfixes Quickfixes}'. - * - * - * @return the meta object for the containment reference list 'Quickfixes'. - * @see org.eclipse.eef.EEFValidation#getQuickfixes() - * @see #getEEFValidation() - * @generated - */ - EReference getEEFValidation_Quickfixes(); - - /** - * Returns the meta object for data type '{@link java.lang.String Type Name}'. - * - * - * @return the meta object for data type 'Type Name'. - * @see java.lang.String - * @model instanceClass="java.lang.String" - * @generated - */ - EDataType getTypeName(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - EefFactory getEefFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
                  - *
                • each class,
                • - *
                • each feature of each class,
                • - *
                • each enum,
                • - *
                • and each data type
                • - *
                - * - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFViewDescriptionImpl EEF View Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFViewDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFViewDescription() - * @generated - */ - EClass EEF_VIEW_DESCRIPTION = eINSTANCE.getEEFViewDescription(); - - /** - * The meta object literal for the 'Identifier' attribute feature. - * - * - * @generated - */ - EAttribute EEF_VIEW_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFViewDescription_Identifier(); - - /** - * The meta object literal for the 'Precondition Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION = eINSTANCE.getEEFViewDescription_PreconditionExpression(); - - /** - * The meta object literal for the 'User Defined Variables' containment reference list feature. - * - * - * @generated - */ - EReference EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES = eINSTANCE.getEEFViewDescription_UserDefinedVariables(); - - /** - * The meta object literal for the 'Label Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFViewDescription_LabelExpression(); - - /** - * The meta object literal for the 'EPackage Ns Uris' attribute list feature. - * - * - * @generated - */ - EAttribute EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS = eINSTANCE.getEEFViewDescription_EPackageNsUris(); - - /** - * The meta object literal for the 'Groups' containment reference list feature. - * - * - * @generated - */ - EReference EEF_VIEW_DESCRIPTION__GROUPS = eINSTANCE.getEEFViewDescription_Groups(); - - /** - * The meta object literal for the 'Pages' containment reference list feature. - * - * - * @generated - */ - EReference EEF_VIEW_DESCRIPTION__PAGES = eINSTANCE.getEEFViewDescription_Pages(); - - /** - * The meta object literal for the 'Java Extensions' containment reference list feature. - * - * - * @generated - */ - EReference EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS = eINSTANCE.getEEFViewDescription_JavaExtensions(); - - /** - * The meta object literal for the 'Imported Views' reference list feature. - * - * - * @generated - */ - EReference EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS = eINSTANCE.getEEFViewDescription_ImportedViews(); - - /** - * The meta object literal for the 'Tree Structures' containment reference list feature. - * - * - * @generated - */ - EReference EEF_VIEW_DESCRIPTION__TREE_STRUCTURES = eINSTANCE.getEEFViewDescription_TreeStructures(); - - /** - * The meta object literal for the 'Table Structures' containment reference list feature. - * - * - * @generated - */ - EReference EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES = eINSTANCE.getEEFViewDescription_TableStructures(); - - /** - * The meta object literal for the 'Style Customizations' reference list feature. - * - * - * @generated - */ - EReference EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS = eINSTANCE.getEEFViewDescription_StyleCustomizations(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFPageDescriptionImpl EEF Page Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFPageDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFPageDescription() - * @generated - */ - EClass EEF_PAGE_DESCRIPTION = eINSTANCE.getEEFPageDescription(); - - /** - * The meta object literal for the 'Identifier' attribute feature. - * - * - * @generated - */ - EAttribute EEF_PAGE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFPageDescription_Identifier(); - - /** - * The meta object literal for the 'Precondition Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION = eINSTANCE.getEEFPageDescription_PreconditionExpression(); - - /** - * The meta object literal for the 'User Defined Variables' containment reference list feature. - * - * - * @generated - */ - EReference EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES = eINSTANCE.getEEFPageDescription_UserDefinedVariables(); - - /** - * The meta object literal for the 'Label Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFPageDescription_LabelExpression(); - - /** - * The meta object literal for the 'Domain Class' attribute feature. - * - * - * @generated - */ - EAttribute EEF_PAGE_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFPageDescription_DomainClass(); - - /** - * The meta object literal for the 'Semantic Candidate Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE.getEEFPageDescription_SemanticCandidateExpression(); - - /** - * The meta object literal for the 'Groups' reference list feature. - * - * - * @generated - */ - EReference EEF_PAGE_DESCRIPTION__GROUPS = eINSTANCE.getEEFPageDescription_Groups(); - - /** - * The meta object literal for the 'Extended Page' reference feature. - * - * - * @generated - */ - EReference EEF_PAGE_DESCRIPTION__EXTENDED_PAGE = eINSTANCE.getEEFPageDescription_ExtendedPage(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFGroupDescriptionImpl EEF Group Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFGroupDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupDescription() - * @generated - */ - EClass EEF_GROUP_DESCRIPTION = eINSTANCE.getEEFGroupDescription(); - - /** - * The meta object literal for the 'Identifier' attribute feature. - * - * - * @generated - */ - EAttribute EEF_GROUP_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFGroupDescription_Identifier(); - - /** - * The meta object literal for the 'Precondition Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION = eINSTANCE.getEEFGroupDescription_PreconditionExpression(); - - /** - * The meta object literal for the 'User Defined Variables' containment reference list feature. - * - * - * @generated - */ - EReference EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES = eINSTANCE.getEEFGroupDescription_UserDefinedVariables(); - - /** - * The meta object literal for the 'Label Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFGroupDescription_LabelExpression(); - - /** - * The meta object literal for the 'Domain Class' attribute feature. - * - * - * @generated - */ - EAttribute EEF_GROUP_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFGroupDescription_DomainClass(); - - /** - * The meta object literal for the 'Semantic Candidate Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE.getEEFGroupDescription_SemanticCandidateExpression(); - - /** - * The meta object literal for the 'Container' containment reference feature. - * - * - * @generated - */ - EReference EEF_GROUP_DESCRIPTION__CONTAINER = eINSTANCE.getEEFGroupDescription_Container(); - - /** - * The meta object literal for the 'Collapsible Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION = eINSTANCE.getEEFGroupDescription_CollapsibleExpression(); - - /** - * The meta object literal for the 'Collapsed By Default Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION = eINSTANCE.getEEFGroupDescription_CollapsedByDefaultExpression(); - - /** - * The meta object literal for the 'Validation' containment reference feature. - * - * - * @generated - */ - EReference EEF_GROUP_DESCRIPTION__VALIDATION = eINSTANCE.getEEFGroupDescription_Validation(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFContainerDescriptionImpl EEF Container Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFContainerDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFContainerDescription() - * @generated - */ - EClass EEF_CONTAINER_DESCRIPTION = eINSTANCE.getEEFContainerDescription(); - - /** - * The meta object literal for the 'Identifier' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CONTAINER_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFContainerDescription_Identifier(); - - /** - * The meta object literal for the 'Precondition Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION = eINSTANCE.getEEFContainerDescription_PreconditionExpression(); - - /** - * The meta object literal for the 'User Defined Variables' containment reference list feature. - * - * - * @generated - */ - EReference EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES = eINSTANCE.getEEFContainerDescription_UserDefinedVariables(); - - /** - * The meta object literal for the 'Semantic Candidate Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE.getEEFContainerDescription_SemanticCandidateExpression(); - - /** - * The meta object literal for the 'Domain Class' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFContainerDescription_DomainClass(); - - /** - * The meta object literal for the 'Layout Column Count' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT = eINSTANCE.getEEFContainerDescription_LayoutColumnCount(); - - /** - * The meta object literal for the 'Containers' containment reference list feature. - * - * - * @generated - */ - EReference EEF_CONTAINER_DESCRIPTION__CONTAINERS = eINSTANCE.getEEFContainerDescription_Containers(); - - /** - * The meta object literal for the 'Widgets' containment reference list feature. - * - * - * @generated - */ - EReference EEF_CONTAINER_DESCRIPTION__WIDGETS = eINSTANCE.getEEFContainerDescription_Widgets(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl EEF Widget Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFWidgetDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFWidgetDescription() - * @generated - */ - EClass EEF_WIDGET_DESCRIPTION = eINSTANCE.getEEFWidgetDescription(); - - /** - * The meta object literal for the 'Identifier' attribute feature. - * - * - * @generated - */ - EAttribute EEF_WIDGET_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFWidgetDescription_Identifier(); - - /** - * The meta object literal for the 'Precondition Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION = eINSTANCE.getEEFWidgetDescription_PreconditionExpression(); - - /** - * The meta object literal for the 'User Defined Variables' containment reference list feature. - * - * - * @generated - */ - EReference EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES = eINSTANCE.getEEFWidgetDescription_UserDefinedVariables(); - - /** - * The meta object literal for the 'Label Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION = eINSTANCE.getEEFWidgetDescription_LabelExpression(); - - /** - * The meta object literal for the 'Label Style' reference feature. - * - * - * @generated - */ - EReference EEF_WIDGET_DESCRIPTION__LABEL_STYLE = eINSTANCE.getEEFWidgetDescription_LabelStyle(); - - /** - * The meta object literal for the 'Tooltip Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION = eINSTANCE.getEEFWidgetDescription_TooltipExpression(); - - /** - * The meta object literal for the 'Help Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION = eINSTANCE.getEEFWidgetDescription_HelpExpression(); - - /** - * The meta object literal for the 'Validation' containment reference feature. - * - * - * @generated - */ - EReference EEF_WIDGET_DESCRIPTION__VALIDATION = eINSTANCE.getEEFWidgetDescription_Validation(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl EEF Java Extension Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFJavaExtensionDescription() - * @generated - */ - EClass EEF_JAVA_EXTENSION_DESCRIPTION = eINSTANCE.getEEFJavaExtensionDescription(); - - /** - * The meta object literal for the 'Qualified Name' attribute feature. - * - * - * @generated - */ - EAttribute EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME = eINSTANCE.getEEFJavaExtensionDescription_QualifiedName(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl EEF Tree Structure Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStructureDescription() - * @generated - */ - EClass EEF_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFTreeStructureDescription(); - - /** - * The meta object literal for the 'Identifier' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFTreeStructureDescription_Identifier(); - - /** - * The meta object literal for the 'Multiple' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFTreeStructureDescription_Multiple(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl EEF Interpreted Table Structure Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFInterpretedTableStructureDescription() - * @generated - */ - EClass EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFInterpretedTableStructureDescription(); - - /** - * The meta object literal for the 'Columns' containment reference list feature. - * - * - * @generated - */ - EReference EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS = eINSTANCE.getEEFInterpretedTableStructureDescription_Columns(); - - /** - * The meta object literal for the 'Line' containment reference feature. - * - * - * @generated - */ - EReference EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE = eINSTANCE.getEEFInterpretedTableStructureDescription_Line(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFCellWidgetDescriptionImpl EEF Cell Widget Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFCellWidgetDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCellWidgetDescription() - * @generated - */ - EClass EEF_CELL_WIDGET_DESCRIPTION = eINSTANCE.getEEFCellWidgetDescription(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl EEF Adapter Factory Tree Structure Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFAdapterFactoryTreeStructureDescription() - * @generated - */ - EClass EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFAdapterFactoryTreeStructureDescription(); - - /** - * The meta object literal for the 'Adapter Factory Provider' attribute feature. - * - * - * @generated - */ - EAttribute EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = eINSTANCE - .getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl EEF Interpreted Tree Structure Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFInterpretedTreeStructureDescription() - * @generated - */ - EClass EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFInterpretedTreeStructureDescription(); - - /** - * The meta object literal for the 'Roots Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION = eINSTANCE - .getEEFInterpretedTreeStructureDescription_RootsExpression(); - - /** - * The meta object literal for the 'Children Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION = eINSTANCE - .getEEFInterpretedTreeStructureDescription_ChildrenExpression(); - - /** - * The meta object literal for the 'Selectable Predicate Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION = eINSTANCE - .getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(); - - /** - * The meta object literal for the 'Candidate Display Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE - .getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTextDescriptionImpl EEF Text Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFTextDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextDescription() - * @generated - */ - EClass EEF_TEXT_DESCRIPTION = eINSTANCE.getEEFTextDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTextDescription_ValueExpression(); - - /** - * The meta object literal for the 'Edit Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTextDescription_EditExpression(); - - /** - * The meta object literal for the 'Read Only Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION = eINSTANCE.getEEFTextDescription_ReadOnlyExpression(); - - /** - * The meta object literal for the 'Content Assist Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION = eINSTANCE.getEEFTextDescription_ContentAssistExpression(); - - /** - * The meta object literal for the 'Placeholder Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION = eINSTANCE.getEEFTextDescription_PlaceholderExpression(); - - /** - * The meta object literal for the 'Line Count' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TEXT_DESCRIPTION__LINE_COUNT = eINSTANCE.getEEFTextDescription_LineCount(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_TEXT_DESCRIPTION__STYLE = eINSTANCE.getEEFTextDescription_Style(); - - /** - * The meta object literal for the 'Conditional Styles' containment reference list feature. - * - * - * @generated - */ - EReference EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES = eINSTANCE.getEEFTextDescription_ConditionalStyles(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFCheckboxDescriptionImpl EEF Checkbox Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFCheckboxDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxDescription() - * @generated - */ - EClass EEF_CHECKBOX_DESCRIPTION = eINSTANCE.getEEFCheckboxDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFCheckboxDescription_ValueExpression(); - - /** - * The meta object literal for the 'Edit Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFCheckboxDescription_EditExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFSelectDescriptionImpl EEF Select Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFSelectDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectDescription() - * @generated - */ - EClass EEF_SELECT_DESCRIPTION = eINSTANCE.getEEFSelectDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFSelectDescription_ValueExpression(); - - /** - * The meta object literal for the 'Edit Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFSelectDescription_EditExpression(); - - /** - * The meta object literal for the 'Candidates Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE.getEEFSelectDescription_CandidatesExpression(); - - /** - * The meta object literal for the 'Multiple' attribute feature. - * - * - * @generated - */ - EAttribute EEF_SELECT_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFSelectDescription_Multiple(); - - /** - * The meta object literal for the 'Candidate Display Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE.getEEFSelectDescription_CandidateDisplayExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLabelDescriptionImpl EEF Label Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFLabelDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelDescription() - * @generated - */ - EClass EEF_LABEL_DESCRIPTION = eINSTANCE.getEEFLabelDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFLabelDescription_ValueExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFRadioDescriptionImpl EEF Radio Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFRadioDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioDescription() - * @generated - */ - EClass EEF_RADIO_DESCRIPTION = eINSTANCE.getEEFRadioDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFRadioDescription_ValueExpression(); - - /** - * The meta object literal for the 'Edit Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFRadioDescription_EditExpression(); - - /** - * The meta object literal for the 'Candidates Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE.getEEFRadioDescription_CandidatesExpression(); - - /** - * The meta object literal for the 'Candidate Display Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION = eINSTANCE.getEEFRadioDescription_CandidateDisplayExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl EEF Tree Dialog Select Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeDialogSelectDescription() - * @generated - */ - EClass EEF_TREE_DIALOG_SELECT_DESCRIPTION = eINSTANCE.getEEFTreeDialogSelectDescription(); - - /** - * The meta object literal for the 'Semantic Candidate Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = eINSTANCE - .getEEFTreeDialogSelectDescription_SemanticCandidateExpression(); - - /** - * The meta object literal for the 'Default Filter' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER = eINSTANCE.getEEFTreeDialogSelectDescription_DefaultFilter(); - - /** - * The meta object literal for the 'Domain Class' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFTreeDialogSelectDescription_DomainClass(); - - /** - * The meta object literal for the 'Tree' reference feature. - * - * - * @generated - */ - EReference EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE = eINSTANCE.getEEFTreeDialogSelectDescription_Tree(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLinkDescriptionImpl EEF Link Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFLinkDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkDescription() - * @generated - */ - EClass EEF_LINK_DESCRIPTION = eINSTANCE.getEEFLinkDescription(); - - /** - * The meta object literal for the 'On Click Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION = eINSTANCE.getEEFLinkDescription_OnClickExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFImageDescriptionImpl EEF Image Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFImageDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFImageDescription() - * @generated - */ - EClass EEF_IMAGE_DESCRIPTION = eINSTANCE.getEEFImageDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFImageDescription_ValueExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeDescriptionImpl EEF Tree Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFTreeDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeDescription() - * @generated - */ - EClass EEF_TREE_DESCRIPTION = eINSTANCE.getEEFTreeDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TREE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTreeDescription_ValueExpression(); - - /** - * The meta object literal for the 'Tree Structure' reference feature. - * - * - * @generated - */ - EReference EEF_TREE_DESCRIPTION__TREE_STRUCTURE = eINSTANCE.getEEFTreeDescription_TreeStructure(); - - /** - * The meta object literal for the 'Edit Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TREE_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTreeDescription_EditExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFImagePickerDescriptionImpl EEF Image Picker Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFImagePickerDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFImagePickerDescription() - * @generated - */ - EClass EEF_IMAGE_PICKER_DESCRIPTION = eINSTANCE.getEEFImagePickerDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFImagePickerDescription_ValueExpression(); - - /** - * The meta object literal for the 'Edit Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFImagePickerDescription_EditExpression(); - - /** - * The meta object literal for the 'Candidates Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION = eINSTANCE.getEEFImagePickerDescription_CandidatesExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTableDescriptionImpl EEF Table Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFTableDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableDescription() - * @generated - */ - EClass EEF_TABLE_DESCRIPTION = eINSTANCE.getEEFTableDescription(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION = eINSTANCE.getEEFTableDescription_ValueExpression(); - - /** - * The meta object literal for the 'Edit Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION = eINSTANCE.getEEFTableDescription_EditExpression(); - - /** - * The meta object literal for the 'Table Structure' reference feature. - * - * - * @generated - */ - EReference EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE = eINSTANCE.getEEFTableDescription_TableStructure(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFColumnDescriptionImpl EEF Column Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFColumnDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnDescription() - * @generated - */ - EClass EEF_COLUMN_DESCRIPTION = eINSTANCE.getEEFColumnDescription(); - - /** - * The meta object literal for the 'Width' attribute feature. - * - * - * @generated - */ - EAttribute EEF_COLUMN_DESCRIPTION__WIDTH = eINSTANCE.getEEFColumnDescription_Width(); - - /** - * The meta object literal for the 'Header Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION = eINSTANCE.getEEFColumnDescription_HeaderExpression(); - - /** - * The meta object literal for the 'Cell Widget' reference feature. - * - * - * @generated - */ - EReference EEF_COLUMN_DESCRIPTION__CELL_WIDGET = eINSTANCE.getEEFColumnDescription_CellWidget(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLineDescriptionImpl EEF Line Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFLineDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineDescription() - * @generated - */ - EClass EEF_LINE_DESCRIPTION = eINSTANCE.getEEFLineDescription(); - - /** - * The meta object literal for the 'Header Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LINE_DESCRIPTION__HEADER_EXPRESSION = eINSTANCE.getEEFLineDescription_HeaderExpression(); - - /** - * The meta object literal for the 'Semantic Candidates Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION = eINSTANCE.getEEFLineDescription_SemanticCandidatesExpression(); - - /** - * The meta object literal for the 'Domain Class' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LINE_DESCRIPTION__DOMAIN_CLASS = eINSTANCE.getEEFLineDescription_DomainClass(); - - /** - * The meta object literal for the 'Sub Lines' containment reference list feature. - * - * - * @generated - */ - EReference EEF_LINE_DESCRIPTION__SUB_LINES = eINSTANCE.getEEFLineDescription_SubLines(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl EEF Table Structure Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFTableStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStructureDescription() - * @generated - */ - EClass EEF_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFTableStructureDescription(); - - /** - * The meta object literal for the 'Multiple' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE = eINSTANCE.getEEFTableStructureDescription_Multiple(); - - /** - * The meta object literal for the 'Identifier' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER = eINSTANCE.getEEFTableStructureDescription_Identifier(); - - /** - * The meta object literal for the 'Add Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION = eINSTANCE.getEEFTableStructureDescription_AddExpression(); - - /** - * The meta object literal for the 'Remove Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION = eINSTANCE.getEEFTableStructureDescription_RemoveExpression(); - - /** - * The meta object literal for the 'Up Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION = eINSTANCE.getEEFTableStructureDescription_UpExpression(); - - /** - * The meta object literal for the 'Down Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION = eINSTANCE.getEEFTableStructureDescription_DownExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl EEF Adapter Factory Table Structure Description}' class. - * - * - * @see org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFAdapterFactoryTableStructureDescription() - * @generated - */ - EClass EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION = eINSTANCE.getEEFAdapterFactoryTableStructureDescription(); - - /** - * The meta object literal for the 'Adapter Factory Provider' attribute feature. - * - * - * @generated - */ - EAttribute EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER = eINSTANCE - .getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFStyleImpl EEF Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFStyle() - * @generated - */ - EClass EEF_STYLE = eINSTANCE.getEEFStyle(); - - /** - * The meta object literal for the 'Font Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_STYLE__FONT_EXPRESSION = eINSTANCE.getEEFStyle_FontExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFConditionalStyleImpl EEF Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFConditionalStyle() - * @generated - */ - EClass EEF_CONDITIONAL_STYLE = eINSTANCE.getEEFConditionalStyle(); - - /** - * The meta object literal for the 'Conditional Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION = eINSTANCE.getEEFConditionalStyle_ConditionalExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFStyleCustomizationImpl EEF Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFStyleCustomization() - * @generated - */ - EClass EEF_STYLE_CUSTOMIZATION = eINSTANCE.getEEFStyleCustomization(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFGroupStyleImpl EEF Group Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFGroupStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupStyle() - * @generated - */ - EClass EEF_GROUP_STYLE = eINSTANCE.getEEFGroupStyle(); - - /** - * The meta object literal for the 'Foreground Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFGroupStyle_ForegroundColorExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFGroupConditionalStyleImpl EEF Group Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFGroupConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupConditionalStyle() - * @generated - */ - EClass EEF_GROUP_CONDITIONAL_STYLE = eINSTANCE.getEEFGroupConditionalStyle(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_GROUP_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFGroupConditionalStyle_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFGroupStyleCustomizationImpl EEF Group Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFGroupStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupStyleCustomization() - * @generated - */ - EClass EEF_GROUP_STYLE_CUSTOMIZATION = eINSTANCE.getEEFGroupStyleCustomization(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_GROUP_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFGroupStyleCustomization_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTextStyleImpl EEF Text Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFTextStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextStyle() - * @generated - */ - EClass EEF_TEXT_STYLE = eINSTANCE.getEEFTextStyle(); - - /** - * The meta object literal for the 'Background Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFTextStyle_BackgroundColorExpression(); - - /** - * The meta object literal for the 'Foreground Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFTextStyle_ForegroundColorExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTextConditionalStyleImpl EEF Text Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFTextConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextConditionalStyle() - * @generated - */ - EClass EEF_TEXT_CONDITIONAL_STYLE = eINSTANCE.getEEFTextConditionalStyle(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_TEXT_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFTextConditionalStyle_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTextStyleCustomizationImpl EEF Text Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFTextStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextStyleCustomization() - * @generated - */ - EClass EEF_TEXT_STYLE_CUSTOMIZATION = eINSTANCE.getEEFTextStyleCustomization(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_TEXT_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFTextStyleCustomization_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFCheckboxStyleImpl EEF Checkbox Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFCheckboxStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxStyle() - * @generated - */ - EClass EEF_CHECKBOX_STYLE = eINSTANCE.getEEFCheckboxStyle(); - - /** - * The meta object literal for the 'Background Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFCheckboxStyle_BackgroundColorExpression(); - - /** - * The meta object literal for the 'Foreground Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFCheckboxStyle_ForegroundColorExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFCheckboxConditionalStyleImpl EEF Checkbox Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFCheckboxConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxConditionalStyle() - * @generated - */ - EClass EEF_CHECKBOX_CONDITIONAL_STYLE = eINSTANCE.getEEFCheckboxConditionalStyle(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFCheckboxConditionalStyle_Style(); + /** + * The meta object literal for the 'Label Expression' attribute feature. + * + * + * @generated + */ + EAttribute EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION = EefPackage.eINSTANCE.getEEFViewDescription_LabelExpression(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFCheckboxStyleCustomizationImpl EEF Checkbox Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFCheckboxStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFCheckboxStyleCustomization() - * @generated - */ - EClass EEF_CHECKBOX_STYLE_CUSTOMIZATION = eINSTANCE.getEEFCheckboxStyleCustomization(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFCheckboxStyleCustomization_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLabelStyleImpl EEF Label Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFLabelStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelStyle() - * @generated - */ - EClass EEF_LABEL_STYLE = eINSTANCE.getEEFLabelStyle(); - - /** - * The meta object literal for the 'Background Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLabelStyle_BackgroundColorExpression(); - - /** - * The meta object literal for the 'Foreground Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLabelStyle_ForegroundColorExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLabelConditionalStyleImpl EEF Label Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFLabelConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelConditionalStyle() - * @generated - */ - EClass EEF_LABEL_CONDITIONAL_STYLE = eINSTANCE.getEEFLabelConditionalStyle(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_LABEL_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFLabelConditionalStyle_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLabelStyleCustomizationImpl EEF Label Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFLabelStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLabelStyleCustomization() - * @generated - */ - EClass EEF_LABEL_STYLE_CUSTOMIZATION = eINSTANCE.getEEFLabelStyleCustomization(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_LABEL_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFLabelStyleCustomization_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFRadioStyleImpl EEF Radio Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFRadioStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioStyle() - * @generated - */ - EClass EEF_RADIO_STYLE = eINSTANCE.getEEFRadioStyle(); - - /** - * The meta object literal for the 'Background Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFRadioStyle_BackgroundColorExpression(); - - /** - * The meta object literal for the 'Foreground Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFRadioStyle_ForegroundColorExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFRadioConditionalStyleImpl EEF Radio Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFRadioConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioConditionalStyle() - * @generated - */ - EClass EEF_RADIO_CONDITIONAL_STYLE = eINSTANCE.getEEFRadioConditionalStyle(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_RADIO_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFRadioConditionalStyle_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFRadioStyleCustomizationImpl EEF Radio Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFRadioStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFRadioStyleCustomization() - * @generated - */ - EClass EEF_RADIO_STYLE_CUSTOMIZATION = eINSTANCE.getEEFRadioStyleCustomization(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_RADIO_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFRadioStyleCustomization_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLinkStyleImpl EEF Link Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFLinkStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkStyle() - * @generated - */ - EClass EEF_LINK_STYLE = eINSTANCE.getEEFLinkStyle(); - - /** - * The meta object literal for the 'Background Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLinkStyle_BackgroundColorExpression(); - - /** - * The meta object literal for the 'Foreground Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLinkStyle_ForegroundColorExpression(); - - /** - * The meta object literal for the 'Background Image Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION = eINSTANCE.getEEFLinkStyle_BackgroundImageExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLinkConditionalStyleImpl EEF Link Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFLinkConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkConditionalStyle() - * @generated - */ - EClass EEF_LINK_CONDITIONAL_STYLE = eINSTANCE.getEEFLinkConditionalStyle(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_LINK_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFLinkConditionalStyle_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLinkStyleCustomizationImpl EEF Link Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFLinkStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLinkStyleCustomization() - * @generated - */ - EClass EEF_LINK_STYLE_CUSTOMIZATION = eINSTANCE.getEEFLinkStyleCustomization(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_LINK_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFLinkStyleCustomization_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFSelectStyleImpl EEF Select Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFSelectStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectStyle() - * @generated - */ - EClass EEF_SELECT_STYLE = eINSTANCE.getEEFSelectStyle(); - - /** - * The meta object literal for the 'Background Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFSelectStyle_BackgroundColorExpression(); - - /** - * The meta object literal for the 'Foreground Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFSelectStyle_ForegroundColorExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFSelectConditionalStyleImpl EEF Select Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFSelectConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectConditionalStyle() - * @generated - */ - EClass EEF_SELECT_CONDITIONAL_STYLE = eINSTANCE.getEEFSelectConditionalStyle(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_SELECT_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFSelectConditionalStyle_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFSelectStyleCustomizationImpl EEF Select Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFSelectStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFSelectStyleCustomization() - * @generated - */ - EClass EEF_SELECT_STYLE_CUSTOMIZATION = eINSTANCE.getEEFSelectStyleCustomization(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_SELECT_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFSelectStyleCustomization_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeStyleImpl EEF Tree Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFTreeStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStyle() - * @generated - */ - EClass EEF_TREE_STYLE = eINSTANCE.getEEFTreeStyle(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeConditionalStyleImpl EEF Tree Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFTreeConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeConditionalStyle() - * @generated - */ - EClass EEF_TREE_CONDITIONAL_STYLE = eINSTANCE.getEEFTreeConditionalStyle(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_TREE_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFTreeConditionalStyle_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTreeStyleCustomizationImpl EEF Tree Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFTreeStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTreeStyleCustomization() - * @generated - */ - EClass EEF_TREE_STYLE_CUSTOMIZATION = eINSTANCE.getEEFTreeStyleCustomization(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_TREE_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFTreeStyleCustomization_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTableStyleImpl EEF Table Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFTableStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStyle() - * @generated - */ - EClass EEF_TABLE_STYLE = eINSTANCE.getEEFTableStyle(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTableConditionalStyleImpl EEF Table Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFTableConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableConditionalStyle() - * @generated - */ - EClass EEF_TABLE_CONDITIONAL_STYLE = eINSTANCE.getEEFTableConditionalStyle(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_TABLE_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFTableConditionalStyle_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTableStyleCustomizationImpl EEF Table Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFTableStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTableStyleCustomization() - * @generated - */ - EClass EEF_TABLE_STYLE_CUSTOMIZATION = eINSTANCE.getEEFTableStyleCustomization(); - - /** - * The meta object literal for the 'Style' containment reference feature. - * - * - * @generated - */ - EReference EEF_TABLE_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFTableStyleCustomization_Style(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLineStyleImpl EEF Line Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFLineStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineStyle() - * @generated - */ - EClass EEF_LINE_STYLE = eINSTANCE.getEEFLineStyle(); - - /** - * The meta object literal for the 'Background Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLineStyle_BackgroundColorExpression(); - - /** - * The meta object literal for the 'Foreground Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLineStyle_ForegroundColorExpression(); - - /** - * The meta object literal for the 'Header Background Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLineStyle_HeaderBackgroundColorExpression(); - - /** - * The meta object literal for the 'Header Foreground Color Expression' attribute feature. - * - * - * @generated - */ - EAttribute EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFLineStyle_HeaderForegroundColorExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLineConditionalStyleImpl EEF Line Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFLineConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineConditionalStyle() + * The meta object literal for the 'Groups' containment reference list feature. + * * @generated */ - EClass EEF_LINE_CONDITIONAL_STYLE = eINSTANCE.getEEFLineConditionalStyle(); + EReference EEF_VIEW_DESCRIPTION__GROUPS = EefPackage.eINSTANCE.getEEFViewDescription_Groups(); /** - * The meta object literal for the 'Style' containment reference feature. - * - * + * The meta object literal for the 'Pages' containment reference list feature. + * * @generated */ - EReference EEF_LINE_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFLineConditionalStyle_Style(); + EReference EEF_VIEW_DESCRIPTION__PAGES = EefPackage.eINSTANCE.getEEFViewDescription_Pages(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFLineStyleCustomizationImpl EEF Line Style Customization}' class. - * + * The meta object literal for the 'EPackages' reference list feature. * - * @see org.eclipse.eef.impl.EEFLineStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFLineStyleCustomization() + * * @generated */ - EClass EEF_LINE_STYLE_CUSTOMIZATION = eINSTANCE.getEEFLineStyleCustomization(); + EReference EEF_VIEW_DESCRIPTION__EPACKAGES = EefPackage.eINSTANCE.getEEFViewDescription_EPackages(); /** - * The meta object literal for the 'Style' containment reference feature. - * - * + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFPageDescriptionImpl + * EEF Page Description}' class. + * + * @see org.eclipse.eef.impl.EEFPageDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFPageDescription() * @generated */ - EReference EEF_LINE_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFLineStyleCustomization_Style(); + EClass EEF_PAGE_DESCRIPTION = EefPackage.eINSTANCE.getEEFPageDescription(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFColumnStyleImpl EEF Column Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFColumnStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnStyle() + * The meta object literal for the 'Identifier' attribute feature. + * * @generated */ - EClass EEF_COLUMN_STYLE = eINSTANCE.getEEFColumnStyle(); + EAttribute EEF_PAGE_DESCRIPTION__IDENTIFIER = EefPackage.eINSTANCE.getEEFPageDescription_Identifier(); /** - * The meta object literal for the 'Background Color Expression' attribute feature. - * + * The meta object literal for the 'Label Expression' attribute feature. * + * * @generated */ - EAttribute EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFColumnStyle_BackgroundColorExpression(); + EAttribute EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION = EefPackage.eINSTANCE.getEEFPageDescription_LabelExpression(); /** - * The meta object literal for the 'Foreground Color Expression' attribute feature. - * - * + * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * * @generated */ - EAttribute EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFColumnStyle_ForegroundColorExpression(); + EAttribute EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = EefPackage.eINSTANCE.getEEFPageDescription_SemanticCandidateExpression(); /** - * The meta object literal for the 'Header Background Color Expression' attribute feature. - * - * + * The meta object literal for the 'Groups' reference list feature. + * * @generated */ - EAttribute EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFColumnStyle_HeaderBackgroundColorExpression(); + EReference EEF_PAGE_DESCRIPTION__GROUPS = EefPackage.eINSTANCE.getEEFPageDescription_Groups(); /** - * The meta object literal for the 'Header Foreground Color Expression' attribute feature. - * - * + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFGroupDescriptionImpl + * EEF Group Description}' class. + * + * @see org.eclipse.eef.impl.EEFGroupDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFGroupDescription() * @generated */ - EAttribute EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION = eINSTANCE.getEEFColumnStyle_HeaderForegroundColorExpression(); + EClass EEF_GROUP_DESCRIPTION = EefPackage.eINSTANCE.getEEFGroupDescription(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFColumnConditionalStyleImpl EEF Column Conditional Style}' class. - * - * - * @see org.eclipse.eef.impl.EEFColumnConditionalStyleImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnConditionalStyle() + * The meta object literal for the 'Identifier' attribute feature. + * * @generated */ - EClass EEF_COLUMN_CONDITIONAL_STYLE = eINSTANCE.getEEFColumnConditionalStyle(); + EAttribute EEF_GROUP_DESCRIPTION__IDENTIFIER = EefPackage.eINSTANCE.getEEFGroupDescription_Identifier(); /** - * The meta object literal for the 'Style' containment reference feature. - * + * The meta object literal for the 'Label Expression' attribute feature. * + * * @generated */ - EReference EEF_COLUMN_CONDITIONAL_STYLE__STYLE = eINSTANCE.getEEFColumnConditionalStyle_Style(); + EAttribute EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION = EefPackage.eINSTANCE.getEEFGroupDescription_LabelExpression(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFColumnStyleCustomizationImpl EEF Column Style Customization}' class. - * - * - * @see org.eclipse.eef.impl.EEFColumnStyleCustomizationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFColumnStyleCustomization() + * The meta object literal for the 'Semantic Candidate Expression' attribute feature. + * * @generated */ - EClass EEF_COLUMN_STYLE_CUSTOMIZATION = eINSTANCE.getEEFColumnStyleCustomization(); + EAttribute EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = EefPackage.eINSTANCE.getEEFGroupDescription_SemanticCandidateExpression(); /** - * The meta object literal for the 'Style' containment reference feature. - * - * + * The meta object literal for the 'Container' containment reference feature. + * * @generated */ - EReference EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE = eINSTANCE.getEEFColumnStyleCustomization_Style(); + EReference EEF_GROUP_DESCRIPTION__CONTAINER = EefPackage.eINSTANCE.getEEFGroupDescription_Container(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFQuickFixImpl EEF Quick Fix}' class. - * - * - * @see org.eclipse.eef.impl.EEFQuickFixImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFQuickFix() + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFContainerDescriptionImpl + * EEF Container Description}' class. + * + * @see org.eclipse.eef.impl.EEFContainerDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFContainerDescription() * @generated */ - EClass EEF_QUICK_FIX = eINSTANCE.getEEFQuickFix(); + EClass EEF_CONTAINER_DESCRIPTION = EefPackage.eINSTANCE.getEEFContainerDescription(); /** - * The meta object literal for the 'Title Expression' attribute feature. - * - * + * The meta object literal for the 'Identifier' attribute feature. + * * @generated */ - EAttribute EEF_QUICK_FIX__TITLE_EXPRESSION = eINSTANCE.getEEFQuickFix_TitleExpression(); + EAttribute EEF_CONTAINER_DESCRIPTION__IDENTIFIER = EefPackage.eINSTANCE.getEEFContainerDescription_Identifier(); /** - * The meta object literal for the 'Message Expression' attribute feature. - * - * + * The meta object literal for the 'Widgets' containment reference list feature. + * * @generated */ - EAttribute EEF_QUICK_FIX__MESSAGE_EXPRESSION = eINSTANCE.getEEFQuickFix_MessageExpression(); + EReference EEF_CONTAINER_DESCRIPTION__WIDGETS = EefPackage.eINSTANCE.getEEFContainerDescription_Widgets(); /** - * The meta object literal for the 'Can Handle Status Expression' attribute feature. - * - * + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl + * EEF Widget Description}' class. + * + * @see org.eclipse.eef.impl.EEFWidgetDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFWidgetDescription() * @generated */ - EAttribute EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION = eINSTANCE.getEEFQuickFix_CanHandleStatusExpression(); + EClass EEF_WIDGET_DESCRIPTION = EefPackage.eINSTANCE.getEEFWidgetDescription(); /** - * The meta object literal for the 'Fix Expression' attribute feature. - * - * + * The meta object literal for the 'Identifier' attribute feature. + * * @generated */ - EAttribute EEF_QUICK_FIX__FIX_EXPRESSION = eINSTANCE.getEEFQuickFix_FixExpression(); + EAttribute EEF_WIDGET_DESCRIPTION__IDENTIFIER = EefPackage.eINSTANCE.getEEFWidgetDescription_Identifier(); /** - * The meta object literal for the '{@link org.eclipse.eef.impl.EEFValidationImpl EEF Validation}' class. - * + * The meta object literal for the 'Label Expression' attribute feature. * - * @see org.eclipse.eef.impl.EEFValidationImpl - * @see org.eclipse.eef.impl.EefPackageImpl#getEEFValidation() + * * @generated */ - EClass EEF_VALIDATION = eINSTANCE.getEEFValidation(); + EAttribute EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION = EefPackage.eINSTANCE.getEEFWidgetDescription_LabelExpression(); /** - * The meta object literal for the 'Validation Expression' attribute feature. - * - * + * The meta object literal for the '{@link org.eclipse.eef.impl.EEFTextDescriptionImpl + * EEF Text Description}' class. + * + * @see org.eclipse.eef.impl.EEFTextDescriptionImpl + * @see org.eclipse.eef.impl.EefPackageImpl#getEEFTextDescription() * @generated */ - EAttribute EEF_VALIDATION__VALIDATION_EXPRESSION = eINSTANCE.getEEFValidation_ValidationExpression(); + EClass EEF_TEXT_DESCRIPTION = EefPackage.eINSTANCE.getEEFTextDescription(); /** - * The meta object literal for the 'Quickfixes' containment reference list feature. - * + * The meta object literal for the 'Value Expression' attribute feature. * + * * @generated */ - EReference EEF_VALIDATION__QUICKFIXES = eINSTANCE.getEEFValidation_Quickfixes(); + EAttribute EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION = EefPackage.eINSTANCE.getEEFTextDescription_ValueExpression(); /** - * The meta object literal for the 'Type Name' data type. - * + * The meta object literal for the 'Edit Expression' attribute feature. * - * @see java.lang.String - * @see org.eclipse.eef.impl.EefPackageImpl#getTypeName() + * * @generated */ - EDataType TYPE_NAME = eINSTANCE.getTypeName(); + EAttribute EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION = EefPackage.eINSTANCE.getEEFTextDescription_EditExpression(); } -} //EefPackage +} // EefPackage diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java deleted file mode 100644 index 61b41f398..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTableStructureDescriptionImpl.java +++ /dev/null @@ -1,175 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFAdapterFactoryTableStructureDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Adapter Factory Table Structure Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFAdapterFactoryTableStructureDescriptionImpl#getAdapterFactoryProvider Adapter Factory Provider}
                • - *
                - * - * @generated - */ -public class EEFAdapterFactoryTableStructureDescriptionImpl extends EEFTableStructureDescriptionImpl - implements EEFAdapterFactoryTableStructureDescription { - /** - * The default value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. - * - * - * @see #getAdapterFactoryProvider() - * @generated - * @ordered - */ - protected static final String ADAPTER_FACTORY_PROVIDER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. - * - * - * @see #getAdapterFactoryProvider() - * @generated - * @ordered - */ - protected String adapterFactoryProvider = ADAPTER_FACTORY_PROVIDER_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFAdapterFactoryTableStructureDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getAdapterFactoryProvider() { - return adapterFactoryProvider; - } - - /** - * - * - * @generated - */ - @Override - public void setAdapterFactoryProvider(String newAdapterFactoryProvider) { - String oldAdapterFactoryProvider = adapterFactoryProvider; - adapterFactoryProvider = newAdapterFactoryProvider; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, oldAdapterFactoryProvider, - adapterFactoryProvider)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - return getAdapterFactoryProvider(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - setAdapterFactoryProvider((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - setAdapterFactoryProvider(ADAPTER_FACTORY_PROVIDER_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - return ADAPTER_FACTORY_PROVIDER_EDEFAULT == null ? adapterFactoryProvider != null - : !ADAPTER_FACTORY_PROVIDER_EDEFAULT.equals(adapterFactoryProvider); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (adapterFactoryProvider: "); //$NON-NLS-1$ - result.append(adapterFactoryProvider); - result.append(')'); - return result.toString(); - } - -} //EEFAdapterFactoryTableStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java deleted file mode 100644 index f13f7879a..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFAdapterFactoryTreeStructureDescriptionImpl.java +++ /dev/null @@ -1,174 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Adapter Factory Tree Structure Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFAdapterFactoryTreeStructureDescriptionImpl#getAdapterFactoryProvider Adapter Factory Provider}
                • - *
                - * - * @generated - */ -public class EEFAdapterFactoryTreeStructureDescriptionImpl extends EEFTreeStructureDescriptionImpl - implements EEFAdapterFactoryTreeStructureDescription { - /** - * The default value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. - * - * - * @see #getAdapterFactoryProvider() - * @generated - * @ordered - */ - protected static final String ADAPTER_FACTORY_PROVIDER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAdapterFactoryProvider() Adapter Factory Provider}' attribute. - * - * - * @see #getAdapterFactoryProvider() - * @generated - * @ordered - */ - protected String adapterFactoryProvider = ADAPTER_FACTORY_PROVIDER_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFAdapterFactoryTreeStructureDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getAdapterFactoryProvider() { - return adapterFactoryProvider; - } - - /** - * - * - * @generated - */ - @Override - public void setAdapterFactoryProvider(String newAdapterFactoryProvider) { - String oldAdapterFactoryProvider = adapterFactoryProvider; - adapterFactoryProvider = newAdapterFactoryProvider; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER, - oldAdapterFactoryProvider, adapterFactoryProvider)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - return getAdapterFactoryProvider(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - setAdapterFactoryProvider((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - setAdapterFactoryProvider(ADAPTER_FACTORY_PROVIDER_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER: - return ADAPTER_FACTORY_PROVIDER_EDEFAULT == null ? adapterFactoryProvider != null - : !ADAPTER_FACTORY_PROVIDER_EDEFAULT.equals(adapterFactoryProvider); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (adapterFactoryProvider: "); //$NON-NLS-1$ - result.append(adapterFactoryProvider); - result.append(')'); - return result.toString(); - } - -} //EEFAdapterFactoryTreeStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCellWidgetDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCellWidgetDescriptionImpl.java deleted file mode 100644 index a4ab0f3ad..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCellWidgetDescriptionImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFCellWidgetDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'EEF Cell Widget Description'. - * - * - * @generated - */ -public abstract class EEFCellWidgetDescriptionImpl extends EEFWidgetDescriptionImpl implements EEFCellWidgetDescription { - /** - * - * - * @generated - */ - protected EEFCellWidgetDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_CELL_WIDGET_DESCRIPTION; - } - -} //EEFCellWidgetDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxConditionalStyleImpl.java deleted file mode 100644 index 70a792414..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxConditionalStyleImpl.java +++ /dev/null @@ -1,217 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFCheckboxConditionalStyle; -import org.eclipse.eef.EEFCheckboxStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'EEF Checkbox Conditional Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFCheckboxConditionalStyleImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFCheckboxConditionalStyleImpl extends MinimalEObjectImpl.Container implements EEFCheckboxConditionalStyle { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFCheckboxStyle style; - - /** - * - * - * @generated - */ - protected EEFCheckboxConditionalStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_CHECKBOX_CONDITIONAL_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public EEFCheckboxStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFCheckboxStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, - null, null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFCheckboxStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFCheckboxStyle newStyle, NotificationChain msgs) { - EEFCheckboxStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFCheckboxStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE: - setStyle((EEFCheckboxStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE: - setStyle((EEFCheckboxStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFCheckboxConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxDescriptionImpl.java deleted file mode 100644 index 2e7c8b361..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxDescriptionImpl.java +++ /dev/null @@ -1,229 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFCheckboxDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Checkbox Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFCheckboxDescriptionImpl#getValueExpression Value Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFCheckboxDescriptionImpl#getEditExpression Edit Expression}
                • - *
                - * - * @generated - */ -public class EEFCheckboxDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFCheckboxDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected static final String EDIT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected String editExpression = EDIT_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFCheckboxDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_CHECKBOX_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, - valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getEditExpression() { - return editExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setEditExpression(String newEditExpression) { - String oldEditExpression = editExpression; - editExpression = newEditExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, - editExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: - return getEditExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression(EDIT_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - case EefPackage.EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION: - return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(", editExpression: "); //$NON-NLS-1$ - result.append(editExpression); - result.append(')'); - return result.toString(); - } - -} //EEFCheckboxDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleCustomizationImpl.java deleted file mode 100644 index 06ec02b8d..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleCustomizationImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFCheckboxStyle; -import org.eclipse.eef.EEFCheckboxStyleCustomization; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Checkbox Style Customization'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFCheckboxStyleCustomizationImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFCheckboxStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFCheckboxStyleCustomization { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFCheckboxStyle style; - - /** - * - * - * @generated - */ - protected EEFCheckboxStyleCustomizationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_CHECKBOX_STYLE_CUSTOMIZATION; - } - - /** - * - * - * @generated - */ - @Override - public EEFCheckboxStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFCheckboxStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, - null, null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFCheckboxStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFCheckboxStyle newStyle, NotificationChain msgs) { - EEFCheckboxStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, - oldStyle, newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFCheckboxStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, - null, msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, - null, msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFCheckboxStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFCheckboxStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFCheckboxStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleImpl.java deleted file mode 100644 index e2847e40e..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFCheckboxStyleImpl.java +++ /dev/null @@ -1,231 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFCheckboxStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Checkbox Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFCheckboxStyleImpl#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFCheckboxStyleImpl#getForegroundColorExpression Foreground Color Expression}
                • - *
                - * - * @generated - */ -public class EEFCheckboxStyleImpl extends EEFStyleImpl implements EEFCheckboxStyle { - /** - * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFCheckboxStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_CHECKBOX_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public String getBackgroundColorExpression() { - return backgroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setBackgroundColorExpression(String newBackgroundColorExpression) { - String oldBackgroundColorExpression = backgroundColorExpression; - backgroundColorExpression = newBackgroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION, - oldBackgroundColorExpression, backgroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getForegroundColorExpression() { - return foregroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setForegroundColorExpression(String newForegroundColorExpression) { - String oldForegroundColorExpression = foregroundColorExpression; - foregroundColorExpression = newForegroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION, - oldForegroundColorExpression, foregroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION: - return getBackgroundColorExpression(); - case EefPackage.EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION: - return getForegroundColorExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression((String) newValue); - return; - case EefPackage.EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION: - return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null - : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); - case EefPackage.EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION: - return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null - : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ - result.append(backgroundColorExpression); - result.append(", foregroundColorExpression: "); //$NON-NLS-1$ - result.append(foregroundColorExpression); - result.append(')'); - return result.toString(); - } - -} //EEFCheckboxStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnConditionalStyleImpl.java deleted file mode 100644 index dd8b11694..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnConditionalStyleImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFColumnConditionalStyle; -import org.eclipse.eef.EEFColumnStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Column Conditional Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFColumnConditionalStyleImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFColumnConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFColumnConditionalStyle { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFColumnStyle style; - - /** - * - * - * @generated - */ - protected EEFColumnConditionalStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_COLUMN_CONDITIONAL_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public EEFColumnStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFColumnStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFColumnStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFColumnStyle newStyle, NotificationChain msgs) { - EEFColumnStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFColumnStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE: - setStyle((EEFColumnStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE: - setStyle((EEFColumnStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFColumnConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnDescriptionImpl.java deleted file mode 100644 index e0f8aca5e..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnDescriptionImpl.java +++ /dev/null @@ -1,295 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFCellWidgetDescription; -import org.eclipse.eef.EEFColumnDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'EEF Column Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFColumnDescriptionImpl#getWidth Width}
                • - *
                • {@link org.eclipse.eef.impl.EEFColumnDescriptionImpl#getHeaderExpression Header Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFColumnDescriptionImpl#getCellWidget Cell Widget}
                • - *
                - * - * @generated - */ -public class EEFColumnDescriptionImpl extends MinimalEObjectImpl.Container implements EEFColumnDescription { - /** - * The default value of the '{@link #getWidth() Width}' attribute. - * - * - * @see #getWidth() - * @generated - * @ordered - */ - protected static final int WIDTH_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getWidth() Width}' attribute. - * - * - * @see #getWidth() - * @generated - * @ordered - */ - protected int width = WIDTH_EDEFAULT; - - /** - * The default value of the '{@link #getHeaderExpression() Header Expression}' attribute. - * - * - * @see #getHeaderExpression() - * @generated - * @ordered - */ - protected static final String HEADER_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHeaderExpression() Header Expression}' attribute. - * - * - * @see #getHeaderExpression() - * @generated - * @ordered - */ - protected String headerExpression = HEADER_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getCellWidget() Cell Widget}' reference. - * - * - * @see #getCellWidget() - * @generated - * @ordered - */ - protected EEFCellWidgetDescription cellWidget; - - /** - * - * - * @generated - */ - protected EEFColumnDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_COLUMN_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public int getWidth() { - return width; - } - - /** - * - * - * @generated - */ - @Override - public void setWidth(int newWidth) { - int oldWidth = width; - width = newWidth; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH, oldWidth, width)); - } - - /** - * - * - * @generated - */ - @Override - public String getHeaderExpression() { - return headerExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setHeaderExpression(String newHeaderExpression) { - String oldHeaderExpression = headerExpression; - headerExpression = newHeaderExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION, oldHeaderExpression, - headerExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EEFCellWidgetDescription getCellWidget() { - if (cellWidget != null && cellWidget.eIsProxy()) { - InternalEObject oldCellWidget = (InternalEObject) cellWidget; - cellWidget = (EEFCellWidgetDescription) eResolveProxy(oldCellWidget); - if (cellWidget != oldCellWidget) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET, oldCellWidget, - cellWidget)); - } - } - return cellWidget; - } - - /** - * - * - * @generated - */ - public EEFCellWidgetDescription basicGetCellWidget() { - return cellWidget; - } - - /** - * - * - * @generated - */ - @Override - public void setCellWidget(EEFCellWidgetDescription newCellWidget) { - EEFCellWidgetDescription oldCellWidget = cellWidget; - cellWidget = newCellWidget; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET, oldCellWidget, cellWidget)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: - return getWidth(); - case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: - return getHeaderExpression(); - case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: - if (resolve) - return getCellWidget(); - return basicGetCellWidget(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: - setWidth((Integer) newValue); - return; - case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: - setHeaderExpression((String) newValue); - return; - case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: - setCellWidget((EEFCellWidgetDescription) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: - setWidth(WIDTH_EDEFAULT); - return; - case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: - setHeaderExpression(HEADER_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: - setCellWidget((EEFCellWidgetDescription) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_COLUMN_DESCRIPTION__WIDTH: - return width != WIDTH_EDEFAULT; - case EefPackage.EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION: - return HEADER_EXPRESSION_EDEFAULT == null ? headerExpression != null : !HEADER_EXPRESSION_EDEFAULT.equals(headerExpression); - case EefPackage.EEF_COLUMN_DESCRIPTION__CELL_WIDGET: - return cellWidget != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (width: "); //$NON-NLS-1$ - result.append(width); - result.append(", headerExpression: "); //$NON-NLS-1$ - result.append(headerExpression); - result.append(')'); - return result.toString(); - } - -} //EEFColumnDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleCustomizationImpl.java deleted file mode 100644 index 3d5a87fc5..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleCustomizationImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFColumnStyle; -import org.eclipse.eef.EEFColumnStyleCustomization; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Column Style Customization'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFColumnStyleCustomizationImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFColumnStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFColumnStyleCustomization { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFColumnStyle style; - - /** - * - * - * @generated - */ - protected EEFColumnStyleCustomizationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_COLUMN_STYLE_CUSTOMIZATION; - } - - /** - * - * - * @generated - */ - @Override - public EEFColumnStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFColumnStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, - null, null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFColumnStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFColumnStyle newStyle, NotificationChain msgs) { - EEFColumnStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFColumnStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFColumnStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFColumnStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFColumnStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleImpl.java deleted file mode 100644 index 4c2ee7492..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFColumnStyleImpl.java +++ /dev/null @@ -1,347 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFColumnStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Column Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFColumnStyleImpl#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFColumnStyleImpl#getForegroundColorExpression Foreground Color Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFColumnStyleImpl#getHeaderBackgroundColorExpression Header Background Color Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFColumnStyleImpl#getHeaderForegroundColorExpression Header Foreground Color Expression}
                • - *
                - * - * @generated - */ -public class EEFColumnStyleImpl extends EEFStyleImpl implements EEFColumnStyle { - /** - * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getHeaderBackgroundColorExpression() Header Background Color Expression}' attribute. - * - * - * @see #getHeaderBackgroundColorExpression() - * @generated - * @ordered - */ - protected static final String HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHeaderBackgroundColorExpression() Header Background Color Expression}' attribute. - * - * - * @see #getHeaderBackgroundColorExpression() - * @generated - * @ordered - */ - protected String headerBackgroundColorExpression = HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getHeaderForegroundColorExpression() Header Foreground Color Expression}' attribute. - * - * - * @see #getHeaderForegroundColorExpression() - * @generated - * @ordered - */ - protected static final String HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHeaderForegroundColorExpression() Header Foreground Color Expression}' attribute. - * - * - * @see #getHeaderForegroundColorExpression() - * @generated - * @ordered - */ - protected String headerForegroundColorExpression = HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFColumnStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_COLUMN_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public String getBackgroundColorExpression() { - return backgroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setBackgroundColorExpression(String newBackgroundColorExpression) { - String oldBackgroundColorExpression = backgroundColorExpression; - backgroundColorExpression = newBackgroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION, - oldBackgroundColorExpression, backgroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getForegroundColorExpression() { - return foregroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setForegroundColorExpression(String newForegroundColorExpression) { - String oldForegroundColorExpression = foregroundColorExpression; - foregroundColorExpression = newForegroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION, - oldForegroundColorExpression, foregroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getHeaderBackgroundColorExpression() { - return headerBackgroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setHeaderBackgroundColorExpression(String newHeaderBackgroundColorExpression) { - String oldHeaderBackgroundColorExpression = headerBackgroundColorExpression; - headerBackgroundColorExpression = newHeaderBackgroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION, - oldHeaderBackgroundColorExpression, headerBackgroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getHeaderForegroundColorExpression() { - return headerForegroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setHeaderForegroundColorExpression(String newHeaderForegroundColorExpression) { - String oldHeaderForegroundColorExpression = headerForegroundColorExpression; - headerForegroundColorExpression = newHeaderForegroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION, - oldHeaderForegroundColorExpression, headerForegroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION: - return getBackgroundColorExpression(); - case EefPackage.EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION: - return getForegroundColorExpression(); - case EefPackage.EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: - return getHeaderBackgroundColorExpression(); - case EefPackage.EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: - return getHeaderForegroundColorExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression((String) newValue); - return; - case EefPackage.EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression((String) newValue); - return; - case EefPackage.EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: - setHeaderBackgroundColorExpression((String) newValue); - return; - case EefPackage.EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: - setHeaderForegroundColorExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: - setHeaderBackgroundColorExpression(HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: - setHeaderForegroundColorExpression(HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION: - return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null - : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); - case EefPackage.EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION: - return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null - : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); - case EefPackage.EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: - return HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? headerBackgroundColorExpression != null - : !HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(headerBackgroundColorExpression); - case EefPackage.EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: - return HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? headerForegroundColorExpression != null - : !HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(headerForegroundColorExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ - result.append(backgroundColorExpression); - result.append(", foregroundColorExpression: "); //$NON-NLS-1$ - result.append(foregroundColorExpression); - result.append(", headerBackgroundColorExpression: "); //$NON-NLS-1$ - result.append(headerBackgroundColorExpression); - result.append(", headerForegroundColorExpression: "); //$NON-NLS-1$ - result.append(headerForegroundColorExpression); - result.append(')'); - return result.toString(); - } - -} //EEFColumnStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFConditionalStyleImpl.java deleted file mode 100644 index a49f36054..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFConditionalStyleImpl.java +++ /dev/null @@ -1,174 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFConditionalStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'EEF Conditional Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFConditionalStyleImpl#getConditionalExpression Conditional Expression}
                • - *
                - * - * @generated - */ -public abstract class EEFConditionalStyleImpl extends MinimalEObjectImpl.Container implements EEFConditionalStyle { - /** - * The default value of the '{@link #getConditionalExpression() Conditional Expression}' attribute. - * - * - * @see #getConditionalExpression() - * @generated - * @ordered - */ - protected static final String CONDITIONAL_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getConditionalExpression() Conditional Expression}' attribute. - * - * - * @see #getConditionalExpression() - * @generated - * @ordered - */ - protected String conditionalExpression = CONDITIONAL_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFConditionalStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_CONDITIONAL_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public String getConditionalExpression() { - return conditionalExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setConditionalExpression(String newConditionalExpression) { - String oldConditionalExpression = conditionalExpression; - conditionalExpression = newConditionalExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION, oldConditionalExpression, - conditionalExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION: - return getConditionalExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION: - setConditionalExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION: - setConditionalExpression(CONDITIONAL_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION: - return CONDITIONAL_EXPRESSION_EDEFAULT == null ? conditionalExpression != null - : !CONDITIONAL_EXPRESSION_EDEFAULT.equals(conditionalExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (conditionalExpression: "); //$NON-NLS-1$ - result.append(conditionalExpression); - result.append(')'); - return result.toString(); - } - -} //EEFConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFContainerDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFContainerDescriptionImpl.java index 8618089ff..78501fc40 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFContainerDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFContainerDescriptionImpl.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -13,48 +13,34 @@ import java.util.Collection; import org.eclipse.eef.EEFContainerDescription; import org.eclipse.eef.EEFWidgetDescription; import org.eclipse.eef.EefPackage; - import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; - import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - import org.eclipse.emf.ecore.util.EObjectContainmentEList; import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.sirius.expression.UserDefinedVariable; - /** - * - * An implementation of the model object 'EEF Container Description'. - * + * An implementation of the model object 'EEF Container Description'. *

                * The following features are implemented: *

                *
                  - *
                • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getIdentifier Identifier}
                • - *
                • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getPreconditionExpression Precondition Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getUserDefinedVariables User Defined Variables}
                • - *
                • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getDomainClass Domain Class}
                • - *
                • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getLayoutColumnCount Layout Column Count}
                • - *
                • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getContainers Containers}
                • - *
                • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getWidgets Widgets}
                • + *
                • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getIdentifier Identifier}
                • + *
                • {@link org.eclipse.eef.impl.EEFContainerDescriptionImpl#getWidgets Widgets}
                • *
                * * @generated */ public class EEFContainerDescriptionImpl extends MinimalEObjectImpl.Container implements EEFContainerDescription { /** - * The default value of the '{@link #getIdentifier() Identifier}' attribute. - * - * + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * * @see #getIdentifier() * @generated * @ordered @@ -62,119 +48,19 @@ public class EEFContainerDescriptionImpl extends MinimalEObjectImpl.Container im protected static final String IDENTIFIER_EDEFAULT = null; /** - * The cached value of the '{@link #getIdentifier() Identifier}' attribute. - * - * + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * * @see #getIdentifier() * @generated * @ordered */ - protected String identifier = IDENTIFIER_EDEFAULT; + protected String identifier = EEFContainerDescriptionImpl.IDENTIFIER_EDEFAULT; /** - * The default value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. - * - * - * @see #getPreconditionExpression() - * @generated - * @ordered - */ - protected static final String PRECONDITION_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. - * - * - * @see #getPreconditionExpression() - * @generated - * @ordered - */ - protected String preconditionExpression = PRECONDITION_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getUserDefinedVariables() User Defined Variables}' containment reference list. - * - * - * @see #getUserDefinedVariables() - * @generated - * @ordered - */ - protected EList userDefinedVariables; - - /** - * The default value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. - * - * - * @see #getSemanticCandidateExpression() - * @generated - * @ordered - */ - protected static final String SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. - * - * - * @see #getSemanticCandidateExpression() - * @generated - * @ordered - */ - protected String semanticCandidateExpression = SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected static final String DOMAIN_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected String domainClass = DOMAIN_CLASS_EDEFAULT; - - /** - * The default value of the '{@link #getLayoutColumnCount() Layout Column Count}' attribute. - * - * - * @see #getLayoutColumnCount() - * @generated - * @ordered - */ - protected static final int LAYOUT_COLUMN_COUNT_EDEFAULT = 1; - - /** - * The cached value of the '{@link #getLayoutColumnCount() Layout Column Count}' attribute. - * - * - * @see #getLayoutColumnCount() - * @generated - * @ordered - */ - protected int layoutColumnCount = LAYOUT_COLUMN_COUNT_EDEFAULT; - - /** - * The cached value of the '{@link #getContainers() Containers}' containment reference list. - * - * - * @see #getContainers() - * @generated - * @ordered - */ - protected EList containers; - - /** - * The cached value of the '{@link #getWidgets() Widgets}' containment reference list. - * - * + * The cached value of the '{@link #getWidgets() Widgets}' containment reference list. + * * @see #getWidgets() * @generated * @ordered @@ -182,8 +68,8 @@ public class EEFContainerDescriptionImpl extends MinimalEObjectImpl.Container im protected EList widgets; /** - * - * + * + * * @generated */ protected EEFContainerDescriptionImpl() { @@ -191,8 +77,8 @@ public class EEFContainerDescriptionImpl extends MinimalEObjectImpl.Container im } /** - * - * + * + * * @generated */ @Override @@ -201,8 +87,8 @@ public class EEFContainerDescriptionImpl extends MinimalEObjectImpl.Container im } /** - * - * + * + * * @generated */ @Override @@ -211,144 +97,22 @@ public class EEFContainerDescriptionImpl extends MinimalEObjectImpl.Container im } /** - * - * + * + * * @generated */ @Override public void setIdentifier(String newIdentifier) { String oldIdentifier = identifier; identifier = newIdentifier; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); - } - - /** - * - * - * @generated - */ - @Override - public String getPreconditionExpression() { - return preconditionExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setPreconditionExpression(String newPreconditionExpression) { - String oldPreconditionExpression = preconditionExpression; - preconditionExpression = newPreconditionExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION, - oldPreconditionExpression, preconditionExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EList getUserDefinedVariables() { - if (userDefinedVariables == null) { - userDefinedVariables = new EObjectContainmentEList.Resolving(UserDefinedVariable.class, this, - EefPackage.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES); } - return userDefinedVariables; - } - - /** - * - * - * @generated - */ - @Override - public String getSemanticCandidateExpression() { - return semanticCandidateExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setSemanticCandidateExpression(String newSemanticCandidateExpression) { - String oldSemanticCandidateExpression = semanticCandidateExpression; - semanticCandidateExpression = newSemanticCandidateExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, - oldSemanticCandidateExpression, semanticCandidateExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getDomainClass() { - return domainClass; - } - - /** - * - * - * @generated - */ - @Override - public void setDomainClass(String newDomainClass) { - String oldDomainClass = domainClass; - domainClass = newDomainClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS, oldDomainClass, domainClass)); } /** - * - * - * @generated - */ - @Override - public int getLayoutColumnCount() { - return layoutColumnCount; - } - - /** - * - * - * @generated - */ - @Override - public void setLayoutColumnCount(int newLayoutColumnCount) { - int oldLayoutColumnCount = layoutColumnCount; - layoutColumnCount = newLayoutColumnCount; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT, oldLayoutColumnCount, - layoutColumnCount)); - } - - /** - * - * - * @generated - */ - @Override - public EList getContainers() { - if (containers == null) { - containers = new EObjectContainmentEList.Resolving(EEFContainerDescription.class, this, - EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS); - } - return containers; - } - - /** - * - * + * + * * @generated */ @Override @@ -361,17 +125,13 @@ public class EEFContainerDescriptionImpl extends MinimalEObjectImpl.Container im } /** - * - * + * + * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case EefPackage.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES: - return ((InternalEList) getUserDefinedVariables()).basicRemove(otherEnd, msgs); - case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: - return ((InternalEList) getContainers()).basicRemove(otherEnd, msgs); case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: return ((InternalEList) getWidgets()).basicRemove(otherEnd, msgs); } @@ -379,8 +139,8 @@ public class EEFContainerDescriptionImpl extends MinimalEObjectImpl.Container im } /** - * - * + * + * * @generated */ @Override @@ -388,18 +148,6 @@ public class EEFContainerDescriptionImpl extends MinimalEObjectImpl.Container im switch (featureID) { case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: return getIdentifier(); - case EefPackage.EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION: - return getPreconditionExpression(); - case EefPackage.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES: - return getUserDefinedVariables(); - case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - return getSemanticCandidateExpression(); - case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: - return getDomainClass(); - case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: - return getLayoutColumnCount(); - case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: - return getContainers(); case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: return getWidgets(); } @@ -407,8 +155,8 @@ public class EEFContainerDescriptionImpl extends MinimalEObjectImpl.Container im } /** - * - * + * + * * @generated */ @SuppressWarnings("unchecked") @@ -418,26 +166,6 @@ public class EEFContainerDescriptionImpl extends MinimalEObjectImpl.Container im case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: setIdentifier((String) newValue); return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION: - setPreconditionExpression((String) newValue); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES: - getUserDefinedVariables().clear(); - getUserDefinedVariables().addAll((Collection) newValue); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - setSemanticCandidateExpression((String) newValue); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: - setDomainClass((String) newValue); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: - setLayoutColumnCount((Integer) newValue); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: - getContainers().clear(); - getContainers().addAll((Collection) newValue); - return; case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: getWidgets().clear(); getWidgets().addAll((Collection) newValue); @@ -447,33 +175,15 @@ public class EEFContainerDescriptionImpl extends MinimalEObjectImpl.Container im } /** - * - * + * + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: - setIdentifier(IDENTIFIER_EDEFAULT); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION: - setPreconditionExpression(PRECONDITION_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES: - getUserDefinedVariables().clear(); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - setSemanticCandidateExpression(SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: - setDomainClass(DOMAIN_CLASS_EDEFAULT); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: - setLayoutColumnCount(LAYOUT_COLUMN_COUNT_EDEFAULT); - return; - case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: - getContainers().clear(); + setIdentifier(EEFContainerDescriptionImpl.IDENTIFIER_EDEFAULT); return; case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: getWidgets().clear(); @@ -483,29 +193,16 @@ public class EEFContainerDescriptionImpl extends MinimalEObjectImpl.Container im } /** - * - * + * + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER: - return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); - case EefPackage.EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION: - return PRECONDITION_EXPRESSION_EDEFAULT == null ? preconditionExpression != null - : !PRECONDITION_EXPRESSION_EDEFAULT.equals(preconditionExpression); - case EefPackage.EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES: - return userDefinedVariables != null && !userDefinedVariables.isEmpty(); - case EefPackage.EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - return SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null - : !SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); - case EefPackage.EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS: - return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); - case EefPackage.EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT: - return layoutColumnCount != LAYOUT_COLUMN_COUNT_EDEFAULT; - case EefPackage.EEF_CONTAINER_DESCRIPTION__CONTAINERS: - return containers != null && !containers.isEmpty(); + return EEFContainerDescriptionImpl.IDENTIFIER_EDEFAULT == null ? identifier != null + : !EEFContainerDescriptionImpl.IDENTIFIER_EDEFAULT.equals(identifier); case EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS: return widgets != null && !widgets.isEmpty(); } @@ -513,28 +210,21 @@ public class EEFContainerDescriptionImpl extends MinimalEObjectImpl.Container im } /** - * - * + * + * * @generated */ @Override public String toString() { - if (eIsProxy()) + if (eIsProxy()) { return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (identifier: "); //$NON-NLS-1$ result.append(identifier); - result.append(", preconditionExpression: "); //$NON-NLS-1$ - result.append(preconditionExpression); - result.append(", semanticCandidateExpression: "); //$NON-NLS-1$ - result.append(semanticCandidateExpression); - result.append(", domainClass: "); //$NON-NLS-1$ - result.append(domainClass); - result.append(", layoutColumnCount: "); //$NON-NLS-1$ - result.append(layoutColumnCount); result.append(')'); return result.toString(); } -} //EEFContainerDescriptionImpl +} // EEFContainerDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupConditionalStyleImpl.java deleted file mode 100644 index 77beac851..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupConditionalStyleImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFGroupConditionalStyle; -import org.eclipse.eef.EEFGroupStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Group Conditional Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFGroupConditionalStyleImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFGroupConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFGroupConditionalStyle { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFGroupStyle style; - - /** - * - * - * @generated - */ - protected EEFGroupConditionalStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_GROUP_CONDITIONAL_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public EEFGroupStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFGroupStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFGroupStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFGroupStyle newStyle, NotificationChain msgs) { - EEFGroupStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFGroupStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE: - setStyle((EEFGroupStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE: - setStyle((EEFGroupStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_GROUP_CONDITIONAL_STYLE__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFGroupConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java index 0e6dcb099..b9288efe3 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupDescriptionImpl.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -8,56 +8,37 @@ */ package org.eclipse.eef.impl; -import java.util.Collection; - import org.eclipse.eef.EEFContainerDescription; import org.eclipse.eef.EEFGroupDescription; -import org.eclipse.eef.EEFValidation; import org.eclipse.eef.EefPackage; - import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; - import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.sirius.expression.UserDefinedVariable; - /** - * - * An implementation of the model object 'EEF Group Description'. - * + * An implementation of the model object 'EEF Group Description'. *

                * The following features are implemented: *

                *
                  - *
                • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getIdentifier Identifier}
                • - *
                • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getPreconditionExpression Precondition Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getUserDefinedVariables User Defined Variables}
                • - *
                • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getLabelExpression Label Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getDomainClass Domain Class}
                • - *
                • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getContainer Container}
                • - *
                • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getCollapsibleExpression Collapsible Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getCollapsedByDefaultExpression Collapsed By Default Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getValidation Validation}
                • + *
                • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getIdentifier Identifier}
                • + *
                • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getLabelExpression Label Expression}
                • + *
                • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getSemanticCandidateExpression + * Semantic Candidate Expression}
                • + *
                • {@link org.eclipse.eef.impl.EEFGroupDescriptionImpl#getContainer Container}
                • *
                * * @generated */ public class EEFGroupDescriptionImpl extends MinimalEObjectImpl.Container implements EEFGroupDescription { /** - * The default value of the '{@link #getIdentifier() Identifier}' attribute. - * - * + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * * @see #getIdentifier() * @generated * @ordered @@ -65,49 +46,19 @@ public class EEFGroupDescriptionImpl extends MinimalEObjectImpl.Container implem protected static final String IDENTIFIER_EDEFAULT = null; /** - * The cached value of the '{@link #getIdentifier() Identifier}' attribute. - * - * + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * * @see #getIdentifier() * @generated * @ordered */ - protected String identifier = IDENTIFIER_EDEFAULT; - - /** - * The default value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. - * - * - * @see #getPreconditionExpression() - * @generated - * @ordered - */ - protected static final String PRECONDITION_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. - * - * - * @see #getPreconditionExpression() - * @generated - * @ordered - */ - protected String preconditionExpression = PRECONDITION_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getUserDefinedVariables() User Defined Variables}' containment reference list. - * - * - * @see #getUserDefinedVariables() - * @generated - * @ordered - */ - protected EList userDefinedVariables; + protected String identifier = EEFGroupDescriptionImpl.IDENTIFIER_EDEFAULT; /** - * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * + * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. + * * @see #getLabelExpression() * @generated * @ordered @@ -115,39 +66,19 @@ public class EEFGroupDescriptionImpl extends MinimalEObjectImpl.Container implem protected static final String LABEL_EXPRESSION_EDEFAULT = null; /** - * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * + * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. + * * @see #getLabelExpression() * @generated * @ordered */ - protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected static final String DOMAIN_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected String domainClass = DOMAIN_CLASS_EDEFAULT; + protected String labelExpression = EEFGroupDescriptionImpl.LABEL_EXPRESSION_EDEFAULT; /** - * The default value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. - * - * + * The default value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' + * attribute. + * * @see #getSemanticCandidateExpression() * @generated * @ordered @@ -155,19 +86,19 @@ public class EEFGroupDescriptionImpl extends MinimalEObjectImpl.Container implem protected static final String SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT = null; /** - * The cached value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. - * - * + * The cached value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' + * attribute. + * * @see #getSemanticCandidateExpression() * @generated * @ordered */ - protected String semanticCandidateExpression = SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT; + protected String semanticCandidateExpression = EEFGroupDescriptionImpl.SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT; /** - * The cached value of the '{@link #getContainer() Container}' containment reference. - * - * + * The cached value of the '{@link #getContainer() Container}' containment reference. + * * @see #getContainer() * @generated * @ordered @@ -175,58 +106,8 @@ public class EEFGroupDescriptionImpl extends MinimalEObjectImpl.Container implem protected EEFContainerDescription container; /** - * The default value of the '{@link #getCollapsibleExpression() Collapsible Expression}' attribute. - * - * - * @see #getCollapsibleExpression() - * @generated - * @ordered - */ - protected static final String COLLAPSIBLE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCollapsibleExpression() Collapsible Expression}' attribute. - * - * - * @see #getCollapsibleExpression() - * @generated - * @ordered - */ - protected String collapsibleExpression = COLLAPSIBLE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getCollapsedByDefaultExpression() Collapsed By Default Expression}' attribute. - * - * - * @see #getCollapsedByDefaultExpression() - * @generated - * @ordered - */ - protected static final String COLLAPSED_BY_DEFAULT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCollapsedByDefaultExpression() Collapsed By Default Expression}' attribute. - * - * - * @see #getCollapsedByDefaultExpression() - * @generated - * @ordered - */ - protected String collapsedByDefaultExpression = COLLAPSED_BY_DEFAULT_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getValidation() Validation}' containment reference. - * - * - * @see #getValidation() - * @generated - * @ordered - */ - protected EEFValidation validation; - - /** - * - * + * + * * @generated */ protected EEFGroupDescriptionImpl() { @@ -234,8 +115,8 @@ public class EEFGroupDescriptionImpl extends MinimalEObjectImpl.Container implem } /** - * - * + * + * * @generated */ @Override @@ -244,8 +125,8 @@ public class EEFGroupDescriptionImpl extends MinimalEObjectImpl.Container implem } /** - * - * + * + * * @generated */ @Override @@ -254,59 +135,22 @@ public class EEFGroupDescriptionImpl extends MinimalEObjectImpl.Container implem } /** - * - * + * + * * @generated */ @Override public void setIdentifier(String newIdentifier) { String oldIdentifier = identifier; identifier = newIdentifier; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); - } - - /** - * - * - * @generated - */ - @Override - public String getPreconditionExpression() { - return preconditionExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setPreconditionExpression(String newPreconditionExpression) { - String oldPreconditionExpression = preconditionExpression; - preconditionExpression = newPreconditionExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION, - oldPreconditionExpression, preconditionExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EList getUserDefinedVariables() { - if (userDefinedVariables == null) { - userDefinedVariables = new EObjectContainmentEList.Resolving(UserDefinedVariable.class, this, - EefPackage.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES); } - return userDefinedVariables; } /** - * - * + * + * * @generated */ @Override @@ -315,45 +159,23 @@ public class EEFGroupDescriptionImpl extends MinimalEObjectImpl.Container implem } /** - * - * + * + * * @generated */ @Override public void setLabelExpression(String newLabelExpression) { String oldLabelExpression = labelExpression; labelExpression = newLabelExpression; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION, oldLabelExpression, labelExpression)); + } } /** - * - * - * @generated - */ - @Override - public String getDomainClass() { - return domainClass; - } - - /** - * - * - * @generated - */ - @Override - public void setDomainClass(String newDomainClass) { - String oldDomainClass = domainClass; - domainClass = newDomainClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS, oldDomainClass, domainClass)); - } - - /** - * - * + * + * * @generated */ @Override @@ -362,22 +184,23 @@ public class EEFGroupDescriptionImpl extends MinimalEObjectImpl.Container implem } /** - * - * + * + * * @generated */ @Override public void setSemanticCandidateExpression(String newSemanticCandidateExpression) { String oldSemanticCandidateExpression = semanticCandidateExpression; semanticCandidateExpression = newSemanticCandidateExpression; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, oldSemanticCandidateExpression, semanticCandidateExpression)); + } } /** - * - * + * + * * @generated */ @Override @@ -387,23 +210,26 @@ public class EEFGroupDescriptionImpl extends MinimalEObjectImpl.Container implem container = (EEFContainerDescription) eResolveProxy(oldContainer); if (container != oldContainer) { InternalEObject newContainer = (InternalEObject) container; - NotificationChain msgs = oldContainer.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, - null); + NotificationChain msgs = oldContainer.eInverseRemove(this, + InternalEObject.EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, null); if (newContainer.eInternalContainer() == null) { - msgs = newContainer.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, msgs); + msgs = newContainer.eInverseAdd(this, InternalEObject.EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, + msgs); } - if (msgs != null) + if (msgs != null) { msgs.dispatch(); - if (eNotificationRequired()) + } + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, oldContainer, container)); + } } } return container; } /** - * - * + * + * * @generated */ public EEFContainerDescription basicGetContainer() { @@ -411,8 +237,8 @@ public class EEFGroupDescriptionImpl extends MinimalEObjectImpl.Container implem } /** - * - * + * + * * @generated */ public NotificationChain basicSetContainer(EEFContainerDescription newContainer, NotificationChain msgs) { @@ -421,182 +247,58 @@ public class EEFGroupDescriptionImpl extends MinimalEObjectImpl.Container implem if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, oldContainer, newContainer); - if (msgs == null) + if (msgs == null) { msgs = notification; - else + } else { msgs.add(notification); + } } return msgs; } /** - * - * + * + * * @generated */ @Override public void setContainer(EEFContainerDescription newContainer) { if (newContainer != container) { NotificationChain msgs = null; - if (container != null) - msgs = ((InternalEObject) container).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, - msgs); - if (newContainer != null) - msgs = ((InternalEObject) newContainer).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, - msgs); + if (container != null) { + msgs = ((InternalEObject) container).eInverseRemove(this, + InternalEObject.EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, msgs); + } + if (newContainer != null) { + msgs = ((InternalEObject) newContainer).eInverseAdd(this, + InternalEObject.EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, null, msgs); + } msgs = basicSetContainer(newContainer, msgs); - if (msgs != null) + if (msgs != null) { msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, newContainer, newContainer)); - } - - /** - * - * - * @generated - */ - @Override - public String getCollapsibleExpression() { - return collapsibleExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setCollapsibleExpression(String newCollapsibleExpression) { - String oldCollapsibleExpression = collapsibleExpression; - collapsibleExpression = newCollapsibleExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION, oldCollapsibleExpression, - collapsibleExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getCollapsedByDefaultExpression() { - return collapsedByDefaultExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setCollapsedByDefaultExpression(String newCollapsedByDefaultExpression) { - String oldCollapsedByDefaultExpression = collapsedByDefaultExpression; - collapsedByDefaultExpression = newCollapsedByDefaultExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION, - oldCollapsedByDefaultExpression, collapsedByDefaultExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EEFValidation getValidation() { - if (validation != null && validation.eIsProxy()) { - InternalEObject oldValidation = (InternalEObject) validation; - validation = (EEFValidation) eResolveProxy(oldValidation); - if (validation != oldValidation) { - InternalEObject newValidation = (InternalEObject) validation; - NotificationChain msgs = oldValidation.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION, - null, null); - if (newValidation.eInternalContainer() == null) { - msgs = newValidation.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION, oldValidation, - validation)); } + } else if (eNotificationRequired()) { + eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER, newContainer, newContainer)); } - return validation; - } - - /** - * - * - * @generated - */ - public EEFValidation basicGetValidation() { - return validation; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetValidation(EEFValidation newValidation, NotificationChain msgs) { - EEFValidation oldValidation = validation; - validation = newValidation; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION, - oldValidation, newValidation); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setValidation(EEFValidation newValidation) { - if (newValidation != validation) { - NotificationChain msgs = null; - if (validation != null) - msgs = ((InternalEObject) validation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION, - null, msgs); - if (newValidation != null) - msgs = ((InternalEObject) newValidation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION, - null, msgs); - msgs = basicSetValidation(newValidation, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION, newValidation, newValidation)); } /** - * - * + * + * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case EefPackage.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES: - return ((InternalEList) getUserDefinedVariables()).basicRemove(otherEnd, msgs); case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: return basicSetContainer(null, msgs); - case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION: - return basicSetValidation(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } /** - * - * + * + * * @generated */ @Override @@ -604,181 +306,110 @@ public class EEFGroupDescriptionImpl extends MinimalEObjectImpl.Container implem switch (featureID) { case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: return getIdentifier(); - case EefPackage.EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION: - return getPreconditionExpression(); - case EefPackage.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES: - return getUserDefinedVariables(); case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: return getLabelExpression(); - case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: - return getDomainClass(); case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: return getSemanticCandidateExpression(); case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: - if (resolve) + if (resolve) { return getContainer(); + } return basicGetContainer(); - case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION: - return getCollapsibleExpression(); - case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION: - return getCollapsedByDefaultExpression(); - case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION: - if (resolve) - return getValidation(); - return basicGetValidation(); } return super.eGet(featureID, resolve, coreType); } /** - * - * + * + * * @generated */ - @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: setIdentifier((String) newValue); return; - case EefPackage.EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION: - setPreconditionExpression((String) newValue); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES: - getUserDefinedVariables().clear(); - getUserDefinedVariables().addAll((Collection) newValue); - return; case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: setLabelExpression((String) newValue); return; - case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: - setDomainClass((String) newValue); - return; case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: setSemanticCandidateExpression((String) newValue); return; case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: setContainer((EEFContainerDescription) newValue); return; - case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION: - setCollapsibleExpression((String) newValue); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION: - setCollapsedByDefaultExpression((String) newValue); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION: - setValidation((EEFValidation) newValue); - return; } super.eSet(featureID, newValue); } /** - * - * + * + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: - setIdentifier(IDENTIFIER_EDEFAULT); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION: - setPreconditionExpression(PRECONDITION_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES: - getUserDefinedVariables().clear(); + setIdentifier(EEFGroupDescriptionImpl.IDENTIFIER_EDEFAULT); return; case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: - setLabelExpression(LABEL_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: - setDomainClass(DOMAIN_CLASS_EDEFAULT); + setLabelExpression(EEFGroupDescriptionImpl.LABEL_EXPRESSION_EDEFAULT); return; case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - setSemanticCandidateExpression(SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT); + setSemanticCandidateExpression(EEFGroupDescriptionImpl.SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT); return; case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: setContainer((EEFContainerDescription) null); return; - case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION: - setCollapsibleExpression(COLLAPSIBLE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION: - setCollapsedByDefaultExpression(COLLAPSED_BY_DEFAULT_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION: - setValidation((EEFValidation) null); - return; } super.eUnset(featureID); } /** - * - * + * + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER: - return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); - case EefPackage.EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION: - return PRECONDITION_EXPRESSION_EDEFAULT == null ? preconditionExpression != null - : !PRECONDITION_EXPRESSION_EDEFAULT.equals(preconditionExpression); - case EefPackage.EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES: - return userDefinedVariables != null && !userDefinedVariables.isEmpty(); + return EEFGroupDescriptionImpl.IDENTIFIER_EDEFAULT == null ? identifier != null + : !EEFGroupDescriptionImpl.IDENTIFIER_EDEFAULT.equals(identifier); case EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION: - return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); - case EefPackage.EEF_GROUP_DESCRIPTION__DOMAIN_CLASS: - return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); + return EEFGroupDescriptionImpl.LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null + : !EEFGroupDescriptionImpl.LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); case EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - return SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null - : !SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); + return EEFGroupDescriptionImpl.SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null + : !EEFGroupDescriptionImpl.SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); case EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER: return container != null; - case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION: - return COLLAPSIBLE_EXPRESSION_EDEFAULT == null ? collapsibleExpression != null - : !COLLAPSIBLE_EXPRESSION_EDEFAULT.equals(collapsibleExpression); - case EefPackage.EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION: - return COLLAPSED_BY_DEFAULT_EXPRESSION_EDEFAULT == null ? collapsedByDefaultExpression != null - : !COLLAPSED_BY_DEFAULT_EXPRESSION_EDEFAULT.equals(collapsedByDefaultExpression); - case EefPackage.EEF_GROUP_DESCRIPTION__VALIDATION: - return validation != null; } return super.eIsSet(featureID); } /** - * - * + * + * * @generated */ @Override public String toString() { - if (eIsProxy()) + if (eIsProxy()) { return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (identifier: "); //$NON-NLS-1$ result.append(identifier); - result.append(", preconditionExpression: "); //$NON-NLS-1$ - result.append(preconditionExpression); result.append(", labelExpression: "); //$NON-NLS-1$ result.append(labelExpression); - result.append(", domainClass: "); //$NON-NLS-1$ - result.append(domainClass); result.append(", semanticCandidateExpression: "); //$NON-NLS-1$ result.append(semanticCandidateExpression); - result.append(", collapsibleExpression: "); //$NON-NLS-1$ - result.append(collapsibleExpression); - result.append(", collapsedByDefaultExpression: "); //$NON-NLS-1$ - result.append(collapsedByDefaultExpression); result.append(')'); return result.toString(); } -} //EEFGroupDescriptionImpl +} // EEFGroupDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleCustomizationImpl.java deleted file mode 100644 index 0226cc138..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleCustomizationImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFGroupStyle; -import org.eclipse.eef.EEFGroupStyleCustomization; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Group Style Customization'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFGroupStyleCustomizationImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFGroupStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFGroupStyleCustomization { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFGroupStyle style; - - /** - * - * - * @generated - */ - protected EEFGroupStyleCustomizationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_GROUP_STYLE_CUSTOMIZATION; - } - - /** - * - * - * @generated - */ - @Override - public EEFGroupStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFGroupStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFGroupStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFGroupStyle newStyle, NotificationChain msgs) { - EEFGroupStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFGroupStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFGroupStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFGroupStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFGroupStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleImpl.java deleted file mode 100644 index efd5f9073..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFGroupStyleImpl.java +++ /dev/null @@ -1,173 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFGroupStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Group Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFGroupStyleImpl#getForegroundColorExpression Foreground Color Expression}
                • - *
                - * - * @generated - */ -public class EEFGroupStyleImpl extends EEFStyleImpl implements EEFGroupStyle { - /** - * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFGroupStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_GROUP_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public String getForegroundColorExpression() { - return foregroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setForegroundColorExpression(String newForegroundColorExpression) { - String oldForegroundColorExpression = foregroundColorExpression; - foregroundColorExpression = newForegroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION, - oldForegroundColorExpression, foregroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION: - return getForegroundColorExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION: - return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null - : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (foregroundColorExpression: "); //$NON-NLS-1$ - result.append(foregroundColorExpression); - result.append(')'); - return result.toString(); - } - -} //EEFGroupStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImageDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImageDescriptionImpl.java deleted file mode 100644 index ca2168e06..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImageDescriptionImpl.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFImageDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Image Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFImageDescriptionImpl#getValueExpression Value Expression}
                • - *
                - * - * @generated - */ -public class EEFImageDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFImageDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFImageDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_IMAGE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, - valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(')'); - return result.toString(); - } - -} //EEFImageDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImagePickerDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImagePickerDescriptionImpl.java deleted file mode 100644 index fb5187da7..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFImagePickerDescriptionImpl.java +++ /dev/null @@ -1,287 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFImagePickerDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Image Picker Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFImagePickerDescriptionImpl#getValueExpression Value Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFImagePickerDescriptionImpl#getEditExpression Edit Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFImagePickerDescriptionImpl#getCandidatesExpression Candidates Expression}
                • - *
                - * - * @generated - */ -public class EEFImagePickerDescriptionImpl extends EEFWidgetDescriptionImpl implements EEFImagePickerDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected static final String EDIT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected String editExpression = EDIT_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. - * - * - * @see #getCandidatesExpression() - * @generated - * @ordered - */ - protected static final String CANDIDATES_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. - * - * - * @see #getCandidatesExpression() - * @generated - * @ordered - */ - protected String candidatesExpression = CANDIDATES_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFImagePickerDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_IMAGE_PICKER_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, - valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getEditExpression() { - return editExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setEditExpression(String newEditExpression) { - String oldEditExpression = editExpression; - editExpression = newEditExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, - editExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getCandidatesExpression() { - return candidatesExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setCandidatesExpression(String newCandidatesExpression) { - String oldCandidatesExpression = candidatesExpression; - candidatesExpression = newCandidatesExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION, - oldCandidatesExpression, candidatesExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: - return getEditExpression(); - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: - return getCandidatesExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression((String) newValue); - return; - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: - setCandidatesExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression(EDIT_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: - setCandidatesExpression(CANDIDATES_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION: - return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION: - return CANDIDATES_EXPRESSION_EDEFAULT == null ? candidatesExpression != null - : !CANDIDATES_EXPRESSION_EDEFAULT.equals(candidatesExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(", editExpression: "); //$NON-NLS-1$ - result.append(editExpression); - result.append(", candidatesExpression: "); //$NON-NLS-1$ - result.append(candidatesExpression); - result.append(')'); - return result.toString(); - } - -} //EEFImagePickerDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java deleted file mode 100644 index e482b5495..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTableStructureDescriptionImpl.java +++ /dev/null @@ -1,265 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import java.util.Collection; - -import org.eclipse.eef.EEFColumnDescription; -import org.eclipse.eef.EEFInterpretedTableStructureDescription; -import org.eclipse.eef.EEFLineDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'EEF Interpreted Table Structure Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl#getColumns Columns}
                • - *
                • {@link org.eclipse.eef.impl.EEFInterpretedTableStructureDescriptionImpl#getLine Line}
                • - *
                - * - * @generated - */ -public class EEFInterpretedTableStructureDescriptionImpl extends EEFTableStructureDescriptionImpl implements EEFInterpretedTableStructureDescription { - /** - * The cached value of the '{@link #getColumns() Columns}' containment reference list. - * - * - * @see #getColumns() - * @generated - * @ordered - */ - protected EList columns; - - /** - * The cached value of the '{@link #getLine() Line}' containment reference. - * - * - * @see #getLine() - * @generated - * @ordered - */ - protected EEFLineDescription line; - - /** - * - * - * @generated - */ - protected EEFInterpretedTableStructureDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public EList getColumns() { - if (columns == null) { - columns = new EObjectContainmentEList.Resolving(EEFColumnDescription.class, this, - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS); - } - return columns; - } - - /** - * - * - * @generated - */ - @Override - public EEFLineDescription getLine() { - if (line != null && line.eIsProxy()) { - InternalEObject oldLine = (InternalEObject) line; - line = (EEFLineDescription) eResolveProxy(oldLine); - if (line != oldLine) { - InternalEObject newLine = (InternalEObject) line; - NotificationChain msgs = oldLine.eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, null); - if (newLine.eInternalContainer() == null) { - msgs = newLine.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, - msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, oldLine, - line)); - } - } - return line; - } - - /** - * - * - * @generated - */ - public EEFLineDescription basicGetLine() { - return line; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetLine(EEFLineDescription newLine, NotificationChain msgs) { - EEFLineDescription oldLine = line; - line = newLine; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, oldLine, newLine); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setLine(EEFLineDescription newLine) { - if (newLine != line) { - NotificationChain msgs = null; - if (line != null) - msgs = ((InternalEObject) line).eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, msgs); - if (newLine != null) - msgs = ((InternalEObject) newLine).eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, null, msgs); - msgs = basicSetLine(newLine, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE, newLine, newLine)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: - return ((InternalEList) getColumns()).basicRemove(otherEnd, msgs); - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: - return basicSetLine(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: - return getColumns(); - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: - if (resolve) - return getLine(); - return basicGetLine(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: - getColumns().clear(); - getColumns().addAll((Collection) newValue); - return; - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: - setLine((EEFLineDescription) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: - getColumns().clear(); - return; - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: - setLine((EEFLineDescription) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS: - return columns != null && !columns.isEmpty(); - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE: - return line != null; - } - return super.eIsSet(featureID); - } - -} //EEFInterpretedTableStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java deleted file mode 100644 index 202a3f13f..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFInterpretedTreeStructureDescriptionImpl.java +++ /dev/null @@ -1,346 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFInterpretedTreeStructureDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Interpreted Tree Structure Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getRootsExpression Roots Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getChildrenExpression Children Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getSelectablePredicateExpression Selectable Predicate Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFInterpretedTreeStructureDescriptionImpl#getCandidateDisplayExpression Candidate Display Expression}
                • - *
                - * - * @generated - */ -public class EEFInterpretedTreeStructureDescriptionImpl extends EEFTreeStructureDescriptionImpl implements EEFInterpretedTreeStructureDescription { - /** - * The default value of the '{@link #getRootsExpression() Roots Expression}' attribute. - * - * - * @see #getRootsExpression() - * @generated - * @ordered - */ - protected static final String ROOTS_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRootsExpression() Roots Expression}' attribute. - * - * - * @see #getRootsExpression() - * @generated - * @ordered - */ - protected String rootsExpression = ROOTS_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getChildrenExpression() Children Expression}' attribute. - * - * - * @see #getChildrenExpression() - * @generated - * @ordered - */ - protected static final String CHILDREN_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getChildrenExpression() Children Expression}' attribute. - * - * - * @see #getChildrenExpression() - * @generated - * @ordered - */ - protected String childrenExpression = CHILDREN_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getSelectablePredicateExpression() Selectable Predicate Expression}' attribute. - * - * - * @see #getSelectablePredicateExpression() - * @generated - * @ordered - */ - protected static final String SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSelectablePredicateExpression() Selectable Predicate Expression}' attribute. - * - * - * @see #getSelectablePredicateExpression() - * @generated - * @ordered - */ - protected String selectablePredicateExpression = SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. - * - * - * @see #getCandidateDisplayExpression() - * @generated - * @ordered - */ - protected static final String CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. - * - * - * @see #getCandidateDisplayExpression() - * @generated - * @ordered - */ - protected String candidateDisplayExpression = CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFInterpretedTreeStructureDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getRootsExpression() { - return rootsExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setRootsExpression(String newRootsExpression) { - String oldRootsExpression = rootsExpression; - rootsExpression = newRootsExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION, - oldRootsExpression, rootsExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getChildrenExpression() { - return childrenExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setChildrenExpression(String newChildrenExpression) { - String oldChildrenExpression = childrenExpression; - childrenExpression = newChildrenExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION, - oldChildrenExpression, childrenExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getSelectablePredicateExpression() { - return selectablePredicateExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setSelectablePredicateExpression(String newSelectablePredicateExpression) { - String oldSelectablePredicateExpression = selectablePredicateExpression; - selectablePredicateExpression = newSelectablePredicateExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION, oldSelectablePredicateExpression, - selectablePredicateExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getCandidateDisplayExpression() { - return candidateDisplayExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setCandidateDisplayExpression(String newCandidateDisplayExpression) { - String oldCandidateDisplayExpression = candidateDisplayExpression; - candidateDisplayExpression = newCandidateDisplayExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, - oldCandidateDisplayExpression, candidateDisplayExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: - return getRootsExpression(); - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: - return getChildrenExpression(); - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: - return getSelectablePredicateExpression(); - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - return getCandidateDisplayExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: - setRootsExpression((String) newValue); - return; - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: - setChildrenExpression((String) newValue); - return; - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: - setSelectablePredicateExpression((String) newValue); - return; - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - setCandidateDisplayExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: - setRootsExpression(ROOTS_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: - setChildrenExpression(CHILDREN_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: - setSelectablePredicateExpression(SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - setCandidateDisplayExpression(CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION: - return ROOTS_EXPRESSION_EDEFAULT == null ? rootsExpression != null : !ROOTS_EXPRESSION_EDEFAULT.equals(rootsExpression); - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION: - return CHILDREN_EXPRESSION_EDEFAULT == null ? childrenExpression != null : !CHILDREN_EXPRESSION_EDEFAULT.equals(childrenExpression); - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION: - return SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT == null ? selectablePredicateExpression != null - : !SELECTABLE_PREDICATE_EXPRESSION_EDEFAULT.equals(selectablePredicateExpression); - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - return CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT == null ? candidateDisplayExpression != null - : !CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT.equals(candidateDisplayExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (rootsExpression: "); //$NON-NLS-1$ - result.append(rootsExpression); - result.append(", childrenExpression: "); //$NON-NLS-1$ - result.append(childrenExpression); - result.append(", selectablePredicateExpression: "); //$NON-NLS-1$ - result.append(selectablePredicateExpression); - result.append(", candidateDisplayExpression: "); //$NON-NLS-1$ - result.append(candidateDisplayExpression); - result.append(')'); - return result.toString(); - } - -} //EEFInterpretedTreeStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFJavaExtensionDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFJavaExtensionDescriptionImpl.java deleted file mode 100644 index c82929b86..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFJavaExtensionDescriptionImpl.java +++ /dev/null @@ -1,173 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFJavaExtensionDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'EEF Java Extension Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFJavaExtensionDescriptionImpl#getQualifiedName Qualified Name}
                • - *
                - * - * @generated - */ -public class EEFJavaExtensionDescriptionImpl extends MinimalEObjectImpl.Container implements EEFJavaExtensionDescription { - /** - * The default value of the '{@link #getQualifiedName() Qualified Name}' attribute. - * - * - * @see #getQualifiedName() - * @generated - * @ordered - */ - protected static final String QUALIFIED_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getQualifiedName() Qualified Name}' attribute. - * - * - * @see #getQualifiedName() - * @generated - * @ordered - */ - protected String qualifiedName = QUALIFIED_NAME_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFJavaExtensionDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_JAVA_EXTENSION_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getQualifiedName() { - return qualifiedName; - } - - /** - * - * - * @generated - */ - @Override - public void setQualifiedName(String newQualifiedName) { - String oldQualifiedName = qualifiedName; - qualifiedName = newQualifiedName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME, oldQualifiedName, - qualifiedName)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: - return getQualifiedName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: - setQualifiedName((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: - setQualifiedName(QUALIFIED_NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME: - return QUALIFIED_NAME_EDEFAULT == null ? qualifiedName != null : !QUALIFIED_NAME_EDEFAULT.equals(qualifiedName); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (qualifiedName: "); //$NON-NLS-1$ - result.append(qualifiedName); - result.append(')'); - return result.toString(); - } - -} //EEFJavaExtensionDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelConditionalStyleImpl.java deleted file mode 100644 index 358440e2c..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelConditionalStyleImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFLabelConditionalStyle; -import org.eclipse.eef.EEFLabelStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Label Conditional Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFLabelConditionalStyleImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFLabelConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFLabelConditionalStyle { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFLabelStyle style; - - /** - * - * - * @generated - */ - protected EEFLabelConditionalStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_LABEL_CONDITIONAL_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public EEFLabelStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFLabelStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFLabelStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFLabelStyle newStyle, NotificationChain msgs) { - EEFLabelStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFLabelStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE: - setStyle((EEFLabelStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE: - setStyle((EEFLabelStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_LABEL_CONDITIONAL_STYLE__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFLabelConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelDescriptionImpl.java deleted file mode 100644 index a170a2388..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelDescriptionImpl.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFLabelDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Label Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFLabelDescriptionImpl#getValueExpression Value Expression}
                • - *
                - * - * @generated - */ -public class EEFLabelDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFLabelDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFLabelDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_LABEL_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, - valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(')'); - return result.toString(); - } - -} //EEFLabelDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleCustomizationImpl.java deleted file mode 100644 index 66ba7a86f..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleCustomizationImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFLabelStyle; -import org.eclipse.eef.EEFLabelStyleCustomization; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Label Style Customization'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFLabelStyleCustomizationImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFLabelStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFLabelStyleCustomization { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFLabelStyle style; - - /** - * - * - * @generated - */ - protected EEFLabelStyleCustomizationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_LABEL_STYLE_CUSTOMIZATION; - } - - /** - * - * - * @generated - */ - @Override - public EEFLabelStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFLabelStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFLabelStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFLabelStyle newStyle, NotificationChain msgs) { - EEFLabelStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFLabelStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFLabelStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFLabelStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFLabelStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleImpl.java deleted file mode 100644 index be6baf9f0..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLabelStyleImpl.java +++ /dev/null @@ -1,231 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFLabelStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Label Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFLabelStyleImpl#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFLabelStyleImpl#getForegroundColorExpression Foreground Color Expression}
                • - *
                - * - * @generated - */ -public class EEFLabelStyleImpl extends EEFStyleImpl implements EEFLabelStyle { - /** - * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFLabelStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_LABEL_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public String getBackgroundColorExpression() { - return backgroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setBackgroundColorExpression(String newBackgroundColorExpression) { - String oldBackgroundColorExpression = backgroundColorExpression; - backgroundColorExpression = newBackgroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION, - oldBackgroundColorExpression, backgroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getForegroundColorExpression() { - return foregroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setForegroundColorExpression(String newForegroundColorExpression) { - String oldForegroundColorExpression = foregroundColorExpression; - foregroundColorExpression = newForegroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION, - oldForegroundColorExpression, foregroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION: - return getBackgroundColorExpression(); - case EefPackage.EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION: - return getForegroundColorExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression((String) newValue); - return; - case EefPackage.EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION: - return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null - : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); - case EefPackage.EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION: - return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null - : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ - result.append(backgroundColorExpression); - result.append(", foregroundColorExpression: "); //$NON-NLS-1$ - result.append(foregroundColorExpression); - result.append(')'); - return result.toString(); - } - -} //EEFLabelStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineConditionalStyleImpl.java deleted file mode 100644 index a3d2ffe64..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineConditionalStyleImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFLineConditionalStyle; -import org.eclipse.eef.EEFLineStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Line Conditional Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFLineConditionalStyleImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFLineConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFLineConditionalStyle { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFLineStyle style; - - /** - * - * - * @generated - */ - protected EEFLineConditionalStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_LINE_CONDITIONAL_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public EEFLineStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFLineStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFLineStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFLineStyle newStyle, NotificationChain msgs) { - EEFLineStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFLineStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE: - setStyle((EEFLineStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE: - setStyle((EEFLineStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINE_CONDITIONAL_STYLE__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFLineConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineDescriptionImpl.java deleted file mode 100644 index a647c9692..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineDescriptionImpl.java +++ /dev/null @@ -1,347 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import java.util.Collection; - -import org.eclipse.eef.EEFLineDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'EEF Line Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFLineDescriptionImpl#getHeaderExpression Header Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFLineDescriptionImpl#getSemanticCandidatesExpression Semantic Candidates Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFLineDescriptionImpl#getDomainClass Domain Class}
                • - *
                • {@link org.eclipse.eef.impl.EEFLineDescriptionImpl#getSubLines Sub Lines}
                • - *
                - * - * @generated - */ -public class EEFLineDescriptionImpl extends MinimalEObjectImpl.Container implements EEFLineDescription { - /** - * The default value of the '{@link #getHeaderExpression() Header Expression}' attribute. - * - * - * @see #getHeaderExpression() - * @generated - * @ordered - */ - protected static final String HEADER_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHeaderExpression() Header Expression}' attribute. - * - * - * @see #getHeaderExpression() - * @generated - * @ordered - */ - protected String headerExpression = HEADER_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. - * - * - * @see #getSemanticCandidatesExpression() - * @generated - * @ordered - */ - protected static final String SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSemanticCandidatesExpression() Semantic Candidates Expression}' attribute. - * - * - * @see #getSemanticCandidatesExpression() - * @generated - * @ordered - */ - protected String semanticCandidatesExpression = SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected static final String DOMAIN_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected String domainClass = DOMAIN_CLASS_EDEFAULT; - - /** - * The cached value of the '{@link #getSubLines() Sub Lines}' containment reference list. - * - * - * @see #getSubLines() - * @generated - * @ordered - */ - protected EList subLines; - - /** - * - * - * @generated - */ - protected EEFLineDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_LINE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getHeaderExpression() { - return headerExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setHeaderExpression(String newHeaderExpression) { - String oldHeaderExpression = headerExpression; - headerExpression = newHeaderExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION, oldHeaderExpression, - headerExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getSemanticCandidatesExpression() { - return semanticCandidatesExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setSemanticCandidatesExpression(String newSemanticCandidatesExpression) { - String oldSemanticCandidatesExpression = semanticCandidatesExpression; - semanticCandidatesExpression = newSemanticCandidatesExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION, - oldSemanticCandidatesExpression, semanticCandidatesExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getDomainClass() { - return domainClass; - } - - /** - * - * - * @generated - */ - @Override - public void setDomainClass(String newDomainClass) { - String oldDomainClass = domainClass; - domainClass = newDomainClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS, oldDomainClass, domainClass)); - } - - /** - * - * - * @generated - */ - @Override - public EList getSubLines() { - if (subLines == null) { - subLines = new EObjectContainmentEList.Resolving(EEFLineDescription.class, this, - EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES); - } - return subLines; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: - return ((InternalEList) getSubLines()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: - return getHeaderExpression(); - case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - return getSemanticCandidatesExpression(); - case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: - return getDomainClass(); - case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: - return getSubLines(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: - setHeaderExpression((String) newValue); - return; - case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - setSemanticCandidatesExpression((String) newValue); - return; - case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: - setDomainClass((String) newValue); - return; - case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: - getSubLines().clear(); - getSubLines().addAll((Collection) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: - setHeaderExpression(HEADER_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - setSemanticCandidatesExpression(SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: - setDomainClass(DOMAIN_CLASS_EDEFAULT); - return; - case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: - getSubLines().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINE_DESCRIPTION__HEADER_EXPRESSION: - return HEADER_EXPRESSION_EDEFAULT == null ? headerExpression != null : !HEADER_EXPRESSION_EDEFAULT.equals(headerExpression); - case EefPackage.EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION: - return SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT == null ? semanticCandidatesExpression != null - : !SEMANTIC_CANDIDATES_EXPRESSION_EDEFAULT.equals(semanticCandidatesExpression); - case EefPackage.EEF_LINE_DESCRIPTION__DOMAIN_CLASS: - return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); - case EefPackage.EEF_LINE_DESCRIPTION__SUB_LINES: - return subLines != null && !subLines.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (headerExpression: "); //$NON-NLS-1$ - result.append(headerExpression); - result.append(", semanticCandidatesExpression: "); //$NON-NLS-1$ - result.append(semanticCandidatesExpression); - result.append(", domainClass: "); //$NON-NLS-1$ - result.append(domainClass); - result.append(')'); - return result.toString(); - } - -} //EEFLineDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleCustomizationImpl.java deleted file mode 100644 index 24b8575f5..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleCustomizationImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFLineStyle; -import org.eclipse.eef.EEFLineStyleCustomization; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Line Style Customization'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFLineStyleCustomizationImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFLineStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFLineStyleCustomization { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFLineStyle style; - - /** - * - * - * @generated - */ - protected EEFLineStyleCustomizationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_LINE_STYLE_CUSTOMIZATION; - } - - /** - * - * - * @generated - */ - @Override - public EEFLineStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFLineStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFLineStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFLineStyle newStyle, NotificationChain msgs) { - EEFLineStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFLineStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFLineStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFLineStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFLineStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleImpl.java deleted file mode 100644 index 59cce037a..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLineStyleImpl.java +++ /dev/null @@ -1,347 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFLineStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Line Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFLineStyleImpl#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFLineStyleImpl#getForegroundColorExpression Foreground Color Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFLineStyleImpl#getHeaderBackgroundColorExpression Header Background Color Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFLineStyleImpl#getHeaderForegroundColorExpression Header Foreground Color Expression}
                • - *
                - * - * @generated - */ -public class EEFLineStyleImpl extends EEFStyleImpl implements EEFLineStyle { - /** - * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getHeaderBackgroundColorExpression() Header Background Color Expression}' attribute. - * - * - * @see #getHeaderBackgroundColorExpression() - * @generated - * @ordered - */ - protected static final String HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHeaderBackgroundColorExpression() Header Background Color Expression}' attribute. - * - * - * @see #getHeaderBackgroundColorExpression() - * @generated - * @ordered - */ - protected String headerBackgroundColorExpression = HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getHeaderForegroundColorExpression() Header Foreground Color Expression}' attribute. - * - * - * @see #getHeaderForegroundColorExpression() - * @generated - * @ordered - */ - protected static final String HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHeaderForegroundColorExpression() Header Foreground Color Expression}' attribute. - * - * - * @see #getHeaderForegroundColorExpression() - * @generated - * @ordered - */ - protected String headerForegroundColorExpression = HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFLineStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_LINE_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public String getBackgroundColorExpression() { - return backgroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setBackgroundColorExpression(String newBackgroundColorExpression) { - String oldBackgroundColorExpression = backgroundColorExpression; - backgroundColorExpression = newBackgroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION, - oldBackgroundColorExpression, backgroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getForegroundColorExpression() { - return foregroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setForegroundColorExpression(String newForegroundColorExpression) { - String oldForegroundColorExpression = foregroundColorExpression; - foregroundColorExpression = newForegroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION, - oldForegroundColorExpression, foregroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getHeaderBackgroundColorExpression() { - return headerBackgroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setHeaderBackgroundColorExpression(String newHeaderBackgroundColorExpression) { - String oldHeaderBackgroundColorExpression = headerBackgroundColorExpression; - headerBackgroundColorExpression = newHeaderBackgroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION, - oldHeaderBackgroundColorExpression, headerBackgroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getHeaderForegroundColorExpression() { - return headerForegroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setHeaderForegroundColorExpression(String newHeaderForegroundColorExpression) { - String oldHeaderForegroundColorExpression = headerForegroundColorExpression; - headerForegroundColorExpression = newHeaderForegroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION, - oldHeaderForegroundColorExpression, headerForegroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION: - return getBackgroundColorExpression(); - case EefPackage.EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION: - return getForegroundColorExpression(); - case EefPackage.EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: - return getHeaderBackgroundColorExpression(); - case EefPackage.EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: - return getHeaderForegroundColorExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression((String) newValue); - return; - case EefPackage.EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression((String) newValue); - return; - case EefPackage.EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: - setHeaderBackgroundColorExpression((String) newValue); - return; - case EefPackage.EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: - setHeaderForegroundColorExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: - setHeaderBackgroundColorExpression(HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: - setHeaderForegroundColorExpression(HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION: - return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null - : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); - case EefPackage.EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION: - return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null - : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); - case EefPackage.EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION: - return HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? headerBackgroundColorExpression != null - : !HEADER_BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(headerBackgroundColorExpression); - case EefPackage.EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION: - return HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? headerForegroundColorExpression != null - : !HEADER_FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(headerForegroundColorExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ - result.append(backgroundColorExpression); - result.append(", foregroundColorExpression: "); //$NON-NLS-1$ - result.append(foregroundColorExpression); - result.append(", headerBackgroundColorExpression: "); //$NON-NLS-1$ - result.append(headerBackgroundColorExpression); - result.append(", headerForegroundColorExpression: "); //$NON-NLS-1$ - result.append(headerForegroundColorExpression); - result.append(')'); - return result.toString(); - } - -} //EEFLineStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkConditionalStyleImpl.java deleted file mode 100644 index ef4cb2e12..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkConditionalStyleImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFLinkConditionalStyle; -import org.eclipse.eef.EEFLinkStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Link Conditional Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFLinkConditionalStyleImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFLinkConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFLinkConditionalStyle { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFLinkStyle style; - - /** - * - * - * @generated - */ - protected EEFLinkConditionalStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_LINK_CONDITIONAL_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public EEFLinkStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFLinkStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFLinkStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFLinkStyle newStyle, NotificationChain msgs) { - EEFLinkStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFLinkStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE: - setStyle((EEFLinkStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE: - setStyle((EEFLinkStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINK_CONDITIONAL_STYLE__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFLinkConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkDescriptionImpl.java deleted file mode 100644 index ad7fb5cdc..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkDescriptionImpl.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFLinkDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Link Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFLinkDescriptionImpl#getOnClickExpression On Click Expression}
                • - *
                - * - * @generated - */ -public class EEFLinkDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFLinkDescription { - /** - * The default value of the '{@link #getOnClickExpression() On Click Expression}' attribute. - * - * - * @see #getOnClickExpression() - * @generated - * @ordered - */ - protected static final String ON_CLICK_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getOnClickExpression() On Click Expression}' attribute. - * - * - * @see #getOnClickExpression() - * @generated - * @ordered - */ - protected String onClickExpression = ON_CLICK_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFLinkDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_LINK_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getOnClickExpression() { - return onClickExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setOnClickExpression(String newOnClickExpression) { - String oldOnClickExpression = onClickExpression; - onClickExpression = newOnClickExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION, oldOnClickExpression, - onClickExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: - return getOnClickExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: - setOnClickExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: - setOnClickExpression(ON_CLICK_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION: - return ON_CLICK_EXPRESSION_EDEFAULT == null ? onClickExpression != null : !ON_CLICK_EXPRESSION_EDEFAULT.equals(onClickExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (onClickExpression: "); //$NON-NLS-1$ - result.append(onClickExpression); - result.append(')'); - return result.toString(); - } - -} //EEFLinkDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleCustomizationImpl.java deleted file mode 100644 index f13b1bd12..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleCustomizationImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFLinkStyle; -import org.eclipse.eef.EEFLinkStyleCustomization; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Link Style Customization'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFLinkStyleCustomizationImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFLinkStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFLinkStyleCustomization { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFLinkStyle style; - - /** - * - * - * @generated - */ - protected EEFLinkStyleCustomizationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_LINK_STYLE_CUSTOMIZATION; - } - - /** - * - * - * @generated - */ - @Override - public EEFLinkStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFLinkStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFLinkStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFLinkStyle newStyle, NotificationChain msgs) { - EEFLinkStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFLinkStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFLinkStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFLinkStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFLinkStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleImpl.java deleted file mode 100644 index 6003513b0..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFLinkStyleImpl.java +++ /dev/null @@ -1,289 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFLinkStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Link Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFLinkStyleImpl#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFLinkStyleImpl#getForegroundColorExpression Foreground Color Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFLinkStyleImpl#getBackgroundImageExpression Background Image Expression}
                • - *
                - * - * @generated - */ -public class EEFLinkStyleImpl extends EEFStyleImpl implements EEFLinkStyle { - /** - * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getBackgroundImageExpression() Background Image Expression}' attribute. - * - * - * @see #getBackgroundImageExpression() - * @generated - * @ordered - */ - protected static final String BACKGROUND_IMAGE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBackgroundImageExpression() Background Image Expression}' attribute. - * - * - * @see #getBackgroundImageExpression() - * @generated - * @ordered - */ - protected String backgroundImageExpression = BACKGROUND_IMAGE_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFLinkStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_LINK_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public String getBackgroundColorExpression() { - return backgroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setBackgroundColorExpression(String newBackgroundColorExpression) { - String oldBackgroundColorExpression = backgroundColorExpression; - backgroundColorExpression = newBackgroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION, - oldBackgroundColorExpression, backgroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getForegroundColorExpression() { - return foregroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setForegroundColorExpression(String newForegroundColorExpression) { - String oldForegroundColorExpression = foregroundColorExpression; - foregroundColorExpression = newForegroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION, - oldForegroundColorExpression, foregroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getBackgroundImageExpression() { - return backgroundImageExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setBackgroundImageExpression(String newBackgroundImageExpression) { - String oldBackgroundImageExpression = backgroundImageExpression; - backgroundImageExpression = newBackgroundImageExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION, - oldBackgroundImageExpression, backgroundImageExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION: - return getBackgroundColorExpression(); - case EefPackage.EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION: - return getForegroundColorExpression(); - case EefPackage.EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION: - return getBackgroundImageExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression((String) newValue); - return; - case EefPackage.EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression((String) newValue); - return; - case EefPackage.EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION: - setBackgroundImageExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION: - setBackgroundImageExpression(BACKGROUND_IMAGE_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION: - return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null - : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); - case EefPackage.EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION: - return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null - : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); - case EefPackage.EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION: - return BACKGROUND_IMAGE_EXPRESSION_EDEFAULT == null ? backgroundImageExpression != null - : !BACKGROUND_IMAGE_EXPRESSION_EDEFAULT.equals(backgroundImageExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ - result.append(backgroundColorExpression); - result.append(", foregroundColorExpression: "); //$NON-NLS-1$ - result.append(foregroundColorExpression); - result.append(", backgroundImageExpression: "); //$NON-NLS-1$ - result.append(backgroundImageExpression); - result.append(')'); - return result.toString(); - } - -} //EEFLinkStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFPageDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFPageDescriptionImpl.java index 557d66415..5aabddcff 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFPageDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFPageDescriptionImpl.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -13,49 +13,34 @@ import java.util.Collection; import org.eclipse.eef.EEFGroupDescription; import org.eclipse.eef.EEFPageDescription; import org.eclipse.eef.EefPackage; - import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.sirius.expression.UserDefinedVariable; /** - * - * An implementation of the model object 'EEF Page Description'. - * + * An implementation of the model object 'EEF Page Description'. *

                * The following features are implemented: *

                *
                  - *
                • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getIdentifier Identifier}
                • - *
                • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getPreconditionExpression Precondition Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getUserDefinedVariables User Defined Variables}
                • - *
                • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getLabelExpression Label Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getDomainClass Domain Class}
                • - *
                • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getGroups Groups}
                • - *
                • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getExtendedPage Extended Page}
                • + *
                • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getIdentifier Identifier}
                • + *
                • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getLabelExpression Label Expression}
                • + *
                • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getSemanticCandidateExpression + * Semantic Candidate Expression}
                • + *
                • {@link org.eclipse.eef.impl.EEFPageDescriptionImpl#getGroups Groups}
                • *
                * * @generated */ public class EEFPageDescriptionImpl extends MinimalEObjectImpl.Container implements EEFPageDescription { /** - * The default value of the '{@link #getIdentifier() Identifier}' attribute. - * - * + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * * @see #getIdentifier() * @generated * @ordered @@ -63,49 +48,19 @@ public class EEFPageDescriptionImpl extends MinimalEObjectImpl.Container impleme protected static final String IDENTIFIER_EDEFAULT = null; /** - * The cached value of the '{@link #getIdentifier() Identifier}' attribute. - * - * + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * * @see #getIdentifier() * @generated * @ordered */ - protected String identifier = IDENTIFIER_EDEFAULT; - - /** - * The default value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. - * - * - * @see #getPreconditionExpression() - * @generated - * @ordered - */ - protected static final String PRECONDITION_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. - * - * - * @see #getPreconditionExpression() - * @generated - * @ordered - */ - protected String preconditionExpression = PRECONDITION_EXPRESSION_EDEFAULT; + protected String identifier = EEFPageDescriptionImpl.IDENTIFIER_EDEFAULT; /** - * The cached value of the '{@link #getUserDefinedVariables() User Defined Variables}' containment reference list. - * - * - * @see #getUserDefinedVariables() - * @generated - * @ordered - */ - protected EList userDefinedVariables; - - /** - * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * + * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. + * * @see #getLabelExpression() * @generated * @ordered @@ -113,39 +68,19 @@ public class EEFPageDescriptionImpl extends MinimalEObjectImpl.Container impleme protected static final String LABEL_EXPRESSION_EDEFAULT = null; /** - * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * + * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. + * * @see #getLabelExpression() * @generated * @ordered */ - protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected static final String DOMAIN_CLASS_EDEFAULT = null; + protected String labelExpression = EEFPageDescriptionImpl.LABEL_EXPRESSION_EDEFAULT; /** - * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected String domainClass = DOMAIN_CLASS_EDEFAULT; - - /** - * The default value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. - * - * + * The default value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' + * attribute. + * * @see #getSemanticCandidateExpression() * @generated * @ordered @@ -153,19 +88,19 @@ public class EEFPageDescriptionImpl extends MinimalEObjectImpl.Container impleme protected static final String SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT = ""; //$NON-NLS-1$ /** - * The cached value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. - * - * + * The cached value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' + * attribute. + * * @see #getSemanticCandidateExpression() * @generated * @ordered */ - protected String semanticCandidateExpression = SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT; + protected String semanticCandidateExpression = EEFPageDescriptionImpl.SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT; /** - * The cached value of the '{@link #getGroups() Groups}' reference list. - * - * + * The cached value of the '{@link #getGroups() Groups}' reference list. + * * @see #getGroups() * @generated * @ordered @@ -173,18 +108,8 @@ public class EEFPageDescriptionImpl extends MinimalEObjectImpl.Container impleme protected EList groups; /** - * The cached value of the '{@link #getExtendedPage() Extended Page}' reference. - * - * - * @see #getExtendedPage() - * @generated - * @ordered - */ - protected EEFPageDescription extendedPage; - - /** - * - * + * + * * @generated */ protected EEFPageDescriptionImpl() { @@ -192,8 +117,8 @@ public class EEFPageDescriptionImpl extends MinimalEObjectImpl.Container impleme } /** - * - * + * + * * @generated */ @Override @@ -202,8 +127,8 @@ public class EEFPageDescriptionImpl extends MinimalEObjectImpl.Container impleme } /** - * - * + * + * * @generated */ @Override @@ -212,59 +137,22 @@ public class EEFPageDescriptionImpl extends MinimalEObjectImpl.Container impleme } /** - * - * + * + * * @generated */ @Override public void setIdentifier(String newIdentifier) { String oldIdentifier = identifier; identifier = newIdentifier; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); - } - - /** - * - * - * @generated - */ - @Override - public String getPreconditionExpression() { - return preconditionExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setPreconditionExpression(String newPreconditionExpression) { - String oldPreconditionExpression = preconditionExpression; - preconditionExpression = newPreconditionExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION, oldPreconditionExpression, - preconditionExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EList getUserDefinedVariables() { - if (userDefinedVariables == null) { - userDefinedVariables = new EObjectContainmentEList.Resolving(UserDefinedVariable.class, this, - EefPackage.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES); } - return userDefinedVariables; } /** - * - * + * + * * @generated */ @Override @@ -273,45 +161,23 @@ public class EEFPageDescriptionImpl extends MinimalEObjectImpl.Container impleme } /** - * - * + * + * * @generated */ @Override public void setLabelExpression(String newLabelExpression) { String oldLabelExpression = labelExpression; labelExpression = newLabelExpression; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION, oldLabelExpression, labelExpression)); + } } /** - * - * - * @generated - */ - @Override - public String getDomainClass() { - return domainClass; - } - - /** - * - * - * @generated - */ - @Override - public void setDomainClass(String newDomainClass) { - String oldDomainClass = domainClass; - domainClass = newDomainClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS, oldDomainClass, domainClass)); - } - - /** - * - * + * + * * @generated */ @Override @@ -320,22 +186,23 @@ public class EEFPageDescriptionImpl extends MinimalEObjectImpl.Container impleme } /** - * - * + * + * * @generated */ @Override public void setSemanticCandidateExpression(String newSemanticCandidateExpression) { String oldSemanticCandidateExpression = semanticCandidateExpression; semanticCandidateExpression = newSemanticCandidateExpression; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, oldSemanticCandidateExpression, semanticCandidateExpression)); + } } /** - * - * + * + * * @generated */ @Override @@ -347,63 +214,8 @@ public class EEFPageDescriptionImpl extends MinimalEObjectImpl.Container impleme } /** - * - * - * @generated - */ - @Override - public EEFPageDescription getExtendedPage() { - if (extendedPage != null && extendedPage.eIsProxy()) { - InternalEObject oldExtendedPage = (InternalEObject) extendedPage; - extendedPage = (EEFPageDescription) eResolveProxy(oldExtendedPage); - if (extendedPage != oldExtendedPage) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE, oldExtendedPage, - extendedPage)); - } - } - return extendedPage; - } - - /** - * - * - * @generated - */ - public EEFPageDescription basicGetExtendedPage() { - return extendedPage; - } - - /** - * - * - * @generated - */ - @Override - public void setExtendedPage(EEFPageDescription newExtendedPage) { - EEFPageDescription oldExtendedPage = extendedPage; - extendedPage = newExtendedPage; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE, oldExtendedPage, extendedPage)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES: - return ((InternalEList) getUserDefinedVariables()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * + * + * * @generated */ @Override @@ -411,29 +223,19 @@ public class EEFPageDescriptionImpl extends MinimalEObjectImpl.Container impleme switch (featureID) { case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: return getIdentifier(); - case EefPackage.EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION: - return getPreconditionExpression(); - case EefPackage.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES: - return getUserDefinedVariables(); case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: return getLabelExpression(); - case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: - return getDomainClass(); case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: return getSemanticCandidateExpression(); case EefPackage.EEF_PAGE_DESCRIPTION__GROUPS: return getGroups(); - case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: - if (resolve) - return getExtendedPage(); - return basicGetExtendedPage(); } return super.eGet(featureID, resolve, coreType); } /** - * - * + * + * * @generated */ @SuppressWarnings("unchecked") @@ -443,19 +245,9 @@ public class EEFPageDescriptionImpl extends MinimalEObjectImpl.Container impleme case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: setIdentifier((String) newValue); return; - case EefPackage.EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION: - setPreconditionExpression((String) newValue); - return; - case EefPackage.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES: - getUserDefinedVariables().clear(); - getUserDefinedVariables().addAll((Collection) newValue); - return; case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: setLabelExpression((String) newValue); return; - case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: - setDomainClass((String) newValue); - return; case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: setSemanticCandidateExpression((String) newValue); return; @@ -463,102 +255,77 @@ public class EEFPageDescriptionImpl extends MinimalEObjectImpl.Container impleme getGroups().clear(); getGroups().addAll((Collection) newValue); return; - case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: - setExtendedPage((EEFPageDescription) newValue); - return; } super.eSet(featureID, newValue); } /** - * - * + * + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: - setIdentifier(IDENTIFIER_EDEFAULT); - return; - case EefPackage.EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION: - setPreconditionExpression(PRECONDITION_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES: - getUserDefinedVariables().clear(); + setIdentifier(EEFPageDescriptionImpl.IDENTIFIER_EDEFAULT); return; case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: - setLabelExpression(LABEL_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: - setDomainClass(DOMAIN_CLASS_EDEFAULT); + setLabelExpression(EEFPageDescriptionImpl.LABEL_EXPRESSION_EDEFAULT); return; case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - setSemanticCandidateExpression(SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT); + setSemanticCandidateExpression(EEFPageDescriptionImpl.SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT); return; case EefPackage.EEF_PAGE_DESCRIPTION__GROUPS: getGroups().clear(); return; - case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: - setExtendedPage((EEFPageDescription) null); - return; } super.eUnset(featureID); } /** - * - * + * + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER: - return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); - case EefPackage.EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION: - return PRECONDITION_EXPRESSION_EDEFAULT == null ? preconditionExpression != null - : !PRECONDITION_EXPRESSION_EDEFAULT.equals(preconditionExpression); - case EefPackage.EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES: - return userDefinedVariables != null && !userDefinedVariables.isEmpty(); + return EEFPageDescriptionImpl.IDENTIFIER_EDEFAULT == null ? identifier != null + : !EEFPageDescriptionImpl.IDENTIFIER_EDEFAULT.equals(identifier); case EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION: - return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); - case EefPackage.EEF_PAGE_DESCRIPTION__DOMAIN_CLASS: - return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); + return EEFPageDescriptionImpl.LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null + : !EEFPageDescriptionImpl.LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); case EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - return SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null - : !SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); + return EEFPageDescriptionImpl.SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null + : !EEFPageDescriptionImpl.SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); case EefPackage.EEF_PAGE_DESCRIPTION__GROUPS: return groups != null && !groups.isEmpty(); - case EefPackage.EEF_PAGE_DESCRIPTION__EXTENDED_PAGE: - return extendedPage != null; } return super.eIsSet(featureID); } /** - * - * + * + * * @generated */ @Override public String toString() { - if (eIsProxy()) + if (eIsProxy()) { return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (identifier: "); //$NON-NLS-1$ result.append(identifier); - result.append(", preconditionExpression: "); //$NON-NLS-1$ - result.append(preconditionExpression); result.append(", labelExpression: "); //$NON-NLS-1$ result.append(labelExpression); - result.append(", domainClass: "); //$NON-NLS-1$ - result.append(domainClass); result.append(", semanticCandidateExpression: "); //$NON-NLS-1$ result.append(semanticCandidateExpression); result.append(')'); return result.toString(); } -} //EEFPageDescriptionImpl +} // EEFPageDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFQuickFixImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFQuickFixImpl.java deleted file mode 100644 index 59c0f0acb..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFQuickFixImpl.java +++ /dev/null @@ -1,343 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFQuickFix; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'EEF Quick Fix'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFQuickFixImpl#getTitleExpression Title Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFQuickFixImpl#getMessageExpression Message Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFQuickFixImpl#getCanHandleStatusExpression Can Handle Status Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFQuickFixImpl#getFixExpression Fix Expression}
                • - *
                - * - * @generated - */ -public class EEFQuickFixImpl extends MinimalEObjectImpl.Container implements EEFQuickFix { - /** - * The default value of the '{@link #getTitleExpression() Title Expression}' attribute. - * - * - * @see #getTitleExpression() - * @generated - * @ordered - */ - protected static final String TITLE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTitleExpression() Title Expression}' attribute. - * - * - * @see #getTitleExpression() - * @generated - * @ordered - */ - protected String titleExpression = TITLE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getMessageExpression() Message Expression}' attribute. - * - * - * @see #getMessageExpression() - * @generated - * @ordered - */ - protected static final String MESSAGE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMessageExpression() Message Expression}' attribute. - * - * - * @see #getMessageExpression() - * @generated - * @ordered - */ - protected String messageExpression = MESSAGE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getCanHandleStatusExpression() Can Handle Status Expression}' attribute. - * - * - * @see #getCanHandleStatusExpression() - * @generated - * @ordered - */ - protected static final String CAN_HANDLE_STATUS_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCanHandleStatusExpression() Can Handle Status Expression}' attribute. - * - * - * @see #getCanHandleStatusExpression() - * @generated - * @ordered - */ - protected String canHandleStatusExpression = CAN_HANDLE_STATUS_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getFixExpression() Fix Expression}' attribute. - * - * - * @see #getFixExpression() - * @generated - * @ordered - */ - protected static final String FIX_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getFixExpression() Fix Expression}' attribute. - * - * - * @see #getFixExpression() - * @generated - * @ordered - */ - protected String fixExpression = FIX_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFQuickFixImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_QUICK_FIX; - } - - /** - * - * - * @generated - */ - @Override - public String getTitleExpression() { - return titleExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setTitleExpression(String newTitleExpression) { - String oldTitleExpression = titleExpression; - titleExpression = newTitleExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_QUICK_FIX__TITLE_EXPRESSION, oldTitleExpression, titleExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getMessageExpression() { - return messageExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setMessageExpression(String newMessageExpression) { - String oldMessageExpression = messageExpression; - messageExpression = newMessageExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_QUICK_FIX__MESSAGE_EXPRESSION, oldMessageExpression, - messageExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getCanHandleStatusExpression() { - return canHandleStatusExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setCanHandleStatusExpression(String newCanHandleStatusExpression) { - String oldCanHandleStatusExpression = canHandleStatusExpression; - canHandleStatusExpression = newCanHandleStatusExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION, - oldCanHandleStatusExpression, canHandleStatusExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getFixExpression() { - return fixExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setFixExpression(String newFixExpression) { - String oldFixExpression = fixExpression; - fixExpression = newFixExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_QUICK_FIX__FIX_EXPRESSION, oldFixExpression, fixExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_QUICK_FIX__TITLE_EXPRESSION: - return getTitleExpression(); - case EefPackage.EEF_QUICK_FIX__MESSAGE_EXPRESSION: - return getMessageExpression(); - case EefPackage.EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION: - return getCanHandleStatusExpression(); - case EefPackage.EEF_QUICK_FIX__FIX_EXPRESSION: - return getFixExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_QUICK_FIX__TITLE_EXPRESSION: - setTitleExpression((String) newValue); - return; - case EefPackage.EEF_QUICK_FIX__MESSAGE_EXPRESSION: - setMessageExpression((String) newValue); - return; - case EefPackage.EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION: - setCanHandleStatusExpression((String) newValue); - return; - case EefPackage.EEF_QUICK_FIX__FIX_EXPRESSION: - setFixExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_QUICK_FIX__TITLE_EXPRESSION: - setTitleExpression(TITLE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_QUICK_FIX__MESSAGE_EXPRESSION: - setMessageExpression(MESSAGE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION: - setCanHandleStatusExpression(CAN_HANDLE_STATUS_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_QUICK_FIX__FIX_EXPRESSION: - setFixExpression(FIX_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_QUICK_FIX__TITLE_EXPRESSION: - return TITLE_EXPRESSION_EDEFAULT == null ? titleExpression != null : !TITLE_EXPRESSION_EDEFAULT.equals(titleExpression); - case EefPackage.EEF_QUICK_FIX__MESSAGE_EXPRESSION: - return MESSAGE_EXPRESSION_EDEFAULT == null ? messageExpression != null : !MESSAGE_EXPRESSION_EDEFAULT.equals(messageExpression); - case EefPackage.EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION: - return CAN_HANDLE_STATUS_EXPRESSION_EDEFAULT == null ? canHandleStatusExpression != null - : !CAN_HANDLE_STATUS_EXPRESSION_EDEFAULT.equals(canHandleStatusExpression); - case EefPackage.EEF_QUICK_FIX__FIX_EXPRESSION: - return FIX_EXPRESSION_EDEFAULT == null ? fixExpression != null : !FIX_EXPRESSION_EDEFAULT.equals(fixExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (titleExpression: "); //$NON-NLS-1$ - result.append(titleExpression); - result.append(", messageExpression: "); //$NON-NLS-1$ - result.append(messageExpression); - result.append(", canHandleStatusExpression: "); //$NON-NLS-1$ - result.append(canHandleStatusExpression); - result.append(", fixExpression: "); //$NON-NLS-1$ - result.append(fixExpression); - result.append(')'); - return result.toString(); - } - -} //EEFQuickFixImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioConditionalStyleImpl.java deleted file mode 100644 index aff3bc102..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioConditionalStyleImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFRadioConditionalStyle; -import org.eclipse.eef.EEFRadioStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Radio Conditional Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFRadioConditionalStyleImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFRadioConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFRadioConditionalStyle { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFRadioStyle style; - - /** - * - * - * @generated - */ - protected EEFRadioConditionalStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_RADIO_CONDITIONAL_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public EEFRadioStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFRadioStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFRadioStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFRadioStyle newStyle, NotificationChain msgs) { - EEFRadioStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFRadioStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE: - setStyle((EEFRadioStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE: - setStyle((EEFRadioStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_RADIO_CONDITIONAL_STYLE__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFRadioConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioDescriptionImpl.java deleted file mode 100644 index c8c7f26cb..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioDescriptionImpl.java +++ /dev/null @@ -1,345 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFRadioDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Radio Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFRadioDescriptionImpl#getValueExpression Value Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFRadioDescriptionImpl#getEditExpression Edit Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFRadioDescriptionImpl#getCandidatesExpression Candidates Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFRadioDescriptionImpl#getCandidateDisplayExpression Candidate Display Expression}
                • - *
                - * - * @generated - */ -public class EEFRadioDescriptionImpl extends EEFWidgetDescriptionImpl implements EEFRadioDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected static final String EDIT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected String editExpression = EDIT_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. - * - * - * @see #getCandidatesExpression() - * @generated - * @ordered - */ - protected static final String CANDIDATES_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. - * - * - * @see #getCandidatesExpression() - * @generated - * @ordered - */ - protected String candidatesExpression = CANDIDATES_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. - * - * - * @see #getCandidateDisplayExpression() - * @generated - * @ordered - */ - protected static final String CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. - * - * - * @see #getCandidateDisplayExpression() - * @generated - * @ordered - */ - protected String candidateDisplayExpression = CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFRadioDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_RADIO_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, - valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getEditExpression() { - return editExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setEditExpression(String newEditExpression) { - String oldEditExpression = editExpression; - editExpression = newEditExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, - editExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getCandidatesExpression() { - return candidatesExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setCandidatesExpression(String newCandidatesExpression) { - String oldCandidatesExpression = candidatesExpression; - candidatesExpression = newCandidatesExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION, oldCandidatesExpression, - candidatesExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getCandidateDisplayExpression() { - return candidateDisplayExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setCandidateDisplayExpression(String newCandidateDisplayExpression) { - String oldCandidateDisplayExpression = candidateDisplayExpression; - candidateDisplayExpression = newCandidateDisplayExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, - oldCandidateDisplayExpression, candidateDisplayExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: - return getEditExpression(); - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: - return getCandidatesExpression(); - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - return getCandidateDisplayExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression((String) newValue); - return; - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: - setCandidatesExpression((String) newValue); - return; - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - setCandidateDisplayExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression(EDIT_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: - setCandidatesExpression(CANDIDATES_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - setCandidateDisplayExpression(CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - case EefPackage.EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION: - return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION: - return CANDIDATES_EXPRESSION_EDEFAULT == null ? candidatesExpression != null - : !CANDIDATES_EXPRESSION_EDEFAULT.equals(candidatesExpression); - case EefPackage.EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - return CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT == null ? candidateDisplayExpression != null - : !CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT.equals(candidateDisplayExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(", editExpression: "); //$NON-NLS-1$ - result.append(editExpression); - result.append(", candidatesExpression: "); //$NON-NLS-1$ - result.append(candidatesExpression); - result.append(", candidateDisplayExpression: "); //$NON-NLS-1$ - result.append(candidateDisplayExpression); - result.append(')'); - return result.toString(); - } - -} //EEFRadioDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleCustomizationImpl.java deleted file mode 100644 index 1b0364cfb..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleCustomizationImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFRadioStyle; -import org.eclipse.eef.EEFRadioStyleCustomization; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Radio Style Customization'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFRadioStyleCustomizationImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFRadioStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFRadioStyleCustomization { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFRadioStyle style; - - /** - * - * - * @generated - */ - protected EEFRadioStyleCustomizationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_RADIO_STYLE_CUSTOMIZATION; - } - - /** - * - * - * @generated - */ - @Override - public EEFRadioStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFRadioStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFRadioStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFRadioStyle newStyle, NotificationChain msgs) { - EEFRadioStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFRadioStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFRadioStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFRadioStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFRadioStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleImpl.java deleted file mode 100644 index bcc4cdfbf..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFRadioStyleImpl.java +++ /dev/null @@ -1,231 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFRadioStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Radio Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFRadioStyleImpl#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFRadioStyleImpl#getForegroundColorExpression Foreground Color Expression}
                • - *
                - * - * @generated - */ -public class EEFRadioStyleImpl extends EEFStyleImpl implements EEFRadioStyle { - /** - * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFRadioStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_RADIO_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public String getBackgroundColorExpression() { - return backgroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setBackgroundColorExpression(String newBackgroundColorExpression) { - String oldBackgroundColorExpression = backgroundColorExpression; - backgroundColorExpression = newBackgroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION, - oldBackgroundColorExpression, backgroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getForegroundColorExpression() { - return foregroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setForegroundColorExpression(String newForegroundColorExpression) { - String oldForegroundColorExpression = foregroundColorExpression; - foregroundColorExpression = newForegroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION, - oldForegroundColorExpression, foregroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION: - return getBackgroundColorExpression(); - case EefPackage.EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION: - return getForegroundColorExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression((String) newValue); - return; - case EefPackage.EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION: - return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null - : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); - case EefPackage.EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION: - return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null - : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ - result.append(backgroundColorExpression); - result.append(", foregroundColorExpression: "); //$NON-NLS-1$ - result.append(foregroundColorExpression); - result.append(')'); - return result.toString(); - } - -} //EEFRadioStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectConditionalStyleImpl.java deleted file mode 100644 index b0267c0df..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectConditionalStyleImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFSelectConditionalStyle; -import org.eclipse.eef.EEFSelectStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Select Conditional Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFSelectConditionalStyleImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFSelectConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFSelectConditionalStyle { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFSelectStyle style; - - /** - * - * - * @generated - */ - protected EEFSelectConditionalStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_SELECT_CONDITIONAL_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public EEFSelectStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFSelectStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFSelectStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFSelectStyle newStyle, NotificationChain msgs) { - EEFSelectStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFSelectStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE: - setStyle((EEFSelectStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE: - setStyle((EEFSelectStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_SELECT_CONDITIONAL_STYLE__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFSelectConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectDescriptionImpl.java deleted file mode 100644 index cb9fd6993..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectDescriptionImpl.java +++ /dev/null @@ -1,401 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFSelectDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Select Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFSelectDescriptionImpl#getValueExpression Value Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFSelectDescriptionImpl#getEditExpression Edit Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFSelectDescriptionImpl#getCandidatesExpression Candidates Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFSelectDescriptionImpl#isMultiple Multiple}
                • - *
                • {@link org.eclipse.eef.impl.EEFSelectDescriptionImpl#getCandidateDisplayExpression Candidate Display Expression}
                • - *
                - * - * @generated - */ -public class EEFSelectDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFSelectDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected static final String EDIT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected String editExpression = EDIT_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. - * - * - * @see #getCandidatesExpression() - * @generated - * @ordered - */ - protected static final String CANDIDATES_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCandidatesExpression() Candidates Expression}' attribute. - * - * - * @see #getCandidatesExpression() - * @generated - * @ordered - */ - protected String candidatesExpression = CANDIDATES_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected static final boolean MULTIPLE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected boolean multiple = MULTIPLE_EDEFAULT; - - /** - * The default value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. - * - * - * @see #getCandidateDisplayExpression() - * @generated - * @ordered - */ - protected static final String CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCandidateDisplayExpression() Candidate Display Expression}' attribute. - * - * - * @see #getCandidateDisplayExpression() - * @generated - * @ordered - */ - protected String candidateDisplayExpression = CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFSelectDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_SELECT_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, - valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getEditExpression() { - return editExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setEditExpression(String newEditExpression) { - String oldEditExpression = editExpression; - editExpression = newEditExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, - editExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getCandidatesExpression() { - return candidatesExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setCandidatesExpression(String newCandidatesExpression) { - String oldCandidatesExpression = candidatesExpression; - candidatesExpression = newCandidatesExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION, oldCandidatesExpression, - candidatesExpression)); - } - - /** - * - * - * @generated - */ - @Override - public boolean isMultiple() { - return multiple; - } - - /** - * - * - * @generated - */ - @Override - public void setMultiple(boolean newMultiple) { - boolean oldMultiple = multiple; - multiple = newMultiple; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE, oldMultiple, multiple)); - } - - /** - * - * - * @generated - */ - @Override - public String getCandidateDisplayExpression() { - return candidateDisplayExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setCandidateDisplayExpression(String newCandidateDisplayExpression) { - String oldCandidateDisplayExpression = candidateDisplayExpression; - candidateDisplayExpression = newCandidateDisplayExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION, - oldCandidateDisplayExpression, candidateDisplayExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: - return getEditExpression(); - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: - return getCandidatesExpression(); - case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: - return isMultiple(); - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - return getCandidateDisplayExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression((String) newValue); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: - setCandidatesExpression((String) newValue); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: - setMultiple((Boolean) newValue); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - setCandidateDisplayExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression(EDIT_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: - setCandidatesExpression(CANDIDATES_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: - setMultiple(MULTIPLE_EDEFAULT); - return; - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - setCandidateDisplayExpression(CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - case EefPackage.EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION: - return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION: - return CANDIDATES_EXPRESSION_EDEFAULT == null ? candidatesExpression != null - : !CANDIDATES_EXPRESSION_EDEFAULT.equals(candidatesExpression); - case EefPackage.EEF_SELECT_DESCRIPTION__MULTIPLE: - return multiple != MULTIPLE_EDEFAULT; - case EefPackage.EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: - return CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT == null ? candidateDisplayExpression != null - : !CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT.equals(candidateDisplayExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(", editExpression: "); //$NON-NLS-1$ - result.append(editExpression); - result.append(", candidatesExpression: "); //$NON-NLS-1$ - result.append(candidatesExpression); - result.append(", multiple: "); //$NON-NLS-1$ - result.append(multiple); - result.append(", candidateDisplayExpression: "); //$NON-NLS-1$ - result.append(candidateDisplayExpression); - result.append(')'); - return result.toString(); - } - -} //EEFSelectDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleCustomizationImpl.java deleted file mode 100644 index cb3deb58e..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleCustomizationImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFSelectStyle; -import org.eclipse.eef.EEFSelectStyleCustomization; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Select Style Customization'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFSelectStyleCustomizationImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFSelectStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFSelectStyleCustomization { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFSelectStyle style; - - /** - * - * - * @generated - */ - protected EEFSelectStyleCustomizationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_SELECT_STYLE_CUSTOMIZATION; - } - - /** - * - * - * @generated - */ - @Override - public EEFSelectStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFSelectStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, - null, null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFSelectStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFSelectStyle newStyle, NotificationChain msgs) { - EEFSelectStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFSelectStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFSelectStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFSelectStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFSelectStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleImpl.java deleted file mode 100644 index 8476100be..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFSelectStyleImpl.java +++ /dev/null @@ -1,231 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFSelectStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Select Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFSelectStyleImpl#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFSelectStyleImpl#getForegroundColorExpression Foreground Color Expression}
                • - *
                - * - * @generated - */ -public class EEFSelectStyleImpl extends EEFStyleImpl implements EEFSelectStyle { - /** - * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFSelectStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_SELECT_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public String getBackgroundColorExpression() { - return backgroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setBackgroundColorExpression(String newBackgroundColorExpression) { - String oldBackgroundColorExpression = backgroundColorExpression; - backgroundColorExpression = newBackgroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION, - oldBackgroundColorExpression, backgroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getForegroundColorExpression() { - return foregroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setForegroundColorExpression(String newForegroundColorExpression) { - String oldForegroundColorExpression = foregroundColorExpression; - foregroundColorExpression = newForegroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION, - oldForegroundColorExpression, foregroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION: - return getBackgroundColorExpression(); - case EefPackage.EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION: - return getForegroundColorExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression((String) newValue); - return; - case EefPackage.EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION: - return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null - : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); - case EefPackage.EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION: - return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null - : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ - result.append(backgroundColorExpression); - result.append(", foregroundColorExpression: "); //$NON-NLS-1$ - result.append(foregroundColorExpression); - result.append(')'); - return result.toString(); - } - -} //EEFSelectStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleCustomizationImpl.java deleted file mode 100644 index acdb2c809..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleCustomizationImpl.java +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFStyleCustomization; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'EEF Style Customization'. - * - * - * @generated - */ -public abstract class EEFStyleCustomizationImpl extends MinimalEObjectImpl.Container implements EEFStyleCustomization { - /** - * - * - * @generated - */ - protected EEFStyleCustomizationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_STYLE_CUSTOMIZATION; - } - -} //EEFStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleImpl.java deleted file mode 100644 index 57de23718..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFStyleImpl.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'EEF Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFStyleImpl#getFontExpression Font Expression}
                • - *
                - * - * @generated - */ -public abstract class EEFStyleImpl extends MinimalEObjectImpl.Container implements EEFStyle { - /** - * The default value of the '{@link #getFontExpression() Font Expression}' attribute. - * - * - * @see #getFontExpression() - * @generated - * @ordered - */ - protected static final String FONT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getFontExpression() Font Expression}' attribute. - * - * - * @see #getFontExpression() - * @generated - * @ordered - */ - protected String fontExpression = FONT_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public String getFontExpression() { - return fontExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setFontExpression(String newFontExpression) { - String oldFontExpression = fontExpression; - fontExpression = newFontExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_STYLE__FONT_EXPRESSION, oldFontExpression, fontExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_STYLE__FONT_EXPRESSION: - return getFontExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_STYLE__FONT_EXPRESSION: - setFontExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_STYLE__FONT_EXPRESSION: - setFontExpression(FONT_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_STYLE__FONT_EXPRESSION: - return FONT_EXPRESSION_EDEFAULT == null ? fontExpression != null : !FONT_EXPRESSION_EDEFAULT.equals(fontExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (fontExpression: "); //$NON-NLS-1$ - result.append(fontExpression); - result.append(')'); - return result.toString(); - } - -} //EEFStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableConditionalStyleImpl.java deleted file mode 100644 index 6c170f3b0..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableConditionalStyleImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFTableConditionalStyle; -import org.eclipse.eef.EEFTableStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Table Conditional Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFTableConditionalStyleImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFTableConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFTableConditionalStyle { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFTableStyle style; - - /** - * - * - * @generated - */ - protected EEFTableConditionalStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TABLE_CONDITIONAL_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public EEFTableStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFTableStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFTableStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFTableStyle newStyle, NotificationChain msgs) { - EEFTableStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFTableStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE: - setStyle((EEFTableStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE: - setStyle((EEFTableStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TABLE_CONDITIONAL_STYLE__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFTableConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableDescriptionImpl.java deleted file mode 100644 index b897c03ac..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableDescriptionImpl.java +++ /dev/null @@ -1,296 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFTableDescription; -import org.eclipse.eef.EEFTableStructureDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Table Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFTableDescriptionImpl#getValueExpression Value Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFTableDescriptionImpl#getEditExpression Edit Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFTableDescriptionImpl#getTableStructure Table Structure}
                • - *
                - * - * @generated - */ -public class EEFTableDescriptionImpl extends EEFWidgetDescriptionImpl implements EEFTableDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected static final String EDIT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected String editExpression = EDIT_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getTableStructure() Table Structure}' reference. - * - * - * @see #getTableStructure() - * @generated - * @ordered - */ - protected EEFTableStructureDescription tableStructure; - - /** - * - * - * @generated - */ - protected EEFTableDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TABLE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, - valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getEditExpression() { - return editExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setEditExpression(String newEditExpression) { - String oldEditExpression = editExpression; - editExpression = newEditExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, - editExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EEFTableStructureDescription getTableStructure() { - if (tableStructure != null && tableStructure.eIsProxy()) { - InternalEObject oldTableStructure = (InternalEObject) tableStructure; - tableStructure = (EEFTableStructureDescription) eResolveProxy(oldTableStructure); - if (tableStructure != oldTableStructure) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE, oldTableStructure, - tableStructure)); - } - } - return tableStructure; - } - - /** - * - * - * @generated - */ - public EEFTableStructureDescription basicGetTableStructure() { - return tableStructure; - } - - /** - * - * - * @generated - */ - @Override - public void setTableStructure(EEFTableStructureDescription newTableStructure) { - EEFTableStructureDescription oldTableStructure = tableStructure; - tableStructure = newTableStructure; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE, oldTableStructure, - tableStructure)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: - return getEditExpression(); - case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: - if (resolve) - return getTableStructure(); - return basicGetTableStructure(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression((String) newValue); - return; - case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: - setTableStructure((EEFTableStructureDescription) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression(EDIT_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: - setTableStructure((EEFTableStructureDescription) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - case EefPackage.EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION: - return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); - case EefPackage.EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE: - return tableStructure != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(", editExpression: "); //$NON-NLS-1$ - result.append(editExpression); - result.append(')'); - return result.toString(); - } - -} //EEFTableDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStructureDescriptionImpl.java deleted file mode 100644 index ed55c36a8..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStructureDescriptionImpl.java +++ /dev/null @@ -1,456 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFTableStructureDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'EEF Table Structure Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl#isMultiple Multiple}
                • - *
                • {@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl#getIdentifier Identifier}
                • - *
                • {@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl#getAddExpression Add Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl#getRemoveExpression Remove Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl#getUpExpression Up Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFTableStructureDescriptionImpl#getDownExpression Down Expression}
                • - *
                - * - * @generated - */ -public abstract class EEFTableStructureDescriptionImpl extends MinimalEObjectImpl.Container implements EEFTableStructureDescription { - /** - * The default value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected static final boolean MULTIPLE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected boolean multiple = MULTIPLE_EDEFAULT; - - /** - * The default value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected static final String IDENTIFIER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected String identifier = IDENTIFIER_EDEFAULT; - - /** - * The default value of the '{@link #getAddExpression() Add Expression}' attribute. - * - * - * @see #getAddExpression() - * @generated - * @ordered - */ - protected static final String ADD_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAddExpression() Add Expression}' attribute. - * - * - * @see #getAddExpression() - * @generated - * @ordered - */ - protected String addExpression = ADD_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getRemoveExpression() Remove Expression}' attribute. - * - * - * @see #getRemoveExpression() - * @generated - * @ordered - */ - protected static final String REMOVE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRemoveExpression() Remove Expression}' attribute. - * - * - * @see #getRemoveExpression() - * @generated - * @ordered - */ - protected String removeExpression = REMOVE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getUpExpression() Up Expression}' attribute. - * - * - * @see #getUpExpression() - * @generated - * @ordered - */ - protected static final String UP_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getUpExpression() Up Expression}' attribute. - * - * - * @see #getUpExpression() - * @generated - * @ordered - */ - protected String upExpression = UP_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getDownExpression() Down Expression}' attribute. - * - * - * @see #getDownExpression() - * @generated - * @ordered - */ - protected static final String DOWN_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDownExpression() Down Expression}' attribute. - * - * - * @see #getDownExpression() - * @generated - * @ordered - */ - protected String downExpression = DOWN_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFTableStructureDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TABLE_STRUCTURE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public boolean isMultiple() { - return multiple; - } - - /** - * - * - * @generated - */ - @Override - public void setMultiple(boolean newMultiple) { - boolean oldMultiple = multiple; - multiple = newMultiple; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE, oldMultiple, multiple)); - } - - /** - * - * - * @generated - */ - @Override - public String getIdentifier() { - return identifier; - } - - /** - * - * - * @generated - */ - @Override - public void setIdentifier(String newIdentifier) { - String oldIdentifier = identifier; - identifier = newIdentifier; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); - } - - /** - * - * - * @generated - */ - @Override - public String getAddExpression() { - return addExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setAddExpression(String newAddExpression) { - String oldAddExpression = addExpression; - addExpression = newAddExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION, oldAddExpression, - addExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getRemoveExpression() { - return removeExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setRemoveExpression(String newRemoveExpression) { - String oldRemoveExpression = removeExpression; - removeExpression = newRemoveExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION, oldRemoveExpression, - removeExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getUpExpression() { - return upExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setUpExpression(String newUpExpression) { - String oldUpExpression = upExpression; - upExpression = newUpExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION, oldUpExpression, - upExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getDownExpression() { - return downExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setDownExpression(String newDownExpression) { - String oldDownExpression = downExpression; - downExpression = newDownExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION, oldDownExpression, - downExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: - return isMultiple(); - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: - return getIdentifier(); - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION: - return getAddExpression(); - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION: - return getRemoveExpression(); - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION: - return getUpExpression(); - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION: - return getDownExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: - setMultiple((Boolean) newValue); - return; - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: - setIdentifier((String) newValue); - return; - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION: - setAddExpression((String) newValue); - return; - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION: - setRemoveExpression((String) newValue); - return; - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION: - setUpExpression((String) newValue); - return; - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION: - setDownExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: - setMultiple(MULTIPLE_EDEFAULT); - return; - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: - setIdentifier(IDENTIFIER_EDEFAULT); - return; - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION: - setAddExpression(ADD_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION: - setRemoveExpression(REMOVE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION: - setUpExpression(UP_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION: - setDownExpression(DOWN_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE: - return multiple != MULTIPLE_EDEFAULT; - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER: - return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION: - return ADD_EXPRESSION_EDEFAULT == null ? addExpression != null : !ADD_EXPRESSION_EDEFAULT.equals(addExpression); - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION: - return REMOVE_EXPRESSION_EDEFAULT == null ? removeExpression != null : !REMOVE_EXPRESSION_EDEFAULT.equals(removeExpression); - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION: - return UP_EXPRESSION_EDEFAULT == null ? upExpression != null : !UP_EXPRESSION_EDEFAULT.equals(upExpression); - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION: - return DOWN_EXPRESSION_EDEFAULT == null ? downExpression != null : !DOWN_EXPRESSION_EDEFAULT.equals(downExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (multiple: "); //$NON-NLS-1$ - result.append(multiple); - result.append(", identifier: "); //$NON-NLS-1$ - result.append(identifier); - result.append(", addExpression: "); //$NON-NLS-1$ - result.append(addExpression); - result.append(", removeExpression: "); //$NON-NLS-1$ - result.append(removeExpression); - result.append(", upExpression: "); //$NON-NLS-1$ - result.append(upExpression); - result.append(", downExpression: "); //$NON-NLS-1$ - result.append(downExpression); - result.append(')'); - return result.toString(); - } - -} //EEFTableStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleCustomizationImpl.java deleted file mode 100644 index 7656a58ad..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleCustomizationImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFTableStyle; -import org.eclipse.eef.EEFTableStyleCustomization; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Table Style Customization'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFTableStyleCustomizationImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFTableStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFTableStyleCustomization { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFTableStyle style; - - /** - * - * - * @generated - */ - protected EEFTableStyleCustomizationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TABLE_STYLE_CUSTOMIZATION; - } - - /** - * - * - * @generated - */ - @Override - public EEFTableStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFTableStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFTableStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFTableStyle newStyle, NotificationChain msgs) { - EEFTableStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFTableStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFTableStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFTableStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFTableStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleImpl.java deleted file mode 100644 index b4ed11204..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTableStyleImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFTableStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'EEF Table Style'. - * - * - * @generated - */ -public class EEFTableStyleImpl extends EEFStyleImpl implements EEFTableStyle { - /** - * - * - * @generated - */ - protected EEFTableStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TABLE_STYLE; - } - -} //EEFTableStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextConditionalStyleImpl.java deleted file mode 100644 index e1f83f022..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextConditionalStyleImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFTextConditionalStyle; -import org.eclipse.eef.EEFTextStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Text Conditional Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFTextConditionalStyleImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFTextConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFTextConditionalStyle { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFTextStyle style; - - /** - * - * - * @generated - */ - protected EEFTextConditionalStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TEXT_CONDITIONAL_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public EEFTextStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFTextStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFTextStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFTextStyle newStyle, NotificationChain msgs) { - EEFTextStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFTextStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE: - setStyle((EEFTextStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE: - setStyle((EEFTextStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TEXT_CONDITIONAL_STYLE__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFTextConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java index b0cae37fa..f773866cf 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextDescriptionImpl.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -8,51 +8,30 @@ */ package org.eclipse.eef.impl; -import java.util.Collection; - -import org.eclipse.eef.EEFTextConditionalStyle; import org.eclipse.eef.EEFTextDescription; -import org.eclipse.eef.EEFTextStyle; import org.eclipse.eef.EefPackage; - import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - /** - * - * An implementation of the model object 'EEF Text Description'. - * + * An implementation of the model object 'EEF Text Description'. *

                * The following features are implemented: *

                *
                  - *
                • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getValueExpression Value Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getEditExpression Edit Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getReadOnlyExpression Read Only Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getContentAssistExpression Content Assist Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getPlaceholderExpression Placeholder Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getLineCount Line Count}
                • - *
                • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getStyle Style}
                • - *
                • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getConditionalStyles Conditional Styles}
                • + *
                • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getValueExpression Value Expression}
                • + *
                • {@link org.eclipse.eef.impl.EEFTextDescriptionImpl#getEditExpression Edit Expression}
                • *
                * * @generated */ -public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFTextDescription { +public class EEFTextDescriptionImpl extends EEFWidgetDescriptionImpl implements EEFTextDescription { /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * * @see #getValueExpression() * @generated * @ordered @@ -60,19 +39,19 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme protected static final String VALUE_EXPRESSION_EDEFAULT = null; /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * * @see #getValueExpression() * @generated * @ordered */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + protected String valueExpression = EEFTextDescriptionImpl.VALUE_EXPRESSION_EDEFAULT; /** - * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * + * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. + * * @see #getEditExpression() * @generated * @ordered @@ -80,118 +59,18 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme protected static final String EDIT_EXPRESSION_EDEFAULT = null; /** - * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * + * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. + * * @see #getEditExpression() * @generated * @ordered */ - protected String editExpression = EDIT_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getReadOnlyExpression() Read Only Expression}' attribute. - * - * - * @see #getReadOnlyExpression() - * @generated - * @ordered - */ - protected static final String READ_ONLY_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getReadOnlyExpression() Read Only Expression}' attribute. - * - * - * @see #getReadOnlyExpression() - * @generated - * @ordered - */ - protected String readOnlyExpression = READ_ONLY_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getContentAssistExpression() Content Assist Expression}' attribute. - * - * - * @see #getContentAssistExpression() - * @generated - * @ordered - */ - protected static final String CONTENT_ASSIST_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getContentAssistExpression() Content Assist Expression}' attribute. - * - * - * @see #getContentAssistExpression() - * @generated - * @ordered - */ - protected String contentAssistExpression = CONTENT_ASSIST_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getPlaceholderExpression() Placeholder Expression}' attribute. - * - * - * @see #getPlaceholderExpression() - * @generated - * @ordered - */ - protected static final String PLACEHOLDER_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPlaceholderExpression() Placeholder Expression}' attribute. - * - * - * @see #getPlaceholderExpression() - * @generated - * @ordered - */ - protected String placeholderExpression = PLACEHOLDER_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getLineCount() Line Count}' attribute. - * - * - * @see #getLineCount() - * @generated - * @ordered - */ - protected static final int LINE_COUNT_EDEFAULT = 1; - - /** - * The cached value of the '{@link #getLineCount() Line Count}' attribute. - * - * - * @see #getLineCount() - * @generated - * @ordered - */ - protected int lineCount = LINE_COUNT_EDEFAULT; - - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFTextStyle style; - - /** - * The cached value of the '{@link #getConditionalStyles() Conditional Styles}' containment reference list. - * - * - * @see #getConditionalStyles() - * @generated - * @ordered - */ - protected EList conditionalStyles; + protected String editExpression = EEFTextDescriptionImpl.EDIT_EXPRESSION_EDEFAULT; /** - * - * + * + * * @generated */ protected EEFTextDescriptionImpl() { @@ -199,8 +78,8 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme } /** - * - * + * + * * @generated */ @Override @@ -209,8 +88,8 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme } /** - * - * + * + * * @generated */ @Override @@ -219,22 +98,23 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme } /** - * - * + * + * * @generated */ @Override public void setValueExpression(String newValueExpression) { String oldValueExpression = valueExpression; valueExpression = newValueExpression; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, valueExpression)); + } } /** - * - * + * + * * @generated */ @Override @@ -243,220 +123,23 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme } /** - * - * + * + * * @generated */ @Override public void setEditExpression(String newEditExpression) { String oldEditExpression = editExpression; editExpression = newEditExpression; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, editExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getReadOnlyExpression() { - return readOnlyExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setReadOnlyExpression(String newReadOnlyExpression) { - String oldReadOnlyExpression = readOnlyExpression; - readOnlyExpression = newReadOnlyExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION, oldReadOnlyExpression, - readOnlyExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getContentAssistExpression() { - return contentAssistExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setContentAssistExpression(String newContentAssistExpression) { - String oldContentAssistExpression = contentAssistExpression; - contentAssistExpression = newContentAssistExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION, - oldContentAssistExpression, contentAssistExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getPlaceholderExpression() { - return placeholderExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setPlaceholderExpression(String newPlaceholderExpression) { - String oldPlaceholderExpression = placeholderExpression; - placeholderExpression = newPlaceholderExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION, oldPlaceholderExpression, - placeholderExpression)); - } - - /** - * - * - * @generated - */ - @Override - public int getLineCount() { - return lineCount; - } - - /** - * - * - * @generated - */ - @Override - public void setLineCount(int newLineCount) { - int oldLineCount = lineCount; - lineCount = newLineCount; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT, oldLineCount, lineCount)); - } - - /** - * - * - * @generated - */ - @Override - public EEFTextStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFTextStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_DESCRIPTION__STYLE, null, null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_DESCRIPTION__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TEXT_DESCRIPTION__STYLE, oldStyle, style)); - } } - return style; - } - - /** - * - * - * @generated - */ - public EEFTextStyle basicGetStyle() { - return style; } /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFTextStyle newStyle, NotificationChain msgs) { - EEFTextStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFTextStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_DESCRIPTION__STYLE, null, msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_DESCRIPTION__STYLE, null, msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_DESCRIPTION__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public EList getConditionalStyles() { - if (conditionalStyles == null) { - conditionalStyles = new EObjectContainmentEList.Resolving(EEFTextConditionalStyle.class, this, - EefPackage.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES); - } - return conditionalStyles; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_TEXT_DESCRIPTION__STYLE: - return basicSetStyle(null, msgs); - case EefPackage.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES: - return ((InternalEList) getConditionalStyles()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * + * + * * @generated */ @Override @@ -466,30 +149,15 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme return getValueExpression(); case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: return getEditExpression(); - case EefPackage.EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION: - return getReadOnlyExpression(); - case EefPackage.EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION: - return getContentAssistExpression(); - case EefPackage.EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION: - return getPlaceholderExpression(); - case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: - return getLineCount(); - case EefPackage.EEF_TEXT_DESCRIPTION__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - case EefPackage.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES: - return getConditionalStyles(); } return super.eGet(featureID, resolve, coreType); } /** - * - * + * + * * @generated */ - @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { @@ -499,120 +167,64 @@ public class EEFTextDescriptionImpl extends EEFCellWidgetDescriptionImpl impleme case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: setEditExpression((String) newValue); return; - case EefPackage.EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION: - setReadOnlyExpression((String) newValue); - return; - case EefPackage.EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION: - setContentAssistExpression((String) newValue); - return; - case EefPackage.EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION: - setPlaceholderExpression((String) newValue); - return; - case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: - setLineCount((Integer) newValue); - return; - case EefPackage.EEF_TEXT_DESCRIPTION__STYLE: - setStyle((EEFTextStyle) newValue); - return; - case EefPackage.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES: - getConditionalStyles().clear(); - getConditionalStyles().addAll((Collection) newValue); - return; } super.eSet(featureID, newValue); } /** - * - * + * + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); + setValueExpression(EEFTextDescriptionImpl.VALUE_EXPRESSION_EDEFAULT); return; case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression(EDIT_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION: - setReadOnlyExpression(READ_ONLY_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION: - setContentAssistExpression(CONTENT_ASSIST_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION: - setPlaceholderExpression(PLACEHOLDER_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: - setLineCount(LINE_COUNT_EDEFAULT); - return; - case EefPackage.EEF_TEXT_DESCRIPTION__STYLE: - setStyle((EEFTextStyle) null); - return; - case EefPackage.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES: - getConditionalStyles().clear(); + setEditExpression(EEFTextDescriptionImpl.EDIT_EXPRESSION_EDEFAULT); return; } super.eUnset(featureID); } /** - * - * + * + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + return EEFTextDescriptionImpl.VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null + : !EEFTextDescriptionImpl.VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); case EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION: - return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); - case EefPackage.EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION: - return READ_ONLY_EXPRESSION_EDEFAULT == null ? readOnlyExpression != null : !READ_ONLY_EXPRESSION_EDEFAULT.equals(readOnlyExpression); - case EefPackage.EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION: - return CONTENT_ASSIST_EXPRESSION_EDEFAULT == null ? contentAssistExpression != null - : !CONTENT_ASSIST_EXPRESSION_EDEFAULT.equals(contentAssistExpression); - case EefPackage.EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION: - return PLACEHOLDER_EXPRESSION_EDEFAULT == null ? placeholderExpression != null - : !PLACEHOLDER_EXPRESSION_EDEFAULT.equals(placeholderExpression); - case EefPackage.EEF_TEXT_DESCRIPTION__LINE_COUNT: - return lineCount != LINE_COUNT_EDEFAULT; - case EefPackage.EEF_TEXT_DESCRIPTION__STYLE: - return style != null; - case EefPackage.EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES: - return conditionalStyles != null && !conditionalStyles.isEmpty(); + return EEFTextDescriptionImpl.EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null + : !EEFTextDescriptionImpl.EDIT_EXPRESSION_EDEFAULT.equals(editExpression); } return super.eIsSet(featureID); } /** - * - * + * + * * @generated */ @Override public String toString() { - if (eIsProxy()) + if (eIsProxy()) { return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (valueExpression: "); //$NON-NLS-1$ result.append(valueExpression); result.append(", editExpression: "); //$NON-NLS-1$ result.append(editExpression); - result.append(", readOnlyExpression: "); //$NON-NLS-1$ - result.append(readOnlyExpression); - result.append(", contentAssistExpression: "); //$NON-NLS-1$ - result.append(contentAssistExpression); - result.append(", placeholderExpression: "); //$NON-NLS-1$ - result.append(placeholderExpression); - result.append(", lineCount: "); //$NON-NLS-1$ - result.append(lineCount); result.append(')'); return result.toString(); } -} //EEFTextDescriptionImpl +} // EEFTextDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleCustomizationImpl.java deleted file mode 100644 index df8744a03..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleCustomizationImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFTextStyle; -import org.eclipse.eef.EEFTextStyleCustomization; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Text Style Customization'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFTextStyleCustomizationImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFTextStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFTextStyleCustomization { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFTextStyle style; - - /** - * - * - * @generated - */ - protected EEFTextStyleCustomizationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TEXT_STYLE_CUSTOMIZATION; - } - - /** - * - * - * @generated - */ - @Override - public EEFTextStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFTextStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFTextStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFTextStyle newStyle, NotificationChain msgs) { - EEFTextStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFTextStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFTextStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFTextStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFTextStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleImpl.java deleted file mode 100644 index 85bfbc975..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTextStyleImpl.java +++ /dev/null @@ -1,231 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFTextStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Text Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFTextStyleImpl#getBackgroundColorExpression Background Color Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFTextStyleImpl#getForegroundColorExpression Foreground Color Expression}
                • - *
                - * - * @generated - */ -public class EEFTextStyleImpl extends EEFStyleImpl implements EEFTextStyle { - /** - * The default value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected static final String BACKGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBackgroundColorExpression() Background Color Expression}' attribute. - * - * - * @see #getBackgroundColorExpression() - * @generated - * @ordered - */ - protected String backgroundColorExpression = BACKGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected static final String FOREGROUND_COLOR_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getForegroundColorExpression() Foreground Color Expression}' attribute. - * - * - * @see #getForegroundColorExpression() - * @generated - * @ordered - */ - protected String foregroundColorExpression = FOREGROUND_COLOR_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFTextStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TEXT_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public String getBackgroundColorExpression() { - return backgroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setBackgroundColorExpression(String newBackgroundColorExpression) { - String oldBackgroundColorExpression = backgroundColorExpression; - backgroundColorExpression = newBackgroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION, - oldBackgroundColorExpression, backgroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getForegroundColorExpression() { - return foregroundColorExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setForegroundColorExpression(String newForegroundColorExpression) { - String oldForegroundColorExpression = foregroundColorExpression; - foregroundColorExpression = newForegroundColorExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION, - oldForegroundColorExpression, foregroundColorExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION: - return getBackgroundColorExpression(); - case EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION: - return getForegroundColorExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression((String) newValue); - return; - case EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION: - setBackgroundColorExpression(BACKGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION: - setForegroundColorExpression(FOREGROUND_COLOR_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION: - return BACKGROUND_COLOR_EXPRESSION_EDEFAULT == null ? backgroundColorExpression != null - : !BACKGROUND_COLOR_EXPRESSION_EDEFAULT.equals(backgroundColorExpression); - case EefPackage.EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION: - return FOREGROUND_COLOR_EXPRESSION_EDEFAULT == null ? foregroundColorExpression != null - : !FOREGROUND_COLOR_EXPRESSION_EDEFAULT.equals(foregroundColorExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (backgroundColorExpression: "); //$NON-NLS-1$ - result.append(backgroundColorExpression); - result.append(", foregroundColorExpression: "); //$NON-NLS-1$ - result.append(foregroundColorExpression); - result.append(')'); - return result.toString(); - } - -} //EEFTextStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeConditionalStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeConditionalStyleImpl.java deleted file mode 100644 index 531ed4237..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeConditionalStyleImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFTreeConditionalStyle; -import org.eclipse.eef.EEFTreeStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Tree Conditional Style'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFTreeConditionalStyleImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFTreeConditionalStyleImpl extends EEFConditionalStyleImpl implements EEFTreeConditionalStyle { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFTreeStyle style; - - /** - * - * - * @generated - */ - protected EEFTreeConditionalStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TREE_CONDITIONAL_STYLE; - } - - /** - * - * - * @generated - */ - @Override - public EEFTreeStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFTreeStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFTreeStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFTreeStyle newStyle, NotificationChain msgs) { - EEFTreeStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFTreeStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE: - setStyle((EEFTreeStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE: - setStyle((EEFTreeStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_CONDITIONAL_STYLE__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFTreeConditionalStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDescriptionImpl.java deleted file mode 100644 index b058ca5f8..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDescriptionImpl.java +++ /dev/null @@ -1,295 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFTreeDescription; -import org.eclipse.eef.EEFTreeStructureDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Tree Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFTreeDescriptionImpl#getValueExpression Value Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFTreeDescriptionImpl#getTreeStructure Tree Structure}
                • - *
                • {@link org.eclipse.eef.impl.EEFTreeDescriptionImpl#getEditExpression Edit Expression}
                • - *
                - * - * @generated - */ -public class EEFTreeDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFTreeDescription { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getTreeStructure() Tree Structure}' reference. - * - * - * @see #getTreeStructure() - * @generated - * @ordered - */ - protected EEFTreeStructureDescription treeStructure; - - /** - * The default value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected static final String EDIT_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEditExpression() Edit Expression}' attribute. - * - * - * @see #getEditExpression() - * @generated - * @ordered - */ - protected String editExpression = EDIT_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFTreeDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TREE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION, oldValueExpression, - valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EEFTreeStructureDescription getTreeStructure() { - if (treeStructure != null && treeStructure.eIsProxy()) { - InternalEObject oldTreeStructure = (InternalEObject) treeStructure; - treeStructure = (EEFTreeStructureDescription) eResolveProxy(oldTreeStructure); - if (treeStructure != oldTreeStructure) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE, oldTreeStructure, - treeStructure)); - } - } - return treeStructure; - } - - /** - * - * - * @generated - */ - public EEFTreeStructureDescription basicGetTreeStructure() { - return treeStructure; - } - - /** - * - * - * @generated - */ - @Override - public void setTreeStructure(EEFTreeStructureDescription newTreeStructure) { - EEFTreeStructureDescription oldTreeStructure = treeStructure; - treeStructure = newTreeStructure; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE, oldTreeStructure, treeStructure)); - } - - /** - * - * - * @generated - */ - @Override - public String getEditExpression() { - return editExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setEditExpression(String newEditExpression) { - String oldEditExpression = editExpression; - editExpression = newEditExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION, oldEditExpression, - editExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: - return getValueExpression(); - case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: - if (resolve) - return getTreeStructure(); - return basicGetTreeStructure(); - case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: - return getEditExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression((String) newValue); - return; - case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: - setTreeStructure((EEFTreeStructureDescription) newValue); - return; - case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: - setTreeStructure((EEFTreeStructureDescription) null); - return; - case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: - setEditExpression(EDIT_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_DESCRIPTION__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - case EefPackage.EEF_TREE_DESCRIPTION__TREE_STRUCTURE: - return treeStructure != null; - case EefPackage.EEF_TREE_DESCRIPTION__EDIT_EXPRESSION: - return EDIT_EXPRESSION_EDEFAULT == null ? editExpression != null : !EDIT_EXPRESSION_EDEFAULT.equals(editExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(", editExpression: "); //$NON-NLS-1$ - result.append(editExpression); - result.append(')'); - return result.toString(); - } - -} //EEFTreeDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDialogSelectDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDialogSelectDescriptionImpl.java deleted file mode 100644 index d9df5c55e..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeDialogSelectDescriptionImpl.java +++ /dev/null @@ -1,352 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFTreeDescription; -import org.eclipse.eef.EEFTreeDialogSelectDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Tree Dialog Select Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl#getSemanticCandidateExpression Semantic Candidate Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl#getDefaultFilter Default Filter}
                • - *
                • {@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl#getDomainClass Domain Class}
                • - *
                • {@link org.eclipse.eef.impl.EEFTreeDialogSelectDescriptionImpl#getTree Tree}
                • - *
                - * - * @generated - */ -public class EEFTreeDialogSelectDescriptionImpl extends EEFCellWidgetDescriptionImpl implements EEFTreeDialogSelectDescription { - /** - * The default value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. - * - * - * @see #getSemanticCandidateExpression() - * @generated - * @ordered - */ - protected static final String SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSemanticCandidateExpression() Semantic Candidate Expression}' attribute. - * - * - * @see #getSemanticCandidateExpression() - * @generated - * @ordered - */ - protected String semanticCandidateExpression = SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getDefaultFilter() Default Filter}' attribute. - * - * - * @see #getDefaultFilter() - * @generated - * @ordered - */ - protected static final String DEFAULT_FILTER_EDEFAULT = "*"; //$NON-NLS-1$ - - /** - * The cached value of the '{@link #getDefaultFilter() Default Filter}' attribute. - * - * - * @see #getDefaultFilter() - * @generated - * @ordered - */ - protected String defaultFilter = DEFAULT_FILTER_EDEFAULT; - - /** - * The default value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected static final String DOMAIN_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDomainClass() Domain Class}' attribute. - * - * - * @see #getDomainClass() - * @generated - * @ordered - */ - protected String domainClass = DOMAIN_CLASS_EDEFAULT; - - /** - * The cached value of the '{@link #getTree() Tree}' reference. - * - * - * @see #getTree() - * @generated - * @ordered - */ - protected EEFTreeDescription tree; - - /** - * - * - * @generated - */ - protected EEFTreeDialogSelectDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TREE_DIALOG_SELECT_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getSemanticCandidateExpression() { - return semanticCandidateExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setSemanticCandidateExpression(String newSemanticCandidateExpression) { - String oldSemanticCandidateExpression = semanticCandidateExpression; - semanticCandidateExpression = newSemanticCandidateExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION, - oldSemanticCandidateExpression, semanticCandidateExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getDefaultFilter() { - return defaultFilter; - } - - /** - * - * - * @generated - */ - @Override - public void setDefaultFilter(String newDefaultFilter) { - String oldDefaultFilter = defaultFilter; - defaultFilter = newDefaultFilter; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER, oldDefaultFilter, - defaultFilter)); - } - - /** - * - * - * @generated - */ - @Override - public String getDomainClass() { - return domainClass; - } - - /** - * - * - * @generated - */ - @Override - public void setDomainClass(String newDomainClass) { - String oldDomainClass = domainClass; - domainClass = newDomainClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS, oldDomainClass, - domainClass)); - } - - /** - * - * - * @generated - */ - @Override - public EEFTreeDescription getTree() { - if (tree != null && tree.eIsProxy()) { - InternalEObject oldTree = (InternalEObject) tree; - tree = (EEFTreeDescription) eResolveProxy(oldTree); - if (tree != oldTree) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE, oldTree, tree)); - } - } - return tree; - } - - /** - * - * - * @generated - */ - public EEFTreeDescription basicGetTree() { - return tree; - } - - /** - * - * - * @generated - */ - @Override - public void setTree(EEFTreeDescription newTree) { - EEFTreeDescription oldTree = tree; - tree = newTree; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE, oldTree, tree)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - return getSemanticCandidateExpression(); - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: - return getDefaultFilter(); - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: - return getDomainClass(); - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: - if (resolve) - return getTree(); - return basicGetTree(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - setSemanticCandidateExpression((String) newValue); - return; - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: - setDefaultFilter((String) newValue); - return; - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: - setDomainClass((String) newValue); - return; - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: - setTree((EEFTreeDescription) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - setSemanticCandidateExpression(SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: - setDefaultFilter(DEFAULT_FILTER_EDEFAULT); - return; - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: - setDomainClass(DOMAIN_CLASS_EDEFAULT); - return; - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: - setTree((EEFTreeDescription) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: - return SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null - : !SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT.equals(semanticCandidateExpression); - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER: - return DEFAULT_FILTER_EDEFAULT == null ? defaultFilter != null : !DEFAULT_FILTER_EDEFAULT.equals(defaultFilter); - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS: - return DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !DOMAIN_CLASS_EDEFAULT.equals(domainClass); - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE: - return tree != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (semanticCandidateExpression: "); //$NON-NLS-1$ - result.append(semanticCandidateExpression); - result.append(", defaultFilter: "); //$NON-NLS-1$ - result.append(defaultFilter); - result.append(", domainClass: "); //$NON-NLS-1$ - result.append(domainClass); - result.append(')'); - return result.toString(); - } - -} //EEFTreeDialogSelectDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStructureDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStructureDescriptionImpl.java deleted file mode 100644 index a666ca253..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStructureDescriptionImpl.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFTreeStructureDescription; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'EEF Tree Structure Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl#getIdentifier Identifier}
                • - *
                • {@link org.eclipse.eef.impl.EEFTreeStructureDescriptionImpl#isMultiple Multiple}
                • - *
                - * - * @generated - */ -public abstract class EEFTreeStructureDescriptionImpl extends MinimalEObjectImpl.Container implements EEFTreeStructureDescription { - /** - * The default value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected static final String IDENTIFIER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getIdentifier() Identifier}' attribute. - * - * - * @see #getIdentifier() - * @generated - * @ordered - */ - protected String identifier = IDENTIFIER_EDEFAULT; - - /** - * The default value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected static final boolean MULTIPLE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected boolean multiple = MULTIPLE_EDEFAULT; - - /** - * - * - * @generated - */ - protected EEFTreeStructureDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TREE_STRUCTURE_DESCRIPTION; - } - - /** - * - * - * @generated - */ - @Override - public String getIdentifier() { - return identifier; - } - - /** - * - * - * @generated - */ - @Override - public void setIdentifier(String newIdentifier) { - String oldIdentifier = identifier; - identifier = newIdentifier; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); - } - - /** - * - * - * @generated - */ - @Override - public boolean isMultiple() { - return multiple; - } - - /** - * - * - * @generated - */ - @Override - public void setMultiple(boolean newMultiple) { - boolean oldMultiple = multiple; - multiple = newMultiple; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE, oldMultiple, multiple)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: - return getIdentifier(); - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: - return isMultiple(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: - setIdentifier((String) newValue); - return; - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: - setMultiple((Boolean) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: - setIdentifier(IDENTIFIER_EDEFAULT); - return; - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: - setMultiple(MULTIPLE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER: - return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE: - return multiple != MULTIPLE_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (identifier: "); //$NON-NLS-1$ - result.append(identifier); - result.append(", multiple: "); //$NON-NLS-1$ - result.append(multiple); - result.append(')'); - return result.toString(); - } - -} //EEFTreeStructureDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleCustomizationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleCustomizationImpl.java deleted file mode 100644 index 511dd8db8..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleCustomizationImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFTreeStyle; -import org.eclipse.eef.EEFTreeStyleCustomization; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EEF Tree Style Customization'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFTreeStyleCustomizationImpl#getStyle Style}
                • - *
                - * - * @generated - */ -public class EEFTreeStyleCustomizationImpl extends EEFStyleCustomizationImpl implements EEFTreeStyleCustomization { - /** - * The cached value of the '{@link #getStyle() Style}' containment reference. - * - * - * @see #getStyle() - * @generated - * @ordered - */ - protected EEFTreeStyle style; - - /** - * - * - * @generated - */ - protected EEFTreeStyleCustomizationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TREE_STYLE_CUSTOMIZATION; - } - - /** - * - * - * @generated - */ - @Override - public EEFTreeStyle getStyle() { - if (style != null && style.eIsProxy()) { - InternalEObject oldStyle = (InternalEObject) style; - style = (EEFTreeStyle) eResolveProxy(oldStyle); - if (style != oldStyle) { - InternalEObject newStyle = (InternalEObject) style; - NotificationChain msgs = oldStyle.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, null, - null); - if (newStyle.eInternalContainer() == null) { - msgs = newStyle.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, oldStyle, style)); - } - } - return style; - } - - /** - * - * - * @generated - */ - public EEFTreeStyle basicGetStyle() { - return style; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetStyle(EEFTreeStyle newStyle, NotificationChain msgs) { - EEFTreeStyle oldStyle = style; - style = newStyle; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, oldStyle, - newStyle); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setStyle(EEFTreeStyle newStyle) { - if (newStyle != style) { - NotificationChain msgs = null; - if (style != null) - msgs = ((InternalEObject) style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - if (newStyle != null) - msgs = ((InternalEObject) newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, null, - msgs); - msgs = basicSetStyle(newStyle, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE, newStyle, newStyle)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE: - return basicSetStyle(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE: - if (resolve) - return getStyle(); - return basicGetStyle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFTreeStyle) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE: - setStyle((EEFTreeStyle) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION__STYLE: - return style != null; - } - return super.eIsSet(featureID); - } - -} //EEFTreeStyleCustomizationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleImpl.java deleted file mode 100644 index f5fe80153..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFTreeStyleImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import org.eclipse.eef.EEFTreeStyle; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'EEF Tree Style'. - * - * - * @generated - */ -public class EEFTreeStyleImpl extends EEFStyleImpl implements EEFTreeStyle { - /** - * - * - * @generated - */ - protected EEFTreeStyleImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_TREE_STYLE; - } - -} //EEFTreeStyleImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFValidationImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFValidationImpl.java deleted file mode 100644 index 66b504d43..000000000 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFValidationImpl.java +++ /dev/null @@ -1,234 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.eef.impl; - -import java.util.Collection; - -import org.eclipse.eef.EEFQuickFix; -import org.eclipse.eef.EEFValidation; -import org.eclipse.eef.EefPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'EEF Validation'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.eef.impl.EEFValidationImpl#getValidationExpression Validation Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFValidationImpl#getQuickfixes Quickfixes}
                • - *
                - * - * @generated - */ -public class EEFValidationImpl extends MinimalEObjectImpl.Container implements EEFValidation { - /** - * The default value of the '{@link #getValidationExpression() Validation Expression}' attribute. - * - * - * @see #getValidationExpression() - * @generated - * @ordered - */ - protected static final String VALIDATION_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValidationExpression() Validation Expression}' attribute. - * - * - * @see #getValidationExpression() - * @generated - * @ordered - */ - protected String validationExpression = VALIDATION_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getQuickfixes() Quickfixes}' containment reference list. - * - * - * @see #getQuickfixes() - * @generated - * @ordered - */ - protected EList quickfixes; - - /** - * - * - * @generated - */ - protected EEFValidationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return EefPackage.Literals.EEF_VALIDATION; - } - - /** - * - * - * @generated - */ - @Override - public String getValidationExpression() { - return validationExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setValidationExpression(String newValidationExpression) { - String oldValidationExpression = validationExpression; - validationExpression = newValidationExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_VALIDATION__VALIDATION_EXPRESSION, oldValidationExpression, - validationExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EList getQuickfixes() { - if (quickfixes == null) { - quickfixes = new EObjectContainmentEList.Resolving(EEFQuickFix.class, this, EefPackage.EEF_VALIDATION__QUICKFIXES); - } - return quickfixes; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_VALIDATION__QUICKFIXES: - return ((InternalEList) getQuickfixes()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EefPackage.EEF_VALIDATION__VALIDATION_EXPRESSION: - return getValidationExpression(); - case EefPackage.EEF_VALIDATION__QUICKFIXES: - return getQuickfixes(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EefPackage.EEF_VALIDATION__VALIDATION_EXPRESSION: - setValidationExpression((String) newValue); - return; - case EefPackage.EEF_VALIDATION__QUICKFIXES: - getQuickfixes().clear(); - getQuickfixes().addAll((Collection) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EefPackage.EEF_VALIDATION__VALIDATION_EXPRESSION: - setValidationExpression(VALIDATION_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_VALIDATION__QUICKFIXES: - getQuickfixes().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EefPackage.EEF_VALIDATION__VALIDATION_EXPRESSION: - return VALIDATION_EXPRESSION_EDEFAULT == null ? validationExpression != null - : !VALIDATION_EXPRESSION_EDEFAULT.equals(validationExpression); - case EefPackage.EEF_VALIDATION__QUICKFIXES: - return quickfixes != null && !quickfixes.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (validationExpression: "); //$NON-NLS-1$ - result.append(validationExpression); - result.append(')'); - return result.toString(); - } - -} //EEFValidationImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java index c065f0ff2..b18e143cc 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFViewDescriptionImpl.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -11,61 +11,42 @@ package org.eclipse.eef.impl; import java.util.Collection; import org.eclipse.eef.EEFGroupDescription; -import org.eclipse.eef.EEFJavaExtensionDescription; import org.eclipse.eef.EEFPageDescription; -import org.eclipse.eef.EEFStyleCustomization; -import org.eclipse.eef.EEFTableStructureDescription; -import org.eclipse.eef.EEFTreeStructureDescription; import org.eclipse.eef.EEFViewDescription; import org.eclipse.eef.EefPackage; - import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; - import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.InternalEObject; - import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EDataTypeUniqueEList; import org.eclipse.emf.ecore.util.EObjectContainmentEList; import org.eclipse.emf.ecore.util.EObjectResolvingEList; import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.sirius.expression.UserDefinedVariable; - /** - * - * An implementation of the model object 'EEF View Description'. - * + * An implementation of the model object 'EEF View Description'. *

                * The following features are implemented: *

                *
                  - *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getIdentifier Identifier}
                • - *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getPreconditionExpression Precondition Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getUserDefinedVariables User Defined Variables}
                • - *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getLabelExpression Label Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getEPackageNsUris EPackage Ns Uris}
                • - *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getGroups Groups}
                • - *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getPages Pages}
                • - *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getJavaExtensions Java Extensions}
                • - *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getImportedViews Imported Views}
                • - *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getTreeStructures Tree Structures}
                • - *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getTableStructures Table Structures}
                • - *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getStyleCustomizations Style Customizations}
                • + *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getIdentifier Identifier}
                • + *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getLabelExpression Label Expression}
                • + *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getGroups Groups}
                • + *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getPages Pages}
                • + *
                • {@link org.eclipse.eef.impl.EEFViewDescriptionImpl#getEPackages EPackages}
                • *
                * * @generated */ public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container implements EEFViewDescription { /** - * The default value of the '{@link #getIdentifier() Identifier}' attribute. - * - * + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * * @see #getIdentifier() * @generated * @ordered @@ -73,49 +54,19 @@ public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container impleme protected static final String IDENTIFIER_EDEFAULT = null; /** - * The cached value of the '{@link #getIdentifier() Identifier}' attribute. - * - * + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * * @see #getIdentifier() * @generated * @ordered */ - protected String identifier = IDENTIFIER_EDEFAULT; - - /** - * The default value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. - * - * - * @see #getPreconditionExpression() - * @generated - * @ordered - */ - protected static final String PRECONDITION_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. - * - * - * @see #getPreconditionExpression() - * @generated - * @ordered - */ - protected String preconditionExpression = PRECONDITION_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getUserDefinedVariables() User Defined Variables}' containment reference list. - * - * - * @see #getUserDefinedVariables() - * @generated - * @ordered - */ - protected EList userDefinedVariables; + protected String identifier = EEFViewDescriptionImpl.IDENTIFIER_EDEFAULT; /** - * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * + * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. + * * @see #getLabelExpression() * @generated * @ordered @@ -123,29 +74,19 @@ public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container impleme protected static final String LABEL_EXPRESSION_EDEFAULT = null; /** - * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * + * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. + * * @see #getLabelExpression() * @generated * @ordered */ - protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; + protected String labelExpression = EEFViewDescriptionImpl.LABEL_EXPRESSION_EDEFAULT; /** - * The cached value of the '{@link #getEPackageNsUris() EPackage Ns Uris}' attribute list. - * - * - * @see #getEPackageNsUris() - * @generated - * @ordered - */ - protected EList ePackageNsUris; - - /** - * The cached value of the '{@link #getGroups() Groups}' containment reference list. - * - * + * The cached value of the '{@link #getGroups() Groups}' containment reference list. + * * @see #getGroups() * @generated * @ordered @@ -153,9 +94,9 @@ public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container impleme protected EList groups; /** - * The cached value of the '{@link #getPages() Pages}' containment reference list. - * + * The cached value of the '{@link #getPages() Pages}' containment reference list. * + * * @see #getPages() * @generated * @ordered @@ -163,58 +104,18 @@ public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container impleme protected EList pages; /** - * The cached value of the '{@link #getJavaExtensions() Java Extensions}' containment reference list. - * - * - * @see #getJavaExtensions() + * The cached value of the '{@link #getEPackages() EPackages}' reference list. + * + * @see #getEPackages() * @generated * @ordered */ - protected EList javaExtensions; + protected EList ePackages; /** - * The cached value of the '{@link #getImportedViews() Imported Views}' reference list. - * - * - * @see #getImportedViews() - * @generated - * @ordered - */ - protected EList importedViews; - - /** - * The cached value of the '{@link #getTreeStructures() Tree Structures}' containment reference list. - * - * - * @see #getTreeStructures() - * @generated - * @ordered - */ - protected EList treeStructures; - - /** - * The cached value of the '{@link #getTableStructures() Table Structures}' containment reference list. - * - * - * @see #getTableStructures() - * @generated - * @ordered - */ - protected EList tableStructures; - - /** - * The cached value of the '{@link #getStyleCustomizations() Style Customizations}' reference list. - * - * - * @see #getStyleCustomizations() - * @generated - * @ordered - */ - protected EList styleCustomizations; - - /** - * - * + * + * * @generated */ protected EEFViewDescriptionImpl() { @@ -222,8 +123,8 @@ public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container impleme } /** - * - * + * + * * @generated */ @Override @@ -232,8 +133,8 @@ public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container impleme } /** - * - * + * + * * @generated */ @Override @@ -242,59 +143,22 @@ public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container impleme } /** - * - * + * + * * @generated */ @Override public void setIdentifier(String newIdentifier) { String oldIdentifier = identifier; identifier = newIdentifier; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); - } - - /** - * - * - * @generated - */ - @Override - public String getPreconditionExpression() { - return preconditionExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setPreconditionExpression(String newPreconditionExpression) { - String oldPreconditionExpression = preconditionExpression; - preconditionExpression = newPreconditionExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION, oldPreconditionExpression, - preconditionExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EList getUserDefinedVariables() { - if (userDefinedVariables == null) { - userDefinedVariables = new EObjectContainmentEList.Resolving(UserDefinedVariable.class, this, - EefPackage.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES); } - return userDefinedVariables; } /** - * - * + * + * * @generated */ @Override @@ -303,35 +167,23 @@ public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container impleme } /** - * - * + * + * * @generated */ @Override public void setLabelExpression(String newLabelExpression) { String oldLabelExpression = labelExpression; labelExpression = newLabelExpression; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION, oldLabelExpression, labelExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EList getEPackageNsUris() { - if (ePackageNsUris == null) { - ePackageNsUris = new EDataTypeUniqueEList(String.class, this, EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS); } - return ePackageNsUris; } /** - * - * + * + * * @generated */ @Override @@ -344,8 +196,8 @@ public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container impleme } /** - * - * + * + * * @generated */ @Override @@ -357,102 +209,37 @@ public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container impleme } /** - * - * + * + * * @generated */ @Override - public EList getJavaExtensions() { - if (javaExtensions == null) { - javaExtensions = new EObjectContainmentEList.Resolving(EEFJavaExtensionDescription.class, this, - EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS); + public EList getEPackages() { + if (ePackages == null) { + ePackages = new EObjectResolvingEList(EPackage.class, this, EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGES); } - return javaExtensions; + return ePackages; } /** - * - * - * @generated - */ - @Override - public EList getImportedViews() { - if (importedViews == null) { - importedViews = new EObjectResolvingEList(EEFViewDescription.class, this, - EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS); - } - return importedViews; - } - - /** - * - * - * @generated - */ - @Override - public EList getTreeStructures() { - if (treeStructures == null) { - treeStructures = new EObjectContainmentEList.Resolving(EEFTreeStructureDescription.class, this, - EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES); - } - return treeStructures; - } - - /** - * - * - * @generated - */ - @Override - public EList getTableStructures() { - if (tableStructures == null) { - tableStructures = new EObjectContainmentEList.Resolving(EEFTableStructureDescription.class, this, - EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES); - } - return tableStructures; - } - - /** - * - * - * @generated - */ - @Override - public EList getStyleCustomizations() { - if (styleCustomizations == null) { - styleCustomizations = new EObjectResolvingEList(EEFStyleCustomization.class, this, - EefPackage.EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS); - } - return styleCustomizations; - } - - /** - * - * + * + * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case EefPackage.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES: - return ((InternalEList) getUserDefinedVariables()).basicRemove(otherEnd, msgs); case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: return ((InternalEList) getGroups()).basicRemove(otherEnd, msgs); case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: return ((InternalEList) getPages()).basicRemove(otherEnd, msgs); - case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: - return ((InternalEList) getJavaExtensions()).basicRemove(otherEnd, msgs); - case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: - return ((InternalEList) getTreeStructures()).basicRemove(otherEnd, msgs); - case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: - return ((InternalEList) getTableStructures()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } /** - * - * + * + * * @generated */ @Override @@ -460,35 +247,21 @@ public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container impleme switch (featureID) { case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: return getIdentifier(); - case EefPackage.EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION: - return getPreconditionExpression(); - case EefPackage.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES: - return getUserDefinedVariables(); case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: return getLabelExpression(); - case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: - return getEPackageNsUris(); case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: return getGroups(); case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: return getPages(); - case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: - return getJavaExtensions(); - case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: - return getImportedViews(); - case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: - return getTreeStructures(); - case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: - return getTableStructures(); - case EefPackage.EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS: - return getStyleCustomizations(); + case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGES: + return getEPackages(); } return super.eGet(featureID, resolve, coreType); } /** - * - * + * + * * @generated */ @SuppressWarnings("unchecked") @@ -498,20 +271,9 @@ public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container impleme case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: setIdentifier((String) newValue); return; - case EefPackage.EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION: - setPreconditionExpression((String) newValue); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES: - getUserDefinedVariables().clear(); - getUserDefinedVariables().addAll((Collection) newValue); - return; case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: setLabelExpression((String) newValue); return; - case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: - getEPackageNsUris().clear(); - getEPackageNsUris().addAll((Collection) newValue); - return; case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: getGroups().clear(); getGroups().addAll((Collection) newValue); @@ -520,52 +282,27 @@ public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container impleme getPages().clear(); getPages().addAll((Collection) newValue); return; - case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: - getJavaExtensions().clear(); - getJavaExtensions().addAll((Collection) newValue); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: - getImportedViews().clear(); - getImportedViews().addAll((Collection) newValue); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: - getTreeStructures().clear(); - getTreeStructures().addAll((Collection) newValue); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: - getTableStructures().clear(); - getTableStructures().addAll((Collection) newValue); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS: - getStyleCustomizations().clear(); - getStyleCustomizations().addAll((Collection) newValue); + case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGES: + getEPackages().clear(); + getEPackages().addAll((Collection) newValue); return; } super.eSet(featureID, newValue); } /** - * - * + * + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: - setIdentifier(IDENTIFIER_EDEFAULT); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION: - setPreconditionExpression(PRECONDITION_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES: - getUserDefinedVariables().clear(); + setIdentifier(EEFViewDescriptionImpl.IDENTIFIER_EDEFAULT); return; case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: - setLabelExpression(LABEL_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: - getEPackageNsUris().clear(); + setLabelExpression(EEFViewDescriptionImpl.LABEL_EXPRESSION_EDEFAULT); return; case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: getGroups().clear(); @@ -573,83 +310,55 @@ public class EEFViewDescriptionImpl extends MinimalEObjectImpl.Container impleme case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: getPages().clear(); return; - case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: - getJavaExtensions().clear(); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: - getImportedViews().clear(); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: - getTreeStructures().clear(); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: - getTableStructures().clear(); - return; - case EefPackage.EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS: - getStyleCustomizations().clear(); + case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGES: + getEPackages().clear(); return; } super.eUnset(featureID); } /** - * - * + * + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER: - return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); - case EefPackage.EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION: - return PRECONDITION_EXPRESSION_EDEFAULT == null ? preconditionExpression != null - : !PRECONDITION_EXPRESSION_EDEFAULT.equals(preconditionExpression); - case EefPackage.EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES: - return userDefinedVariables != null && !userDefinedVariables.isEmpty(); + return EEFViewDescriptionImpl.IDENTIFIER_EDEFAULT == null ? identifier != null + : !EEFViewDescriptionImpl.IDENTIFIER_EDEFAULT.equals(identifier); case EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION: - return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); - case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS: - return ePackageNsUris != null && !ePackageNsUris.isEmpty(); + return EEFViewDescriptionImpl.LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null + : !EEFViewDescriptionImpl.LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); case EefPackage.EEF_VIEW_DESCRIPTION__GROUPS: return groups != null && !groups.isEmpty(); case EefPackage.EEF_VIEW_DESCRIPTION__PAGES: return pages != null && !pages.isEmpty(); - case EefPackage.EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS: - return javaExtensions != null && !javaExtensions.isEmpty(); - case EefPackage.EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS: - return importedViews != null && !importedViews.isEmpty(); - case EefPackage.EEF_VIEW_DESCRIPTION__TREE_STRUCTURES: - return treeStructures != null && !treeStructures.isEmpty(); - case EefPackage.EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES: - return tableStructures != null && !tableStructures.isEmpty(); - case EefPackage.EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS: - return styleCustomizations != null && !styleCustomizations.isEmpty(); + case EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGES: + return ePackages != null && !ePackages.isEmpty(); } return super.eIsSet(featureID); } /** - * - * + * + * * @generated */ @Override public String toString() { - if (eIsProxy()) + if (eIsProxy()) { return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (identifier: "); //$NON-NLS-1$ result.append(identifier); - result.append(", preconditionExpression: "); //$NON-NLS-1$ - result.append(preconditionExpression); result.append(", labelExpression: "); //$NON-NLS-1$ result.append(labelExpression); - result.append(", ePackageNsUris: "); //$NON-NLS-1$ - result.append(ePackageNsUris); result.append(')'); return result.toString(); } -} //EEFViewDescriptionImpl +} // EEFViewDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java index c0479a128..36c8a4c9a 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EEFWidgetDescriptionImpl.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -8,54 +8,31 @@ */ package org.eclipse.eef.impl; -import java.util.Collection; - -import org.eclipse.eef.EEFLabelStyle; -import org.eclipse.eef.EEFValidation; import org.eclipse.eef.EEFWidgetDescription; import org.eclipse.eef.EefPackage; - import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.sirius.expression.UserDefinedVariable; - /** - * - * An implementation of the model object 'EEF Widget Description'. - * + * An implementation of the model object 'EEF Widget Description'. *

                * The following features are implemented: *

                *
                  - *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getIdentifier Identifier}
                • - *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getPreconditionExpression Precondition Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getUserDefinedVariables User Defined Variables}
                • - *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getLabelExpression Label Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getLabelStyle Label Style}
                • - *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getTooltipExpression Tooltip Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getHelpExpression Help Expression}
                • - *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getValidation Validation}
                • + *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getIdentifier Identifier}
                • + *
                • {@link org.eclipse.eef.impl.EEFWidgetDescriptionImpl#getLabelExpression Label Expression}
                • *
                * * @generated */ public abstract class EEFWidgetDescriptionImpl extends MinimalEObjectImpl.Container implements EEFWidgetDescription { /** - * The default value of the '{@link #getIdentifier() Identifier}' attribute. - * - * + * The default value of the '{@link #getIdentifier() Identifier}' attribute. + * * @see #getIdentifier() * @generated * @ordered @@ -63,49 +40,19 @@ public abstract class EEFWidgetDescriptionImpl extends MinimalEObjectImpl.Contai protected static final String IDENTIFIER_EDEFAULT = null; /** - * The cached value of the '{@link #getIdentifier() Identifier}' attribute. - * - * + * The cached value of the '{@link #getIdentifier() Identifier}' attribute. + * * @see #getIdentifier() * @generated * @ordered */ - protected String identifier = IDENTIFIER_EDEFAULT; - - /** - * The default value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. - * - * - * @see #getPreconditionExpression() - * @generated - * @ordered - */ - protected static final String PRECONDITION_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPreconditionExpression() Precondition Expression}' attribute. - * - * - * @see #getPreconditionExpression() - * @generated - * @ordered - */ - protected String preconditionExpression = PRECONDITION_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getUserDefinedVariables() User Defined Variables}' containment reference list. - * - * - * @see #getUserDefinedVariables() - * @generated - * @ordered - */ - protected EList userDefinedVariables; + protected String identifier = EEFWidgetDescriptionImpl.IDENTIFIER_EDEFAULT; /** - * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * + * The default value of the '{@link #getLabelExpression() Label Expression}' attribute. + * * @see #getLabelExpression() * @generated * @ordered @@ -113,78 +60,18 @@ public abstract class EEFWidgetDescriptionImpl extends MinimalEObjectImpl.Contai protected static final String LABEL_EXPRESSION_EDEFAULT = null; /** - * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. - * - * + * The cached value of the '{@link #getLabelExpression() Label Expression}' attribute. + * * @see #getLabelExpression() * @generated * @ordered */ - protected String labelExpression = LABEL_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getLabelStyle() Label Style}' reference. - * - * - * @see #getLabelStyle() - * @generated - * @ordered - */ - protected EEFLabelStyle labelStyle; - - /** - * The default value of the '{@link #getTooltipExpression() Tooltip Expression}' attribute. - * - * - * @see #getTooltipExpression() - * @generated - * @ordered - */ - protected static final String TOOLTIP_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTooltipExpression() Tooltip Expression}' attribute. - * - * - * @see #getTooltipExpression() - * @generated - * @ordered - */ - protected String tooltipExpression = TOOLTIP_EXPRESSION_EDEFAULT; - - /** - * The default value of the '{@link #getHelpExpression() Help Expression}' attribute. - * - * - * @see #getHelpExpression() - * @generated - * @ordered - */ - protected static final String HELP_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHelpExpression() Help Expression}' attribute. - * - * - * @see #getHelpExpression() - * @generated - * @ordered - */ - protected String helpExpression = HELP_EXPRESSION_EDEFAULT; - - /** - * The cached value of the '{@link #getValidation() Validation}' containment reference. - * - * - * @see #getValidation() - * @generated - * @ordered - */ - protected EEFValidation validation; + protected String labelExpression = EEFWidgetDescriptionImpl.LABEL_EXPRESSION_EDEFAULT; /** - * - * + * + * * @generated */ protected EEFWidgetDescriptionImpl() { @@ -192,8 +79,8 @@ public abstract class EEFWidgetDescriptionImpl extends MinimalEObjectImpl.Contai } /** - * - * + * + * * @generated */ @Override @@ -202,8 +89,8 @@ public abstract class EEFWidgetDescriptionImpl extends MinimalEObjectImpl.Contai } /** - * - * + * + * * @generated */ @Override @@ -212,59 +99,22 @@ public abstract class EEFWidgetDescriptionImpl extends MinimalEObjectImpl.Contai } /** - * - * + * + * * @generated */ @Override public void setIdentifier(String newIdentifier) { String oldIdentifier = identifier; identifier = newIdentifier; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER, oldIdentifier, identifier)); - } - - /** - * - * - * @generated - */ - @Override - public String getPreconditionExpression() { - return preconditionExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setPreconditionExpression(String newPreconditionExpression) { - String oldPreconditionExpression = preconditionExpression; - preconditionExpression = newPreconditionExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION, - oldPreconditionExpression, preconditionExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EList getUserDefinedVariables() { - if (userDefinedVariables == null) { - userDefinedVariables = new EObjectContainmentEList.Resolving(UserDefinedVariable.class, this, - EefPackage.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES); } - return userDefinedVariables; } /** - * - * + * + * * @generated */ @Override @@ -273,204 +123,23 @@ public abstract class EEFWidgetDescriptionImpl extends MinimalEObjectImpl.Contai } /** - * - * + * + * * @generated */ @Override public void setLabelExpression(String newLabelExpression) { String oldLabelExpression = labelExpression; labelExpression = newLabelExpression; - if (eNotificationRequired()) + if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION, oldLabelExpression, labelExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EEFLabelStyle getLabelStyle() { - if (labelStyle != null && labelStyle.eIsProxy()) { - InternalEObject oldLabelStyle = (InternalEObject) labelStyle; - labelStyle = (EEFLabelStyle) eResolveProxy(oldLabelStyle); - if (labelStyle != oldLabelStyle) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_STYLE, oldLabelStyle, - labelStyle)); - } } - return labelStyle; } /** - * - * - * @generated - */ - public EEFLabelStyle basicGetLabelStyle() { - return labelStyle; - } - - /** - * - * - * @generated - */ - @Override - public void setLabelStyle(EEFLabelStyle newLabelStyle) { - EEFLabelStyle oldLabelStyle = labelStyle; - labelStyle = newLabelStyle; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_STYLE, oldLabelStyle, labelStyle)); - } - - /** - * - * - * @generated - */ - @Override - public String getTooltipExpression() { - return tooltipExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setTooltipExpression(String newTooltipExpression) { - String oldTooltipExpression = tooltipExpression; - tooltipExpression = newTooltipExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION, oldTooltipExpression, - tooltipExpression)); - } - - /** - * - * - * @generated - */ - @Override - public String getHelpExpression() { - return helpExpression; - } - - /** - * - * - * @generated - */ - @Override - public void setHelpExpression(String newHelpExpression) { - String oldHelpExpression = helpExpression; - helpExpression = newHelpExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION, oldHelpExpression, - helpExpression)); - } - - /** - * - * - * @generated - */ - @Override - public EEFValidation getValidation() { - if (validation != null && validation.eIsProxy()) { - InternalEObject oldValidation = (InternalEObject) validation; - validation = (EEFValidation) eResolveProxy(oldValidation); - if (validation != oldValidation) { - InternalEObject newValidation = (InternalEObject) validation; - NotificationChain msgs = oldValidation.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION, - null, null); - if (newValidation.eInternalContainer() == null) { - msgs = newValidation.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION, null, msgs); - } - if (msgs != null) - msgs.dispatch(); - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION, oldValidation, - validation)); - } - } - return validation; - } - - /** - * - * - * @generated - */ - public EEFValidation basicGetValidation() { - return validation; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetValidation(EEFValidation newValidation, NotificationChain msgs) { - EEFValidation oldValidation = validation; - validation = newValidation; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION, - oldValidation, newValidation); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setValidation(EEFValidation newValidation) { - if (newValidation != validation) { - NotificationChain msgs = null; - if (validation != null) - msgs = ((InternalEObject) validation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION, - null, msgs); - if (newValidation != null) - msgs = ((InternalEObject) newValidation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION, - null, msgs); - msgs = basicSetValidation(newValidation, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION, newValidation, newValidation)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case EefPackage.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES: - return ((InternalEList) getUserDefinedVariables()).basicRemove(otherEnd, msgs); - case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION: - return basicSetValidation(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * + * + * * @generated */ @Override @@ -478,154 +147,84 @@ public abstract class EEFWidgetDescriptionImpl extends MinimalEObjectImpl.Contai switch (featureID) { case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: return getIdentifier(); - case EefPackage.EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION: - return getPreconditionExpression(); - case EefPackage.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES: - return getUserDefinedVariables(); case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: return getLabelExpression(); - case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_STYLE: - if (resolve) - return getLabelStyle(); - return basicGetLabelStyle(); - case EefPackage.EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION: - return getTooltipExpression(); - case EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION: - return getHelpExpression(); - case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION: - if (resolve) - return getValidation(); - return basicGetValidation(); } return super.eGet(featureID, resolve, coreType); } /** - * - * + * + * * @generated */ - @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: setIdentifier((String) newValue); return; - case EefPackage.EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION: - setPreconditionExpression((String) newValue); - return; - case EefPackage.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES: - getUserDefinedVariables().clear(); - getUserDefinedVariables().addAll((Collection) newValue); - return; case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: setLabelExpression((String) newValue); return; - case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_STYLE: - setLabelStyle((EEFLabelStyle) newValue); - return; - case EefPackage.EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION: - setTooltipExpression((String) newValue); - return; - case EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION: - setHelpExpression((String) newValue); - return; - case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION: - setValidation((EEFValidation) newValue); - return; } super.eSet(featureID, newValue); } /** - * - * + * + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: - setIdentifier(IDENTIFIER_EDEFAULT); - return; - case EefPackage.EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION: - setPreconditionExpression(PRECONDITION_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES: - getUserDefinedVariables().clear(); + setIdentifier(EEFWidgetDescriptionImpl.IDENTIFIER_EDEFAULT); return; case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: - setLabelExpression(LABEL_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_STYLE: - setLabelStyle((EEFLabelStyle) null); - return; - case EefPackage.EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION: - setTooltipExpression(TOOLTIP_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION: - setHelpExpression(HELP_EXPRESSION_EDEFAULT); - return; - case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION: - setValidation((EEFValidation) null); + setLabelExpression(EEFWidgetDescriptionImpl.LABEL_EXPRESSION_EDEFAULT); return; } super.eUnset(featureID); } /** - * - * + * + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER: - return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); - case EefPackage.EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION: - return PRECONDITION_EXPRESSION_EDEFAULT == null ? preconditionExpression != null - : !PRECONDITION_EXPRESSION_EDEFAULT.equals(preconditionExpression); - case EefPackage.EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES: - return userDefinedVariables != null && !userDefinedVariables.isEmpty(); + return EEFWidgetDescriptionImpl.IDENTIFIER_EDEFAULT == null ? identifier != null + : !EEFWidgetDescriptionImpl.IDENTIFIER_EDEFAULT.equals(identifier); case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION: - return LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null : !LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); - case EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_STYLE: - return labelStyle != null; - case EefPackage.EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION: - return TOOLTIP_EXPRESSION_EDEFAULT == null ? tooltipExpression != null : !TOOLTIP_EXPRESSION_EDEFAULT.equals(tooltipExpression); - case EefPackage.EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION: - return HELP_EXPRESSION_EDEFAULT == null ? helpExpression != null : !HELP_EXPRESSION_EDEFAULT.equals(helpExpression); - case EefPackage.EEF_WIDGET_DESCRIPTION__VALIDATION: - return validation != null; + return EEFWidgetDescriptionImpl.LABEL_EXPRESSION_EDEFAULT == null ? labelExpression != null + : !EEFWidgetDescriptionImpl.LABEL_EXPRESSION_EDEFAULT.equals(labelExpression); } return super.eIsSet(featureID); } /** - * - * + * + * * @generated */ @Override public String toString() { - if (eIsProxy()) + if (eIsProxy()) { return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (identifier: "); //$NON-NLS-1$ result.append(identifier); - result.append(", preconditionExpression: "); //$NON-NLS-1$ - result.append(preconditionExpression); result.append(", labelExpression: "); //$NON-NLS-1$ result.append(labelExpression); - result.append(", tooltipExpression: "); //$NON-NLS-1$ - result.append(tooltipExpression); - result.append(", helpExpression: "); //$NON-NLS-1$ - result.append(helpExpression); result.append(')'); return result.toString(); } -} //EEFWidgetDescriptionImpl +} // EEFWidgetDescriptionImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java index 277983867..39e6e6b51 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefFactoryImpl.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -8,28 +8,28 @@ */ package org.eclipse.eef.impl; -import org.eclipse.eef.*; - +import org.eclipse.eef.EEFContainerDescription; +import org.eclipse.eef.EEFGroupDescription; +import org.eclipse.eef.EEFPageDescription; +import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.EEFViewDescription; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.EefPackage; import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; - import org.eclipse.emf.ecore.impl.EFactoryImpl; - import org.eclipse.emf.ecore.plugin.EcorePlugin; /** - * - * An implementation of the model Factory. - * + * An implementation of the model Factory. + * * @generated */ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { /** - * Creates the default factory implementation. - * - * + * Creates the default factory implementation. + * * @generated */ public static EefFactory init() { @@ -45,9 +45,8 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { } /** - * Creates an instance of the factory. - * - * + * Creates an instance of the factory. + * * @generated */ public EefFactoryImpl() { @@ -55,8 +54,8 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { } /** - * - * + * + * * @generated */ @Override @@ -70,150 +69,16 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { return createEEFGroupDescription(); case EefPackage.EEF_CONTAINER_DESCRIPTION: return createEEFContainerDescription(); - case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION: - return createEEFJavaExtensionDescription(); - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION: - return createEEFInterpretedTableStructureDescription(); - case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION: - return createEEFAdapterFactoryTreeStructureDescription(); - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION: - return createEEFInterpretedTreeStructureDescription(); case EefPackage.EEF_TEXT_DESCRIPTION: return createEEFTextDescription(); - case EefPackage.EEF_CHECKBOX_DESCRIPTION: - return createEEFCheckboxDescription(); - case EefPackage.EEF_SELECT_DESCRIPTION: - return createEEFSelectDescription(); - case EefPackage.EEF_LABEL_DESCRIPTION: - return createEEFLabelDescription(); - case EefPackage.EEF_RADIO_DESCRIPTION: - return createEEFRadioDescription(); - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION: - return createEEFTreeDialogSelectDescription(); - case EefPackage.EEF_LINK_DESCRIPTION: - return createEEFLinkDescription(); - case EefPackage.EEF_IMAGE_DESCRIPTION: - return createEEFImageDescription(); - case EefPackage.EEF_TREE_DESCRIPTION: - return createEEFTreeDescription(); - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION: - return createEEFImagePickerDescription(); - case EefPackage.EEF_TABLE_DESCRIPTION: - return createEEFTableDescription(); - case EefPackage.EEF_COLUMN_DESCRIPTION: - return createEEFColumnDescription(); - case EefPackage.EEF_LINE_DESCRIPTION: - return createEEFLineDescription(); - case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION: - return createEEFAdapterFactoryTableStructureDescription(); - case EefPackage.EEF_GROUP_STYLE: - return createEEFGroupStyle(); - case EefPackage.EEF_GROUP_CONDITIONAL_STYLE: - return createEEFGroupConditionalStyle(); - case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION: - return createEEFGroupStyleCustomization(); - case EefPackage.EEF_TEXT_STYLE: - return createEEFTextStyle(); - case EefPackage.EEF_TEXT_CONDITIONAL_STYLE: - return createEEFTextConditionalStyle(); - case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION: - return createEEFTextStyleCustomization(); - case EefPackage.EEF_CHECKBOX_STYLE: - return createEEFCheckboxStyle(); - case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE: - return createEEFCheckboxConditionalStyle(); - case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION: - return createEEFCheckboxStyleCustomization(); - case EefPackage.EEF_LABEL_STYLE: - return createEEFLabelStyle(); - case EefPackage.EEF_LABEL_CONDITIONAL_STYLE: - return createEEFLabelConditionalStyle(); - case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION: - return createEEFLabelStyleCustomization(); - case EefPackage.EEF_RADIO_STYLE: - return createEEFRadioStyle(); - case EefPackage.EEF_RADIO_CONDITIONAL_STYLE: - return createEEFRadioConditionalStyle(); - case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION: - return createEEFRadioStyleCustomization(); - case EefPackage.EEF_LINK_STYLE: - return createEEFLinkStyle(); - case EefPackage.EEF_LINK_CONDITIONAL_STYLE: - return createEEFLinkConditionalStyle(); - case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION: - return createEEFLinkStyleCustomization(); - case EefPackage.EEF_SELECT_STYLE: - return createEEFSelectStyle(); - case EefPackage.EEF_SELECT_CONDITIONAL_STYLE: - return createEEFSelectConditionalStyle(); - case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION: - return createEEFSelectStyleCustomization(); - case EefPackage.EEF_TREE_STYLE: - return createEEFTreeStyle(); - case EefPackage.EEF_TREE_CONDITIONAL_STYLE: - return createEEFTreeConditionalStyle(); - case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION: - return createEEFTreeStyleCustomization(); - case EefPackage.EEF_TABLE_STYLE: - return createEEFTableStyle(); - case EefPackage.EEF_TABLE_CONDITIONAL_STYLE: - return createEEFTableConditionalStyle(); - case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION: - return createEEFTableStyleCustomization(); - case EefPackage.EEF_LINE_STYLE: - return createEEFLineStyle(); - case EefPackage.EEF_LINE_CONDITIONAL_STYLE: - return createEEFLineConditionalStyle(); - case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION: - return createEEFLineStyleCustomization(); - case EefPackage.EEF_COLUMN_STYLE: - return createEEFColumnStyle(); - case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE: - return createEEFColumnConditionalStyle(); - case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION: - return createEEFColumnStyleCustomization(); - case EefPackage.EEF_QUICK_FIX: - return createEEFQuickFix(); - case EefPackage.EEF_VALIDATION: - return createEEFValidation(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ } } /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case EefPackage.TYPE_NAME: - return createTypeNameFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case EefPackage.TYPE_NAME: - return convertTypeNameToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * - * + * + * * @generated */ @Override @@ -223,8 +88,8 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { } /** - * - * + * + * * @generated */ @Override @@ -234,8 +99,8 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { } /** - * - * + * + * * @generated */ @Override @@ -245,8 +110,8 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { } /** - * - * + * + * * @generated */ @Override @@ -256,52 +121,8 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { } /** - * - * - * @generated - */ - @Override - public EEFJavaExtensionDescription createEEFJavaExtensionDescription() { - EEFJavaExtensionDescriptionImpl eefJavaExtensionDescription = new EEFJavaExtensionDescriptionImpl(); - return eefJavaExtensionDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFInterpretedTableStructureDescription createEEFInterpretedTableStructureDescription() { - EEFInterpretedTableStructureDescriptionImpl eefInterpretedTableStructureDescription = new EEFInterpretedTableStructureDescriptionImpl(); - return eefInterpretedTableStructureDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFAdapterFactoryTreeStructureDescription createEEFAdapterFactoryTreeStructureDescription() { - EEFAdapterFactoryTreeStructureDescriptionImpl eefAdapterFactoryTreeStructureDescription = new EEFAdapterFactoryTreeStructureDescriptionImpl(); - return eefAdapterFactoryTreeStructureDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFInterpretedTreeStructureDescription createEEFInterpretedTreeStructureDescription() { - EEFInterpretedTreeStructureDescriptionImpl eefInterpretedTreeStructureDescription = new EEFInterpretedTreeStructureDescriptionImpl(); - return eefInterpretedTreeStructureDescription; - } - - /** - * - * + * + * * @generated */ @Override @@ -311,554 +132,8 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { } /** - * - * - * @generated - */ - @Override - public EEFCheckboxDescription createEEFCheckboxDescription() { - EEFCheckboxDescriptionImpl eefCheckboxDescription = new EEFCheckboxDescriptionImpl(); - return eefCheckboxDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFSelectDescription createEEFSelectDescription() { - EEFSelectDescriptionImpl eefSelectDescription = new EEFSelectDescriptionImpl(); - return eefSelectDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFLabelDescription createEEFLabelDescription() { - EEFLabelDescriptionImpl eefLabelDescription = new EEFLabelDescriptionImpl(); - return eefLabelDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFRadioDescription createEEFRadioDescription() { - EEFRadioDescriptionImpl eefRadioDescription = new EEFRadioDescriptionImpl(); - return eefRadioDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFTreeDialogSelectDescription createEEFTreeDialogSelectDescription() { - EEFTreeDialogSelectDescriptionImpl eefTreeDialogSelectDescription = new EEFTreeDialogSelectDescriptionImpl(); - return eefTreeDialogSelectDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFLinkDescription createEEFLinkDescription() { - EEFLinkDescriptionImpl eefLinkDescription = new EEFLinkDescriptionImpl(); - return eefLinkDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFImageDescription createEEFImageDescription() { - EEFImageDescriptionImpl eefImageDescription = new EEFImageDescriptionImpl(); - return eefImageDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFTreeDescription createEEFTreeDescription() { - EEFTreeDescriptionImpl eefTreeDescription = new EEFTreeDescriptionImpl(); - return eefTreeDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFImagePickerDescription createEEFImagePickerDescription() { - EEFImagePickerDescriptionImpl eefImagePickerDescription = new EEFImagePickerDescriptionImpl(); - return eefImagePickerDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFTableDescription createEEFTableDescription() { - EEFTableDescriptionImpl eefTableDescription = new EEFTableDescriptionImpl(); - return eefTableDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFColumnDescription createEEFColumnDescription() { - EEFColumnDescriptionImpl eefColumnDescription = new EEFColumnDescriptionImpl(); - return eefColumnDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFLineDescription createEEFLineDescription() { - EEFLineDescriptionImpl eefLineDescription = new EEFLineDescriptionImpl(); - return eefLineDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFAdapterFactoryTableStructureDescription createEEFAdapterFactoryTableStructureDescription() { - EEFAdapterFactoryTableStructureDescriptionImpl eefAdapterFactoryTableStructureDescription = new EEFAdapterFactoryTableStructureDescriptionImpl(); - return eefAdapterFactoryTableStructureDescription; - } - - /** - * - * - * @generated - */ - @Override - public EEFGroupStyle createEEFGroupStyle() { - EEFGroupStyleImpl eefGroupStyle = new EEFGroupStyleImpl(); - return eefGroupStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFGroupConditionalStyle createEEFGroupConditionalStyle() { - EEFGroupConditionalStyleImpl eefGroupConditionalStyle = new EEFGroupConditionalStyleImpl(); - return eefGroupConditionalStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFGroupStyleCustomization createEEFGroupStyleCustomization() { - EEFGroupStyleCustomizationImpl eefGroupStyleCustomization = new EEFGroupStyleCustomizationImpl(); - return eefGroupStyleCustomization; - } - - /** - * - * - * @generated - */ - @Override - public EEFTextStyle createEEFTextStyle() { - EEFTextStyleImpl eefTextStyle = new EEFTextStyleImpl(); - return eefTextStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFTextConditionalStyle createEEFTextConditionalStyle() { - EEFTextConditionalStyleImpl eefTextConditionalStyle = new EEFTextConditionalStyleImpl(); - return eefTextConditionalStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFTextStyleCustomization createEEFTextStyleCustomization() { - EEFTextStyleCustomizationImpl eefTextStyleCustomization = new EEFTextStyleCustomizationImpl(); - return eefTextStyleCustomization; - } - - /** - * - * - * @generated - */ - @Override - public EEFCheckboxStyle createEEFCheckboxStyle() { - EEFCheckboxStyleImpl eefCheckboxStyle = new EEFCheckboxStyleImpl(); - return eefCheckboxStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFCheckboxConditionalStyle createEEFCheckboxConditionalStyle() { - EEFCheckboxConditionalStyleImpl eefCheckboxConditionalStyle = new EEFCheckboxConditionalStyleImpl(); - return eefCheckboxConditionalStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFCheckboxStyleCustomization createEEFCheckboxStyleCustomization() { - EEFCheckboxStyleCustomizationImpl eefCheckboxStyleCustomization = new EEFCheckboxStyleCustomizationImpl(); - return eefCheckboxStyleCustomization; - } - - /** - * - * - * @generated - */ - @Override - public EEFLabelStyle createEEFLabelStyle() { - EEFLabelStyleImpl eefLabelStyle = new EEFLabelStyleImpl(); - return eefLabelStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFLabelConditionalStyle createEEFLabelConditionalStyle() { - EEFLabelConditionalStyleImpl eefLabelConditionalStyle = new EEFLabelConditionalStyleImpl(); - return eefLabelConditionalStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFLabelStyleCustomization createEEFLabelStyleCustomization() { - EEFLabelStyleCustomizationImpl eefLabelStyleCustomization = new EEFLabelStyleCustomizationImpl(); - return eefLabelStyleCustomization; - } - - /** - * - * - * @generated - */ - @Override - public EEFRadioStyle createEEFRadioStyle() { - EEFRadioStyleImpl eefRadioStyle = new EEFRadioStyleImpl(); - return eefRadioStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFRadioConditionalStyle createEEFRadioConditionalStyle() { - EEFRadioConditionalStyleImpl eefRadioConditionalStyle = new EEFRadioConditionalStyleImpl(); - return eefRadioConditionalStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFRadioStyleCustomization createEEFRadioStyleCustomization() { - EEFRadioStyleCustomizationImpl eefRadioStyleCustomization = new EEFRadioStyleCustomizationImpl(); - return eefRadioStyleCustomization; - } - - /** - * - * - * @generated - */ - @Override - public EEFLinkStyle createEEFLinkStyle() { - EEFLinkStyleImpl eefLinkStyle = new EEFLinkStyleImpl(); - return eefLinkStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFLinkConditionalStyle createEEFLinkConditionalStyle() { - EEFLinkConditionalStyleImpl eefLinkConditionalStyle = new EEFLinkConditionalStyleImpl(); - return eefLinkConditionalStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFLinkStyleCustomization createEEFLinkStyleCustomization() { - EEFLinkStyleCustomizationImpl eefLinkStyleCustomization = new EEFLinkStyleCustomizationImpl(); - return eefLinkStyleCustomization; - } - - /** - * - * - * @generated - */ - @Override - public EEFSelectStyle createEEFSelectStyle() { - EEFSelectStyleImpl eefSelectStyle = new EEFSelectStyleImpl(); - return eefSelectStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFSelectConditionalStyle createEEFSelectConditionalStyle() { - EEFSelectConditionalStyleImpl eefSelectConditionalStyle = new EEFSelectConditionalStyleImpl(); - return eefSelectConditionalStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFSelectStyleCustomization createEEFSelectStyleCustomization() { - EEFSelectStyleCustomizationImpl eefSelectStyleCustomization = new EEFSelectStyleCustomizationImpl(); - return eefSelectStyleCustomization; - } - - /** - * - * - * @generated - */ - @Override - public EEFTreeStyle createEEFTreeStyle() { - EEFTreeStyleImpl eefTreeStyle = new EEFTreeStyleImpl(); - return eefTreeStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFTreeConditionalStyle createEEFTreeConditionalStyle() { - EEFTreeConditionalStyleImpl eefTreeConditionalStyle = new EEFTreeConditionalStyleImpl(); - return eefTreeConditionalStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFTreeStyleCustomization createEEFTreeStyleCustomization() { - EEFTreeStyleCustomizationImpl eefTreeStyleCustomization = new EEFTreeStyleCustomizationImpl(); - return eefTreeStyleCustomization; - } - - /** - * - * - * @generated - */ - @Override - public EEFTableStyle createEEFTableStyle() { - EEFTableStyleImpl eefTableStyle = new EEFTableStyleImpl(); - return eefTableStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFTableConditionalStyle createEEFTableConditionalStyle() { - EEFTableConditionalStyleImpl eefTableConditionalStyle = new EEFTableConditionalStyleImpl(); - return eefTableConditionalStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFTableStyleCustomization createEEFTableStyleCustomization() { - EEFTableStyleCustomizationImpl eefTableStyleCustomization = new EEFTableStyleCustomizationImpl(); - return eefTableStyleCustomization; - } - - /** - * - * - * @generated - */ - @Override - public EEFLineStyle createEEFLineStyle() { - EEFLineStyleImpl eefLineStyle = new EEFLineStyleImpl(); - return eefLineStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFLineConditionalStyle createEEFLineConditionalStyle() { - EEFLineConditionalStyleImpl eefLineConditionalStyle = new EEFLineConditionalStyleImpl(); - return eefLineConditionalStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFLineStyleCustomization createEEFLineStyleCustomization() { - EEFLineStyleCustomizationImpl eefLineStyleCustomization = new EEFLineStyleCustomizationImpl(); - return eefLineStyleCustomization; - } - - /** - * - * - * @generated - */ - @Override - public EEFColumnStyle createEEFColumnStyle() { - EEFColumnStyleImpl eefColumnStyle = new EEFColumnStyleImpl(); - return eefColumnStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFColumnConditionalStyle createEEFColumnConditionalStyle() { - EEFColumnConditionalStyleImpl eefColumnConditionalStyle = new EEFColumnConditionalStyleImpl(); - return eefColumnConditionalStyle; - } - - /** - * - * - * @generated - */ - @Override - public EEFColumnStyleCustomization createEEFColumnStyleCustomization() { - EEFColumnStyleCustomizationImpl eefColumnStyleCustomization = new EEFColumnStyleCustomizationImpl(); - return eefColumnStyleCustomization; - } - - /** - * - * - * @generated - */ - @Override - public EEFQuickFix createEEFQuickFix() { - EEFQuickFixImpl eefQuickFix = new EEFQuickFixImpl(); - return eefQuickFix; - } - - /** - * - * - * @generated - */ - @Override - public EEFValidation createEEFValidation() { - EEFValidationImpl eefValidation = new EEFValidationImpl(); - return eefValidation; - } - - /** - * - * - * @generated - */ - public String createTypeNameFromString(EDataType eDataType, String initialValue) { - return (String) super.createFromString(eDataType, initialValue); - } - - /** - * - * - * @generated - */ - public String convertTypeNameToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * - * + * + * * @generated */ @Override @@ -867,8 +142,8 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { } /** - * - * + * + * * @deprecated * @generated */ @@ -877,4 +152,4 @@ public class EefFactoryImpl extends EFactoryImpl implements EefFactory { return EefPackage.eINSTANCE; } -} //EefFactoryImpl +} // EefFactoryImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java index 718a807ee..835c4877f 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/impl/EefPackageImpl.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -8,2833 +8,387 @@ */ package org.eclipse.eef.impl; -import org.eclipse.eef.EEFAdapterFactoryTableStructureDescription; -import org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription; -import org.eclipse.eef.EEFCellWidgetDescription; -import org.eclipse.eef.EEFCheckboxConditionalStyle; -import org.eclipse.eef.EEFCheckboxDescription; -import org.eclipse.eef.EEFCheckboxStyle; -import org.eclipse.eef.EEFCheckboxStyleCustomization; -import org.eclipse.eef.EEFColumnConditionalStyle; -import org.eclipse.eef.EEFColumnDescription; -import org.eclipse.eef.EEFColumnStyle; -import org.eclipse.eef.EEFColumnStyleCustomization; -import org.eclipse.eef.EEFConditionalStyle; import org.eclipse.eef.EEFContainerDescription; -import org.eclipse.eef.EEFGroupConditionalStyle; import org.eclipse.eef.EEFGroupDescription; -import org.eclipse.eef.EEFGroupStyle; -import org.eclipse.eef.EEFGroupStyleCustomization; -import org.eclipse.eef.EEFImageDescription; -import org.eclipse.eef.EEFImagePickerDescription; -import org.eclipse.eef.EEFInterpretedTableStructureDescription; -import org.eclipse.eef.EEFInterpretedTreeStructureDescription; -import org.eclipse.eef.EEFJavaExtensionDescription; -import org.eclipse.eef.EEFLabelConditionalStyle; -import org.eclipse.eef.EEFLabelDescription; -import org.eclipse.eef.EEFLabelStyle; -import org.eclipse.eef.EEFLabelStyleCustomization; -import org.eclipse.eef.EEFLineConditionalStyle; -import org.eclipse.eef.EEFLineDescription; -import org.eclipse.eef.EEFLineStyle; -import org.eclipse.eef.EEFLineStyleCustomization; -import org.eclipse.eef.EEFLinkConditionalStyle; -import org.eclipse.eef.EEFLinkDescription; -import org.eclipse.eef.EEFLinkStyle; -import org.eclipse.eef.EEFLinkStyleCustomization; import org.eclipse.eef.EEFPageDescription; -import org.eclipse.eef.EEFQuickFix; -import org.eclipse.eef.EEFRadioConditionalStyle; -import org.eclipse.eef.EEFRadioDescription; -import org.eclipse.eef.EEFRadioStyle; -import org.eclipse.eef.EEFRadioStyleCustomization; -import org.eclipse.eef.EEFSelectConditionalStyle; -import org.eclipse.eef.EEFSelectDescription; -import org.eclipse.eef.EEFSelectStyle; -import org.eclipse.eef.EEFSelectStyleCustomization; -import org.eclipse.eef.EEFStyle; -import org.eclipse.eef.EEFStyleCustomization; -import org.eclipse.eef.EEFTableConditionalStyle; -import org.eclipse.eef.EEFTableDescription; -import org.eclipse.eef.EEFTableStructureDescription; -import org.eclipse.eef.EEFTableStyle; -import org.eclipse.eef.EEFTableStyleCustomization; -import org.eclipse.eef.EEFTextConditionalStyle; import org.eclipse.eef.EEFTextDescription; -import org.eclipse.eef.EEFTextStyle; -import org.eclipse.eef.EEFTextStyleCustomization; -import org.eclipse.eef.EEFTreeConditionalStyle; -import org.eclipse.eef.EEFTreeDescription; -import org.eclipse.eef.EEFTreeDialogSelectDescription; -import org.eclipse.eef.EEFTreeStructureDescription; -import org.eclipse.eef.EEFTreeStyle; -import org.eclipse.eef.EEFTreeStyleCustomization; -import org.eclipse.eef.EEFValidation; import org.eclipse.eef.EEFViewDescription; import org.eclipse.eef.EEFWidgetDescription; import org.eclipse.eef.EefFactory; import org.eclipse.eef.EefPackage; +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EcorePackage; +import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.sirius.expression.ExpressionPackage; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class EefPackageImpl extends EPackageImpl implements EefPackage { - /** - * - * - * @generated - */ - private EClass eefViewDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefPageDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefGroupDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefContainerDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefWidgetDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefJavaExtensionDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTreeStructureDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefInterpretedTableStructureDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefCellWidgetDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefAdapterFactoryTreeStructureDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefInterpretedTreeStructureDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTextDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefCheckboxDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefSelectDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefLabelDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefRadioDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTreeDialogSelectDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefLinkDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefImageDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTreeDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefImagePickerDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTableDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefColumnDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefLineDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTableStructureDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefAdapterFactoryTableStructureDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass eefStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefConditionalStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefStyleCustomizationEClass = null; - - /** - * - * - * @generated - */ - private EClass eefGroupStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefGroupConditionalStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefGroupStyleCustomizationEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTextStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTextConditionalStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTextStyleCustomizationEClass = null; - - /** - * - * - * @generated - */ - private EClass eefCheckboxStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefCheckboxConditionalStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefCheckboxStyleCustomizationEClass = null; - - /** - * - * - * @generated - */ - private EClass eefLabelStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefLabelConditionalStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefLabelStyleCustomizationEClass = null; - - /** - * - * - * @generated - */ - private EClass eefRadioStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefRadioConditionalStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefRadioStyleCustomizationEClass = null; - - /** - * - * - * @generated - */ - private EClass eefLinkStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefLinkConditionalStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefLinkStyleCustomizationEClass = null; - - /** - * - * - * @generated - */ - private EClass eefSelectStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefSelectConditionalStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefSelectStyleCustomizationEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTreeStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTreeConditionalStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTreeStyleCustomizationEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTableStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTableConditionalStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefTableStyleCustomizationEClass = null; - - /** - * - * - * @generated - */ - private EClass eefLineStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefLineConditionalStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefLineStyleCustomizationEClass = null; - - /** - * - * - * @generated - */ - private EClass eefColumnStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefColumnConditionalStyleEClass = null; - - /** - * - * - * @generated - */ - private EClass eefColumnStyleCustomizationEClass = null; - - /** - * - * - * @generated - */ - private EClass eefQuickFixEClass = null; - - /** - * - * - * @generated - */ - private EClass eefValidationEClass = null; - - /** - * - * - * @generated - */ - private EDataType typeNameEDataType = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

                Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.eef.EefPackage#eNS_URI - * @see #init() - * @generated - */ - private EefPackageImpl() { - super(eNS_URI, EefFactory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

                This method is used to initialize {@link EefPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static EefPackage init() { - if (isInited) - return (EefPackage) EPackage.Registry.INSTANCE.getEPackage(EefPackage.eNS_URI); - - // Obtain or create and register package - EefPackageImpl theEefPackage = (EefPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EefPackageImpl - ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EefPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - ExpressionPackage.eINSTANCE.eClass(); - - // Create package meta-data objects - theEefPackage.createPackageContents(); - - // Initialize created meta-data - theEefPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theEefPackage.freeze(); - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(EefPackage.eNS_URI, theEefPackage); - return theEefPackage; - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFViewDescription() { - return eefViewDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFViewDescription_Identifier() { - return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFViewDescription_PreconditionExpression() { - return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFViewDescription_UserDefinedVariables() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFViewDescription_LabelExpression() { - return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFViewDescription_EPackageNsUris() { - return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFViewDescription_Groups() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFViewDescription_Pages() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(6); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFViewDescription_JavaExtensions() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(7); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFViewDescription_ImportedViews() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(8); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFViewDescription_TreeStructures() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(9); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFViewDescription_TableStructures() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(10); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFViewDescription_StyleCustomizations() { - return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(11); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFPageDescription() { - return eefPageDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFPageDescription_Identifier() { - return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFPageDescription_PreconditionExpression() { - return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFPageDescription_UserDefinedVariables() { - return (EReference) eefPageDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFPageDescription_LabelExpression() { - return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFPageDescription_DomainClass() { - return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFPageDescription_SemanticCandidateExpression() { - return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFPageDescription_Groups() { - return (EReference) eefPageDescriptionEClass.getEStructuralFeatures().get(6); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFPageDescription_ExtendedPage() { - return (EReference) eefPageDescriptionEClass.getEStructuralFeatures().get(7); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFGroupDescription() { - return eefGroupDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFGroupDescription_Identifier() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFGroupDescription_PreconditionExpression() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFGroupDescription_UserDefinedVariables() { - return (EReference) eefGroupDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFGroupDescription_LabelExpression() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFGroupDescription_DomainClass() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFGroupDescription_SemanticCandidateExpression() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFGroupDescription_Container() { - return (EReference) eefGroupDescriptionEClass.getEStructuralFeatures().get(6); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFGroupDescription_CollapsibleExpression() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(7); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFGroupDescription_CollapsedByDefaultExpression() { - return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(8); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFGroupDescription_Validation() { - return (EReference) eefGroupDescriptionEClass.getEStructuralFeatures().get(9); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFContainerDescription() { - return eefContainerDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFContainerDescription_Identifier() { - return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFContainerDescription_PreconditionExpression() { - return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFContainerDescription_UserDefinedVariables() { - return (EReference) eefContainerDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFContainerDescription_SemanticCandidateExpression() { - return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFContainerDescription_DomainClass() { - return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFContainerDescription_LayoutColumnCount() { - return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFContainerDescription_Containers() { - return (EReference) eefContainerDescriptionEClass.getEStructuralFeatures().get(6); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFContainerDescription_Widgets() { - return (EReference) eefContainerDescriptionEClass.getEStructuralFeatures().get(7); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFWidgetDescription() { - return eefWidgetDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFWidgetDescription_Identifier() { - return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFWidgetDescription_PreconditionExpression() { - return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFWidgetDescription_UserDefinedVariables() { - return (EReference) eefWidgetDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFWidgetDescription_LabelExpression() { - return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFWidgetDescription_LabelStyle() { - return (EReference) eefWidgetDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFWidgetDescription_TooltipExpression() { - return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFWidgetDescription_HelpExpression() { - return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(6); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFWidgetDescription_Validation() { - return (EReference) eefWidgetDescriptionEClass.getEStructuralFeatures().get(7); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFJavaExtensionDescription() { - return eefJavaExtensionDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFJavaExtensionDescription_QualifiedName() { - return (EAttribute) eefJavaExtensionDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFTreeStructureDescription() { - return eefTreeStructureDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTreeStructureDescription_Identifier() { - return (EAttribute) eefTreeStructureDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTreeStructureDescription_Multiple() { - return (EAttribute) eefTreeStructureDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFInterpretedTableStructureDescription() { - return eefInterpretedTableStructureDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFInterpretedTableStructureDescription_Columns() { - return (EReference) eefInterpretedTableStructureDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFInterpretedTableStructureDescription_Line() { - return (EReference) eefInterpretedTableStructureDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFCellWidgetDescription() { - return eefCellWidgetDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFAdapterFactoryTreeStructureDescription() { - return eefAdapterFactoryTreeStructureDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider() { - return (EAttribute) eefAdapterFactoryTreeStructureDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFInterpretedTreeStructureDescription() { - return eefInterpretedTreeStructureDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFInterpretedTreeStructureDescription_RootsExpression() { - return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFInterpretedTreeStructureDescription_ChildrenExpression() { - return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression() { - return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression() { - return (EAttribute) eefInterpretedTreeStructureDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFTextDescription() { - return eefTextDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTextDescription_ValueExpression() { - return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTextDescription_EditExpression() { - return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTextDescription_ReadOnlyExpression() { - return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTextDescription_ContentAssistExpression() { - return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTextDescription_PlaceholderExpression() { - return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTextDescription_LineCount() { - return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFTextDescription_Style() { - return (EReference) eefTextDescriptionEClass.getEStructuralFeatures().get(6); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFTextDescription_ConditionalStyles() { - return (EReference) eefTextDescriptionEClass.getEStructuralFeatures().get(7); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFCheckboxDescription() { - return eefCheckboxDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFCheckboxDescription_ValueExpression() { - return (EAttribute) eefCheckboxDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFCheckboxDescription_EditExpression() { - return (EAttribute) eefCheckboxDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFSelectDescription() { - return eefSelectDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFSelectDescription_ValueExpression() { - return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFSelectDescription_EditExpression() { - return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFSelectDescription_CandidatesExpression() { - return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFSelectDescription_Multiple() { - return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFSelectDescription_CandidateDisplayExpression() { - return (EAttribute) eefSelectDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFLabelDescription() { - return eefLabelDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLabelDescription_ValueExpression() { - return (EAttribute) eefLabelDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFRadioDescription() { - return eefRadioDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFRadioDescription_ValueExpression() { - return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFRadioDescription_EditExpression() { - return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFRadioDescription_CandidatesExpression() { - return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFRadioDescription_CandidateDisplayExpression() { - return (EAttribute) eefRadioDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFTreeDialogSelectDescription() { - return eefTreeDialogSelectDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTreeDialogSelectDescription_SemanticCandidateExpression() { - return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTreeDialogSelectDescription_DefaultFilter() { - return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTreeDialogSelectDescription_DomainClass() { - return (EAttribute) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFTreeDialogSelectDescription_Tree() { - return (EReference) eefTreeDialogSelectDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFLinkDescription() { - return eefLinkDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLinkDescription_OnClickExpression() { - return (EAttribute) eefLinkDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFImageDescription() { - return eefImageDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFImageDescription_ValueExpression() { - return (EAttribute) eefImageDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFTreeDescription() { - return eefTreeDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTreeDescription_ValueExpression() { - return (EAttribute) eefTreeDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFTreeDescription_TreeStructure() { - return (EReference) eefTreeDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTreeDescription_EditExpression() { - return (EAttribute) eefTreeDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFImagePickerDescription() { - return eefImagePickerDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFImagePickerDescription_ValueExpression() { - return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFImagePickerDescription_EditExpression() { - return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFImagePickerDescription_CandidatesExpression() { - return (EAttribute) eefImagePickerDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFTableDescription() { - return eefTableDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTableDescription_ValueExpression() { - return (EAttribute) eefTableDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTableDescription_EditExpression() { - return (EAttribute) eefTableDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFTableDescription_TableStructure() { - return (EReference) eefTableDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFColumnDescription() { - return eefColumnDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFColumnDescription_Width() { - return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFColumnDescription_HeaderExpression() { - return (EAttribute) eefColumnDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFColumnDescription_CellWidget() { - return (EReference) eefColumnDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFLineDescription() { - return eefLineDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLineDescription_HeaderExpression() { - return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLineDescription_SemanticCandidatesExpression() { - return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLineDescription_DomainClass() { - return (EAttribute) eefLineDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFLineDescription_SubLines() { - return (EReference) eefLineDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFTableStructureDescription() { - return eefTableStructureDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTableStructureDescription_Multiple() { - return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTableStructureDescription_Identifier() { - return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTableStructureDescription_AddExpression() { - return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTableStructureDescription_RemoveExpression() { - return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTableStructureDescription_UpExpression() { - return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTableStructureDescription_DownExpression() { - return (EAttribute) eefTableStructureDescriptionEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFAdapterFactoryTableStructureDescription() { - return eefAdapterFactoryTableStructureDescriptionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider() { - return (EAttribute) eefAdapterFactoryTableStructureDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFStyle() { - return eefStyleEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFStyle_FontExpression() { - return (EAttribute) eefStyleEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFConditionalStyle() { - return eefConditionalStyleEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFConditionalStyle_ConditionalExpression() { - return (EAttribute) eefConditionalStyleEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFStyleCustomization() { - return eefStyleCustomizationEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFGroupStyle() { - return eefGroupStyleEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFGroupStyle_ForegroundColorExpression() { - return (EAttribute) eefGroupStyleEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFGroupConditionalStyle() { - return eefGroupConditionalStyleEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFGroupConditionalStyle_Style() { - return (EReference) eefGroupConditionalStyleEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFGroupStyleCustomization() { - return eefGroupStyleCustomizationEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFGroupStyleCustomization_Style() { - return (EReference) eefGroupStyleCustomizationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFTextStyle() { - return eefTextStyleEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTextStyle_BackgroundColorExpression() { - return (EAttribute) eefTextStyleEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFTextStyle_ForegroundColorExpression() { - return (EAttribute) eefTextStyleEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFTextConditionalStyle() { - return eefTextConditionalStyleEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFTextConditionalStyle_Style() { - return (EReference) eefTextConditionalStyleEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFTextStyleCustomization() { - return eefTextStyleCustomizationEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFTextStyleCustomization_Style() { - return (EReference) eefTextStyleCustomizationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFCheckboxStyle() { - return eefCheckboxStyleEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFCheckboxStyle_BackgroundColorExpression() { - return (EAttribute) eefCheckboxStyleEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFCheckboxStyle_ForegroundColorExpression() { - return (EAttribute) eefCheckboxStyleEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFCheckboxConditionalStyle() { - return eefCheckboxConditionalStyleEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFCheckboxConditionalStyle_Style() { - return (EReference) eefCheckboxConditionalStyleEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFCheckboxStyleCustomization() { - return eefCheckboxStyleCustomizationEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFCheckboxStyleCustomization_Style() { - return (EReference) eefCheckboxStyleCustomizationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFLabelStyle() { - return eefLabelStyleEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLabelStyle_BackgroundColorExpression() { - return (EAttribute) eefLabelStyleEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLabelStyle_ForegroundColorExpression() { - return (EAttribute) eefLabelStyleEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFLabelConditionalStyle() { - return eefLabelConditionalStyleEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFLabelConditionalStyle_Style() { - return (EReference) eefLabelConditionalStyleEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFLabelStyleCustomization() { - return eefLabelStyleCustomizationEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFLabelStyleCustomization_Style() { - return (EReference) eefLabelStyleCustomizationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFRadioStyle() { - return eefRadioStyleEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFRadioStyle_BackgroundColorExpression() { - return (EAttribute) eefRadioStyleEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFRadioStyle_ForegroundColorExpression() { - return (EAttribute) eefRadioStyleEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFRadioConditionalStyle() { - return eefRadioConditionalStyleEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFRadioConditionalStyle_Style() { - return (EReference) eefRadioConditionalStyleEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFRadioStyleCustomization() { - return eefRadioStyleCustomizationEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFRadioStyleCustomization_Style() { - return (EReference) eefRadioStyleCustomizationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFLinkStyle() { - return eefLinkStyleEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLinkStyle_BackgroundColorExpression() { - return (EAttribute) eefLinkStyleEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLinkStyle_ForegroundColorExpression() { - return (EAttribute) eefLinkStyleEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLinkStyle_BackgroundImageExpression() { - return (EAttribute) eefLinkStyleEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFLinkConditionalStyle() { - return eefLinkConditionalStyleEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFLinkConditionalStyle_Style() { - return (EReference) eefLinkConditionalStyleEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFLinkStyleCustomization() { - return eefLinkStyleCustomizationEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getEEFLinkStyleCustomization_Style() { - return (EReference) eefLinkStyleCustomizationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEEFSelectStyle() { - return eefSelectStyleEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFSelectStyle_BackgroundColorExpression() { - return (EAttribute) eefSelectStyleEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFSelectStyle_ForegroundColorExpression() { - return (EAttribute) eefSelectStyleEClass.getEStructuralFeatures().get(1); - } - +/** + * An implementation of the model Package. + * + * @generated + */ +public class EefPackageImpl extends EPackageImpl implements EefPackage { /** - * - * + * + * * @generated */ - @Override - public EClass getEEFSelectConditionalStyle() { - return eefSelectConditionalStyleEClass; - } + private EClass eefViewDescriptionEClass = null; /** - * - * + * + * * @generated */ - @Override - public EReference getEEFSelectConditionalStyle_Style() { - return (EReference) eefSelectConditionalStyleEClass.getEStructuralFeatures().get(0); - } + private EClass eefPageDescriptionEClass = null; /** - * - * + * + * * @generated */ - @Override - public EClass getEEFSelectStyleCustomization() { - return eefSelectStyleCustomizationEClass; - } + private EClass eefGroupDescriptionEClass = null; /** - * - * + * + * * @generated */ - @Override - public EReference getEEFSelectStyleCustomization_Style() { - return (EReference) eefSelectStyleCustomizationEClass.getEStructuralFeatures().get(0); - } + private EClass eefContainerDescriptionEClass = null; /** - * - * + * + * * @generated */ - @Override - public EClass getEEFTreeStyle() { - return eefTreeStyleEClass; - } + private EClass eefWidgetDescriptionEClass = null; /** - * - * + * + * * @generated */ - @Override - public EClass getEEFTreeConditionalStyle() { - return eefTreeConditionalStyleEClass; - } + private EClass eefTextDescriptionEClass = null; /** - * - * + * Creates an instance of the model Package, registered with {@link org.eclipse.emf.ecore.EPackage.Registry + * EPackage.Registry} by the package package URI value. + *

                + * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also + * performs initialization of the package, or returns the registered package, if one already exists. + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.eef.EefPackage#eNS_URI + * @see #init() * @generated */ - @Override - public EReference getEEFTreeConditionalStyle_Style() { - return (EReference) eefTreeConditionalStyleEClass.getEStructuralFeatures().get(0); + private EefPackageImpl() { + super(EefPackage.eNS_URI, EefFactory.eINSTANCE); } /** - * - * + * + * * @generated */ - @Override - public EClass getEEFTreeStyleCustomization() { - return eefTreeStyleCustomizationEClass; - } + private static boolean isInited = false; /** - * + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

                + * This method is used to initialize {@link EefPackage#eINSTANCE} when that field is accessed. Clients should not + * invoke it directly. Instead, they should simply access that field to obtain the package. * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() * @generated */ - @Override - public EReference getEEFTreeStyleCustomization_Style() { - return (EReference) eefTreeStyleCustomizationEClass.getEStructuralFeatures().get(0); - } + public static EefPackage init() { + if (EefPackageImpl.isInited) { + return (EefPackage) EPackage.Registry.INSTANCE.getEPackage(EefPackage.eNS_URI); + } - /** - * - * - * @generated - */ - @Override - public EClass getEEFTableStyle() { - return eefTableStyleEClass; - } + // Obtain or create and register package + EefPackageImpl theEefPackage = (EefPackageImpl) (EPackage.Registry.INSTANCE.get(EefPackage.eNS_URI) instanceof EefPackageImpl + ? EPackage.Registry.INSTANCE.get(EefPackage.eNS_URI) : new EefPackageImpl()); - /** - * - * - * @generated - */ - @Override - public EClass getEEFTableConditionalStyle() { - return eefTableConditionalStyleEClass; - } + EefPackageImpl.isInited = true; - /** - * - * - * @generated - */ - @Override - public EReference getEEFTableConditionalStyle_Style() { - return (EReference) eefTableConditionalStyleEClass.getEStructuralFeatures().get(0); - } + // Initialize simple dependencies + EcorePackage.eINSTANCE.eClass(); - /** - * - * - * @generated - */ - @Override - public EClass getEEFTableStyleCustomization() { - return eefTableStyleCustomizationEClass; - } + // Create package meta-data objects + theEefPackage.createPackageContents(); - /** - * - * - * @generated - */ - @Override - public EReference getEEFTableStyleCustomization_Style() { - return (EReference) eefTableStyleCustomizationEClass.getEStructuralFeatures().get(0); - } + // Initialize created meta-data + theEefPackage.initializePackageContents(); - /** - * - * - * @generated - */ - @Override - public EClass getEEFLineStyle() { - return eefLineStyleEClass; - } + // Mark meta-data to indicate it can't be changed + theEefPackage.freeze(); - /** - * - * - * @generated - */ - @Override - public EAttribute getEEFLineStyle_BackgroundColorExpression() { - return (EAttribute) eefLineStyleEClass.getEStructuralFeatures().get(0); + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(EefPackage.eNS_URI, theEefPackage); + return theEefPackage; } /** - * - * + * + * * @generated */ @Override - public EAttribute getEEFLineStyle_ForegroundColorExpression() { - return (EAttribute) eefLineStyleEClass.getEStructuralFeatures().get(1); + public EClass getEEFViewDescription() { + return eefViewDescriptionEClass; } /** - * - * + * + * * @generated */ @Override - public EAttribute getEEFLineStyle_HeaderBackgroundColorExpression() { - return (EAttribute) eefLineStyleEClass.getEStructuralFeatures().get(2); + public EAttribute getEEFViewDescription_Identifier() { + return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(0); } /** - * - * + * + * * @generated */ @Override - public EAttribute getEEFLineStyle_HeaderForegroundColorExpression() { - return (EAttribute) eefLineStyleEClass.getEStructuralFeatures().get(3); + public EAttribute getEEFViewDescription_LabelExpression() { + return (EAttribute) eefViewDescriptionEClass.getEStructuralFeatures().get(1); } /** - * - * + * + * * @generated */ @Override - public EClass getEEFLineConditionalStyle() { - return eefLineConditionalStyleEClass; + public EReference getEEFViewDescription_Groups() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(2); } /** - * - * + * + * * @generated */ @Override - public EReference getEEFLineConditionalStyle_Style() { - return (EReference) eefLineConditionalStyleEClass.getEStructuralFeatures().get(0); + public EReference getEEFViewDescription_Pages() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(3); } /** - * - * + * + * * @generated */ @Override - public EClass getEEFLineStyleCustomization() { - return eefLineStyleCustomizationEClass; + public EReference getEEFViewDescription_EPackages() { + return (EReference) eefViewDescriptionEClass.getEStructuralFeatures().get(4); } /** - * - * + * + * * @generated */ @Override - public EReference getEEFLineStyleCustomization_Style() { - return (EReference) eefLineStyleCustomizationEClass.getEStructuralFeatures().get(0); + public EClass getEEFPageDescription() { + return eefPageDescriptionEClass; } /** - * - * + * + * * @generated */ @Override - public EClass getEEFColumnStyle() { - return eefColumnStyleEClass; + public EAttribute getEEFPageDescription_Identifier() { + return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(0); } /** - * - * + * + * * @generated */ @Override - public EAttribute getEEFColumnStyle_BackgroundColorExpression() { - return (EAttribute) eefColumnStyleEClass.getEStructuralFeatures().get(0); + public EAttribute getEEFPageDescription_LabelExpression() { + return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(1); } /** - * - * + * + * * @generated */ @Override - public EAttribute getEEFColumnStyle_ForegroundColorExpression() { - return (EAttribute) eefColumnStyleEClass.getEStructuralFeatures().get(1); + public EAttribute getEEFPageDescription_SemanticCandidateExpression() { + return (EAttribute) eefPageDescriptionEClass.getEStructuralFeatures().get(2); } /** - * - * + * + * * @generated */ @Override - public EAttribute getEEFColumnStyle_HeaderBackgroundColorExpression() { - return (EAttribute) eefColumnStyleEClass.getEStructuralFeatures().get(2); + public EReference getEEFPageDescription_Groups() { + return (EReference) eefPageDescriptionEClass.getEStructuralFeatures().get(3); } /** - * - * + * + * * @generated */ @Override - public EAttribute getEEFColumnStyle_HeaderForegroundColorExpression() { - return (EAttribute) eefColumnStyleEClass.getEStructuralFeatures().get(3); + public EClass getEEFGroupDescription() { + return eefGroupDescriptionEClass; } /** - * - * + * + * * @generated */ @Override - public EClass getEEFColumnConditionalStyle() { - return eefColumnConditionalStyleEClass; + public EAttribute getEEFGroupDescription_Identifier() { + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(0); } /** - * - * + * + * * @generated */ @Override - public EReference getEEFColumnConditionalStyle_Style() { - return (EReference) eefColumnConditionalStyleEClass.getEStructuralFeatures().get(0); + public EAttribute getEEFGroupDescription_LabelExpression() { + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(1); } /** - * - * + * + * * @generated */ @Override - public EClass getEEFColumnStyleCustomization() { - return eefColumnStyleCustomizationEClass; + public EAttribute getEEFGroupDescription_SemanticCandidateExpression() { + return (EAttribute) eefGroupDescriptionEClass.getEStructuralFeatures().get(2); } /** - * - * + * + * * @generated */ @Override - public EReference getEEFColumnStyleCustomization_Style() { - return (EReference) eefColumnStyleCustomizationEClass.getEStructuralFeatures().get(0); + public EReference getEEFGroupDescription_Container() { + return (EReference) eefGroupDescriptionEClass.getEStructuralFeatures().get(3); } /** - * - * + * + * * @generated */ @Override - public EClass getEEFQuickFix() { - return eefQuickFixEClass; + public EClass getEEFContainerDescription() { + return eefContainerDescriptionEClass; } /** - * - * + * + * * @generated */ @Override - public EAttribute getEEFQuickFix_TitleExpression() { - return (EAttribute) eefQuickFixEClass.getEStructuralFeatures().get(0); + public EAttribute getEEFContainerDescription_Identifier() { + return (EAttribute) eefContainerDescriptionEClass.getEStructuralFeatures().get(0); } /** - * - * + * + * * @generated */ @Override - public EAttribute getEEFQuickFix_MessageExpression() { - return (EAttribute) eefQuickFixEClass.getEStructuralFeatures().get(1); + public EReference getEEFContainerDescription_Widgets() { + return (EReference) eefContainerDescriptionEClass.getEStructuralFeatures().get(1); } /** - * - * + * + * * @generated */ @Override - public EAttribute getEEFQuickFix_CanHandleStatusExpression() { - return (EAttribute) eefQuickFixEClass.getEStructuralFeatures().get(2); + public EClass getEEFWidgetDescription() { + return eefWidgetDescriptionEClass; } /** - * - * + * + * * @generated */ @Override - public EAttribute getEEFQuickFix_FixExpression() { - return (EAttribute) eefQuickFixEClass.getEStructuralFeatures().get(3); + public EAttribute getEEFWidgetDescription_Identifier() { + return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(0); } /** - * - * + * + * * @generated */ @Override - public EClass getEEFValidation() { - return eefValidationEClass; + public EAttribute getEEFWidgetDescription_LabelExpression() { + return (EAttribute) eefWidgetDescriptionEClass.getEStructuralFeatures().get(1); } /** - * - * + * + * * @generated */ @Override - public EAttribute getEEFValidation_ValidationExpression() { - return (EAttribute) eefValidationEClass.getEStructuralFeatures().get(0); + public EClass getEEFTextDescription() { + return eefTextDescriptionEClass; } /** - * - * + * + * * @generated */ @Override - public EReference getEEFValidation_Quickfixes() { - return (EReference) eefValidationEClass.getEStructuralFeatures().get(1); + public EAttribute getEEFTextDescription_ValueExpression() { + return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(0); } /** - * - * + * + * * @generated */ @Override - public EDataType getTypeName() { - return typeNameEDataType; + public EAttribute getEEFTextDescription_EditExpression() { + return (EAttribute) eefTextDescriptionEClass.getEStructuralFeatures().get(1); } /** - * - * + * + * * @generated */ @Override @@ -2843,949 +397,175 @@ public class EefPackageImpl extends EPackageImpl implements EefPackage { } /** - * - * + * + * * @generated */ private boolean isCreated = false; /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * + * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but + * its first. + * * @generated */ public void createPackageContents() { - if (isCreated) + if (isCreated) { return; + } isCreated = true; // Create classes and their features - eefViewDescriptionEClass = createEClass(EEF_VIEW_DESCRIPTION); - createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__IDENTIFIER); - createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__PRECONDITION_EXPRESSION); - createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__USER_DEFINED_VARIABLES); - createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION); - createEAttribute(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__EPACKAGE_NS_URIS); - createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__GROUPS); - createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__PAGES); - createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__JAVA_EXTENSIONS); - createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__IMPORTED_VIEWS); - createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__TREE_STRUCTURES); - createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__TABLE_STRUCTURES); - createEReference(eefViewDescriptionEClass, EEF_VIEW_DESCRIPTION__STYLE_CUSTOMIZATIONS); - - eefPageDescriptionEClass = createEClass(EEF_PAGE_DESCRIPTION); - createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__IDENTIFIER); - createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__PRECONDITION_EXPRESSION); - createEReference(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__USER_DEFINED_VARIABLES); - createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION); - createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__DOMAIN_CLASS); - createEAttribute(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); - createEReference(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__GROUPS); - createEReference(eefPageDescriptionEClass, EEF_PAGE_DESCRIPTION__EXTENDED_PAGE); - - eefGroupDescriptionEClass = createEClass(EEF_GROUP_DESCRIPTION); - createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__IDENTIFIER); - createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__PRECONDITION_EXPRESSION); - createEReference(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__USER_DEFINED_VARIABLES); - createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION); - createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__DOMAIN_CLASS); - createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); - createEReference(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__CONTAINER); - createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__COLLAPSIBLE_EXPRESSION); - createEAttribute(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__COLLAPSED_BY_DEFAULT_EXPRESSION); - createEReference(eefGroupDescriptionEClass, EEF_GROUP_DESCRIPTION__VALIDATION); - - eefContainerDescriptionEClass = createEClass(EEF_CONTAINER_DESCRIPTION); - createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__IDENTIFIER); - createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__PRECONDITION_EXPRESSION); - createEReference(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__USER_DEFINED_VARIABLES); - createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); - createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__DOMAIN_CLASS); - createEAttribute(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__LAYOUT_COLUMN_COUNT); - createEReference(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__CONTAINERS); - createEReference(eefContainerDescriptionEClass, EEF_CONTAINER_DESCRIPTION__WIDGETS); - - eefWidgetDescriptionEClass = createEClass(EEF_WIDGET_DESCRIPTION); - createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__IDENTIFIER); - createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__PRECONDITION_EXPRESSION); - createEReference(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__USER_DEFINED_VARIABLES); - createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION); - createEReference(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__LABEL_STYLE); - createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__TOOLTIP_EXPRESSION); - createEAttribute(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__HELP_EXPRESSION); - createEReference(eefWidgetDescriptionEClass, EEF_WIDGET_DESCRIPTION__VALIDATION); - - eefJavaExtensionDescriptionEClass = createEClass(EEF_JAVA_EXTENSION_DESCRIPTION); - createEAttribute(eefJavaExtensionDescriptionEClass, EEF_JAVA_EXTENSION_DESCRIPTION__QUALIFIED_NAME); - - eefTreeStructureDescriptionEClass = createEClass(EEF_TREE_STRUCTURE_DESCRIPTION); - createEAttribute(eefTreeStructureDescriptionEClass, EEF_TREE_STRUCTURE_DESCRIPTION__IDENTIFIER); - createEAttribute(eefTreeStructureDescriptionEClass, EEF_TREE_STRUCTURE_DESCRIPTION__MULTIPLE); - - eefInterpretedTableStructureDescriptionEClass = createEClass(EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION); - createEReference(eefInterpretedTableStructureDescriptionEClass, EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__COLUMNS); - createEReference(eefInterpretedTableStructureDescriptionEClass, EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION__LINE); - - eefCellWidgetDescriptionEClass = createEClass(EEF_CELL_WIDGET_DESCRIPTION); - - eefAdapterFactoryTreeStructureDescriptionEClass = createEClass(EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION); - createEAttribute(eefAdapterFactoryTreeStructureDescriptionEClass, EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER); - - eefInterpretedTreeStructureDescriptionEClass = createEClass(EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION); - createEAttribute(eefInterpretedTreeStructureDescriptionEClass, EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__ROOTS_EXPRESSION); - createEAttribute(eefInterpretedTreeStructureDescriptionEClass, EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CHILDREN_EXPRESSION); - createEAttribute(eefInterpretedTreeStructureDescriptionEClass, EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__SELECTABLE_PREDICATE_EXPRESSION); - createEAttribute(eefInterpretedTreeStructureDescriptionEClass, EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION); - - eefTextDescriptionEClass = createEClass(EEF_TEXT_DESCRIPTION); - createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION); - createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION); - createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__READ_ONLY_EXPRESSION); - createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__CONTENT_ASSIST_EXPRESSION); - createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__PLACEHOLDER_EXPRESSION); - createEAttribute(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__LINE_COUNT); - createEReference(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__STYLE); - createEReference(eefTextDescriptionEClass, EEF_TEXT_DESCRIPTION__CONDITIONAL_STYLES); - - eefCheckboxDescriptionEClass = createEClass(EEF_CHECKBOX_DESCRIPTION); - createEAttribute(eefCheckboxDescriptionEClass, EEF_CHECKBOX_DESCRIPTION__VALUE_EXPRESSION); - createEAttribute(eefCheckboxDescriptionEClass, EEF_CHECKBOX_DESCRIPTION__EDIT_EXPRESSION); - - eefSelectDescriptionEClass = createEClass(EEF_SELECT_DESCRIPTION); - createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__VALUE_EXPRESSION); - createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__EDIT_EXPRESSION); - createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__CANDIDATES_EXPRESSION); - createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__MULTIPLE); - createEAttribute(eefSelectDescriptionEClass, EEF_SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION); - - eefLabelDescriptionEClass = createEClass(EEF_LABEL_DESCRIPTION); - createEAttribute(eefLabelDescriptionEClass, EEF_LABEL_DESCRIPTION__VALUE_EXPRESSION); - - eefRadioDescriptionEClass = createEClass(EEF_RADIO_DESCRIPTION); - createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__VALUE_EXPRESSION); - createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__EDIT_EXPRESSION); - createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__CANDIDATES_EXPRESSION); - createEAttribute(eefRadioDescriptionEClass, EEF_RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION); - - eefTreeDialogSelectDescriptionEClass = createEClass(EEF_TREE_DIALOG_SELECT_DESCRIPTION); - createEAttribute(eefTreeDialogSelectDescriptionEClass, EEF_TREE_DIALOG_SELECT_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); - createEAttribute(eefTreeDialogSelectDescriptionEClass, EEF_TREE_DIALOG_SELECT_DESCRIPTION__DEFAULT_FILTER); - createEAttribute(eefTreeDialogSelectDescriptionEClass, EEF_TREE_DIALOG_SELECT_DESCRIPTION__DOMAIN_CLASS); - createEReference(eefTreeDialogSelectDescriptionEClass, EEF_TREE_DIALOG_SELECT_DESCRIPTION__TREE); - - eefLinkDescriptionEClass = createEClass(EEF_LINK_DESCRIPTION); - createEAttribute(eefLinkDescriptionEClass, EEF_LINK_DESCRIPTION__ON_CLICK_EXPRESSION); - - eefImageDescriptionEClass = createEClass(EEF_IMAGE_DESCRIPTION); - createEAttribute(eefImageDescriptionEClass, EEF_IMAGE_DESCRIPTION__VALUE_EXPRESSION); - - eefTreeDescriptionEClass = createEClass(EEF_TREE_DESCRIPTION); - createEAttribute(eefTreeDescriptionEClass, EEF_TREE_DESCRIPTION__VALUE_EXPRESSION); - createEReference(eefTreeDescriptionEClass, EEF_TREE_DESCRIPTION__TREE_STRUCTURE); - createEAttribute(eefTreeDescriptionEClass, EEF_TREE_DESCRIPTION__EDIT_EXPRESSION); - - eefImagePickerDescriptionEClass = createEClass(EEF_IMAGE_PICKER_DESCRIPTION); - createEAttribute(eefImagePickerDescriptionEClass, EEF_IMAGE_PICKER_DESCRIPTION__VALUE_EXPRESSION); - createEAttribute(eefImagePickerDescriptionEClass, EEF_IMAGE_PICKER_DESCRIPTION__EDIT_EXPRESSION); - createEAttribute(eefImagePickerDescriptionEClass, EEF_IMAGE_PICKER_DESCRIPTION__CANDIDATES_EXPRESSION); - - eefTableDescriptionEClass = createEClass(EEF_TABLE_DESCRIPTION); - createEAttribute(eefTableDescriptionEClass, EEF_TABLE_DESCRIPTION__VALUE_EXPRESSION); - createEAttribute(eefTableDescriptionEClass, EEF_TABLE_DESCRIPTION__EDIT_EXPRESSION); - createEReference(eefTableDescriptionEClass, EEF_TABLE_DESCRIPTION__TABLE_STRUCTURE); - - eefColumnDescriptionEClass = createEClass(EEF_COLUMN_DESCRIPTION); - createEAttribute(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__WIDTH); - createEAttribute(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__HEADER_EXPRESSION); - createEReference(eefColumnDescriptionEClass, EEF_COLUMN_DESCRIPTION__CELL_WIDGET); - - eefLineDescriptionEClass = createEClass(EEF_LINE_DESCRIPTION); - createEAttribute(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__HEADER_EXPRESSION); - createEAttribute(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__SEMANTIC_CANDIDATES_EXPRESSION); - createEAttribute(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__DOMAIN_CLASS); - createEReference(eefLineDescriptionEClass, EEF_LINE_DESCRIPTION__SUB_LINES); - - eefTableStructureDescriptionEClass = createEClass(EEF_TABLE_STRUCTURE_DESCRIPTION); - createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__MULTIPLE); - createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__IDENTIFIER); - createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__ADD_EXPRESSION); - createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__REMOVE_EXPRESSION); - createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__UP_EXPRESSION); - createEAttribute(eefTableStructureDescriptionEClass, EEF_TABLE_STRUCTURE_DESCRIPTION__DOWN_EXPRESSION); - - eefAdapterFactoryTableStructureDescriptionEClass = createEClass(EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION); - createEAttribute(eefAdapterFactoryTableStructureDescriptionEClass, EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION__ADAPTER_FACTORY_PROVIDER); - - eefStyleEClass = createEClass(EEF_STYLE); - createEAttribute(eefStyleEClass, EEF_STYLE__FONT_EXPRESSION); - - eefConditionalStyleEClass = createEClass(EEF_CONDITIONAL_STYLE); - createEAttribute(eefConditionalStyleEClass, EEF_CONDITIONAL_STYLE__CONDITIONAL_EXPRESSION); - - eefStyleCustomizationEClass = createEClass(EEF_STYLE_CUSTOMIZATION); - - eefGroupStyleEClass = createEClass(EEF_GROUP_STYLE); - createEAttribute(eefGroupStyleEClass, EEF_GROUP_STYLE__FOREGROUND_COLOR_EXPRESSION); - - eefGroupConditionalStyleEClass = createEClass(EEF_GROUP_CONDITIONAL_STYLE); - createEReference(eefGroupConditionalStyleEClass, EEF_GROUP_CONDITIONAL_STYLE__STYLE); + eefViewDescriptionEClass = createEClass(EefPackage.EEF_VIEW_DESCRIPTION); + createEAttribute(eefViewDescriptionEClass, EefPackage.EEF_VIEW_DESCRIPTION__IDENTIFIER); + createEAttribute(eefViewDescriptionEClass, EefPackage.EEF_VIEW_DESCRIPTION__LABEL_EXPRESSION); + createEReference(eefViewDescriptionEClass, EefPackage.EEF_VIEW_DESCRIPTION__GROUPS); + createEReference(eefViewDescriptionEClass, EefPackage.EEF_VIEW_DESCRIPTION__PAGES); + createEReference(eefViewDescriptionEClass, EefPackage.EEF_VIEW_DESCRIPTION__EPACKAGES); - eefGroupStyleCustomizationEClass = createEClass(EEF_GROUP_STYLE_CUSTOMIZATION); - createEReference(eefGroupStyleCustomizationEClass, EEF_GROUP_STYLE_CUSTOMIZATION__STYLE); + eefPageDescriptionEClass = createEClass(EefPackage.EEF_PAGE_DESCRIPTION); + createEAttribute(eefPageDescriptionEClass, EefPackage.EEF_PAGE_DESCRIPTION__IDENTIFIER); + createEAttribute(eefPageDescriptionEClass, EefPackage.EEF_PAGE_DESCRIPTION__LABEL_EXPRESSION); + createEAttribute(eefPageDescriptionEClass, EefPackage.EEF_PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); + createEReference(eefPageDescriptionEClass, EefPackage.EEF_PAGE_DESCRIPTION__GROUPS); - eefTextStyleEClass = createEClass(EEF_TEXT_STYLE); - createEAttribute(eefTextStyleEClass, EEF_TEXT_STYLE__BACKGROUND_COLOR_EXPRESSION); - createEAttribute(eefTextStyleEClass, EEF_TEXT_STYLE__FOREGROUND_COLOR_EXPRESSION); + eefGroupDescriptionEClass = createEClass(EefPackage.EEF_GROUP_DESCRIPTION); + createEAttribute(eefGroupDescriptionEClass, EefPackage.EEF_GROUP_DESCRIPTION__IDENTIFIER); + createEAttribute(eefGroupDescriptionEClass, EefPackage.EEF_GROUP_DESCRIPTION__LABEL_EXPRESSION); + createEAttribute(eefGroupDescriptionEClass, EefPackage.EEF_GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION); + createEReference(eefGroupDescriptionEClass, EefPackage.EEF_GROUP_DESCRIPTION__CONTAINER); - eefTextConditionalStyleEClass = createEClass(EEF_TEXT_CONDITIONAL_STYLE); - createEReference(eefTextConditionalStyleEClass, EEF_TEXT_CONDITIONAL_STYLE__STYLE); + eefContainerDescriptionEClass = createEClass(EefPackage.EEF_CONTAINER_DESCRIPTION); + createEAttribute(eefContainerDescriptionEClass, EefPackage.EEF_CONTAINER_DESCRIPTION__IDENTIFIER); + createEReference(eefContainerDescriptionEClass, EefPackage.EEF_CONTAINER_DESCRIPTION__WIDGETS); - eefTextStyleCustomizationEClass = createEClass(EEF_TEXT_STYLE_CUSTOMIZATION); - createEReference(eefTextStyleCustomizationEClass, EEF_TEXT_STYLE_CUSTOMIZATION__STYLE); + eefWidgetDescriptionEClass = createEClass(EefPackage.EEF_WIDGET_DESCRIPTION); + createEAttribute(eefWidgetDescriptionEClass, EefPackage.EEF_WIDGET_DESCRIPTION__IDENTIFIER); + createEAttribute(eefWidgetDescriptionEClass, EefPackage.EEF_WIDGET_DESCRIPTION__LABEL_EXPRESSION); - eefCheckboxStyleEClass = createEClass(EEF_CHECKBOX_STYLE); - createEAttribute(eefCheckboxStyleEClass, EEF_CHECKBOX_STYLE__BACKGROUND_COLOR_EXPRESSION); - createEAttribute(eefCheckboxStyleEClass, EEF_CHECKBOX_STYLE__FOREGROUND_COLOR_EXPRESSION); - - eefCheckboxConditionalStyleEClass = createEClass(EEF_CHECKBOX_CONDITIONAL_STYLE); - createEReference(eefCheckboxConditionalStyleEClass, EEF_CHECKBOX_CONDITIONAL_STYLE__STYLE); - - eefCheckboxStyleCustomizationEClass = createEClass(EEF_CHECKBOX_STYLE_CUSTOMIZATION); - createEReference(eefCheckboxStyleCustomizationEClass, EEF_CHECKBOX_STYLE_CUSTOMIZATION__STYLE); - - eefLabelStyleEClass = createEClass(EEF_LABEL_STYLE); - createEAttribute(eefLabelStyleEClass, EEF_LABEL_STYLE__BACKGROUND_COLOR_EXPRESSION); - createEAttribute(eefLabelStyleEClass, EEF_LABEL_STYLE__FOREGROUND_COLOR_EXPRESSION); - - eefLabelConditionalStyleEClass = createEClass(EEF_LABEL_CONDITIONAL_STYLE); - createEReference(eefLabelConditionalStyleEClass, EEF_LABEL_CONDITIONAL_STYLE__STYLE); - - eefLabelStyleCustomizationEClass = createEClass(EEF_LABEL_STYLE_CUSTOMIZATION); - createEReference(eefLabelStyleCustomizationEClass, EEF_LABEL_STYLE_CUSTOMIZATION__STYLE); - - eefRadioStyleEClass = createEClass(EEF_RADIO_STYLE); - createEAttribute(eefRadioStyleEClass, EEF_RADIO_STYLE__BACKGROUND_COLOR_EXPRESSION); - createEAttribute(eefRadioStyleEClass, EEF_RADIO_STYLE__FOREGROUND_COLOR_EXPRESSION); - - eefRadioConditionalStyleEClass = createEClass(EEF_RADIO_CONDITIONAL_STYLE); - createEReference(eefRadioConditionalStyleEClass, EEF_RADIO_CONDITIONAL_STYLE__STYLE); - - eefRadioStyleCustomizationEClass = createEClass(EEF_RADIO_STYLE_CUSTOMIZATION); - createEReference(eefRadioStyleCustomizationEClass, EEF_RADIO_STYLE_CUSTOMIZATION__STYLE); - - eefLinkStyleEClass = createEClass(EEF_LINK_STYLE); - createEAttribute(eefLinkStyleEClass, EEF_LINK_STYLE__BACKGROUND_COLOR_EXPRESSION); - createEAttribute(eefLinkStyleEClass, EEF_LINK_STYLE__FOREGROUND_COLOR_EXPRESSION); - createEAttribute(eefLinkStyleEClass, EEF_LINK_STYLE__BACKGROUND_IMAGE_EXPRESSION); - - eefLinkConditionalStyleEClass = createEClass(EEF_LINK_CONDITIONAL_STYLE); - createEReference(eefLinkConditionalStyleEClass, EEF_LINK_CONDITIONAL_STYLE__STYLE); - - eefLinkStyleCustomizationEClass = createEClass(EEF_LINK_STYLE_CUSTOMIZATION); - createEReference(eefLinkStyleCustomizationEClass, EEF_LINK_STYLE_CUSTOMIZATION__STYLE); - - eefSelectStyleEClass = createEClass(EEF_SELECT_STYLE); - createEAttribute(eefSelectStyleEClass, EEF_SELECT_STYLE__BACKGROUND_COLOR_EXPRESSION); - createEAttribute(eefSelectStyleEClass, EEF_SELECT_STYLE__FOREGROUND_COLOR_EXPRESSION); - - eefSelectConditionalStyleEClass = createEClass(EEF_SELECT_CONDITIONAL_STYLE); - createEReference(eefSelectConditionalStyleEClass, EEF_SELECT_CONDITIONAL_STYLE__STYLE); - - eefSelectStyleCustomizationEClass = createEClass(EEF_SELECT_STYLE_CUSTOMIZATION); - createEReference(eefSelectStyleCustomizationEClass, EEF_SELECT_STYLE_CUSTOMIZATION__STYLE); - - eefTreeStyleEClass = createEClass(EEF_TREE_STYLE); - - eefTreeConditionalStyleEClass = createEClass(EEF_TREE_CONDITIONAL_STYLE); - createEReference(eefTreeConditionalStyleEClass, EEF_TREE_CONDITIONAL_STYLE__STYLE); - - eefTreeStyleCustomizationEClass = createEClass(EEF_TREE_STYLE_CUSTOMIZATION); - createEReference(eefTreeStyleCustomizationEClass, EEF_TREE_STYLE_CUSTOMIZATION__STYLE); - - eefTableStyleEClass = createEClass(EEF_TABLE_STYLE); - - eefTableConditionalStyleEClass = createEClass(EEF_TABLE_CONDITIONAL_STYLE); - createEReference(eefTableConditionalStyleEClass, EEF_TABLE_CONDITIONAL_STYLE__STYLE); - - eefTableStyleCustomizationEClass = createEClass(EEF_TABLE_STYLE_CUSTOMIZATION); - createEReference(eefTableStyleCustomizationEClass, EEF_TABLE_STYLE_CUSTOMIZATION__STYLE); - - eefLineStyleEClass = createEClass(EEF_LINE_STYLE); - createEAttribute(eefLineStyleEClass, EEF_LINE_STYLE__BACKGROUND_COLOR_EXPRESSION); - createEAttribute(eefLineStyleEClass, EEF_LINE_STYLE__FOREGROUND_COLOR_EXPRESSION); - createEAttribute(eefLineStyleEClass, EEF_LINE_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION); - createEAttribute(eefLineStyleEClass, EEF_LINE_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION); - - eefLineConditionalStyleEClass = createEClass(EEF_LINE_CONDITIONAL_STYLE); - createEReference(eefLineConditionalStyleEClass, EEF_LINE_CONDITIONAL_STYLE__STYLE); - - eefLineStyleCustomizationEClass = createEClass(EEF_LINE_STYLE_CUSTOMIZATION); - createEReference(eefLineStyleCustomizationEClass, EEF_LINE_STYLE_CUSTOMIZATION__STYLE); - - eefColumnStyleEClass = createEClass(EEF_COLUMN_STYLE); - createEAttribute(eefColumnStyleEClass, EEF_COLUMN_STYLE__BACKGROUND_COLOR_EXPRESSION); - createEAttribute(eefColumnStyleEClass, EEF_COLUMN_STYLE__FOREGROUND_COLOR_EXPRESSION); - createEAttribute(eefColumnStyleEClass, EEF_COLUMN_STYLE__HEADER_BACKGROUND_COLOR_EXPRESSION); - createEAttribute(eefColumnStyleEClass, EEF_COLUMN_STYLE__HEADER_FOREGROUND_COLOR_EXPRESSION); - - eefColumnConditionalStyleEClass = createEClass(EEF_COLUMN_CONDITIONAL_STYLE); - createEReference(eefColumnConditionalStyleEClass, EEF_COLUMN_CONDITIONAL_STYLE__STYLE); - - eefColumnStyleCustomizationEClass = createEClass(EEF_COLUMN_STYLE_CUSTOMIZATION); - createEReference(eefColumnStyleCustomizationEClass, EEF_COLUMN_STYLE_CUSTOMIZATION__STYLE); - - eefQuickFixEClass = createEClass(EEF_QUICK_FIX); - createEAttribute(eefQuickFixEClass, EEF_QUICK_FIX__TITLE_EXPRESSION); - createEAttribute(eefQuickFixEClass, EEF_QUICK_FIX__MESSAGE_EXPRESSION); - createEAttribute(eefQuickFixEClass, EEF_QUICK_FIX__CAN_HANDLE_STATUS_EXPRESSION); - createEAttribute(eefQuickFixEClass, EEF_QUICK_FIX__FIX_EXPRESSION); - - eefValidationEClass = createEClass(EEF_VALIDATION); - createEAttribute(eefValidationEClass, EEF_VALIDATION__VALIDATION_EXPRESSION); - createEReference(eefValidationEClass, EEF_VALIDATION__QUICKFIXES); - - // Create data types - typeNameEDataType = createEDataType(TYPE_NAME); + eefTextDescriptionEClass = createEClass(EefPackage.EEF_TEXT_DESCRIPTION); + createEAttribute(eefTextDescriptionEClass, EefPackage.EEF_TEXT_DESCRIPTION__VALUE_EXPRESSION); + createEAttribute(eefTextDescriptionEClass, EefPackage.EEF_TEXT_DESCRIPTION__EDIT_EXPRESSION); } /** - * - * + * + * * @generated */ private boolean isInitialized = false; /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * + * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any + * invocation but its first. + * * @generated */ public void initializePackageContents() { - if (isInitialized) + if (isInitialized) { return; + } isInitialized = true; // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); + setName(EefPackage.eNAME); + setNsPrefix(EefPackage.eNS_PREFIX); + setNsURI(EefPackage.eNS_URI); // Obtain other dependent packages - ExpressionPackage theExpressionPackage = (ExpressionPackage) EPackage.Registry.INSTANCE.getEPackage(ExpressionPackage.eNS_URI); + EcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes - eefInterpretedTableStructureDescriptionEClass.getESuperTypes().add(this.getEEFTableStructureDescription()); - eefCellWidgetDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); - eefAdapterFactoryTreeStructureDescriptionEClass.getESuperTypes().add(this.getEEFTreeStructureDescription()); - eefInterpretedTreeStructureDescriptionEClass.getESuperTypes().add(this.getEEFTreeStructureDescription()); - eefTextDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefCheckboxDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefSelectDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefLabelDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefRadioDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); - eefTreeDialogSelectDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefLinkDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefImageDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefTreeDescriptionEClass.getESuperTypes().add(this.getEEFCellWidgetDescription()); - eefImagePickerDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); - eefTableDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); - eefAdapterFactoryTableStructureDescriptionEClass.getESuperTypes().add(this.getEEFTableStructureDescription()); - eefGroupStyleEClass.getESuperTypes().add(this.getEEFStyle()); - eefGroupConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); - eefGroupStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); - eefTextStyleEClass.getESuperTypes().add(this.getEEFStyle()); - eefTextConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); - eefTextStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); - eefCheckboxStyleEClass.getESuperTypes().add(this.getEEFStyle()); - eefCheckboxStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); - eefLabelStyleEClass.getESuperTypes().add(this.getEEFStyle()); - eefLabelConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); - eefLabelStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); - eefRadioStyleEClass.getESuperTypes().add(this.getEEFStyle()); - eefRadioConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); - eefRadioStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); - eefLinkStyleEClass.getESuperTypes().add(this.getEEFStyle()); - eefLinkConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); - eefLinkStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); - eefSelectStyleEClass.getESuperTypes().add(this.getEEFStyle()); - eefSelectConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); - eefSelectStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); - eefTreeStyleEClass.getESuperTypes().add(this.getEEFStyle()); - eefTreeConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); - eefTreeStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); - eefTableStyleEClass.getESuperTypes().add(this.getEEFStyle()); - eefTableConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); - eefTableStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); - eefLineStyleEClass.getESuperTypes().add(this.getEEFStyle()); - eefLineConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); - eefLineStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); - eefColumnStyleEClass.getESuperTypes().add(this.getEEFStyle()); - eefColumnConditionalStyleEClass.getESuperTypes().add(this.getEEFConditionalStyle()); - eefColumnStyleCustomizationEClass.getESuperTypes().add(this.getEEFStyleCustomization()); + eefTextDescriptionEClass.getESuperTypes().add(this.getEEFWidgetDescription()); // Initialize classes and features; add operations and parameters - initEClass(eefViewDescriptionEClass, EEFViewDescription.class, "EEFViewDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); + initEClass(eefViewDescriptionEClass, EEFViewDescription.class, "EEFViewDescription", !EPackageImpl.IS_ABSTRACT, !EPackageImpl.IS_INTERFACE, //$NON-NLS-1$ + EPackageImpl.IS_GENERATED_INSTANCE_CLASS); initEAttribute(getEEFViewDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, EEFViewDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFViewDescription_PreconditionExpression(), theExpressionPackage.getExpression(), "preconditionExpression", null, 0, 1, //$NON-NLS-1$ - EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFViewDescription_UserDefinedVariables(), theExpressionPackage.getUserDefinedVariable(), null, "userDefinedVariables", //$NON-NLS-1$ - null, 0, -1, EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFViewDescription_LabelExpression(), theExpressionPackage.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ - EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFViewDescription_EPackageNsUris(), ecorePackage.getEString(), "ePackageNsUris", null, 0, -1, EEFViewDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, + EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + initEAttribute(getEEFViewDescription_LabelExpression(), theEcorePackage.getEString(), "labelExpression", null, 0, 1, EEFViewDescription.class, //$NON-NLS-1$ + !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, + EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); initEReference(getEEFViewDescription_Groups(), this.getEEFGroupDescription(), null, "groups", null, 0, -1, EEFViewDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, EPackageImpl.IS_COMPOSITE, + EPackageImpl.IS_RESOLVE_PROXIES, !EPackageImpl.IS_UNSETTABLE, EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, + EPackageImpl.IS_ORDERED); initEReference(getEEFViewDescription_Pages(), this.getEEFPageDescription(), null, "pages", null, 1, -1, EEFViewDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFViewDescription_JavaExtensions(), this.getEEFJavaExtensionDescription(), null, "javaExtensions", null, 0, -1, //$NON-NLS-1$ - EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEReference(getEEFViewDescription_ImportedViews(), this.getEEFViewDescription(), null, "importedViews", null, 0, -1, //$NON-NLS-1$ - EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEReference(getEEFViewDescription_TreeStructures(), this.getEEFTreeStructureDescription(), null, "treeStructures", null, 0, -1, //$NON-NLS-1$ - EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEReference(getEEFViewDescription_TableStructures(), this.getEEFTableStructureDescription(), null, "tableStructures", null, 0, -1, //$NON-NLS-1$ - EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEReference(getEEFViewDescription_StyleCustomizations(), this.getEEFStyleCustomization(), null, "styleCustomizations", null, 0, -1, //$NON-NLS-1$ - EEFViewDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - - initEClass(eefPageDescriptionEClass, EEFPageDescription.class, "EEFPageDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); + !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, EPackageImpl.IS_COMPOSITE, + EPackageImpl.IS_RESOLVE_PROXIES, !EPackageImpl.IS_UNSETTABLE, EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, + EPackageImpl.IS_ORDERED); + initEReference(getEEFViewDescription_EPackages(), theEcorePackage.getEPackage(), null, "ePackages", null, 0, -1, EEFViewDescription.class, //$NON-NLS-1$ + !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, !EPackageImpl.IS_COMPOSITE, + EPackageImpl.IS_RESOLVE_PROXIES, !EPackageImpl.IS_UNSETTABLE, EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, + EPackageImpl.IS_ORDERED); + + initEClass(eefPageDescriptionEClass, EEFPageDescription.class, "EEFPageDescription", !EPackageImpl.IS_ABSTRACT, !EPackageImpl.IS_INTERFACE, //$NON-NLS-1$ + EPackageImpl.IS_GENERATED_INSTANCE_CLASS); initEAttribute(getEEFPageDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, EEFPageDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFPageDescription_PreconditionExpression(), theExpressionPackage.getExpression(), "preconditionExpression", null, 0, 1, //$NON-NLS-1$ - EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFPageDescription_UserDefinedVariables(), theExpressionPackage.getUserDefinedVariable(), null, "userDefinedVariables", //$NON-NLS-1$ - null, 0, -1, EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFPageDescription_LabelExpression(), theExpressionPackage.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ - EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFPageDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, EEFPageDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFPageDescription_SemanticCandidateExpression(), theExpressionPackage.getExpression(), "semanticCandidateExpression", "", //$NON-NLS-1$//$NON-NLS-2$ - 0, 1, EEFPageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); + !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, + EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + initEAttribute(getEEFPageDescription_LabelExpression(), ecorePackage.getEString(), "labelExpression", null, 0, 1, EEFPageDescription.class, //$NON-NLS-1$ + !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, + EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + initEAttribute(getEEFPageDescription_SemanticCandidateExpression(), ecorePackage.getEString(), "semanticCandidateExpression", "", 0, 1, //$NON-NLS-1$//$NON-NLS-2$ + EEFPageDescription.class, !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, + !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); initEReference(getEEFPageDescription_Groups(), this.getEEFGroupDescription(), null, "groups", null, 0, -1, EEFPageDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFPageDescription_ExtendedPage(), this.getEEFPageDescription(), null, "extendedPage", null, 0, 1, EEFPageDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, !EPackageImpl.IS_COMPOSITE, + EPackageImpl.IS_RESOLVE_PROXIES, !EPackageImpl.IS_UNSETTABLE, EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, + EPackageImpl.IS_ORDERED); - initEClass(eefGroupDescriptionEClass, EEFGroupDescription.class, "EEFGroupDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); + initEClass(eefGroupDescriptionEClass, EEFGroupDescription.class, "EEFGroupDescription", !EPackageImpl.IS_ABSTRACT, !EPackageImpl.IS_INTERFACE, //$NON-NLS-1$ + EPackageImpl.IS_GENERATED_INSTANCE_CLASS); initEAttribute(getEEFGroupDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, EEFGroupDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFGroupDescription_PreconditionExpression(), theExpressionPackage.getExpression(), "preconditionExpression", null, 0, 1, //$NON-NLS-1$ - EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFGroupDescription_UserDefinedVariables(), theExpressionPackage.getUserDefinedVariable(), null, "userDefinedVariables", //$NON-NLS-1$ - null, 0, -1, EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFGroupDescription_LabelExpression(), theExpressionPackage.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ - EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFGroupDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, EEFGroupDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFGroupDescription_SemanticCandidateExpression(), theExpressionPackage.getExpression(), "semanticCandidateExpression", //$NON-NLS-1$ - null, 0, 1, EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); + !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, + EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + initEAttribute(getEEFGroupDescription_LabelExpression(), ecorePackage.getEString(), "labelExpression", null, 0, 1, EEFGroupDescription.class, //$NON-NLS-1$ + !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, + EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + initEAttribute(getEEFGroupDescription_SemanticCandidateExpression(), ecorePackage.getEString(), "semanticCandidateExpression", null, 0, 1, //$NON-NLS-1$ + EEFGroupDescription.class, !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, + !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); initEReference(getEEFGroupDescription_Container(), this.getEEFContainerDescription(), null, "container", null, 1, 1, //$NON-NLS-1$ - EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFGroupDescription_CollapsibleExpression(), theExpressionPackage.getExpression(), "collapsibleExpression", null, 0, 1, //$NON-NLS-1$ - EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFGroupDescription_CollapsedByDefaultExpression(), theExpressionPackage.getExpression(), "collapsedByDefaultExpression", //$NON-NLS-1$ - null, 0, 1, EEFGroupDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEReference(getEEFGroupDescription_Validation(), this.getEEFValidation(), null, "validation", null, 0, 1, EEFGroupDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefContainerDescriptionEClass, EEFContainerDescription.class, "EEFContainerDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); + EEFGroupDescription.class, !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, + EPackageImpl.IS_COMPOSITE, EPackageImpl.IS_RESOLVE_PROXIES, !EPackageImpl.IS_UNSETTABLE, EPackageImpl.IS_UNIQUE, + !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + + initEClass(eefContainerDescriptionEClass, EEFContainerDescription.class, "EEFContainerDescription", !EPackageImpl.IS_ABSTRACT, //$NON-NLS-1$ + !EPackageImpl.IS_INTERFACE, EPackageImpl.IS_GENERATED_INSTANCE_CLASS); initEAttribute(getEEFContainerDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, EEFContainerDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFContainerDescription_PreconditionExpression(), theExpressionPackage.getExpression(), "preconditionExpression", null, 0, //$NON-NLS-1$ - 1, EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEReference(getEEFContainerDescription_UserDefinedVariables(), theExpressionPackage.getUserDefinedVariable(), null, "userDefinedVariables", //$NON-NLS-1$ - null, 0, -1, EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFContainerDescription_SemanticCandidateExpression(), theExpressionPackage.getExpression(), "semanticCandidateExpression", //$NON-NLS-1$ - null, 0, 1, EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEAttribute(getEEFContainerDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, EEFContainerDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFContainerDescription_LayoutColumnCount(), ecorePackage.getEInt(), "layoutColumnCount", "1", 0, 1, //$NON-NLS-1$//$NON-NLS-2$ - EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEReference(getEEFContainerDescription_Containers(), this.getEEFContainerDescription(), null, "containers", null, 0, -1, //$NON-NLS-1$ - EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, + EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); initEReference(getEEFContainerDescription_Widgets(), this.getEEFWidgetDescription(), null, "widgets", null, 1, -1, //$NON-NLS-1$ - EEFContainerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + EEFContainerDescription.class, !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, + EPackageImpl.IS_COMPOSITE, EPackageImpl.IS_RESOLVE_PROXIES, !EPackageImpl.IS_UNSETTABLE, EPackageImpl.IS_UNIQUE, + !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); - initEClass(eefWidgetDescriptionEClass, EEFWidgetDescription.class, "EEFWidgetDescription", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); + initEClass(eefWidgetDescriptionEClass, EEFWidgetDescription.class, "EEFWidgetDescription", EPackageImpl.IS_ABSTRACT, //$NON-NLS-1$ + !EPackageImpl.IS_INTERFACE, EPackageImpl.IS_GENERATED_INSTANCE_CLASS); initEAttribute(getEEFWidgetDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, EEFWidgetDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFWidgetDescription_PreconditionExpression(), theExpressionPackage.getExpression(), "preconditionExpression", null, 0, 1, //$NON-NLS-1$ - EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFWidgetDescription_UserDefinedVariables(), theExpressionPackage.getUserDefinedVariable(), null, "userDefinedVariables", //$NON-NLS-1$ - null, 0, -1, EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFWidgetDescription_LabelExpression(), theExpressionPackage.getExpression(), "labelExpression", null, 0, 1, //$NON-NLS-1$ - EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFWidgetDescription_LabelStyle(), this.getEEFLabelStyle(), null, "labelStyle", null, 0, 1, EEFWidgetDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFWidgetDescription_TooltipExpression(), theExpressionPackage.getExpression(), "tooltipExpression", null, 0, 1, //$NON-NLS-1$ - EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFWidgetDescription_HelpExpression(), theExpressionPackage.getExpression(), "helpExpression", null, 0, 1, //$NON-NLS-1$ - EEFWidgetDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFWidgetDescription_Validation(), this.getEEFValidation(), null, "validation", null, 0, 1, EEFWidgetDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefJavaExtensionDescriptionEClass, EEFJavaExtensionDescription.class, "EEFJavaExtensionDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFJavaExtensionDescription_QualifiedName(), ecorePackage.getEString(), "qualifiedName", null, 0, 1, //$NON-NLS-1$ - EEFJavaExtensionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - - initEClass(eefTreeStructureDescriptionEClass, EEFTreeStructureDescription.class, "EEFTreeStructureDescription", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFTreeStructureDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ - EEFTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEAttribute(getEEFTreeStructureDescription_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, //$NON-NLS-1$ - EEFTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - - initEClass(eefInterpretedTableStructureDescriptionEClass, EEFInterpretedTableStructureDescription.class, - "EEFInterpretedTableStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getEEFInterpretedTableStructureDescription_Columns(), this.getEEFColumnDescription(), null, "columns", null, 0, -1, //$NON-NLS-1$ - EEFInterpretedTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFInterpretedTableStructureDescription_Line(), this.getEEFLineDescription(), null, "line", null, 0, 1, //$NON-NLS-1$ - EEFInterpretedTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefCellWidgetDescriptionEClass, EEFCellWidgetDescription.class, "EEFCellWidgetDescription", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - - initEClass(eefAdapterFactoryTreeStructureDescriptionEClass, EEFAdapterFactoryTreeStructureDescription.class, - "EEFAdapterFactoryTreeStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFAdapterFactoryTreeStructureDescription_AdapterFactoryProvider(), ecorePackage.getEString(), "adapterFactoryProvider", //$NON-NLS-1$ - null, 0, 1, EEFAdapterFactoryTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefInterpretedTreeStructureDescriptionEClass, EEFInterpretedTreeStructureDescription.class, - "EEFInterpretedTreeStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFInterpretedTreeStructureDescription_RootsExpression(), theExpressionPackage.getExpression(), "rootsExpression", null, 0, //$NON-NLS-1$ - 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFInterpretedTreeStructureDescription_ChildrenExpression(), theExpressionPackage.getExpression(), "childrenExpression", //$NON-NLS-1$ - null, 0, 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFInterpretedTreeStructureDescription_SelectablePredicateExpression(), theExpressionPackage.getExpression(), - "selectablePredicateExpression", null, 0, 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ - !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFInterpretedTreeStructureDescription_CandidateDisplayExpression(), theExpressionPackage.getExpression(), - "candidateDisplayExpression", null, 0, 1, EEFInterpretedTreeStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ - !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTextDescriptionEClass, EEFTextDescription.class, "EEFTextDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFTextDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTextDescription_EditExpression(), theExpressionPackage.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ - EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTextDescription_ReadOnlyExpression(), theExpressionPackage.getExpression(), "readOnlyExpression", null, 0, 1, //$NON-NLS-1$ - EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTextDescription_ContentAssistExpression(), theExpressionPackage.getExpression(), "contentAssistExpression", null, 0, 1, //$NON-NLS-1$ - EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTextDescription_PlaceholderExpression(), theExpressionPackage.getExpression(), "placeholderExpression", null, 0, 1, //$NON-NLS-1$ - EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTextDescription_LineCount(), ecorePackage.getEInt(), "lineCount", "1", 0, 1, EEFTextDescription.class, !IS_TRANSIENT, //$NON-NLS-1$//$NON-NLS-2$ - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFTextDescription_Style(), this.getEEFTextStyle(), null, "style", null, 0, 1, EEFTextDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ - !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFTextDescription_ConditionalStyles(), this.getEEFTextConditionalStyle(), null, "conditionalStyles", null, 0, -1, //$NON-NLS-1$ - EEFTextDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - - initEClass(eefCheckboxDescriptionEClass, EEFCheckboxDescription.class, "EEFCheckboxDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFCheckboxDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFCheckboxDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFCheckboxDescription_EditExpression(), theExpressionPackage.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ - EEFCheckboxDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefSelectDescriptionEClass, EEFSelectDescription.class, "EEFSelectDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFSelectDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFSelectDescription_EditExpression(), theExpressionPackage.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ - EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFSelectDescription_CandidatesExpression(), theExpressionPackage.getExpression(), "candidatesExpression", null, 0, 1, //$NON-NLS-1$ - EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFSelectDescription_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, EEFSelectDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFSelectDescription_CandidateDisplayExpression(), theExpressionPackage.getExpression(), "candidateDisplayExpression", null, //$NON-NLS-1$ - 0, 1, EEFSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - - initEClass(eefLabelDescriptionEClass, EEFLabelDescription.class, "EEFLabelDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFLabelDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFLabelDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefRadioDescriptionEClass, EEFRadioDescription.class, "EEFRadioDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFRadioDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFRadioDescription_EditExpression(), theExpressionPackage.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ - EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFRadioDescription_CandidatesExpression(), theExpressionPackage.getExpression(), "candidatesExpression", null, 0, 1, //$NON-NLS-1$ - EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFRadioDescription_CandidateDisplayExpression(), theExpressionPackage.getExpression(), "candidateDisplayExpression", null, //$NON-NLS-1$ - 0, 1, EEFRadioDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - - initEClass(eefTreeDialogSelectDescriptionEClass, EEFTreeDialogSelectDescription.class, "EEFTreeDialogSelectDescription", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFTreeDialogSelectDescription_SemanticCandidateExpression(), theExpressionPackage.getExpression(), - "semanticCandidateExpression", null, 0, 1, EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$ - !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTreeDialogSelectDescription_DefaultFilter(), ecorePackage.getEString(), "defaultFilter", "*", 0, 1, //$NON-NLS-1$//$NON-NLS-2$ - EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEAttribute(getEEFTreeDialogSelectDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, //$NON-NLS-1$ - EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEReference(getEEFTreeDialogSelectDescription_Tree(), this.getEEFTreeDescription(), null, "tree", null, 0, 1, //$NON-NLS-1$ - EEFTreeDialogSelectDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefLinkDescriptionEClass, EEFLinkDescription.class, "EEFLinkDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFLinkDescription_OnClickExpression(), theExpressionPackage.getExpression(), "onClickExpression", null, 0, 1, //$NON-NLS-1$ - EEFLinkDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefImageDescriptionEClass, EEFImageDescription.class, "EEFImageDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFImageDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFImageDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTreeDescriptionEClass, EEFTreeDescription.class, "EEFTreeDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFTreeDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFTreeDescription_TreeStructure(), this.getEEFTreeStructureDescription(), null, "treeStructure", null, 0, 1, //$NON-NLS-1$ - EEFTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTreeDescription_EditExpression(), theExpressionPackage.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ - EEFTreeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefImagePickerDescriptionEClass, EEFImagePickerDescription.class, "EEFImagePickerDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFImagePickerDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFImagePickerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEAttribute(getEEFImagePickerDescription_EditExpression(), theExpressionPackage.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ - EEFImagePickerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEAttribute(getEEFImagePickerDescription_CandidatesExpression(), theExpressionPackage.getExpression(), "candidatesExpression", null, 0, 1, //$NON-NLS-1$ - EEFImagePickerDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - - initEClass(eefTableDescriptionEClass, EEFTableDescription.class, "EEFTableDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFTableDescription_ValueExpression(), theExpressionPackage.getExpression(), "valueExpression", null, 0, 1, //$NON-NLS-1$ - EEFTableDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTableDescription_EditExpression(), theExpressionPackage.getExpression(), "editExpression", null, 0, 1, //$NON-NLS-1$ - EEFTableDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFTableDescription_TableStructure(), this.getEEFTableStructureDescription(), null, "tableStructure", null, 0, 1, //$NON-NLS-1$ - EEFTableDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - - initEClass(eefColumnDescriptionEClass, EEFColumnDescription.class, "EEFColumnDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFColumnDescription_Width(), ecorePackage.getEInt(), "width", null, 0, 1, EEFColumnDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFColumnDescription_HeaderExpression(), theExpressionPackage.getExpression(), "headerExpression", null, 0, 1, //$NON-NLS-1$ - EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFColumnDescription_CellWidget(), this.getEEFCellWidgetDescription(), null, "cellWidget", null, 0, 1, //$NON-NLS-1$ - EEFColumnDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - - initEClass(eefLineDescriptionEClass, EEFLineDescription.class, "EEFLineDescription", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFLineDescription_HeaderExpression(), ecorePackage.getEString(), "headerExpression", null, 0, 1, EEFLineDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFLineDescription_SemanticCandidatesExpression(), theExpressionPackage.getExpression(), "semanticCandidatesExpression", //$NON-NLS-1$ - null, 0, 1, EEFLineDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEAttribute(getEEFLineDescription_DomainClass(), this.getTypeName(), "domainClass", null, 0, 1, EEFLineDescription.class, !IS_TRANSIENT, //$NON-NLS-1$ - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFLineDescription_SubLines(), this.getEEFLineDescription(), null, "subLines", null, 0, -1, EEFLineDescription.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTableStructureDescriptionEClass, EEFTableStructureDescription.class, "EEFTableStructureDescription", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFTableStructureDescription_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, //$NON-NLS-1$ - EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEAttribute(getEEFTableStructureDescription_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, //$NON-NLS-1$ - EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEAttribute(getEEFTableStructureDescription_AddExpression(), theExpressionPackage.getExpression(), "addExpression", null, 0, 1, //$NON-NLS-1$ - EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEAttribute(getEEFTableStructureDescription_RemoveExpression(), theExpressionPackage.getExpression(), "removeExpression", null, 0, 1, //$NON-NLS-1$ - EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEAttribute(getEEFTableStructureDescription_UpExpression(), theExpressionPackage.getExpression(), "upExpression", null, 0, 1, //$NON-NLS-1$ - EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEAttribute(getEEFTableStructureDescription_DownExpression(), theExpressionPackage.getExpression(), "downExpression", null, 0, 1, //$NON-NLS-1$ - EEFTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - - initEClass(eefAdapterFactoryTableStructureDescriptionEClass, EEFAdapterFactoryTableStructureDescription.class, - "EEFAdapterFactoryTableStructureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFAdapterFactoryTableStructureDescription_AdapterFactoryProvider(), ecorePackage.getEString(), "adapterFactoryProvider", //$NON-NLS-1$ - null, 0, 1, EEFAdapterFactoryTableStructureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefStyleEClass, EEFStyle.class, "EEFStyle", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFStyle_FontExpression(), theExpressionPackage.getExpression(), "fontExpression", null, 0, 1, EEFStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefConditionalStyleEClass, EEFConditionalStyle.class, "EEFConditionalStyle", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEEFConditionalStyle_ConditionalExpression(), theExpressionPackage.getExpression(), "conditionalExpression", null, 0, 1, //$NON-NLS-1$ - EEFConditionalStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefStyleCustomizationEClass, EEFStyleCustomization.class, "EEFStyleCustomization", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - - initEClass(eefGroupStyleEClass, EEFGroupStyle.class, "EEFGroupStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFGroupStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFGroupStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefGroupConditionalStyleEClass, EEFGroupConditionalStyle.class, "EEFGroupConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFGroupConditionalStyle_Style(), this.getEEFGroupStyle(), null, "style", null, 0, 1, EEFGroupConditionalStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefGroupStyleCustomizationEClass, EEFGroupStyleCustomization.class, "EEFGroupStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFGroupStyleCustomization_Style(), this.getEEFGroupStyle(), null, "style", null, 0, 1, EEFGroupStyleCustomization.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTextStyleEClass, EEFTextStyle.class, "EEFTextStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFTextStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFTextStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFTextStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFTextStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTextConditionalStyleEClass, EEFTextConditionalStyle.class, "EEFTextConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFTextConditionalStyle_Style(), this.getEEFTextStyle(), null, "style", null, 0, 1, EEFTextConditionalStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTextStyleCustomizationEClass, EEFTextStyleCustomization.class, "EEFTextStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFTextStyleCustomization_Style(), this.getEEFTextStyle(), null, "style", null, 0, 1, EEFTextStyleCustomization.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefCheckboxStyleEClass, EEFCheckboxStyle.class, "EEFCheckboxStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFCheckboxStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFCheckboxStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFCheckboxStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFCheckboxStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefCheckboxConditionalStyleEClass, EEFCheckboxConditionalStyle.class, "EEFCheckboxConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFCheckboxConditionalStyle_Style(), this.getEEFCheckboxStyle(), null, "style", null, 0, 1, //$NON-NLS-1$ - EEFCheckboxConditionalStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefCheckboxStyleCustomizationEClass, EEFCheckboxStyleCustomization.class, "EEFCheckboxStyleCustomization", !IS_ABSTRACT, //$NON-NLS-1$ - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFCheckboxStyleCustomization_Style(), this.getEEFCheckboxStyle(), null, "style", null, 0, 1, //$NON-NLS-1$ - EEFCheckboxStyleCustomization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefLabelStyleEClass, EEFLabelStyle.class, "EEFLabelStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFLabelStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFLabelStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFLabelStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFLabelStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefLabelConditionalStyleEClass, EEFLabelConditionalStyle.class, "EEFLabelConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFLabelConditionalStyle_Style(), this.getEEFLabelStyle(), null, "style", null, 0, 1, EEFLabelConditionalStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefLabelStyleCustomizationEClass, EEFLabelStyleCustomization.class, "EEFLabelStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFLabelStyleCustomization_Style(), this.getEEFLabelStyle(), null, "style", null, 0, 1, EEFLabelStyleCustomization.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefRadioStyleEClass, EEFRadioStyle.class, "EEFRadioStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFRadioStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFRadioStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFRadioStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFRadioStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefRadioConditionalStyleEClass, EEFRadioConditionalStyle.class, "EEFRadioConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFRadioConditionalStyle_Style(), this.getEEFRadioStyle(), null, "style", null, 0, 1, EEFRadioConditionalStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefRadioStyleCustomizationEClass, EEFRadioStyleCustomization.class, "EEFRadioStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFRadioStyleCustomization_Style(), this.getEEFRadioStyle(), null, "style", null, 0, 1, EEFRadioStyleCustomization.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefLinkStyleEClass, EEFLinkStyle.class, "EEFLinkStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFLinkStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFLinkStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFLinkStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFLinkStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFLinkStyle_BackgroundImageExpression(), theExpressionPackage.getExpression(), "backgroundImageExpression", null, 0, 1, //$NON-NLS-1$ - EEFLinkStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefLinkConditionalStyleEClass, EEFLinkConditionalStyle.class, "EEFLinkConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFLinkConditionalStyle_Style(), this.getEEFLinkStyle(), null, "style", null, 0, 1, EEFLinkConditionalStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefLinkStyleCustomizationEClass, EEFLinkStyleCustomization.class, "EEFLinkStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFLinkStyleCustomization_Style(), this.getEEFLinkStyle(), null, "style", null, 0, 1, EEFLinkStyleCustomization.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefSelectStyleEClass, EEFSelectStyle.class, "EEFSelectStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFSelectStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFSelectStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFSelectStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFSelectStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefSelectConditionalStyleEClass, EEFSelectConditionalStyle.class, "EEFSelectConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFSelectConditionalStyle_Style(), this.getEEFSelectStyle(), null, "style", null, 0, 1, EEFSelectConditionalStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefSelectStyleCustomizationEClass, EEFSelectStyleCustomization.class, "EEFSelectStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFSelectStyleCustomization_Style(), this.getEEFSelectStyle(), null, "style", null, 0, 1, EEFSelectStyleCustomization.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTreeStyleEClass, EEFTreeStyle.class, "EEFTreeStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - initEClass(eefTreeConditionalStyleEClass, EEFTreeConditionalStyle.class, "EEFTreeConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFTreeConditionalStyle_Style(), this.getEEFTreeStyle(), null, "style", null, 0, 1, EEFTreeConditionalStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTreeStyleCustomizationEClass, EEFTreeStyleCustomization.class, "EEFTreeStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFTreeStyleCustomization_Style(), this.getEEFTreeStyle(), null, "style", null, 0, 1, EEFTreeStyleCustomization.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTableStyleEClass, EEFTableStyle.class, "EEFTableStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - initEClass(eefTableConditionalStyleEClass, EEFTableConditionalStyle.class, "EEFTableConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFTableConditionalStyle_Style(), this.getEEFTableStyle(), null, "style", null, 0, 1, EEFTableConditionalStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefTableStyleCustomizationEClass, EEFTableStyleCustomization.class, "EEFTableStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFTableStyleCustomization_Style(), this.getEEFTableStyle(), null, "style", null, 0, 1, EEFTableStyleCustomization.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefLineStyleEClass, EEFLineStyle.class, "EEFLineStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFLineStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFLineStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFLineStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFLineStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFLineStyle_HeaderBackgroundColorExpression(), theExpressionPackage.getExpression(), "headerBackgroundColorExpression", //$NON-NLS-1$ - null, 0, 1, EEFLineStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEAttribute(getEEFLineStyle_HeaderForegroundColorExpression(), theExpressionPackage.getExpression(), "headerForegroundColorExpression", //$NON-NLS-1$ - null, 0, 1, EEFLineStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - - initEClass(eefLineConditionalStyleEClass, EEFLineConditionalStyle.class, "EEFLineConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFLineConditionalStyle_Style(), this.getEEFLineStyle(), null, "style", null, 0, 1, EEFLineConditionalStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefLineStyleCustomizationEClass, EEFLineStyleCustomization.class, "EEFLineStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFLineStyleCustomization_Style(), this.getEEFLineStyle(), null, "style", null, 0, 1, EEFLineStyleCustomization.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefColumnStyleEClass, EEFColumnStyle.class, "EEFColumnStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFColumnStyle_BackgroundColorExpression(), theExpressionPackage.getExpression(), "backgroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFColumnStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFColumnStyle_ForegroundColorExpression(), theExpressionPackage.getExpression(), "foregroundColorExpression", null, 0, 1, //$NON-NLS-1$ - EEFColumnStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFColumnStyle_HeaderBackgroundColorExpression(), theExpressionPackage.getExpression(), "headerBackgroundColorExpression", //$NON-NLS-1$ - null, 0, 1, EEFColumnStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEAttribute(getEEFColumnStyle_HeaderForegroundColorExpression(), theExpressionPackage.getExpression(), "headerForegroundColorExpression", //$NON-NLS-1$ - null, 0, 1, EEFColumnStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - - initEClass(eefColumnConditionalStyleEClass, EEFColumnConditionalStyle.class, "EEFColumnConditionalStyle", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFColumnConditionalStyle_Style(), this.getEEFColumnStyle(), null, "style", null, 0, 1, EEFColumnConditionalStyle.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefColumnStyleCustomizationEClass, EEFColumnStyleCustomization.class, "EEFColumnStyleCustomization", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ - IS_GENERATED_INSTANCE_CLASS); - initEReference(getEEFColumnStyleCustomization_Style(), this.getEEFColumnStyle(), null, "style", null, 0, 1, EEFColumnStyleCustomization.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefQuickFixEClass, EEFQuickFix.class, "EEFQuickFix", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFQuickFix_TitleExpression(), theExpressionPackage.getExpression(), "titleExpression", null, 0, 1, EEFQuickFix.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFQuickFix_MessageExpression(), theExpressionPackage.getExpression(), "messageExpression", null, 0, 1, EEFQuickFix.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFQuickFix_CanHandleStatusExpression(), theExpressionPackage.getExpression(), "canHandleStatusExpression", null, 0, 1, //$NON-NLS-1$ - EEFQuickFix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEEFQuickFix_FixExpression(), theExpressionPackage.getExpression(), "fixExpression", null, 0, 1, EEFQuickFix.class, //$NON-NLS-1$ - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eefValidationEClass, EEFValidation.class, "EEFValidation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEEFValidation_ValidationExpression(), theExpressionPackage.getExpression(), "validationExpression", null, 0, 1, //$NON-NLS-1$ - EEFValidation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEEFValidation_Quickfixes(), this.getEEFQuickFix(), null, "quickfixes", null, 0, -1, EEFValidation.class, !IS_TRANSIENT, //$NON-NLS-1$ - !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize data types - initEDataType(typeNameEDataType, String.class, "TypeName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, + EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + initEAttribute(getEEFWidgetDescription_LabelExpression(), ecorePackage.getEString(), "labelExpression", null, 0, 1, //$NON-NLS-1$ + EEFWidgetDescription.class, !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, + !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + + initEClass(eefTextDescriptionEClass, EEFTextDescription.class, "EEFTextDescription", !EPackageImpl.IS_ABSTRACT, !EPackageImpl.IS_INTERFACE, //$NON-NLS-1$ + EPackageImpl.IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEEFTextDescription_ValueExpression(), theEcorePackage.getEString(), "valueExpression", null, 0, 1, EEFTextDescription.class, //$NON-NLS-1$ + !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, + EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + initEAttribute(getEEFTextDescription_EditExpression(), theEcorePackage.getEString(), "editExpression", null, 0, 1, EEFTextDescription.class, //$NON-NLS-1$ + !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, + EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); // Create resource - createResource(eNS_URI); + createResource(EefPackage.eNS_URI); } -} //EefPackageImpl +} // EefPackageImpl diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java index 1491716d4..3c9eb1ed0 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefAdapterFactory.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -8,67 +8,66 @@ */ package org.eclipse.eef.util; -import org.eclipse.eef.*; - +import org.eclipse.eef.EEFContainerDescription; +import org.eclipse.eef.EEFGroupDescription; +import org.eclipse.eef.EEFPageDescription; +import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.EEFViewDescription; +import org.eclipse.eef.EEFWidgetDescription; +import org.eclipse.eef.EefPackage; import org.eclipse.emf.common.notify.Adapter; import org.eclipse.emf.common.notify.Notifier; - import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - import org.eclipse.emf.ecore.EObject; /** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * + * The Adapter Factory for the model. It provides an adapter createXXX + * method for each class of the model. + * * @see org.eclipse.eef.EefPackage * @generated */ public class EefAdapterFactory extends AdapterFactoryImpl { /** - * The cached model package. - * - * + * The cached model package. + * * @generated */ protected static EefPackage modelPackage; /** - * Creates an instance of the adapter factory. - * - * + * Creates an instance of the adapter factory. + * * @generated */ public EefAdapterFactory() { - if (modelPackage == null) { - modelPackage = EefPackage.eINSTANCE; + if (EefAdapterFactory.modelPackage == null) { + EefAdapterFactory.modelPackage = EefPackage.eINSTANCE; } } /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * + * Returns whether this factory is applicable for the type of the object. This + * implementation returns true if the object is either the model's package or is an instance object of + * the model. + * * @return whether this factory is applicable for the type of the object. * @generated */ @Override public boolean isFactoryForType(Object object) { - if (object == modelPackage) { + if (object == EefAdapterFactory.modelPackage) { return true; } if (object instanceof EObject) { - return ((EObject) object).eClass().getEPackage() == modelPackage; + return ((EObject) object).eClass().getEPackage() == EefAdapterFactory.modelPackage; } return false; } /** - * The switch that delegates to the createXXX methods. - * - * + * The switch that delegates to the createXXX methods. + * * @generated */ protected EefSwitch modelSwitch = new EefSwitch() { @@ -97,301 +96,11 @@ public class EefAdapterFactory extends AdapterFactoryImpl { return createEEFWidgetDescriptionAdapter(); } - @Override - public Adapter caseEEFJavaExtensionDescription(EEFJavaExtensionDescription object) { - return createEEFJavaExtensionDescriptionAdapter(); - } - - @Override - public Adapter caseEEFTreeStructureDescription(EEFTreeStructureDescription object) { - return createEEFTreeStructureDescriptionAdapter(); - } - - @Override - public Adapter caseEEFInterpretedTableStructureDescription(EEFInterpretedTableStructureDescription object) { - return createEEFInterpretedTableStructureDescriptionAdapter(); - } - - @Override - public Adapter caseEEFCellWidgetDescription(EEFCellWidgetDescription object) { - return createEEFCellWidgetDescriptionAdapter(); - } - - @Override - public Adapter caseEEFAdapterFactoryTreeStructureDescription(EEFAdapterFactoryTreeStructureDescription object) { - return createEEFAdapterFactoryTreeStructureDescriptionAdapter(); - } - - @Override - public Adapter caseEEFInterpretedTreeStructureDescription(EEFInterpretedTreeStructureDescription object) { - return createEEFInterpretedTreeStructureDescriptionAdapter(); - } - @Override public Adapter caseEEFTextDescription(EEFTextDescription object) { return createEEFTextDescriptionAdapter(); } - @Override - public Adapter caseEEFCheckboxDescription(EEFCheckboxDescription object) { - return createEEFCheckboxDescriptionAdapter(); - } - - @Override - public Adapter caseEEFSelectDescription(EEFSelectDescription object) { - return createEEFSelectDescriptionAdapter(); - } - - @Override - public Adapter caseEEFLabelDescription(EEFLabelDescription object) { - return createEEFLabelDescriptionAdapter(); - } - - @Override - public Adapter caseEEFRadioDescription(EEFRadioDescription object) { - return createEEFRadioDescriptionAdapter(); - } - - @Override - public Adapter caseEEFTreeDialogSelectDescription(EEFTreeDialogSelectDescription object) { - return createEEFTreeDialogSelectDescriptionAdapter(); - } - - @Override - public Adapter caseEEFLinkDescription(EEFLinkDescription object) { - return createEEFLinkDescriptionAdapter(); - } - - @Override - public Adapter caseEEFImageDescription(EEFImageDescription object) { - return createEEFImageDescriptionAdapter(); - } - - @Override - public Adapter caseEEFTreeDescription(EEFTreeDescription object) { - return createEEFTreeDescriptionAdapter(); - } - - @Override - public Adapter caseEEFImagePickerDescription(EEFImagePickerDescription object) { - return createEEFImagePickerDescriptionAdapter(); - } - - @Override - public Adapter caseEEFTableDescription(EEFTableDescription object) { - return createEEFTableDescriptionAdapter(); - } - - @Override - public Adapter caseEEFColumnDescription(EEFColumnDescription object) { - return createEEFColumnDescriptionAdapter(); - } - - @Override - public Adapter caseEEFLineDescription(EEFLineDescription object) { - return createEEFLineDescriptionAdapter(); - } - - @Override - public Adapter caseEEFTableStructureDescription(EEFTableStructureDescription object) { - return createEEFTableStructureDescriptionAdapter(); - } - - @Override - public Adapter caseEEFAdapterFactoryTableStructureDescription(EEFAdapterFactoryTableStructureDescription object) { - return createEEFAdapterFactoryTableStructureDescriptionAdapter(); - } - - @Override - public Adapter caseEEFStyle(EEFStyle object) { - return createEEFStyleAdapter(); - } - - @Override - public Adapter caseEEFConditionalStyle(EEFConditionalStyle object) { - return createEEFConditionalStyleAdapter(); - } - - @Override - public Adapter caseEEFStyleCustomization(EEFStyleCustomization object) { - return createEEFStyleCustomizationAdapter(); - } - - @Override - public Adapter caseEEFGroupStyle(EEFGroupStyle object) { - return createEEFGroupStyleAdapter(); - } - - @Override - public Adapter caseEEFGroupConditionalStyle(EEFGroupConditionalStyle object) { - return createEEFGroupConditionalStyleAdapter(); - } - - @Override - public Adapter caseEEFGroupStyleCustomization(EEFGroupStyleCustomization object) { - return createEEFGroupStyleCustomizationAdapter(); - } - - @Override - public Adapter caseEEFTextStyle(EEFTextStyle object) { - return createEEFTextStyleAdapter(); - } - - @Override - public Adapter caseEEFTextConditionalStyle(EEFTextConditionalStyle object) { - return createEEFTextConditionalStyleAdapter(); - } - - @Override - public Adapter caseEEFTextStyleCustomization(EEFTextStyleCustomization object) { - return createEEFTextStyleCustomizationAdapter(); - } - - @Override - public Adapter caseEEFCheckboxStyle(EEFCheckboxStyle object) { - return createEEFCheckboxStyleAdapter(); - } - - @Override - public Adapter caseEEFCheckboxConditionalStyle(EEFCheckboxConditionalStyle object) { - return createEEFCheckboxConditionalStyleAdapter(); - } - - @Override - public Adapter caseEEFCheckboxStyleCustomization(EEFCheckboxStyleCustomization object) { - return createEEFCheckboxStyleCustomizationAdapter(); - } - - @Override - public Adapter caseEEFLabelStyle(EEFLabelStyle object) { - return createEEFLabelStyleAdapter(); - } - - @Override - public Adapter caseEEFLabelConditionalStyle(EEFLabelConditionalStyle object) { - return createEEFLabelConditionalStyleAdapter(); - } - - @Override - public Adapter caseEEFLabelStyleCustomization(EEFLabelStyleCustomization object) { - return createEEFLabelStyleCustomizationAdapter(); - } - - @Override - public Adapter caseEEFRadioStyle(EEFRadioStyle object) { - return createEEFRadioStyleAdapter(); - } - - @Override - public Adapter caseEEFRadioConditionalStyle(EEFRadioConditionalStyle object) { - return createEEFRadioConditionalStyleAdapter(); - } - - @Override - public Adapter caseEEFRadioStyleCustomization(EEFRadioStyleCustomization object) { - return createEEFRadioStyleCustomizationAdapter(); - } - - @Override - public Adapter caseEEFLinkStyle(EEFLinkStyle object) { - return createEEFLinkStyleAdapter(); - } - - @Override - public Adapter caseEEFLinkConditionalStyle(EEFLinkConditionalStyle object) { - return createEEFLinkConditionalStyleAdapter(); - } - - @Override - public Adapter caseEEFLinkStyleCustomization(EEFLinkStyleCustomization object) { - return createEEFLinkStyleCustomizationAdapter(); - } - - @Override - public Adapter caseEEFSelectStyle(EEFSelectStyle object) { - return createEEFSelectStyleAdapter(); - } - - @Override - public Adapter caseEEFSelectConditionalStyle(EEFSelectConditionalStyle object) { - return createEEFSelectConditionalStyleAdapter(); - } - - @Override - public Adapter caseEEFSelectStyleCustomization(EEFSelectStyleCustomization object) { - return createEEFSelectStyleCustomizationAdapter(); - } - - @Override - public Adapter caseEEFTreeStyle(EEFTreeStyle object) { - return createEEFTreeStyleAdapter(); - } - - @Override - public Adapter caseEEFTreeConditionalStyle(EEFTreeConditionalStyle object) { - return createEEFTreeConditionalStyleAdapter(); - } - - @Override - public Adapter caseEEFTreeStyleCustomization(EEFTreeStyleCustomization object) { - return createEEFTreeStyleCustomizationAdapter(); - } - - @Override - public Adapter caseEEFTableStyle(EEFTableStyle object) { - return createEEFTableStyleAdapter(); - } - - @Override - public Adapter caseEEFTableConditionalStyle(EEFTableConditionalStyle object) { - return createEEFTableConditionalStyleAdapter(); - } - - @Override - public Adapter caseEEFTableStyleCustomization(EEFTableStyleCustomization object) { - return createEEFTableStyleCustomizationAdapter(); - } - - @Override - public Adapter caseEEFLineStyle(EEFLineStyle object) { - return createEEFLineStyleAdapter(); - } - - @Override - public Adapter caseEEFLineConditionalStyle(EEFLineConditionalStyle object) { - return createEEFLineConditionalStyleAdapter(); - } - - @Override - public Adapter caseEEFLineStyleCustomization(EEFLineStyleCustomization object) { - return createEEFLineStyleCustomizationAdapter(); - } - - @Override - public Adapter caseEEFColumnStyle(EEFColumnStyle object) { - return createEEFColumnStyleAdapter(); - } - - @Override - public Adapter caseEEFColumnConditionalStyle(EEFColumnConditionalStyle object) { - return createEEFColumnConditionalStyleAdapter(); - } - - @Override - public Adapter caseEEFColumnStyleCustomization(EEFColumnStyleCustomization object) { - return createEEFColumnStyleCustomizationAdapter(); - } - - @Override - public Adapter caseEEFQuickFix(EEFQuickFix object) { - return createEEFQuickFixAdapter(); - } - - @Override - public Adapter caseEEFValidation(EEFValidation object) { - return createEEFValidationAdapter(); - } - @Override public Adapter defaultCase(EObject object) { return createEObjectAdapter(); @@ -399,10 +108,10 @@ public class EefAdapterFactory extends AdapterFactoryImpl { }; /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. + * Creates an adapter for the target. + * + * @param target + * the object to adapt. * @return the adapter for the target. * @generated */ @@ -412,11 +121,11 @@ public class EefAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFViewDescription EEF View Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFViewDescription + * EEF View Description}'. This default implementation returns null so that we can + * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. + * * @return the new adapter. * @see org.eclipse.eef.EEFViewDescription * @generated @@ -426,11 +135,11 @@ public class EefAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFPageDescription EEF Page Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFPageDescription + * EEF Page Description}'. This default implementation returns null so that we can + * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. + * * @return the new adapter. * @see org.eclipse.eef.EEFPageDescription * @generated @@ -440,11 +149,11 @@ public class EefAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFGroupDescription EEF Group Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFGroupDescription + * EEF Group Description}'. This default implementation returns null so that we can + * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. + * * @return the new adapter. * @see org.eclipse.eef.EEFGroupDescription * @generated @@ -454,11 +163,11 @@ public class EefAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFContainerDescription EEF Container Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFContainerDescription + * EEF Container Description}'. This default implementation returns null so that we + * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. + * * @return the new adapter. * @see org.eclipse.eef.EEFContainerDescription * @generated @@ -468,11 +177,11 @@ public class EefAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFWidgetDescription EEF Widget Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFWidgetDescription + * EEF Widget Description}'. This default implementation returns null so that we + * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. + * * @return the new adapter. * @see org.eclipse.eef.EEFWidgetDescription * @generated @@ -482,95 +191,11 @@ public class EefAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFJavaExtensionDescription EEF Java Extension Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFJavaExtensionDescription - * @generated - */ - public Adapter createEEFJavaExtensionDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTreeStructureDescription EEF Tree Structure Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFTreeStructureDescription - * @generated - */ - public Adapter createEEFTreeStructureDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFInterpretedTableStructureDescription EEF Interpreted Table Structure Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFInterpretedTableStructureDescription - * @generated - */ - public Adapter createEEFInterpretedTableStructureDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFCellWidgetDescription EEF Cell Widget Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFCellWidgetDescription - * @generated - */ - public Adapter createEEFCellWidgetDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription EEF Adapter Factory Tree Structure Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFAdapterFactoryTreeStructureDescription - * @generated - */ - public Adapter createEEFAdapterFactoryTreeStructureDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFInterpretedTreeStructureDescription EEF Interpreted Tree Structure Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFInterpretedTreeStructureDescription - * @generated - */ - public Adapter createEEFInterpretedTreeStructureDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTextDescription EEF Text Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * + * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTextDescription + * EEF Text Description}'. This default implementation returns null so that we can + * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. + * * @return the new adapter. * @see org.eclipse.eef.EEFTextDescription * @generated @@ -580,738 +205,9 @@ public class EefAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFCheckboxDescription EEF Checkbox Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFCheckboxDescription - * @generated - */ - public Adapter createEEFCheckboxDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFSelectDescription EEF Select Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFSelectDescription - * @generated - */ - public Adapter createEEFSelectDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLabelDescription EEF Label Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFLabelDescription - * @generated - */ - public Adapter createEEFLabelDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFRadioDescription EEF Radio Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFRadioDescription - * @generated - */ - public Adapter createEEFRadioDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTreeDialogSelectDescription EEF Tree Dialog Select Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFTreeDialogSelectDescription - * @generated - */ - public Adapter createEEFTreeDialogSelectDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLinkDescription EEF Link Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFLinkDescription - * @generated - */ - public Adapter createEEFLinkDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFImageDescription EEF Image Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFImageDescription - * @generated - */ - public Adapter createEEFImageDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTreeDescription EEF Tree Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFTreeDescription - * @generated - */ - public Adapter createEEFTreeDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFImagePickerDescription EEF Image Picker Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFImagePickerDescription - * @generated - */ - public Adapter createEEFImagePickerDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTableDescription EEF Table Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFTableDescription - * @generated - */ - public Adapter createEEFTableDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFColumnDescription EEF Column Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFColumnDescription - * @generated - */ - public Adapter createEEFColumnDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLineDescription EEF Line Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFLineDescription - * @generated - */ - public Adapter createEEFLineDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTableStructureDescription EEF Table Structure Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFTableStructureDescription - * @generated - */ - public Adapter createEEFTableStructureDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFAdapterFactoryTableStructureDescription EEF Adapter Factory Table Structure Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFAdapterFactoryTableStructureDescription - * @generated - */ - public Adapter createEEFAdapterFactoryTableStructureDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFStyle EEF Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFStyle - * @generated - */ - public Adapter createEEFStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFConditionalStyle EEF Conditional Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFConditionalStyle - * @generated - */ - public Adapter createEEFConditionalStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFStyleCustomization EEF Style Customization}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFStyleCustomization - * @generated - */ - public Adapter createEEFStyleCustomizationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFGroupStyle EEF Group Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFGroupStyle - * @generated - */ - public Adapter createEEFGroupStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFGroupConditionalStyle EEF Group Conditional Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFGroupConditionalStyle - * @generated - */ - public Adapter createEEFGroupConditionalStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFGroupStyleCustomization EEF Group Style Customization}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFGroupStyleCustomization - * @generated - */ - public Adapter createEEFGroupStyleCustomizationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTextStyle EEF Text Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFTextStyle - * @generated - */ - public Adapter createEEFTextStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTextConditionalStyle EEF Text Conditional Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFTextConditionalStyle - * @generated - */ - public Adapter createEEFTextConditionalStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTextStyleCustomization EEF Text Style Customization}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFTextStyleCustomization - * @generated - */ - public Adapter createEEFTextStyleCustomizationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFCheckboxStyle EEF Checkbox Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFCheckboxStyle - * @generated - */ - public Adapter createEEFCheckboxStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFCheckboxConditionalStyle EEF Checkbox Conditional Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFCheckboxConditionalStyle - * @generated - */ - public Adapter createEEFCheckboxConditionalStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFCheckboxStyleCustomization EEF Checkbox Style Customization}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFCheckboxStyleCustomization - * @generated - */ - public Adapter createEEFCheckboxStyleCustomizationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLabelStyle EEF Label Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFLabelStyle - * @generated - */ - public Adapter createEEFLabelStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLabelConditionalStyle EEF Label Conditional Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFLabelConditionalStyle - * @generated - */ - public Adapter createEEFLabelConditionalStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLabelStyleCustomization EEF Label Style Customization}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFLabelStyleCustomization - * @generated - */ - public Adapter createEEFLabelStyleCustomizationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFRadioStyle EEF Radio Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFRadioStyle - * @generated - */ - public Adapter createEEFRadioStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFRadioConditionalStyle EEF Radio Conditional Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFRadioConditionalStyle - * @generated - */ - public Adapter createEEFRadioConditionalStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFRadioStyleCustomization EEF Radio Style Customization}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFRadioStyleCustomization - * @generated - */ - public Adapter createEEFRadioStyleCustomizationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLinkStyle EEF Link Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFLinkStyle - * @generated - */ - public Adapter createEEFLinkStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLinkConditionalStyle EEF Link Conditional Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFLinkConditionalStyle - * @generated - */ - public Adapter createEEFLinkConditionalStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLinkStyleCustomization EEF Link Style Customization}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFLinkStyleCustomization - * @generated - */ - public Adapter createEEFLinkStyleCustomizationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFSelectStyle EEF Select Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFSelectStyle - * @generated - */ - public Adapter createEEFSelectStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFSelectConditionalStyle EEF Select Conditional Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFSelectConditionalStyle - * @generated - */ - public Adapter createEEFSelectConditionalStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFSelectStyleCustomization EEF Select Style Customization}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFSelectStyleCustomization - * @generated - */ - public Adapter createEEFSelectStyleCustomizationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTreeStyle EEF Tree Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFTreeStyle - * @generated - */ - public Adapter createEEFTreeStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTreeConditionalStyle EEF Tree Conditional Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFTreeConditionalStyle - * @generated - */ - public Adapter createEEFTreeConditionalStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTreeStyleCustomization EEF Tree Style Customization}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFTreeStyleCustomization - * @generated - */ - public Adapter createEEFTreeStyleCustomizationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTableStyle EEF Table Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFTableStyle - * @generated - */ - public Adapter createEEFTableStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTableConditionalStyle EEF Table Conditional Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFTableConditionalStyle - * @generated - */ - public Adapter createEEFTableConditionalStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFTableStyleCustomization EEF Table Style Customization}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFTableStyleCustomization - * @generated - */ - public Adapter createEEFTableStyleCustomizationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLineStyle EEF Line Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFLineStyle - * @generated - */ - public Adapter createEEFLineStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLineConditionalStyle EEF Line Conditional Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFLineConditionalStyle - * @generated - */ - public Adapter createEEFLineConditionalStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFLineStyleCustomization EEF Line Style Customization}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFLineStyleCustomization - * @generated - */ - public Adapter createEEFLineStyleCustomizationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFColumnStyle EEF Column Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFColumnStyle - * @generated - */ - public Adapter createEEFColumnStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFColumnConditionalStyle EEF Column Conditional Style}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFColumnConditionalStyle - * @generated - */ - public Adapter createEEFColumnConditionalStyleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFColumnStyleCustomization EEF Column Style Customization}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFColumnStyleCustomization - * @generated - */ - public Adapter createEEFColumnStyleCustomizationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFQuickFix EEF Quick Fix}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFQuickFix - * @generated - */ - public Adapter createEEFQuickFixAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.eef.EEFValidation EEF Validation}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.eef.EEFValidation - * @generated - */ - public Adapter createEEFValidationAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. + * Creates a new adapter for the default case. This default implementation returns null. * + * * @return the new adapter. * @generated */ @@ -1319,4 +215,4 @@ public class EefAdapterFactory extends AdapterFactoryImpl { return null; } -} //EefAdapterFactory +} // EefAdapterFactory diff --git a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java index 0c998edae..7369bda53 100644 --- a/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java +++ b/plugins/org.eclipse.eef/src-gen/org/eclipse/eef/util/EefSwitch.java @@ -1,6 +1,6 @@ /** * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm @@ -8,64 +8,62 @@ */ package org.eclipse.eef.util; -import org.eclipse.eef.*; - +import org.eclipse.eef.EEFContainerDescription; +import org.eclipse.eef.EEFGroupDescription; +import org.eclipse.eef.EEFPageDescription; +import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.EEFViewDescription; +import org.eclipse.eef.EEFWidgetDescription; +import org.eclipse.eef.EefPackage; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; - import org.eclipse.emf.ecore.util.Switch; /** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * + * The Switch for the model's inheritance hierarchy. It supports the call + * {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is + * returned, which is the result of the switch. + * * @see org.eclipse.eef.EefPackage * @generated */ public class EefSwitch extends Switch { /** - * The cached model package - * - * + * The cached model package + * * @generated */ protected static EefPackage modelPackage; /** - * Creates an instance of the switch. - * - * + * Creates an instance of the switch. + * * @generated */ public EefSwitch() { - if (modelPackage == null) { - modelPackage = EefPackage.eINSTANCE; + if (EefSwitch.modelPackage == null) { + EefSwitch.modelPackage = EefPackage.eINSTANCE; } } /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. + * Checks whether this is a switch for the given package. + * + * @param ePackage + * the package in question. * @return whether this is a switch for the given package. * @generated */ @Override protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; + return ePackage == EefSwitch.modelPackage; } /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * + * Calls caseXXX for each class of the model until one returns a non null result; it yields that + * result. + * * @return the first non-null result returned by a caseXXX call. * @generated */ @@ -75,561 +73,52 @@ public class EefSwitch extends Switch { case EefPackage.EEF_VIEW_DESCRIPTION: { EEFViewDescription eefViewDescription = (EEFViewDescription) theEObject; T result = caseEEFViewDescription(eefViewDescription); - if (result == null) + if (result == null) { result = defaultCase(theEObject); + } return result; } case EefPackage.EEF_PAGE_DESCRIPTION: { EEFPageDescription eefPageDescription = (EEFPageDescription) theEObject; T result = caseEEFPageDescription(eefPageDescription); - if (result == null) + if (result == null) { result = defaultCase(theEObject); + } return result; } case EefPackage.EEF_GROUP_DESCRIPTION: { EEFGroupDescription eefGroupDescription = (EEFGroupDescription) theEObject; T result = caseEEFGroupDescription(eefGroupDescription); - if (result == null) + if (result == null) { result = defaultCase(theEObject); + } return result; } case EefPackage.EEF_CONTAINER_DESCRIPTION: { EEFContainerDescription eefContainerDescription = (EEFContainerDescription) theEObject; T result = caseEEFContainerDescription(eefContainerDescription); - if (result == null) + if (result == null) { result = defaultCase(theEObject); + } return result; } case EefPackage.EEF_WIDGET_DESCRIPTION: { EEFWidgetDescription eefWidgetDescription = (EEFWidgetDescription) theEObject; T result = caseEEFWidgetDescription(eefWidgetDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_JAVA_EXTENSION_DESCRIPTION: { - EEFJavaExtensionDescription eefJavaExtensionDescription = (EEFJavaExtensionDescription) theEObject; - T result = caseEEFJavaExtensionDescription(eefJavaExtensionDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TREE_STRUCTURE_DESCRIPTION: { - EEFTreeStructureDescription eefTreeStructureDescription = (EEFTreeStructureDescription) theEObject; - T result = caseEEFTreeStructureDescription(eefTreeStructureDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_INTERPRETED_TABLE_STRUCTURE_DESCRIPTION: { - EEFInterpretedTableStructureDescription eefInterpretedTableStructureDescription = (EEFInterpretedTableStructureDescription) theEObject; - T result = caseEEFInterpretedTableStructureDescription(eefInterpretedTableStructureDescription); - if (result == null) - result = caseEEFTableStructureDescription(eefInterpretedTableStructureDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_CELL_WIDGET_DESCRIPTION: { - EEFCellWidgetDescription eefCellWidgetDescription = (EEFCellWidgetDescription) theEObject; - T result = caseEEFCellWidgetDescription(eefCellWidgetDescription); - if (result == null) - result = caseEEFWidgetDescription(eefCellWidgetDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_ADAPTER_FACTORY_TREE_STRUCTURE_DESCRIPTION: { - EEFAdapterFactoryTreeStructureDescription eefAdapterFactoryTreeStructureDescription = (EEFAdapterFactoryTreeStructureDescription) theEObject; - T result = caseEEFAdapterFactoryTreeStructureDescription(eefAdapterFactoryTreeStructureDescription); - if (result == null) - result = caseEEFTreeStructureDescription(eefAdapterFactoryTreeStructureDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_INTERPRETED_TREE_STRUCTURE_DESCRIPTION: { - EEFInterpretedTreeStructureDescription eefInterpretedTreeStructureDescription = (EEFInterpretedTreeStructureDescription) theEObject; - T result = caseEEFInterpretedTreeStructureDescription(eefInterpretedTreeStructureDescription); - if (result == null) - result = caseEEFTreeStructureDescription(eefInterpretedTreeStructureDescription); - if (result == null) + if (result == null) { result = defaultCase(theEObject); + } return result; } case EefPackage.EEF_TEXT_DESCRIPTION: { EEFTextDescription eefTextDescription = (EEFTextDescription) theEObject; T result = caseEEFTextDescription(eefTextDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefTextDescription); - if (result == null) + if (result == null) { result = caseEEFWidgetDescription(eefTextDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_CHECKBOX_DESCRIPTION: { - EEFCheckboxDescription eefCheckboxDescription = (EEFCheckboxDescription) theEObject; - T result = caseEEFCheckboxDescription(eefCheckboxDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefCheckboxDescription); - if (result == null) - result = caseEEFWidgetDescription(eefCheckboxDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_SELECT_DESCRIPTION: { - EEFSelectDescription eefSelectDescription = (EEFSelectDescription) theEObject; - T result = caseEEFSelectDescription(eefSelectDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefSelectDescription); - if (result == null) - result = caseEEFWidgetDescription(eefSelectDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_LABEL_DESCRIPTION: { - EEFLabelDescription eefLabelDescription = (EEFLabelDescription) theEObject; - T result = caseEEFLabelDescription(eefLabelDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefLabelDescription); - if (result == null) - result = caseEEFWidgetDescription(eefLabelDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_RADIO_DESCRIPTION: { - EEFRadioDescription eefRadioDescription = (EEFRadioDescription) theEObject; - T result = caseEEFRadioDescription(eefRadioDescription); - if (result == null) - result = caseEEFWidgetDescription(eefRadioDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TREE_DIALOG_SELECT_DESCRIPTION: { - EEFTreeDialogSelectDescription eefTreeDialogSelectDescription = (EEFTreeDialogSelectDescription) theEObject; - T result = caseEEFTreeDialogSelectDescription(eefTreeDialogSelectDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefTreeDialogSelectDescription); - if (result == null) - result = caseEEFWidgetDescription(eefTreeDialogSelectDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_LINK_DESCRIPTION: { - EEFLinkDescription eefLinkDescription = (EEFLinkDescription) theEObject; - T result = caseEEFLinkDescription(eefLinkDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefLinkDescription); - if (result == null) - result = caseEEFWidgetDescription(eefLinkDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_IMAGE_DESCRIPTION: { - EEFImageDescription eefImageDescription = (EEFImageDescription) theEObject; - T result = caseEEFImageDescription(eefImageDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefImageDescription); - if (result == null) - result = caseEEFWidgetDescription(eefImageDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TREE_DESCRIPTION: { - EEFTreeDescription eefTreeDescription = (EEFTreeDescription) theEObject; - T result = caseEEFTreeDescription(eefTreeDescription); - if (result == null) - result = caseEEFCellWidgetDescription(eefTreeDescription); - if (result == null) - result = caseEEFWidgetDescription(eefTreeDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_IMAGE_PICKER_DESCRIPTION: { - EEFImagePickerDescription eefImagePickerDescription = (EEFImagePickerDescription) theEObject; - T result = caseEEFImagePickerDescription(eefImagePickerDescription); - if (result == null) - result = caseEEFWidgetDescription(eefImagePickerDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TABLE_DESCRIPTION: { - EEFTableDescription eefTableDescription = (EEFTableDescription) theEObject; - T result = caseEEFTableDescription(eefTableDescription); - if (result == null) - result = caseEEFWidgetDescription(eefTableDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_COLUMN_DESCRIPTION: { - EEFColumnDescription eefColumnDescription = (EEFColumnDescription) theEObject; - T result = caseEEFColumnDescription(eefColumnDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_LINE_DESCRIPTION: { - EEFLineDescription eefLineDescription = (EEFLineDescription) theEObject; - T result = caseEEFLineDescription(eefLineDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TABLE_STRUCTURE_DESCRIPTION: { - EEFTableStructureDescription eefTableStructureDescription = (EEFTableStructureDescription) theEObject; - T result = caseEEFTableStructureDescription(eefTableStructureDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_ADAPTER_FACTORY_TABLE_STRUCTURE_DESCRIPTION: { - EEFAdapterFactoryTableStructureDescription eefAdapterFactoryTableStructureDescription = (EEFAdapterFactoryTableStructureDescription) theEObject; - T result = caseEEFAdapterFactoryTableStructureDescription(eefAdapterFactoryTableStructureDescription); - if (result == null) - result = caseEEFTableStructureDescription(eefAdapterFactoryTableStructureDescription); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_STYLE: { - EEFStyle eefStyle = (EEFStyle) theEObject; - T result = caseEEFStyle(eefStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_CONDITIONAL_STYLE: { - EEFConditionalStyle eefConditionalStyle = (EEFConditionalStyle) theEObject; - T result = caseEEFConditionalStyle(eefConditionalStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_STYLE_CUSTOMIZATION: { - EEFStyleCustomization eefStyleCustomization = (EEFStyleCustomization) theEObject; - T result = caseEEFStyleCustomization(eefStyleCustomization); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_GROUP_STYLE: { - EEFGroupStyle eefGroupStyle = (EEFGroupStyle) theEObject; - T result = caseEEFGroupStyle(eefGroupStyle); - if (result == null) - result = caseEEFStyle(eefGroupStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_GROUP_CONDITIONAL_STYLE: { - EEFGroupConditionalStyle eefGroupConditionalStyle = (EEFGroupConditionalStyle) theEObject; - T result = caseEEFGroupConditionalStyle(eefGroupConditionalStyle); - if (result == null) - result = caseEEFConditionalStyle(eefGroupConditionalStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_GROUP_STYLE_CUSTOMIZATION: { - EEFGroupStyleCustomization eefGroupStyleCustomization = (EEFGroupStyleCustomization) theEObject; - T result = caseEEFGroupStyleCustomization(eefGroupStyleCustomization); - if (result == null) - result = caseEEFStyleCustomization(eefGroupStyleCustomization); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TEXT_STYLE: { - EEFTextStyle eefTextStyle = (EEFTextStyle) theEObject; - T result = caseEEFTextStyle(eefTextStyle); - if (result == null) - result = caseEEFStyle(eefTextStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TEXT_CONDITIONAL_STYLE: { - EEFTextConditionalStyle eefTextConditionalStyle = (EEFTextConditionalStyle) theEObject; - T result = caseEEFTextConditionalStyle(eefTextConditionalStyle); - if (result == null) - result = caseEEFConditionalStyle(eefTextConditionalStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TEXT_STYLE_CUSTOMIZATION: { - EEFTextStyleCustomization eefTextStyleCustomization = (EEFTextStyleCustomization) theEObject; - T result = caseEEFTextStyleCustomization(eefTextStyleCustomization); - if (result == null) - result = caseEEFStyleCustomization(eefTextStyleCustomization); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_CHECKBOX_STYLE: { - EEFCheckboxStyle eefCheckboxStyle = (EEFCheckboxStyle) theEObject; - T result = caseEEFCheckboxStyle(eefCheckboxStyle); - if (result == null) - result = caseEEFStyle(eefCheckboxStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_CHECKBOX_CONDITIONAL_STYLE: { - EEFCheckboxConditionalStyle eefCheckboxConditionalStyle = (EEFCheckboxConditionalStyle) theEObject; - T result = caseEEFCheckboxConditionalStyle(eefCheckboxConditionalStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_CHECKBOX_STYLE_CUSTOMIZATION: { - EEFCheckboxStyleCustomization eefCheckboxStyleCustomization = (EEFCheckboxStyleCustomization) theEObject; - T result = caseEEFCheckboxStyleCustomization(eefCheckboxStyleCustomization); - if (result == null) - result = caseEEFStyleCustomization(eefCheckboxStyleCustomization); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_LABEL_STYLE: { - EEFLabelStyle eefLabelStyle = (EEFLabelStyle) theEObject; - T result = caseEEFLabelStyle(eefLabelStyle); - if (result == null) - result = caseEEFStyle(eefLabelStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_LABEL_CONDITIONAL_STYLE: { - EEFLabelConditionalStyle eefLabelConditionalStyle = (EEFLabelConditionalStyle) theEObject; - T result = caseEEFLabelConditionalStyle(eefLabelConditionalStyle); - if (result == null) - result = caseEEFConditionalStyle(eefLabelConditionalStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_LABEL_STYLE_CUSTOMIZATION: { - EEFLabelStyleCustomization eefLabelStyleCustomization = (EEFLabelStyleCustomization) theEObject; - T result = caseEEFLabelStyleCustomization(eefLabelStyleCustomization); - if (result == null) - result = caseEEFStyleCustomization(eefLabelStyleCustomization); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_RADIO_STYLE: { - EEFRadioStyle eefRadioStyle = (EEFRadioStyle) theEObject; - T result = caseEEFRadioStyle(eefRadioStyle); - if (result == null) - result = caseEEFStyle(eefRadioStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_RADIO_CONDITIONAL_STYLE: { - EEFRadioConditionalStyle eefRadioConditionalStyle = (EEFRadioConditionalStyle) theEObject; - T result = caseEEFRadioConditionalStyle(eefRadioConditionalStyle); - if (result == null) - result = caseEEFConditionalStyle(eefRadioConditionalStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_RADIO_STYLE_CUSTOMIZATION: { - EEFRadioStyleCustomization eefRadioStyleCustomization = (EEFRadioStyleCustomization) theEObject; - T result = caseEEFRadioStyleCustomization(eefRadioStyleCustomization); - if (result == null) - result = caseEEFStyleCustomization(eefRadioStyleCustomization); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_LINK_STYLE: { - EEFLinkStyle eefLinkStyle = (EEFLinkStyle) theEObject; - T result = caseEEFLinkStyle(eefLinkStyle); - if (result == null) - result = caseEEFStyle(eefLinkStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_LINK_CONDITIONAL_STYLE: { - EEFLinkConditionalStyle eefLinkConditionalStyle = (EEFLinkConditionalStyle) theEObject; - T result = caseEEFLinkConditionalStyle(eefLinkConditionalStyle); - if (result == null) - result = caseEEFConditionalStyle(eefLinkConditionalStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_LINK_STYLE_CUSTOMIZATION: { - EEFLinkStyleCustomization eefLinkStyleCustomization = (EEFLinkStyleCustomization) theEObject; - T result = caseEEFLinkStyleCustomization(eefLinkStyleCustomization); - if (result == null) - result = caseEEFStyleCustomization(eefLinkStyleCustomization); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_SELECT_STYLE: { - EEFSelectStyle eefSelectStyle = (EEFSelectStyle) theEObject; - T result = caseEEFSelectStyle(eefSelectStyle); - if (result == null) - result = caseEEFStyle(eefSelectStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_SELECT_CONDITIONAL_STYLE: { - EEFSelectConditionalStyle eefSelectConditionalStyle = (EEFSelectConditionalStyle) theEObject; - T result = caseEEFSelectConditionalStyle(eefSelectConditionalStyle); - if (result == null) - result = caseEEFConditionalStyle(eefSelectConditionalStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_SELECT_STYLE_CUSTOMIZATION: { - EEFSelectStyleCustomization eefSelectStyleCustomization = (EEFSelectStyleCustomization) theEObject; - T result = caseEEFSelectStyleCustomization(eefSelectStyleCustomization); - if (result == null) - result = caseEEFStyleCustomization(eefSelectStyleCustomization); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TREE_STYLE: { - EEFTreeStyle eefTreeStyle = (EEFTreeStyle) theEObject; - T result = caseEEFTreeStyle(eefTreeStyle); - if (result == null) - result = caseEEFStyle(eefTreeStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TREE_CONDITIONAL_STYLE: { - EEFTreeConditionalStyle eefTreeConditionalStyle = (EEFTreeConditionalStyle) theEObject; - T result = caseEEFTreeConditionalStyle(eefTreeConditionalStyle); - if (result == null) - result = caseEEFConditionalStyle(eefTreeConditionalStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TREE_STYLE_CUSTOMIZATION: { - EEFTreeStyleCustomization eefTreeStyleCustomization = (EEFTreeStyleCustomization) theEObject; - T result = caseEEFTreeStyleCustomization(eefTreeStyleCustomization); - if (result == null) - result = caseEEFStyleCustomization(eefTreeStyleCustomization); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TABLE_STYLE: { - EEFTableStyle eefTableStyle = (EEFTableStyle) theEObject; - T result = caseEEFTableStyle(eefTableStyle); - if (result == null) - result = caseEEFStyle(eefTableStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TABLE_CONDITIONAL_STYLE: { - EEFTableConditionalStyle eefTableConditionalStyle = (EEFTableConditionalStyle) theEObject; - T result = caseEEFTableConditionalStyle(eefTableConditionalStyle); - if (result == null) - result = caseEEFConditionalStyle(eefTableConditionalStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_TABLE_STYLE_CUSTOMIZATION: { - EEFTableStyleCustomization eefTableStyleCustomization = (EEFTableStyleCustomization) theEObject; - T result = caseEEFTableStyleCustomization(eefTableStyleCustomization); - if (result == null) - result = caseEEFStyleCustomization(eefTableStyleCustomization); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_LINE_STYLE: { - EEFLineStyle eefLineStyle = (EEFLineStyle) theEObject; - T result = caseEEFLineStyle(eefLineStyle); - if (result == null) - result = caseEEFStyle(eefLineStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_LINE_CONDITIONAL_STYLE: { - EEFLineConditionalStyle eefLineConditionalStyle = (EEFLineConditionalStyle) theEObject; - T result = caseEEFLineConditionalStyle(eefLineConditionalStyle); - if (result == null) - result = caseEEFConditionalStyle(eefLineConditionalStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_LINE_STYLE_CUSTOMIZATION: { - EEFLineStyleCustomization eefLineStyleCustomization = (EEFLineStyleCustomization) theEObject; - T result = caseEEFLineStyleCustomization(eefLineStyleCustomization); - if (result == null) - result = caseEEFStyleCustomization(eefLineStyleCustomization); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_COLUMN_STYLE: { - EEFColumnStyle eefColumnStyle = (EEFColumnStyle) theEObject; - T result = caseEEFColumnStyle(eefColumnStyle); - if (result == null) - result = caseEEFStyle(eefColumnStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_COLUMN_CONDITIONAL_STYLE: { - EEFColumnConditionalStyle eefColumnConditionalStyle = (EEFColumnConditionalStyle) theEObject; - T result = caseEEFColumnConditionalStyle(eefColumnConditionalStyle); - if (result == null) - result = caseEEFConditionalStyle(eefColumnConditionalStyle); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_COLUMN_STYLE_CUSTOMIZATION: { - EEFColumnStyleCustomization eefColumnStyleCustomization = (EEFColumnStyleCustomization) theEObject; - T result = caseEEFColumnStyleCustomization(eefColumnStyleCustomization); - if (result == null) - result = caseEEFStyleCustomization(eefColumnStyleCustomization); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_QUICK_FIX: { - EEFQuickFix eefQuickFix = (EEFQuickFix) theEObject; - T result = caseEEFQuickFix(eefQuickFix); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case EefPackage.EEF_VALIDATION: { - EEFValidation eefValidation = (EEFValidation) theEObject; - T result = caseEEFValidation(eefValidation); - if (result == null) + } + if (result == null) { result = defaultCase(theEObject); + } return result; } default: @@ -638,12 +127,12 @@ public class EefSwitch extends Switch { } /** - * Returns the result of interpreting the object as an instance of 'EEF View Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. + * Returns the result of interpreting the object as an instance of 'EEF View Description'. This implementation returns null; returning a non-null result will terminate the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'EEF View Description'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -653,12 +142,12 @@ public class EefSwitch extends Switch { } /** - * Returns the result of interpreting the object as an instance of 'EEF Page Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. + * Returns the result of interpreting the object as an instance of 'EEF Page Description'. This implementation returns null; returning a non-null result will terminate the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'EEF Page Description'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -668,12 +157,12 @@ public class EefSwitch extends Switch { } /** - * Returns the result of interpreting the object as an instance of 'EEF Group Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. + * Returns the result of interpreting the object as an instance of 'EEF Group Description'. This implementation returns null; returning a non-null result will terminate the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'EEF Group Description'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -683,12 +172,12 @@ public class EefSwitch extends Switch { } /** - * Returns the result of interpreting the object as an instance of 'EEF Container Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. + * Returns the result of interpreting the object as an instance of 'EEF Container Description'. This implementation returns null; returning a non-null result will terminate the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'EEF Container Description'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -698,12 +187,12 @@ public class EefSwitch extends Switch { } /** - * Returns the result of interpreting the object as an instance of 'EEF Widget Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. + * Returns the result of interpreting the object as an instance of 'EEF Widget Description'. This implementation returns null; returning a non-null result will terminate the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'EEF Widget Description'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -713,102 +202,12 @@ public class EefSwitch extends Switch { } /** - * Returns the result of interpreting the object as an instance of 'EEF Java Extension Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Java Extension Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFJavaExtensionDescription(EEFJavaExtensionDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Tree Structure Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Tree Structure Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTreeStructureDescription(EEFTreeStructureDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Interpreted Table Structure Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Interpreted Table Structure Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFInterpretedTableStructureDescription(EEFInterpretedTableStructureDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Cell Widget Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Cell Widget Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFCellWidgetDescription(EEFCellWidgetDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Adapter Factory Tree Structure Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Adapter Factory Tree Structure Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFAdapterFactoryTreeStructureDescription(EEFAdapterFactoryTreeStructureDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Interpreted Tree Structure Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Interpreted Tree Structure Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFInterpretedTreeStructureDescription(EEFInterpretedTreeStructureDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Text Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. + * Returns the result of interpreting the object as an instance of 'EEF Text Description'. This implementation returns null; returning a non-null result will terminate the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'EEF Text Description'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -818,792 +217,12 @@ public class EefSwitch extends Switch { } /** - * Returns the result of interpreting the object as an instance of 'EEF Checkbox Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Checkbox Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFCheckboxDescription(EEFCheckboxDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Select Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Select Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFSelectDescription(EEFSelectDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Label Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Label Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFLabelDescription(EEFLabelDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Radio Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Radio Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFRadioDescription(EEFRadioDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Tree Dialog Select Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Tree Dialog Select Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTreeDialogSelectDescription(EEFTreeDialogSelectDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Link Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Link Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFLinkDescription(EEFLinkDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Image Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Image Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFImageDescription(EEFImageDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Tree Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Tree Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTreeDescription(EEFTreeDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Image Picker Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Image Picker Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFImagePickerDescription(EEFImagePickerDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Table Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Table Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTableDescription(EEFTableDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Column Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Column Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFColumnDescription(EEFColumnDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Line Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Line Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFLineDescription(EEFLineDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Table Structure Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Table Structure Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTableStructureDescription(EEFTableStructureDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Adapter Factory Table Structure Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Adapter Factory Table Structure Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFAdapterFactoryTableStructureDescription(EEFAdapterFactoryTableStructureDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFStyle(EEFStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Conditional Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Conditional Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFConditionalStyle(EEFConditionalStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Style Customization'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Style Customization'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFStyleCustomization(EEFStyleCustomization object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Group Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Group Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFGroupStyle(EEFGroupStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Group Conditional Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Group Conditional Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFGroupConditionalStyle(EEFGroupConditionalStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Group Style Customization'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Group Style Customization'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFGroupStyleCustomization(EEFGroupStyleCustomization object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Text Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Text Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTextStyle(EEFTextStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Text Conditional Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Text Conditional Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTextConditionalStyle(EEFTextConditionalStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Text Style Customization'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Text Style Customization'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTextStyleCustomization(EEFTextStyleCustomization object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Checkbox Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Checkbox Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFCheckboxStyle(EEFCheckboxStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Checkbox Conditional Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Checkbox Conditional Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFCheckboxConditionalStyle(EEFCheckboxConditionalStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Checkbox Style Customization'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Checkbox Style Customization'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFCheckboxStyleCustomization(EEFCheckboxStyleCustomization object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Label Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Label Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFLabelStyle(EEFLabelStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Label Conditional Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Label Conditional Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFLabelConditionalStyle(EEFLabelConditionalStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Label Style Customization'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Label Style Customization'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFLabelStyleCustomization(EEFLabelStyleCustomization object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Radio Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Radio Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFRadioStyle(EEFRadioStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Radio Conditional Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Radio Conditional Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFRadioConditionalStyle(EEFRadioConditionalStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Radio Style Customization'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Radio Style Customization'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFRadioStyleCustomization(EEFRadioStyleCustomization object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Link Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Link Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFLinkStyle(EEFLinkStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Link Conditional Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Link Conditional Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFLinkConditionalStyle(EEFLinkConditionalStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Link Style Customization'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Link Style Customization'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFLinkStyleCustomization(EEFLinkStyleCustomization object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Select Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Select Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFSelectStyle(EEFSelectStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Select Conditional Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Select Conditional Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFSelectConditionalStyle(EEFSelectConditionalStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Select Style Customization'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Select Style Customization'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFSelectStyleCustomization(EEFSelectStyleCustomization object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Tree Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Tree Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTreeStyle(EEFTreeStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Tree Conditional Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Tree Conditional Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTreeConditionalStyle(EEFTreeConditionalStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Tree Style Customization'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Tree Style Customization'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTreeStyleCustomization(EEFTreeStyleCustomization object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Table Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Table Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTableStyle(EEFTableStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Table Conditional Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Table Conditional Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTableConditionalStyle(EEFTableConditionalStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Table Style Customization'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Table Style Customization'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFTableStyleCustomization(EEFTableStyleCustomization object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Line Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Line Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFLineStyle(EEFLineStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Line Conditional Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Line Conditional Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFLineConditionalStyle(EEFLineConditionalStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Line Style Customization'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Line Style Customization'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFLineStyleCustomization(EEFLineStyleCustomization object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Column Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Column Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFColumnStyle(EEFColumnStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Column Conditional Style'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Column Conditional Style'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFColumnConditionalStyle(EEFColumnConditionalStyle object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Column Style Customization'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Column Style Customization'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFColumnStyleCustomization(EEFColumnStyleCustomization object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Quick Fix'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Quick Fix'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFQuickFix(EEFQuickFix object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EEF Validation'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EEF Validation'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEEFValidation(EEFValidation object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. + * Returns the result of interpreting the object as an instance of 'EObject'. This + * implementation returns null; returning a non-null result will terminate the switch, but this is the last case + * anyway. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'EObject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated @@ -1613,4 +232,4 @@ public class EefSwitch extends Switch { return null; } -} //EefSwitch +} // EefSwitch diff --git a/plugins/org.eclipse.sirius.contentassist/.classpath b/plugins/org.eclipse.sirius.contentassist/.classpath deleted file mode 100644 index e4dad7e73..000000000 --- a/plugins/org.eclipse.sirius.contentassist/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/plugins/org.eclipse.sirius.contentassist/.project b/plugins/org.eclipse.sirius.contentassist/.project deleted file mode 100644 index 8feff3c29..000000000 --- a/plugins/org.eclipse.sirius.contentassist/.project +++ /dev/null @@ -1,29 +0,0 @@ - - - org.eclipse.sirius.contentassist - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.sirius.nature.modelingproject - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - - diff --git a/plugins/org.eclipse.sirius.contentassist/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.contentassist/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index c537b6306..000000000 --- a/plugins/org.eclipse.sirius.contentassist/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.6 diff --git a/plugins/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF deleted file mode 100644 index 57cf0060a..000000000 --- a/plugins/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF +++ /dev/null @@ -1,15 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.sirius.contentassist;singleton:=true -Bundle-Version: 0.1.0.qualifier -Bundle-ClassPath: . -Bundle-Vendor: %providerName -Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Export-Package: org.eclipse.sirius.contentassist, - org.eclipse.sirius.contentassist.impl, - org.eclipse.sirius.contentassist.util -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.emf.ecore;visibility:=reexport -Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.contentassist/about.html b/plugins/org.eclipse.sirius.contentassist/about.html deleted file mode 100644 index f3a55ce5f..000000000 --- a/plugins/org.eclipse.sirius.contentassist/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

                About This Content

                - -

                June 15, 2010

                -

                License

                - -

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

                - -

                If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

                - - - \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.contentassist/build.properties b/plugins/org.eclipse.sirius.contentassist/build.properties deleted file mode 100644 index 697ca9645..000000000 --- a/plugins/org.eclipse.sirius.contentassist/build.properties +++ /dev/null @@ -1,10 +0,0 @@ -# - -bin.includes = .,\ - model/,\ - META-INF/,\ - plugin.xml,\ - plugin.properties -jars.compile.order = . -source.. = src-gen/ -output.. = bin/ diff --git a/plugins/org.eclipse.sirius.contentassist/model/contentassist.aird b/plugins/org.eclipse.sirius.contentassist/model/contentassist.aird deleted file mode 100644 index cc374bbe4..000000000 --- a/plugins/org.eclipse.sirius.contentassist/model/contentassist.aird +++ /dev/null @@ -1,200 +0,0 @@ - - - contentassist.ecore - contentassist.genmodel - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - italic - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.contentassist/model/contentassist.ecore b/plugins/org.eclipse.sirius.contentassist/model/contentassist.ecore deleted file mode 100644 index 4d4719154..000000000 --- a/plugins/org.eclipse.sirius.contentassist/model/contentassist.ecore +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.contentassist/model/contentassist.genmodel b/plugins/org.eclipse.sirius.contentassist/model/contentassist.genmodel deleted file mode 100644 index 930ab61ff..000000000 --- a/plugins/org.eclipse.sirius.contentassist/model/contentassist.genmodel +++ /dev/null @@ -1,23 +0,0 @@ - - - contentassist.ecore - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.contentassist/plugin.properties b/plugins/org.eclipse.sirius.contentassist/plugin.properties deleted file mode 100644 index 3558954fe..000000000 --- a/plugins/org.eclipse.sirius.contentassist/plugin.properties +++ /dev/null @@ -1,4 +0,0 @@ -# - -pluginName = Contentassist Model -providerName = www.example.org diff --git a/plugins/org.eclipse.sirius.contentassist/plugin.xml b/plugins/org.eclipse.sirius.contentassist/plugin.xml deleted file mode 100644 index 58994bcbb..000000000 --- a/plugins/org.eclipse.sirius.contentassist/plugin.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/CompletionProposal.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/CompletionProposal.java deleted file mode 100644 index 0564d0b52..000000000 --- a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/CompletionProposal.java +++ /dev/null @@ -1,218 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.contentassist; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Completion Proposal'. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.sirius.contentassist.CompletionProposal#getDisplay Display}
                • - *
                • {@link org.eclipse.sirius.contentassist.CompletionProposal#getProposal Proposal}
                • - *
                • {@link org.eclipse.sirius.contentassist.CompletionProposal#getDocumentation Documentation}
                • - *
                • {@link org.eclipse.sirius.contentassist.CompletionProposal#getImage Image}
                • - *
                • {@link org.eclipse.sirius.contentassist.CompletionProposal#getCursorPosition Cursor Position}
                • - *
                • {@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementOffset Replacement Offset}
                • - *
                • {@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementLength Replacement Length}
                • - *
                - * - * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal() - * @model - * @generated - */ -public interface CompletionProposal extends EObject { - /** - * Returns the value of the 'Display' attribute. - * - *

                - * If the meaning of the 'Display' attribute isn't clear, - * there really should be more of a description here... - *

                - * - * @return the value of the 'Display' attribute. - * @see #setDisplay(Object) - * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_Display() - * @model dataType="org.eclipse.sirius.contentassist.StyledString" - * @generated - */ - Object getDisplay(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getDisplay Display}' attribute. - * - * - * @param value the new value of the 'Display' attribute. - * @see #getDisplay() - * @generated - */ - void setDisplay(Object value); - - /** - * Returns the value of the 'Proposal' attribute. - * - *

                - * If the meaning of the 'Proposal' attribute isn't clear, - * there really should be more of a description here... - *

                - * - * @return the value of the 'Proposal' attribute. - * @see #setProposal(String) - * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_Proposal() - * @model - * @generated - */ - String getProposal(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getProposal Proposal}' attribute. - * - * - * @param value the new value of the 'Proposal' attribute. - * @see #getProposal() - * @generated - */ - void setProposal(String value); - - /** - * Returns the value of the 'Documentation' attribute. - * - *

                - * If the meaning of the 'Documentation' attribute isn't clear, - * there really should be more of a description here... - *

                - * - * @return the value of the 'Documentation' attribute. - * @see #setDocumentation(Object) - * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_Documentation() - * @model dataType="org.eclipse.sirius.contentassist.StyledString" - * @generated - */ - Object getDocumentation(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getDocumentation Documentation}' attribute. - * - * - * @param value the new value of the 'Documentation' attribute. - * @see #getDocumentation() - * @generated - */ - void setDocumentation(Object value); - - /** - * Returns the value of the 'Image' attribute. - * - *

                - * If the meaning of the 'Image' attribute isn't clear, - * there really should be more of a description here... - *

                - * - * @return the value of the 'Image' attribute. - * @see #setImage(Object) - * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_Image() - * @model dataType="org.eclipse.sirius.contentassist.ContentAssistImage" - * @generated - */ - Object getImage(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getImage Image}' attribute. - * - * - * @param value the new value of the 'Image' attribute. - * @see #getImage() - * @generated - */ - void setImage(Object value); - - /** - * Returns the value of the 'Cursor Position' attribute. - * - *

                - * If the meaning of the 'Cursor Position' attribute isn't clear, - * there really should be more of a description here... - *

                - * - * @return the value of the 'Cursor Position' attribute. - * @see #setCursorPosition(int) - * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_CursorPosition() - * @model - * @generated - */ - int getCursorPosition(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getCursorPosition Cursor Position}' attribute. - * - * - * @param value the new value of the 'Cursor Position' attribute. - * @see #getCursorPosition() - * @generated - */ - void setCursorPosition(int value); - - /** - * Returns the value of the 'Replacement Offset' attribute. - * - *

                - * If the meaning of the 'Replacement Offset' attribute isn't clear, - * there really should be more of a description here... - *

                - * - * @return the value of the 'Replacement Offset' attribute. - * @see #setReplacementOffset(int) - * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_ReplacementOffset() - * @model - * @generated - */ - int getReplacementOffset(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementOffset Replacement Offset}' attribute. - * - * - * @param value the new value of the 'Replacement Offset' attribute. - * @see #getReplacementOffset() - * @generated - */ - void setReplacementOffset(int value); - - /** - * Returns the value of the 'Replacement Length' attribute. - * - *

                - * If the meaning of the 'Replacement Length' attribute isn't clear, - * there really should be more of a description here... - *

                - * - * @return the value of the 'Replacement Length' attribute. - * @see #setReplacementLength(int) - * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_ReplacementLength() - * @model - * @generated - */ - int getReplacementLength(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementLength Replacement Length}' attribute. - * - * - * @param value the new value of the 'Replacement Length' attribute. - * @see #getReplacementLength() - * @generated - */ - void setReplacementLength(int value); - -} // CompletionProposal diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistFactory.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistFactory.java deleted file mode 100644 index df123b90a..000000000 --- a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistFactory.java +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.contentassist; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.sirius.contentassist.ContentassistPackage - * @generated - */ -public interface ContentassistFactory extends EFactory { - /** - * The singleton instance of the factory. - * - * - * @generated - */ - ContentassistFactory eINSTANCE = org.eclipse.sirius.contentassist.impl.ContentassistFactoryImpl.init(); - - /** - * Returns a new object of class 'Completion Proposal'. - * - * - * @return a new object of class 'Completion Proposal'. - * @generated - */ - CompletionProposal createCompletionProposal(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - ContentassistPackage getContentassistPackage(); - -} //ContentassistFactory diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistPackage.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistPackage.java deleted file mode 100644 index 89cd54007..000000000 --- a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistPackage.java +++ /dev/null @@ -1,397 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.contentassist; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EPackage; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
                  - *
                • each class,
                • - *
                • each feature of each class,
                • - *
                • each operation of each class,
                • - *
                • each enum,
                • - *
                • and each data type
                • - *
                - * - * @see org.eclipse.sirius.contentassist.ContentassistFactory - * @model kind="package" - * @generated - */ -public interface ContentassistPackage extends EPackage { - /** - * The package name. - * - * - * @generated - */ - String eNAME = "contentassist"; - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "http://www.eclipse.org/sirius/contentassist"; - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "contentassist"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - ContentassistPackage eINSTANCE = org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl Completion Proposal}' class. - * - * - * @see org.eclipse.sirius.contentassist.impl.CompletionProposalImpl - * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getCompletionProposal() - * @generated - */ - int COMPLETION_PROPOSAL = 0; - - /** - * The feature id for the 'Display' attribute. - * - * - * @generated - * @ordered - */ - int COMPLETION_PROPOSAL__DISPLAY = 0; - - /** - * The feature id for the 'Proposal' attribute. - * - * - * @generated - * @ordered - */ - int COMPLETION_PROPOSAL__PROPOSAL = 1; - - /** - * The feature id for the 'Documentation' attribute. - * - * - * @generated - * @ordered - */ - int COMPLETION_PROPOSAL__DOCUMENTATION = 2; - - /** - * The feature id for the 'Image' attribute. - * - * - * @generated - * @ordered - */ - int COMPLETION_PROPOSAL__IMAGE = 3; - - /** - * The feature id for the 'Cursor Position' attribute. - * - * - * @generated - * @ordered - */ - int COMPLETION_PROPOSAL__CURSOR_POSITION = 4; - - /** - * The feature id for the 'Replacement Offset' attribute. - * - * - * @generated - * @ordered - */ - int COMPLETION_PROPOSAL__REPLACEMENT_OFFSET = 5; - - /** - * The feature id for the 'Replacement Length' attribute. - * - * - * @generated - * @ordered - */ - int COMPLETION_PROPOSAL__REPLACEMENT_LENGTH = 6; - - /** - * The number of structural features of the 'Completion Proposal' class. - * - * - * @generated - * @ordered - */ - int COMPLETION_PROPOSAL_FEATURE_COUNT = 7; - - /** - * The number of operations of the 'Completion Proposal' class. - * - * - * @generated - * @ordered - */ - int COMPLETION_PROPOSAL_OPERATION_COUNT = 0; - - /** - * The meta object id for the 'Styled String' data type. - * - * - * @see java.lang.Object - * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getStyledString() - * @generated - */ - int STYLED_STRING = 1; - - /** - * The meta object id for the 'Content Assist Image' data type. - * - * - * @see java.lang.Object - * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getContentAssistImage() - * @generated - */ - int CONTENT_ASSIST_IMAGE = 2; - - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.contentassist.CompletionProposal Completion Proposal}'. - * - * - * @return the meta object for class 'Completion Proposal'. - * @see org.eclipse.sirius.contentassist.CompletionProposal - * @generated - */ - EClass getCompletionProposal(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getDisplay Display}'. - * - * - * @return the meta object for the attribute 'Display'. - * @see org.eclipse.sirius.contentassist.CompletionProposal#getDisplay() - * @see #getCompletionProposal() - * @generated - */ - EAttribute getCompletionProposal_Display(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getProposal Proposal}'. - * - * - * @return the meta object for the attribute 'Proposal'. - * @see org.eclipse.sirius.contentassist.CompletionProposal#getProposal() - * @see #getCompletionProposal() - * @generated - */ - EAttribute getCompletionProposal_Proposal(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getDocumentation Documentation}'. - * - * - * @return the meta object for the attribute 'Documentation'. - * @see org.eclipse.sirius.contentassist.CompletionProposal#getDocumentation() - * @see #getCompletionProposal() - * @generated - */ - EAttribute getCompletionProposal_Documentation(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getImage Image}'. - * - * - * @return the meta object for the attribute 'Image'. - * @see org.eclipse.sirius.contentassist.CompletionProposal#getImage() - * @see #getCompletionProposal() - * @generated - */ - EAttribute getCompletionProposal_Image(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getCursorPosition Cursor Position}'. - * - * - * @return the meta object for the attribute 'Cursor Position'. - * @see org.eclipse.sirius.contentassist.CompletionProposal#getCursorPosition() - * @see #getCompletionProposal() - * @generated - */ - EAttribute getCompletionProposal_CursorPosition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementOffset Replacement Offset}'. - * - * - * @return the meta object for the attribute 'Replacement Offset'. - * @see org.eclipse.sirius.contentassist.CompletionProposal#getReplacementOffset() - * @see #getCompletionProposal() - * @generated - */ - EAttribute getCompletionProposal_ReplacementOffset(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementLength Replacement Length}'. - * - * - * @return the meta object for the attribute 'Replacement Length'. - * @see org.eclipse.sirius.contentassist.CompletionProposal#getReplacementLength() - * @see #getCompletionProposal() - * @generated - */ - EAttribute getCompletionProposal_ReplacementLength(); - - /** - * Returns the meta object for data type '{@link java.lang.Object Styled String}'. - * - * - * @return the meta object for data type 'Styled String'. - * @see java.lang.Object - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getStyledString(); - - /** - * Returns the meta object for data type '{@link java.lang.Object Content Assist Image}'. - * - * - * @return the meta object for data type 'Content Assist Image'. - * @see java.lang.Object - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getContentAssistImage(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - ContentassistFactory getContentassistFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
                  - *
                • each class,
                • - *
                • each feature of each class,
                • - *
                • each operation of each class,
                • - *
                • each enum,
                • - *
                • and each data type
                • - *
                - * - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl Completion Proposal}' class. - * - * - * @see org.eclipse.sirius.contentassist.impl.CompletionProposalImpl - * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getCompletionProposal() - * @generated - */ - EClass COMPLETION_PROPOSAL = eINSTANCE.getCompletionProposal(); - - /** - * The meta object literal for the 'Display' attribute feature. - * - * - * @generated - */ - EAttribute COMPLETION_PROPOSAL__DISPLAY = eINSTANCE.getCompletionProposal_Display(); - - /** - * The meta object literal for the 'Proposal' attribute feature. - * - * - * @generated - */ - EAttribute COMPLETION_PROPOSAL__PROPOSAL = eINSTANCE.getCompletionProposal_Proposal(); - - /** - * The meta object literal for the 'Documentation' attribute feature. - * - * - * @generated - */ - EAttribute COMPLETION_PROPOSAL__DOCUMENTATION = eINSTANCE.getCompletionProposal_Documentation(); - - /** - * The meta object literal for the 'Image' attribute feature. - * - * - * @generated - */ - EAttribute COMPLETION_PROPOSAL__IMAGE = eINSTANCE.getCompletionProposal_Image(); - - /** - * The meta object literal for the 'Cursor Position' attribute feature. - * - * - * @generated - */ - EAttribute COMPLETION_PROPOSAL__CURSOR_POSITION = eINSTANCE.getCompletionProposal_CursorPosition(); - - /** - * The meta object literal for the 'Replacement Offset' attribute feature. - * - * - * @generated - */ - EAttribute COMPLETION_PROPOSAL__REPLACEMENT_OFFSET = eINSTANCE.getCompletionProposal_ReplacementOffset(); - - /** - * The meta object literal for the 'Replacement Length' attribute feature. - * - * - * @generated - */ - EAttribute COMPLETION_PROPOSAL__REPLACEMENT_LENGTH = eINSTANCE.getCompletionProposal_ReplacementLength(); - - /** - * The meta object literal for the 'Styled String' data type. - * - * - * @see java.lang.Object - * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getStyledString() - * @generated - */ - EDataType STYLED_STRING = eINSTANCE.getStyledString(); - - /** - * The meta object literal for the 'Content Assist Image' data type. - * - * - * @see java.lang.Object - * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getContentAssistImage() - * @generated - */ - EDataType CONTENT_ASSIST_IMAGE = eINSTANCE.getContentAssistImage(); - - } - -} //ContentassistPackage diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/CompletionProposalImpl.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/CompletionProposalImpl.java deleted file mode 100644 index 40f0c81bf..000000000 --- a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/CompletionProposalImpl.java +++ /dev/null @@ -1,463 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.contentassist.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.sirius.contentassist.CompletionProposal; -import org.eclipse.sirius.contentassist.ContentassistPackage; - -/** - * - * An implementation of the model object 'Completion Proposal'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getDisplay Display}
                • - *
                • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getProposal Proposal}
                • - *
                • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getDocumentation Documentation}
                • - *
                • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getImage Image}
                • - *
                • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getCursorPosition Cursor Position}
                • - *
                • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getReplacementOffset Replacement Offset}
                • - *
                • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getReplacementLength Replacement Length}
                • - *
                - * - * @generated - */ -public class CompletionProposalImpl extends MinimalEObjectImpl.Container implements CompletionProposal { - /** - * The cached value of the '{@link #getDisplay() Display}' attribute. - * - * - * @see #getDisplay() - * @generated - * @ordered - */ - protected Object display; - - /** - * The default value of the '{@link #getProposal() Proposal}' attribute. - * - * - * @see #getProposal() - * @generated - * @ordered - */ - protected static final String PROPOSAL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getProposal() Proposal}' attribute. - * - * - * @see #getProposal() - * @generated - * @ordered - */ - protected String proposal = PROPOSAL_EDEFAULT; - - /** - * The cached value of the '{@link #getDocumentation() Documentation}' attribute. - * - * - * @see #getDocumentation() - * @generated - * @ordered - */ - protected Object documentation; - - /** - * The cached value of the '{@link #getImage() Image}' attribute. - * - * - * @see #getImage() - * @generated - * @ordered - */ - protected Object image; - - /** - * The default value of the '{@link #getCursorPosition() Cursor Position}' attribute. - * - * - * @see #getCursorPosition() - * @generated - * @ordered - */ - protected static final int CURSOR_POSITION_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getCursorPosition() Cursor Position}' attribute. - * - * - * @see #getCursorPosition() - * @generated - * @ordered - */ - protected int cursorPosition = CURSOR_POSITION_EDEFAULT; - - /** - * The default value of the '{@link #getReplacementOffset() Replacement Offset}' attribute. - * - * - * @see #getReplacementOffset() - * @generated - * @ordered - */ - protected static final int REPLACEMENT_OFFSET_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getReplacementOffset() Replacement Offset}' attribute. - * - * - * @see #getReplacementOffset() - * @generated - * @ordered - */ - protected int replacementOffset = REPLACEMENT_OFFSET_EDEFAULT; - - /** - * The default value of the '{@link #getReplacementLength() Replacement Length}' attribute. - * - * - * @see #getReplacementLength() - * @generated - * @ordered - */ - protected static final int REPLACEMENT_LENGTH_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getReplacementLength() Replacement Length}' attribute. - * - * - * @see #getReplacementLength() - * @generated - * @ordered - */ - protected int replacementLength = REPLACEMENT_LENGTH_EDEFAULT; - - /** - * - * - * @generated - */ - protected CompletionProposalImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ContentassistPackage.Literals.COMPLETION_PROPOSAL; - } - - /** - * - * - * @generated - */ - public Object getDisplay() { - return display; - } - - /** - * - * - * @generated - */ - public void setDisplay(Object newDisplay) { - Object oldDisplay = display; - display = newDisplay; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__DISPLAY, oldDisplay, display)); - } - - /** - * - * - * @generated - */ - public String getProposal() { - return proposal; - } - - /** - * - * - * @generated - */ - public void setProposal(String newProposal) { - String oldProposal = proposal; - proposal = newProposal; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__PROPOSAL, oldProposal, proposal)); - } - - /** - * - * - * @generated - */ - public Object getDocumentation() { - return documentation; - } - - /** - * - * - * @generated - */ - public void setDocumentation(Object newDocumentation) { - Object oldDocumentation = documentation; - documentation = newDocumentation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__DOCUMENTATION, oldDocumentation, documentation)); - } - - /** - * - * - * @generated - */ - public Object getImage() { - return image; - } - - /** - * - * - * @generated - */ - public void setImage(Object newImage) { - Object oldImage = image; - image = newImage; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__IMAGE, oldImage, image)); - } - - /** - * - * - * @generated - */ - public int getCursorPosition() { - return cursorPosition; - } - - /** - * - * - * @generated - */ - public void setCursorPosition(int newCursorPosition) { - int oldCursorPosition = cursorPosition; - cursorPosition = newCursorPosition; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__CURSOR_POSITION, oldCursorPosition, cursorPosition)); - } - - /** - * - * - * @generated - */ - public int getReplacementOffset() { - return replacementOffset; - } - - /** - * - * - * @generated - */ - public void setReplacementOffset(int newReplacementOffset) { - int oldReplacementOffset = replacementOffset; - replacementOffset = newReplacementOffset; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_OFFSET, oldReplacementOffset, replacementOffset)); - } - - /** - * - * - * @generated - */ - public int getReplacementLength() { - return replacementLength; - } - - /** - * - * - * @generated - */ - public void setReplacementLength(int newReplacementLength) { - int oldReplacementLength = replacementLength; - replacementLength = newReplacementLength; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_LENGTH, oldReplacementLength, replacementLength)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ContentassistPackage.COMPLETION_PROPOSAL__DISPLAY: - return getDisplay(); - case ContentassistPackage.COMPLETION_PROPOSAL__PROPOSAL: - return getProposal(); - case ContentassistPackage.COMPLETION_PROPOSAL__DOCUMENTATION: - return getDocumentation(); - case ContentassistPackage.COMPLETION_PROPOSAL__IMAGE: - return getImage(); - case ContentassistPackage.COMPLETION_PROPOSAL__CURSOR_POSITION: - return getCursorPosition(); - case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_OFFSET: - return getReplacementOffset(); - case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_LENGTH: - return getReplacementLength(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ContentassistPackage.COMPLETION_PROPOSAL__DISPLAY: - setDisplay(newValue); - return; - case ContentassistPackage.COMPLETION_PROPOSAL__PROPOSAL: - setProposal((String)newValue); - return; - case ContentassistPackage.COMPLETION_PROPOSAL__DOCUMENTATION: - setDocumentation(newValue); - return; - case ContentassistPackage.COMPLETION_PROPOSAL__IMAGE: - setImage(newValue); - return; - case ContentassistPackage.COMPLETION_PROPOSAL__CURSOR_POSITION: - setCursorPosition((Integer)newValue); - return; - case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_OFFSET: - setReplacementOffset((Integer)newValue); - return; - case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_LENGTH: - setReplacementLength((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ContentassistPackage.COMPLETION_PROPOSAL__DISPLAY: - setDisplay((Object)null); - return; - case ContentassistPackage.COMPLETION_PROPOSAL__PROPOSAL: - setProposal(PROPOSAL_EDEFAULT); - return; - case ContentassistPackage.COMPLETION_PROPOSAL__DOCUMENTATION: - setDocumentation((Object)null); - return; - case ContentassistPackage.COMPLETION_PROPOSAL__IMAGE: - setImage((Object)null); - return; - case ContentassistPackage.COMPLETION_PROPOSAL__CURSOR_POSITION: - setCursorPosition(CURSOR_POSITION_EDEFAULT); - return; - case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_OFFSET: - setReplacementOffset(REPLACEMENT_OFFSET_EDEFAULT); - return; - case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_LENGTH: - setReplacementLength(REPLACEMENT_LENGTH_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ContentassistPackage.COMPLETION_PROPOSAL__DISPLAY: - return display != null; - case ContentassistPackage.COMPLETION_PROPOSAL__PROPOSAL: - return PROPOSAL_EDEFAULT == null ? proposal != null : !PROPOSAL_EDEFAULT.equals(proposal); - case ContentassistPackage.COMPLETION_PROPOSAL__DOCUMENTATION: - return documentation != null; - case ContentassistPackage.COMPLETION_PROPOSAL__IMAGE: - return image != null; - case ContentassistPackage.COMPLETION_PROPOSAL__CURSOR_POSITION: - return cursorPosition != CURSOR_POSITION_EDEFAULT; - case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_OFFSET: - return replacementOffset != REPLACEMENT_OFFSET_EDEFAULT; - case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_LENGTH: - return replacementLength != REPLACEMENT_LENGTH_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (display: "); - result.append(display); - result.append(", proposal: "); - result.append(proposal); - result.append(", documentation: "); - result.append(documentation); - result.append(", image: "); - result.append(image); - result.append(", cursorPosition: "); - result.append(cursorPosition); - result.append(", replacementOffset: "); - result.append(replacementOffset); - result.append(", replacementLength: "); - result.append(replacementLength); - result.append(')'); - return result.toString(); - } - -} //CompletionProposalImpl diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistFactoryImpl.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistFactoryImpl.java deleted file mode 100644 index 55456aec8..000000000 --- a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistFactoryImpl.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.contentassist.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.sirius.contentassist.*; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class ContentassistFactoryImpl extends EFactoryImpl implements ContentassistFactory { - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static ContentassistFactory init() { - try { - ContentassistFactory theContentassistFactory = (ContentassistFactory)EPackage.Registry.INSTANCE.getEFactory(ContentassistPackage.eNS_URI); - if (theContentassistFactory != null) { - return theContentassistFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new ContentassistFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public ContentassistFactoryImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case ContentassistPackage.COMPLETION_PROPOSAL: return createCompletionProposal(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case ContentassistPackage.STYLED_STRING: - return createStyledStringFromString(eDataType, initialValue); - case ContentassistPackage.CONTENT_ASSIST_IMAGE: - return createContentAssistImageFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case ContentassistPackage.STYLED_STRING: - return convertStyledStringToString(eDataType, instanceValue); - case ContentassistPackage.CONTENT_ASSIST_IMAGE: - return convertContentAssistImageToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - public CompletionProposal createCompletionProposal() { - CompletionProposalImpl completionProposal = new CompletionProposalImpl(); - return completionProposal; - } - - /** - * - * - * @generated - */ - public Object createStyledStringFromString(EDataType eDataType, String initialValue) { - return super.createFromString(eDataType, initialValue); - } - - /** - * - * - * @generated - */ - public String convertStyledStringToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * - * - * @generated - */ - public Object createContentAssistImageFromString(EDataType eDataType, String initialValue) { - return super.createFromString(eDataType, initialValue); - } - - /** - * - * - * @generated - */ - public String convertContentAssistImageToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * - * - * @generated - */ - public ContentassistPackage getContentassistPackage() { - return (ContentassistPackage)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static ContentassistPackage getPackage() { - return ContentassistPackage.eINSTANCE; - } - -} //ContentassistFactoryImpl diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistPackageImpl.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistPackageImpl.java deleted file mode 100644 index 0a502498b..000000000 --- a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistPackageImpl.java +++ /dev/null @@ -1,290 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.contentassist.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.sirius.contentassist.CompletionProposal; -import org.eclipse.sirius.contentassist.ContentassistFactory; -import org.eclipse.sirius.contentassist.ContentassistPackage; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class ContentassistPackageImpl extends EPackageImpl implements ContentassistPackage { - /** - * - * - * @generated - */ - private EClass completionProposalEClass = null; - - /** - * - * - * @generated - */ - private EDataType styledStringEDataType = null; - - /** - * - * - * @generated - */ - private EDataType contentAssistImageEDataType = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

                Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.sirius.contentassist.ContentassistPackage#eNS_URI - * @see #init() - * @generated - */ - private ContentassistPackageImpl() { - super(eNS_URI, ContentassistFactory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

                This method is used to initialize {@link ContentassistPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static ContentassistPackage init() { - if (isInited) return (ContentassistPackage)EPackage.Registry.INSTANCE.getEPackage(ContentassistPackage.eNS_URI); - - // Obtain or create and register package - ContentassistPackageImpl theContentassistPackage = (ContentassistPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ContentassistPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ContentassistPackageImpl()); - - isInited = true; - - // Create package meta-data objects - theContentassistPackage.createPackageContents(); - - // Initialize created meta-data - theContentassistPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theContentassistPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(ContentassistPackage.eNS_URI, theContentassistPackage); - return theContentassistPackage; - } - - /** - * - * - * @generated - */ - public EClass getCompletionProposal() { - return completionProposalEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getCompletionProposal_Display() { - return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getCompletionProposal_Proposal() { - return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EAttribute getCompletionProposal_Documentation() { - return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EAttribute getCompletionProposal_Image() { - return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - public EAttribute getCompletionProposal_CursorPosition() { - return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - public EAttribute getCompletionProposal_ReplacementOffset() { - return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - public EAttribute getCompletionProposal_ReplacementLength() { - return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(6); - } - - /** - * - * - * @generated - */ - public EDataType getStyledString() { - return styledStringEDataType; - } - - /** - * - * - * @generated - */ - public EDataType getContentAssistImage() { - return contentAssistImageEDataType; - } - - /** - * - * - * @generated - */ - public ContentassistFactory getContentassistFactory() { - return (ContentassistFactory)getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - completionProposalEClass = createEClass(COMPLETION_PROPOSAL); - createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__DISPLAY); - createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__PROPOSAL); - createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__DOCUMENTATION); - createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__IMAGE); - createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__CURSOR_POSITION); - createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__REPLACEMENT_OFFSET); - createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__REPLACEMENT_LENGTH); - - // Create data types - styledStringEDataType = createEDataType(STYLED_STRING); - contentAssistImageEDataType = createEDataType(CONTENT_ASSIST_IMAGE); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes, features, and operations; add parameters - initEClass(completionProposalEClass, CompletionProposal.class, "CompletionProposal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getCompletionProposal_Display(), this.getStyledString(), "display", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getCompletionProposal_Proposal(), ecorePackage.getEString(), "proposal", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getCompletionProposal_Documentation(), this.getStyledString(), "documentation", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getCompletionProposal_Image(), this.getContentAssistImage(), "image", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getCompletionProposal_CursorPosition(), ecorePackage.getEInt(), "cursorPosition", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getCompletionProposal_ReplacementOffset(), ecorePackage.getEInt(), "replacementOffset", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getCompletionProposal_ReplacementLength(), ecorePackage.getEInt(), "replacementLength", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize data types - initEDataType(styledStringEDataType, Object.class, "StyledString", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(contentAssistImageEDataType, Object.class, "ContentAssistImage", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - - // Create resource - createResource(eNS_URI); - } - -} //ContentassistPackageImpl diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistAdapterFactory.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistAdapterFactory.java deleted file mode 100644 index 0416f2357..000000000 --- a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistAdapterFactory.java +++ /dev/null @@ -1,126 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.contentassist.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.sirius.contentassist.*; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see org.eclipse.sirius.contentassist.ContentassistPackage - * @generated - */ -public class ContentassistAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * - * - * @generated - */ - protected static ContentassistPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public ContentassistAdapterFactory() { - if (modelPackage == null) { - modelPackage = ContentassistPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected ContentassistSwitch modelSwitch = - new ContentassistSwitch() { - @Override - public Adapter caseCompletionProposal(CompletionProposal object) { - return createCompletionProposalAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.contentassist.CompletionProposal Completion Proposal}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.contentassist.CompletionProposal - * @generated - */ - public Adapter createCompletionProposalAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //ContentassistAdapterFactory diff --git a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistSwitch.java b/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistSwitch.java deleted file mode 100644 index d262a95cd..000000000 --- a/plugins/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistSwitch.java +++ /dev/null @@ -1,116 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.contentassist.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.sirius.contentassist.*; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see org.eclipse.sirius.contentassist.ContentassistPackage - * @generated - */ -public class ContentassistSwitch extends Switch { - /** - * The cached model package - * - * - * @generated - */ - protected static ContentassistPackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public ContentassistSwitch() { - if (modelPackage == null) { - modelPackage = ContentassistPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case ContentassistPackage.COMPLETION_PROPOSAL: { - CompletionProposal completionProposal = (CompletionProposal)theEObject; - T result = caseCompletionProposal(completionProposal); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Completion Proposal'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Completion Proposal'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCompletionProposal(CompletionProposal object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //ContentassistSwitch diff --git a/plugins/org.eclipse.sirius.expression.edit/.checkstyle b/plugins/org.eclipse.sirius.expression.edit/.checkstyle deleted file mode 100644 index f1a81eec7..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/.checkstyle +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.edit/.classpath b/plugins/org.eclipse.sirius.expression.edit/.classpath deleted file mode 100644 index 6292ea58a..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/.classpath +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.edit/.project b/plugins/org.eclipse.sirius.expression.edit/.project deleted file mode 100644 index 4a7c2dc15..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.eclipse.sirius.expression.edit - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - net.sf.eclipsecs.core.CheckstyleBuilder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - net.sf.eclipsecs.core.CheckstyleNature - - diff --git a/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index fb8257839..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,398 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.builder.cleanOutputFolder=clean -org.eclipse.jdt.core.builder.duplicateResourceTask=warning -org.eclipse.jdt.core.builder.invalidClasspath=abort -org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore -org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= -org.eclipse.jdt.core.circularClasspath=error -org.eclipse.jdt.core.classpath.exclusionPatterns=enabled -org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled -org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error -org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled -org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore -org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull -org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault -org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable -org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore -org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning -org.eclipse.jdt.core.compiler.problem.deadCode=warning -org.eclipse.jdt.core.compiler.problem.deprecation=warning -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled -org.eclipse.jdt.core.compiler.problem.discouragedReference=warning -org.eclipse.jdt.core.compiler.problem.emptyStatement=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore -org.eclipse.jdt.core.compiler.problem.fallthroughCase=error -org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled -org.eclipse.jdt.core.compiler.problem.fieldHiding=warning -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning -org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore -org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning -org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled -org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning -org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error -org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning -org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error -org.eclipse.jdt.core.compiler.problem.nullReference=warning -org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error -org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning -org.eclipse.jdt.core.compiler.problem.parameterAssignment=error -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning -org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning -org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning -org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning -org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning -org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore -org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning -org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore -org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning -org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled -org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning -org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning -org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled -org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning -org.eclipse.jdt.core.compiler.problem.unusedImport=warning -org.eclipse.jdt.core.compiler.problem.unusedLabel=warning -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning -org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning -org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.6 -org.eclipse.jdt.core.formatter.align_type_members_on_columns=false -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_assignment=0 -org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 -org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 -org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 -org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 -org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 -org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 -org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 -org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_after_package=1 -org.eclipse.jdt.core.formatter.blank_lines_before_field=0 -org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 -org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 -org.eclipse.jdt.core.formatter.blank_lines_before_method=1 -org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 -org.eclipse.jdt.core.formatter.blank_lines_before_package=0 -org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 -org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 -org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false -org.eclipse.jdt.core.formatter.comment.format_block_comments=true -org.eclipse.jdt.core.formatter.comment.format_header=false -org.eclipse.jdt.core.formatter.comment.format_html=true -org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true -org.eclipse.jdt.core.formatter.comment.format_line_comments=true -org.eclipse.jdt.core.formatter.comment.format_source_code=true -org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true -org.eclipse.jdt.core.formatter.comment.indent_root_tags=true -org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert -org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert -org.eclipse.jdt.core.formatter.comment.line_length=120 -org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true -org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true -org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false -org.eclipse.jdt.core.formatter.compact_else_if=true -org.eclipse.jdt.core.formatter.continuation_indentation=2 -org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 -org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off -org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true -org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_empty_lines=false -org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true -org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false -org.eclipse.jdt.core.formatter.indentation.size=4 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert -org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert -org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert -org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.join_lines_in_comments=true -org.eclipse.jdt.core.formatter.join_wrapped_lines=true -org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false -org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false -org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false -org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false -org.eclipse.jdt.core.formatter.lineSplit=150 -org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false -org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false -org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 -org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true -org.eclipse.jdt.core.formatter.tabulation.char=tab -org.eclipse.jdt.core.formatter.tabulation.size=4 -org.eclipse.jdt.core.formatter.use_on_off_tags=true -org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false -org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true -org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true -org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true -org.eclipse.jdt.core.incompatibleJDKLevel=ignore -org.eclipse.jdt.core.incompleteClasspath=error -org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.launching.prefs deleted file mode 100644 index 3bb235278..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.launching.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index e6ceed5c2..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,67 +0,0 @@ -eclipse.preferences.version=1 -editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true -formatter_settings_version=12 -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=com;java;javax;org; -org.eclipse.jdt.ui.javadoc=true -org.eclipse.jdt.ui.ondemandthreshold=99 -org.eclipse.jdt.ui.staticondemandthreshold=99 -org.eclipse.jdt.ui.text.custom_code_templates= -sp_cleanup.add_default_serial_version_id=false -sp_cleanup.add_generated_serial_version_id=false -sp_cleanup.add_missing_annotations=true -sp_cleanup.add_missing_deprecated_annotations=true -sp_cleanup.add_missing_methods=false -sp_cleanup.add_missing_nls_tags=false -sp_cleanup.add_missing_override_annotations=true -sp_cleanup.add_missing_override_annotations_interface_methods=true -sp_cleanup.add_serial_version_id=false -sp_cleanup.always_use_blocks=false -sp_cleanup.always_use_parentheses_in_expressions=false -sp_cleanup.always_use_this_for_non_static_field_access=false -sp_cleanup.always_use_this_for_non_static_method_access=false -sp_cleanup.convert_functional_interfaces=false -sp_cleanup.convert_to_enhanced_for_loop=false -sp_cleanup.correct_indentation=true -sp_cleanup.format_source_code=true -sp_cleanup.format_source_code_changes_only=false -sp_cleanup.insert_inferred_type_arguments=false -sp_cleanup.make_local_variable_final=false -sp_cleanup.make_parameters_final=false -sp_cleanup.make_private_fields_final=false -sp_cleanup.make_type_abstract_if_missing_method=false -sp_cleanup.make_variable_declarations_final=false -sp_cleanup.never_use_blocks=false -sp_cleanup.never_use_parentheses_in_expressions=false -sp_cleanup.on_save_use_additional_actions=true -sp_cleanup.organize_imports=true -sp_cleanup.qualify_static_field_accesses_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_with_declaring_class=false -sp_cleanup.qualify_static_method_accesses_with_declaring_class=false -sp_cleanup.remove_private_constructors=false -sp_cleanup.remove_redundant_type_arguments=false -sp_cleanup.remove_trailing_whitespaces=true -sp_cleanup.remove_trailing_whitespaces_all=true -sp_cleanup.remove_trailing_whitespaces_ignore_empty=false -sp_cleanup.remove_unnecessary_casts=true -sp_cleanup.remove_unnecessary_nls_tags=true -sp_cleanup.remove_unused_imports=true -sp_cleanup.remove_unused_local_variables=false -sp_cleanup.remove_unused_private_fields=false -sp_cleanup.remove_unused_private_members=false -sp_cleanup.remove_unused_private_methods=false -sp_cleanup.remove_unused_private_types=false -sp_cleanup.sort_members=false -sp_cleanup.sort_members_all=false -sp_cleanup.use_anonymous_class_creation=false -sp_cleanup.use_blocks=false -sp_cleanup.use_blocks_only_for_return_and_throw=false -sp_cleanup.use_lambda=false -sp_cleanup.use_parentheses_in_expressions=false -sp_cleanup.use_this_for_non_static_field_access=false -sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false -sp_cleanup.use_this_for_non_static_method_access=false -sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false -sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.pde.prefs deleted file mode 100644 index 3112e810d..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/.settings/org.eclipse.pde.prefs +++ /dev/null @@ -1,32 +0,0 @@ -compilers.f.unresolved-features=1 -compilers.f.unresolved-plugins=1 -compilers.incompatible-environment=1 -compilers.p.build=1 -compilers.p.build.bin.includes=1 -compilers.p.build.encodings=1 -compilers.p.build.java.compiler=1 -compilers.p.build.java.compliance=1 -compilers.p.build.missing.output=2 -compilers.p.build.output.library=1 -compilers.p.build.source.library=1 -compilers.p.build.src.includes=1 -compilers.p.deprecated=1 -compilers.p.discouraged-class=1 -compilers.p.internal=1 -compilers.p.missing-packages=1 -compilers.p.missing-version-export-package=0 -compilers.p.missing-version-import-package=0 -compilers.p.missing-version-require-bundle=0 -compilers.p.no-required-att=0 -compilers.p.not-externalized-att=0 -compilers.p.unknown-attribute=1 -compilers.p.unknown-class=1 -compilers.p.unknown-element=1 -compilers.p.unknown-identifier=1 -compilers.p.unknown-resource=1 -compilers.p.unresolved-ex-points=0 -compilers.p.unresolved-import=0 -compilers.s.create-docs=false -compilers.s.doc-folder=doc -compilers.s.open-tags=1 -eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF deleted file mode 100644 index f6c76481b..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF +++ /dev/null @@ -1,17 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.sirius.expression.edit;singleton:=true -Bundle-Version: 1.0.0.qualifier -Bundle-ClassPath: . -Bundle-Activator: org.eclipse.sirius.expression.provider.ExpressionEditPlugin$Implementation -Bundle-Vendor: %providerName -Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Export-Package: org.eclipse.sirius.expression.provider;version="1.0.0" -Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", - org.eclipse.sirius.expression;bundle-version="[1.0.0,2.0.0)";visibility:=reexport, - org.eclipse.emf.edit;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, - org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, - org.eclipse.emf.ecore.edit;bundle-version="[2.8.0,3.0.0)";visibility:=reexport -Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.expression.edit/about.html b/plugins/org.eclipse.sirius.expression.edit/about.html deleted file mode 100644 index f3a55ce5f..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

                About This Content

                - -

                June 15, 2010

                -

                License

                - -

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

                - -

                If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

                - - - \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.edit/build.properties b/plugins/org.eclipse.sirius.expression.edit/build.properties deleted file mode 100644 index 0b892ee53..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/build.properties +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm - -bin.includes = .,\ - icons/,\ - META-INF/,\ - plugin.xml,\ - plugin.properties,\ - about.html -jars.compile.order = . -source.. = src-gen/ -output.. = bin/ -javacProjectSettings = true diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/ExpressionDescription.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/ExpressionDescription.gif deleted file mode 100644 index a3908bcf7..000000000 Binary files a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/ExpressionDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionClass.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionClass.gif deleted file mode 100644 index 98b351f1c..000000000 Binary files a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionClass.gif and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionDescription.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionDescription.gif deleted file mode 100644 index 134551bff..000000000 Binary files a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionDescription.gif and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionPackage.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionPackage.gif deleted file mode 100644 index ea58a657d..000000000 Binary files a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionPackage.gif and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusParameter.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusParameter.gif deleted file mode 100644 index 134551bff..000000000 Binary files a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusParameter.gif and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusVariable.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusVariable.gif deleted file mode 100644 index 591559182..000000000 Binary files a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusVariable.gif and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/UserDefinedVariable.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/UserDefinedVariable.gif deleted file mode 100644 index 8a5c70cbd..000000000 Binary files a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/UserDefinedVariable.gif and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/Variable.gif b/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/Variable.gif deleted file mode 100644 index 83afb9b3c..000000000 Binary files a/plugins/org.eclipse.sirius.expression.edit/icons/full/obj16/Variable.gif and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.edit/plugin.properties b/plugins/org.eclipse.sirius.expression.edit/plugin.properties deleted file mode 100644 index 976114c13..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/plugin.properties +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm - -pluginName = Sirius Expression Edit Support -providerName = Eclipse Modeling Project - -_UI_CreateChild_text = {0} -_UI_CreateChild_text2 = {1} {0} -_UI_CreateChild_text3 = {1} -_UI_CreateChild_tooltip = Create New {0} Under {1} Feature -_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. -_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. - -_UI_PropertyDescriptor_description = The {0} of the {1} - -_UI_SiriusExpressionPackage_type = Sirius Expression Package -_UI_ExpressionDescription_type = Description -_UI_Variable_type = Variable -_UI_SiriusExpressionClass_type = Sirius Expression Class -_UI_Unknown_type = Object - -_UI_Unknown_datatype= Value - -_UI_SiriusExpressionPackage_expressionClasses_feature = Expression Classes -_UI_SiriusExpressionPackage_ePackage_feature = EPackage -_UI_ExpressionDescription_lowerBound_feature = Lower Bound -_UI_ExpressionDescription_upperBound_feature = Upper Bound -_UI_ExpressionDescription_expression_feature = Expression -_UI_ExpressionDescription_variables_feature = Variables -_UI_ExpressionDescription_returnType_feature = Return Type -_UI_ExpressionDescription_label_feature = Label -_UI_ExpressionDescription_contextableElements_feature = Contextable Elements -_UI_Variable_name_feature = Name -_UI_Variable_documentation_feature = Documentation -_UI_SiriusExpressionClass_variables_feature = Variables -_UI_SiriusExpressionClass_expressionDescriptions_feature = Expression Descriptions -_UI_SiriusExpressionClass_label_feature = Label -_UI_Unknown_feature = Unspecified - -_UI_SiriusVariable_type = Sirius Variable -_UI_SiriusVariable_name_feature = Name -_UI_SiriusVariable_documentation_feature = Documentation -_UI_SiriusExpressionDescription_type = Sirius Expression Description -_UI_SiriusParameter_type = Sirius Parameter -_UI_SiriusExpressionDescription_lowerBound_feature = Lower Bound -_UI_SiriusExpressionDescription_upperBound_feature = Upper Bound -_UI_SiriusExpressionDescription_expression_feature = Expression -_UI_SiriusExpressionDescription_parameters_feature = Parameters -_UI_SiriusExpressionDescription_returnType_feature = Return Type -_UI_SiriusExpressionDescription_variableContainers_feature = Variable Containers -_UI_SiriusVariable_eType_feature = EType -_UI_SiriusExpressionClass_eClass_feature = EClass -_UI_SiriusParameter_optional_feature = Optional -_UI_SiriusParameter_variable_feature = Variable -_UI_UserDefinedVariable_type = User Defined Variable -_UI_UserDefinedVariable_valueExpression_feature = Value Expression diff --git a/plugins/org.eclipse.sirius.expression.edit/plugin.xml b/plugins/org.eclipse.sirius.expression.edit/plugin.xml deleted file mode 100644 index 3098b8618..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/plugin.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java deleted file mode 100644 index 2d48f337d..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java +++ /dev/null @@ -1,96 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.provider; - -import org.eclipse.emf.common.EMFPlugin; - -import org.eclipse.emf.common.util.ResourceLocator; -import org.eclipse.emf.ecore.provider.EcoreEditPlugin; - -/** - * This is the central singleton for the Expression edit plugin. - * - * - * @generated - */ -public final class ExpressionEditPlugin extends EMFPlugin { - /** - * Keep track of the singleton. - * - * - * @generated - */ - public static final ExpressionEditPlugin INSTANCE = new ExpressionEditPlugin(); - - /** - * Keep track of the singleton. - * - * - * @generated - */ - private static Implementation plugin; - - /** - * Create the instance. - * - * - * @generated - */ - public ExpressionEditPlugin() { - super - (new ResourceLocator [] { - EcoreEditPlugin.INSTANCE, - }); - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * - * @return the singleton instance. - * @generated - */ - @Override - public ResourceLocator getPluginResourceLocator() { - return plugin; - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * - * @return the singleton instance. - * @generated - */ - public static Implementation getPlugin() { - return plugin; - } - - /** - * The actual implementation of the Eclipse Plugin. - * - * - * @generated - */ - public static class Implementation extends EclipsePlugin { - /** - * Creates an instance. - * - * - * @generated - */ - public Implementation() { - super(); - - // Remember the static instance. - // - plugin = this; - } - } - -} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java deleted file mode 100644 index 40a322653..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java +++ /dev/null @@ -1,324 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.provider; - -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.edit.provider.ChangeNotifier; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.ComposedAdapterFactory; -import org.eclipse.emf.edit.provider.IChangeNotifier; -import org.eclipse.emf.edit.provider.IDisposable; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.INotifyChangedListener; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; - -import org.eclipse.sirius.expression.util.ExpressionAdapterFactory; - -/** - * This is the factory that is used to provide the interfaces needed to support Viewers. - * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. - * The adapters also support Eclipse property sheets. - * Note that most of the adapters are shared among multiple instances. - * - * - * @generated - */ -public class ExpressionItemProviderAdapterFactory extends ExpressionAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { - /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * - * - * @generated - */ - protected ComposedAdapterFactory parentAdapterFactory; - - /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * - * - * @generated - */ - protected IChangeNotifier changeNotifier = new ChangeNotifier(); - - /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * - * - * @generated - */ - protected Collection supportedTypes = new ArrayList(); - - /** - * This constructs an instance. - * - * - * @generated - */ - public ExpressionItemProviderAdapterFactory() { - supportedTypes.add(IEditingDomainItemProvider.class); - supportedTypes.add(IStructuredItemContentProvider.class); - supportedTypes.add(ITreeItemContentProvider.class); - supportedTypes.add(IItemLabelProvider.class); - supportedTypes.add(IItemPropertySource.class); - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.SiriusExpressionPackage} instances. - * - * - * @generated - */ - protected SiriusExpressionPackageItemProvider siriusExpressionPackageItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionPackage}. - * - * - * @generated - */ - @Override - public Adapter createSiriusExpressionPackageAdapter() { - if (siriusExpressionPackageItemProvider == null) { - siriusExpressionPackageItemProvider = new SiriusExpressionPackageItemProvider(this); - } - - return siriusExpressionPackageItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.SiriusExpressionDescription} instances. - * - * - * @generated - */ - protected SiriusExpressionDescriptionItemProvider siriusExpressionDescriptionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionDescription}. - * - * - * @generated - */ - @Override - public Adapter createSiriusExpressionDescriptionAdapter() { - if (siriusExpressionDescriptionItemProvider == null) { - siriusExpressionDescriptionItemProvider = new SiriusExpressionDescriptionItemProvider(this); - } - - return siriusExpressionDescriptionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.SiriusVariable} instances. - * - * - * @generated - */ - protected SiriusVariableItemProvider siriusVariableItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.sirius.expression.SiriusVariable}. - * - * - * @generated - */ - @Override - public Adapter createSiriusVariableAdapter() { - if (siriusVariableItemProvider == null) { - siriusVariableItemProvider = new SiriusVariableItemProvider(this); - } - - return siriusVariableItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.SiriusExpressionClass} instances. - * - * - * @generated - */ - protected SiriusExpressionClassItemProvider siriusExpressionClassItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionClass}. - * - * - * @generated - */ - @Override - public Adapter createSiriusExpressionClassAdapter() { - if (siriusExpressionClassItemProvider == null) { - siriusExpressionClassItemProvider = new SiriusExpressionClassItemProvider(this); - } - - return siriusExpressionClassItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.SiriusParameter} instances. - * - * - * @generated - */ - protected SiriusParameterItemProvider siriusParameterItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.sirius.expression.SiriusParameter}. - * - * - * @generated - */ - @Override - public Adapter createSiriusParameterAdapter() { - if (siriusParameterItemProvider == null) { - siriusParameterItemProvider = new SiriusParameterItemProvider(this); - } - - return siriusParameterItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.UserDefinedVariable} instances. - * - * - * @generated - */ - protected UserDefinedVariableItemProvider userDefinedVariableItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.sirius.expression.UserDefinedVariable}. - * - * - * @generated - */ - @Override - public Adapter createUserDefinedVariableAdapter() { - if (userDefinedVariableItemProvider == null) { - userDefinedVariableItemProvider = new UserDefinedVariableItemProvider(this); - } - - return userDefinedVariableItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * - * - * @generated - */ - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * - * - * @generated - */ - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * - * - * @generated - */ - @Override - public boolean isFactoryForType(Object type) { - return supportedTypes.contains(type) || super.isFactoryForType(type); - } - - /** - * This implementation substitutes the factory itself as the key for the adapter. - * - * - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * - * - * @generated - */ - @Override - public Object adapt(Object object, Object type) { - if (isFactoryForType(type)) { - Object adapter = super.adapt(object, type); - if (!(type instanceof Class) || (((Class)type).isInstance(adapter))) { - return adapter; - } - } - - return null; - } - - /** - * This adds a listener. - * - * - * @generated - */ - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * - * - * @generated - */ - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * - * - * @generated - */ - public void fireNotifyChanged(Notification notification) { - changeNotifier.fireNotifyChanged(notification); - - if (parentAdapterFactory != null) { - parentAdapterFactory.fireNotifyChanged(notification); - } - } - - /** - * This disposes all of the item providers created by this factory. - * - * - * @generated - */ - public void dispose() { - if (siriusExpressionPackageItemProvider != null) siriusExpressionPackageItemProvider.dispose(); - if (siriusExpressionDescriptionItemProvider != null) siriusExpressionDescriptionItemProvider.dispose(); - if (siriusVariableItemProvider != null) siriusVariableItemProvider.dispose(); - if (siriusExpressionClassItemProvider != null) siriusExpressionClassItemProvider.dispose(); - if (siriusParameterItemProvider != null) siriusParameterItemProvider.dispose(); - if (userDefinedVariableItemProvider != null) userDefinedVariableItemProvider.dispose(); - } - -} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java deleted file mode 100644 index bea80dfaa..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java +++ /dev/null @@ -1,219 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.sirius.expression.ExpressionFactory; -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.SiriusExpressionClass; - -/** - * This is the item provider adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionClass} object. - * - * - * @generated - */ -public class SiriusExpressionClassItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public SiriusExpressionClassItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addEClassPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the EClass feature. - * - * - * @generated - */ - protected void addEClassPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_SiriusExpressionClass_eClass_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionClass_eClass_feature", "_UI_SiriusExpressionClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__ECLASS, - true, - false, - true, - null, - 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__VARIABLES); - childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns SiriusExpressionClass.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusExpressionClass")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_SiriusExpressionClass_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(SiriusExpressionClass.class)) { - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add - (createChildParameter - (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__VARIABLES, - ExpressionFactory.eINSTANCE.createSiriusVariable())); - - newChildDescriptors.add - (createChildParameter - (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__VARIABLES, - ExpressionFactory.eINSTANCE.createUserDefinedVariable())); - - newChildDescriptors.add - (createChildParameter - (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS, - ExpressionFactory.eINSTANCE.createSiriusExpressionDescription())); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ExpressionEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionDescriptionItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionDescriptionItemProvider.java deleted file mode 100644 index 67f02360a..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionDescriptionItemProvider.java +++ /dev/null @@ -1,305 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.sirius.expression.ExpressionFactory; -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.SiriusExpressionDescription; - -/** - * This is the item provider adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionDescription} object. - * - * - * @generated - */ -public class SiriusExpressionDescriptionItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public SiriusExpressionDescriptionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addLowerBoundPropertyDescriptor(object); - addUpperBoundPropertyDescriptor(object); - addExpressionPropertyDescriptor(object); - addReturnTypePropertyDescriptor(object); - addVariableContainersPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Lower Bound feature. - * - * - * @generated - */ - protected void addLowerBoundPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_SiriusExpressionDescription_lowerBound_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionDescription_lowerBound_feature", "_UI_SiriusExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND, - true, - false, - false, - ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Upper Bound feature. - * - * - * @generated - */ - protected void addUpperBoundPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_SiriusExpressionDescription_upperBound_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionDescription_upperBound_feature", "_UI_SiriusExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND, - true, - false, - false, - ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Expression feature. - * - * - * @generated - */ - protected void addExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_SiriusExpressionDescription_expression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionDescription_expression_feature", "_UI_SiriusExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Return Type feature. - * - * - * @generated - */ - protected void addReturnTypePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_SiriusExpressionDescription_returnType_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionDescription_returnType_feature", "_UI_SiriusExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Variable Containers feature. - * - * - * @generated - */ - protected void addVariableContainersPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_SiriusExpressionDescription_variableContainers_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionDescription_variableContainers_feature", "_UI_SiriusExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS, - true, - false, - true, - null, - 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns SiriusExpressionDescription.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusExpressionDescription")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - SiriusExpressionDescription siriusExpressionDescription = (SiriusExpressionDescription)object; - return getString("_UI_SiriusExpressionDescription_type") + " " + siriusExpressionDescription.getLowerBound(); //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(SiriusExpressionDescription.class)) { - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add - (createChildParameter - (ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS, - ExpressionFactory.eINSTANCE.createSiriusParameter())); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ExpressionEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionPackageItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionPackageItemProvider.java deleted file mode 100644 index 71ba24b31..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionPackageItemProvider.java +++ /dev/null @@ -1,207 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.sirius.expression.ExpressionFactory; -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.SiriusExpressionPackage; - -/** - * This is the item provider adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionPackage} object. - * - * - * @generated - */ -public class SiriusExpressionPackageItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public SiriusExpressionPackageItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addEPackagePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the EPackage feature. - * - * - * @generated - */ - protected void addEPackagePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_SiriusExpressionPackage_ePackage_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionPackage_ePackage_feature", "_UI_SiriusExpressionPackage_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, - true, - false, - true, - null, - 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); - } - return childrenFeatures; - } - - /** - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns SiriusExpressionPackage.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusExpressionPackage")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_SiriusExpressionPackage_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(SiriusExpressionPackage.class)) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add - (createChildParameter - (ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES, - ExpressionFactory.eINSTANCE.createSiriusExpressionClass())); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ExpressionEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusParameterItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusParameterItemProvider.java deleted file mode 100644 index 622d2f995..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusParameterItemProvider.java +++ /dev/null @@ -1,194 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.SiriusParameter; - -/** - * This is the item provider adapter for a {@link org.eclipse.sirius.expression.SiriusParameter} object. - * - * - * @generated - */ -public class SiriusParameterItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public SiriusParameterItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addOptionalPropertyDescriptor(object); - addVariablePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Optional feature. - * - * - * @generated - */ - protected void addOptionalPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_SiriusParameter_optional_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_SiriusParameter_optional_feature", "_UI_SiriusParameter_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.SIRIUS_PARAMETER__OPTIONAL, - true, - false, - false, - ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Variable feature. - * - * - * @generated - */ - protected void addVariablePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_SiriusParameter_variable_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_SiriusParameter_variable_feature", "_UI_SiriusParameter_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.SIRIUS_PARAMETER__VARIABLE, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns SiriusParameter.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusParameter")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - SiriusParameter siriusParameter = (SiriusParameter)object; - return getString("_UI_SiriusParameter_type") + " " + siriusParameter.isOptional(); //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(SiriusParameter.class)) { - case ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ExpressionEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusVariableItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusVariableItemProvider.java deleted file mode 100644 index 481537529..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusVariableItemProvider.java +++ /dev/null @@ -1,220 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.SiriusVariable; - -/** - * This is the item provider adapter for a {@link org.eclipse.sirius.expression.SiriusVariable} object. - * - * - * @generated - */ -public class SiriusVariableItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public SiriusVariableItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addNamePropertyDescriptor(object); - addDocumentationPropertyDescriptor(object); - addETypePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Name feature. - * - * - * @generated - */ - protected void addNamePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_SiriusVariable_name_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_SiriusVariable_name_feature", "_UI_SiriusVariable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.SIRIUS_VARIABLE__NAME, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Documentation feature. - * - * - * @generated - */ - protected void addDocumentationPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_SiriusVariable_documentation_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_SiriusVariable_documentation_feature", "_UI_SiriusVariable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.SIRIUS_VARIABLE__DOCUMENTATION, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the EType feature. - * - * - * @generated - */ - protected void addETypePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_SiriusVariable_eType_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_SiriusVariable_eType_feature", "_UI_SiriusVariable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.SIRIUS_VARIABLE__ETYPE, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns SiriusVariable.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusVariable")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((SiriusVariable)object).getName(); - return label == null || label.length() == 0 ? - getString("_UI_SiriusVariable_type") : //$NON-NLS-1$ - getString("_UI_SiriusVariable_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(SiriusVariable.class)) { - case ExpressionPackage.SIRIUS_VARIABLE__NAME: - case ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ExpressionEditPlugin.INSTANCE; - } - -} diff --git a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/UserDefinedVariableItemProvider.java b/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/UserDefinedVariableItemProvider.java deleted file mode 100644 index 227dd60f5..000000000 --- a/plugins/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/UserDefinedVariableItemProvider.java +++ /dev/null @@ -1,147 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.UserDefinedVariable; - -/** - * This is the item provider adapter for a {@link org.eclipse.sirius.expression.UserDefinedVariable} object. - * - * - * @generated - */ -public class UserDefinedVariableItemProvider extends SiriusVariableItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public UserDefinedVariableItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addValueExpressionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Value Expression feature. - * - * - * @generated - */ - protected void addValueExpressionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_UserDefinedVariable_valueExpression_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_UserDefinedVariable_valueExpression_feature", "_UI_UserDefinedVariable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ExpressionPackage.Literals.USER_DEFINED_VARIABLE__VALUE_EXPRESSION, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This returns UserDefinedVariable.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/UserDefinedVariable")); //$NON-NLS-1$ - } - - /** - * - * - * @generated - */ - @Override - protected boolean shouldComposeCreationImage() { - return true; - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((UserDefinedVariable)object).getName(); - return label == null || label.length() == 0 ? - getString("_UI_UserDefinedVariable_type") : //$NON-NLS-1$ - getString("_UI_UserDefinedVariable_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(UserDefinedVariable.class)) { - case ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/org.eclipse.sirius.expression.text.tests/.classpath b/plugins/org.eclipse.sirius.expression.text.tests/.classpath deleted file mode 100644 index e4dad7e73..000000000 --- a/plugins/org.eclipse.sirius.expression.text.tests/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.text.tests/.project b/plugins/org.eclipse.sirius.expression.text.tests/.project deleted file mode 100644 index f68429129..000000000 --- a/plugins/org.eclipse.sirius.expression.text.tests/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.eclipse.sirius.expression.text.tests - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - org.eclipse.xtext.ui.shared.xtextNature - - diff --git a/plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c020..000000000 --- a/plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0c68a61dc..000000000 --- a/plugins/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/plugins/org.eclipse.sirius.expression.text.tests/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.text.tests/META-INF/MANIFEST.MF deleted file mode 100644 index d628f3c76..000000000 --- a/plugins/org.eclipse.sirius.expression.text.tests/META-INF/MANIFEST.MF +++ /dev/null @@ -1,25 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-Vendor: %providerName -Bundle-Localization: plugin -Bundle-Version: 1.0.0.qualifier -Bundle-SymbolicName: org.eclipse.sirius.expression.text.tests; singleton:=true -Bundle-ActivationPolicy: lazy -Require-Bundle: org.eclipse.sirius.expression.text, - org.eclipse.sirius.expression.text.ui, - org.eclipse.core.runtime, - org.eclipse.xtext.junit4, - org.eclipse.xtext.xbase.lib, - org.eclipse.ui.workbench;resolution:=optional, - org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional -Import-Package: org.apache.log4j, - org.junit;version="4.5.0", - org.junit.runner;version="4.5.0", - org.junit.runner.manipulation;version="4.5.0", - org.junit.runner.notification;version="4.5.0", - org.junit.runners;version="4.5.0", - org.junit.runners.model;version="4.5.0", - org.hamcrest.core -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Export-Package: org.eclipse.sirius.expression.text diff --git a/plugins/org.eclipse.sirius.expression.text.tests/about.html b/plugins/org.eclipse.sirius.expression.text.tests/about.html deleted file mode 100644 index f3a55ce5f..000000000 --- a/plugins/org.eclipse.sirius.expression.text.tests/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

                About This Content

                - -

                June 15, 2010

                -

                License

                - -

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

                - -

                If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

                - - - \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text.tests/build.properties b/plugins/org.eclipse.sirius.expression.text.tests/build.properties deleted file mode 100644 index ef9ad3990..000000000 --- a/plugins/org.eclipse.sirius.expression.text.tests/build.properties +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm -# Contributors: Obeo - initial API and implementation - -source.. = src-gen/ -bin.includes = META-INF/,\ - .,\ - about.html,\ - plugin.properties diff --git a/plugins/org.eclipse.sirius.expression.text.tests/org.eclipse.sirius.expression.text.tests.launch b/plugins/org.eclipse.sirius.expression.text.tests/org.eclipse.sirius.expression.text.tests.launch deleted file mode 100644 index 75a3747cf..000000000 --- a/plugins/org.eclipse.sirius.expression.text.tests/org.eclipse.sirius.expression.text.tests.launch +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.text.tests/plugin.properties b/plugins/org.eclipse.sirius.expression.text.tests/plugin.properties deleted file mode 100644 index 501ec941a..000000000 --- a/plugins/org.eclipse.sirius.expression.text.tests/plugin.properties +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm - -pluginName = Sirius Expression Tests -providerName = Eclipse Modeling Project \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextInjectorProvider.java b/plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextInjectorProvider.java deleted file mode 100644 index 768d69fef..000000000 --- a/plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextInjectorProvider.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text; - -import org.eclipse.xtext.junit4.GlobalRegistries; -import org.eclipse.xtext.junit4.GlobalRegistries.GlobalStateMemento; -import org.eclipse.xtext.junit4.IInjectorProvider; -import org.eclipse.xtext.junit4.IRegistryConfigurator; - -import com.google.inject.Injector; - -public class ExpressionTextInjectorProvider implements IInjectorProvider, IRegistryConfigurator { - - protected GlobalStateMemento stateBeforeInjectorCreation; - protected GlobalStateMemento stateAfterInjectorCreation; - protected Injector injector; - - static { - GlobalRegistries.initializeDefaults(); - } - - @Override - public Injector getInjector() - { - if (injector == null) { - stateBeforeInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); - this.injector = internalCreateInjector(); - stateAfterInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); - } - return injector; - } - - protected Injector internalCreateInjector() { - return new ExpressionTextStandaloneSetup().createInjectorAndDoEMFRegistration(); - } - - @Override - public void restoreRegistry() { - stateBeforeInjectorCreation.restoreGlobalState(); - } - - @Override - public void setupRegistry() { - getInjector(); - stateAfterInjectorCreation.restoreGlobalState(); - } -} diff --git a/plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextUiInjectorProvider.java b/plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextUiInjectorProvider.java deleted file mode 100644 index 86bbd876b..000000000 --- a/plugins/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextUiInjectorProvider.java +++ /dev/null @@ -1,17 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text; - -import org.eclipse.xtext.junit4.IInjectorProvider; - -import com.google.inject.Injector; - -public class ExpressionTextUiInjectorProvider implements IInjectorProvider { - - @Override - public Injector getInjector() { - return org.eclipse.sirius.expression.text.ui.internal.ExpressionTextActivator.getInstance().getInjector("org.eclipse.sirius.expression.text.ExpressionText"); - } - -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/.classpath b/plugins/org.eclipse.sirius.expression.text.ui/.classpath deleted file mode 100644 index 6ea81b1e6..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/.classpath +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.text.ui/.project b/plugins/org.eclipse.sirius.expression.text.ui/.project deleted file mode 100644 index 8bf9af763..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.eclipse.sirius.expression.text.ui - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - org.eclipse.xtext.ui.shared.xtextNature - - diff --git a/plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c020..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0c68a61dc..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/plugins/org.eclipse.sirius.expression.text.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.text.ui/META-INF/MANIFEST.MF deleted file mode 100644 index 7ae6af452..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/META-INF/MANIFEST.MF +++ /dev/null @@ -1,27 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-Vendor: %providerName -Bundle-Version: 1.0.0.qualifier -Bundle-Localization: plugin -Bundle-SymbolicName: org.eclipse.sirius.expression.text.ui; singleton:=true -Bundle-ActivationPolicy: lazy -Require-Bundle: org.eclipse.sirius.expression.text;visibility:=reexport, - org.eclipse.xtext.ui, - org.eclipse.ui.editors;bundle-version="3.5.0", - org.eclipse.ui.ide;bundle-version="3.5.0", - org.eclipse.xtext.ui.shared, - org.eclipse.ui, - org.eclipse.xtext.builder, - org.eclipse.xtext.xbase.lib, - org.eclipse.xtext.common.types.ui, - org.eclipse.xtext.ui.codetemplates.ui, - org.eclipse.compare -Import-Package: org.apache.log4j -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Export-Package: org.eclipse.sirius.expression.text.ui.quickfix, - org.eclipse.sirius.expression.text.ui.contentassist, - org.eclipse.sirius.expression.text.ui.internal, - org.eclipse.sirius.expression.text.ui.contentassist.antlr, - org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal -Bundle-Activator: org.eclipse.sirius.expression.text.ui.internal.ExpressionTextActivator diff --git a/plugins/org.eclipse.sirius.expression.text.ui/about.html b/plugins/org.eclipse.sirius.expression.text.ui/about.html deleted file mode 100644 index f3a55ce5f..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

                About This Content

                - -

                June 15, 2010

                -

                License

                - -

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

                - -

                If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

                - - - \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text.ui/build.properties b/plugins/org.eclipse.sirius.expression.text.ui/build.properties deleted file mode 100644 index d5120529a..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/build.properties +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm - -source.. = src/,\ - src-gen/,\ - xtend-gen/ -bin.includes = META-INF/,\ - .,\ - plugin.xml,\ - about.html,\ - plugin.properties diff --git a/plugins/org.eclipse.sirius.expression.text.ui/plugin.properties b/plugins/org.eclipse.sirius.expression.text.ui/plugin.properties deleted file mode 100644 index a48a618d0..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/plugin.properties +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm - -pluginName = Sirius Expression UI -providerName = Eclipse Modeling Project \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text.ui/plugin.xml b/plugins/org.eclipse.sirius.expression.text.ui/plugin.xml deleted file mode 100644 index 1fae06abc..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/plugin.xml +++ /dev/null @@ -1,425 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.text.ui/plugin.xml_gen b/plugins/org.eclipse.sirius.expression.text.ui/plugin.xml_gen deleted file mode 100644 index 1fae06abc..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/plugin.xml_gen +++ /dev/null @@ -1,425 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/AbstractExpressionTextUiModule.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/AbstractExpressionTextUiModule.java deleted file mode 100644 index 1dc331f4c..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/AbstractExpressionTextUiModule.java +++ /dev/null @@ -1,196 +0,0 @@ - -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui; - -import org.eclipse.ui.plugin.AbstractUIPlugin; - -/** - * Manual modifications go to {org.eclipse.sirius.expression.text.ui.ExpressionTextUiModule} - */ -@SuppressWarnings("all") -public abstract class AbstractExpressionTextUiModule extends org.eclipse.xtext.common.types.ui.DefaultCommonTypesUiModule { - - public AbstractExpressionTextUiModule(AbstractUIPlugin plugin) { - super(plugin); - } - - - // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment - public com.google.inject.Provider provideIAllContainersState() { - return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState(); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIProposalConflictHelper() { - return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureHighlightingLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextLexer.class); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureHighlightingTokenDefProvider(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class); - } - - // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment - public Class bindIDependentElementsCalculator() { - return org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class); - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public Class bindIXtextEditorCallback() { - return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public Class bindIContextualOutputConfigurationProvider() { - return org.eclipse.xtext.builder.EclipseOutputConfigurationProvider.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.builder.builderState.IBuilderState.class); - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public Class bindDocumentBasedDirtyResource() { - return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class; - } - - // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment - public Class bindIXtextBuilderParticipant() { - return org.eclipse.xtext.builder.BuilderParticipant.class; - } - - // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment - public org.eclipse.core.resources.IWorkspaceRoot bindIWorkspaceRootToInstance() { - return org.eclipse.core.resources.ResourcesPlugin.getWorkspace().getRoot(); - } - - // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment - public void configureBuilderPreferenceStoreInitializer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("builderPreferenceInitializer")).to(org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess.Initializer.class); - } - - // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment - public Class bindILabelProvider() { - return org.eclipse.sirius.expression.text.ui.labeling.ExpressionTextLabelProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment - public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) { - binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.sirius.expression.text.ui.labeling.ExpressionTextDescriptionLabelProvider.class); - } - - // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment - public Class bindIOutlineTreeProvider() { - return org.eclipse.sirius.expression.text.ui.outline.ExpressionTextOutlineTreeProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment - public Class bindIOutlineTreeStructureProvider() { - return org.eclipse.sirius.expression.text.ui.outline.ExpressionTextOutlineTreeProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment - public Class bindIssueResolutionProvider() { - return org.eclipse.sirius.expression.text.ui.quickfix.ExpressionTextQuickfixProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.contentAssist.ContentAssistFragment - public Class bindIContentProposalProvider() { - return org.eclipse.sirius.expression.text.ui.contentassist.ExpressionTextProposalProvider.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public Class bindContentAssistContext$Factory() { - return org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public Class bindIContentAssistParser() { - return org.eclipse.sirius.expression.text.ui.contentassist.antlr.ExpressionTextParser.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public void configureContentAssistLexerProvider(com.google.inject.Binder binder) { - binder.bind(org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextLexer.class).toProvider(org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextLexer.class)); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public void configureContentAssistLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST)).to(org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextLexer.class); - } - - // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment - public Class bindIRenameStrategy() { - return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy.class; - } - - // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment - public Class bindIReferenceUpdater() { - return org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater.class; - } - - // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment - public void configureIPreferenceStoreInitializer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("RefactoringPreferences")).to(org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences.Initializer.class); - } - - // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment - public Class bindIRenameRefactoringProvider() { - return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment - public Class bindIRenameSupport$Factory() { - return org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport.Factory.class; - } - - // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment - public Class bindPrefixMatcher() { - return org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.class; - } - - // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment - public com.google.inject.Provider provideTemplatesLanguageConfiguration() { - return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); - } - - // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment - public com.google.inject.Provider provideLanguageRegistry() { - return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getLanguageRegistry(); - } - - // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment - @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class bindLanguageRegistrar() { - return org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.class; - } - - // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment - public Class bindXtextTemplatePreferencePage() { - return org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage.class; - } - - // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment - public Class bindIPartialContentAssistParser() { - return org.eclipse.sirius.expression.text.ui.contentassist.antlr.PartialExpressionTextContentAssistParser.class; - } - - // contributed by org.eclipse.xtext.ui.generator.compare.CompareFragment - public Class bindIViewerCreator() { - return org.eclipse.xtext.ui.compare.DefaultViewerCreator.class; - } - - -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/ExpressionTextExecutableExtensionFactory.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/ExpressionTextExecutableExtensionFactory.java deleted file mode 100644 index 1ea411595..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/ExpressionTextExecutableExtensionFactory.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui; - -import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; -import org.osgi.framework.Bundle; - -import com.google.inject.Injector; - -import org.eclipse.sirius.expression.text.ui.internal.ExpressionTextActivator; - -/** - * This class was generated. Customizations should only happen in a newly - * introduced subclass. - */ -public class ExpressionTextExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { - - @Override - protected Bundle getBundle() { - return ExpressionTextActivator.getInstance().getBundle(); - } - - @Override - protected Injector getInjector() { - return ExpressionTextActivator.getInstance().getInjector(ExpressionTextActivator.ORG_ECLIPSE_SIRIUS_EXPRESSION_TEXT_EXPRESSIONTEXT); - } - -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/AbstractExpressionTextProposalProvider.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/AbstractExpressionTextProposalProvider.java deleted file mode 100644 index 933ebe767..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/AbstractExpressionTextProposalProvider.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui.contentassist; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.*; -import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; -import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; - -/** - * Represents a generated, default implementation of superclass {@link org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider}. - * Methods are dynamically dispatched on the first parameter, i.e., you can override them - * with a more concrete subtype. - */ -@SuppressWarnings("all") -public class AbstractExpressionTextProposalProvider extends org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider { - - public void completeSiriusExpressionPackage_EPackage(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionPackage_ExpressionClasses(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionClass_EClass(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionClass_Variables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionClass_ExpressionDescriptions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusVariable_Documentation(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusVariable_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusVariable_EType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionDescription_Expression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionDescription_Parameters(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionDescription_ReturnType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionDescription_LowerBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionDescription_UpperBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusExpressionDescription_VariableContainers(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeSiriusParameter_Optional(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeSiriusParameter_Variable(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - - public void complete_SiriusExpressionPackage(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_SiriusExpressionClass(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_FQN(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_SiriusVariable(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_SiriusExpressionDescription(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_SiriusParameter(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Bound(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ID(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_INT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ML_COMMENT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_WS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/ExpressionTextParser.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/ExpressionTextParser.java deleted file mode 100644 index 614172056..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/ExpressionTextParser.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui.contentassist.antlr; - -import java.util.Collection; -import java.util.Map; -import java.util.HashMap; - -import org.antlr.runtime.RecognitionException; -import org.eclipse.xtext.AbstractElement; -import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser; -import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; - -import com.google.inject.Inject; - -import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; - -public class ExpressionTextParser extends AbstractContentAssistParser { - - @Inject - private ExpressionTextGrammarAccess grammarAccess; - - private Map nameMappings; - - @Override - protected org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser createParser() { - org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser result = new org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser(null); - result.setGrammarAccess(grammarAccess); - return result; - } - - @Override - protected String getRuleName(AbstractElement element) { - if (nameMappings == null) { - nameMappings = new HashMap() { - private static final long serialVersionUID = 1L; - { - put(grammarAccess.getSiriusExpressionPackageAccess().getGroup(), "rule__SiriusExpressionPackage__Group__0"); - put(grammarAccess.getSiriusExpressionClassAccess().getGroup(), "rule__SiriusExpressionClass__Group__0"); - put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); - put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); - put(grammarAccess.getSiriusVariableAccess().getGroup(), "rule__SiriusVariable__Group__0"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup(), "rule__SiriusExpressionDescription__Group__0"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3(), "rule__SiriusExpressionDescription__Group_3__0"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1(), "rule__SiriusExpressionDescription__Group_3_1__0"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16(), "rule__SiriusExpressionDescription__Group_16__0"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1(), "rule__SiriusExpressionDescription__Group_16_1__0"); - put(grammarAccess.getSiriusParameterAccess().getGroup(), "rule__SiriusParameter__Group__0"); - put(grammarAccess.getBoundAccess().getGroup(), "rule__Bound__Group__0"); - put(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1(), "rule__SiriusExpressionPackage__EPackageAssignment_1"); - put(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3(), "rule__SiriusExpressionPackage__ExpressionClassesAssignment_3"); - put(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1(), "rule__SiriusExpressionClass__EClassAssignment_1"); - put(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3(), "rule__SiriusExpressionClass__VariablesAssignment_3"); - put(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4(), "rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4"); - put(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0(), "rule__SiriusVariable__DocumentationAssignment_0"); - put(grammarAccess.getSiriusVariableAccess().getNameAssignment_2(), "rule__SiriusVariable__NameAssignment_2"); - put(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4(), "rule__SiriusVariable__ETypeAssignment_4"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1(), "rule__SiriusExpressionDescription__ExpressionAssignment_1"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0(), "rule__SiriusExpressionDescription__ParametersAssignment_3_0"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1(), "rule__SiriusExpressionDescription__ParametersAssignment_3_1_1"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeAssignment_6(), "rule__SiriusExpressionDescription__ReturnTypeAssignment_6"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8(), "rule__SiriusExpressionDescription__LowerBoundAssignment_8"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10(), "rule__SiriusExpressionDescription__UpperBoundAssignment_10"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_0(), "rule__SiriusExpressionDescription__VariableContainersAssignment_16_0"); - put(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_1_1(), "rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1"); - put(grammarAccess.getSiriusParameterAccess().getOptionalAssignment_0(), "rule__SiriusParameter__OptionalAssignment_0"); - put(grammarAccess.getSiriusParameterAccess().getVariableAssignment_1(), "rule__SiriusParameter__VariableAssignment_1"); - } - }; - } - return nameMappings.get(element); - } - - @Override - protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { - try { - org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser typedParser = (org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser) parser; - typedParser.entryRuleSiriusExpressionPackage(); - return typedParser.getFollowElements(); - } catch(RecognitionException ex) { - throw new RuntimeException(ex); - } - } - - @Override - protected String[] getInitialHiddenTokens() { - return new String[] { "RULE_WS" }; - } - - public ExpressionTextGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(ExpressionTextGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/PartialExpressionTextContentAssistParser.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/PartialExpressionTextContentAssistParser.java deleted file mode 100644 index 5c07f38e1..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/PartialExpressionTextContentAssistParser.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui.contentassist.antlr; - -import java.util.Collection; -import java.util.Collections; - -import org.eclipse.xtext.AbstractRule; -import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser; -import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; -import org.eclipse.xtext.util.PolymorphicDispatcher; - -/* - * Template CodetemplatesGeneratorFragment.xpt - */ -public class PartialExpressionTextContentAssistParser extends ExpressionTextParser implements IPartialContentAssistParser { - - private AbstractRule rule; - - @Override - public void initializeFor(AbstractRule rule) { - this.rule = rule; - } - - @Override - protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { - if (rule == null || rule.eIsProxy()) - return Collections.emptyList(); - String methodName = "entryRule" + rule.getName(); - PolymorphicDispatcher> dispatcher = - new PolymorphicDispatcher>(methodName, 0, 0, Collections.singletonList(parser)); - dispatcher.invoke(); - return parser.getFollowElements(); - } - -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g deleted file mode 100644 index ab00256bb..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g +++ /dev/null @@ -1,2197 +0,0 @@ -/* - * generated by Xtext - */ -grammar InternalExpressionText; - -options { - superClass=AbstractInternalContentAssistParser; - -} - -@lexer::header { -package org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; -} - -@parser::header { -package org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal; - -import java.io.InputStream; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA; -import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; - -} - -@parser::members { - - private ExpressionTextGrammarAccess grammarAccess; - - public void setGrammarAccess(ExpressionTextGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - - @Override - protected Grammar getGrammar() { - return grammarAccess.getGrammar(); - } - - @Override - protected String getValueForTokenName(String tokenName) { - return tokenName; - } - -} - - - - -// Entry rule entryRuleSiriusExpressionPackage -entryRuleSiriusExpressionPackage -: -{ before(grammarAccess.getSiriusExpressionPackageRule()); } - ruleSiriusExpressionPackage -{ after(grammarAccess.getSiriusExpressionPackageRule()); } - EOF -; - -// Rule SiriusExpressionPackage -ruleSiriusExpressionPackage - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); } -(rule__SiriusExpressionPackage__Group__0) -{ after(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSiriusExpressionClass -entryRuleSiriusExpressionClass -: -{ before(grammarAccess.getSiriusExpressionClassRule()); } - ruleSiriusExpressionClass -{ after(grammarAccess.getSiriusExpressionClassRule()); } - EOF -; - -// Rule SiriusExpressionClass -ruleSiriusExpressionClass - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getGroup()); } -(rule__SiriusExpressionClass__Group__0) -{ after(grammarAccess.getSiriusExpressionClassAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleFQN -entryRuleFQN -: -{ before(grammarAccess.getFQNRule()); } - ruleFQN -{ after(grammarAccess.getFQNRule()); } - EOF -; - -// Rule FQN -ruleFQN - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getFQNAccess().getGroup()); } -(rule__FQN__Group__0) -{ after(grammarAccess.getFQNAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSiriusVariable -entryRuleSiriusVariable -: -{ before(grammarAccess.getSiriusVariableRule()); } - ruleSiriusVariable -{ after(grammarAccess.getSiriusVariableRule()); } - EOF -; - -// Rule SiriusVariable -ruleSiriusVariable - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSiriusVariableAccess().getGroup()); } -(rule__SiriusVariable__Group__0) -{ after(grammarAccess.getSiriusVariableAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSiriusExpressionDescription -entryRuleSiriusExpressionDescription -: -{ before(grammarAccess.getSiriusExpressionDescriptionRule()); } - ruleSiriusExpressionDescription -{ after(grammarAccess.getSiriusExpressionDescriptionRule()); } - EOF -; - -// Rule SiriusExpressionDescription -ruleSiriusExpressionDescription - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); } -(rule__SiriusExpressionDescription__Group__0) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSiriusParameter -entryRuleSiriusParameter -: -{ before(grammarAccess.getSiriusParameterRule()); } - ruleSiriusParameter -{ after(grammarAccess.getSiriusParameterRule()); } - EOF -; - -// Rule SiriusParameter -ruleSiriusParameter - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSiriusParameterAccess().getGroup()); } -(rule__SiriusParameter__Group__0) -{ after(grammarAccess.getSiriusParameterAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleBound -entryRuleBound -: -{ before(grammarAccess.getBoundRule()); } - ruleBound -{ after(grammarAccess.getBoundRule()); } - EOF -; - -// Rule Bound -ruleBound - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getBoundAccess().getGroup()); } -(rule__Bound__Group__0) -{ after(grammarAccess.getBoundAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__SiriusExpressionPackage__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionPackage__Group__0__Impl - rule__SiriusExpressionPackage__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionPackage__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); } - - 'package' - -{ after(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionPackage__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionPackage__Group__1__Impl - rule__SiriusExpressionPackage__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionPackage__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); } -(rule__SiriusExpressionPackage__EPackageAssignment_1) -{ after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionPackage__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionPackage__Group__2__Impl - rule__SiriusExpressionPackage__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionPackage__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); } - - '{' - -{ after(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionPackage__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionPackage__Group__3__Impl - rule__SiriusExpressionPackage__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionPackage__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); } -(rule__SiriusExpressionPackage__ExpressionClassesAssignment_3)* -{ after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionPackage__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionPackage__Group__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionPackage__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); } - - '}' - -{ after(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - -rule__SiriusExpressionClass__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionClass__Group__0__Impl - rule__SiriusExpressionClass__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); } - - 'class' - -{ after(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionClass__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionClass__Group__1__Impl - rule__SiriusExpressionClass__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); } -(rule__SiriusExpressionClass__EClassAssignment_1) -{ after(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionClass__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionClass__Group__2__Impl - rule__SiriusExpressionClass__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); } - - '{' - -{ after(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionClass__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionClass__Group__3__Impl - rule__SiriusExpressionClass__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); } -(rule__SiriusExpressionClass__VariablesAssignment_3)* -{ after(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionClass__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionClass__Group__4__Impl - rule__SiriusExpressionClass__Group__5 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); } -(rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4)* -{ after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionClass__Group__5 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionClass__Group__5__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__Group__5__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); } - - '}' - -{ after(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - - - -rule__FQN__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__FQN__Group__0__Impl - rule__FQN__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__FQN__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); } - RULE_ID -{ after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__FQN__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__FQN__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__FQN__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFQNAccess().getGroup_1()); } -(rule__FQN__Group_1__0)* -{ after(grammarAccess.getFQNAccess().getGroup_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__FQN__Group_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__FQN__Group_1__0__Impl - rule__FQN__Group_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__FQN__Group_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); } - - '.' - -{ after(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__FQN__Group_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__FQN__Group_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__FQN__Group_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); } - RULE_ID -{ after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__SiriusVariable__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusVariable__Group__0__Impl - rule__SiriusVariable__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); } -(rule__SiriusVariable__DocumentationAssignment_0)? -{ after(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusVariable__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusVariable__Group__1__Impl - rule__SiriusVariable__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); } - - 'var' - -{ after(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusVariable__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusVariable__Group__2__Impl - rule__SiriusVariable__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); } -(rule__SiriusVariable__NameAssignment_2) -{ after(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusVariable__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusVariable__Group__3__Impl - rule__SiriusVariable__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); } - - ':' - -{ after(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusVariable__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusVariable__Group__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); } -(rule__SiriusVariable__ETypeAssignment_4) -{ after(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - -rule__SiriusExpressionDescription__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__0__Impl - rule__SiriusExpressionDescription__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); } - - 'exp' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__1__Impl - rule__SiriusExpressionDescription__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); } -(rule__SiriusExpressionDescription__ExpressionAssignment_1) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__2__Impl - rule__SiriusExpressionDescription__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); } - - '(' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__3__Impl - rule__SiriusExpressionDescription__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); } -(rule__SiriusExpressionDescription__Group_3__0)? -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__4__Impl - rule__SiriusExpressionDescription__Group__5 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); } - - ')' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__5 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__5__Impl - rule__SiriusExpressionDescription__Group__6 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__5__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); } - - ':' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__6 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__6__Impl - rule__SiriusExpressionDescription__Group__7 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__6__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeAssignment_6()); } -(rule__SiriusExpressionDescription__ReturnTypeAssignment_6) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeAssignment_6()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__7 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__7__Impl - rule__SiriusExpressionDescription__Group__8 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__7__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); } - - '[' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__8 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__8__Impl - rule__SiriusExpressionDescription__Group__9 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__8__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); } -(rule__SiriusExpressionDescription__LowerBoundAssignment_8) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__9 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__9__Impl - rule__SiriusExpressionDescription__Group__10 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__9__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); } - - '..' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__10 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__10__Impl - rule__SiriusExpressionDescription__Group__11 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__10__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); } -(rule__SiriusExpressionDescription__UpperBoundAssignment_10) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__11 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__11__Impl - rule__SiriusExpressionDescription__Group__12 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__11__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); } - - ']' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__12 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__12__Impl - rule__SiriusExpressionDescription__Group__13 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__12__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); } - - '{' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__13 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__13__Impl - rule__SiriusExpressionDescription__Group__14 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__13__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); } - - 'userDefinedVariableContainers' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__14 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__14__Impl - rule__SiriusExpressionDescription__Group__15 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__14__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); } - - '=' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__15 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__15__Impl - rule__SiriusExpressionDescription__Group__16 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__15__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); } - - '[' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__16 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__16__Impl - rule__SiriusExpressionDescription__Group__17 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__16__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); } -(rule__SiriusExpressionDescription__Group_16__0)? -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__17 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__17__Impl - rule__SiriusExpressionDescription__Group__18 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__17__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); } - - ']' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group__18 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group__18__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group__18__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); } - - '}' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -rule__SiriusExpressionDescription__Group_3__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_3__0__Impl - rule__SiriusExpressionDescription__Group_3__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_3__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); } -(rule__SiriusExpressionDescription__ParametersAssignment_3_0) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group_3__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_3__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_3__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); } -(rule__SiriusExpressionDescription__Group_3_1__0)* -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__SiriusExpressionDescription__Group_3_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_3_1__0__Impl - rule__SiriusExpressionDescription__Group_3_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_3_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); } - - ',' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group_3_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_3_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_3_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); } -(rule__SiriusExpressionDescription__ParametersAssignment_3_1_1) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__SiriusExpressionDescription__Group_16__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_16__0__Impl - rule__SiriusExpressionDescription__Group_16__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_16__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_0()); } -(rule__SiriusExpressionDescription__VariableContainersAssignment_16_0) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group_16__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_16__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_16__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); } -(rule__SiriusExpressionDescription__Group_16_1__0)* -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__SiriusExpressionDescription__Group_16_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_16_1__0__Impl - rule__SiriusExpressionDescription__Group_16_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_16_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); } - - ',' - -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusExpressionDescription__Group_16_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusExpressionDescription__Group_16_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__Group_16_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_1_1()); } -(rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__SiriusParameter__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusParameter__Group__0__Impl - rule__SiriusParameter__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusParameter__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusParameterAccess().getOptionalAssignment_0()); } -(rule__SiriusParameter__OptionalAssignment_0)? -{ after(grammarAccess.getSiriusParameterAccess().getOptionalAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SiriusParameter__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SiriusParameter__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusParameter__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusParameterAccess().getVariableAssignment_1()); } -(rule__SiriusParameter__VariableAssignment_1) -{ after(grammarAccess.getSiriusParameterAccess().getVariableAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__Bound__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Bound__Group__0__Impl - rule__Bound__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Bound__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); } -( - '-' -)? -{ after(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Bound__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Bound__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Bound__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); } - RULE_INT -{ after(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - -rule__SiriusExpressionPackage__EPackageAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); } -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageIDTerminalRuleCall_1_0_1()); } - RULE_ID{ after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageIDTerminalRuleCall_1_0_1()); } -) -{ after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); } - ruleSiriusExpressionClass{ after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__EClassAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); } -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); } - ruleFQN{ after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); } -) -{ after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__VariablesAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); } - ruleSiriusVariable{ after(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); } - ruleSiriusExpressionDescription{ after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__DocumentationAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); } - RULE_ML_COMMENT{ after(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__NameAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); } - RULE_ID{ after(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusVariable__ETypeAssignment_4 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); } -( -{ before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); } - ruleFQN{ after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); } -) -{ after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__ExpressionAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); } -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); } - ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); } -) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__ParametersAssignment_3_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); } - ruleSiriusParameter{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); } - ruleSiriusParameter{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__ReturnTypeAssignment_6 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); } -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierFQNParserRuleCall_6_0_1()); } - ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierFQNParserRuleCall_6_0_1()); } -) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__LowerBoundAssignment_8 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); } - ruleBound{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__UpperBoundAssignment_10 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); } - ruleBound{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); } -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_0_0_1()); } - ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_0_0_1()); } -) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); } -( -{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_1_1_0_1()); } - ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_1_1_0_1()); } -) -{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusParameter__OptionalAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); } -( -{ before(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); } - - 'optional' - -{ after(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); } -) - -{ after(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SiriusParameter__VariableAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); } -( -{ before(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableIDTerminalRuleCall_1_0_1()); } - RULE_ID{ after(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableIDTerminalRuleCall_1_0_1()); } -) -{ after(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -RULE_INT : ('0'..'9')+; - -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -RULE_WS : (' '|'\t'|'\r'|'\n')+; - - diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens deleted file mode 100644 index 3fe78ba0f..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens +++ /dev/null @@ -1,40 +0,0 @@ -'('=16 -')'=17 -','=23 -'-'=24 -'.'=12 -'..'=19 -':'=14 -'='=22 -'['=18 -']'=20 -'class'=11 -'exp'=15 -'optional'=25 -'package'=8 -'userDefinedVariableContainers'=21 -'var'=13 -'{'=9 -'}'=10 -RULE_ID=4 -RULE_INT=5 -RULE_ML_COMMENT=6 -RULE_WS=7 -T__10=10 -T__11=11 -T__12=12 -T__13=13 -T__14=14 -T__15=15 -T__16=16 -T__17=17 -T__18=18 -T__19=19 -T__20=20 -T__21=21 -T__22=22 -T__23=23 -T__24=24 -T__25=25 -T__8=8 -T__9=9 diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java deleted file mode 100644 index 82f76fae9..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java +++ /dev/null @@ -1,959 +0,0 @@ -package org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalExpressionTextLexer extends Lexer { - public static final int T__19=19; - public static final int T__15=15; - public static final int T__16=16; - public static final int T__17=17; - public static final int T__18=18; - public static final int T__11=11; - public static final int T__12=12; - public static final int T__13=13; - public static final int T__14=14; - public static final int EOF=-1; - public static final int T__10=10; - public static final int T__9=9; - public static final int T__8=8; - public static final int RULE_ID=4; - public static final int RULE_WS=7; - public static final int RULE_INT=5; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=6; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__20=20; - public static final int T__21=21; - - // delegates - // delegators - - public InternalExpressionTextLexer() {;} - public InternalExpressionTextLexer(CharStream input) { - this(input, new RecognizerSharedState()); - } - public InternalExpressionTextLexer(CharStream input, RecognizerSharedState state) { - super(input,state); - - } - public String getGrammarFileName() { return "InternalExpressionText.g"; } - - // $ANTLR start "T__8" - public final void mT__8() throws RecognitionException { - try { - int _type = T__8; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:11:6: ( 'package' ) - // InternalExpressionText.g:11:8: 'package' - { - match("package"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__8" - - // $ANTLR start "T__9" - public final void mT__9() throws RecognitionException { - try { - int _type = T__9; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:12:6: ( '{' ) - // InternalExpressionText.g:12:8: '{' - { - match('{'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__9" - - // $ANTLR start "T__10" - public final void mT__10() throws RecognitionException { - try { - int _type = T__10; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:13:7: ( '}' ) - // InternalExpressionText.g:13:9: '}' - { - match('}'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__10" - - // $ANTLR start "T__11" - public final void mT__11() throws RecognitionException { - try { - int _type = T__11; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:14:7: ( 'class' ) - // InternalExpressionText.g:14:9: 'class' - { - match("class"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__11" - - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { - try { - int _type = T__12; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:15:7: ( '.' ) - // InternalExpressionText.g:15:9: '.' - { - match('.'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:16:7: ( 'var' ) - // InternalExpressionText.g:16:9: 'var' - { - match("var"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__13" - - // $ANTLR start "T__14" - public final void mT__14() throws RecognitionException { - try { - int _type = T__14; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:17:7: ( ':' ) - // InternalExpressionText.g:17:9: ':' - { - match(':'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__14" - - // $ANTLR start "T__15" - public final void mT__15() throws RecognitionException { - try { - int _type = T__15; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:18:7: ( 'exp' ) - // InternalExpressionText.g:18:9: 'exp' - { - match("exp"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__15" - - // $ANTLR start "T__16" - public final void mT__16() throws RecognitionException { - try { - int _type = T__16; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:19:7: ( '(' ) - // InternalExpressionText.g:19:9: '(' - { - match('('); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__16" - - // $ANTLR start "T__17" - public final void mT__17() throws RecognitionException { - try { - int _type = T__17; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:20:7: ( ')' ) - // InternalExpressionText.g:20:9: ')' - { - match(')'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__17" - - // $ANTLR start "T__18" - public final void mT__18() throws RecognitionException { - try { - int _type = T__18; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:21:7: ( '[' ) - // InternalExpressionText.g:21:9: '[' - { - match('['); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__18" - - // $ANTLR start "T__19" - public final void mT__19() throws RecognitionException { - try { - int _type = T__19; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:22:7: ( '..' ) - // InternalExpressionText.g:22:9: '..' - { - match(".."); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__19" - - // $ANTLR start "T__20" - public final void mT__20() throws RecognitionException { - try { - int _type = T__20; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:23:7: ( ']' ) - // InternalExpressionText.g:23:9: ']' - { - match(']'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__20" - - // $ANTLR start "T__21" - public final void mT__21() throws RecognitionException { - try { - int _type = T__21; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:24:7: ( 'userDefinedVariableContainers' ) - // InternalExpressionText.g:24:9: 'userDefinedVariableContainers' - { - match("userDefinedVariableContainers"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__21" - - // $ANTLR start "T__22" - public final void mT__22() throws RecognitionException { - try { - int _type = T__22; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:25:7: ( '=' ) - // InternalExpressionText.g:25:9: '=' - { - match('='); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__22" - - // $ANTLR start "T__23" - public final void mT__23() throws RecognitionException { - try { - int _type = T__23; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:26:7: ( ',' ) - // InternalExpressionText.g:26:9: ',' - { - match(','); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__23" - - // $ANTLR start "T__24" - public final void mT__24() throws RecognitionException { - try { - int _type = T__24; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:27:7: ( '-' ) - // InternalExpressionText.g:27:9: '-' - { - match('-'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__24" - - // $ANTLR start "T__25" - public final void mT__25() throws RecognitionException { - try { - int _type = T__25; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:28:7: ( 'optional' ) - // InternalExpressionText.g:28:9: 'optional' - { - match("optional"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__25" - - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:2189:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalExpressionText.g:2189:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // InternalExpressionText.g:2189:11: ( '^' )? - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0=='^') ) { - alt1=1; - } - switch (alt1) { - case 1 : - // InternalExpressionText.g:2189:11: '^' - { - match('^'); - - } - break; - - } - - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // InternalExpressionText.g:2189:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // InternalExpressionText.g: - { - if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop2; - } - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ID" - - // $ANTLR start "RULE_INT" - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:2191:10: ( ( '0' .. '9' )+ ) - // InternalExpressionText.g:2191:12: ( '0' .. '9' )+ - { - // InternalExpressionText.g:2191:12: ( '0' .. '9' )+ - int cnt3=0; - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( ((LA3_0>='0' && LA3_0<='9')) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // InternalExpressionText.g:2191:13: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt3 >= 1 ) break loop3; - EarlyExitException eee = - new EarlyExitException(3, input); - throw eee; - } - cnt3++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_INT" - - // $ANTLR start "RULE_ML_COMMENT" - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:2193:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalExpressionText.g:2193:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); - - // InternalExpressionText.g:2193:24: ( options {greedy=false; } : . )* - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0=='*') ) { - int LA4_1 = input.LA(2); - - if ( (LA4_1=='/') ) { - alt4=2; - } - else if ( ((LA4_1>='\u0000' && LA4_1<='.')||(LA4_1>='0' && LA4_1<='\uFFFF')) ) { - alt4=1; - } - - - } - else if ( ((LA4_0>='\u0000' && LA4_0<=')')||(LA4_0>='+' && LA4_0<='\uFFFF')) ) { - alt4=1; - } - - - switch (alt4) { - case 1 : - // InternalExpressionText.g:2193:52: . - { - matchAny(); - - } - break; - - default : - break loop4; - } - } while (true); - - match("*/"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ML_COMMENT" - - // $ANTLR start "RULE_WS" - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:2195:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalExpressionText.g:2195:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // InternalExpressionText.g:2195:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt5=0; - loop5: - do { - int alt5=2; - int LA5_0 = input.LA(1); - - if ( ((LA5_0>='\t' && LA5_0<='\n')||LA5_0=='\r'||LA5_0==' ') ) { - alt5=1; - } - - - switch (alt5) { - case 1 : - // InternalExpressionText.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - if ( cnt5 >= 1 ) break loop5; - EarlyExitException eee = - new EarlyExitException(5, input); - throw eee; - } - cnt5++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_WS" - - public void mTokens() throws RecognitionException { - // InternalExpressionText.g:1:8: ( T__8 | T__9 | T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS ) - int alt6=22; - alt6 = dfa6.predict(input); - switch (alt6) { - case 1 : - // InternalExpressionText.g:1:10: T__8 - { - mT__8(); - - } - break; - case 2 : - // InternalExpressionText.g:1:15: T__9 - { - mT__9(); - - } - break; - case 3 : - // InternalExpressionText.g:1:20: T__10 - { - mT__10(); - - } - break; - case 4 : - // InternalExpressionText.g:1:26: T__11 - { - mT__11(); - - } - break; - case 5 : - // InternalExpressionText.g:1:32: T__12 - { - mT__12(); - - } - break; - case 6 : - // InternalExpressionText.g:1:38: T__13 - { - mT__13(); - - } - break; - case 7 : - // InternalExpressionText.g:1:44: T__14 - { - mT__14(); - - } - break; - case 8 : - // InternalExpressionText.g:1:50: T__15 - { - mT__15(); - - } - break; - case 9 : - // InternalExpressionText.g:1:56: T__16 - { - mT__16(); - - } - break; - case 10 : - // InternalExpressionText.g:1:62: T__17 - { - mT__17(); - - } - break; - case 11 : - // InternalExpressionText.g:1:68: T__18 - { - mT__18(); - - } - break; - case 12 : - // InternalExpressionText.g:1:74: T__19 - { - mT__19(); - - } - break; - case 13 : - // InternalExpressionText.g:1:80: T__20 - { - mT__20(); - - } - break; - case 14 : - // InternalExpressionText.g:1:86: T__21 - { - mT__21(); - - } - break; - case 15 : - // InternalExpressionText.g:1:92: T__22 - { - mT__22(); - - } - break; - case 16 : - // InternalExpressionText.g:1:98: T__23 - { - mT__23(); - - } - break; - case 17 : - // InternalExpressionText.g:1:104: T__24 - { - mT__24(); - - } - break; - case 18 : - // InternalExpressionText.g:1:110: T__25 - { - mT__25(); - - } - break; - case 19 : - // InternalExpressionText.g:1:116: RULE_ID - { - mRULE_ID(); - - } - break; - case 20 : - // InternalExpressionText.g:1:124: RULE_INT - { - mRULE_INT(); - - } - break; - case 21 : - // InternalExpressionText.g:1:133: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 22 : - // InternalExpressionText.g:1:149: RULE_WS - { - mRULE_WS(); - - } - break; - - } - - } - - - protected DFA6 dfa6 = new DFA6(this); - static final String DFA6_eotS = - "\1\uffff\1\22\2\uffff\1\22\1\31\1\22\1\uffff\1\22\4\uffff\1\22\3\uffff\1\22\4\uffff\2\22\2\uffff\6\22\1\46\1\47\4\22\2\uffff\3\22\1\57\3\22\1\uffff\2\22\1\65\2\22\1\uffff\1\22\1\71\1\22\1\uffff\23\22\1\116\1\uffff"; - static final String DFA6_eofS = - "\117\uffff"; - static final String DFA6_minS = - "\1\11\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\4\uffff\1\163\3\uffff\1\160\4\uffff\1\143\1\141\2\uffff\1\162\1\160\1\145\1\164\1\153\1\163\2\60\1\162\1\151\1\141\1\163\2\uffff\1\104\1\157\1\147\1\60\1\145\1\156\1\145\1\uffff\1\146\1\141\1\60\1\151\1\154\1\uffff\1\156\1\60\1\145\1\uffff\1\144\1\126\1\141\1\162\1\151\1\141\1\142\1\154\1\145\1\103\1\157\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\60\1\uffff"; - static final String DFA6_maxS = - "\1\175\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\4\uffff\1\163\3\uffff\1\160\4\uffff\1\143\1\141\2\uffff\1\162\1\160\1\145\1\164\1\153\1\163\2\172\1\162\1\151\1\141\1\163\2\uffff\1\104\1\157\1\147\1\172\1\145\1\156\1\145\1\uffff\1\146\1\141\1\172\1\151\1\154\1\uffff\1\156\1\172\1\145\1\uffff\1\144\1\126\1\141\1\162\1\151\1\141\1\142\1\154\1\145\1\103\1\157\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\172\1\uffff"; - static final String DFA6_acceptS = - "\2\uffff\1\2\1\3\3\uffff\1\7\1\uffff\1\11\1\12\1\13\1\15\1\uffff\1\17\1\20\1\21\1\uffff\1\23\1\24\1\25\1\26\2\uffff\1\14\1\5\14\uffff\1\6\1\10\7\uffff\1\4\5\uffff\1\1\3\uffff\1\22\24\uffff\1\16"; - static final String DFA6_specialS = - "\117\uffff}>"; - static final String[] DFA6_transitionS = { - "\2\25\2\uffff\1\25\22\uffff\1\25\7\uffff\1\11\1\12\2\uffff\1\17\1\20\1\5\1\24\12\23\1\7\2\uffff\1\16\3\uffff\32\22\1\13\1\uffff\1\14\2\22\1\uffff\2\22\1\4\1\22\1\10\11\22\1\21\1\1\4\22\1\15\1\6\4\22\1\2\1\uffff\1\3", - "\1\26", - "", - "", - "\1\27", - "\1\30", - "\1\32", - "", - "\1\33", - "", - "", - "", - "", - "\1\34", - "", - "", - "", - "\1\35", - "", - "", - "", - "", - "\1\36", - "\1\37", - "", - "", - "\1\40", - "\1\41", - "\1\42", - "\1\43", - "\1\44", - "\1\45", - "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", - "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", - "\1\50", - "\1\51", - "\1\52", - "\1\53", - "", - "", - "\1\54", - "\1\55", - "\1\56", - "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", - "\1\60", - "\1\61", - "\1\62", - "", - "\1\63", - "\1\64", - "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", - "\1\66", - "\1\67", - "", - "\1\70", - "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", - "\1\72", - "", - "\1\73", - "\1\74", - "\1\75", - "\1\76", - "\1\77", - "\1\100", - "\1\101", - "\1\102", - "\1\103", - "\1\104", - "\1\105", - "\1\106", - "\1\107", - "\1\110", - "\1\111", - "\1\112", - "\1\113", - "\1\114", - "\1\115", - "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", - "" - }; - - static final short[] DFA6_eot = DFA.unpackEncodedString(DFA6_eotS); - static final short[] DFA6_eof = DFA.unpackEncodedString(DFA6_eofS); - static final char[] DFA6_min = DFA.unpackEncodedStringToUnsignedChars(DFA6_minS); - static final char[] DFA6_max = DFA.unpackEncodedStringToUnsignedChars(DFA6_maxS); - static final short[] DFA6_accept = DFA.unpackEncodedString(DFA6_acceptS); - static final short[] DFA6_special = DFA.unpackEncodedString(DFA6_specialS); - static final short[][] DFA6_transition; - - static { - int numStates = DFA6_transitionS.length; - DFA6_transition = new short[numStates][]; - for (int i=0; i", "", "", "", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "'package'", "'{'", "'}'", "'class'", "'.'", "'var'", "':'", "'exp'", "'('", "')'", "'['", "'..'", "']'", "'userDefinedVariableContainers'", "'='", "','", "'-'", "'optional'" - }; - public static final int T__19=19; - public static final int T__15=15; - public static final int T__16=16; - public static final int T__17=17; - public static final int T__18=18; - public static final int T__11=11; - public static final int T__12=12; - public static final int T__13=13; - public static final int T__14=14; - public static final int EOF=-1; - public static final int T__10=10; - public static final int T__9=9; - public static final int T__8=8; - public static final int RULE_ID=4; - public static final int RULE_WS=7; - public static final int RULE_INT=5; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=6; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__20=20; - public static final int T__21=21; - - // delegates - // delegators - - - public InternalExpressionTextParser(TokenStream input) { - this(input, new RecognizerSharedState()); - } - public InternalExpressionTextParser(TokenStream input, RecognizerSharedState state) { - super(input, state); - - } - - - public String[] getTokenNames() { return InternalExpressionTextParser.tokenNames; } - public String getGrammarFileName() { return "InternalExpressionText.g"; } - - - - private ExpressionTextGrammarAccess grammarAccess; - - public void setGrammarAccess(ExpressionTextGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - - @Override - protected Grammar getGrammar() { - return grammarAccess.getGrammar(); - } - - @Override - protected String getValueForTokenName(String tokenName) { - return tokenName; - } - - - - - // $ANTLR start "entryRuleSiriusExpressionPackage" - // InternalExpressionText.g:60:1: entryRuleSiriusExpressionPackage : ruleSiriusExpressionPackage EOF ; - public final void entryRuleSiriusExpressionPackage() throws RecognitionException { - try { - // InternalExpressionText.g:61:1: ( ruleSiriusExpressionPackage EOF ) - // InternalExpressionText.g:62:1: ruleSiriusExpressionPackage EOF - { - before(grammarAccess.getSiriusExpressionPackageRule()); - pushFollow(FOLLOW_1); - ruleSiriusExpressionPackage(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionPackageRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleSiriusExpressionPackage" - - - // $ANTLR start "ruleSiriusExpressionPackage" - // InternalExpressionText.g:69:1: ruleSiriusExpressionPackage : ( ( rule__SiriusExpressionPackage__Group__0 ) ) ; - public final void ruleSiriusExpressionPackage() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:73:2: ( ( ( rule__SiriusExpressionPackage__Group__0 ) ) ) - // InternalExpressionText.g:74:1: ( ( rule__SiriusExpressionPackage__Group__0 ) ) - { - // InternalExpressionText.g:74:1: ( ( rule__SiriusExpressionPackage__Group__0 ) ) - // InternalExpressionText.g:75:1: ( rule__SiriusExpressionPackage__Group__0 ) - { - before(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); - // InternalExpressionText.g:76:1: ( rule__SiriusExpressionPackage__Group__0 ) - // InternalExpressionText.g:76:2: rule__SiriusExpressionPackage__Group__0 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionPackage__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleSiriusExpressionPackage" - - - // $ANTLR start "entryRuleSiriusExpressionClass" - // InternalExpressionText.g:88:1: entryRuleSiriusExpressionClass : ruleSiriusExpressionClass EOF ; - public final void entryRuleSiriusExpressionClass() throws RecognitionException { - try { - // InternalExpressionText.g:89:1: ( ruleSiriusExpressionClass EOF ) - // InternalExpressionText.g:90:1: ruleSiriusExpressionClass EOF - { - before(grammarAccess.getSiriusExpressionClassRule()); - pushFollow(FOLLOW_1); - ruleSiriusExpressionClass(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionClassRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleSiriusExpressionClass" - - - // $ANTLR start "ruleSiriusExpressionClass" - // InternalExpressionText.g:97:1: ruleSiriusExpressionClass : ( ( rule__SiriusExpressionClass__Group__0 ) ) ; - public final void ruleSiriusExpressionClass() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:101:2: ( ( ( rule__SiriusExpressionClass__Group__0 ) ) ) - // InternalExpressionText.g:102:1: ( ( rule__SiriusExpressionClass__Group__0 ) ) - { - // InternalExpressionText.g:102:1: ( ( rule__SiriusExpressionClass__Group__0 ) ) - // InternalExpressionText.g:103:1: ( rule__SiriusExpressionClass__Group__0 ) - { - before(grammarAccess.getSiriusExpressionClassAccess().getGroup()); - // InternalExpressionText.g:104:1: ( rule__SiriusExpressionClass__Group__0 ) - // InternalExpressionText.g:104:2: rule__SiriusExpressionClass__Group__0 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionClassAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleSiriusExpressionClass" - - - // $ANTLR start "entryRuleFQN" - // InternalExpressionText.g:116:1: entryRuleFQN : ruleFQN EOF ; - public final void entryRuleFQN() throws RecognitionException { - try { - // InternalExpressionText.g:117:1: ( ruleFQN EOF ) - // InternalExpressionText.g:118:1: ruleFQN EOF - { - before(grammarAccess.getFQNRule()); - pushFollow(FOLLOW_1); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getFQNRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleFQN" - - - // $ANTLR start "ruleFQN" - // InternalExpressionText.g:125:1: ruleFQN : ( ( rule__FQN__Group__0 ) ) ; - public final void ruleFQN() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:129:2: ( ( ( rule__FQN__Group__0 ) ) ) - // InternalExpressionText.g:130:1: ( ( rule__FQN__Group__0 ) ) - { - // InternalExpressionText.g:130:1: ( ( rule__FQN__Group__0 ) ) - // InternalExpressionText.g:131:1: ( rule__FQN__Group__0 ) - { - before(grammarAccess.getFQNAccess().getGroup()); - // InternalExpressionText.g:132:1: ( rule__FQN__Group__0 ) - // InternalExpressionText.g:132:2: rule__FQN__Group__0 - { - pushFollow(FOLLOW_2); - rule__FQN__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getFQNAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleFQN" - - - // $ANTLR start "entryRuleSiriusVariable" - // InternalExpressionText.g:144:1: entryRuleSiriusVariable : ruleSiriusVariable EOF ; - public final void entryRuleSiriusVariable() throws RecognitionException { - try { - // InternalExpressionText.g:145:1: ( ruleSiriusVariable EOF ) - // InternalExpressionText.g:146:1: ruleSiriusVariable EOF - { - before(grammarAccess.getSiriusVariableRule()); - pushFollow(FOLLOW_1); - ruleSiriusVariable(); - - state._fsp--; - - after(grammarAccess.getSiriusVariableRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleSiriusVariable" - - - // $ANTLR start "ruleSiriusVariable" - // InternalExpressionText.g:153:1: ruleSiriusVariable : ( ( rule__SiriusVariable__Group__0 ) ) ; - public final void ruleSiriusVariable() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:157:2: ( ( ( rule__SiriusVariable__Group__0 ) ) ) - // InternalExpressionText.g:158:1: ( ( rule__SiriusVariable__Group__0 ) ) - { - // InternalExpressionText.g:158:1: ( ( rule__SiriusVariable__Group__0 ) ) - // InternalExpressionText.g:159:1: ( rule__SiriusVariable__Group__0 ) - { - before(grammarAccess.getSiriusVariableAccess().getGroup()); - // InternalExpressionText.g:160:1: ( rule__SiriusVariable__Group__0 ) - // InternalExpressionText.g:160:2: rule__SiriusVariable__Group__0 - { - pushFollow(FOLLOW_2); - rule__SiriusVariable__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusVariableAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleSiriusVariable" - - - // $ANTLR start "entryRuleSiriusExpressionDescription" - // InternalExpressionText.g:172:1: entryRuleSiriusExpressionDescription : ruleSiriusExpressionDescription EOF ; - public final void entryRuleSiriusExpressionDescription() throws RecognitionException { - try { - // InternalExpressionText.g:173:1: ( ruleSiriusExpressionDescription EOF ) - // InternalExpressionText.g:174:1: ruleSiriusExpressionDescription EOF - { - before(grammarAccess.getSiriusExpressionDescriptionRule()); - pushFollow(FOLLOW_1); - ruleSiriusExpressionDescription(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleSiriusExpressionDescription" - - - // $ANTLR start "ruleSiriusExpressionDescription" - // InternalExpressionText.g:181:1: ruleSiriusExpressionDescription : ( ( rule__SiriusExpressionDescription__Group__0 ) ) ; - public final void ruleSiriusExpressionDescription() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:185:2: ( ( ( rule__SiriusExpressionDescription__Group__0 ) ) ) - // InternalExpressionText.g:186:1: ( ( rule__SiriusExpressionDescription__Group__0 ) ) - { - // InternalExpressionText.g:186:1: ( ( rule__SiriusExpressionDescription__Group__0 ) ) - // InternalExpressionText.g:187:1: ( rule__SiriusExpressionDescription__Group__0 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); - // InternalExpressionText.g:188:1: ( rule__SiriusExpressionDescription__Group__0 ) - // InternalExpressionText.g:188:2: rule__SiriusExpressionDescription__Group__0 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleSiriusExpressionDescription" - - - // $ANTLR start "entryRuleSiriusParameter" - // InternalExpressionText.g:200:1: entryRuleSiriusParameter : ruleSiriusParameter EOF ; - public final void entryRuleSiriusParameter() throws RecognitionException { - try { - // InternalExpressionText.g:201:1: ( ruleSiriusParameter EOF ) - // InternalExpressionText.g:202:1: ruleSiriusParameter EOF - { - before(grammarAccess.getSiriusParameterRule()); - pushFollow(FOLLOW_1); - ruleSiriusParameter(); - - state._fsp--; - - after(grammarAccess.getSiriusParameterRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleSiriusParameter" - - - // $ANTLR start "ruleSiriusParameter" - // InternalExpressionText.g:209:1: ruleSiriusParameter : ( ( rule__SiriusParameter__Group__0 ) ) ; - public final void ruleSiriusParameter() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:213:2: ( ( ( rule__SiriusParameter__Group__0 ) ) ) - // InternalExpressionText.g:214:1: ( ( rule__SiriusParameter__Group__0 ) ) - { - // InternalExpressionText.g:214:1: ( ( rule__SiriusParameter__Group__0 ) ) - // InternalExpressionText.g:215:1: ( rule__SiriusParameter__Group__0 ) - { - before(grammarAccess.getSiriusParameterAccess().getGroup()); - // InternalExpressionText.g:216:1: ( rule__SiriusParameter__Group__0 ) - // InternalExpressionText.g:216:2: rule__SiriusParameter__Group__0 - { - pushFollow(FOLLOW_2); - rule__SiriusParameter__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusParameterAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleSiriusParameter" - - - // $ANTLR start "entryRuleBound" - // InternalExpressionText.g:228:1: entryRuleBound : ruleBound EOF ; - public final void entryRuleBound() throws RecognitionException { - try { - // InternalExpressionText.g:229:1: ( ruleBound EOF ) - // InternalExpressionText.g:230:1: ruleBound EOF - { - before(grammarAccess.getBoundRule()); - pushFollow(FOLLOW_1); - ruleBound(); - - state._fsp--; - - after(grammarAccess.getBoundRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleBound" - - - // $ANTLR start "ruleBound" - // InternalExpressionText.g:237:1: ruleBound : ( ( rule__Bound__Group__0 ) ) ; - public final void ruleBound() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:241:2: ( ( ( rule__Bound__Group__0 ) ) ) - // InternalExpressionText.g:242:1: ( ( rule__Bound__Group__0 ) ) - { - // InternalExpressionText.g:242:1: ( ( rule__Bound__Group__0 ) ) - // InternalExpressionText.g:243:1: ( rule__Bound__Group__0 ) - { - before(grammarAccess.getBoundAccess().getGroup()); - // InternalExpressionText.g:244:1: ( rule__Bound__Group__0 ) - // InternalExpressionText.g:244:2: rule__Bound__Group__0 - { - pushFollow(FOLLOW_2); - rule__Bound__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getBoundAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleBound" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__0" - // InternalExpressionText.g:258:1: rule__SiriusExpressionPackage__Group__0 : rule__SiriusExpressionPackage__Group__0__Impl rule__SiriusExpressionPackage__Group__1 ; - public final void rule__SiriusExpressionPackage__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:262:1: ( rule__SiriusExpressionPackage__Group__0__Impl rule__SiriusExpressionPackage__Group__1 ) - // InternalExpressionText.g:263:2: rule__SiriusExpressionPackage__Group__0__Impl rule__SiriusExpressionPackage__Group__1 - { - pushFollow(FOLLOW_3); - rule__SiriusExpressionPackage__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionPackage__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__0" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__0__Impl" - // InternalExpressionText.g:270:1: rule__SiriusExpressionPackage__Group__0__Impl : ( 'package' ) ; - public final void rule__SiriusExpressionPackage__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:274:1: ( ( 'package' ) ) - // InternalExpressionText.g:275:1: ( 'package' ) - { - // InternalExpressionText.g:275:1: ( 'package' ) - // InternalExpressionText.g:276:1: 'package' - { - before(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); - match(input,8,FOLLOW_2); - after(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__0__Impl" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__1" - // InternalExpressionText.g:289:1: rule__SiriusExpressionPackage__Group__1 : rule__SiriusExpressionPackage__Group__1__Impl rule__SiriusExpressionPackage__Group__2 ; - public final void rule__SiriusExpressionPackage__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:293:1: ( rule__SiriusExpressionPackage__Group__1__Impl rule__SiriusExpressionPackage__Group__2 ) - // InternalExpressionText.g:294:2: rule__SiriusExpressionPackage__Group__1__Impl rule__SiriusExpressionPackage__Group__2 - { - pushFollow(FOLLOW_4); - rule__SiriusExpressionPackage__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionPackage__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__1" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__1__Impl" - // InternalExpressionText.g:301:1: rule__SiriusExpressionPackage__Group__1__Impl : ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) ; - public final void rule__SiriusExpressionPackage__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:305:1: ( ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) ) - // InternalExpressionText.g:306:1: ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) - { - // InternalExpressionText.g:306:1: ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) - // InternalExpressionText.g:307:1: ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) - { - before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); - // InternalExpressionText.g:308:1: ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) - // InternalExpressionText.g:308:2: rule__SiriusExpressionPackage__EPackageAssignment_1 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionPackage__EPackageAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__1__Impl" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__2" - // InternalExpressionText.g:318:1: rule__SiriusExpressionPackage__Group__2 : rule__SiriusExpressionPackage__Group__2__Impl rule__SiriusExpressionPackage__Group__3 ; - public final void rule__SiriusExpressionPackage__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:322:1: ( rule__SiriusExpressionPackage__Group__2__Impl rule__SiriusExpressionPackage__Group__3 ) - // InternalExpressionText.g:323:2: rule__SiriusExpressionPackage__Group__2__Impl rule__SiriusExpressionPackage__Group__3 - { - pushFollow(FOLLOW_5); - rule__SiriusExpressionPackage__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionPackage__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__2" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__2__Impl" - // InternalExpressionText.g:330:1: rule__SiriusExpressionPackage__Group__2__Impl : ( '{' ) ; - public final void rule__SiriusExpressionPackage__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:334:1: ( ( '{' ) ) - // InternalExpressionText.g:335:1: ( '{' ) - { - // InternalExpressionText.g:335:1: ( '{' ) - // InternalExpressionText.g:336:1: '{' - { - before(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); - match(input,9,FOLLOW_2); - after(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__2__Impl" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__3" - // InternalExpressionText.g:349:1: rule__SiriusExpressionPackage__Group__3 : rule__SiriusExpressionPackage__Group__3__Impl rule__SiriusExpressionPackage__Group__4 ; - public final void rule__SiriusExpressionPackage__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:353:1: ( rule__SiriusExpressionPackage__Group__3__Impl rule__SiriusExpressionPackage__Group__4 ) - // InternalExpressionText.g:354:2: rule__SiriusExpressionPackage__Group__3__Impl rule__SiriusExpressionPackage__Group__4 - { - pushFollow(FOLLOW_5); - rule__SiriusExpressionPackage__Group__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionPackage__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__3" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__3__Impl" - // InternalExpressionText.g:361:1: rule__SiriusExpressionPackage__Group__3__Impl : ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) ; - public final void rule__SiriusExpressionPackage__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:365:1: ( ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) ) - // InternalExpressionText.g:366:1: ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) - { - // InternalExpressionText.g:366:1: ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) - // InternalExpressionText.g:367:1: ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* - { - before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); - // InternalExpressionText.g:368:1: ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* - loop1: - do { - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0==11) ) { - alt1=1; - } - - - switch (alt1) { - case 1 : - // InternalExpressionText.g:368:2: rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 - { - pushFollow(FOLLOW_6); - rule__SiriusExpressionPackage__ExpressionClassesAssignment_3(); - - state._fsp--; - - - } - break; - - default : - break loop1; - } - } while (true); - - after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__3__Impl" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__4" - // InternalExpressionText.g:378:1: rule__SiriusExpressionPackage__Group__4 : rule__SiriusExpressionPackage__Group__4__Impl ; - public final void rule__SiriusExpressionPackage__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:382:1: ( rule__SiriusExpressionPackage__Group__4__Impl ) - // InternalExpressionText.g:383:2: rule__SiriusExpressionPackage__Group__4__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionPackage__Group__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__4" - - - // $ANTLR start "rule__SiriusExpressionPackage__Group__4__Impl" - // InternalExpressionText.g:389:1: rule__SiriusExpressionPackage__Group__4__Impl : ( '}' ) ; - public final void rule__SiriusExpressionPackage__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:393:1: ( ( '}' ) ) - // InternalExpressionText.g:394:1: ( '}' ) - { - // InternalExpressionText.g:394:1: ( '}' ) - // InternalExpressionText.g:395:1: '}' - { - before(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); - match(input,10,FOLLOW_2); - after(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__Group__4__Impl" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__0" - // InternalExpressionText.g:418:1: rule__SiriusExpressionClass__Group__0 : rule__SiriusExpressionClass__Group__0__Impl rule__SiriusExpressionClass__Group__1 ; - public final void rule__SiriusExpressionClass__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:422:1: ( rule__SiriusExpressionClass__Group__0__Impl rule__SiriusExpressionClass__Group__1 ) - // InternalExpressionText.g:423:2: rule__SiriusExpressionClass__Group__0__Impl rule__SiriusExpressionClass__Group__1 - { - pushFollow(FOLLOW_3); - rule__SiriusExpressionClass__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__0" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__0__Impl" - // InternalExpressionText.g:430:1: rule__SiriusExpressionClass__Group__0__Impl : ( 'class' ) ; - public final void rule__SiriusExpressionClass__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:434:1: ( ( 'class' ) ) - // InternalExpressionText.g:435:1: ( 'class' ) - { - // InternalExpressionText.g:435:1: ( 'class' ) - // InternalExpressionText.g:436:1: 'class' - { - before(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); - match(input,11,FOLLOW_2); - after(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__0__Impl" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__1" - // InternalExpressionText.g:449:1: rule__SiriusExpressionClass__Group__1 : rule__SiriusExpressionClass__Group__1__Impl rule__SiriusExpressionClass__Group__2 ; - public final void rule__SiriusExpressionClass__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:453:1: ( rule__SiriusExpressionClass__Group__1__Impl rule__SiriusExpressionClass__Group__2 ) - // InternalExpressionText.g:454:2: rule__SiriusExpressionClass__Group__1__Impl rule__SiriusExpressionClass__Group__2 - { - pushFollow(FOLLOW_4); - rule__SiriusExpressionClass__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__1" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__1__Impl" - // InternalExpressionText.g:461:1: rule__SiriusExpressionClass__Group__1__Impl : ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) ; - public final void rule__SiriusExpressionClass__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:465:1: ( ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) ) - // InternalExpressionText.g:466:1: ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) - { - // InternalExpressionText.g:466:1: ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) - // InternalExpressionText.g:467:1: ( rule__SiriusExpressionClass__EClassAssignment_1 ) - { - before(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); - // InternalExpressionText.g:468:1: ( rule__SiriusExpressionClass__EClassAssignment_1 ) - // InternalExpressionText.g:468:2: rule__SiriusExpressionClass__EClassAssignment_1 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__EClassAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__1__Impl" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__2" - // InternalExpressionText.g:478:1: rule__SiriusExpressionClass__Group__2 : rule__SiriusExpressionClass__Group__2__Impl rule__SiriusExpressionClass__Group__3 ; - public final void rule__SiriusExpressionClass__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:482:1: ( rule__SiriusExpressionClass__Group__2__Impl rule__SiriusExpressionClass__Group__3 ) - // InternalExpressionText.g:483:2: rule__SiriusExpressionClass__Group__2__Impl rule__SiriusExpressionClass__Group__3 - { - pushFollow(FOLLOW_7); - rule__SiriusExpressionClass__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__2" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__2__Impl" - // InternalExpressionText.g:490:1: rule__SiriusExpressionClass__Group__2__Impl : ( '{' ) ; - public final void rule__SiriusExpressionClass__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:494:1: ( ( '{' ) ) - // InternalExpressionText.g:495:1: ( '{' ) - { - // InternalExpressionText.g:495:1: ( '{' ) - // InternalExpressionText.g:496:1: '{' - { - before(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); - match(input,9,FOLLOW_2); - after(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__2__Impl" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__3" - // InternalExpressionText.g:509:1: rule__SiriusExpressionClass__Group__3 : rule__SiriusExpressionClass__Group__3__Impl rule__SiriusExpressionClass__Group__4 ; - public final void rule__SiriusExpressionClass__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:513:1: ( rule__SiriusExpressionClass__Group__3__Impl rule__SiriusExpressionClass__Group__4 ) - // InternalExpressionText.g:514:2: rule__SiriusExpressionClass__Group__3__Impl rule__SiriusExpressionClass__Group__4 - { - pushFollow(FOLLOW_7); - rule__SiriusExpressionClass__Group__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__3" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__3__Impl" - // InternalExpressionText.g:521:1: rule__SiriusExpressionClass__Group__3__Impl : ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) ; - public final void rule__SiriusExpressionClass__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:525:1: ( ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) ) - // InternalExpressionText.g:526:1: ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) - { - // InternalExpressionText.g:526:1: ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) - // InternalExpressionText.g:527:1: ( rule__SiriusExpressionClass__VariablesAssignment_3 )* - { - before(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); - // InternalExpressionText.g:528:1: ( rule__SiriusExpressionClass__VariablesAssignment_3 )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( (LA2_0==RULE_ML_COMMENT||LA2_0==13) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // InternalExpressionText.g:528:2: rule__SiriusExpressionClass__VariablesAssignment_3 - { - pushFollow(FOLLOW_8); - rule__SiriusExpressionClass__VariablesAssignment_3(); - - state._fsp--; - - - } - break; - - default : - break loop2; - } - } while (true); - - after(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__3__Impl" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__4" - // InternalExpressionText.g:538:1: rule__SiriusExpressionClass__Group__4 : rule__SiriusExpressionClass__Group__4__Impl rule__SiriusExpressionClass__Group__5 ; - public final void rule__SiriusExpressionClass__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:542:1: ( rule__SiriusExpressionClass__Group__4__Impl rule__SiriusExpressionClass__Group__5 ) - // InternalExpressionText.g:543:2: rule__SiriusExpressionClass__Group__4__Impl rule__SiriusExpressionClass__Group__5 - { - pushFollow(FOLLOW_7); - rule__SiriusExpressionClass__Group__4__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__Group__5(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__4" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__4__Impl" - // InternalExpressionText.g:550:1: rule__SiriusExpressionClass__Group__4__Impl : ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) ; - public final void rule__SiriusExpressionClass__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:554:1: ( ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) ) - // InternalExpressionText.g:555:1: ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) - { - // InternalExpressionText.g:555:1: ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) - // InternalExpressionText.g:556:1: ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* - { - before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); - // InternalExpressionText.g:557:1: ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( (LA3_0==15) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // InternalExpressionText.g:557:2: rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 - { - pushFollow(FOLLOW_9); - rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4(); - - state._fsp--; - - - } - break; - - default : - break loop3; - } - } while (true); - - after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__4__Impl" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__5" - // InternalExpressionText.g:567:1: rule__SiriusExpressionClass__Group__5 : rule__SiriusExpressionClass__Group__5__Impl ; - public final void rule__SiriusExpressionClass__Group__5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:571:1: ( rule__SiriusExpressionClass__Group__5__Impl ) - // InternalExpressionText.g:572:2: rule__SiriusExpressionClass__Group__5__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionClass__Group__5__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__5" - - - // $ANTLR start "rule__SiriusExpressionClass__Group__5__Impl" - // InternalExpressionText.g:578:1: rule__SiriusExpressionClass__Group__5__Impl : ( '}' ) ; - public final void rule__SiriusExpressionClass__Group__5__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:582:1: ( ( '}' ) ) - // InternalExpressionText.g:583:1: ( '}' ) - { - // InternalExpressionText.g:583:1: ( '}' ) - // InternalExpressionText.g:584:1: '}' - { - before(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); - match(input,10,FOLLOW_2); - after(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__Group__5__Impl" - - - // $ANTLR start "rule__FQN__Group__0" - // InternalExpressionText.g:609:1: rule__FQN__Group__0 : rule__FQN__Group__0__Impl rule__FQN__Group__1 ; - public final void rule__FQN__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:613:1: ( rule__FQN__Group__0__Impl rule__FQN__Group__1 ) - // InternalExpressionText.g:614:2: rule__FQN__Group__0__Impl rule__FQN__Group__1 - { - pushFollow(FOLLOW_10); - rule__FQN__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__FQN__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group__0" - - - // $ANTLR start "rule__FQN__Group__0__Impl" - // InternalExpressionText.g:621:1: rule__FQN__Group__0__Impl : ( RULE_ID ) ; - public final void rule__FQN__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:625:1: ( ( RULE_ID ) ) - // InternalExpressionText.g:626:1: ( RULE_ID ) - { - // InternalExpressionText.g:626:1: ( RULE_ID ) - // InternalExpressionText.g:627:1: RULE_ID - { - before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group__0__Impl" - - - // $ANTLR start "rule__FQN__Group__1" - // InternalExpressionText.g:638:1: rule__FQN__Group__1 : rule__FQN__Group__1__Impl ; - public final void rule__FQN__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:642:1: ( rule__FQN__Group__1__Impl ) - // InternalExpressionText.g:643:2: rule__FQN__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__FQN__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group__1" - - - // $ANTLR start "rule__FQN__Group__1__Impl" - // InternalExpressionText.g:649:1: rule__FQN__Group__1__Impl : ( ( rule__FQN__Group_1__0 )* ) ; - public final void rule__FQN__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:653:1: ( ( ( rule__FQN__Group_1__0 )* ) ) - // InternalExpressionText.g:654:1: ( ( rule__FQN__Group_1__0 )* ) - { - // InternalExpressionText.g:654:1: ( ( rule__FQN__Group_1__0 )* ) - // InternalExpressionText.g:655:1: ( rule__FQN__Group_1__0 )* - { - before(grammarAccess.getFQNAccess().getGroup_1()); - // InternalExpressionText.g:656:1: ( rule__FQN__Group_1__0 )* - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0==12) ) { - alt4=1; - } - - - switch (alt4) { - case 1 : - // InternalExpressionText.g:656:2: rule__FQN__Group_1__0 - { - pushFollow(FOLLOW_11); - rule__FQN__Group_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop4; - } - } while (true); - - after(grammarAccess.getFQNAccess().getGroup_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group__1__Impl" - - - // $ANTLR start "rule__FQN__Group_1__0" - // InternalExpressionText.g:670:1: rule__FQN__Group_1__0 : rule__FQN__Group_1__0__Impl rule__FQN__Group_1__1 ; - public final void rule__FQN__Group_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:674:1: ( rule__FQN__Group_1__0__Impl rule__FQN__Group_1__1 ) - // InternalExpressionText.g:675:2: rule__FQN__Group_1__0__Impl rule__FQN__Group_1__1 - { - pushFollow(FOLLOW_3); - rule__FQN__Group_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__FQN__Group_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group_1__0" - - - // $ANTLR start "rule__FQN__Group_1__0__Impl" - // InternalExpressionText.g:682:1: rule__FQN__Group_1__0__Impl : ( '.' ) ; - public final void rule__FQN__Group_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:686:1: ( ( '.' ) ) - // InternalExpressionText.g:687:1: ( '.' ) - { - // InternalExpressionText.g:687:1: ( '.' ) - // InternalExpressionText.g:688:1: '.' - { - before(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); - match(input,12,FOLLOW_2); - after(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group_1__0__Impl" - - - // $ANTLR start "rule__FQN__Group_1__1" - // InternalExpressionText.g:701:1: rule__FQN__Group_1__1 : rule__FQN__Group_1__1__Impl ; - public final void rule__FQN__Group_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:705:1: ( rule__FQN__Group_1__1__Impl ) - // InternalExpressionText.g:706:2: rule__FQN__Group_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__FQN__Group_1__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group_1__1" - - - // $ANTLR start "rule__FQN__Group_1__1__Impl" - // InternalExpressionText.g:712:1: rule__FQN__Group_1__1__Impl : ( RULE_ID ) ; - public final void rule__FQN__Group_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:716:1: ( ( RULE_ID ) ) - // InternalExpressionText.g:717:1: ( RULE_ID ) - { - // InternalExpressionText.g:717:1: ( RULE_ID ) - // InternalExpressionText.g:718:1: RULE_ID - { - before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FQN__Group_1__1__Impl" - - - // $ANTLR start "rule__SiriusVariable__Group__0" - // InternalExpressionText.g:733:1: rule__SiriusVariable__Group__0 : rule__SiriusVariable__Group__0__Impl rule__SiriusVariable__Group__1 ; - public final void rule__SiriusVariable__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:737:1: ( rule__SiriusVariable__Group__0__Impl rule__SiriusVariable__Group__1 ) - // InternalExpressionText.g:738:2: rule__SiriusVariable__Group__0__Impl rule__SiriusVariable__Group__1 - { - pushFollow(FOLLOW_12); - rule__SiriusVariable__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusVariable__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__0" - - - // $ANTLR start "rule__SiriusVariable__Group__0__Impl" - // InternalExpressionText.g:745:1: rule__SiriusVariable__Group__0__Impl : ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) ; - public final void rule__SiriusVariable__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:749:1: ( ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) ) - // InternalExpressionText.g:750:1: ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) - { - // InternalExpressionText.g:750:1: ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) - // InternalExpressionText.g:751:1: ( rule__SiriusVariable__DocumentationAssignment_0 )? - { - before(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); - // InternalExpressionText.g:752:1: ( rule__SiriusVariable__DocumentationAssignment_0 )? - int alt5=2; - int LA5_0 = input.LA(1); - - if ( (LA5_0==RULE_ML_COMMENT) ) { - alt5=1; - } - switch (alt5) { - case 1 : - // InternalExpressionText.g:752:2: rule__SiriusVariable__DocumentationAssignment_0 - { - pushFollow(FOLLOW_2); - rule__SiriusVariable__DocumentationAssignment_0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__0__Impl" - - - // $ANTLR start "rule__SiriusVariable__Group__1" - // InternalExpressionText.g:762:1: rule__SiriusVariable__Group__1 : rule__SiriusVariable__Group__1__Impl rule__SiriusVariable__Group__2 ; - public final void rule__SiriusVariable__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:766:1: ( rule__SiriusVariable__Group__1__Impl rule__SiriusVariable__Group__2 ) - // InternalExpressionText.g:767:2: rule__SiriusVariable__Group__1__Impl rule__SiriusVariable__Group__2 - { - pushFollow(FOLLOW_3); - rule__SiriusVariable__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusVariable__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__1" - - - // $ANTLR start "rule__SiriusVariable__Group__1__Impl" - // InternalExpressionText.g:774:1: rule__SiriusVariable__Group__1__Impl : ( 'var' ) ; - public final void rule__SiriusVariable__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:778:1: ( ( 'var' ) ) - // InternalExpressionText.g:779:1: ( 'var' ) - { - // InternalExpressionText.g:779:1: ( 'var' ) - // InternalExpressionText.g:780:1: 'var' - { - before(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); - match(input,13,FOLLOW_2); - after(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__1__Impl" - - - // $ANTLR start "rule__SiriusVariable__Group__2" - // InternalExpressionText.g:793:1: rule__SiriusVariable__Group__2 : rule__SiriusVariable__Group__2__Impl rule__SiriusVariable__Group__3 ; - public final void rule__SiriusVariable__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:797:1: ( rule__SiriusVariable__Group__2__Impl rule__SiriusVariable__Group__3 ) - // InternalExpressionText.g:798:2: rule__SiriusVariable__Group__2__Impl rule__SiriusVariable__Group__3 - { - pushFollow(FOLLOW_13); - rule__SiriusVariable__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusVariable__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__2" - - - // $ANTLR start "rule__SiriusVariable__Group__2__Impl" - // InternalExpressionText.g:805:1: rule__SiriusVariable__Group__2__Impl : ( ( rule__SiriusVariable__NameAssignment_2 ) ) ; - public final void rule__SiriusVariable__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:809:1: ( ( ( rule__SiriusVariable__NameAssignment_2 ) ) ) - // InternalExpressionText.g:810:1: ( ( rule__SiriusVariable__NameAssignment_2 ) ) - { - // InternalExpressionText.g:810:1: ( ( rule__SiriusVariable__NameAssignment_2 ) ) - // InternalExpressionText.g:811:1: ( rule__SiriusVariable__NameAssignment_2 ) - { - before(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); - // InternalExpressionText.g:812:1: ( rule__SiriusVariable__NameAssignment_2 ) - // InternalExpressionText.g:812:2: rule__SiriusVariable__NameAssignment_2 - { - pushFollow(FOLLOW_2); - rule__SiriusVariable__NameAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__2__Impl" - - - // $ANTLR start "rule__SiriusVariable__Group__3" - // InternalExpressionText.g:822:1: rule__SiriusVariable__Group__3 : rule__SiriusVariable__Group__3__Impl rule__SiriusVariable__Group__4 ; - public final void rule__SiriusVariable__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:826:1: ( rule__SiriusVariable__Group__3__Impl rule__SiriusVariable__Group__4 ) - // InternalExpressionText.g:827:2: rule__SiriusVariable__Group__3__Impl rule__SiriusVariable__Group__4 - { - pushFollow(FOLLOW_3); - rule__SiriusVariable__Group__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusVariable__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__3" - - - // $ANTLR start "rule__SiriusVariable__Group__3__Impl" - // InternalExpressionText.g:834:1: rule__SiriusVariable__Group__3__Impl : ( ':' ) ; - public final void rule__SiriusVariable__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:838:1: ( ( ':' ) ) - // InternalExpressionText.g:839:1: ( ':' ) - { - // InternalExpressionText.g:839:1: ( ':' ) - // InternalExpressionText.g:840:1: ':' - { - before(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); - match(input,14,FOLLOW_2); - after(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__3__Impl" - - - // $ANTLR start "rule__SiriusVariable__Group__4" - // InternalExpressionText.g:853:1: rule__SiriusVariable__Group__4 : rule__SiriusVariable__Group__4__Impl ; - public final void rule__SiriusVariable__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:857:1: ( rule__SiriusVariable__Group__4__Impl ) - // InternalExpressionText.g:858:2: rule__SiriusVariable__Group__4__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusVariable__Group__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__4" - - - // $ANTLR start "rule__SiriusVariable__Group__4__Impl" - // InternalExpressionText.g:864:1: rule__SiriusVariable__Group__4__Impl : ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) ; - public final void rule__SiriusVariable__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:868:1: ( ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) ) - // InternalExpressionText.g:869:1: ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) - { - // InternalExpressionText.g:869:1: ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) - // InternalExpressionText.g:870:1: ( rule__SiriusVariable__ETypeAssignment_4 ) - { - before(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); - // InternalExpressionText.g:871:1: ( rule__SiriusVariable__ETypeAssignment_4 ) - // InternalExpressionText.g:871:2: rule__SiriusVariable__ETypeAssignment_4 - { - pushFollow(FOLLOW_2); - rule__SiriusVariable__ETypeAssignment_4(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__Group__4__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__0" - // InternalExpressionText.g:891:1: rule__SiriusExpressionDescription__Group__0 : rule__SiriusExpressionDescription__Group__0__Impl rule__SiriusExpressionDescription__Group__1 ; - public final void rule__SiriusExpressionDescription__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:895:1: ( rule__SiriusExpressionDescription__Group__0__Impl rule__SiriusExpressionDescription__Group__1 ) - // InternalExpressionText.g:896:2: rule__SiriusExpressionDescription__Group__0__Impl rule__SiriusExpressionDescription__Group__1 - { - pushFollow(FOLLOW_3); - rule__SiriusExpressionDescription__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__0" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__0__Impl" - // InternalExpressionText.g:903:1: rule__SiriusExpressionDescription__Group__0__Impl : ( 'exp' ) ; - public final void rule__SiriusExpressionDescription__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:907:1: ( ( 'exp' ) ) - // InternalExpressionText.g:908:1: ( 'exp' ) - { - // InternalExpressionText.g:908:1: ( 'exp' ) - // InternalExpressionText.g:909:1: 'exp' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); - match(input,15,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__0__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__1" - // InternalExpressionText.g:922:1: rule__SiriusExpressionDescription__Group__1 : rule__SiriusExpressionDescription__Group__1__Impl rule__SiriusExpressionDescription__Group__2 ; - public final void rule__SiriusExpressionDescription__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:926:1: ( rule__SiriusExpressionDescription__Group__1__Impl rule__SiriusExpressionDescription__Group__2 ) - // InternalExpressionText.g:927:2: rule__SiriusExpressionDescription__Group__1__Impl rule__SiriusExpressionDescription__Group__2 - { - pushFollow(FOLLOW_14); - rule__SiriusExpressionDescription__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__1" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__1__Impl" - // InternalExpressionText.g:934:1: rule__SiriusExpressionDescription__Group__1__Impl : ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) ; - public final void rule__SiriusExpressionDescription__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:938:1: ( ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) ) - // InternalExpressionText.g:939:1: ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) - { - // InternalExpressionText.g:939:1: ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) - // InternalExpressionText.g:940:1: ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); - // InternalExpressionText.g:941:1: ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) - // InternalExpressionText.g:941:2: rule__SiriusExpressionDescription__ExpressionAssignment_1 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__ExpressionAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__1__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__2" - // InternalExpressionText.g:951:1: rule__SiriusExpressionDescription__Group__2 : rule__SiriusExpressionDescription__Group__2__Impl rule__SiriusExpressionDescription__Group__3 ; - public final void rule__SiriusExpressionDescription__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:955:1: ( rule__SiriusExpressionDescription__Group__2__Impl rule__SiriusExpressionDescription__Group__3 ) - // InternalExpressionText.g:956:2: rule__SiriusExpressionDescription__Group__2__Impl rule__SiriusExpressionDescription__Group__3 - { - pushFollow(FOLLOW_15); - rule__SiriusExpressionDescription__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__2" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__2__Impl" - // InternalExpressionText.g:963:1: rule__SiriusExpressionDescription__Group__2__Impl : ( '(' ) ; - public final void rule__SiriusExpressionDescription__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:967:1: ( ( '(' ) ) - // InternalExpressionText.g:968:1: ( '(' ) - { - // InternalExpressionText.g:968:1: ( '(' ) - // InternalExpressionText.g:969:1: '(' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); - match(input,16,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__2__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__3" - // InternalExpressionText.g:982:1: rule__SiriusExpressionDescription__Group__3 : rule__SiriusExpressionDescription__Group__3__Impl rule__SiriusExpressionDescription__Group__4 ; - public final void rule__SiriusExpressionDescription__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:986:1: ( rule__SiriusExpressionDescription__Group__3__Impl rule__SiriusExpressionDescription__Group__4 ) - // InternalExpressionText.g:987:2: rule__SiriusExpressionDescription__Group__3__Impl rule__SiriusExpressionDescription__Group__4 - { - pushFollow(FOLLOW_15); - rule__SiriusExpressionDescription__Group__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__3" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__3__Impl" - // InternalExpressionText.g:994:1: rule__SiriusExpressionDescription__Group__3__Impl : ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) ; - public final void rule__SiriusExpressionDescription__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:998:1: ( ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) ) - // InternalExpressionText.g:999:1: ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) - { - // InternalExpressionText.g:999:1: ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) - // InternalExpressionText.g:1000:1: ( rule__SiriusExpressionDescription__Group_3__0 )? - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); - // InternalExpressionText.g:1001:1: ( rule__SiriusExpressionDescription__Group_3__0 )? - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0==RULE_ID||LA6_0==25) ) { - alt6=1; - } - switch (alt6) { - case 1 : - // InternalExpressionText.g:1001:2: rule__SiriusExpressionDescription__Group_3__0 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_3__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__3__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__4" - // InternalExpressionText.g:1011:1: rule__SiriusExpressionDescription__Group__4 : rule__SiriusExpressionDescription__Group__4__Impl rule__SiriusExpressionDescription__Group__5 ; - public final void rule__SiriusExpressionDescription__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1015:1: ( rule__SiriusExpressionDescription__Group__4__Impl rule__SiriusExpressionDescription__Group__5 ) - // InternalExpressionText.g:1016:2: rule__SiriusExpressionDescription__Group__4__Impl rule__SiriusExpressionDescription__Group__5 - { - pushFollow(FOLLOW_13); - rule__SiriusExpressionDescription__Group__4__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__5(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__4" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__4__Impl" - // InternalExpressionText.g:1023:1: rule__SiriusExpressionDescription__Group__4__Impl : ( ')' ) ; - public final void rule__SiriusExpressionDescription__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1027:1: ( ( ')' ) ) - // InternalExpressionText.g:1028:1: ( ')' ) - { - // InternalExpressionText.g:1028:1: ( ')' ) - // InternalExpressionText.g:1029:1: ')' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); - match(input,17,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__4__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__5" - // InternalExpressionText.g:1042:1: rule__SiriusExpressionDescription__Group__5 : rule__SiriusExpressionDescription__Group__5__Impl rule__SiriusExpressionDescription__Group__6 ; - public final void rule__SiriusExpressionDescription__Group__5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1046:1: ( rule__SiriusExpressionDescription__Group__5__Impl rule__SiriusExpressionDescription__Group__6 ) - // InternalExpressionText.g:1047:2: rule__SiriusExpressionDescription__Group__5__Impl rule__SiriusExpressionDescription__Group__6 - { - pushFollow(FOLLOW_3); - rule__SiriusExpressionDescription__Group__5__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__6(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__5" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__5__Impl" - // InternalExpressionText.g:1054:1: rule__SiriusExpressionDescription__Group__5__Impl : ( ':' ) ; - public final void rule__SiriusExpressionDescription__Group__5__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1058:1: ( ( ':' ) ) - // InternalExpressionText.g:1059:1: ( ':' ) - { - // InternalExpressionText.g:1059:1: ( ':' ) - // InternalExpressionText.g:1060:1: ':' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); - match(input,14,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__5__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__6" - // InternalExpressionText.g:1073:1: rule__SiriusExpressionDescription__Group__6 : rule__SiriusExpressionDescription__Group__6__Impl rule__SiriusExpressionDescription__Group__7 ; - public final void rule__SiriusExpressionDescription__Group__6() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1077:1: ( rule__SiriusExpressionDescription__Group__6__Impl rule__SiriusExpressionDescription__Group__7 ) - // InternalExpressionText.g:1078:2: rule__SiriusExpressionDescription__Group__6__Impl rule__SiriusExpressionDescription__Group__7 - { - pushFollow(FOLLOW_16); - rule__SiriusExpressionDescription__Group__6__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__7(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__6" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__6__Impl" - // InternalExpressionText.g:1085:1: rule__SiriusExpressionDescription__Group__6__Impl : ( ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) ) ; - public final void rule__SiriusExpressionDescription__Group__6__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1089:1: ( ( ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) ) ) - // InternalExpressionText.g:1090:1: ( ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) ) - { - // InternalExpressionText.g:1090:1: ( ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) ) - // InternalExpressionText.g:1091:1: ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeAssignment_6()); - // InternalExpressionText.g:1092:1: ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) - // InternalExpressionText.g:1092:2: rule__SiriusExpressionDescription__ReturnTypeAssignment_6 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__ReturnTypeAssignment_6(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeAssignment_6()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__6__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__7" - // InternalExpressionText.g:1102:1: rule__SiriusExpressionDescription__Group__7 : rule__SiriusExpressionDescription__Group__7__Impl rule__SiriusExpressionDescription__Group__8 ; - public final void rule__SiriusExpressionDescription__Group__7() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1106:1: ( rule__SiriusExpressionDescription__Group__7__Impl rule__SiriusExpressionDescription__Group__8 ) - // InternalExpressionText.g:1107:2: rule__SiriusExpressionDescription__Group__7__Impl rule__SiriusExpressionDescription__Group__8 - { - pushFollow(FOLLOW_17); - rule__SiriusExpressionDescription__Group__7__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__8(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__7" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__7__Impl" - // InternalExpressionText.g:1114:1: rule__SiriusExpressionDescription__Group__7__Impl : ( '[' ) ; - public final void rule__SiriusExpressionDescription__Group__7__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1118:1: ( ( '[' ) ) - // InternalExpressionText.g:1119:1: ( '[' ) - { - // InternalExpressionText.g:1119:1: ( '[' ) - // InternalExpressionText.g:1120:1: '[' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); - match(input,18,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__7__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__8" - // InternalExpressionText.g:1133:1: rule__SiriusExpressionDescription__Group__8 : rule__SiriusExpressionDescription__Group__8__Impl rule__SiriusExpressionDescription__Group__9 ; - public final void rule__SiriusExpressionDescription__Group__8() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1137:1: ( rule__SiriusExpressionDescription__Group__8__Impl rule__SiriusExpressionDescription__Group__9 ) - // InternalExpressionText.g:1138:2: rule__SiriusExpressionDescription__Group__8__Impl rule__SiriusExpressionDescription__Group__9 - { - pushFollow(FOLLOW_18); - rule__SiriusExpressionDescription__Group__8__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__9(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__8" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__8__Impl" - // InternalExpressionText.g:1145:1: rule__SiriusExpressionDescription__Group__8__Impl : ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) ; - public final void rule__SiriusExpressionDescription__Group__8__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1149:1: ( ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) ) - // InternalExpressionText.g:1150:1: ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) - { - // InternalExpressionText.g:1150:1: ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) - // InternalExpressionText.g:1151:1: ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); - // InternalExpressionText.g:1152:1: ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) - // InternalExpressionText.g:1152:2: rule__SiriusExpressionDescription__LowerBoundAssignment_8 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__LowerBoundAssignment_8(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__8__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__9" - // InternalExpressionText.g:1162:1: rule__SiriusExpressionDescription__Group__9 : rule__SiriusExpressionDescription__Group__9__Impl rule__SiriusExpressionDescription__Group__10 ; - public final void rule__SiriusExpressionDescription__Group__9() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1166:1: ( rule__SiriusExpressionDescription__Group__9__Impl rule__SiriusExpressionDescription__Group__10 ) - // InternalExpressionText.g:1167:2: rule__SiriusExpressionDescription__Group__9__Impl rule__SiriusExpressionDescription__Group__10 - { - pushFollow(FOLLOW_17); - rule__SiriusExpressionDescription__Group__9__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__10(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__9" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__9__Impl" - // InternalExpressionText.g:1174:1: rule__SiriusExpressionDescription__Group__9__Impl : ( '..' ) ; - public final void rule__SiriusExpressionDescription__Group__9__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1178:1: ( ( '..' ) ) - // InternalExpressionText.g:1179:1: ( '..' ) - { - // InternalExpressionText.g:1179:1: ( '..' ) - // InternalExpressionText.g:1180:1: '..' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); - match(input,19,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__9__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__10" - // InternalExpressionText.g:1193:1: rule__SiriusExpressionDescription__Group__10 : rule__SiriusExpressionDescription__Group__10__Impl rule__SiriusExpressionDescription__Group__11 ; - public final void rule__SiriusExpressionDescription__Group__10() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1197:1: ( rule__SiriusExpressionDescription__Group__10__Impl rule__SiriusExpressionDescription__Group__11 ) - // InternalExpressionText.g:1198:2: rule__SiriusExpressionDescription__Group__10__Impl rule__SiriusExpressionDescription__Group__11 - { - pushFollow(FOLLOW_19); - rule__SiriusExpressionDescription__Group__10__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__11(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__10" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__10__Impl" - // InternalExpressionText.g:1205:1: rule__SiriusExpressionDescription__Group__10__Impl : ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) ; - public final void rule__SiriusExpressionDescription__Group__10__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1209:1: ( ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) ) - // InternalExpressionText.g:1210:1: ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) - { - // InternalExpressionText.g:1210:1: ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) - // InternalExpressionText.g:1211:1: ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); - // InternalExpressionText.g:1212:1: ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) - // InternalExpressionText.g:1212:2: rule__SiriusExpressionDescription__UpperBoundAssignment_10 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__UpperBoundAssignment_10(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__10__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__11" - // InternalExpressionText.g:1222:1: rule__SiriusExpressionDescription__Group__11 : rule__SiriusExpressionDescription__Group__11__Impl rule__SiriusExpressionDescription__Group__12 ; - public final void rule__SiriusExpressionDescription__Group__11() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1226:1: ( rule__SiriusExpressionDescription__Group__11__Impl rule__SiriusExpressionDescription__Group__12 ) - // InternalExpressionText.g:1227:2: rule__SiriusExpressionDescription__Group__11__Impl rule__SiriusExpressionDescription__Group__12 - { - pushFollow(FOLLOW_4); - rule__SiriusExpressionDescription__Group__11__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__12(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__11" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__11__Impl" - // InternalExpressionText.g:1234:1: rule__SiriusExpressionDescription__Group__11__Impl : ( ']' ) ; - public final void rule__SiriusExpressionDescription__Group__11__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1238:1: ( ( ']' ) ) - // InternalExpressionText.g:1239:1: ( ']' ) - { - // InternalExpressionText.g:1239:1: ( ']' ) - // InternalExpressionText.g:1240:1: ']' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); - match(input,20,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__11__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__12" - // InternalExpressionText.g:1253:1: rule__SiriusExpressionDescription__Group__12 : rule__SiriusExpressionDescription__Group__12__Impl rule__SiriusExpressionDescription__Group__13 ; - public final void rule__SiriusExpressionDescription__Group__12() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1257:1: ( rule__SiriusExpressionDescription__Group__12__Impl rule__SiriusExpressionDescription__Group__13 ) - // InternalExpressionText.g:1258:2: rule__SiriusExpressionDescription__Group__12__Impl rule__SiriusExpressionDescription__Group__13 - { - pushFollow(FOLLOW_20); - rule__SiriusExpressionDescription__Group__12__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__13(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__12" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__12__Impl" - // InternalExpressionText.g:1265:1: rule__SiriusExpressionDescription__Group__12__Impl : ( '{' ) ; - public final void rule__SiriusExpressionDescription__Group__12__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1269:1: ( ( '{' ) ) - // InternalExpressionText.g:1270:1: ( '{' ) - { - // InternalExpressionText.g:1270:1: ( '{' ) - // InternalExpressionText.g:1271:1: '{' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); - match(input,9,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__12__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__13" - // InternalExpressionText.g:1284:1: rule__SiriusExpressionDescription__Group__13 : rule__SiriusExpressionDescription__Group__13__Impl rule__SiriusExpressionDescription__Group__14 ; - public final void rule__SiriusExpressionDescription__Group__13() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1288:1: ( rule__SiriusExpressionDescription__Group__13__Impl rule__SiriusExpressionDescription__Group__14 ) - // InternalExpressionText.g:1289:2: rule__SiriusExpressionDescription__Group__13__Impl rule__SiriusExpressionDescription__Group__14 - { - pushFollow(FOLLOW_21); - rule__SiriusExpressionDescription__Group__13__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__14(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__13" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__13__Impl" - // InternalExpressionText.g:1296:1: rule__SiriusExpressionDescription__Group__13__Impl : ( 'userDefinedVariableContainers' ) ; - public final void rule__SiriusExpressionDescription__Group__13__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1300:1: ( ( 'userDefinedVariableContainers' ) ) - // InternalExpressionText.g:1301:1: ( 'userDefinedVariableContainers' ) - { - // InternalExpressionText.g:1301:1: ( 'userDefinedVariableContainers' ) - // InternalExpressionText.g:1302:1: 'userDefinedVariableContainers' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); - match(input,21,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__13__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__14" - // InternalExpressionText.g:1315:1: rule__SiriusExpressionDescription__Group__14 : rule__SiriusExpressionDescription__Group__14__Impl rule__SiriusExpressionDescription__Group__15 ; - public final void rule__SiriusExpressionDescription__Group__14() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1319:1: ( rule__SiriusExpressionDescription__Group__14__Impl rule__SiriusExpressionDescription__Group__15 ) - // InternalExpressionText.g:1320:2: rule__SiriusExpressionDescription__Group__14__Impl rule__SiriusExpressionDescription__Group__15 - { - pushFollow(FOLLOW_16); - rule__SiriusExpressionDescription__Group__14__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__15(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__14" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__14__Impl" - // InternalExpressionText.g:1327:1: rule__SiriusExpressionDescription__Group__14__Impl : ( '=' ) ; - public final void rule__SiriusExpressionDescription__Group__14__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1331:1: ( ( '=' ) ) - // InternalExpressionText.g:1332:1: ( '=' ) - { - // InternalExpressionText.g:1332:1: ( '=' ) - // InternalExpressionText.g:1333:1: '=' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); - match(input,22,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__14__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__15" - // InternalExpressionText.g:1346:1: rule__SiriusExpressionDescription__Group__15 : rule__SiriusExpressionDescription__Group__15__Impl rule__SiriusExpressionDescription__Group__16 ; - public final void rule__SiriusExpressionDescription__Group__15() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1350:1: ( rule__SiriusExpressionDescription__Group__15__Impl rule__SiriusExpressionDescription__Group__16 ) - // InternalExpressionText.g:1351:2: rule__SiriusExpressionDescription__Group__15__Impl rule__SiriusExpressionDescription__Group__16 - { - pushFollow(FOLLOW_22); - rule__SiriusExpressionDescription__Group__15__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__16(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__15" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__15__Impl" - // InternalExpressionText.g:1358:1: rule__SiriusExpressionDescription__Group__15__Impl : ( '[' ) ; - public final void rule__SiriusExpressionDescription__Group__15__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1362:1: ( ( '[' ) ) - // InternalExpressionText.g:1363:1: ( '[' ) - { - // InternalExpressionText.g:1363:1: ( '[' ) - // InternalExpressionText.g:1364:1: '[' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); - match(input,18,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__15__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__16" - // InternalExpressionText.g:1377:1: rule__SiriusExpressionDescription__Group__16 : rule__SiriusExpressionDescription__Group__16__Impl rule__SiriusExpressionDescription__Group__17 ; - public final void rule__SiriusExpressionDescription__Group__16() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1381:1: ( rule__SiriusExpressionDescription__Group__16__Impl rule__SiriusExpressionDescription__Group__17 ) - // InternalExpressionText.g:1382:2: rule__SiriusExpressionDescription__Group__16__Impl rule__SiriusExpressionDescription__Group__17 - { - pushFollow(FOLLOW_22); - rule__SiriusExpressionDescription__Group__16__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__17(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__16" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__16__Impl" - // InternalExpressionText.g:1389:1: rule__SiriusExpressionDescription__Group__16__Impl : ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) ; - public final void rule__SiriusExpressionDescription__Group__16__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1393:1: ( ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) ) - // InternalExpressionText.g:1394:1: ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) - { - // InternalExpressionText.g:1394:1: ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) - // InternalExpressionText.g:1395:1: ( rule__SiriusExpressionDescription__Group_16__0 )? - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); - // InternalExpressionText.g:1396:1: ( rule__SiriusExpressionDescription__Group_16__0 )? - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0==RULE_ID) ) { - alt7=1; - } - switch (alt7) { - case 1 : - // InternalExpressionText.g:1396:2: rule__SiriusExpressionDescription__Group_16__0 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_16__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__16__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__17" - // InternalExpressionText.g:1406:1: rule__SiriusExpressionDescription__Group__17 : rule__SiriusExpressionDescription__Group__17__Impl rule__SiriusExpressionDescription__Group__18 ; - public final void rule__SiriusExpressionDescription__Group__17() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1410:1: ( rule__SiriusExpressionDescription__Group__17__Impl rule__SiriusExpressionDescription__Group__18 ) - // InternalExpressionText.g:1411:2: rule__SiriusExpressionDescription__Group__17__Impl rule__SiriusExpressionDescription__Group__18 - { - pushFollow(FOLLOW_23); - rule__SiriusExpressionDescription__Group__17__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__18(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__17" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__17__Impl" - // InternalExpressionText.g:1418:1: rule__SiriusExpressionDescription__Group__17__Impl : ( ']' ) ; - public final void rule__SiriusExpressionDescription__Group__17__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1422:1: ( ( ']' ) ) - // InternalExpressionText.g:1423:1: ( ']' ) - { - // InternalExpressionText.g:1423:1: ( ']' ) - // InternalExpressionText.g:1424:1: ']' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); - match(input,20,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__17__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__18" - // InternalExpressionText.g:1437:1: rule__SiriusExpressionDescription__Group__18 : rule__SiriusExpressionDescription__Group__18__Impl ; - public final void rule__SiriusExpressionDescription__Group__18() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1441:1: ( rule__SiriusExpressionDescription__Group__18__Impl ) - // InternalExpressionText.g:1442:2: rule__SiriusExpressionDescription__Group__18__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group__18__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__18" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group__18__Impl" - // InternalExpressionText.g:1448:1: rule__SiriusExpressionDescription__Group__18__Impl : ( '}' ) ; - public final void rule__SiriusExpressionDescription__Group__18__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1452:1: ( ( '}' ) ) - // InternalExpressionText.g:1453:1: ( '}' ) - { - // InternalExpressionText.g:1453:1: ( '}' ) - // InternalExpressionText.g:1454:1: '}' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); - match(input,10,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group__18__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3__0" - // InternalExpressionText.g:1505:1: rule__SiriusExpressionDescription__Group_3__0 : rule__SiriusExpressionDescription__Group_3__0__Impl rule__SiriusExpressionDescription__Group_3__1 ; - public final void rule__SiriusExpressionDescription__Group_3__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1509:1: ( rule__SiriusExpressionDescription__Group_3__0__Impl rule__SiriusExpressionDescription__Group_3__1 ) - // InternalExpressionText.g:1510:2: rule__SiriusExpressionDescription__Group_3__0__Impl rule__SiriusExpressionDescription__Group_3__1 - { - pushFollow(FOLLOW_24); - rule__SiriusExpressionDescription__Group_3__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_3__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3__0" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3__0__Impl" - // InternalExpressionText.g:1517:1: rule__SiriusExpressionDescription__Group_3__0__Impl : ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) ; - public final void rule__SiriusExpressionDescription__Group_3__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1521:1: ( ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) ) - // InternalExpressionText.g:1522:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) - { - // InternalExpressionText.g:1522:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) - // InternalExpressionText.g:1523:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); - // InternalExpressionText.g:1524:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) - // InternalExpressionText.g:1524:2: rule__SiriusExpressionDescription__ParametersAssignment_3_0 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__ParametersAssignment_3_0(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3__0__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3__1" - // InternalExpressionText.g:1534:1: rule__SiriusExpressionDescription__Group_3__1 : rule__SiriusExpressionDescription__Group_3__1__Impl ; - public final void rule__SiriusExpressionDescription__Group_3__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1538:1: ( rule__SiriusExpressionDescription__Group_3__1__Impl ) - // InternalExpressionText.g:1539:2: rule__SiriusExpressionDescription__Group_3__1__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_3__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3__1" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3__1__Impl" - // InternalExpressionText.g:1545:1: rule__SiriusExpressionDescription__Group_3__1__Impl : ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) ; - public final void rule__SiriusExpressionDescription__Group_3__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1549:1: ( ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) ) - // InternalExpressionText.g:1550:1: ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) - { - // InternalExpressionText.g:1550:1: ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) - // InternalExpressionText.g:1551:1: ( rule__SiriusExpressionDescription__Group_3_1__0 )* - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); - // InternalExpressionText.g:1552:1: ( rule__SiriusExpressionDescription__Group_3_1__0 )* - loop8: - do { - int alt8=2; - int LA8_0 = input.LA(1); - - if ( (LA8_0==23) ) { - alt8=1; - } - - - switch (alt8) { - case 1 : - // InternalExpressionText.g:1552:2: rule__SiriusExpressionDescription__Group_3_1__0 - { - pushFollow(FOLLOW_25); - rule__SiriusExpressionDescription__Group_3_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop8; - } - } while (true); - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3__1__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__0" - // InternalExpressionText.g:1566:1: rule__SiriusExpressionDescription__Group_3_1__0 : rule__SiriusExpressionDescription__Group_3_1__0__Impl rule__SiriusExpressionDescription__Group_3_1__1 ; - public final void rule__SiriusExpressionDescription__Group_3_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1570:1: ( rule__SiriusExpressionDescription__Group_3_1__0__Impl rule__SiriusExpressionDescription__Group_3_1__1 ) - // InternalExpressionText.g:1571:2: rule__SiriusExpressionDescription__Group_3_1__0__Impl rule__SiriusExpressionDescription__Group_3_1__1 - { - pushFollow(FOLLOW_26); - rule__SiriusExpressionDescription__Group_3_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_3_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__0" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__0__Impl" - // InternalExpressionText.g:1578:1: rule__SiriusExpressionDescription__Group_3_1__0__Impl : ( ',' ) ; - public final void rule__SiriusExpressionDescription__Group_3_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1582:1: ( ( ',' ) ) - // InternalExpressionText.g:1583:1: ( ',' ) - { - // InternalExpressionText.g:1583:1: ( ',' ) - // InternalExpressionText.g:1584:1: ',' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); - match(input,23,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__0__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__1" - // InternalExpressionText.g:1597:1: rule__SiriusExpressionDescription__Group_3_1__1 : rule__SiriusExpressionDescription__Group_3_1__1__Impl ; - public final void rule__SiriusExpressionDescription__Group_3_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1601:1: ( rule__SiriusExpressionDescription__Group_3_1__1__Impl ) - // InternalExpressionText.g:1602:2: rule__SiriusExpressionDescription__Group_3_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_3_1__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__1" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__1__Impl" - // InternalExpressionText.g:1608:1: rule__SiriusExpressionDescription__Group_3_1__1__Impl : ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) ; - public final void rule__SiriusExpressionDescription__Group_3_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1612:1: ( ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) ) - // InternalExpressionText.g:1613:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) - { - // InternalExpressionText.g:1613:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) - // InternalExpressionText.g:1614:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); - // InternalExpressionText.g:1615:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) - // InternalExpressionText.g:1615:2: rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__ParametersAssignment_3_1_1(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__1__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16__0" - // InternalExpressionText.g:1629:1: rule__SiriusExpressionDescription__Group_16__0 : rule__SiriusExpressionDescription__Group_16__0__Impl rule__SiriusExpressionDescription__Group_16__1 ; - public final void rule__SiriusExpressionDescription__Group_16__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1633:1: ( rule__SiriusExpressionDescription__Group_16__0__Impl rule__SiriusExpressionDescription__Group_16__1 ) - // InternalExpressionText.g:1634:2: rule__SiriusExpressionDescription__Group_16__0__Impl rule__SiriusExpressionDescription__Group_16__1 - { - pushFollow(FOLLOW_24); - rule__SiriusExpressionDescription__Group_16__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_16__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16__0" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16__0__Impl" - // InternalExpressionText.g:1641:1: rule__SiriusExpressionDescription__Group_16__0__Impl : ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) ) ; - public final void rule__SiriusExpressionDescription__Group_16__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1645:1: ( ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) ) ) - // InternalExpressionText.g:1646:1: ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) ) - { - // InternalExpressionText.g:1646:1: ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) ) - // InternalExpressionText.g:1647:1: ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_0()); - // InternalExpressionText.g:1648:1: ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) - // InternalExpressionText.g:1648:2: rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__VariableContainersAssignment_16_0(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16__0__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16__1" - // InternalExpressionText.g:1658:1: rule__SiriusExpressionDescription__Group_16__1 : rule__SiriusExpressionDescription__Group_16__1__Impl ; - public final void rule__SiriusExpressionDescription__Group_16__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1662:1: ( rule__SiriusExpressionDescription__Group_16__1__Impl ) - // InternalExpressionText.g:1663:2: rule__SiriusExpressionDescription__Group_16__1__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_16__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16__1" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16__1__Impl" - // InternalExpressionText.g:1669:1: rule__SiriusExpressionDescription__Group_16__1__Impl : ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) ; - public final void rule__SiriusExpressionDescription__Group_16__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1673:1: ( ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) ) - // InternalExpressionText.g:1674:1: ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) - { - // InternalExpressionText.g:1674:1: ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) - // InternalExpressionText.g:1675:1: ( rule__SiriusExpressionDescription__Group_16_1__0 )* - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); - // InternalExpressionText.g:1676:1: ( rule__SiriusExpressionDescription__Group_16_1__0 )* - loop9: - do { - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0==23) ) { - alt9=1; - } - - - switch (alt9) { - case 1 : - // InternalExpressionText.g:1676:2: rule__SiriusExpressionDescription__Group_16_1__0 - { - pushFollow(FOLLOW_25); - rule__SiriusExpressionDescription__Group_16_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop9; - } - } while (true); - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16__1__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__0" - // InternalExpressionText.g:1690:1: rule__SiriusExpressionDescription__Group_16_1__0 : rule__SiriusExpressionDescription__Group_16_1__0__Impl rule__SiriusExpressionDescription__Group_16_1__1 ; - public final void rule__SiriusExpressionDescription__Group_16_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1694:1: ( rule__SiriusExpressionDescription__Group_16_1__0__Impl rule__SiriusExpressionDescription__Group_16_1__1 ) - // InternalExpressionText.g:1695:2: rule__SiriusExpressionDescription__Group_16_1__0__Impl rule__SiriusExpressionDescription__Group_16_1__1 - { - pushFollow(FOLLOW_3); - rule__SiriusExpressionDescription__Group_16_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_16_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__0" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__0__Impl" - // InternalExpressionText.g:1702:1: rule__SiriusExpressionDescription__Group_16_1__0__Impl : ( ',' ) ; - public final void rule__SiriusExpressionDescription__Group_16_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1706:1: ( ( ',' ) ) - // InternalExpressionText.g:1707:1: ( ',' ) - { - // InternalExpressionText.g:1707:1: ( ',' ) - // InternalExpressionText.g:1708:1: ',' - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); - match(input,23,FOLLOW_2); - after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__0__Impl" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__1" - // InternalExpressionText.g:1721:1: rule__SiriusExpressionDescription__Group_16_1__1 : rule__SiriusExpressionDescription__Group_16_1__1__Impl ; - public final void rule__SiriusExpressionDescription__Group_16_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1725:1: ( rule__SiriusExpressionDescription__Group_16_1__1__Impl ) - // InternalExpressionText.g:1726:2: rule__SiriusExpressionDescription__Group_16_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__Group_16_1__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__1" - - - // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__1__Impl" - // InternalExpressionText.g:1732:1: rule__SiriusExpressionDescription__Group_16_1__1__Impl : ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) ) ; - public final void rule__SiriusExpressionDescription__Group_16_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1736:1: ( ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) ) ) - // InternalExpressionText.g:1737:1: ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) ) - { - // InternalExpressionText.g:1737:1: ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) ) - // InternalExpressionText.g:1738:1: ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_1_1()); - // InternalExpressionText.g:1739:1: ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) - // InternalExpressionText.g:1739:2: rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 - { - pushFollow(FOLLOW_2); - rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__1__Impl" - - - // $ANTLR start "rule__SiriusParameter__Group__0" - // InternalExpressionText.g:1753:1: rule__SiriusParameter__Group__0 : rule__SiriusParameter__Group__0__Impl rule__SiriusParameter__Group__1 ; - public final void rule__SiriusParameter__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1757:1: ( rule__SiriusParameter__Group__0__Impl rule__SiriusParameter__Group__1 ) - // InternalExpressionText.g:1758:2: rule__SiriusParameter__Group__0__Impl rule__SiriusParameter__Group__1 - { - pushFollow(FOLLOW_26); - rule__SiriusParameter__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__SiriusParameter__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusParameter__Group__0" - - - // $ANTLR start "rule__SiriusParameter__Group__0__Impl" - // InternalExpressionText.g:1765:1: rule__SiriusParameter__Group__0__Impl : ( ( rule__SiriusParameter__OptionalAssignment_0 )? ) ; - public final void rule__SiriusParameter__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1769:1: ( ( ( rule__SiriusParameter__OptionalAssignment_0 )? ) ) - // InternalExpressionText.g:1770:1: ( ( rule__SiriusParameter__OptionalAssignment_0 )? ) - { - // InternalExpressionText.g:1770:1: ( ( rule__SiriusParameter__OptionalAssignment_0 )? ) - // InternalExpressionText.g:1771:1: ( rule__SiriusParameter__OptionalAssignment_0 )? - { - before(grammarAccess.getSiriusParameterAccess().getOptionalAssignment_0()); - // InternalExpressionText.g:1772:1: ( rule__SiriusParameter__OptionalAssignment_0 )? - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0==25) ) { - alt10=1; - } - switch (alt10) { - case 1 : - // InternalExpressionText.g:1772:2: rule__SiriusParameter__OptionalAssignment_0 - { - pushFollow(FOLLOW_2); - rule__SiriusParameter__OptionalAssignment_0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getSiriusParameterAccess().getOptionalAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusParameter__Group__0__Impl" - - - // $ANTLR start "rule__SiriusParameter__Group__1" - // InternalExpressionText.g:1782:1: rule__SiriusParameter__Group__1 : rule__SiriusParameter__Group__1__Impl ; - public final void rule__SiriusParameter__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1786:1: ( rule__SiriusParameter__Group__1__Impl ) - // InternalExpressionText.g:1787:2: rule__SiriusParameter__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__SiriusParameter__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusParameter__Group__1" - - - // $ANTLR start "rule__SiriusParameter__Group__1__Impl" - // InternalExpressionText.g:1793:1: rule__SiriusParameter__Group__1__Impl : ( ( rule__SiriusParameter__VariableAssignment_1 ) ) ; - public final void rule__SiriusParameter__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1797:1: ( ( ( rule__SiriusParameter__VariableAssignment_1 ) ) ) - // InternalExpressionText.g:1798:1: ( ( rule__SiriusParameter__VariableAssignment_1 ) ) - { - // InternalExpressionText.g:1798:1: ( ( rule__SiriusParameter__VariableAssignment_1 ) ) - // InternalExpressionText.g:1799:1: ( rule__SiriusParameter__VariableAssignment_1 ) - { - before(grammarAccess.getSiriusParameterAccess().getVariableAssignment_1()); - // InternalExpressionText.g:1800:1: ( rule__SiriusParameter__VariableAssignment_1 ) - // InternalExpressionText.g:1800:2: rule__SiriusParameter__VariableAssignment_1 - { - pushFollow(FOLLOW_2); - rule__SiriusParameter__VariableAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getSiriusParameterAccess().getVariableAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusParameter__Group__1__Impl" - - - // $ANTLR start "rule__Bound__Group__0" - // InternalExpressionText.g:1814:1: rule__Bound__Group__0 : rule__Bound__Group__0__Impl rule__Bound__Group__1 ; - public final void rule__Bound__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1818:1: ( rule__Bound__Group__0__Impl rule__Bound__Group__1 ) - // InternalExpressionText.g:1819:2: rule__Bound__Group__0__Impl rule__Bound__Group__1 - { - pushFollow(FOLLOW_17); - rule__Bound__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__Bound__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Bound__Group__0" - - - // $ANTLR start "rule__Bound__Group__0__Impl" - // InternalExpressionText.g:1826:1: rule__Bound__Group__0__Impl : ( ( '-' )? ) ; - public final void rule__Bound__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1830:1: ( ( ( '-' )? ) ) - // InternalExpressionText.g:1831:1: ( ( '-' )? ) - { - // InternalExpressionText.g:1831:1: ( ( '-' )? ) - // InternalExpressionText.g:1832:1: ( '-' )? - { - before(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); - // InternalExpressionText.g:1833:1: ( '-' )? - int alt11=2; - int LA11_0 = input.LA(1); - - if ( (LA11_0==24) ) { - alt11=1; - } - switch (alt11) { - case 1 : - // InternalExpressionText.g:1834:2: '-' - { - match(input,24,FOLLOW_2); - - } - break; - - } - - after(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Bound__Group__0__Impl" - - - // $ANTLR start "rule__Bound__Group__1" - // InternalExpressionText.g:1845:1: rule__Bound__Group__1 : rule__Bound__Group__1__Impl ; - public final void rule__Bound__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1849:1: ( rule__Bound__Group__1__Impl ) - // InternalExpressionText.g:1850:2: rule__Bound__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__Bound__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Bound__Group__1" - - - // $ANTLR start "rule__Bound__Group__1__Impl" - // InternalExpressionText.g:1856:1: rule__Bound__Group__1__Impl : ( RULE_INT ) ; - public final void rule__Bound__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1860:1: ( ( RULE_INT ) ) - // InternalExpressionText.g:1861:1: ( RULE_INT ) - { - // InternalExpressionText.g:1861:1: ( RULE_INT ) - // InternalExpressionText.g:1862:1: RULE_INT - { - before(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Bound__Group__1__Impl" - - - // $ANTLR start "rule__SiriusExpressionPackage__EPackageAssignment_1" - // InternalExpressionText.g:1878:1: rule__SiriusExpressionPackage__EPackageAssignment_1 : ( ( RULE_ID ) ) ; - public final void rule__SiriusExpressionPackage__EPackageAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1882:1: ( ( ( RULE_ID ) ) ) - // InternalExpressionText.g:1883:1: ( ( RULE_ID ) ) - { - // InternalExpressionText.g:1883:1: ( ( RULE_ID ) ) - // InternalExpressionText.g:1884:1: ( RULE_ID ) - { - before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); - // InternalExpressionText.g:1885:1: ( RULE_ID ) - // InternalExpressionText.g:1886:1: RULE_ID - { - before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageIDTerminalRuleCall_1_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageIDTerminalRuleCall_1_0_1()); - - } - - after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__EPackageAssignment_1" - - - // $ANTLR start "rule__SiriusExpressionPackage__ExpressionClassesAssignment_3" - // InternalExpressionText.g:1897:1: rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 : ( ruleSiriusExpressionClass ) ; - public final void rule__SiriusExpressionPackage__ExpressionClassesAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1901:1: ( ( ruleSiriusExpressionClass ) ) - // InternalExpressionText.g:1902:1: ( ruleSiriusExpressionClass ) - { - // InternalExpressionText.g:1902:1: ( ruleSiriusExpressionClass ) - // InternalExpressionText.g:1903:1: ruleSiriusExpressionClass - { - before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); - pushFollow(FOLLOW_2); - ruleSiriusExpressionClass(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionPackage__ExpressionClassesAssignment_3" - - - // $ANTLR start "rule__SiriusExpressionClass__EClassAssignment_1" - // InternalExpressionText.g:1912:1: rule__SiriusExpressionClass__EClassAssignment_1 : ( ( ruleFQN ) ) ; - public final void rule__SiriusExpressionClass__EClassAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1916:1: ( ( ( ruleFQN ) ) ) - // InternalExpressionText.g:1917:1: ( ( ruleFQN ) ) - { - // InternalExpressionText.g:1917:1: ( ( ruleFQN ) ) - // InternalExpressionText.g:1918:1: ( ruleFQN ) - { - before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); - // InternalExpressionText.g:1919:1: ( ruleFQN ) - // InternalExpressionText.g:1920:1: ruleFQN - { - before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); - - } - - after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__EClassAssignment_1" - - - // $ANTLR start "rule__SiriusExpressionClass__VariablesAssignment_3" - // InternalExpressionText.g:1931:1: rule__SiriusExpressionClass__VariablesAssignment_3 : ( ruleSiriusVariable ) ; - public final void rule__SiriusExpressionClass__VariablesAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1935:1: ( ( ruleSiriusVariable ) ) - // InternalExpressionText.g:1936:1: ( ruleSiriusVariable ) - { - // InternalExpressionText.g:1936:1: ( ruleSiriusVariable ) - // InternalExpressionText.g:1937:1: ruleSiriusVariable - { - before(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); - pushFollow(FOLLOW_2); - ruleSiriusVariable(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__VariablesAssignment_3" - - - // $ANTLR start "rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4" - // InternalExpressionText.g:1946:1: rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 : ( ruleSiriusExpressionDescription ) ; - public final void rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1950:1: ( ( ruleSiriusExpressionDescription ) ) - // InternalExpressionText.g:1951:1: ( ruleSiriusExpressionDescription ) - { - // InternalExpressionText.g:1951:1: ( ruleSiriusExpressionDescription ) - // InternalExpressionText.g:1952:1: ruleSiriusExpressionDescription - { - before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); - pushFollow(FOLLOW_2); - ruleSiriusExpressionDescription(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4" - - - // $ANTLR start "rule__SiriusVariable__DocumentationAssignment_0" - // InternalExpressionText.g:1961:1: rule__SiriusVariable__DocumentationAssignment_0 : ( RULE_ML_COMMENT ) ; - public final void rule__SiriusVariable__DocumentationAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1965:1: ( ( RULE_ML_COMMENT ) ) - // InternalExpressionText.g:1966:1: ( RULE_ML_COMMENT ) - { - // InternalExpressionText.g:1966:1: ( RULE_ML_COMMENT ) - // InternalExpressionText.g:1967:1: RULE_ML_COMMENT - { - before(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); - match(input,RULE_ML_COMMENT,FOLLOW_2); - after(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__DocumentationAssignment_0" - - - // $ANTLR start "rule__SiriusVariable__NameAssignment_2" - // InternalExpressionText.g:1976:1: rule__SiriusVariable__NameAssignment_2 : ( RULE_ID ) ; - public final void rule__SiriusVariable__NameAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1980:1: ( ( RULE_ID ) ) - // InternalExpressionText.g:1981:1: ( RULE_ID ) - { - // InternalExpressionText.g:1981:1: ( RULE_ID ) - // InternalExpressionText.g:1982:1: RULE_ID - { - before(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__NameAssignment_2" - - - // $ANTLR start "rule__SiriusVariable__ETypeAssignment_4" - // InternalExpressionText.g:1991:1: rule__SiriusVariable__ETypeAssignment_4 : ( ( ruleFQN ) ) ; - public final void rule__SiriusVariable__ETypeAssignment_4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:1995:1: ( ( ( ruleFQN ) ) ) - // InternalExpressionText.g:1996:1: ( ( ruleFQN ) ) - { - // InternalExpressionText.g:1996:1: ( ( ruleFQN ) ) - // InternalExpressionText.g:1997:1: ( ruleFQN ) - { - before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); - // InternalExpressionText.g:1998:1: ( ruleFQN ) - // InternalExpressionText.g:1999:1: ruleFQN - { - before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); - - } - - after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusVariable__ETypeAssignment_4" - - - // $ANTLR start "rule__SiriusExpressionDescription__ExpressionAssignment_1" - // InternalExpressionText.g:2010:1: rule__SiriusExpressionDescription__ExpressionAssignment_1 : ( ( ruleFQN ) ) ; - public final void rule__SiriusExpressionDescription__ExpressionAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:2014:1: ( ( ( ruleFQN ) ) ) - // InternalExpressionText.g:2015:1: ( ( ruleFQN ) ) - { - // InternalExpressionText.g:2015:1: ( ( ruleFQN ) ) - // InternalExpressionText.g:2016:1: ( ruleFQN ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); - // InternalExpressionText.g:2017:1: ( ruleFQN ) - // InternalExpressionText.g:2018:1: ruleFQN - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__ExpressionAssignment_1" - - - // $ANTLR start "rule__SiriusExpressionDescription__ParametersAssignment_3_0" - // InternalExpressionText.g:2029:1: rule__SiriusExpressionDescription__ParametersAssignment_3_0 : ( ruleSiriusParameter ) ; - public final void rule__SiriusExpressionDescription__ParametersAssignment_3_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:2033:1: ( ( ruleSiriusParameter ) ) - // InternalExpressionText.g:2034:1: ( ruleSiriusParameter ) - { - // InternalExpressionText.g:2034:1: ( ruleSiriusParameter ) - // InternalExpressionText.g:2035:1: ruleSiriusParameter - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); - pushFollow(FOLLOW_2); - ruleSiriusParameter(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__ParametersAssignment_3_0" - - - // $ANTLR start "rule__SiriusExpressionDescription__ParametersAssignment_3_1_1" - // InternalExpressionText.g:2044:1: rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 : ( ruleSiriusParameter ) ; - public final void rule__SiriusExpressionDescription__ParametersAssignment_3_1_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:2048:1: ( ( ruleSiriusParameter ) ) - // InternalExpressionText.g:2049:1: ( ruleSiriusParameter ) - { - // InternalExpressionText.g:2049:1: ( ruleSiriusParameter ) - // InternalExpressionText.g:2050:1: ruleSiriusParameter - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); - pushFollow(FOLLOW_2); - ruleSiriusParameter(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__ParametersAssignment_3_1_1" - - - // $ANTLR start "rule__SiriusExpressionDescription__ReturnTypeAssignment_6" - // InternalExpressionText.g:2059:1: rule__SiriusExpressionDescription__ReturnTypeAssignment_6 : ( ( ruleFQN ) ) ; - public final void rule__SiriusExpressionDescription__ReturnTypeAssignment_6() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:2063:1: ( ( ( ruleFQN ) ) ) - // InternalExpressionText.g:2064:1: ( ( ruleFQN ) ) - { - // InternalExpressionText.g:2064:1: ( ( ruleFQN ) ) - // InternalExpressionText.g:2065:1: ( ruleFQN ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); - // InternalExpressionText.g:2066:1: ( ruleFQN ) - // InternalExpressionText.g:2067:1: ruleFQN - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierFQNParserRuleCall_6_0_1()); - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierFQNParserRuleCall_6_0_1()); - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__ReturnTypeAssignment_6" - - - // $ANTLR start "rule__SiriusExpressionDescription__LowerBoundAssignment_8" - // InternalExpressionText.g:2078:1: rule__SiriusExpressionDescription__LowerBoundAssignment_8 : ( ruleBound ) ; - public final void rule__SiriusExpressionDescription__LowerBoundAssignment_8() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:2082:1: ( ( ruleBound ) ) - // InternalExpressionText.g:2083:1: ( ruleBound ) - { - // InternalExpressionText.g:2083:1: ( ruleBound ) - // InternalExpressionText.g:2084:1: ruleBound - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); - pushFollow(FOLLOW_2); - ruleBound(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__LowerBoundAssignment_8" - - - // $ANTLR start "rule__SiriusExpressionDescription__UpperBoundAssignment_10" - // InternalExpressionText.g:2093:1: rule__SiriusExpressionDescription__UpperBoundAssignment_10 : ( ruleBound ) ; - public final void rule__SiriusExpressionDescription__UpperBoundAssignment_10() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:2097:1: ( ( ruleBound ) ) - // InternalExpressionText.g:2098:1: ( ruleBound ) - { - // InternalExpressionText.g:2098:1: ( ruleBound ) - // InternalExpressionText.g:2099:1: ruleBound - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); - pushFollow(FOLLOW_2); - ruleBound(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__UpperBoundAssignment_10" - - - // $ANTLR start "rule__SiriusExpressionDescription__VariableContainersAssignment_16_0" - // InternalExpressionText.g:2108:1: rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 : ( ( ruleFQN ) ) ; - public final void rule__SiriusExpressionDescription__VariableContainersAssignment_16_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:2112:1: ( ( ( ruleFQN ) ) ) - // InternalExpressionText.g:2113:1: ( ( ruleFQN ) ) - { - // InternalExpressionText.g:2113:1: ( ( ruleFQN ) ) - // InternalExpressionText.g:2114:1: ( ruleFQN ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); - // InternalExpressionText.g:2115:1: ( ruleFQN ) - // InternalExpressionText.g:2116:1: ruleFQN - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_0_0_1()); - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_0_0_1()); - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__VariableContainersAssignment_16_0" - - - // $ANTLR start "rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1" - // InternalExpressionText.g:2127:1: rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 : ( ( ruleFQN ) ) ; - public final void rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:2131:1: ( ( ( ruleFQN ) ) ) - // InternalExpressionText.g:2132:1: ( ( ruleFQN ) ) - { - // InternalExpressionText.g:2132:1: ( ( ruleFQN ) ) - // InternalExpressionText.g:2133:1: ( ruleFQN ) - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); - // InternalExpressionText.g:2134:1: ( ruleFQN ) - // InternalExpressionText.g:2135:1: ruleFQN - { - before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_1_1_0_1()); - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_1_1_0_1()); - - } - - after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1" - - - // $ANTLR start "rule__SiriusParameter__OptionalAssignment_0" - // InternalExpressionText.g:2146:1: rule__SiriusParameter__OptionalAssignment_0 : ( ( 'optional' ) ) ; - public final void rule__SiriusParameter__OptionalAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:2150:1: ( ( ( 'optional' ) ) ) - // InternalExpressionText.g:2151:1: ( ( 'optional' ) ) - { - // InternalExpressionText.g:2151:1: ( ( 'optional' ) ) - // InternalExpressionText.g:2152:1: ( 'optional' ) - { - before(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); - // InternalExpressionText.g:2153:1: ( 'optional' ) - // InternalExpressionText.g:2154:1: 'optional' - { - before(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); - match(input,25,FOLLOW_2); - after(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); - - } - - after(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusParameter__OptionalAssignment_0" - - - // $ANTLR start "rule__SiriusParameter__VariableAssignment_1" - // InternalExpressionText.g:2169:1: rule__SiriusParameter__VariableAssignment_1 : ( ( RULE_ID ) ) ; - public final void rule__SiriusParameter__VariableAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalExpressionText.g:2173:1: ( ( ( RULE_ID ) ) ) - // InternalExpressionText.g:2174:1: ( ( RULE_ID ) ) - { - // InternalExpressionText.g:2174:1: ( ( RULE_ID ) ) - // InternalExpressionText.g:2175:1: ( RULE_ID ) - { - before(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); - // InternalExpressionText.g:2176:1: ( RULE_ID ) - // InternalExpressionText.g:2177:1: RULE_ID - { - before(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableIDTerminalRuleCall_1_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableIDTerminalRuleCall_1_0_1()); - - } - - after(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SiriusParameter__VariableAssignment_1" - - // Delegated rules - - - - - public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000200L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000C00L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000802L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x000000000000A440L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000002042L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000008002L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000001002L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000002040L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000004000L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000002020010L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000040000L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000001000020L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000200000L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000400000L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000100010L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000400L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000800000L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000800002L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000002000010L}); - -} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/internal/ExpressionTextActivator.java b/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/internal/ExpressionTextActivator.java deleted file mode 100644 index 3e02a504b..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/internal/ExpressionTextActivator.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui.internal; - -import java.util.Collections; -import java.util.Map; - -import org.apache.log4j.Logger; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.eclipse.xtext.ui.shared.SharedStateModule; -import org.eclipse.xtext.util.Modules2; -import org.osgi.framework.BundleContext; - -import com.google.common.collect.Maps; -import com.google.inject.Guice; -import com.google.inject.Injector; -import com.google.inject.Module; - -/** - * This class was generated. Customizations should only happen in a newly - * introduced subclass. - */ -public class ExpressionTextActivator extends AbstractUIPlugin { - - public static final String ORG_ECLIPSE_SIRIUS_EXPRESSION_TEXT_EXPRESSIONTEXT = "org.eclipse.sirius.expression.text.ExpressionText"; - - private static final Logger logger = Logger.getLogger(ExpressionTextActivator.class); - - private static ExpressionTextActivator INSTANCE; - - private Map injectors = Collections.synchronizedMap(Maps. newHashMapWithExpectedSize(1)); - - @Override - public void start(BundleContext context) throws Exception { - super.start(context); - INSTANCE = this; - } - - @Override - public void stop(BundleContext context) throws Exception { - injectors.clear(); - INSTANCE = null; - super.stop(context); - } - - public static ExpressionTextActivator getInstance() { - return INSTANCE; - } - - public Injector getInjector(String language) { - synchronized (injectors) { - Injector injector = injectors.get(language); - if (injector == null) { - injectors.put(language, injector = createInjector(language)); - } - return injector; - } - } - - protected Injector createInjector(String language) { - try { - Module runtimeModule = getRuntimeModule(language); - Module sharedStateModule = getSharedStateModule(); - Module uiModule = getUiModule(language); - Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule); - return Guice.createInjector(mergedModule); - } catch (Exception e) { - logger.error("Failed to create injector for " + language); - logger.error(e.getMessage(), e); - throw new RuntimeException("Failed to create injector for " + language, e); - } - } - - protected Module getRuntimeModule(String grammar) { - if (ORG_ECLIPSE_SIRIUS_EXPRESSION_TEXT_EXPRESSIONTEXT.equals(grammar)) { - return new org.eclipse.sirius.expression.text.ExpressionTextRuntimeModule(); - } - - throw new IllegalArgumentException(grammar); - } - - protected Module getUiModule(String grammar) { - if (ORG_ECLIPSE_SIRIUS_EXPRESSION_TEXT_EXPRESSIONTEXT.equals(grammar)) { - return new org.eclipse.sirius.expression.text.ui.ExpressionTextUiModule(this); - } - - throw new IllegalArgumentException(grammar); - } - - protected Module getSharedStateModule() { - return new SharedStateModule(); - } - -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/ExpressionTextUiModule.java b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/ExpressionTextUiModule.java deleted file mode 100644 index 65d60d834..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/ExpressionTextUiModule.java +++ /dev/null @@ -1,15 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui; - -import org.eclipse.ui.plugin.AbstractUIPlugin; - -/** - * Use this class to register components to be used within the IDE. - */ -public class ExpressionTextUiModule extends org.eclipse.sirius.expression.text.ui.AbstractExpressionTextUiModule { - public ExpressionTextUiModule(AbstractUIPlugin plugin) { - super(plugin); - } -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.xtend b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.xtend deleted file mode 100644 index bee3f6ce2..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.xtend +++ /dev/null @@ -1,13 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui.contentassist - -import org.eclipse.sirius.expression.text.ui.contentassist.AbstractExpressionTextProposalProvider - -/** - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist - * on how to customize the content assistant. - */ -class ExpressionTextProposalProvider extends AbstractExpressionTextProposalProvider { -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.xtend b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.xtend deleted file mode 100644 index 98204d020..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.xtend +++ /dev/null @@ -1,24 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui.labeling - -//import org.eclipse.xtext.resource.IEObjectDescription - -/** - * Provides labels for IEObjectDescriptions and IResourceDescriptions. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider - */ -class ExpressionTextDescriptionLabelProvider extends org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider { - - // Labels and icons can be computed like this: - -// override text(IEObjectDescription ele) { -// ele.name.toString -// } -// -// override image(IEObjectDescription ele) { -// ele.EClass.name + '.gif' -// } -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.xtend b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.xtend deleted file mode 100644 index 5db261253..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.xtend +++ /dev/null @@ -1,29 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui.labeling - -import com.google.inject.Inject - -/** - * Provides labels for EObjects. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider - */ -class ExpressionTextLabelProvider extends org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider { - - @Inject - new(org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider delegate) { - super(delegate); - } - - // Labels and icons can be computed like this: - -// def text(Greeting ele) { -// 'A greeting to ' + ele.name -// } -// -// def image(Greeting ele) { -// 'Greeting.gif' -// } -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.xtend b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.xtend deleted file mode 100644 index e5df0ce22..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.xtend +++ /dev/null @@ -1,13 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui.outline - -/** - * Customization of the default outline structure. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#outline - */ -class ExpressionTextOutlineTreeProvider extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider { - -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.xtend b/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.xtend deleted file mode 100644 index f37b106a8..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.xtend +++ /dev/null @@ -1,26 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui.quickfix - -//import org.eclipse.xtext.ui.editor.quickfix.Fix -//import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor -//import org.eclipse.xtext.validation.Issue - -/** - * Custom quickfixes. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#quick-fixes - */ -class ExpressionTextQuickfixProvider extends org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider { - -// @Fix(MyDslValidator::INVALID_NAME) -// def capitalizeName(Issue issue, IssueResolutionAcceptor acceptor) { -// acceptor.accept(issue, 'Capitalize name', 'Capitalize the name.', 'upcase.png') [ -// context | -// val xtextDocument = context.xtextDocument -// val firstLetter = xtextDocument.get(issue.offset, 1) -// xtextDocument.replace(issue.offset, 1, firstLetter.toUpperCase) -// ] -// } -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.java b/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.java deleted file mode 100644 index d525cf5ce..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.java +++ /dev/null @@ -1,14 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui.contentassist; - -import org.eclipse.sirius.expression.text.ui.contentassist.AbstractExpressionTextProposalProvider; - -/** - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist - * on how to customize the content assistant. - */ -@SuppressWarnings("all") -public class ExpressionTextProposalProvider extends AbstractExpressionTextProposalProvider { -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.java b/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.java deleted file mode 100644 index 476e867c5..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.java +++ /dev/null @@ -1,15 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui.labeling; - -import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider; - -/** - * Provides labels for IEObjectDescriptions and IResourceDescriptions. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider - */ -@SuppressWarnings("all") -public class ExpressionTextDescriptionLabelProvider extends DefaultDescriptionLabelProvider { -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.java b/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.java deleted file mode 100644 index 0233725ad..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.java +++ /dev/null @@ -1,21 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui.labeling; - -import com.google.inject.Inject; -import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider; -import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider; - -/** - * Provides labels for EObjects. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider - */ -@SuppressWarnings("all") -public class ExpressionTextLabelProvider extends DefaultEObjectLabelProvider { - @Inject - public ExpressionTextLabelProvider(final AdapterFactoryLabelProvider delegate) { - super(delegate); - } -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.java b/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.java deleted file mode 100644 index 725469b64..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.java +++ /dev/null @@ -1,15 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui.outline; - -import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider; - -/** - * Customization of the default outline structure. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#outline - */ -@SuppressWarnings("all") -public class ExpressionTextOutlineTreeProvider extends DefaultOutlineTreeProvider { -} diff --git a/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.java b/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.java deleted file mode 100644 index 53f8b27c9..000000000 --- a/plugins/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.java +++ /dev/null @@ -1,15 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.ui.quickfix; - -import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider; - -/** - * Custom quickfixes. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#quick-fixes - */ -@SuppressWarnings("all") -public class ExpressionTextQuickfixProvider extends DefaultQuickfixProvider { -} diff --git a/plugins/org.eclipse.sirius.expression.text/.antlr-generator-3.2.0-patch.jar b/plugins/org.eclipse.sirius.expression.text/.antlr-generator-3.2.0-patch.jar deleted file mode 100644 index 90516fd7a..000000000 Binary files a/plugins/org.eclipse.sirius.expression.text/.antlr-generator-3.2.0-patch.jar and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.text/.classpath b/plugins/org.eclipse.sirius.expression.text/.classpath deleted file mode 100644 index 9081d4f70..000000000 --- a/plugins/org.eclipse.sirius.expression.text/.classpath +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.text/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.text).launch b/plugins/org.eclipse.sirius.expression.text/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.text).launch deleted file mode 100644 index 48f094e36..000000000 --- a/plugins/org.eclipse.sirius.expression.text/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.text).launch +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.text/.launch/Launch Runtime Eclipse.launch b/plugins/org.eclipse.sirius.expression.text/.launch/Launch Runtime Eclipse.launch deleted file mode 100644 index 3053f7f65..000000000 --- a/plugins/org.eclipse.sirius.expression.text/.launch/Launch Runtime Eclipse.launch +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression.text/.project b/plugins/org.eclipse.sirius.expression.text/.project deleted file mode 100644 index 7bcfb35a7..000000000 --- a/plugins/org.eclipse.sirius.expression.text/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.eclipse.sirius.expression.text - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - org.eclipse.xtext.ui.shared.xtextNature - - diff --git a/plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c020..000000000 --- a/plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0c68a61dc..000000000 --- a/plugins/org.eclipse.sirius.expression.text/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/plugins/org.eclipse.sirius.expression.text/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression.text/META-INF/MANIFEST.MF deleted file mode 100644 index b8bd7ff2f..000000000 --- a/plugins/org.eclipse.sirius.expression.text/META-INF/MANIFEST.MF +++ /dev/null @@ -1,29 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-Vendor: %providerName -Bundle-Localization: plugin -Bundle-Version: 1.0.0.qualifier -Bundle-SymbolicName: org.eclipse.sirius.expression.text; singleton:=true -Bundle-ActivationPolicy: lazy -Require-Bundle: org.eclipse.xtext;visibility:=reexport, - org.eclipse.equinox.common;bundle-version="3.5.0", - org.eclipse.sirius.expression;bundle-version="1.0.0", - org.eclipse.xtext.util, - org.eclipse.emf.ecore, - org.eclipse.emf.common, - org.eclipse.xtext.xbase.lib, - org.antlr.runtime, - org.eclipse.xtext.common.types, - org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional -Import-Package: org.apache.log4j -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Export-Package: org.eclipse.sirius.expression.text, - org.eclipse.sirius.expression.text.services, - org.eclipse.sirius.expression.text.serializer, - org.eclipse.sirius.expression.text.parser.antlr, - org.eclipse.sirius.expression.text.parser.antlr.internal, - org.eclipse.sirius.expression.text.validation, - org.eclipse.sirius.expression.text.scoping, - org.eclipse.sirius.expression.text.generator, - org.eclipse.sirius.expression.text.formatting diff --git a/plugins/org.eclipse.sirius.expression.text/about.html b/plugins/org.eclipse.sirius.expression.text/about.html deleted file mode 100644 index f3a55ce5f..000000000 --- a/plugins/org.eclipse.sirius.expression.text/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

                About This Content

                - -

                June 15, 2010

                -

                License

                - -

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

                - -

                If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

                - - - \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text/build.properties b/plugins/org.eclipse.sirius.expression.text/build.properties deleted file mode 100644 index 47858148c..000000000 --- a/plugins/org.eclipse.sirius.expression.text/build.properties +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm - -source.. = src/,\ - src-gen/,\ - xtend-gen/ -bin.includes = META-INF/,\ - .,\ - plugin.properties,\ - about.html -additional.bundles = org.eclipse.xtext.xbase,\ - org.eclipse.xtext.generator,\ - org.apache.commons.logging,\ - org.eclipse.emf.codegen.ecore,\ - org.eclipse.emf.mwe.utils,\ - org.eclipse.emf.mwe2.launch,\ - org.eclipse.xtext.common.types,\ - org.objectweb.asm diff --git a/plugins/org.eclipse.sirius.expression.text/plugin.properties b/plugins/org.eclipse.sirius.expression.text/plugin.properties deleted file mode 100644 index f2cab8b41..000000000 --- a/plugins/org.eclipse.sirius.expression.text/plugin.properties +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm - -pluginName = Sirius Expression Textual Editor -providerName = Eclipse Modeling Project \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/AbstractExpressionTextRuntimeModule.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/AbstractExpressionTextRuntimeModule.java deleted file mode 100644 index 5d367062d..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/AbstractExpressionTextRuntimeModule.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text; - -import java.util.Properties; - -import org.eclipse.xtext.Constants; - -import com.google.inject.Binder; -import com.google.inject.name.Names; - -/** - * Manual modifications go to {org.eclipse.sirius.expression.text.ExpressionTextRuntimeModule} - */ -@SuppressWarnings("all") -public abstract class AbstractExpressionTextRuntimeModule extends org.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule { - - protected Properties properties = null; - - @Override - public void configure(Binder binder) { - properties = tryBindProperties(binder, "org/eclipse/sirius/expression/text/ExpressionText.properties"); - super.configure(binder); - } - - public void configureLanguageName(Binder binder) { - binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.sirius.expression.text.ExpressionText"); - } - - public void configureFileExtensions(Binder binder) { - if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) - binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("expression"); - } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public java.lang.ClassLoader bindClassLoaderToInstance() { - return getClass().getClassLoader(); - } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public Class bindIGrammarAccess() { - return org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess.class; - } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISemanticSequencer() { - return org.eclipse.sirius.expression.text.serializer.ExpressionTextSemanticSequencer.class; - } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISyntacticSequencer() { - return org.eclipse.sirius.expression.text.serializer.ExpressionTextSyntacticSequencer.class; - } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISerializer() { - return org.eclipse.xtext.serializer.impl.Serializer.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIParser() { - return org.eclipse.sirius.expression.text.parser.antlr.ExpressionTextParser.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindITokenToStringConverter() { - return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIAntlrTokenFileProvider() { - return org.eclipse.sirius.expression.text.parser.antlr.ExpressionTextAntlrTokenFileProvider.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindLexer() { - return org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextLexer.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public com.google.inject.Provider provideInternalExpressionTextLexer() { - return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextLexer.class); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureRuntimeLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextLexer.class); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindITokenDefProvider() { - return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class; - } - - // contributed by org.eclipse.xtext.generator.validation.ValidatorFragment - @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class bindExpressionTextValidator() { - return org.eclipse.sirius.expression.text.validation.ExpressionTextValidator.class; - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public Class bindIScopeProvider() { - return org.eclipse.sirius.expression.text.scoping.ExpressionTextScopeProvider.class; - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public void configureIScopeProviderDelegate(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.class); - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public void configureIgnoreCaseLinking(com.google.inject.Binder binder) { - binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false); - } - - // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment - public Class bindIQualifiedNameProvider() { - return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public Class bindIContainer$Manager() { - return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public Class bindIAllContainersState$Provider() { - return org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public void configureIResourceDescriptions(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); - } - - // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment - public Class bindIGenerator() { - return org.eclipse.sirius.expression.text.generator.ExpressionTextGenerator.class; - } - - // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment - public Class bindIFormatter() { - return org.eclipse.sirius.expression.text.formatting.ExpressionTextFormatter.class; - } - - // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment - public Class bindIGlobalScopeProvider() { - return org.eclipse.xtext.common.types.xtext.TypesAwareDefaultGlobalScopeProvider.class; - } - -} diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin deleted file mode 100644 index 85d43bcce..000000000 Binary files a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin and /dev/null differ diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetupGenerated.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetupGenerated.java deleted file mode 100644 index e55a31b23..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetupGenerated.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text; - -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.xtext.ISetup; - -import com.google.inject.Guice; -import com.google.inject.Injector; - -/** - * Generated from StandaloneSetup.xpt! - */ -@SuppressWarnings("all") -public class ExpressionTextStandaloneSetupGenerated implements ISetup { - - @Override - public Injector createInjectorAndDoEMFRegistration() { - // register default ePackages - if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("ecore")) - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( - "ecore", new org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl()); - if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("xmi")) - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( - "xmi", new org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl()); - if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("xtextbin")) - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( - "xtextbin", new org.eclipse.xtext.resource.impl.BinaryGrammarResourceFactoryImpl()); - if (!EPackage.Registry.INSTANCE.containsKey(org.eclipse.xtext.XtextPackage.eNS_URI)) - EPackage.Registry.INSTANCE.put(org.eclipse.xtext.XtextPackage.eNS_URI, org.eclipse.xtext.XtextPackage.eINSTANCE); - - Injector injector = createInjector(); - register(injector); - return injector; - } - - public Injector createInjector() { - return Guice.createInjector(new org.eclipse.sirius.expression.text.ExpressionTextRuntimeModule()); - } - - public void register(Injector injector) { - - org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); - org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("expression", resourceFactory); - org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("expression", serviceProvider); - - - - } -} diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextAntlrTokenFileProvider.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextAntlrTokenFileProvider.java deleted file mode 100644 index 8f810fa27..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextAntlrTokenFileProvider.java +++ /dev/null @@ -1,16 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.parser.antlr; - -import java.io.InputStream; -import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; - -public class ExpressionTextAntlrTokenFileProvider implements IAntlrTokenFileProvider { - - @Override - public InputStream getAntlrTokenFile() { - ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens"); - } -} diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextParser.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextParser.java deleted file mode 100644 index 3d7d0c38a..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextParser.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.parser.antlr; - -import com.google.inject.Inject; - -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; - -public class ExpressionTextParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { - - @Inject - private ExpressionTextGrammarAccess grammarAccess; - - @Override - protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { - tokenStream.setInitialHiddenTokens("RULE_WS"); - } - - @Override - protected org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextParser createParser(XtextTokenStream stream) { - return new org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextParser(stream, getGrammarAccess()); - } - - @Override - protected String getDefaultRuleName() { - return "SiriusExpressionPackage"; - } - - public ExpressionTextGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(ExpressionTextGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - -} diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g deleted file mode 100644 index 04d74716e..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g +++ /dev/null @@ -1,639 +0,0 @@ -/* - * generated by Xtext - */ -grammar InternalExpressionText; - -options { - superClass=AbstractInternalAntlrParser; - -} - -@lexer::header { -package org.eclipse.sirius.expression.text.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; -} - -@parser::header { -package org.eclipse.sirius.expression.text.parser.antlr.internal; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; -import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; - -} - -@parser::members { - - private ExpressionTextGrammarAccess grammarAccess; - - public InternalExpressionTextParser(TokenStream input, ExpressionTextGrammarAccess grammarAccess) { - this(input); - this.grammarAccess = grammarAccess; - registerRules(grammarAccess.getGrammar()); - } - - @Override - protected String getFirstRuleName() { - return "SiriusExpressionPackage"; - } - - @Override - protected ExpressionTextGrammarAccess getGrammarAccess() { - return grammarAccess; - } -} - -@rulecatch { - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } -} - - - - -// Entry rule entryRuleSiriusExpressionPackage -entryRuleSiriusExpressionPackage returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getSiriusExpressionPackageRule()); } - iv_ruleSiriusExpressionPackage=ruleSiriusExpressionPackage - { $current=$iv_ruleSiriusExpressionPackage.current; } - EOF -; - -// Rule SiriusExpressionPackage -ruleSiriusExpressionPackage returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='package' - { - newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusExpressionPackageRule()); - } - } - otherlv_1=RULE_ID - { - newLeafNode(otherlv_1, grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); - } - -) -) otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); - } -( -( - { - newCompositeNode(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); - } - lv_expressionClasses_3_0=ruleSiriusExpressionClass { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSiriusExpressionPackageRule()); - } - add( - $current, - "expressionClasses", - lv_expressionClasses_3_0, - "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionClass"); - afterParserOrEnumRuleCall(); - } - -) -)* otherlv_4='}' - { - newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); - } -) -; - - - - - -// Entry rule entryRuleSiriusExpressionClass -entryRuleSiriusExpressionClass returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getSiriusExpressionClassRule()); } - iv_ruleSiriusExpressionClass=ruleSiriusExpressionClass - { $current=$iv_ruleSiriusExpressionClass.current; } - EOF -; - -// Rule SiriusExpressionClass -ruleSiriusExpressionClass returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='class' - { - newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusExpressionClassRule()); - } - } - { - newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); - } - ruleFQN { - afterParserOrEnumRuleCall(); - } - -) -) otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); - } -( -( - { - newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); - } - lv_variables_3_0=ruleSiriusVariable { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); - } - add( - $current, - "variables", - lv_variables_3_0, - "org.eclipse.sirius.expression.text.ExpressionText.SiriusVariable"); - afterParserOrEnumRuleCall(); - } - -) -)*( -( - { - newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); - } - lv_expressionDescriptions_4_0=ruleSiriusExpressionDescription { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); - } - add( - $current, - "expressionDescriptions", - lv_expressionDescriptions_4_0, - "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionDescription"); - afterParserOrEnumRuleCall(); - } - -) -)* otherlv_5='}' - { - newLeafNode(otherlv_5, grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); - } -) -; - - - - - -// Entry rule entryRuleFQN -entryRuleFQN returns [String current=null] - : - { newCompositeNode(grammarAccess.getFQNRule()); } - iv_ruleFQN=ruleFQN - { $current=$iv_ruleFQN.current.getText(); } - EOF -; - -// Rule FQN -ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: -( this_ID_0=RULE_ID { - $current.merge(this_ID_0); - } - - { - newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); - } -( - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); - } - this_ID_2=RULE_ID { - $current.merge(this_ID_2); - } - - { - newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); - } -)*) - ; - - - - - -// Entry rule entryRuleSiriusVariable -entryRuleSiriusVariable returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getSiriusVariableRule()); } - iv_ruleSiriusVariable=ruleSiriusVariable - { $current=$iv_ruleSiriusVariable.current; } - EOF -; - -// Rule SiriusVariable -ruleSiriusVariable returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - lv_documentation_0_0=RULE_ML_COMMENT - { - newLeafNode(lv_documentation_0_0, grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusVariableRule()); - } - setWithLastConsumed( - $current, - "documentation", - lv_documentation_0_0, - "org.eclipse.sirius.expression.text.ExpressionText.ML_COMMENT"); - } - -) -)? otherlv_1='var' - { - newLeafNode(otherlv_1, grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); - } -( -( - lv_name_2_0=RULE_ID - { - newLeafNode(lv_name_2_0, grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusVariableRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_2_0, - "org.eclipse.sirius.expression.text.ExpressionText.ID"); - } - -) -) otherlv_3=':' - { - newLeafNode(otherlv_3, grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusVariableRule()); - } - } - { - newCompositeNode(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); - } - ruleFQN { - afterParserOrEnumRuleCall(); - } - -) -)) -; - - - - - -// Entry rule entryRuleSiriusExpressionDescription -entryRuleSiriusExpressionDescription returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getSiriusExpressionDescriptionRule()); } - iv_ruleSiriusExpressionDescription=ruleSiriusExpressionDescription - { $current=$iv_ruleSiriusExpressionDescription.current; } - EOF -; - -// Rule SiriusExpressionDescription -ruleSiriusExpressionDescription returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='exp' - { - newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - } - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); - } - ruleFQN { - afterParserOrEnumRuleCall(); - } - -) -) otherlv_2='(' - { - newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); - } -(( -( - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); - } - lv_parameters_3_0=ruleSiriusParameter { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - add( - $current, - "parameters", - lv_parameters_3_0, - "org.eclipse.sirius.expression.text.ExpressionText.SiriusParameter"); - afterParserOrEnumRuleCall(); - } - -) -)( otherlv_4=',' - { - newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); - } -( -( - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); - } - lv_parameters_5_0=ruleSiriusParameter { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - add( - $current, - "parameters", - lv_parameters_5_0, - "org.eclipse.sirius.expression.text.ExpressionText.SiriusParameter"); - afterParserOrEnumRuleCall(); - } - -) -))*)? otherlv_6=')' - { - newLeafNode(otherlv_6, grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); - } - otherlv_7=':' - { - newLeafNode(otherlv_7, grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - } - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); - } - ruleFQN { - afterParserOrEnumRuleCall(); - } - -) -) otherlv_9='[' - { - newLeafNode(otherlv_9, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); - } -( -( - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); - } - lv_lowerBound_10_0=ruleBound { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - set( - $current, - "lowerBound", - lv_lowerBound_10_0, - "org.eclipse.sirius.expression.text.ExpressionText.Bound"); - afterParserOrEnumRuleCall(); - } - -) -) otherlv_11='..' - { - newLeafNode(otherlv_11, grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); - } -( -( - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); - } - lv_upperBound_12_0=ruleBound { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - set( - $current, - "upperBound", - lv_upperBound_12_0, - "org.eclipse.sirius.expression.text.ExpressionText.Bound"); - afterParserOrEnumRuleCall(); - } - -) -) otherlv_13=']' - { - newLeafNode(otherlv_13, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); - } - otherlv_14='{' - { - newLeafNode(otherlv_14, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); - } - otherlv_15='userDefinedVariableContainers' - { - newLeafNode(otherlv_15, grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); - } - otherlv_16='=' - { - newLeafNode(otherlv_16, grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); - } - otherlv_17='[' - { - newLeafNode(otherlv_17, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); - } -(( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - } - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); - } - ruleFQN { - afterParserOrEnumRuleCall(); - } - -) -)( otherlv_19=',' - { - newLeafNode(otherlv_19, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - } - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); - } - ruleFQN { - afterParserOrEnumRuleCall(); - } - -) -))*)? otherlv_21=']' - { - newLeafNode(otherlv_21, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); - } - otherlv_22='}' - { - newLeafNode(otherlv_22, grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); - } -) -; - - - - - -// Entry rule entryRuleSiriusParameter -entryRuleSiriusParameter returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getSiriusParameterRule()); } - iv_ruleSiriusParameter=ruleSiriusParameter - { $current=$iv_ruleSiriusParameter.current; } - EOF -; - -// Rule SiriusParameter -ruleSiriusParameter returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - lv_optional_0_0= 'optional' - { - newLeafNode(lv_optional_0_0, grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusParameterRule()); - } - setWithLastConsumed($current, "optional", true, "optional"); - } - -) -)?( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSiriusParameterRule()); - } - } - otherlv_1=RULE_ID - { - newLeafNode(otherlv_1, grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); - } - -) -)) -; - - - - - -// Entry rule entryRuleBound -entryRuleBound returns [String current=null] - : - { newCompositeNode(grammarAccess.getBoundRule()); } - iv_ruleBound=ruleBound - { $current=$iv_ruleBound.current.getText(); } - EOF -; - -// Rule Bound -ruleBound returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: -(( - kw='-' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); - } -)? this_INT_1=RULE_INT { - $current.merge(this_INT_1); - } - - { - newLeafNode(this_INT_1, grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); - } -) - ; - - - - - -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -RULE_INT : ('0'..'9')+; - -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -RULE_WS : (' '|'\t'|'\r'|'\n')+; - - diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens deleted file mode 100644 index 6d9fa6e4b..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens +++ /dev/null @@ -1,40 +0,0 @@ -'('=16 -')'=18 -','=17 -'-'=25 -'.'=12 -'..'=20 -':'=14 -'='=23 -'['=19 -']'=21 -'class'=11 -'exp'=15 -'optional'=24 -'package'=8 -'userDefinedVariableContainers'=22 -'var'=13 -'{'=9 -'}'=10 -RULE_ID=4 -RULE_INT=6 -RULE_ML_COMMENT=5 -RULE_WS=7 -T__10=10 -T__11=11 -T__12=12 -T__13=13 -T__14=14 -T__15=15 -T__16=16 -T__17=17 -T__18=18 -T__19=19 -T__20=20 -T__21=21 -T__22=22 -T__23=23 -T__24=24 -T__25=25 -T__8=8 -T__9=9 diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java deleted file mode 100644 index b9c87c9a9..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java +++ /dev/null @@ -1,959 +0,0 @@ -package org.eclipse.sirius.expression.text.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalExpressionTextLexer extends Lexer { - public static final int T__19=19; - public static final int T__15=15; - public static final int T__16=16; - public static final int T__17=17; - public static final int T__18=18; - public static final int T__11=11; - public static final int T__12=12; - public static final int T__13=13; - public static final int T__14=14; - public static final int EOF=-1; - public static final int T__10=10; - public static final int T__9=9; - public static final int T__8=8; - public static final int RULE_ID=4; - public static final int RULE_WS=7; - public static final int RULE_INT=6; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=5; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__20=20; - public static final int T__21=21; - - // delegates - // delegators - - public InternalExpressionTextLexer() {;} - public InternalExpressionTextLexer(CharStream input) { - this(input, new RecognizerSharedState()); - } - public InternalExpressionTextLexer(CharStream input, RecognizerSharedState state) { - super(input,state); - - } - public String getGrammarFileName() { return "InternalExpressionText.g"; } - - // $ANTLR start "T__8" - public final void mT__8() throws RecognitionException { - try { - int _type = T__8; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:11:6: ( 'package' ) - // InternalExpressionText.g:11:8: 'package' - { - match("package"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__8" - - // $ANTLR start "T__9" - public final void mT__9() throws RecognitionException { - try { - int _type = T__9; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:12:6: ( '{' ) - // InternalExpressionText.g:12:8: '{' - { - match('{'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__9" - - // $ANTLR start "T__10" - public final void mT__10() throws RecognitionException { - try { - int _type = T__10; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:13:7: ( '}' ) - // InternalExpressionText.g:13:9: '}' - { - match('}'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__10" - - // $ANTLR start "T__11" - public final void mT__11() throws RecognitionException { - try { - int _type = T__11; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:14:7: ( 'class' ) - // InternalExpressionText.g:14:9: 'class' - { - match("class"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__11" - - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { - try { - int _type = T__12; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:15:7: ( '.' ) - // InternalExpressionText.g:15:9: '.' - { - match('.'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:16:7: ( 'var' ) - // InternalExpressionText.g:16:9: 'var' - { - match("var"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__13" - - // $ANTLR start "T__14" - public final void mT__14() throws RecognitionException { - try { - int _type = T__14; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:17:7: ( ':' ) - // InternalExpressionText.g:17:9: ':' - { - match(':'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__14" - - // $ANTLR start "T__15" - public final void mT__15() throws RecognitionException { - try { - int _type = T__15; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:18:7: ( 'exp' ) - // InternalExpressionText.g:18:9: 'exp' - { - match("exp"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__15" - - // $ANTLR start "T__16" - public final void mT__16() throws RecognitionException { - try { - int _type = T__16; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:19:7: ( '(' ) - // InternalExpressionText.g:19:9: '(' - { - match('('); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__16" - - // $ANTLR start "T__17" - public final void mT__17() throws RecognitionException { - try { - int _type = T__17; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:20:7: ( ',' ) - // InternalExpressionText.g:20:9: ',' - { - match(','); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__17" - - // $ANTLR start "T__18" - public final void mT__18() throws RecognitionException { - try { - int _type = T__18; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:21:7: ( ')' ) - // InternalExpressionText.g:21:9: ')' - { - match(')'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__18" - - // $ANTLR start "T__19" - public final void mT__19() throws RecognitionException { - try { - int _type = T__19; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:22:7: ( '[' ) - // InternalExpressionText.g:22:9: '[' - { - match('['); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__19" - - // $ANTLR start "T__20" - public final void mT__20() throws RecognitionException { - try { - int _type = T__20; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:23:7: ( '..' ) - // InternalExpressionText.g:23:9: '..' - { - match(".."); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__20" - - // $ANTLR start "T__21" - public final void mT__21() throws RecognitionException { - try { - int _type = T__21; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:24:7: ( ']' ) - // InternalExpressionText.g:24:9: ']' - { - match(']'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__21" - - // $ANTLR start "T__22" - public final void mT__22() throws RecognitionException { - try { - int _type = T__22; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:25:7: ( 'userDefinedVariableContainers' ) - // InternalExpressionText.g:25:9: 'userDefinedVariableContainers' - { - match("userDefinedVariableContainers"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__22" - - // $ANTLR start "T__23" - public final void mT__23() throws RecognitionException { - try { - int _type = T__23; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:26:7: ( '=' ) - // InternalExpressionText.g:26:9: '=' - { - match('='); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__23" - - // $ANTLR start "T__24" - public final void mT__24() throws RecognitionException { - try { - int _type = T__24; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:27:7: ( 'optional' ) - // InternalExpressionText.g:27:9: 'optional' - { - match("optional"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__24" - - // $ANTLR start "T__25" - public final void mT__25() throws RecognitionException { - try { - int _type = T__25; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:28:7: ( '-' ) - // InternalExpressionText.g:28:9: '-' - { - match('-'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__25" - - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:631:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalExpressionText.g:631:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // InternalExpressionText.g:631:11: ( '^' )? - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0=='^') ) { - alt1=1; - } - switch (alt1) { - case 1 : - // InternalExpressionText.g:631:11: '^' - { - match('^'); - - } - break; - - } - - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // InternalExpressionText.g:631:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // InternalExpressionText.g: - { - if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop2; - } - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ID" - - // $ANTLR start "RULE_INT" - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:633:10: ( ( '0' .. '9' )+ ) - // InternalExpressionText.g:633:12: ( '0' .. '9' )+ - { - // InternalExpressionText.g:633:12: ( '0' .. '9' )+ - int cnt3=0; - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( ((LA3_0>='0' && LA3_0<='9')) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // InternalExpressionText.g:633:13: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt3 >= 1 ) break loop3; - EarlyExitException eee = - new EarlyExitException(3, input); - throw eee; - } - cnt3++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_INT" - - // $ANTLR start "RULE_ML_COMMENT" - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:635:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalExpressionText.g:635:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); - - // InternalExpressionText.g:635:24: ( options {greedy=false; } : . )* - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0=='*') ) { - int LA4_1 = input.LA(2); - - if ( (LA4_1=='/') ) { - alt4=2; - } - else if ( ((LA4_1>='\u0000' && LA4_1<='.')||(LA4_1>='0' && LA4_1<='\uFFFF')) ) { - alt4=1; - } - - - } - else if ( ((LA4_0>='\u0000' && LA4_0<=')')||(LA4_0>='+' && LA4_0<='\uFFFF')) ) { - alt4=1; - } - - - switch (alt4) { - case 1 : - // InternalExpressionText.g:635:52: . - { - matchAny(); - - } - break; - - default : - break loop4; - } - } while (true); - - match("*/"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ML_COMMENT" - - // $ANTLR start "RULE_WS" - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalExpressionText.g:637:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalExpressionText.g:637:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // InternalExpressionText.g:637:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt5=0; - loop5: - do { - int alt5=2; - int LA5_0 = input.LA(1); - - if ( ((LA5_0>='\t' && LA5_0<='\n')||LA5_0=='\r'||LA5_0==' ') ) { - alt5=1; - } - - - switch (alt5) { - case 1 : - // InternalExpressionText.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - if ( cnt5 >= 1 ) break loop5; - EarlyExitException eee = - new EarlyExitException(5, input); - throw eee; - } - cnt5++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_WS" - - public void mTokens() throws RecognitionException { - // InternalExpressionText.g:1:8: ( T__8 | T__9 | T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS ) - int alt6=22; - alt6 = dfa6.predict(input); - switch (alt6) { - case 1 : - // InternalExpressionText.g:1:10: T__8 - { - mT__8(); - - } - break; - case 2 : - // InternalExpressionText.g:1:15: T__9 - { - mT__9(); - - } - break; - case 3 : - // InternalExpressionText.g:1:20: T__10 - { - mT__10(); - - } - break; - case 4 : - // InternalExpressionText.g:1:26: T__11 - { - mT__11(); - - } - break; - case 5 : - // InternalExpressionText.g:1:32: T__12 - { - mT__12(); - - } - break; - case 6 : - // InternalExpressionText.g:1:38: T__13 - { - mT__13(); - - } - break; - case 7 : - // InternalExpressionText.g:1:44: T__14 - { - mT__14(); - - } - break; - case 8 : - // InternalExpressionText.g:1:50: T__15 - { - mT__15(); - - } - break; - case 9 : - // InternalExpressionText.g:1:56: T__16 - { - mT__16(); - - } - break; - case 10 : - // InternalExpressionText.g:1:62: T__17 - { - mT__17(); - - } - break; - case 11 : - // InternalExpressionText.g:1:68: T__18 - { - mT__18(); - - } - break; - case 12 : - // InternalExpressionText.g:1:74: T__19 - { - mT__19(); - - } - break; - case 13 : - // InternalExpressionText.g:1:80: T__20 - { - mT__20(); - - } - break; - case 14 : - // InternalExpressionText.g:1:86: T__21 - { - mT__21(); - - } - break; - case 15 : - // InternalExpressionText.g:1:92: T__22 - { - mT__22(); - - } - break; - case 16 : - // InternalExpressionText.g:1:98: T__23 - { - mT__23(); - - } - break; - case 17 : - // InternalExpressionText.g:1:104: T__24 - { - mT__24(); - - } - break; - case 18 : - // InternalExpressionText.g:1:110: T__25 - { - mT__25(); - - } - break; - case 19 : - // InternalExpressionText.g:1:116: RULE_ID - { - mRULE_ID(); - - } - break; - case 20 : - // InternalExpressionText.g:1:124: RULE_INT - { - mRULE_INT(); - - } - break; - case 21 : - // InternalExpressionText.g:1:133: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 22 : - // InternalExpressionText.g:1:149: RULE_WS - { - mRULE_WS(); - - } - break; - - } - - } - - - protected DFA6 dfa6 = new DFA6(this); - static final String DFA6_eotS = - "\1\uffff\1\22\2\uffff\1\22\1\31\1\22\1\uffff\1\22\5\uffff\1\22\1\uffff\1\22\5\uffff\2\22\2\uffff\6\22\1\46\1\47\4\22\2\uffff\3\22\1\57\3\22\1\uffff\2\22\1\65\2\22\1\uffff\1\22\1\71\1\22\1\uffff\23\22\1\116\1\uffff"; - static final String DFA6_eofS = - "\117\uffff"; - static final String DFA6_minS = - "\1\11\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\5\uffff\1\163\1\uffff\1\160\5\uffff\1\143\1\141\2\uffff\1\162\1\160\1\145\1\164\1\153\1\163\2\60\1\162\1\151\1\141\1\163\2\uffff\1\104\1\157\1\147\1\60\1\145\1\156\1\145\1\uffff\1\146\1\141\1\60\1\151\1\154\1\uffff\1\156\1\60\1\145\1\uffff\1\144\1\126\1\141\1\162\1\151\1\141\1\142\1\154\1\145\1\103\1\157\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\60\1\uffff"; - static final String DFA6_maxS = - "\1\175\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\5\uffff\1\163\1\uffff\1\160\5\uffff\1\143\1\141\2\uffff\1\162\1\160\1\145\1\164\1\153\1\163\2\172\1\162\1\151\1\141\1\163\2\uffff\1\104\1\157\1\147\1\172\1\145\1\156\1\145\1\uffff\1\146\1\141\1\172\1\151\1\154\1\uffff\1\156\1\172\1\145\1\uffff\1\144\1\126\1\141\1\162\1\151\1\141\1\142\1\154\1\145\1\103\1\157\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\172\1\uffff"; - static final String DFA6_acceptS = - "\2\uffff\1\2\1\3\3\uffff\1\7\1\uffff\1\11\1\12\1\13\1\14\1\16\1\uffff\1\20\1\uffff\1\22\1\23\1\24\1\25\1\26\2\uffff\1\15\1\5\14\uffff\1\6\1\10\7\uffff\1\4\5\uffff\1\1\3\uffff\1\21\24\uffff\1\17"; - static final String DFA6_specialS = - "\117\uffff}>"; - static final String[] DFA6_transitionS = { - "\2\25\2\uffff\1\25\22\uffff\1\25\7\uffff\1\11\1\13\2\uffff\1\12\1\21\1\5\1\24\12\23\1\7\2\uffff\1\17\3\uffff\32\22\1\14\1\uffff\1\15\2\22\1\uffff\2\22\1\4\1\22\1\10\11\22\1\20\1\1\4\22\1\16\1\6\4\22\1\2\1\uffff\1\3", - "\1\26", - "", - "", - "\1\27", - "\1\30", - "\1\32", - "", - "\1\33", - "", - "", - "", - "", - "", - "\1\34", - "", - "\1\35", - "", - "", - "", - "", - "", - "\1\36", - "\1\37", - "", - "", - "\1\40", - "\1\41", - "\1\42", - "\1\43", - "\1\44", - "\1\45", - "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", - "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", - "\1\50", - "\1\51", - "\1\52", - "\1\53", - "", - "", - "\1\54", - "\1\55", - "\1\56", - "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", - "\1\60", - "\1\61", - "\1\62", - "", - "\1\63", - "\1\64", - "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", - "\1\66", - "\1\67", - "", - "\1\70", - "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", - "\1\72", - "", - "\1\73", - "\1\74", - "\1\75", - "\1\76", - "\1\77", - "\1\100", - "\1\101", - "\1\102", - "\1\103", - "\1\104", - "\1\105", - "\1\106", - "\1\107", - "\1\110", - "\1\111", - "\1\112", - "\1\113", - "\1\114", - "\1\115", - "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", - "" - }; - - static final short[] DFA6_eot = DFA.unpackEncodedString(DFA6_eotS); - static final short[] DFA6_eof = DFA.unpackEncodedString(DFA6_eofS); - static final char[] DFA6_min = DFA.unpackEncodedStringToUnsignedChars(DFA6_minS); - static final char[] DFA6_max = DFA.unpackEncodedStringToUnsignedChars(DFA6_maxS); - static final short[] DFA6_accept = DFA.unpackEncodedString(DFA6_acceptS); - static final short[] DFA6_special = DFA.unpackEncodedString(DFA6_specialS); - static final short[][] DFA6_transition; - - static { - int numStates = DFA6_transitionS.length; - DFA6_transition = new short[numStates][]; - for (int i=0; i", "", "", "", "RULE_ID", "RULE_ML_COMMENT", "RULE_INT", "RULE_WS", "'package'", "'{'", "'}'", "'class'", "'.'", "'var'", "':'", "'exp'", "'('", "','", "')'", "'['", "'..'", "']'", "'userDefinedVariableContainers'", "'='", "'optional'", "'-'" - }; - public static final int T__19=19; - public static final int T__15=15; - public static final int T__16=16; - public static final int T__17=17; - public static final int T__18=18; - public static final int T__11=11; - public static final int T__12=12; - public static final int T__13=13; - public static final int T__14=14; - public static final int EOF=-1; - public static final int T__10=10; - public static final int T__9=9; - public static final int T__8=8; - public static final int RULE_ID=4; - public static final int RULE_WS=7; - public static final int RULE_INT=6; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=5; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__20=20; - public static final int T__21=21; - - // delegates - // delegators - - - public InternalExpressionTextParser(TokenStream input) { - this(input, new RecognizerSharedState()); - } - public InternalExpressionTextParser(TokenStream input, RecognizerSharedState state) { - super(input, state); - - } - - - public String[] getTokenNames() { return InternalExpressionTextParser.tokenNames; } - public String getGrammarFileName() { return "InternalExpressionText.g"; } - - - - private ExpressionTextGrammarAccess grammarAccess; - - public InternalExpressionTextParser(TokenStream input, ExpressionTextGrammarAccess grammarAccess) { - this(input); - this.grammarAccess = grammarAccess; - registerRules(grammarAccess.getGrammar()); - } - - @Override - protected String getFirstRuleName() { - return "SiriusExpressionPackage"; - } - - @Override - protected ExpressionTextGrammarAccess getGrammarAccess() { - return grammarAccess; - } - - - - // $ANTLR start "entryRuleSiriusExpressionPackage" - // InternalExpressionText.g:67:1: entryRuleSiriusExpressionPackage returns [EObject current=null] : iv_ruleSiriusExpressionPackage= ruleSiriusExpressionPackage EOF ; - public final EObject entryRuleSiriusExpressionPackage() throws RecognitionException { - EObject current = null; - - EObject iv_ruleSiriusExpressionPackage = null; - - - try { - // InternalExpressionText.g:68:2: (iv_ruleSiriusExpressionPackage= ruleSiriusExpressionPackage EOF ) - // InternalExpressionText.g:69:2: iv_ruleSiriusExpressionPackage= ruleSiriusExpressionPackage EOF - { - newCompositeNode(grammarAccess.getSiriusExpressionPackageRule()); - pushFollow(FOLLOW_1); - iv_ruleSiriusExpressionPackage=ruleSiriusExpressionPackage(); - - state._fsp--; - - current =iv_ruleSiriusExpressionPackage; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleSiriusExpressionPackage" - - - // $ANTLR start "ruleSiriusExpressionPackage" - // InternalExpressionText.g:76:1: ruleSiriusExpressionPackage returns [EObject current=null] : (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) ; - public final EObject ruleSiriusExpressionPackage() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - Token otherlv_2=null; - Token otherlv_4=null; - EObject lv_expressionClasses_3_0 = null; - - - enterRule(); - - try { - // InternalExpressionText.g:79:28: ( (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) ) - // InternalExpressionText.g:80:1: (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) - { - // InternalExpressionText.g:80:1: (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) - // InternalExpressionText.g:80:3: otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' - { - otherlv_0=(Token)match(input,8,FOLLOW_3); - - newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); - - // InternalExpressionText.g:84:1: ( (otherlv_1= RULE_ID ) ) - // InternalExpressionText.g:85:1: (otherlv_1= RULE_ID ) - { - // InternalExpressionText.g:85:1: (otherlv_1= RULE_ID ) - // InternalExpressionText.g:86:3: otherlv_1= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusExpressionPackageRule()); - } - - otherlv_1=(Token)match(input,RULE_ID,FOLLOW_4); - - newLeafNode(otherlv_1, grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); - - - } - - - } - - otherlv_2=(Token)match(input,9,FOLLOW_5); - - newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); - - // InternalExpressionText.g:101:1: ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* - loop1: - do { - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0==11) ) { - alt1=1; - } - - - switch (alt1) { - case 1 : - // InternalExpressionText.g:102:1: (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) - { - // InternalExpressionText.g:102:1: (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) - // InternalExpressionText.g:103:3: lv_expressionClasses_3_0= ruleSiriusExpressionClass - { - - newCompositeNode(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); - - pushFollow(FOLLOW_5); - lv_expressionClasses_3_0=ruleSiriusExpressionClass(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSiriusExpressionPackageRule()); - } - add( - current, - "expressionClasses", - lv_expressionClasses_3_0, - "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionClass"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop1; - } - } while (true); - - otherlv_4=(Token)match(input,10,FOLLOW_2); - - newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleSiriusExpressionPackage" - - - // $ANTLR start "entryRuleSiriusExpressionClass" - // InternalExpressionText.g:131:1: entryRuleSiriusExpressionClass returns [EObject current=null] : iv_ruleSiriusExpressionClass= ruleSiriusExpressionClass EOF ; - public final EObject entryRuleSiriusExpressionClass() throws RecognitionException { - EObject current = null; - - EObject iv_ruleSiriusExpressionClass = null; - - - try { - // InternalExpressionText.g:132:2: (iv_ruleSiriusExpressionClass= ruleSiriusExpressionClass EOF ) - // InternalExpressionText.g:133:2: iv_ruleSiriusExpressionClass= ruleSiriusExpressionClass EOF - { - newCompositeNode(grammarAccess.getSiriusExpressionClassRule()); - pushFollow(FOLLOW_1); - iv_ruleSiriusExpressionClass=ruleSiriusExpressionClass(); - - state._fsp--; - - current =iv_ruleSiriusExpressionClass; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleSiriusExpressionClass" - - - // $ANTLR start "ruleSiriusExpressionClass" - // InternalExpressionText.g:140:1: ruleSiriusExpressionClass returns [EObject current=null] : (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) ; - public final EObject ruleSiriusExpressionClass() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_5=null; - EObject lv_variables_3_0 = null; - - EObject lv_expressionDescriptions_4_0 = null; - - - enterRule(); - - try { - // InternalExpressionText.g:143:28: ( (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) ) - // InternalExpressionText.g:144:1: (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) - { - // InternalExpressionText.g:144:1: (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) - // InternalExpressionText.g:144:3: otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' - { - otherlv_0=(Token)match(input,11,FOLLOW_3); - - newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); - - // InternalExpressionText.g:148:1: ( ( ruleFQN ) ) - // InternalExpressionText.g:149:1: ( ruleFQN ) - { - // InternalExpressionText.g:149:1: ( ruleFQN ) - // InternalExpressionText.g:150:3: ruleFQN - { - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusExpressionClassRule()); - } - - - newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); - - pushFollow(FOLLOW_4); - ruleFQN(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_2=(Token)match(input,9,FOLLOW_6); - - newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); - - // InternalExpressionText.g:167:1: ( (lv_variables_3_0= ruleSiriusVariable ) )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( (LA2_0==RULE_ML_COMMENT||LA2_0==13) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // InternalExpressionText.g:168:1: (lv_variables_3_0= ruleSiriusVariable ) - { - // InternalExpressionText.g:168:1: (lv_variables_3_0= ruleSiriusVariable ) - // InternalExpressionText.g:169:3: lv_variables_3_0= ruleSiriusVariable - { - - newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); - - pushFollow(FOLLOW_6); - lv_variables_3_0=ruleSiriusVariable(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); - } - add( - current, - "variables", - lv_variables_3_0, - "org.eclipse.sirius.expression.text.ExpressionText.SiriusVariable"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop2; - } - } while (true); - - // InternalExpressionText.g:185:3: ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( (LA3_0==15) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // InternalExpressionText.g:186:1: (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) - { - // InternalExpressionText.g:186:1: (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) - // InternalExpressionText.g:187:3: lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription - { - - newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); - - pushFollow(FOLLOW_7); - lv_expressionDescriptions_4_0=ruleSiriusExpressionDescription(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); - } - add( - current, - "expressionDescriptions", - lv_expressionDescriptions_4_0, - "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionDescription"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop3; - } - } while (true); - - otherlv_5=(Token)match(input,10,FOLLOW_2); - - newLeafNode(otherlv_5, grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleSiriusExpressionClass" - - - // $ANTLR start "entryRuleFQN" - // InternalExpressionText.g:215:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; - public final String entryRuleFQN() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleFQN = null; - - - try { - // InternalExpressionText.g:216:2: (iv_ruleFQN= ruleFQN EOF ) - // InternalExpressionText.g:217:2: iv_ruleFQN= ruleFQN EOF - { - newCompositeNode(grammarAccess.getFQNRule()); - pushFollow(FOLLOW_1); - iv_ruleFQN=ruleFQN(); - - state._fsp--; - - current =iv_ruleFQN.getText(); - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleFQN" - - - // $ANTLR start "ruleFQN" - // InternalExpressionText.g:224:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; - public final AntlrDatatypeRuleToken ruleFQN() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token this_ID_0=null; - Token kw=null; - Token this_ID_2=null; - - enterRule(); - - try { - // InternalExpressionText.g:227:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) - // InternalExpressionText.g:228:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - { - // InternalExpressionText.g:228:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - // InternalExpressionText.g:228:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* - { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_8); - - current.merge(this_ID_0); - - - newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); - - // InternalExpressionText.g:235:1: (kw= '.' this_ID_2= RULE_ID )* - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0==12) ) { - alt4=1; - } - - - switch (alt4) { - case 1 : - // InternalExpressionText.g:236:2: kw= '.' this_ID_2= RULE_ID - { - kw=(Token)match(input,12,FOLLOW_3); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); - - this_ID_2=(Token)match(input,RULE_ID,FOLLOW_8); - - current.merge(this_ID_2); - - - newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); - - - } - break; - - default : - break loop4; - } - } while (true); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleFQN" - - - // $ANTLR start "entryRuleSiriusVariable" - // InternalExpressionText.g:256:1: entryRuleSiriusVariable returns [EObject current=null] : iv_ruleSiriusVariable= ruleSiriusVariable EOF ; - public final EObject entryRuleSiriusVariable() throws RecognitionException { - EObject current = null; - - EObject iv_ruleSiriusVariable = null; - - - try { - // InternalExpressionText.g:257:2: (iv_ruleSiriusVariable= ruleSiriusVariable EOF ) - // InternalExpressionText.g:258:2: iv_ruleSiriusVariable= ruleSiriusVariable EOF - { - newCompositeNode(grammarAccess.getSiriusVariableRule()); - pushFollow(FOLLOW_1); - iv_ruleSiriusVariable=ruleSiriusVariable(); - - state._fsp--; - - current =iv_ruleSiriusVariable; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleSiriusVariable" - - - // $ANTLR start "ruleSiriusVariable" - // InternalExpressionText.g:265:1: ruleSiriusVariable returns [EObject current=null] : ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) ; - public final EObject ruleSiriusVariable() throws RecognitionException { - EObject current = null; - - Token lv_documentation_0_0=null; - Token otherlv_1=null; - Token lv_name_2_0=null; - Token otherlv_3=null; - - enterRule(); - - try { - // InternalExpressionText.g:268:28: ( ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) ) - // InternalExpressionText.g:269:1: ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) - { - // InternalExpressionText.g:269:1: ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) - // InternalExpressionText.g:269:2: ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) - { - // InternalExpressionText.g:269:2: ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? - int alt5=2; - int LA5_0 = input.LA(1); - - if ( (LA5_0==RULE_ML_COMMENT) ) { - alt5=1; - } - switch (alt5) { - case 1 : - // InternalExpressionText.g:270:1: (lv_documentation_0_0= RULE_ML_COMMENT ) - { - // InternalExpressionText.g:270:1: (lv_documentation_0_0= RULE_ML_COMMENT ) - // InternalExpressionText.g:271:3: lv_documentation_0_0= RULE_ML_COMMENT - { - lv_documentation_0_0=(Token)match(input,RULE_ML_COMMENT,FOLLOW_9); - - newLeafNode(lv_documentation_0_0, grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusVariableRule()); - } - setWithLastConsumed( - current, - "documentation", - lv_documentation_0_0, - "org.eclipse.sirius.expression.text.ExpressionText.ML_COMMENT"); - - - } - - - } - break; - - } - - otherlv_1=(Token)match(input,13,FOLLOW_3); - - newLeafNode(otherlv_1, grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); - - // InternalExpressionText.g:291:1: ( (lv_name_2_0= RULE_ID ) ) - // InternalExpressionText.g:292:1: (lv_name_2_0= RULE_ID ) - { - // InternalExpressionText.g:292:1: (lv_name_2_0= RULE_ID ) - // InternalExpressionText.g:293:3: lv_name_2_0= RULE_ID - { - lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_10); - - newLeafNode(lv_name_2_0, grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusVariableRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_2_0, - "org.eclipse.sirius.expression.text.ExpressionText.ID"); - - - } - - - } - - otherlv_3=(Token)match(input,14,FOLLOW_3); - - newLeafNode(otherlv_3, grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); - - // InternalExpressionText.g:313:1: ( ( ruleFQN ) ) - // InternalExpressionText.g:314:1: ( ruleFQN ) - { - // InternalExpressionText.g:314:1: ( ruleFQN ) - // InternalExpressionText.g:315:3: ruleFQN - { - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusVariableRule()); - } - - - newCompositeNode(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); - - pushFollow(FOLLOW_2); - ruleFQN(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleSiriusVariable" - - - // $ANTLR start "entryRuleSiriusExpressionDescription" - // InternalExpressionText.g:336:1: entryRuleSiriusExpressionDescription returns [EObject current=null] : iv_ruleSiriusExpressionDescription= ruleSiriusExpressionDescription EOF ; - public final EObject entryRuleSiriusExpressionDescription() throws RecognitionException { - EObject current = null; - - EObject iv_ruleSiriusExpressionDescription = null; - - - try { - // InternalExpressionText.g:337:2: (iv_ruleSiriusExpressionDescription= ruleSiriusExpressionDescription EOF ) - // InternalExpressionText.g:338:2: iv_ruleSiriusExpressionDescription= ruleSiriusExpressionDescription EOF - { - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionRule()); - pushFollow(FOLLOW_1); - iv_ruleSiriusExpressionDescription=ruleSiriusExpressionDescription(); - - state._fsp--; - - current =iv_ruleSiriusExpressionDescription; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleSiriusExpressionDescription" - - - // $ANTLR start "ruleSiriusExpressionDescription" - // InternalExpressionText.g:345:1: ruleSiriusExpressionDescription returns [EObject current=null] : (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'userDefinedVariableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) ; - public final EObject ruleSiriusExpressionDescription() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_6=null; - Token otherlv_7=null; - Token otherlv_9=null; - Token otherlv_11=null; - Token otherlv_13=null; - Token otherlv_14=null; - Token otherlv_15=null; - Token otherlv_16=null; - Token otherlv_17=null; - Token otherlv_19=null; - Token otherlv_21=null; - Token otherlv_22=null; - EObject lv_parameters_3_0 = null; - - EObject lv_parameters_5_0 = null; - - AntlrDatatypeRuleToken lv_lowerBound_10_0 = null; - - AntlrDatatypeRuleToken lv_upperBound_12_0 = null; - - - enterRule(); - - try { - // InternalExpressionText.g:348:28: ( (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'userDefinedVariableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) ) - // InternalExpressionText.g:349:1: (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'userDefinedVariableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) - { - // InternalExpressionText.g:349:1: (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'userDefinedVariableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) - // InternalExpressionText.g:349:3: otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'userDefinedVariableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' - { - otherlv_0=(Token)match(input,15,FOLLOW_3); - - newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); - - // InternalExpressionText.g:353:1: ( ( ruleFQN ) ) - // InternalExpressionText.g:354:1: ( ruleFQN ) - { - // InternalExpressionText.g:354:1: ( ruleFQN ) - // InternalExpressionText.g:355:3: ruleFQN - { - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); - - pushFollow(FOLLOW_11); - ruleFQN(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_2=(Token)match(input,16,FOLLOW_12); - - newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); - - // InternalExpressionText.g:372:1: ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0==RULE_ID||LA7_0==24) ) { - alt7=1; - } - switch (alt7) { - case 1 : - // InternalExpressionText.g:372:2: ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* - { - // InternalExpressionText.g:372:2: ( (lv_parameters_3_0= ruleSiriusParameter ) ) - // InternalExpressionText.g:373:1: (lv_parameters_3_0= ruleSiriusParameter ) - { - // InternalExpressionText.g:373:1: (lv_parameters_3_0= ruleSiriusParameter ) - // InternalExpressionText.g:374:3: lv_parameters_3_0= ruleSiriusParameter - { - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); - - pushFollow(FOLLOW_13); - lv_parameters_3_0=ruleSiriusParameter(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - add( - current, - "parameters", - lv_parameters_3_0, - "org.eclipse.sirius.expression.text.ExpressionText.SiriusParameter"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalExpressionText.g:390:2: (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* - loop6: - do { - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0==17) ) { - alt6=1; - } - - - switch (alt6) { - case 1 : - // InternalExpressionText.g:390:4: otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) - { - otherlv_4=(Token)match(input,17,FOLLOW_14); - - newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); - - // InternalExpressionText.g:394:1: ( (lv_parameters_5_0= ruleSiriusParameter ) ) - // InternalExpressionText.g:395:1: (lv_parameters_5_0= ruleSiriusParameter ) - { - // InternalExpressionText.g:395:1: (lv_parameters_5_0= ruleSiriusParameter ) - // InternalExpressionText.g:396:3: lv_parameters_5_0= ruleSiriusParameter - { - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); - - pushFollow(FOLLOW_13); - lv_parameters_5_0=ruleSiriusParameter(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - add( - current, - "parameters", - lv_parameters_5_0, - "org.eclipse.sirius.expression.text.ExpressionText.SiriusParameter"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop6; - } - } while (true); - - - } - break; - - } - - otherlv_6=(Token)match(input,18,FOLLOW_10); - - newLeafNode(otherlv_6, grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); - - otherlv_7=(Token)match(input,14,FOLLOW_3); - - newLeafNode(otherlv_7, grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); - - // InternalExpressionText.g:420:1: ( ( ruleFQN ) ) - // InternalExpressionText.g:421:1: ( ruleFQN ) - { - // InternalExpressionText.g:421:1: ( ruleFQN ) - // InternalExpressionText.g:422:3: ruleFQN - { - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); - - pushFollow(FOLLOW_15); - ruleFQN(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_9=(Token)match(input,19,FOLLOW_16); - - newLeafNode(otherlv_9, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); - - // InternalExpressionText.g:439:1: ( (lv_lowerBound_10_0= ruleBound ) ) - // InternalExpressionText.g:440:1: (lv_lowerBound_10_0= ruleBound ) - { - // InternalExpressionText.g:440:1: (lv_lowerBound_10_0= ruleBound ) - // InternalExpressionText.g:441:3: lv_lowerBound_10_0= ruleBound - { - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); - - pushFollow(FOLLOW_17); - lv_lowerBound_10_0=ruleBound(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - set( - current, - "lowerBound", - lv_lowerBound_10_0, - "org.eclipse.sirius.expression.text.ExpressionText.Bound"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_11=(Token)match(input,20,FOLLOW_16); - - newLeafNode(otherlv_11, grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); - - // InternalExpressionText.g:461:1: ( (lv_upperBound_12_0= ruleBound ) ) - // InternalExpressionText.g:462:1: (lv_upperBound_12_0= ruleBound ) - { - // InternalExpressionText.g:462:1: (lv_upperBound_12_0= ruleBound ) - // InternalExpressionText.g:463:3: lv_upperBound_12_0= ruleBound - { - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); - - pushFollow(FOLLOW_18); - lv_upperBound_12_0=ruleBound(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); - } - set( - current, - "upperBound", - lv_upperBound_12_0, - "org.eclipse.sirius.expression.text.ExpressionText.Bound"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_13=(Token)match(input,21,FOLLOW_4); - - newLeafNode(otherlv_13, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); - - otherlv_14=(Token)match(input,9,FOLLOW_19); - - newLeafNode(otherlv_14, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); - - otherlv_15=(Token)match(input,22,FOLLOW_20); - - newLeafNode(otherlv_15, grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); - - otherlv_16=(Token)match(input,23,FOLLOW_15); - - newLeafNode(otherlv_16, grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); - - otherlv_17=(Token)match(input,19,FOLLOW_21); - - newLeafNode(otherlv_17, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); - - // InternalExpressionText.g:499:1: ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0==RULE_ID) ) { - alt9=1; - } - switch (alt9) { - case 1 : - // InternalExpressionText.g:499:2: ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* - { - // InternalExpressionText.g:499:2: ( ( ruleFQN ) ) - // InternalExpressionText.g:500:1: ( ruleFQN ) - { - // InternalExpressionText.g:500:1: ( ruleFQN ) - // InternalExpressionText.g:501:3: ruleFQN - { - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); - - pushFollow(FOLLOW_22); - ruleFQN(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalExpressionText.g:514:2: (otherlv_19= ',' ( ( ruleFQN ) ) )* - loop8: - do { - int alt8=2; - int LA8_0 = input.LA(1); - - if ( (LA8_0==17) ) { - alt8=1; - } - - - switch (alt8) { - case 1 : - // InternalExpressionText.g:514:4: otherlv_19= ',' ( ( ruleFQN ) ) - { - otherlv_19=(Token)match(input,17,FOLLOW_3); - - newLeafNode(otherlv_19, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); - - // InternalExpressionText.g:518:1: ( ( ruleFQN ) ) - // InternalExpressionText.g:519:1: ( ruleFQN ) - { - // InternalExpressionText.g:519:1: ( ruleFQN ) - // InternalExpressionText.g:520:3: ruleFQN - { - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); - } - - - newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); - - pushFollow(FOLLOW_22); - ruleFQN(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop8; - } - } while (true); - - - } - break; - - } - - otherlv_21=(Token)match(input,21,FOLLOW_23); - - newLeafNode(otherlv_21, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); - - otherlv_22=(Token)match(input,10,FOLLOW_2); - - newLeafNode(otherlv_22, grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleSiriusExpressionDescription" - - - // $ANTLR start "entryRuleSiriusParameter" - // InternalExpressionText.g:549:1: entryRuleSiriusParameter returns [EObject current=null] : iv_ruleSiriusParameter= ruleSiriusParameter EOF ; - public final EObject entryRuleSiriusParameter() throws RecognitionException { - EObject current = null; - - EObject iv_ruleSiriusParameter = null; - - - try { - // InternalExpressionText.g:550:2: (iv_ruleSiriusParameter= ruleSiriusParameter EOF ) - // InternalExpressionText.g:551:2: iv_ruleSiriusParameter= ruleSiriusParameter EOF - { - newCompositeNode(grammarAccess.getSiriusParameterRule()); - pushFollow(FOLLOW_1); - iv_ruleSiriusParameter=ruleSiriusParameter(); - - state._fsp--; - - current =iv_ruleSiriusParameter; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleSiriusParameter" - - - // $ANTLR start "ruleSiriusParameter" - // InternalExpressionText.g:558:1: ruleSiriusParameter returns [EObject current=null] : ( ( (lv_optional_0_0= 'optional' ) )? ( (otherlv_1= RULE_ID ) ) ) ; - public final EObject ruleSiriusParameter() throws RecognitionException { - EObject current = null; - - Token lv_optional_0_0=null; - Token otherlv_1=null; - - enterRule(); - - try { - // InternalExpressionText.g:561:28: ( ( ( (lv_optional_0_0= 'optional' ) )? ( (otherlv_1= RULE_ID ) ) ) ) - // InternalExpressionText.g:562:1: ( ( (lv_optional_0_0= 'optional' ) )? ( (otherlv_1= RULE_ID ) ) ) - { - // InternalExpressionText.g:562:1: ( ( (lv_optional_0_0= 'optional' ) )? ( (otherlv_1= RULE_ID ) ) ) - // InternalExpressionText.g:562:2: ( (lv_optional_0_0= 'optional' ) )? ( (otherlv_1= RULE_ID ) ) - { - // InternalExpressionText.g:562:2: ( (lv_optional_0_0= 'optional' ) )? - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0==24) ) { - alt10=1; - } - switch (alt10) { - case 1 : - // InternalExpressionText.g:563:1: (lv_optional_0_0= 'optional' ) - { - // InternalExpressionText.g:563:1: (lv_optional_0_0= 'optional' ) - // InternalExpressionText.g:564:3: lv_optional_0_0= 'optional' - { - lv_optional_0_0=(Token)match(input,24,FOLLOW_3); - - newLeafNode(lv_optional_0_0, grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusParameterRule()); - } - setWithLastConsumed(current, "optional", true, "optional"); - - - } - - - } - break; - - } - - // InternalExpressionText.g:577:3: ( (otherlv_1= RULE_ID ) ) - // InternalExpressionText.g:578:1: (otherlv_1= RULE_ID ) - { - // InternalExpressionText.g:578:1: (otherlv_1= RULE_ID ) - // InternalExpressionText.g:579:3: otherlv_1= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getSiriusParameterRule()); - } - - otherlv_1=(Token)match(input,RULE_ID,FOLLOW_2); - - newLeafNode(otherlv_1, grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleSiriusParameter" - - - // $ANTLR start "entryRuleBound" - // InternalExpressionText.g:598:1: entryRuleBound returns [String current=null] : iv_ruleBound= ruleBound EOF ; - public final String entryRuleBound() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleBound = null; - - - try { - // InternalExpressionText.g:599:2: (iv_ruleBound= ruleBound EOF ) - // InternalExpressionText.g:600:2: iv_ruleBound= ruleBound EOF - { - newCompositeNode(grammarAccess.getBoundRule()); - pushFollow(FOLLOW_1); - iv_ruleBound=ruleBound(); - - state._fsp--; - - current =iv_ruleBound.getText(); - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleBound" - - - // $ANTLR start "ruleBound" - // InternalExpressionText.g:607:1: ruleBound returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; - public final AntlrDatatypeRuleToken ruleBound() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token kw=null; - Token this_INT_1=null; - - enterRule(); - - try { - // InternalExpressionText.g:610:28: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) - // InternalExpressionText.g:611:1: ( (kw= '-' )? this_INT_1= RULE_INT ) - { - // InternalExpressionText.g:611:1: ( (kw= '-' )? this_INT_1= RULE_INT ) - // InternalExpressionText.g:611:2: (kw= '-' )? this_INT_1= RULE_INT - { - // InternalExpressionText.g:611:2: (kw= '-' )? - int alt11=2; - int LA11_0 = input.LA(1); - - if ( (LA11_0==25) ) { - alt11=1; - } - switch (alt11) { - case 1 : - // InternalExpressionText.g:612:2: kw= '-' - { - kw=(Token)match(input,25,FOLLOW_24); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); - - - } - break; - - } - - this_INT_1=(Token)match(input,RULE_INT,FOLLOW_2); - - current.merge(this_INT_1); - - - newLeafNode(this_INT_1, grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleBound" - - // Delegated rules - - - - - public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000200L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000C00L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x000000000000A420L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000008400L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000001002L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000004000L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000001040010L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000060000L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000001000010L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000002000040L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000200000L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000400000L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000800000L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000200010L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000220000L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000400L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000000040L}); - -} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSemanticSequencer.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSemanticSequencer.java deleted file mode 100644 index 1d0e9d43f..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSemanticSequencer.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.serializer; - -import com.google.inject.Inject; -import com.google.inject.Provider; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.SiriusExpressionClass; -import org.eclipse.sirius.expression.SiriusExpressionDescription; -import org.eclipse.sirius.expression.SiriusExpressionPackage; -import org.eclipse.sirius.expression.SiriusParameter; -import org.eclipse.sirius.expression.SiriusVariable; -import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; -import org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor; -import org.eclipse.xtext.serializer.diagnostic.ISemanticSequencerDiagnosticProvider; -import org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic.Acceptor; -import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; -import org.eclipse.xtext.serializer.sequencer.GenericSequencer; -import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; -import org.eclipse.xtext.serializer.sequencer.ITransientValueService; - -@SuppressWarnings("all") -public class ExpressionTextSemanticSequencer extends AbstractDelegatingSemanticSequencer { - - @Inject - private ExpressionTextGrammarAccess grammarAccess; - - @Override - public void createSequence(EObject context, EObject semanticObject) { - if(semanticObject.eClass().getEPackage() == ExpressionPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS: - sequence_SiriusExpressionClass(context, (SiriusExpressionClass) semanticObject); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION: - sequence_SiriusExpressionDescription(context, (SiriusExpressionDescription) semanticObject); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE: - sequence_SiriusExpressionPackage(context, (SiriusExpressionPackage) semanticObject); - return; - case ExpressionPackage.SIRIUS_PARAMETER: - sequence_SiriusParameter(context, (SiriusParameter) semanticObject); - return; - case ExpressionPackage.SIRIUS_VARIABLE: - sequence_SiriusVariable(context, (SiriusVariable) semanticObject); - return; - } - if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); - } - - /** - * Constraint: - * (eClass=[EClass|FQN] variables+=SiriusVariable* expressionDescriptions+=SiriusExpressionDescription*) - */ - protected void sequence_SiriusExpressionClass(EObject context, SiriusExpressionClass semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Constraint: - * ( - * expression=[EAttribute|FQN] - * (parameters+=SiriusParameter parameters+=SiriusParameter*)? - * returnType=[EClassifier|FQN] - * lowerBound=Bound - * upperBound=Bound - * (variableContainers+=[EClass|FQN] variableContainers+=[EClass|FQN]*)? - * ) - */ - protected void sequence_SiriusExpressionDescription(EObject context, SiriusExpressionDescription semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Constraint: - * (ePackage=[EPackage|ID] expressionClasses+=SiriusExpressionClass*) - */ - protected void sequence_SiriusExpressionPackage(EObject context, SiriusExpressionPackage semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Constraint: - * (optional?='optional'? variable=[SiriusVariable|ID]) - */ - protected void sequence_SiriusParameter(EObject context, SiriusParameter semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Constraint: - * (documentation=ML_COMMENT? name=ID eType=[EClassifier|FQN]) - */ - protected void sequence_SiriusVariable(EObject context, SiriusVariable semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } -} diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSyntacticSequencer.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSyntacticSequencer.java deleted file mode 100644 index 94c2513c1..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSyntacticSequencer.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.serializer; - -import com.google.inject.Inject; -import java.util.List; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; -import org.eclipse.xtext.IGrammarAccess; -import org.eclipse.xtext.RuleCall; -import org.eclipse.xtext.nodemodel.INode; -import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; -import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; -import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; - -@SuppressWarnings("all") -public class ExpressionTextSyntacticSequencer extends AbstractSyntacticSequencer { - - protected ExpressionTextGrammarAccess grammarAccess; - - @Inject - protected void init(IGrammarAccess access) { - grammarAccess = (ExpressionTextGrammarAccess) access; - } - - @Override - protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { - return ""; - } - - - @Override - protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { - if (transition.getAmbiguousSyntaxes().isEmpty()) return; - List transitionNodes = collectNodes(fromNode, toNode); - for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { - List syntaxNodes = getNodesFor(transitionNodes, syntax); - acceptNodes(getLastNavigableState(), syntaxNodes); - } - } - -} diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java deleted file mode 100644 index 1abe4c1c8..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java +++ /dev/null @@ -1,584 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.services; - -import com.google.inject.Singleton; -import com.google.inject.Inject; - -import java.util.List; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.service.GrammarProvider; -import org.eclipse.xtext.service.AbstractElementFinder.*; - - -@Singleton -public class ExpressionTextGrammarAccess extends AbstractGrammarElementFinder { - - - public class SiriusExpressionPackageElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionPackage"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cEPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cEPackageEPackageCrossReference_1_0 = (CrossReference)cEPackageAssignment_1.eContents().get(0); - private final RuleCall cEPackageEPackageIDTerminalRuleCall_1_0_1 = (RuleCall)cEPackageEPackageCrossReference_1_0.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cExpressionClassesAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cExpressionClassesSiriusExpressionClassParserRuleCall_3_0 = (RuleCall)cExpressionClassesAssignment_3.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); - - //SiriusExpressionPackage: - // 'package' ePackage=[ecore::EPackage] '{' - // expressionClasses+=SiriusExpressionClass* - // '}'; - @Override public ParserRule getRule() { return rule; } - - //'package' ePackage=[ecore::EPackage] '{' expressionClasses+=SiriusExpressionClass* '}' - public Group getGroup() { return cGroup; } - - //'package' - public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } - - //ePackage=[ecore::EPackage] - public Assignment getEPackageAssignment_1() { return cEPackageAssignment_1; } - - //[ecore::EPackage] - public CrossReference getEPackageEPackageCrossReference_1_0() { return cEPackageEPackageCrossReference_1_0; } - - //ID - public RuleCall getEPackageEPackageIDTerminalRuleCall_1_0_1() { return cEPackageEPackageIDTerminalRuleCall_1_0_1; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //expressionClasses+=SiriusExpressionClass* - public Assignment getExpressionClassesAssignment_3() { return cExpressionClassesAssignment_3; } - - //SiriusExpressionClass - public RuleCall getExpressionClassesSiriusExpressionClassParserRuleCall_3_0() { return cExpressionClassesSiriusExpressionClassParserRuleCall_3_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } - } - - public class SiriusExpressionClassElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionClass"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cClassKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cEClassAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cEClassEClassCrossReference_1_0 = (CrossReference)cEClassAssignment_1.eContents().get(0); - private final RuleCall cEClassEClassFQNParserRuleCall_1_0_1 = (RuleCall)cEClassEClassCrossReference_1_0.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cVariablesAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cVariablesSiriusVariableParserRuleCall_3_0 = (RuleCall)cVariablesAssignment_3.eContents().get(0); - private final Assignment cExpressionDescriptionsAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final RuleCall cExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0 = (RuleCall)cExpressionDescriptionsAssignment_4.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); - - //SiriusExpressionClass: - // 'class' eClass=[ecore::EClass|FQN] '{' - // variables+=SiriusVariable* - // expressionDescriptions+=SiriusExpressionDescription* - // '}'; - @Override public ParserRule getRule() { return rule; } - - //'class' eClass=[ecore::EClass|FQN] '{' variables+=SiriusVariable* expressionDescriptions+=SiriusExpressionDescription* - //'}' - public Group getGroup() { return cGroup; } - - //'class' - public Keyword getClassKeyword_0() { return cClassKeyword_0; } - - //eClass=[ecore::EClass|FQN] - public Assignment getEClassAssignment_1() { return cEClassAssignment_1; } - - //[ecore::EClass|FQN] - public CrossReference getEClassEClassCrossReference_1_0() { return cEClassEClassCrossReference_1_0; } - - //FQN - public RuleCall getEClassEClassFQNParserRuleCall_1_0_1() { return cEClassEClassFQNParserRuleCall_1_0_1; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //variables+=SiriusVariable* - public Assignment getVariablesAssignment_3() { return cVariablesAssignment_3; } - - //SiriusVariable - public RuleCall getVariablesSiriusVariableParserRuleCall_3_0() { return cVariablesSiriusVariableParserRuleCall_3_0; } - - //expressionDescriptions+=SiriusExpressionDescription* - public Assignment getExpressionDescriptionsAssignment_4() { return cExpressionDescriptionsAssignment_4; } - - //SiriusExpressionDescription - public RuleCall getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0() { return cExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } - } - - public class FQNElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.FQN"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); - private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); - - //FQN: - // ID ("." ID)*; - @Override public ParserRule getRule() { return rule; } - - //ID ("." ID)* - public Group getGroup() { return cGroup; } - - //ID - public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } - - //("." ID)* - public Group getGroup_1() { return cGroup_1; } - - //"." - public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } - - //ID - public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } - } - - public class SiriusVariableElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.SiriusVariable"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cDocumentationAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cDocumentationML_COMMENTTerminalRuleCall_0_0 = (RuleCall)cDocumentationAssignment_0.eContents().get(0); - private final Keyword cVarKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); - private final Keyword cColonKeyword_3 = (Keyword)cGroup.eContents().get(3); - private final Assignment cETypeAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final CrossReference cETypeEClassifierCrossReference_4_0 = (CrossReference)cETypeAssignment_4.eContents().get(0); - private final RuleCall cETypeEClassifierFQNParserRuleCall_4_0_1 = (RuleCall)cETypeEClassifierCrossReference_4_0.eContents().get(1); - - //SiriusVariable: - // documentation=ML_COMMENT? - // 'var' name=ID ':' eType=[ecore::EClassifier|FQN]; - @Override public ParserRule getRule() { return rule; } - - //documentation=ML_COMMENT? 'var' name=ID ':' eType=[ecore::EClassifier|FQN] - public Group getGroup() { return cGroup; } - - //documentation=ML_COMMENT? - public Assignment getDocumentationAssignment_0() { return cDocumentationAssignment_0; } - - //ML_COMMENT - public RuleCall getDocumentationML_COMMENTTerminalRuleCall_0_0() { return cDocumentationML_COMMENTTerminalRuleCall_0_0; } - - //'var' - public Keyword getVarKeyword_1() { return cVarKeyword_1; } - - //name=ID - public Assignment getNameAssignment_2() { return cNameAssignment_2; } - - //ID - public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } - - //':' - public Keyword getColonKeyword_3() { return cColonKeyword_3; } - - //eType=[ecore::EClassifier|FQN] - public Assignment getETypeAssignment_4() { return cETypeAssignment_4; } - - //[ecore::EClassifier|FQN] - public CrossReference getETypeEClassifierCrossReference_4_0() { return cETypeEClassifierCrossReference_4_0; } - - //FQN - public RuleCall getETypeEClassifierFQNParserRuleCall_4_0_1() { return cETypeEClassifierFQNParserRuleCall_4_0_1; } - } - - public class SiriusExpressionDescriptionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionDescription"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cExpKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cExpressionAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cExpressionEAttributeCrossReference_1_0 = (CrossReference)cExpressionAssignment_1.eContents().get(0); - private final RuleCall cExpressionEAttributeFQNParserRuleCall_1_0_1 = (RuleCall)cExpressionEAttributeCrossReference_1_0.eContents().get(1); - private final Keyword cLeftParenthesisKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Group cGroup_3 = (Group)cGroup.eContents().get(3); - private final Assignment cParametersAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0); - private final RuleCall cParametersSiriusParameterParserRuleCall_3_0_0 = (RuleCall)cParametersAssignment_3_0.eContents().get(0); - private final Group cGroup_3_1 = (Group)cGroup_3.eContents().get(1); - private final Keyword cCommaKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); - private final Assignment cParametersAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1); - private final RuleCall cParametersSiriusParameterParserRuleCall_3_1_1_0 = (RuleCall)cParametersAssignment_3_1_1.eContents().get(0); - private final Keyword cRightParenthesisKeyword_4 = (Keyword)cGroup.eContents().get(4); - private final Keyword cColonKeyword_5 = (Keyword)cGroup.eContents().get(5); - private final Assignment cReturnTypeAssignment_6 = (Assignment)cGroup.eContents().get(6); - private final CrossReference cReturnTypeEClassifierCrossReference_6_0 = (CrossReference)cReturnTypeAssignment_6.eContents().get(0); - private final RuleCall cReturnTypeEClassifierFQNParserRuleCall_6_0_1 = (RuleCall)cReturnTypeEClassifierCrossReference_6_0.eContents().get(1); - private final Keyword cLeftSquareBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); - private final Assignment cLowerBoundAssignment_8 = (Assignment)cGroup.eContents().get(8); - private final RuleCall cLowerBoundBoundParserRuleCall_8_0 = (RuleCall)cLowerBoundAssignment_8.eContents().get(0); - private final Keyword cFullStopFullStopKeyword_9 = (Keyword)cGroup.eContents().get(9); - private final Assignment cUpperBoundAssignment_10 = (Assignment)cGroup.eContents().get(10); - private final RuleCall cUpperBoundBoundParserRuleCall_10_0 = (RuleCall)cUpperBoundAssignment_10.eContents().get(0); - private final Keyword cRightSquareBracketKeyword_11 = (Keyword)cGroup.eContents().get(11); - private final Keyword cLeftCurlyBracketKeyword_12 = (Keyword)cGroup.eContents().get(12); - private final Keyword cUserDefinedVariableContainersKeyword_13 = (Keyword)cGroup.eContents().get(13); - private final Keyword cEqualsSignKeyword_14 = (Keyword)cGroup.eContents().get(14); - private final Keyword cLeftSquareBracketKeyword_15 = (Keyword)cGroup.eContents().get(15); - private final Group cGroup_16 = (Group)cGroup.eContents().get(16); - private final Assignment cVariableContainersAssignment_16_0 = (Assignment)cGroup_16.eContents().get(0); - private final CrossReference cVariableContainersEClassCrossReference_16_0_0 = (CrossReference)cVariableContainersAssignment_16_0.eContents().get(0); - private final RuleCall cVariableContainersEClassFQNParserRuleCall_16_0_0_1 = (RuleCall)cVariableContainersEClassCrossReference_16_0_0.eContents().get(1); - private final Group cGroup_16_1 = (Group)cGroup_16.eContents().get(1); - private final Keyword cCommaKeyword_16_1_0 = (Keyword)cGroup_16_1.eContents().get(0); - private final Assignment cVariableContainersAssignment_16_1_1 = (Assignment)cGroup_16_1.eContents().get(1); - private final CrossReference cVariableContainersEClassCrossReference_16_1_1_0 = (CrossReference)cVariableContainersAssignment_16_1_1.eContents().get(0); - private final RuleCall cVariableContainersEClassFQNParserRuleCall_16_1_1_0_1 = (RuleCall)cVariableContainersEClassCrossReference_16_1_1_0.eContents().get(1); - private final Keyword cRightSquareBracketKeyword_17 = (Keyword)cGroup.eContents().get(17); - private final Keyword cRightCurlyBracketKeyword_18 = (Keyword)cGroup.eContents().get(18); - - //SiriusExpressionDescription: - // 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter (',' parameters+=SiriusParameter)*)? ')' ':' - // returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' - // 'userDefinedVariableContainers' '=' '[' (variableContainers+=[ecore::EClass|FQN] (',' - // variableContainers+=[ecore::EClass|FQN])*)? - // ']' - // '}'; - @Override public ParserRule getRule() { return rule; } - - //'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter (',' parameters+=SiriusParameter)*)? ')' ':' - //returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' 'userDefinedVariableContainers' - //'=' '[' (variableContainers+=[ecore::EClass|FQN] (',' variableContainers+=[ecore::EClass|FQN])*)? ']' '}' - public Group getGroup() { return cGroup; } - - //'exp' - public Keyword getExpKeyword_0() { return cExpKeyword_0; } - - //expression=[ecore::EAttribute|FQN] - public Assignment getExpressionAssignment_1() { return cExpressionAssignment_1; } - - //[ecore::EAttribute|FQN] - public CrossReference getExpressionEAttributeCrossReference_1_0() { return cExpressionEAttributeCrossReference_1_0; } - - //FQN - public RuleCall getExpressionEAttributeFQNParserRuleCall_1_0_1() { return cExpressionEAttributeFQNParserRuleCall_1_0_1; } - - //'(' - public Keyword getLeftParenthesisKeyword_2() { return cLeftParenthesisKeyword_2; } - - //(parameters+=SiriusParameter (',' parameters+=SiriusParameter)*)? - public Group getGroup_3() { return cGroup_3; } - - //parameters+=SiriusParameter - public Assignment getParametersAssignment_3_0() { return cParametersAssignment_3_0; } - - //SiriusParameter - public RuleCall getParametersSiriusParameterParserRuleCall_3_0_0() { return cParametersSiriusParameterParserRuleCall_3_0_0; } - - //(',' parameters+=SiriusParameter)* - public Group getGroup_3_1() { return cGroup_3_1; } - - //',' - public Keyword getCommaKeyword_3_1_0() { return cCommaKeyword_3_1_0; } - - //parameters+=SiriusParameter - public Assignment getParametersAssignment_3_1_1() { return cParametersAssignment_3_1_1; } - - //SiriusParameter - public RuleCall getParametersSiriusParameterParserRuleCall_3_1_1_0() { return cParametersSiriusParameterParserRuleCall_3_1_1_0; } - - //')' - public Keyword getRightParenthesisKeyword_4() { return cRightParenthesisKeyword_4; } - - //':' - public Keyword getColonKeyword_5() { return cColonKeyword_5; } - - //returnType=[ecore::EClassifier|FQN] - public Assignment getReturnTypeAssignment_6() { return cReturnTypeAssignment_6; } - - //[ecore::EClassifier|FQN] - public CrossReference getReturnTypeEClassifierCrossReference_6_0() { return cReturnTypeEClassifierCrossReference_6_0; } - - //FQN - public RuleCall getReturnTypeEClassifierFQNParserRuleCall_6_0_1() { return cReturnTypeEClassifierFQNParserRuleCall_6_0_1; } - - //'[' - public Keyword getLeftSquareBracketKeyword_7() { return cLeftSquareBracketKeyword_7; } - - //lowerBound=Bound - public Assignment getLowerBoundAssignment_8() { return cLowerBoundAssignment_8; } - - //Bound - public RuleCall getLowerBoundBoundParserRuleCall_8_0() { return cLowerBoundBoundParserRuleCall_8_0; } - - //'..' - public Keyword getFullStopFullStopKeyword_9() { return cFullStopFullStopKeyword_9; } - - //upperBound=Bound - public Assignment getUpperBoundAssignment_10() { return cUpperBoundAssignment_10; } - - //Bound - public RuleCall getUpperBoundBoundParserRuleCall_10_0() { return cUpperBoundBoundParserRuleCall_10_0; } - - //']' - public Keyword getRightSquareBracketKeyword_11() { return cRightSquareBracketKeyword_11; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_12() { return cLeftCurlyBracketKeyword_12; } - - //'userDefinedVariableContainers' - public Keyword getUserDefinedVariableContainersKeyword_13() { return cUserDefinedVariableContainersKeyword_13; } - - //'=' - public Keyword getEqualsSignKeyword_14() { return cEqualsSignKeyword_14; } - - //'[' - public Keyword getLeftSquareBracketKeyword_15() { return cLeftSquareBracketKeyword_15; } - - //(variableContainers+=[ecore::EClass|FQN] (',' variableContainers+=[ecore::EClass|FQN])*)? - public Group getGroup_16() { return cGroup_16; } - - //variableContainers+=[ecore::EClass|FQN] - public Assignment getVariableContainersAssignment_16_0() { return cVariableContainersAssignment_16_0; } - - //[ecore::EClass|FQN] - public CrossReference getVariableContainersEClassCrossReference_16_0_0() { return cVariableContainersEClassCrossReference_16_0_0; } - - //FQN - public RuleCall getVariableContainersEClassFQNParserRuleCall_16_0_0_1() { return cVariableContainersEClassFQNParserRuleCall_16_0_0_1; } - - //(',' variableContainers+=[ecore::EClass|FQN])* - public Group getGroup_16_1() { return cGroup_16_1; } - - //',' - public Keyword getCommaKeyword_16_1_0() { return cCommaKeyword_16_1_0; } - - //variableContainers+=[ecore::EClass|FQN] - public Assignment getVariableContainersAssignment_16_1_1() { return cVariableContainersAssignment_16_1_1; } - - //[ecore::EClass|FQN] - public CrossReference getVariableContainersEClassCrossReference_16_1_1_0() { return cVariableContainersEClassCrossReference_16_1_1_0; } - - //FQN - public RuleCall getVariableContainersEClassFQNParserRuleCall_16_1_1_0_1() { return cVariableContainersEClassFQNParserRuleCall_16_1_1_0_1; } - - //']' - public Keyword getRightSquareBracketKeyword_17() { return cRightSquareBracketKeyword_17; } - - //'}' - public Keyword getRightCurlyBracketKeyword_18() { return cRightCurlyBracketKeyword_18; } - } - - public class SiriusParameterElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.SiriusParameter"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cOptionalAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final Keyword cOptionalOptionalKeyword_0_0 = (Keyword)cOptionalAssignment_0.eContents().get(0); - private final Assignment cVariableAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cVariableSiriusVariableCrossReference_1_0 = (CrossReference)cVariableAssignment_1.eContents().get(0); - private final RuleCall cVariableSiriusVariableIDTerminalRuleCall_1_0_1 = (RuleCall)cVariableSiriusVariableCrossReference_1_0.eContents().get(1); - - //SiriusParameter: - // optional?='optional'? variable=[SiriusVariable]; - @Override public ParserRule getRule() { return rule; } - - //optional?='optional'? variable=[SiriusVariable] - public Group getGroup() { return cGroup; } - - //optional?='optional'? - public Assignment getOptionalAssignment_0() { return cOptionalAssignment_0; } - - //'optional' - public Keyword getOptionalOptionalKeyword_0_0() { return cOptionalOptionalKeyword_0_0; } - - //variable=[SiriusVariable] - public Assignment getVariableAssignment_1() { return cVariableAssignment_1; } - - //[SiriusVariable] - public CrossReference getVariableSiriusVariableCrossReference_1_0() { return cVariableSiriusVariableCrossReference_1_0; } - - //ID - public RuleCall getVariableSiriusVariableIDTerminalRuleCall_1_0_1() { return cVariableSiriusVariableIDTerminalRuleCall_1_0_1; } - } - - public class BoundElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.Bound"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); - - //Bound ecore::EInt: - // '-'? INT - @Override public ParserRule getRule() { return rule; } - - //'-'? INT - public Group getGroup() { return cGroup; } - - //'-'? - public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; } - - //INT - public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; } - } - - - private final SiriusExpressionPackageElements pSiriusExpressionPackage; - private final SiriusExpressionClassElements pSiriusExpressionClass; - private final FQNElements pFQN; - private final SiriusVariableElements pSiriusVariable; - private final SiriusExpressionDescriptionElements pSiriusExpressionDescription; - private final SiriusParameterElements pSiriusParameter; - private final BoundElements pBound; - private final TerminalRule tID; - private final TerminalRule tINT; - private final TerminalRule tML_COMMENT; - private final TerminalRule tWS; - - private final Grammar grammar; - - @Inject - public ExpressionTextGrammarAccess(GrammarProvider grammarProvider) { - this.grammar = internalFindGrammar(grammarProvider); - this.pSiriusExpressionPackage = new SiriusExpressionPackageElements(); - this.pSiriusExpressionClass = new SiriusExpressionClassElements(); - this.pFQN = new FQNElements(); - this.pSiriusVariable = new SiriusVariableElements(); - this.pSiriusExpressionDescription = new SiriusExpressionDescriptionElements(); - this.pSiriusParameter = new SiriusParameterElements(); - this.pBound = new BoundElements(); - this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.ID"); - this.tINT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.INT"); - this.tML_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.ML_COMMENT"); - this.tWS = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.WS"); - } - - protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { - Grammar grammar = grammarProvider.getGrammar(this); - while (grammar != null) { - if ("org.eclipse.sirius.expression.text.ExpressionText".equals(grammar.getName())) { - return grammar; - } - List grammars = grammar.getUsedGrammars(); - if (!grammars.isEmpty()) { - grammar = grammars.iterator().next(); - } else { - return null; - } - } - return grammar; - } - - @Override - public Grammar getGrammar() { - return grammar; - } - - - - //SiriusExpressionPackage: - // 'package' ePackage=[ecore::EPackage] '{' - // expressionClasses+=SiriusExpressionClass* - // '}'; - public SiriusExpressionPackageElements getSiriusExpressionPackageAccess() { - return pSiriusExpressionPackage; - } - - public ParserRule getSiriusExpressionPackageRule() { - return getSiriusExpressionPackageAccess().getRule(); - } - - //SiriusExpressionClass: - // 'class' eClass=[ecore::EClass|FQN] '{' - // variables+=SiriusVariable* - // expressionDescriptions+=SiriusExpressionDescription* - // '}'; - public SiriusExpressionClassElements getSiriusExpressionClassAccess() { - return pSiriusExpressionClass; - } - - public ParserRule getSiriusExpressionClassRule() { - return getSiriusExpressionClassAccess().getRule(); - } - - //FQN: - // ID ("." ID)*; - public FQNElements getFQNAccess() { - return pFQN; - } - - public ParserRule getFQNRule() { - return getFQNAccess().getRule(); - } - - //SiriusVariable: - // documentation=ML_COMMENT? - // 'var' name=ID ':' eType=[ecore::EClassifier|FQN]; - public SiriusVariableElements getSiriusVariableAccess() { - return pSiriusVariable; - } - - public ParserRule getSiriusVariableRule() { - return getSiriusVariableAccess().getRule(); - } - - //SiriusExpressionDescription: - // 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter (',' parameters+=SiriusParameter)*)? ')' ':' - // returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' - // 'userDefinedVariableContainers' '=' '[' (variableContainers+=[ecore::EClass|FQN] (',' - // variableContainers+=[ecore::EClass|FQN])*)? - // ']' - // '}'; - public SiriusExpressionDescriptionElements getSiriusExpressionDescriptionAccess() { - return pSiriusExpressionDescription; - } - - public ParserRule getSiriusExpressionDescriptionRule() { - return getSiriusExpressionDescriptionAccess().getRule(); - } - - //SiriusParameter: - // optional?='optional'? variable=[SiriusVariable]; - public SiriusParameterElements getSiriusParameterAccess() { - return pSiriusParameter; - } - - public ParserRule getSiriusParameterRule() { - return getSiriusParameterAccess().getRule(); - } - - //Bound ecore::EInt: - // '-'? INT - public BoundElements getBoundAccess() { - return pBound; - } - - public ParserRule getBoundRule() { - return getBoundAccess().getRule(); - } - - //terminal ID: - // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; - public TerminalRule getIDRule() { - return tID; - } - - //terminal INT returns ecore::EInt: - // '0'..'9'+; - public TerminalRule getINTRule() { - return tINT; - } - - //terminal ML_COMMENT: - // '/ *'->'* /'; - public TerminalRule getML_COMMENTRule() { - return tML_COMMENT; - } - - //terminal WS: - // ' ' | '\t' | '\r' | '\n'+; - public TerminalRule getWSRule() { - return tWS; - } -} diff --git a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/validation/AbstractExpressionTextValidator.java b/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/validation/AbstractExpressionTextValidator.java deleted file mode 100644 index 0ad845d20..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/validation/AbstractExpressionTextValidator.java +++ /dev/null @@ -1,18 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.validation; - -import java.util.ArrayList; -import java.util.List; -import org.eclipse.emf.ecore.EPackage; - -public class AbstractExpressionTextValidator extends org.eclipse.xtext.validation.AbstractDeclarativeValidator { - - @Override - protected List getEPackages() { - List result = new ArrayList(); - result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/sirius/expression")); - return result; - } -} diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext deleted file mode 100644 index ce60eeba4..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext +++ /dev/null @@ -1,45 +0,0 @@ -grammar org.eclipse.sirius.expression.text.ExpressionText hidden(WS) - -import "http://www.eclipse.org/sirius/expression" -import "http://www.eclipse.org/emf/2002/Ecore" as ecore - -SiriusExpressionPackage: - 'package' ePackage=[ecore::EPackage] '{' - (expressionClasses+=SiriusExpressionClass)* - '}' -; - -SiriusExpressionClass: - 'class' eClass=[ecore::EClass|FQN] '{' - (variables+=SiriusVariable)* - (expressionDescriptions+=SiriusExpressionDescription)* - '}' -; - -FQN: ID ("." ID)*; - -SiriusVariable: - (documentation=ML_COMMENT)? - 'var' name=ID ':' eType=[ecore::EClassifier|FQN] -; - -SiriusExpressionDescription: - 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter(',' parameters+=SiriusParameter)*)? ')' ':' returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' - 'userDefinedVariableContainers' '=' '[' - (variableContainers+=[ecore::EClass|FQN](',' variableContainers+=[ecore::EClass|FQN])*)? - ']' - '}' -; - -SiriusParameter: - (optional?='optional')? variable=[SiriusVariable] -; - -Bound returns ecore::EInt: - ('-')?INT -; - -terminal ID : '^'?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; -terminal INT returns ecore::EInt: ('0'..'9')+; -terminal ML_COMMENT : '/*' -> '*/'; -terminal WS : (' '|'\t'|'\r'|'\n')+; \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextRuntimeModule.java b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextRuntimeModule.java deleted file mode 100644 index 8558d947f..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextRuntimeModule.java +++ /dev/null @@ -1,18 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text; - -import org.eclipse.xtext.resource.IContainer.Manager; -import org.eclipse.sirius.expression.text.scoping.ExpressionTextStatedContainerManager;; -/** - * Use this class to register components to be used at runtime / without the - * Equinox extension registry. - */ -public class ExpressionTextRuntimeModule - extends org.eclipse.sirius.expression.text.AbstractExpressionTextRuntimeModule { - @Override - public Class bindIContainer$Manager() { - return ExpressionTextStatedContainerManager.class; - } -} diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetup.java b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetup.java deleted file mode 100644 index 7d5142f90..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetup.java +++ /dev/null @@ -1,16 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text; - -/** - * Initialization support for running Xtext languages - * without equinox extension registry - */ -public class ExpressionTextStandaloneSetup extends ExpressionTextStandaloneSetupGenerated{ - - public static void doSetup() { - new ExpressionTextStandaloneSetup().createInjectorAndDoEMFRegistration(); - } -} - diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/GenerateExpressionText.mwe2 b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/GenerateExpressionText.mwe2 deleted file mode 100644 index 2b3bbe63d..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/GenerateExpressionText.mwe2 +++ /dev/null @@ -1,137 +0,0 @@ -module org.eclipse.sirius.expression.text.GenerateExpressionText - -import org.eclipse.emf.mwe.utils.* -import org.eclipse.xtext.generator.* -import org.eclipse.xtext.ui.generator.* - -var grammarURI = "classpath:/org/eclipse/sirius/expression/text/ExpressionText.xtext" -var fileExtensions = "expression" -var projectName = "org.eclipse.sirius.expression.text" -var runtimeProject = "../${projectName}" -var generateXtendStub = true -var encoding = "UTF-8" - -Workflow { - bean = StandaloneSetup { - scanClassPath = true - platformUri = "${runtimeProject}/.." - - registerGeneratedEPackage = "org.eclipse.sirius.expression.ExpressionPackage" - registerGenModelFile = "platform:/resource/org.eclipse.sirius.expression/model/expression.genmodel" - - // The following two lines can be removed, if Xbase is not used. - registerGeneratedEPackage = "org.eclipse.xtext.xbase.XbasePackage" - registerGenModelFile = "platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel" - } - - component = DirectoryCleaner { - directory = "${runtimeProject}/src-gen" - } - - component = DirectoryCleaner { - directory = "${runtimeProject}/model/generated" - } - - component = DirectoryCleaner { - directory = "${runtimeProject}.ui/src-gen" - } - - component = DirectoryCleaner { - directory = "${runtimeProject}.tests/src-gen" - } - - component = Generator { - pathRtProject = runtimeProject - pathUiProject = "${runtimeProject}.ui" - pathTestProject = "${runtimeProject}.tests" - projectNameRt = projectName - projectNameUi = "${projectName}.ui" - encoding = encoding - language = auto-inject { - uri = grammarURI - - // Java API to access grammar elements (required by several other fragments) - fragment = grammarAccess.GrammarAccessFragment auto-inject {} - - // generates Java API for the generated EPackages - fragment = ecore.EMFGeneratorFragment auto-inject {} - - // the old serialization component - // fragment = parseTreeConstructor.ParseTreeConstructorFragment auto-inject {} - - // serializer 2.0 - fragment = serializer.SerializerFragment auto-inject { - generateStub = false - } - - // a custom ResourceFactory for use with EMF - fragment = resourceFactory.ResourceFactoryFragment auto-inject {} - - // The antlr parser generator fragment. - fragment = parser.antlr.XtextAntlrGeneratorFragment auto-inject { - // options = { - // backtrack = true - // } - } - - // Xtend-based API for validation - fragment = validation.ValidatorFragment auto-inject { - // composedCheck = "org.eclipse.xtext.validation.ImportUriValidator" - // composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator" - } - - // old scoping and exporting API - // fragment = scoping.ImportURIScopingFragment auto-inject {} - // fragment = exporting.SimpleNamesFragment auto-inject {} - - // scoping and exporting API - fragment = scoping.ImportNamespacesScopingFragment auto-inject {} - fragment = exporting.QualifiedNamesFragment auto-inject {} - fragment = builder.BuilderIntegrationFragment auto-inject {} - - // generator API - fragment = generator.GeneratorFragment auto-inject {} - - // formatter API - fragment = formatting.FormatterFragment auto-inject {} - - // labeling API - fragment = labeling.LabelProviderFragment auto-inject {} - - // outline API - fragment = outline.OutlineTreeProviderFragment auto-inject {} - fragment = outline.QuickOutlineFragment auto-inject {} - - // quickfix API - fragment = quickfix.QuickfixProviderFragment auto-inject {} - - // content assist API - fragment = contentAssist.ContentAssistFragment auto-inject {} - - // generates a more lightweight Antlr parser and lexer tailored for content assist - fragment = parser.antlr.XtextAntlrUiGeneratorFragment auto-inject {} - - // generates junit test support classes into Generator#pathTestProject - fragment = junit.Junit4Fragment auto-inject {} - - // rename refactoring - fragment = refactoring.RefactorElementNameFragment auto-inject {} - - // provides the necessary bindings for java types integration - fragment = types.TypesGeneratorFragment auto-inject {} - - // generates the required bindings only if the grammar inherits from Xbase - fragment = xbase.XbaseGeneratorFragment auto-inject {} - - // generates the required bindings only if the grammar inherits from Xtype - fragment = xbase.XtypeGeneratorFragment auto-inject {} - - // provides a preference page for template proposals - fragment = templates.CodetemplatesGeneratorFragment auto-inject {} - - // provides a compare view - fragment = compare.CompareFragment auto-inject {} - } - } -} - diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.xtend b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.xtend deleted file mode 100644 index 25d8ab9b0..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.xtend +++ /dev/null @@ -1,30 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.formatting - -import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter -import org.eclipse.xtext.formatting.impl.FormattingConfig -// import com.google.inject.Inject; -// import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess - -/** - * This class contains custom formatting declarations. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#formatting - * on how and when to use it. - * - * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example - */ -class ExpressionTextFormatter extends AbstractDeclarativeFormatter { - -// @Inject extension ExpressionTextGrammarAccess - - override protected void configureFormatting(FormattingConfig c) { -// It's usually a good idea to activate the following three statements. -// They will add and preserve newlines around comments -// c.setLinewrap(0, 1, 2).before(SL_COMMENTRule) -// c.setLinewrap(0, 1, 2).before(ML_COMMENTRule) -// c.setLinewrap(0, 1, 1).after(ML_COMMENTRule) - } -} diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.xtend b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.xtend deleted file mode 100644 index 31b99c36f..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.xtend +++ /dev/null @@ -1,24 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.generator - -import org.eclipse.emf.ecore.resource.Resource -import org.eclipse.xtext.generator.IGenerator -import org.eclipse.xtext.generator.IFileSystemAccess - -/** - * Generates code from your model files on save. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation - */ -class ExpressionTextGenerator implements IGenerator { - - override void doGenerate(Resource resource, IFileSystemAccess fsa) { -// fsa.generateFile('greetings.txt', 'People to greet: ' + -// resource.allContents -// .filter(typeof(Greeting)) -// .map[name] -// .join(', ')) - } -} diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.xtend b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.xtend deleted file mode 100644 index f429253ea..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.xtend +++ /dev/null @@ -1,32 +0,0 @@ -package org.eclipse.sirius.expression.text.scoping - -import org.eclipse.xtext.resource.containers.IContainerState -import org.eclipse.emf.common.util.URI -import org.eclipse.xtext.resource.containers.IAllContainersState - -class ExpressionTextContainerState implements IContainerState { - String root - IAllContainersState globalState - - new(String root, org.eclipse.xtext.resource.containers.IAllContainersState state) { - this.root = root - this.globalState = state - } - - override contains(URI uri) { - return getContents().contains(uri) - } - - override getContents() { - return globalState.getContainedURIs(root) - } - - override isEmpty() { - return globalState.isEmpty(root) - } - - override toString() { - return "container '" + root +"' from "+globalState - } - -} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.xtend b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.xtend deleted file mode 100644 index c7954ae5c..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.xtend +++ /dev/null @@ -1,15 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.scoping - -/** - * This class contains custom scoping description. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping - * on how and when to use it. - * - */ -class ExpressionTextScopeProvider extends org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider { - -} diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.xtend b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.xtend deleted file mode 100644 index e56ae1fd6..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.xtend +++ /dev/null @@ -1,19 +0,0 @@ -package org.eclipse.sirius.expression.text.scoping - -import org.eclipse.xtext.resource.containers.StateBasedContainer -import org.eclipse.xtext.resource.IResourceDescriptions -import org.eclipse.xtext.resource.containers.IContainerState -import org.eclipse.xtext.resource.IEObjectDescription - -class ExpressionTextStateBasedContainer extends StateBasedContainer { - - new(IResourceDescriptions descriptions, IContainerState state) { - super(descriptions, state) - } - - override protected filterByURI(Iterable unfiltered) { - // Do not filter anything - return unfiltered - } - -} \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.xtend b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.xtend deleted file mode 100644 index b031c982d..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.xtend +++ /dev/null @@ -1,19 +0,0 @@ -package org.eclipse.sirius.expression.text.scoping - -import org.eclipse.xtext.resource.IResourceDescriptions -import org.eclipse.xtext.resource.containers.FlatResourceSetBasedAllContainersState -import org.eclipse.xtext.resource.containers.StateBasedContainerManager - -class ExpressionTextStatedContainerManager extends StateBasedContainerManager { - - override protected createContainer(String handle, IResourceDescriptions resourceDescriptions) { - val state = getState(resourceDescriptions); - val containerState = new org.eclipse.sirius.expression.text.scoping.ExpressionTextContainerState(handle, state); - val result = new org.eclipse.sirius.expression.text.scoping.ExpressionTextStateBasedContainer(resourceDescriptions, containerState); - if (state instanceof FlatResourceSetBasedAllContainersState) - result.setUriToDescriptionCacheEnabled(false); - return result; - } - -} - diff --git a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.xtend b/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.xtend deleted file mode 100644 index bba7549b1..000000000 --- a/plugins/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.xtend +++ /dev/null @@ -1,25 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.validation - -//import org.eclipse.xtext.validation.Check - -/** - * This class contains custom validation rules. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation - */ -class ExpressionTextValidator extends AbstractExpressionTextValidator { - -// public static val INVALID_NAME = 'invalidName' -// -// @Check -// def checkGreetingStartsWithCapital(Greeting greeting) { -// if (!Character.isUpperCase(greeting.name.charAt(0))) { -// warning('Name should start with a capital', -// MyDslPackage.Literals.GREETING__NAME, -// INVALID_NAME) -// } -// } -} diff --git a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.java b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.java deleted file mode 100644 index 993de606e..000000000 --- a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.java +++ /dev/null @@ -1,22 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.formatting; - -import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter; -import org.eclipse.xtext.formatting.impl.FormattingConfig; - -/** - * This class contains custom formatting declarations. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#formatting - * on how and when to use it. - * - * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example - */ -@SuppressWarnings("all") -public class ExpressionTextFormatter extends AbstractDeclarativeFormatter { - @Override - protected void configureFormatting(final FormattingConfig c) { - } -} diff --git a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.java b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.java deleted file mode 100644 index c7a70753b..000000000 --- a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.generator; - -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.xtext.generator.IFileSystemAccess; -import org.eclipse.xtext.generator.IGenerator; - -/** - * Generates code from your model files on save. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation - */ -@SuppressWarnings("all") -public class ExpressionTextGenerator implements IGenerator { - @Override - public void doGenerate(final Resource resource, final IFileSystemAccess fsa) { - } -} diff --git a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.java b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.java deleted file mode 100644 index 4019d52dc..000000000 --- a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.java +++ /dev/null @@ -1,39 +0,0 @@ -package org.eclipse.sirius.expression.text.scoping; - -import java.util.Collection; -import org.eclipse.emf.common.util.URI; -import org.eclipse.xtext.resource.containers.IAllContainersState; -import org.eclipse.xtext.resource.containers.IContainerState; - -@SuppressWarnings("all") -public class ExpressionTextContainerState implements IContainerState { - private String root; - - private IAllContainersState globalState; - - public ExpressionTextContainerState(final String root, final IAllContainersState state) { - this.root = root; - this.globalState = state; - } - - @Override - public boolean contains(final URI uri) { - Collection _contents = this.getContents(); - return _contents.contains(uri); - } - - @Override - public Collection getContents() { - return this.globalState.getContainedURIs(this.root); - } - - @Override - public boolean isEmpty() { - return this.globalState.isEmpty(this.root); - } - - @Override - public String toString() { - return ((("container \'" + this.root) + "\' from ") + this.globalState); - } -} diff --git a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.java b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.java deleted file mode 100644 index 78b0a1197..000000000 --- a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.java +++ /dev/null @@ -1,16 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.scoping; - -import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider; - -/** - * This class contains custom scoping description. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping - * on how and when to use it. - */ -@SuppressWarnings("all") -public class ExpressionTextScopeProvider extends AbstractDeclarativeScopeProvider { -} diff --git a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.java b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.java deleted file mode 100644 index 83c7dd818..000000000 --- a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.eclipse.sirius.expression.text.scoping; - -import org.eclipse.xtext.resource.IEObjectDescription; -import org.eclipse.xtext.resource.IResourceDescriptions; -import org.eclipse.xtext.resource.containers.IContainerState; -import org.eclipse.xtext.resource.containers.StateBasedContainer; - -@SuppressWarnings("all") -public class ExpressionTextStateBasedContainer extends StateBasedContainer { - public ExpressionTextStateBasedContainer(final IResourceDescriptions descriptions, final IContainerState state) { - super(descriptions, state); - } - - @Override - protected Iterable filterByURI(final Iterable unfiltered) { - return unfiltered; - } -} diff --git a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.java b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.java deleted file mode 100644 index 4916e0d1a..000000000 --- a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.eclipse.sirius.expression.text.scoping; - -import org.eclipse.sirius.expression.text.scoping.ExpressionTextContainerState; -import org.eclipse.sirius.expression.text.scoping.ExpressionTextStateBasedContainer; -import org.eclipse.xtext.resource.IContainer; -import org.eclipse.xtext.resource.IResourceDescriptions; -import org.eclipse.xtext.resource.containers.FlatResourceSetBasedAllContainersState; -import org.eclipse.xtext.resource.containers.IAllContainersState; -import org.eclipse.xtext.resource.containers.StateBasedContainerManager; - -@SuppressWarnings("all") -public class ExpressionTextStatedContainerManager extends StateBasedContainerManager { - @Override - protected IContainer createContainer(final String handle, final IResourceDescriptions resourceDescriptions) { - final IAllContainersState state = this.getState(resourceDescriptions); - final ExpressionTextContainerState containerState = new ExpressionTextContainerState(handle, state); - final ExpressionTextStateBasedContainer result = new ExpressionTextStateBasedContainer(resourceDescriptions, containerState); - if ((state instanceof FlatResourceSetBasedAllContainersState)) { - result.setUriToDescriptionCacheEnabled(false); - } - return result; - } -} diff --git a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.java b/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.java deleted file mode 100644 index 071d10c16..000000000 --- a/plugins/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.java +++ /dev/null @@ -1,15 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.sirius.expression.text.validation; - -import org.eclipse.sirius.expression.text.validation.AbstractExpressionTextValidator; - -/** - * This class contains custom validation rules. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation - */ -@SuppressWarnings("all") -public class ExpressionTextValidator extends AbstractExpressionTextValidator { -} diff --git a/plugins/org.eclipse.sirius.expression/.checkstyle b/plugins/org.eclipse.sirius.expression/.checkstyle deleted file mode 100644 index f1a81eec7..000000000 --- a/plugins/org.eclipse.sirius.expression/.checkstyle +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression/.classpath b/plugins/org.eclipse.sirius.expression/.classpath deleted file mode 100644 index 6292ea58a..000000000 --- a/plugins/org.eclipse.sirius.expression/.classpath +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression/.project b/plugins/org.eclipse.sirius.expression/.project deleted file mode 100644 index 27caa6d55..000000000 --- a/plugins/org.eclipse.sirius.expression/.project +++ /dev/null @@ -1,41 +0,0 @@ - - - org.eclipse.sirius.expression - - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - net.sf.eclipsecs.core.CheckstyleBuilder - - - - - - org.eclipse.sirius.nature.modelingproject - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - net.sf.eclipsecs.core.CheckstyleNature - org.eclipse.xtext.ui.shared.xtextNature - - diff --git a/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index fb8257839..000000000 --- a/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,398 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.builder.cleanOutputFolder=clean -org.eclipse.jdt.core.builder.duplicateResourceTask=warning -org.eclipse.jdt.core.builder.invalidClasspath=abort -org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore -org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= -org.eclipse.jdt.core.circularClasspath=error -org.eclipse.jdt.core.classpath.exclusionPatterns=enabled -org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled -org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error -org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled -org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore -org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull -org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault -org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable -org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore -org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning -org.eclipse.jdt.core.compiler.problem.deadCode=warning -org.eclipse.jdt.core.compiler.problem.deprecation=warning -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled -org.eclipse.jdt.core.compiler.problem.discouragedReference=warning -org.eclipse.jdt.core.compiler.problem.emptyStatement=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore -org.eclipse.jdt.core.compiler.problem.fallthroughCase=error -org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled -org.eclipse.jdt.core.compiler.problem.fieldHiding=warning -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning -org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore -org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning -org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled -org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning -org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error -org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning -org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error -org.eclipse.jdt.core.compiler.problem.nullReference=warning -org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error -org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning -org.eclipse.jdt.core.compiler.problem.parameterAssignment=error -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning -org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning -org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning -org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning -org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning -org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore -org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning -org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore -org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning -org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled -org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning -org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning -org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled -org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning -org.eclipse.jdt.core.compiler.problem.unusedImport=warning -org.eclipse.jdt.core.compiler.problem.unusedLabel=warning -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning -org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning -org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.6 -org.eclipse.jdt.core.formatter.align_type_members_on_columns=false -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_assignment=0 -org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 -org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 -org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 -org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 -org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 -org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 -org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 -org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_after_package=1 -org.eclipse.jdt.core.formatter.blank_lines_before_field=0 -org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 -org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 -org.eclipse.jdt.core.formatter.blank_lines_before_method=1 -org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 -org.eclipse.jdt.core.formatter.blank_lines_before_package=0 -org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 -org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 -org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false -org.eclipse.jdt.core.formatter.comment.format_block_comments=true -org.eclipse.jdt.core.formatter.comment.format_header=false -org.eclipse.jdt.core.formatter.comment.format_html=true -org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true -org.eclipse.jdt.core.formatter.comment.format_line_comments=true -org.eclipse.jdt.core.formatter.comment.format_source_code=true -org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true -org.eclipse.jdt.core.formatter.comment.indent_root_tags=true -org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert -org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert -org.eclipse.jdt.core.formatter.comment.line_length=120 -org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true -org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true -org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false -org.eclipse.jdt.core.formatter.compact_else_if=true -org.eclipse.jdt.core.formatter.continuation_indentation=2 -org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 -org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off -org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true -org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_empty_lines=false -org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true -org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false -org.eclipse.jdt.core.formatter.indentation.size=4 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert -org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert -org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert -org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.join_lines_in_comments=true -org.eclipse.jdt.core.formatter.join_wrapped_lines=true -org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false -org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false -org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false -org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false -org.eclipse.jdt.core.formatter.lineSplit=150 -org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false -org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false -org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 -org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true -org.eclipse.jdt.core.formatter.tabulation.char=tab -org.eclipse.jdt.core.formatter.tabulation.size=4 -org.eclipse.jdt.core.formatter.use_on_off_tags=true -org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false -org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true -org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true -org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true -org.eclipse.jdt.core.incompatibleJDKLevel=ignore -org.eclipse.jdt.core.incompleteClasspath=error -org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.launching.prefs deleted file mode 100644 index 3bb235278..000000000 --- a/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.launching.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index e6ceed5c2..000000000 --- a/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,67 +0,0 @@ -eclipse.preferences.version=1 -editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true -formatter_settings_version=12 -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=com;java;javax;org; -org.eclipse.jdt.ui.javadoc=true -org.eclipse.jdt.ui.ondemandthreshold=99 -org.eclipse.jdt.ui.staticondemandthreshold=99 -org.eclipse.jdt.ui.text.custom_code_templates= -sp_cleanup.add_default_serial_version_id=false -sp_cleanup.add_generated_serial_version_id=false -sp_cleanup.add_missing_annotations=true -sp_cleanup.add_missing_deprecated_annotations=true -sp_cleanup.add_missing_methods=false -sp_cleanup.add_missing_nls_tags=false -sp_cleanup.add_missing_override_annotations=true -sp_cleanup.add_missing_override_annotations_interface_methods=true -sp_cleanup.add_serial_version_id=false -sp_cleanup.always_use_blocks=false -sp_cleanup.always_use_parentheses_in_expressions=false -sp_cleanup.always_use_this_for_non_static_field_access=false -sp_cleanup.always_use_this_for_non_static_method_access=false -sp_cleanup.convert_functional_interfaces=false -sp_cleanup.convert_to_enhanced_for_loop=false -sp_cleanup.correct_indentation=true -sp_cleanup.format_source_code=true -sp_cleanup.format_source_code_changes_only=false -sp_cleanup.insert_inferred_type_arguments=false -sp_cleanup.make_local_variable_final=false -sp_cleanup.make_parameters_final=false -sp_cleanup.make_private_fields_final=false -sp_cleanup.make_type_abstract_if_missing_method=false -sp_cleanup.make_variable_declarations_final=false -sp_cleanup.never_use_blocks=false -sp_cleanup.never_use_parentheses_in_expressions=false -sp_cleanup.on_save_use_additional_actions=true -sp_cleanup.organize_imports=true -sp_cleanup.qualify_static_field_accesses_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_with_declaring_class=false -sp_cleanup.qualify_static_method_accesses_with_declaring_class=false -sp_cleanup.remove_private_constructors=false -sp_cleanup.remove_redundant_type_arguments=false -sp_cleanup.remove_trailing_whitespaces=true -sp_cleanup.remove_trailing_whitespaces_all=true -sp_cleanup.remove_trailing_whitespaces_ignore_empty=false -sp_cleanup.remove_unnecessary_casts=true -sp_cleanup.remove_unnecessary_nls_tags=true -sp_cleanup.remove_unused_imports=true -sp_cleanup.remove_unused_local_variables=false -sp_cleanup.remove_unused_private_fields=false -sp_cleanup.remove_unused_private_members=false -sp_cleanup.remove_unused_private_methods=false -sp_cleanup.remove_unused_private_types=false -sp_cleanup.sort_members=false -sp_cleanup.sort_members_all=false -sp_cleanup.use_anonymous_class_creation=false -sp_cleanup.use_blocks=false -sp_cleanup.use_blocks_only_for_return_and_throw=false -sp_cleanup.use_lambda=false -sp_cleanup.use_parentheses_in_expressions=false -sp_cleanup.use_this_for_non_static_field_access=false -sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false -sp_cleanup.use_this_for_non_static_method_access=false -sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false -sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.pde.prefs deleted file mode 100644 index 3112e810d..000000000 --- a/plugins/org.eclipse.sirius.expression/.settings/org.eclipse.pde.prefs +++ /dev/null @@ -1,32 +0,0 @@ -compilers.f.unresolved-features=1 -compilers.f.unresolved-plugins=1 -compilers.incompatible-environment=1 -compilers.p.build=1 -compilers.p.build.bin.includes=1 -compilers.p.build.encodings=1 -compilers.p.build.java.compiler=1 -compilers.p.build.java.compliance=1 -compilers.p.build.missing.output=2 -compilers.p.build.output.library=1 -compilers.p.build.source.library=1 -compilers.p.build.src.includes=1 -compilers.p.deprecated=1 -compilers.p.discouraged-class=1 -compilers.p.internal=1 -compilers.p.missing-packages=1 -compilers.p.missing-version-export-package=0 -compilers.p.missing-version-import-package=0 -compilers.p.missing-version-require-bundle=0 -compilers.p.no-required-att=0 -compilers.p.not-externalized-att=0 -compilers.p.unknown-attribute=1 -compilers.p.unknown-class=1 -compilers.p.unknown-element=1 -compilers.p.unknown-identifier=1 -compilers.p.unknown-resource=1 -compilers.p.unresolved-ex-points=0 -compilers.p.unresolved-import=0 -compilers.s.create-docs=false -compilers.s.doc-folder=doc -compilers.s.open-tags=1 -eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF deleted file mode 100644 index 50c35b96e..000000000 --- a/plugins/org.eclipse.sirius.expression/META-INF/MANIFEST.MF +++ /dev/null @@ -1,16 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.sirius.expression;singleton:=true -Bundle-Version: 1.0.0.qualifier -Bundle-ClassPath: . -Bundle-Vendor: %providerName -Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Export-Package: org.eclipse.sirius.expression;version="1.0.0", - org.eclipse.sirius.expression.impl;version="1.0.0", - org.eclipse.sirius.expression.util;version="1.0.0" -Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", - org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, - org.eclipse.emf.ecore.xmi;bundle-version="[2.8.0,3.0.0)" -Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.expression/about.html b/plugins/org.eclipse.sirius.expression/about.html deleted file mode 100644 index f3a55ce5f..000000000 --- a/plugins/org.eclipse.sirius.expression/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

                About This Content

                - -

                June 15, 2010

                -

                License

                - -

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

                - -

                If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

                - - - \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.expression/build.properties b/plugins/org.eclipse.sirius.expression/build.properties deleted file mode 100644 index 7dafef1b5..000000000 --- a/plugins/org.eclipse.sirius.expression/build.properties +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm - -bin.includes = .,\ - model/,\ - META-INF/,\ - plugin.xml,\ - plugin.properties,\ - about.html -jars.compile.order = . -source.. = src-gen/ -output.. = bin/ -javacProjectSettings = true diff --git a/plugins/org.eclipse.sirius.expression/model/expression.aird b/plugins/org.eclipse.sirius.expression/model/expression.aird deleted file mode 100644 index 0320df907..000000000 --- a/plugins/org.eclipse.sirius.expression/model/expression.aird +++ /dev/null @@ -1,928 +0,0 @@ - - - http://www.eclipse.org/emf/2002/Ecore - expression.ecore - platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore - interpretedexpression.ecore - expression.genmodel - EEFExpression.xmi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - italic - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression/model/expression.ecore b/plugins/org.eclipse.sirius.expression/model/expression.ecore deleted file mode 100644 index b932578e1..000000000 --- a/plugins/org.eclipse.sirius.expression/model/expression.ecore +++ /dev/null @@ -1,120 +0,0 @@ - - - - -
                - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - - - -
                - - - -
                - - - - -
                - - - - - - -
                - - - -
                - - - - -
                - - - - - - - - - - - - - -
                - - - - -
                - - - - -
                - - - - -
                - - - diff --git a/plugins/org.eclipse.sirius.expression/model/expression.genmodel b/plugins/org.eclipse.sirius.expression/model/expression.genmodel deleted file mode 100644 index 9cbc40829..000000000 --- a/plugins/org.eclipse.sirius.expression/model/expression.genmodel +++ /dev/null @@ -1,48 +0,0 @@ - - - expression.ecore - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression/plugin.properties b/plugins/org.eclipse.sirius.expression/plugin.properties deleted file mode 100644 index ea65427ae..000000000 --- a/plugins/org.eclipse.sirius.expression/plugin.properties +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm - -pluginName = Sirius Expression Model -providerName = Eclipse Modeling Project diff --git a/plugins/org.eclipse.sirius.expression/plugin.xml b/plugins/org.eclipse.sirius.expression/plugin.xml deleted file mode 100644 index 975d0f12f..000000000 --- a/plugins/org.eclipse.sirius.expression/plugin.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java deleted file mode 100644 index 0efe9705f..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java +++ /dev/null @@ -1,92 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.sirius.expression.ExpressionPackage - * @generated - */ -public interface ExpressionFactory extends EFactory { - /** - * The singleton instance of the factory. - * - * - * @generated - */ - ExpressionFactory eINSTANCE = org.eclipse.sirius.expression.impl.ExpressionFactoryImpl.init(); - - /** - * Returns a new object of class 'Sirius Expression Package'. - * - * - * @return a new object of class 'Sirius Expression Package'. - * @generated - */ - SiriusExpressionPackage createSiriusExpressionPackage(); - - /** - * Returns a new object of class 'Sirius Expression Description'. - * - * - * @return a new object of class 'Sirius Expression Description'. - * @generated - */ - SiriusExpressionDescription createSiriusExpressionDescription(); - - /** - * Returns a new object of class 'Sirius Variable'. - * - * - * @return a new object of class 'Sirius Variable'. - * @generated - */ - SiriusVariable createSiriusVariable(); - - /** - * Returns a new object of class 'Sirius Expression Class'. - * - * - * @return a new object of class 'Sirius Expression Class'. - * @generated - */ - SiriusExpressionClass createSiriusExpressionClass(); - - /** - * Returns a new object of class 'Sirius Parameter'. - * - * - * @return a new object of class 'Sirius Parameter'. - * @generated - */ - SiriusParameter createSiriusParameter(); - - /** - * Returns a new object of class 'User Defined Variable'. - * - * - * @return a new object of class 'User Defined Variable'. - * @generated - */ - UserDefinedVariable createUserDefinedVariable(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - ExpressionPackage getExpressionPackage(); - -} //ExpressionFactory diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java deleted file mode 100644 index 59db87021..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java +++ /dev/null @@ -1,1007 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
                  - *
                • each class,
                • - *
                • each feature of each class,
                • - *
                • each operation of each class,
                • - *
                • each enum,
                • - *
                • and each data type
                • - *
                - * - * @see org.eclipse.sirius.expression.ExpressionFactory - * @model kind="package" - * @generated - */ -public interface ExpressionPackage extends EPackage { - /** - * The package name. - * - * - * @generated - */ - String eNAME = "expression"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "http://www.eclipse.org/sirius/expression"; //$NON-NLS-1$ - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "expression"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * - * - * @generated - */ - ExpressionPackage eINSTANCE = org.eclipse.sirius.expression.impl.ExpressionPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl Sirius Expression Package}' class. - * - * - * @see org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionPackage() - * @generated - */ - int SIRIUS_EXPRESSION_PACKAGE = 0; - - /** - * The feature id for the 'Expression Classes' containment reference list. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES = 0; - - /** - * The feature id for the 'EPackage' reference. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_PACKAGE__EPACKAGE = 1; - - /** - * The number of structural features of the 'Sirius Expression Package' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_PACKAGE_FEATURE_COUNT = 2; - - /** - * The number of operations of the 'Sirius Expression Package' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_PACKAGE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl Sirius Expression Description}' class. - * - * - * @see org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionDescription() - * @generated - */ - int SIRIUS_EXPRESSION_DESCRIPTION = 1; - - /** - * The feature id for the 'Lower Bound' attribute. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND = 0; - - /** - * The feature id for the 'Upper Bound' attribute. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND = 1; - - /** - * The feature id for the 'Expression' reference. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION = 2; - - /** - * The feature id for the 'Parameters' containment reference list. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS = 3; - - /** - * The feature id for the 'Return Type' reference. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE = 4; - - /** - * The feature id for the 'Variable Containers' reference list. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS = 5; - - /** - * The number of structural features of the 'Sirius Expression Description' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_DESCRIPTION_FEATURE_COUNT = 6; - - /** - * The number of operations of the 'Sirius Expression Description' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_DESCRIPTION_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusVariableImpl Sirius Variable}' class. - * - * - * @see org.eclipse.sirius.expression.impl.SiriusVariableImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusVariable() - * @generated - */ - int SIRIUS_VARIABLE = 2; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int SIRIUS_VARIABLE__NAME = 0; - - /** - * The feature id for the 'Documentation' attribute. - * - * - * @generated - * @ordered - */ - int SIRIUS_VARIABLE__DOCUMENTATION = 1; - - /** - * The feature id for the 'EType' reference. - * - * - * @generated - * @ordered - */ - int SIRIUS_VARIABLE__ETYPE = 2; - - /** - * The number of structural features of the 'Sirius Variable' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_VARIABLE_FEATURE_COUNT = 3; - - /** - * The number of operations of the 'Sirius Variable' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_VARIABLE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. - * - * - * @see org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionClass() - * @generated - */ - int SIRIUS_EXPRESSION_CLASS = 3; - - /** - * The feature id for the 'Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_CLASS__VARIABLES = 0; - - /** - * The feature id for the 'Expression Descriptions' containment reference list. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = 1; - - /** - * The feature id for the 'EClass' reference. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_CLASS__ECLASS = 2; - - /** - * The number of structural features of the 'Sirius Expression Class' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_CLASS_FEATURE_COUNT = 3; - - /** - * The number of operations of the 'Sirius Expression Class' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_EXPRESSION_CLASS_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusParameterImpl Sirius Parameter}' class. - * - * - * @see org.eclipse.sirius.expression.impl.SiriusParameterImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusParameter() - * @generated - */ - int SIRIUS_PARAMETER = 4; - - /** - * The feature id for the 'Optional' attribute. - * - * - * @generated - * @ordered - */ - int SIRIUS_PARAMETER__OPTIONAL = 0; - - /** - * The feature id for the 'Variable' reference. - * - * - * @generated - * @ordered - */ - int SIRIUS_PARAMETER__VARIABLE = 1; - - /** - * The number of structural features of the 'Sirius Parameter' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_PARAMETER_FEATURE_COUNT = 2; - - /** - * The number of operations of the 'Sirius Parameter' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_PARAMETER_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.sirius.expression.impl.UserDefinedVariableImpl User Defined Variable}' class. - * - * - * @see org.eclipse.sirius.expression.impl.UserDefinedVariableImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getUserDefinedVariable() - * @generated - */ - int USER_DEFINED_VARIABLE = 5; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int USER_DEFINED_VARIABLE__NAME = SIRIUS_VARIABLE__NAME; - - /** - * The feature id for the 'Documentation' attribute. - * - * - * @generated - * @ordered - */ - int USER_DEFINED_VARIABLE__DOCUMENTATION = SIRIUS_VARIABLE__DOCUMENTATION; - - /** - * The feature id for the 'EType' reference. - * - * - * @generated - * @ordered - */ - int USER_DEFINED_VARIABLE__ETYPE = SIRIUS_VARIABLE__ETYPE; - - /** - * The feature id for the 'Value Expression' attribute. - * - * - * @generated - * @ordered - */ - int USER_DEFINED_VARIABLE__VALUE_EXPRESSION = SIRIUS_VARIABLE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'User Defined Variable' class. - * - * - * @generated - * @ordered - */ - int USER_DEFINED_VARIABLE_FEATURE_COUNT = SIRIUS_VARIABLE_FEATURE_COUNT + 1; - - /** - * The number of operations of the 'User Defined Variable' class. - * - * - * @generated - * @ordered - */ - int USER_DEFINED_VARIABLE_OPERATION_COUNT = SIRIUS_VARIABLE_OPERATION_COUNT + 0; - - /** - * The meta object id for the 'Void' data type. - * - * - * @see java.lang.Void - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getVoid() - * @generated - */ - int VOID = 6; - - /** - * The meta object id for the 'Object' data type. - * - * - * @see java.lang.Object - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getObject() - * @generated - */ - int OBJECT = 7; - - /** - * The meta object id for the 'Predicate' data type. - * - * - * @see java.lang.Object - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getPredicate() - * @generated - */ - int PREDICATE = 8; - - - /** - * The meta object id for the 'Expression' data type. - * - * - * @see java.lang.String - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getExpression() - * @generated - */ - int EXPRESSION = 9; - - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusExpressionPackage Sirius Expression Package}'. - * - * - * @return the meta object for class 'Sirius Expression Package'. - * @see org.eclipse.sirius.expression.SiriusExpressionPackage - * @generated - */ - EClass getSiriusExpressionPackage(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.SiriusExpressionPackage#getExpressionClasses Expression Classes}'. - * - * - * @return the meta object for the containment reference list 'Expression Classes'. - * @see org.eclipse.sirius.expression.SiriusExpressionPackage#getExpressionClasses() - * @see #getSiriusExpressionPackage() - * @generated - */ - EReference getSiriusExpressionPackage_ExpressionClasses(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusExpressionPackage#getEPackage EPackage}'. - * - * - * @return the meta object for the reference 'EPackage'. - * @see org.eclipse.sirius.expression.SiriusExpressionPackage#getEPackage() - * @see #getSiriusExpressionPackage() - * @generated - */ - EReference getSiriusExpressionPackage_EPackage(); - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusExpressionDescription Sirius Expression Description}'. - * - * - * @return the meta object for class 'Sirius Expression Description'. - * @see org.eclipse.sirius.expression.SiriusExpressionDescription - * @generated - */ - EClass getSiriusExpressionDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getLowerBound Lower Bound}'. - * - * - * @return the meta object for the attribute 'Lower Bound'. - * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getLowerBound() - * @see #getSiriusExpressionDescription() - * @generated - */ - EAttribute getSiriusExpressionDescription_LowerBound(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getUpperBound Upper Bound}'. - * - * - * @return the meta object for the attribute 'Upper Bound'. - * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getUpperBound() - * @see #getSiriusExpressionDescription() - * @generated - */ - EAttribute getSiriusExpressionDescription_UpperBound(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getExpression Expression}'. - * - * - * @return the meta object for the reference 'Expression'. - * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getExpression() - * @see #getSiriusExpressionDescription() - * @generated - */ - EReference getSiriusExpressionDescription_Expression(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getParameters Parameters}'. - * - * - * @return the meta object for the containment reference list 'Parameters'. - * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getParameters() - * @see #getSiriusExpressionDescription() - * @generated - */ - EReference getSiriusExpressionDescription_Parameters(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getReturnType Return Type}'. - * - * - * @return the meta object for the reference 'Return Type'. - * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getReturnType() - * @see #getSiriusExpressionDescription() - * @generated - */ - EReference getSiriusExpressionDescription_ReturnType(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getVariableContainers Variable Containers}'. - * - * - * @return the meta object for the reference list 'Variable Containers'. - * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getVariableContainers() - * @see #getSiriusExpressionDescription() - * @generated - */ - EReference getSiriusExpressionDescription_VariableContainers(); - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusVariable Sirius Variable}'. - * - * - * @return the meta object for class 'Sirius Variable'. - * @see org.eclipse.sirius.expression.SiriusVariable - * @generated - */ - EClass getSiriusVariable(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusVariable#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.sirius.expression.SiriusVariable#getName() - * @see #getSiriusVariable() - * @generated - */ - EAttribute getSiriusVariable_Name(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusVariable#getDocumentation Documentation}'. - * - * - * @return the meta object for the attribute 'Documentation'. - * @see org.eclipse.sirius.expression.SiriusVariable#getDocumentation() - * @see #getSiriusVariable() - * @generated - */ - EAttribute getSiriusVariable_Documentation(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusVariable#getEType EType}'. - * - * - * @return the meta object for the reference 'EType'. - * @see org.eclipse.sirius.expression.SiriusVariable#getEType() - * @see #getSiriusVariable() - * @generated - */ - EReference getSiriusVariable_EType(); - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusExpressionClass Sirius Expression Class}'. - * - * - * @return the meta object for class 'Sirius Expression Class'. - * @see org.eclipse.sirius.expression.SiriusExpressionClass - * @generated - */ - EClass getSiriusExpressionClass(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getVariables Variables}'. - * - * - * @return the meta object for the containment reference list 'Variables'. - * @see org.eclipse.sirius.expression.SiriusExpressionClass#getVariables() - * @see #getSiriusExpressionClass() - * @generated - */ - EReference getSiriusExpressionClass_Variables(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getExpressionDescriptions Expression Descriptions}'. - * - * - * @return the meta object for the containment reference list 'Expression Descriptions'. - * @see org.eclipse.sirius.expression.SiriusExpressionClass#getExpressionDescriptions() - * @see #getSiriusExpressionClass() - * @generated - */ - EReference getSiriusExpressionClass_ExpressionDescriptions(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getEClass EClass}'. - * - * - * @return the meta object for the reference 'EClass'. - * @see org.eclipse.sirius.expression.SiriusExpressionClass#getEClass() - * @see #getSiriusExpressionClass() - * @generated - */ - EReference getSiriusExpressionClass_EClass(); - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusParameter Sirius Parameter}'. - * - * - * @return the meta object for class 'Sirius Parameter'. - * @see org.eclipse.sirius.expression.SiriusParameter - * @generated - */ - EClass getSiriusParameter(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusParameter#isOptional Optional}'. - * - * - * @return the meta object for the attribute 'Optional'. - * @see org.eclipse.sirius.expression.SiriusParameter#isOptional() - * @see #getSiriusParameter() - * @generated - */ - EAttribute getSiriusParameter_Optional(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusParameter#getVariable Variable}'. - * - * - * @return the meta object for the reference 'Variable'. - * @see org.eclipse.sirius.expression.SiriusParameter#getVariable() - * @see #getSiriusParameter() - * @generated - */ - EReference getSiriusParameter_Variable(); - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.expression.UserDefinedVariable User Defined Variable}'. - * - * - * @return the meta object for class 'User Defined Variable'. - * @see org.eclipse.sirius.expression.UserDefinedVariable - * @generated - */ - EClass getUserDefinedVariable(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.UserDefinedVariable#getValueExpression Value Expression}'. - * - * - * @return the meta object for the attribute 'Value Expression'. - * @see org.eclipse.sirius.expression.UserDefinedVariable#getValueExpression() - * @see #getUserDefinedVariable() - * @generated - */ - EAttribute getUserDefinedVariable_ValueExpression(); - - /** - * Returns the meta object for data type '{@link java.lang.Void Void}'. - * - * - * @return the meta object for data type 'Void'. - * @see java.lang.Void - * @model instanceClass="java.lang.Void" - * @generated - */ - EDataType getVoid(); - - /** - * Returns the meta object for data type '{@link java.lang.Object Object}'. - * - * - * @return the meta object for data type 'Object'. - * @see java.lang.Object - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getObject(); - - /** - * Returns the meta object for data type '{@link java.lang.Object Predicate}'. - * - * - * @return the meta object for data type 'Predicate'. - * @see java.lang.Object - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getPredicate(); - - /** - * Returns the meta object for data type '{@link java.lang.String Expression}'. - * - * - * @return the meta object for data type 'Expression'. - * @see java.lang.String - * @model instanceClass="java.lang.String" - * @generated - */ - EDataType getExpression(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - ExpressionFactory getExpressionFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
                  - *
                • each class,
                • - *
                • each feature of each class,
                • - *
                • each operation of each class,
                • - *
                • each enum,
                • - *
                • and each data type
                • - *
                - * - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl Sirius Expression Package}' class. - * - * - * @see org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionPackage() - * @generated - */ - EClass SIRIUS_EXPRESSION_PACKAGE = eINSTANCE.getSiriusExpressionPackage(); - - /** - * The meta object literal for the 'Expression Classes' containment reference list feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES = eINSTANCE.getSiriusExpressionPackage_ExpressionClasses(); - - /** - * The meta object literal for the 'EPackage' reference feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_PACKAGE__EPACKAGE = eINSTANCE.getSiriusExpressionPackage_EPackage(); - - /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl Sirius Expression Description}' class. - * - * - * @see org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionDescription() - * @generated - */ - EClass SIRIUS_EXPRESSION_DESCRIPTION = eINSTANCE.getSiriusExpressionDescription(); - - /** - * The meta object literal for the 'Lower Bound' attribute feature. - * - * - * @generated - */ - EAttribute SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND = eINSTANCE.getSiriusExpressionDescription_LowerBound(); - - /** - * The meta object literal for the 'Upper Bound' attribute feature. - * - * - * @generated - */ - EAttribute SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND = eINSTANCE.getSiriusExpressionDescription_UpperBound(); - - /** - * The meta object literal for the 'Expression' reference feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION = eINSTANCE.getSiriusExpressionDescription_Expression(); - - /** - * The meta object literal for the 'Parameters' containment reference list feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS = eINSTANCE.getSiriusExpressionDescription_Parameters(); - - /** - * The meta object literal for the 'Return Type' reference feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE = eINSTANCE.getSiriusExpressionDescription_ReturnType(); - - /** - * The meta object literal for the 'Variable Containers' reference list feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS = eINSTANCE.getSiriusExpressionDescription_VariableContainers(); - - /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusVariableImpl Sirius Variable}' class. - * - * - * @see org.eclipse.sirius.expression.impl.SiriusVariableImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusVariable() - * @generated - */ - EClass SIRIUS_VARIABLE = eINSTANCE.getSiriusVariable(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute SIRIUS_VARIABLE__NAME = eINSTANCE.getSiriusVariable_Name(); - - /** - * The meta object literal for the 'Documentation' attribute feature. - * - * - * @generated - */ - EAttribute SIRIUS_VARIABLE__DOCUMENTATION = eINSTANCE.getSiriusVariable_Documentation(); - - /** - * The meta object literal for the 'EType' reference feature. - * - * - * @generated - */ - EReference SIRIUS_VARIABLE__ETYPE = eINSTANCE.getSiriusVariable_EType(); - - /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. - * - * - * @see org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionClass() - * @generated - */ - EClass SIRIUS_EXPRESSION_CLASS = eINSTANCE.getSiriusExpressionClass(); - - /** - * The meta object literal for the 'Variables' containment reference list feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_CLASS__VARIABLES = eINSTANCE.getSiriusExpressionClass_Variables(); - - /** - * The meta object literal for the 'Expression Descriptions' containment reference list feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = eINSTANCE.getSiriusExpressionClass_ExpressionDescriptions(); - - /** - * The meta object literal for the 'EClass' reference feature. - * - * - * @generated - */ - EReference SIRIUS_EXPRESSION_CLASS__ECLASS = eINSTANCE.getSiriusExpressionClass_EClass(); - - /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusParameterImpl Sirius Parameter}' class. - * - * - * @see org.eclipse.sirius.expression.impl.SiriusParameterImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusParameter() - * @generated - */ - EClass SIRIUS_PARAMETER = eINSTANCE.getSiriusParameter(); - - /** - * The meta object literal for the 'Optional' attribute feature. - * - * - * @generated - */ - EAttribute SIRIUS_PARAMETER__OPTIONAL = eINSTANCE.getSiriusParameter_Optional(); - - /** - * The meta object literal for the 'Variable' reference feature. - * - * - * @generated - */ - EReference SIRIUS_PARAMETER__VARIABLE = eINSTANCE.getSiriusParameter_Variable(); - - /** - * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.UserDefinedVariableImpl User Defined Variable}' class. - * - * - * @see org.eclipse.sirius.expression.impl.UserDefinedVariableImpl - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getUserDefinedVariable() - * @generated - */ - EClass USER_DEFINED_VARIABLE = eINSTANCE.getUserDefinedVariable(); - - /** - * The meta object literal for the 'Value Expression' attribute feature. - * - * - * @generated - */ - EAttribute USER_DEFINED_VARIABLE__VALUE_EXPRESSION = eINSTANCE.getUserDefinedVariable_ValueExpression(); - - /** - * The meta object literal for the 'Void' data type. - * - * - * @see java.lang.Void - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getVoid() - * @generated - */ - EDataType VOID = eINSTANCE.getVoid(); - - /** - * The meta object literal for the 'Object' data type. - * - * - * @see java.lang.Object - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getObject() - * @generated - */ - EDataType OBJECT = eINSTANCE.getObject(); - - /** - * The meta object literal for the 'Predicate' data type. - * - * - * @see java.lang.Object - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getPredicate() - * @generated - */ - EDataType PREDICATE = eINSTANCE.getPredicate(); - - /** - * The meta object literal for the 'Expression' data type. - * - * - * @see java.lang.String - * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getExpression() - * @generated - */ - EDataType EXPRESSION = eINSTANCE.getExpression(); - - } - -} //ExpressionPackage diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java deleted file mode 100644 index 450ed2fdc..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java +++ /dev/null @@ -1,94 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Sirius Expression Class'. - * - * - * - * Holds expression descriptions and variables. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.sirius.expression.SiriusExpressionClass#getVariables Variables}
                • - *
                • {@link org.eclipse.sirius.expression.SiriusExpressionClass#getExpressionDescriptions Expression Descriptions}
                • - *
                • {@link org.eclipse.sirius.expression.SiriusExpressionClass#getEClass EClass}
                • - *
                - * - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionClass() - * @model - * @generated - */ -public interface SiriusExpressionClass extends EObject { - /** - * Returns the value of the 'Variables' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.SiriusVariable}. - * - * - * - * References the variables. Variables are global as they can be referenced by any expression description. - * - * @return the value of the 'Variables' containment reference list. - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionClass_Variables() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getVariables(); - - /** - * Returns the value of the 'Expression Descriptions' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.SiriusExpressionDescription}. - * - * - * - * References the expressions. - * - * @return the value of the 'Expression Descriptions' containment reference list. - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionClass_ExpressionDescriptions() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getExpressionDescriptions(); - - /** - * Returns the value of the 'EClass' reference. - * - *

                - * If the meaning of the 'EClass' reference isn't clear, - * there really should be more of a description here... - *

                - * - * @return the value of the 'EClass' reference. - * @see #setEClass(EClass) - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionClass_EClass() - * @model - * @generated - */ - EClass getEClass(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getEClass EClass}' reference. - * - * - * @param value the new value of the 'EClass' reference. - * @see #getEClass() - * @generated - */ - void setEClass(EClass value); - -} // SiriusExpressionClass diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionDescription.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionDescription.java deleted file mode 100644 index f13ec2a60..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionDescription.java +++ /dev/null @@ -1,174 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EStructuralFeature; - -/** - * - * A representation of the model object 'Sirius Expression Description'. - * - * - * - * Defines an expression. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getLowerBound Lower Bound}
                • - *
                • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getUpperBound Upper Bound}
                • - *
                • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getExpression Expression}
                • - *
                • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getParameters Parameters}
                • - *
                • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getReturnType Return Type}
                • - *
                • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getVariableContainers Variable Containers}
                • - *
                - * - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription() - * @model - * @generated - */ -public interface SiriusExpressionDescription extends EObject { - /** - * Returns the value of the 'Lower Bound' attribute. - * - * - * - * Defines the return type lower bound. - * - * @return the value of the 'Lower Bound' attribute. - * @see #setLowerBound(int) - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_LowerBound() - * @model - * @generated - */ - int getLowerBound(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getLowerBound Lower Bound}' attribute. - * - * - * @param value the new value of the 'Lower Bound' attribute. - * @see #getLowerBound() - * @generated - */ - void setLowerBound(int value); - - /** - * Returns the value of the 'Upper Bound' attribute. - * The default value is "1". - * - * - * - * Defines the return type upper bound. - * - * @return the value of the 'Upper Bound' attribute. - * @see #setUpperBound(int) - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_UpperBound() - * @model default="1" - * @generated - */ - int getUpperBound(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getUpperBound Upper Bound}' attribute. - * - * - * @param value the new value of the 'Upper Bound' attribute. - * @see #getUpperBound() - * @generated - */ - void setUpperBound(int value); - - /** - * Returns the value of the 'Expression' reference. - * - * - * - * References an expression from another metamodel. - * - * @return the value of the 'Expression' reference. - * @see #setExpression(EStructuralFeature) - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_Expression() - * @model - * @generated - */ - EStructuralFeature getExpression(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getExpression Expression}' reference. - * - * - * @param value the new value of the 'Expression' reference. - * @see #getExpression() - * @generated - */ - void setExpression(EStructuralFeature value); - - /** - * Returns the value of the 'Parameters' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.SiriusParameter}. - * - * - * - * Contains the variables associated to an expression description. - * - * @return the value of the 'Parameters' containment reference list. - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_Parameters() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getParameters(); - - /** - * Returns the value of the 'Return Type' reference. - * - * - * - * Defines the return type of an expression. - * - * @return the value of the 'Return Type' reference. - * @see #setReturnType(EClassifier) - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_ReturnType() - * @model - * @generated - */ - EClassifier getReturnType(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getReturnType Return Type}' reference. - * - * - * @param value the new value of the 'Return Type' reference. - * @see #getReturnType() - * @generated - */ - void setReturnType(EClassifier value); - - /** - * Returns the value of the 'Variable Containers' reference list. - * The list contents are of type {@link org.eclipse.emf.ecore.EClass}. - * - * - * - * References contextable elements to get the associated context variables. - * - * @return the value of the 'Variable Containers' reference list. - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_VariableContainers() - * @model - * @generated - */ - EList getVariableContainers(); - -} // SiriusExpressionDescription diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionPackage.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionPackage.java deleted file mode 100644 index 0198a0d36..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionPackage.java +++ /dev/null @@ -1,77 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -/** - * - * A representation of the model object 'Sirius Expression Package'. - * - * - * - * An ExpressionPackage is the root concept of the expression metamodel. This metamodel is used to define the link between expressions and the variables that could be used by the expressions.An ExpressionPackage defines groups of ExpressionClasses. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.sirius.expression.SiriusExpressionPackage#getExpressionClasses Expression Classes}
                • - *
                • {@link org.eclipse.sirius.expression.SiriusExpressionPackage#getEPackage EPackage}
                • - *
                - * - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionPackage() - * @model - * @generated - */ -public interface SiriusExpressionPackage extends EObject { - /** - * Returns the value of the 'Expression Classes' containment reference list. - * The list contents are of type {@link org.eclipse.sirius.expression.SiriusExpressionClass}. - * - * - * - * References expression classes. - * - * @return the value of the 'Expression Classes' containment reference list. - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionPackage_ExpressionClasses() - * @model containment="true" resolveProxies="true" - * @generated - */ - EList getExpressionClasses(); - - /** - * Returns the value of the 'EPackage' reference. - * - * - * - * References the ePackage of the EClasses defining expressions. - * - * @return the value of the 'EPackage' reference. - * @see #setEPackage(EPackage) - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionPackage_EPackage() - * @model - * @generated - */ - EPackage getEPackage(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionPackage#getEPackage EPackage}' reference. - * - * - * @param value the new value of the 'EPackage' reference. - * @see #getEPackage() - * @generated - */ - void setEPackage(EPackage value); - -} // SiriusExpressionPackage diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusParameter.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusParameter.java deleted file mode 100644 index 6aab57425..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusParameter.java +++ /dev/null @@ -1,82 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Sirius Parameter'. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.sirius.expression.SiriusParameter#isOptional Optional}
                • - *
                • {@link org.eclipse.sirius.expression.SiriusParameter#getVariable Variable}
                • - *
                - * - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusParameter() - * @model - * @generated - */ -public interface SiriusParameter extends EObject { - /** - * Returns the value of the 'Optional' attribute. - * - *

                - * If the meaning of the 'Optional' attribute isn't clear, - * there really should be more of a description here... - *

                - * - * @return the value of the 'Optional' attribute. - * @see #setOptional(boolean) - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusParameter_Optional() - * @model - * @generated - */ - boolean isOptional(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusParameter#isOptional Optional}' attribute. - * - * - * @param value the new value of the 'Optional' attribute. - * @see #isOptional() - * @generated - */ - void setOptional(boolean value); - - /** - * Returns the value of the 'Variable' reference. - * - *

                - * If the meaning of the 'Variable' reference isn't clear, - * there really should be more of a description here... - *

                - * - * @return the value of the 'Variable' reference. - * @see #setVariable(SiriusVariable) - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusParameter_Variable() - * @model - * @generated - */ - SiriusVariable getVariable(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusParameter#getVariable Variable}' reference. - * - * - * @param value the new value of the 'Variable' reference. - * @see #getVariable() - * @generated - */ - void setVariable(SiriusVariable value); - -} // SiriusParameter diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusVariable.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusVariable.java deleted file mode 100644 index 6f8d422bd..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusVariable.java +++ /dev/null @@ -1,112 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression; - -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Sirius Variable'. - * - * - * - * Represents a variable. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.sirius.expression.SiriusVariable#getName Name}
                • - *
                • {@link org.eclipse.sirius.expression.SiriusVariable#getDocumentation Documentation}
                • - *
                • {@link org.eclipse.sirius.expression.SiriusVariable#getEType EType}
                • - *
                - * - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusVariable() - * @model - * @generated - */ -public interface SiriusVariable extends EObject { - /** - * Returns the value of the 'Name' attribute. - * - * - * - * Defines the name of the varriable. - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusVariable_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusVariable#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Documentation' attribute. - * - * - * - * Defines the documentation of the variables. - * - * @return the value of the 'Documentation' attribute. - * @see #setDocumentation(String) - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusVariable_Documentation() - * @model - * @generated - */ - String getDocumentation(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusVariable#getDocumentation Documentation}' attribute. - * - * - * @param value the new value of the 'Documentation' attribute. - * @see #getDocumentation() - * @generated - */ - void setDocumentation(String value); - - /** - * Returns the value of the 'EType' reference. - * - *

                - * If the meaning of the 'EType' reference isn't clear, - * there really should be more of a description here... - *

                - * - * @return the value of the 'EType' reference. - * @see #setEType(EClassifier) - * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusVariable_EType() - * @model - * @generated - */ - EClassifier getEType(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusVariable#getEType EType}' reference. - * - * - * @param value the new value of the 'EType' reference. - * @see #getEType() - * @generated - */ - void setEType(EClassifier value); - -} // SiriusVariable diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/UserDefinedVariable.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/UserDefinedVariable.java deleted file mode 100644 index ac0423264..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/UserDefinedVariable.java +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression; - - -/** - * - * A representation of the model object 'User Defined Variable'. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.sirius.expression.UserDefinedVariable#getValueExpression Value Expression}
                • - *
                - * - * @see org.eclipse.sirius.expression.ExpressionPackage#getUserDefinedVariable() - * @model - * @generated - */ -public interface UserDefinedVariable extends SiriusVariable { - /** - * Returns the value of the 'Value Expression' attribute. - * - *

                - * If the meaning of the 'Value Expression' attribute isn't clear, - * there really should be more of a description here... - *

                - * - * @return the value of the 'Value Expression' attribute. - * @see #setValueExpression(String) - * @see org.eclipse.sirius.expression.ExpressionPackage#getUserDefinedVariable_ValueExpression() - * @model dataType="org.eclipse.sirius.expression.Expression" - * @generated - */ - String getValueExpression(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.UserDefinedVariable#getValueExpression Value Expression}' attribute. - * - * - * @param value the new value of the 'Value Expression' attribute. - * @see #getValueExpression() - * @generated - */ - void setValueExpression(String value); - -} // UserDefinedVariable diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/Variable.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/Variable.java deleted file mode 100644 index a169b71fd..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/Variable.java +++ /dev/null @@ -1,84 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Variable'. - * - * - * - * Represents a variable. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.sirius.expression.Variable#getName Name}
                • - *
                • {@link org.eclipse.sirius.expression.Variable#getDocumentation Documentation}
                • - *
                - * - * @see org.eclipse.sirius.expression.ExpressionPackage#getVariable() - * @model - * @generated - */ -public interface Variable extends EObject { - /** - * Returns the value of the 'Name' attribute. - * - * - * - * Defines the name of the varriable. - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.sirius.expression.ExpressionPackage#getVariable_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.Variable#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Documentation' attribute. - * - * - * - * Defines the documentation of the variables. - * - * @return the value of the 'Documentation' attribute. - * @see #setDocumentation(String) - * @see org.eclipse.sirius.expression.ExpressionPackage#getVariable_Documentation() - * @model - * @generated - */ - String getDocumentation(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.expression.Variable#getDocumentation Documentation}' attribute. - * - * - * @param value the new value of the 'Documentation' attribute. - * @see #getDocumentation() - * @generated - */ - void setDocumentation(String value); - -} // Variable diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java deleted file mode 100644 index 35433f597..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java +++ /dev/null @@ -1,270 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.sirius.expression.*; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class ExpressionFactoryImpl extends EFactoryImpl implements ExpressionFactory { - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static ExpressionFactory init() { - try { - ExpressionFactory theExpressionFactory = (ExpressionFactory)EPackage.Registry.INSTANCE.getEFactory(ExpressionPackage.eNS_URI); - if (theExpressionFactory != null) { - return theExpressionFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new ExpressionFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public ExpressionFactoryImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE: return createSiriusExpressionPackage(); - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION: return createSiriusExpressionDescription(); - case ExpressionPackage.SIRIUS_VARIABLE: return createSiriusVariable(); - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS: return createSiriusExpressionClass(); - case ExpressionPackage.SIRIUS_PARAMETER: return createSiriusParameter(); - case ExpressionPackage.USER_DEFINED_VARIABLE: return createUserDefinedVariable(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case ExpressionPackage.VOID: - return createVoidFromString(eDataType, initialValue); - case ExpressionPackage.OBJECT: - return createObjectFromString(eDataType, initialValue); - case ExpressionPackage.PREDICATE: - return createPredicateFromString(eDataType, initialValue); - case ExpressionPackage.EXPRESSION: - return createExpressionFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case ExpressionPackage.VOID: - return convertVoidToString(eDataType, instanceValue); - case ExpressionPackage.OBJECT: - return convertObjectToString(eDataType, instanceValue); - case ExpressionPackage.PREDICATE: - return convertPredicateToString(eDataType, instanceValue); - case ExpressionPackage.EXPRESSION: - return convertExpressionToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * - * - * @generated - */ - public SiriusExpressionPackage createSiriusExpressionPackage() { - SiriusExpressionPackageImpl siriusExpressionPackage = new SiriusExpressionPackageImpl(); - return siriusExpressionPackage; - } - - /** - * - * - * @generated - */ - public SiriusExpressionDescription createSiriusExpressionDescription() { - SiriusExpressionDescriptionImpl siriusExpressionDescription = new SiriusExpressionDescriptionImpl(); - return siriusExpressionDescription; - } - - /** - * - * - * @generated - */ - public SiriusVariable createSiriusVariable() { - SiriusVariableImpl siriusVariable = new SiriusVariableImpl(); - return siriusVariable; - } - - /** - * - * - * @generated - */ - public SiriusExpressionClass createSiriusExpressionClass() { - SiriusExpressionClassImpl siriusExpressionClass = new SiriusExpressionClassImpl(); - return siriusExpressionClass; - } - - /** - * - * - * @generated - */ - public SiriusParameter createSiriusParameter() { - SiriusParameterImpl siriusParameter = new SiriusParameterImpl(); - return siriusParameter; - } - - /** - * - * - * @generated - */ - public UserDefinedVariable createUserDefinedVariable() { - UserDefinedVariableImpl userDefinedVariable = new UserDefinedVariableImpl(); - return userDefinedVariable; - } - - /** - * - * - * @generated - */ - public Void createVoidFromString(EDataType eDataType, String initialValue) { - return (Void)super.createFromString(eDataType, initialValue); - } - - /** - * - * - * @generated - */ - public String convertVoidToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * - * - * @generated - */ - public Object createObjectFromString(EDataType eDataType, String initialValue) { - return super.createFromString(eDataType, initialValue); - } - - /** - * - * - * @generated - */ - public String convertObjectToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * - * - * @generated - */ - public Object createPredicateFromString(EDataType eDataType, String initialValue) { - return super.createFromString(eDataType, initialValue); - } - - /** - * - * - * @generated - */ - public String convertPredicateToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * - * - * @generated - */ - public String createExpressionFromString(EDataType eDataType, String initialValue) { - return (String)super.createFromString(eDataType, initialValue); - } - - /** - * - * - * @generated - */ - public String convertExpressionToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * - * - * @generated - */ - public ExpressionPackage getExpressionPackage() { - return (ExpressionPackage)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static ExpressionPackage getPackage() { - return ExpressionPackage.eINSTANCE; - } - -} //ExpressionFactoryImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java deleted file mode 100644 index bf4a9e42f..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java +++ /dev/null @@ -1,548 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.EcorePackage; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.sirius.expression.ExpressionFactory; -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.SiriusExpressionClass; -import org.eclipse.sirius.expression.SiriusExpressionDescription; -import org.eclipse.sirius.expression.SiriusExpressionPackage; -import org.eclipse.sirius.expression.SiriusParameter; -import org.eclipse.sirius.expression.SiriusVariable; -import org.eclipse.sirius.expression.UserDefinedVariable; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPackage { - /** - * - * - * @generated - */ - private EClass siriusExpressionPackageEClass = null; - - /** - * - * - * @generated - */ - private EClass siriusExpressionDescriptionEClass = null; - - /** - * - * - * @generated - */ - private EClass siriusVariableEClass = null; - - /** - * - * - * @generated - */ - private EClass siriusExpressionClassEClass = null; - - /** - * - * - * @generated - */ - private EClass siriusParameterEClass = null; - - /** - * - * - * @generated - */ - private EClass userDefinedVariableEClass = null; - - /** - * - * - * @generated - */ - private EDataType voidEDataType = null; - - /** - * - * - * @generated - */ - private EDataType objectEDataType = null; - - /** - * - * - * @generated - */ - private EDataType predicateEDataType = null; - - /** - * - * - * @generated - */ - private EDataType expressionEDataType = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

                Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.sirius.expression.ExpressionPackage#eNS_URI - * @see #init() - * @generated - */ - private ExpressionPackageImpl() { - super(eNS_URI, ExpressionFactory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

                This method is used to initialize {@link ExpressionPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static ExpressionPackage init() { - if (isInited) return (ExpressionPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionPackage.eNS_URI); - - // Obtain or create and register package - ExpressionPackageImpl theExpressionPackage = (ExpressionPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ExpressionPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ExpressionPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - EcorePackage.eINSTANCE.eClass(); - - // Create package meta-data objects - theExpressionPackage.createPackageContents(); - - // Initialize created meta-data - theExpressionPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theExpressionPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(ExpressionPackage.eNS_URI, theExpressionPackage); - return theExpressionPackage; - } - - /** - * - * - * @generated - */ - public EClass getSiriusExpressionPackage() { - return siriusExpressionPackageEClass; - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionPackage_ExpressionClasses() { - return (EReference)siriusExpressionPackageEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionPackage_EPackage() { - return (EReference)siriusExpressionPackageEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getSiriusExpressionDescription() { - return siriusExpressionDescriptionEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getSiriusExpressionDescription_LowerBound() { - return (EAttribute)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getSiriusExpressionDescription_UpperBound() { - return (EAttribute)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionDescription_Expression() { - return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionDescription_Parameters() { - return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionDescription_ReturnType() { - return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionDescription_VariableContainers() { - return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - public EClass getSiriusVariable() { - return siriusVariableEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getSiriusVariable_Name() { - return (EAttribute)siriusVariableEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getSiriusVariable_Documentation() { - return (EAttribute)siriusVariableEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EReference getSiriusVariable_EType() { - return (EReference)siriusVariableEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EClass getSiriusExpressionClass() { - return siriusExpressionClassEClass; - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionClass_Variables() { - return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionClass_ExpressionDescriptions() { - return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EReference getSiriusExpressionClass_EClass() { - return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EClass getSiriusParameter() { - return siriusParameterEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getSiriusParameter_Optional() { - return (EAttribute)siriusParameterEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getSiriusParameter_Variable() { - return (EReference)siriusParameterEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getUserDefinedVariable() { - return userDefinedVariableEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getUserDefinedVariable_ValueExpression() { - return (EAttribute)userDefinedVariableEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EDataType getVoid() { - return voidEDataType; - } - - /** - * - * - * @generated - */ - public EDataType getObject() { - return objectEDataType; - } - - /** - * - * - * @generated - */ - public EDataType getPredicate() { - return predicateEDataType; - } - - /** - * - * - * @generated - */ - public EDataType getExpression() { - return expressionEDataType; - } - - /** - * - * - * @generated - */ - public ExpressionFactory getExpressionFactory() { - return (ExpressionFactory)getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - siriusExpressionPackageEClass = createEClass(SIRIUS_EXPRESSION_PACKAGE); - createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); - createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EPACKAGE); - - siriusExpressionDescriptionEClass = createEClass(SIRIUS_EXPRESSION_DESCRIPTION); - createEAttribute(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND); - createEAttribute(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND); - createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION); - createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS); - createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE); - createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS); - - siriusVariableEClass = createEClass(SIRIUS_VARIABLE); - createEAttribute(siriusVariableEClass, SIRIUS_VARIABLE__NAME); - createEAttribute(siriusVariableEClass, SIRIUS_VARIABLE__DOCUMENTATION); - createEReference(siriusVariableEClass, SIRIUS_VARIABLE__ETYPE); - - siriusExpressionClassEClass = createEClass(SIRIUS_EXPRESSION_CLASS); - createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__VARIABLES); - createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); - createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__ECLASS); - - siriusParameterEClass = createEClass(SIRIUS_PARAMETER); - createEAttribute(siriusParameterEClass, SIRIUS_PARAMETER__OPTIONAL); - createEReference(siriusParameterEClass, SIRIUS_PARAMETER__VARIABLE); - - userDefinedVariableEClass = createEClass(USER_DEFINED_VARIABLE); - createEAttribute(userDefinedVariableEClass, USER_DEFINED_VARIABLE__VALUE_EXPRESSION); - - // Create data types - voidEDataType = createEDataType(VOID); - objectEDataType = createEDataType(OBJECT); - predicateEDataType = createEDataType(PREDICATE); - expressionEDataType = createEDataType(EXPRESSION); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - userDefinedVariableEClass.getESuperTypes().add(this.getSiriusVariable()); - - // Initialize classes, features, and operations; add parameters - initEClass(siriusExpressionPackageEClass, SiriusExpressionPackage.class, "SiriusExpressionPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getSiriusExpressionPackage_ExpressionClasses(), this.getSiriusExpressionClass(), null, "expressionClasses", null, 0, -1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getSiriusExpressionPackage_EPackage(), theEcorePackage.getEPackage(), null, "ePackage", null, 0, 1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(siriusExpressionDescriptionEClass, SiriusExpressionDescription.class, "SiriusExpressionDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getSiriusExpressionDescription_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getSiriusExpressionDescription_UpperBound(), ecorePackage.getEInt(), "upperBound", "1", 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - initEReference(getSiriusExpressionDescription_Expression(), theEcorePackage.getEStructuralFeature(), null, "expression", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getSiriusExpressionDescription_Parameters(), this.getSiriusParameter(), null, "parameters", null, 0, -1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getSiriusExpressionDescription_ReturnType(), theEcorePackage.getEClassifier(), null, "returnType", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getSiriusExpressionDescription_VariableContainers(), theEcorePackage.getEClass(), null, "variableContainers", null, 0, -1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(siriusVariableEClass, SiriusVariable.class, "SiriusVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getSiriusVariable_Name(), ecorePackage.getEString(), "name", null, 0, 1, SiriusVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getSiriusVariable_Documentation(), ecorePackage.getEString(), "documentation", null, 0, 1, SiriusVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getSiriusVariable_EType(), theEcorePackage.getEClassifier(), null, "eType", null, 0, 1, SiriusVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(siriusExpressionClassEClass, SiriusExpressionClass.class, "SiriusExpressionClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getSiriusExpressionClass_Variables(), this.getSiriusVariable(), null, "variables", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getSiriusExpressionClass_ExpressionDescriptions(), this.getSiriusExpressionDescription(), null, "expressionDescriptions", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getSiriusExpressionClass_EClass(), theEcorePackage.getEClass(), null, "eClass", null, 0, 1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(siriusParameterEClass, SiriusParameter.class, "SiriusParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getSiriusParameter_Optional(), ecorePackage.getEBoolean(), "optional", null, 0, 1, SiriusParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getSiriusParameter_Variable(), this.getSiriusVariable(), null, "variable", null, 0, 1, SiriusParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(userDefinedVariableEClass, UserDefinedVariable.class, "UserDefinedVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getUserDefinedVariable_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, UserDefinedVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - // Initialize data types - initEDataType(voidEDataType, Void.class, "Void", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(objectEDataType, Object.class, "Object", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(predicateEDataType, Object.class, "Predicate", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(expressionEDataType, String.class, "Expression", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - // Create resource - createResource(eNS_URI); - } - -} //ExpressionPackageImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java deleted file mode 100644 index 48537ebd3..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java +++ /dev/null @@ -1,255 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.SiriusExpressionClass; -import org.eclipse.sirius.expression.SiriusExpressionDescription; -import org.eclipse.sirius.expression.SiriusVariable; - -/** - * - * An implementation of the model object 'Sirius Expression Class'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl#getVariables Variables}
                • - *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl#getExpressionDescriptions Expression Descriptions}
                • - *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl#getEClass EClass}
                • - *
                - * - * @generated - */ -public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container implements SiriusExpressionClass { - /** - * The cached value of the '{@link #getVariables() Variables}' containment reference list. - * - * - * @see #getVariables() - * @generated - * @ordered - */ - protected EList variables; - - /** - * The cached value of the '{@link #getExpressionDescriptions() Expression Descriptions}' containment reference list. - * - * - * @see #getExpressionDescriptions() - * @generated - * @ordered - */ - protected EList expressionDescriptions; - - /** - * The cached value of the '{@link #getEClass() EClass}' reference. - * - * - * @see #getEClass() - * @generated - * @ordered - */ - protected EClass eClass; - - /** - * - * - * @generated - */ - protected SiriusExpressionClassImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS; - } - - /** - * - * - * @generated - */ - public EList getVariables() { - if (variables == null) { - variables = new EObjectContainmentEList.Resolving(SiriusVariable.class, this, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES); - } - return variables; - } - - /** - * - * - * @generated - */ - public EList getExpressionDescriptions() { - if (expressionDescriptions == null) { - expressionDescriptions = new EObjectContainmentEList.Resolving(SiriusExpressionDescription.class, this, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); - } - return expressionDescriptions; - } - - /** - * - * - * @generated - */ - public EClass getEClass() { - if (eClass != null && eClass.eIsProxy()) { - InternalEObject oldEClass = (InternalEObject)eClass; - eClass = (EClass)eResolveProxy(oldEClass); - if (eClass != oldEClass) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS, oldEClass, eClass)); - } - } - return eClass; - } - - /** - * - * - * @generated - */ - public EClass basicGetEClass() { - return eClass; - } - - /** - * - * - * @generated - */ - public void setEClass(EClass newEClass) { - EClass oldEClass = eClass; - eClass = newEClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS, oldEClass, eClass)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - return ((InternalEList)getVariables()).basicRemove(otherEnd, msgs); - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - return ((InternalEList)getExpressionDescriptions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - return getVariables(); - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - return getExpressionDescriptions(); - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: - if (resolve) return getEClass(); - return basicGetEClass(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - getVariables().clear(); - getVariables().addAll((Collection)newValue); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - getExpressionDescriptions().clear(); - getExpressionDescriptions().addAll((Collection)newValue); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: - setEClass((EClass)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - getVariables().clear(); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - getExpressionDescriptions().clear(); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: - setEClass((EClass)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: - return variables != null && !variables.isEmpty(); - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: - return expressionDescriptions != null && !expressionDescriptions.isEmpty(); - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: - return eClass != null; - } - return super.eIsSet(featureID); - } - -} //SiriusExpressionClassImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionDescriptionImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionDescriptionImpl.java deleted file mode 100644 index 8c0eea732..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionDescriptionImpl.java +++ /dev/null @@ -1,438 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.SiriusExpressionDescription; -import org.eclipse.sirius.expression.SiriusParameter; - -/** - * - * An implementation of the model object 'Sirius Expression Description'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getLowerBound Lower Bound}
                • - *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getUpperBound Upper Bound}
                • - *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getExpression Expression}
                • - *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getParameters Parameters}
                • - *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getReturnType Return Type}
                • - *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getVariableContainers Variable Containers}
                • - *
                - * - * @generated - */ -public class SiriusExpressionDescriptionImpl extends MinimalEObjectImpl.Container implements SiriusExpressionDescription { - /** - * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected static final int LOWER_BOUND_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected int lowerBound = LOWER_BOUND_EDEFAULT; - - /** - * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected static final int UPPER_BOUND_EDEFAULT = 1; - - /** - * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected int upperBound = UPPER_BOUND_EDEFAULT; - - /** - * The cached value of the '{@link #getExpression() Expression}' reference. - * - * - * @see #getExpression() - * @generated - * @ordered - */ - protected EStructuralFeature expression; - - /** - * The cached value of the '{@link #getParameters() Parameters}' containment reference list. - * - * - * @see #getParameters() - * @generated - * @ordered - */ - protected EList parameters; - - /** - * The cached value of the '{@link #getReturnType() Return Type}' reference. - * - * - * @see #getReturnType() - * @generated - * @ordered - */ - protected EClassifier returnType; - - /** - * The cached value of the '{@link #getVariableContainers() Variable Containers}' reference list. - * - * - * @see #getVariableContainers() - * @generated - * @ordered - */ - protected EList variableContainers; - - /** - * - * - * @generated - */ - protected SiriusExpressionDescriptionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION; - } - - /** - * - * - * @generated - */ - public int getLowerBound() { - return lowerBound; - } - - /** - * - * - * @generated - */ - public void setLowerBound(int newLowerBound) { - int oldLowerBound = lowerBound; - lowerBound = newLowerBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND, oldLowerBound, lowerBound)); - } - - /** - * - * - * @generated - */ - public int getUpperBound() { - return upperBound; - } - - /** - * - * - * @generated - */ - public void setUpperBound(int newUpperBound) { - int oldUpperBound = upperBound; - upperBound = newUpperBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND, oldUpperBound, upperBound)); - } - - /** - * - * - * @generated - */ - public EStructuralFeature getExpression() { - if (expression != null && expression.eIsProxy()) { - InternalEObject oldExpression = (InternalEObject)expression; - expression = (EStructuralFeature)eResolveProxy(oldExpression); - if (expression != oldExpression) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); - } - } - return expression; - } - - /** - * - * - * @generated - */ - public EStructuralFeature basicGetExpression() { - return expression; - } - - /** - * - * - * @generated - */ - public void setExpression(EStructuralFeature newExpression) { - EStructuralFeature oldExpression = expression; - expression = newExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); - } - - /** - * - * - * @generated - */ - public EList getParameters() { - if (parameters == null) { - parameters = new EObjectContainmentEList.Resolving(SiriusParameter.class, this, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS); - } - return parameters; - } - - /** - * - * - * @generated - */ - public EClassifier getReturnType() { - if (returnType != null && returnType.eIsProxy()) { - InternalEObject oldReturnType = (InternalEObject)returnType; - returnType = (EClassifier)eResolveProxy(oldReturnType); - if (returnType != oldReturnType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE, oldReturnType, returnType)); - } - } - return returnType; - } - - /** - * - * - * @generated - */ - public EClassifier basicGetReturnType() { - return returnType; - } - - /** - * - * - * @generated - */ - public void setReturnType(EClassifier newReturnType) { - EClassifier oldReturnType = returnType; - returnType = newReturnType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE, oldReturnType, returnType)); - } - - /** - * - * - * @generated - */ - public EList getVariableContainers() { - if (variableContainers == null) { - variableContainers = new EObjectResolvingEList(EClass.class, this, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS); - } - return variableContainers; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: - return ((InternalEList)getParameters()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: - return getLowerBound(); - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: - return getUpperBound(); - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: - if (resolve) return getExpression(); - return basicGetExpression(); - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: - return getParameters(); - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE: - if (resolve) return getReturnType(); - return basicGetReturnType(); - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS: - return getVariableContainers(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: - setLowerBound((Integer)newValue); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: - setUpperBound((Integer)newValue); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: - setExpression((EStructuralFeature)newValue); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: - getParameters().clear(); - getParameters().addAll((Collection)newValue); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE: - setReturnType((EClassifier)newValue); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS: - getVariableContainers().clear(); - getVariableContainers().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: - setLowerBound(LOWER_BOUND_EDEFAULT); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: - setUpperBound(UPPER_BOUND_EDEFAULT); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: - setExpression((EStructuralFeature)null); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: - getParameters().clear(); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE: - setReturnType((EClassifier)null); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS: - getVariableContainers().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: - return lowerBound != LOWER_BOUND_EDEFAULT; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: - return upperBound != UPPER_BOUND_EDEFAULT; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: - return expression != null; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: - return parameters != null && !parameters.isEmpty(); - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE: - return returnType != null; - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS: - return variableContainers != null && !variableContainers.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (lowerBound: "); //$NON-NLS-1$ - result.append(lowerBound); - result.append(", upperBound: "); //$NON-NLS-1$ - result.append(upperBound); - result.append(')'); - return result.toString(); - } - -} //SiriusExpressionDescriptionImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionPackageImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionPackageImpl.java deleted file mode 100644 index 79687b3b5..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionPackageImpl.java +++ /dev/null @@ -1,220 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.SiriusExpressionClass; -import org.eclipse.sirius.expression.SiriusExpressionPackage; - -/** - * - * An implementation of the model object 'Sirius Expression Package'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl#getExpressionClasses Expression Classes}
                • - *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl#getEPackage EPackage}
                • - *
                - * - * @generated - */ -public class SiriusExpressionPackageImpl extends MinimalEObjectImpl.Container implements SiriusExpressionPackage { - /** - * The cached value of the '{@link #getExpressionClasses() Expression Classes}' containment reference list. - * - * - * @see #getExpressionClasses() - * @generated - * @ordered - */ - protected EList expressionClasses; - - /** - * The cached value of the '{@link #getEPackage() EPackage}' reference. - * - * - * @see #getEPackage() - * @generated - * @ordered - */ - protected EPackage ePackage; - - /** - * - * - * @generated - */ - protected SiriusExpressionPackageImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE; - } - - /** - * - * - * @generated - */ - public EList getExpressionClasses() { - if (expressionClasses == null) { - expressionClasses = new EObjectContainmentEList.Resolving(SiriusExpressionClass.class, this, ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); - } - return expressionClasses; - } - - /** - * - * - * @generated - */ - public EPackage getEPackage() { - if (ePackage != null && ePackage.eIsProxy()) { - InternalEObject oldEPackage = (InternalEObject)ePackage; - ePackage = (EPackage)eResolveProxy(oldEPackage); - if (ePackage != oldEPackage) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, oldEPackage, ePackage)); - } - } - return ePackage; - } - - /** - * - * - * @generated - */ - public EPackage basicGetEPackage() { - return ePackage; - } - - /** - * - * - * @generated - */ - public void setEPackage(EPackage newEPackage) { - EPackage oldEPackage = ePackage; - ePackage = newEPackage; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, oldEPackage, ePackage)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - return ((InternalEList)getExpressionClasses()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - return getExpressionClasses(); - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: - if (resolve) return getEPackage(); - return basicGetEPackage(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - getExpressionClasses().clear(); - getExpressionClasses().addAll((Collection)newValue); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: - setEPackage((EPackage)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - getExpressionClasses().clear(); - return; - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: - setEPackage((EPackage)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: - return expressionClasses != null && !expressionClasses.isEmpty(); - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: - return ePackage != null; - } - return super.eIsSet(featureID); - } - -} //SiriusExpressionPackageImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusParameterImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusParameterImpl.java deleted file mode 100644 index e14414316..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusParameterImpl.java +++ /dev/null @@ -1,230 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.SiriusParameter; -import org.eclipse.sirius.expression.SiriusVariable; - -/** - * - * An implementation of the model object 'Sirius Parameter'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.sirius.expression.impl.SiriusParameterImpl#isOptional Optional}
                • - *
                • {@link org.eclipse.sirius.expression.impl.SiriusParameterImpl#getVariable Variable}
                • - *
                - * - * @generated - */ -public class SiriusParameterImpl extends MinimalEObjectImpl.Container implements SiriusParameter { - /** - * The default value of the '{@link #isOptional() Optional}' attribute. - * - * - * @see #isOptional() - * @generated - * @ordered - */ - protected static final boolean OPTIONAL_EDEFAULT = false; - - /** - * The cached value of the '{@link #isOptional() Optional}' attribute. - * - * - * @see #isOptional() - * @generated - * @ordered - */ - protected boolean optional = OPTIONAL_EDEFAULT; - - /** - * The cached value of the '{@link #getVariable() Variable}' reference. - * - * - * @see #getVariable() - * @generated - * @ordered - */ - protected SiriusVariable variable; - - /** - * - * - * @generated - */ - protected SiriusParameterImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ExpressionPackage.Literals.SIRIUS_PARAMETER; - } - - /** - * - * - * @generated - */ - public boolean isOptional() { - return optional; - } - - /** - * - * - * @generated - */ - public void setOptional(boolean newOptional) { - boolean oldOptional = optional; - optional = newOptional; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL, oldOptional, optional)); - } - - /** - * - * - * @generated - */ - public SiriusVariable getVariable() { - if (variable != null && variable.eIsProxy()) { - InternalEObject oldVariable = (InternalEObject)variable; - variable = (SiriusVariable)eResolveProxy(oldVariable); - if (variable != oldVariable) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_PARAMETER__VARIABLE, oldVariable, variable)); - } - } - return variable; - } - - /** - * - * - * @generated - */ - public SiriusVariable basicGetVariable() { - return variable; - } - - /** - * - * - * @generated - */ - public void setVariable(SiriusVariable newVariable) { - SiriusVariable oldVariable = variable; - variable = newVariable; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_PARAMETER__VARIABLE, oldVariable, variable)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL: - return isOptional(); - case ExpressionPackage.SIRIUS_PARAMETER__VARIABLE: - if (resolve) return getVariable(); - return basicGetVariable(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL: - setOptional((Boolean)newValue); - return; - case ExpressionPackage.SIRIUS_PARAMETER__VARIABLE: - setVariable((SiriusVariable)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL: - setOptional(OPTIONAL_EDEFAULT); - return; - case ExpressionPackage.SIRIUS_PARAMETER__VARIABLE: - setVariable((SiriusVariable)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL: - return optional != OPTIONAL_EDEFAULT; - case ExpressionPackage.SIRIUS_PARAMETER__VARIABLE: - return variable != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (optional: "); //$NON-NLS-1$ - result.append(optional); - result.append(')'); - return result.toString(); - } - -} //SiriusParameterImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusVariableImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusVariableImpl.java deleted file mode 100644 index 283c24631..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusVariableImpl.java +++ /dev/null @@ -1,284 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.SiriusVariable; - -/** - * - * An implementation of the model object 'Sirius Variable'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.sirius.expression.impl.SiriusVariableImpl#getName Name}
                • - *
                • {@link org.eclipse.sirius.expression.impl.SiriusVariableImpl#getDocumentation Documentation}
                • - *
                • {@link org.eclipse.sirius.expression.impl.SiriusVariableImpl#getEType EType}
                • - *
                - * - * @generated - */ -public class SiriusVariableImpl extends MinimalEObjectImpl.Container implements SiriusVariable { - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getDocumentation() Documentation}' attribute. - * - * - * @see #getDocumentation() - * @generated - * @ordered - */ - protected static final String DOCUMENTATION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDocumentation() Documentation}' attribute. - * - * - * @see #getDocumentation() - * @generated - * @ordered - */ - protected String documentation = DOCUMENTATION_EDEFAULT; - - /** - * The cached value of the '{@link #getEType() EType}' reference. - * - * - * @see #getEType() - * @generated - * @ordered - */ - protected EClassifier eType; - - /** - * - * - * @generated - */ - protected SiriusVariableImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ExpressionPackage.Literals.SIRIUS_VARIABLE; - } - - /** - * - * - * @generated - */ - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_VARIABLE__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - public String getDocumentation() { - return documentation; - } - - /** - * - * - * @generated - */ - public void setDocumentation(String newDocumentation) { - String oldDocumentation = documentation; - documentation = newDocumentation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION, oldDocumentation, documentation)); - } - - /** - * - * - * @generated - */ - public EClassifier getEType() { - if (eType != null && eType.eIsProxy()) { - InternalEObject oldEType = (InternalEObject)eType; - eType = (EClassifier)eResolveProxy(oldEType); - if (eType != oldEType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_VARIABLE__ETYPE, oldEType, eType)); - } - } - return eType; - } - - /** - * - * - * @generated - */ - public EClassifier basicGetEType() { - return eType; - } - - /** - * - * - * @generated - */ - public void setEType(EClassifier newEType) { - EClassifier oldEType = eType; - eType = newEType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_VARIABLE__ETYPE, oldEType, eType)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ExpressionPackage.SIRIUS_VARIABLE__NAME: - return getName(); - case ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION: - return getDocumentation(); - case ExpressionPackage.SIRIUS_VARIABLE__ETYPE: - if (resolve) return getEType(); - return basicGetEType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ExpressionPackage.SIRIUS_VARIABLE__NAME: - setName((String)newValue); - return; - case ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION: - setDocumentation((String)newValue); - return; - case ExpressionPackage.SIRIUS_VARIABLE__ETYPE: - setEType((EClassifier)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ExpressionPackage.SIRIUS_VARIABLE__NAME: - setName(NAME_EDEFAULT); - return; - case ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION: - setDocumentation(DOCUMENTATION_EDEFAULT); - return; - case ExpressionPackage.SIRIUS_VARIABLE__ETYPE: - setEType((EClassifier)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ExpressionPackage.SIRIUS_VARIABLE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION: - return DOCUMENTATION_EDEFAULT == null ? documentation != null : !DOCUMENTATION_EDEFAULT.equals(documentation); - case ExpressionPackage.SIRIUS_VARIABLE__ETYPE: - return eType != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); //$NON-NLS-1$ - result.append(name); - result.append(", documentation: "); //$NON-NLS-1$ - result.append(documentation); - result.append(')'); - return result.toString(); - } - -} //SiriusVariableImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/UserDefinedVariableImpl.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/UserDefinedVariableImpl.java deleted file mode 100644 index 599b57c23..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/UserDefinedVariableImpl.java +++ /dev/null @@ -1,167 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.sirius.expression.ExpressionPackage; -import org.eclipse.sirius.expression.UserDefinedVariable; - -/** - * - * An implementation of the model object 'User Defined Variable'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.sirius.expression.impl.UserDefinedVariableImpl#getValueExpression Value Expression}
                • - *
                - * - * @generated - */ -public class UserDefinedVariableImpl extends SiriusVariableImpl implements UserDefinedVariable { - /** - * The default value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected static final String VALUE_EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. - * - * - * @see #getValueExpression() - * @generated - * @ordered - */ - protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; - - /** - * - * - * @generated - */ - protected UserDefinedVariableImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ExpressionPackage.Literals.USER_DEFINED_VARIABLE; - } - - /** - * - * - * @generated - */ - public String getValueExpression() { - return valueExpression; - } - - /** - * - * - * @generated - */ - public void setValueExpression(String newValueExpression) { - String oldValueExpression = valueExpression; - valueExpression = newValueExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION, oldValueExpression, valueExpression)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION: - return getValueExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION: - setValueExpression((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION: - setValueExpression(VALUE_EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION: - return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (valueExpression: "); //$NON-NLS-1$ - result.append(valueExpression); - result.append(')'); - return result.toString(); - } - -} //UserDefinedVariableImpl diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java deleted file mode 100644 index 79aac7ba5..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java +++ /dev/null @@ -1,215 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.sirius.expression.*; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see org.eclipse.sirius.expression.ExpressionPackage - * @generated - */ -public class ExpressionAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * - * - * @generated - */ - protected static ExpressionPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public ExpressionAdapterFactory() { - if (modelPackage == null) { - modelPackage = ExpressionPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected ExpressionSwitch modelSwitch = - new ExpressionSwitch() { - @Override - public Adapter caseSiriusExpressionPackage(SiriusExpressionPackage object) { - return createSiriusExpressionPackageAdapter(); - } - @Override - public Adapter caseSiriusExpressionDescription(SiriusExpressionDescription object) { - return createSiriusExpressionDescriptionAdapter(); - } - @Override - public Adapter caseSiriusVariable(SiriusVariable object) { - return createSiriusVariableAdapter(); - } - @Override - public Adapter caseSiriusExpressionClass(SiriusExpressionClass object) { - return createSiriusExpressionClassAdapter(); - } - @Override - public Adapter caseSiriusParameter(SiriusParameter object) { - return createSiriusParameterAdapter(); - } - @Override - public Adapter caseUserDefinedVariable(UserDefinedVariable object) { - return createUserDefinedVariableAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.SiriusExpressionPackage Sirius Expression Package}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.expression.SiriusExpressionPackage - * @generated - */ - public Adapter createSiriusExpressionPackageAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.SiriusExpressionDescription Sirius Expression Description}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.expression.SiriusExpressionDescription - * @generated - */ - public Adapter createSiriusExpressionDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.SiriusVariable Sirius Variable}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.expression.SiriusVariable - * @generated - */ - public Adapter createSiriusVariableAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.SiriusExpressionClass Sirius Expression Class}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.expression.SiriusExpressionClass - * @generated - */ - public Adapter createSiriusExpressionClassAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.SiriusParameter Sirius Parameter}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.expression.SiriusParameter - * @generated - */ - public Adapter createSiriusParameterAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.UserDefinedVariable User Defined Variable}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.expression.UserDefinedVariable - * @generated - */ - public Adapter createUserDefinedVariableAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //ExpressionAdapterFactory diff --git a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java b/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java deleted file mode 100644 index b43178246..000000000 --- a/plugins/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java +++ /dev/null @@ -1,221 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - */ -package org.eclipse.sirius.expression.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.sirius.expression.*; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see org.eclipse.sirius.expression.ExpressionPackage - * @generated - */ -public class ExpressionSwitch extends Switch { - /** - * The cached model package - * - * - * @generated - */ - protected static ExpressionPackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public ExpressionSwitch() { - if (modelPackage == null) { - modelPackage = ExpressionPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE: { - SiriusExpressionPackage siriusExpressionPackage = (SiriusExpressionPackage)theEObject; - T result = caseSiriusExpressionPackage(siriusExpressionPackage); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION: { - SiriusExpressionDescription siriusExpressionDescription = (SiriusExpressionDescription)theEObject; - T result = caseSiriusExpressionDescription(siriusExpressionDescription); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ExpressionPackage.SIRIUS_VARIABLE: { - SiriusVariable siriusVariable = (SiriusVariable)theEObject; - T result = caseSiriusVariable(siriusVariable); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ExpressionPackage.SIRIUS_EXPRESSION_CLASS: { - SiriusExpressionClass siriusExpressionClass = (SiriusExpressionClass)theEObject; - T result = caseSiriusExpressionClass(siriusExpressionClass); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ExpressionPackage.SIRIUS_PARAMETER: { - SiriusParameter siriusParameter = (SiriusParameter)theEObject; - T result = caseSiriusParameter(siriusParameter); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ExpressionPackage.USER_DEFINED_VARIABLE: { - UserDefinedVariable userDefinedVariable = (UserDefinedVariable)theEObject; - T result = caseUserDefinedVariable(userDefinedVariable); - if (result == null) result = caseSiriusVariable(userDefinedVariable); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Sirius Expression Package'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Sirius Expression Package'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSiriusExpressionPackage(SiriusExpressionPackage object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Sirius Expression Description'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Sirius Expression Description'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSiriusExpressionDescription(SiriusExpressionDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Sirius Variable'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Sirius Variable'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSiriusVariable(SiriusVariable object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Sirius Expression Class'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Sirius Expression Class'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSiriusExpressionClass(SiriusExpressionClass object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Sirius Parameter'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Sirius Parameter'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSiriusParameter(SiriusParameter object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'User Defined Variable'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'User Defined Variable'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseUserDefinedVariable(UserDefinedVariable object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //ExpressionSwitch diff --git a/plugins/org.eclipse.sirius.validation/.classpath b/plugins/org.eclipse.sirius.validation/.classpath deleted file mode 100644 index e4dad7e73..000000000 --- a/plugins/org.eclipse.sirius.validation/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/plugins/org.eclipse.sirius.validation/.project b/plugins/org.eclipse.sirius.validation/.project deleted file mode 100644 index c608d966d..000000000 --- a/plugins/org.eclipse.sirius.validation/.project +++ /dev/null @@ -1,29 +0,0 @@ - - - org.eclipse.sirius.validation - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.sirius.nature.modelingproject - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - - diff --git a/plugins/org.eclipse.sirius.validation/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.validation/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index c537b6306..000000000 --- a/plugins/org.eclipse.sirius.validation/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.6 diff --git a/plugins/org.eclipse.sirius.validation/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.validation/META-INF/MANIFEST.MF deleted file mode 100644 index b8eda7112..000000000 --- a/plugins/org.eclipse.sirius.validation/META-INF/MANIFEST.MF +++ /dev/null @@ -1,15 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.sirius.validation;singleton:=true -Bundle-Version: 0.1.0.qualifier -Bundle-ClassPath: . -Bundle-Vendor: %providerName -Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Export-Package: org.eclipse.sirius.validation, - org.eclipse.sirius.validation.impl, - org.eclipse.sirius.validation.util -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.emf.ecore;visibility:=reexport -Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.validation/about.html b/plugins/org.eclipse.sirius.validation/about.html deleted file mode 100644 index f3a55ce5f..000000000 --- a/plugins/org.eclipse.sirius.validation/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

                About This Content

                - -

                June 15, 2010

                -

                License

                - -

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

                - -

                If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

                - - - \ No newline at end of file diff --git a/plugins/org.eclipse.sirius.validation/build.properties b/plugins/org.eclipse.sirius.validation/build.properties deleted file mode 100644 index 7d34bdaed..000000000 --- a/plugins/org.eclipse.sirius.validation/build.properties +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm -# Contributors: Obeo - initial API and implementation - -bin.includes = .,\ - model/,\ - META-INF/,\ - plugin.xml,\ - plugin.properties -jars.compile.order = . -source.. = src-gen/ -output.. = bin/ diff --git a/plugins/org.eclipse.sirius.validation/model/validation.aird b/plugins/org.eclipse.sirius.validation/model/validation.aird deleted file mode 100644 index 297210e95..000000000 --- a/plugins/org.eclipse.sirius.validation/model/validation.aird +++ /dev/null @@ -1,223 +0,0 @@ - - - validation.ecore - validation.genmodel - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - italic - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.validation/model/validation.ecore b/plugins/org.eclipse.sirius.validation/model/validation.ecore deleted file mode 100644 index b5b5a53db..000000000 --- a/plugins/org.eclipse.sirius.validation/model/validation.ecore +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.validation/model/validation.genmodel b/plugins/org.eclipse.sirius.validation/model/validation.genmodel deleted file mode 100644 index 1e273a95a..000000000 --- a/plugins/org.eclipse.sirius.validation/model/validation.genmodel +++ /dev/null @@ -1,25 +0,0 @@ - - - validation.ecore - - - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.validation/plugin.properties b/plugins/org.eclipse.sirius.validation/plugin.properties deleted file mode 100644 index b0b3da23c..000000000 --- a/plugins/org.eclipse.sirius.validation/plugin.properties +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm -# Contributors: Obeo - initial API and implementation - -pluginName = Validation Model -providerName = www.example.org diff --git a/plugins/org.eclipse.sirius.validation/plugin.xml b/plugins/org.eclipse.sirius.validation/plugin.xml deleted file mode 100644 index 3dd09b1f9..000000000 --- a/plugins/org.eclipse.sirius.validation/plugin.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/Severity.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/Severity.java deleted file mode 100644 index e71f44a3d..000000000 --- a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/Severity.java +++ /dev/null @@ -1,274 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.validation; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * - * A representation of the literals of the enumeration 'Severity', - * and utility methods for working with them. - * - * @see org.eclipse.sirius.validation.ValidationPackage#getSeverity() - * @model - * @generated - */ -public enum Severity implements Enumerator { - /** - * The 'INFO' literal object. - * - * - * @see #INFO_VALUE - * @generated - * @ordered - */ - INFO(0, "INFO", "INFO"), - - /** - * The 'WARNING' literal object. - * - * - * @see #WARNING_VALUE - * @generated - * @ordered - */ - WARNING(1, "WARNING", "WARNING"), - - /** - * The 'ERROR' literal object. - * - * - * @see #ERROR_VALUE - * @generated - * @ordered - */ - ERROR(2, "ERROR", "ERROR"), - - /** - * The 'CANCEL' literal object. - * - * - * @see #CANCEL_VALUE - * @generated - * @ordered - */ - CANCEL(3, "CANCEL", "CANCEL"); - - /** - * The 'INFO' literal value. - * - *

                - * If the meaning of 'INFO' literal object isn't clear, - * there really should be more of a description here... - *

                - * - * @see #INFO - * @model - * @generated - * @ordered - */ - public static final int INFO_VALUE = 0; - - /** - * The 'WARNING' literal value. - * - *

                - * If the meaning of 'WARNING' literal object isn't clear, - * there really should be more of a description here... - *

                - * - * @see #WARNING - * @model - * @generated - * @ordered - */ - public static final int WARNING_VALUE = 1; - - /** - * The 'ERROR' literal value. - * - *

                - * If the meaning of 'ERROR' literal object isn't clear, - * there really should be more of a description here... - *

                - * - * @see #ERROR - * @model - * @generated - * @ordered - */ - public static final int ERROR_VALUE = 2; - - /** - * The 'CANCEL' literal value. - * - *

                - * If the meaning of 'CANCEL' literal object isn't clear, - * there really should be more of a description here... - *

                - * - * @see #CANCEL - * @model - * @generated - * @ordered - */ - public static final int CANCEL_VALUE = 3; - - /** - * An array of all the 'Severity' enumerators. - * - * - * @generated - */ - private static final Severity[] VALUES_ARRAY = - new Severity[] { - INFO, - WARNING, - ERROR, - CANCEL, - }; - - /** - * A public read-only list of all the 'Severity' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Severity' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static Severity get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - Severity result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Severity' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static Severity getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - Severity result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Severity' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static Severity get(int value) { - switch (value) { - case INFO_VALUE: return INFO; - case WARNING_VALUE: return WARNING; - case ERROR_VALUE: return ERROR; - case CANCEL_VALUE: return CANCEL; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private Severity(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() { - return value; - } - - /** - * - * - * @generated - */ - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //Severity diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/SiriusStatus.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/SiriusStatus.java deleted file mode 100644 index 2efac426b..000000000 --- a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/SiriusStatus.java +++ /dev/null @@ -1,113 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.validation; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Sirius Status'. - * - * - *

                - * The following features are supported: - *

                - *
                  - *
                • {@link org.eclipse.sirius.validation.SiriusStatus#getMessage Message}
                • - *
                • {@link org.eclipse.sirius.validation.SiriusStatus#getSeverity Severity}
                • - *
                • {@link org.eclipse.sirius.validation.SiriusStatus#getException Exception}
                • - *
                - * - * @see org.eclipse.sirius.validation.ValidationPackage#getSiriusStatus() - * @model - * @generated - */ -public interface SiriusStatus extends EObject { - /** - * Returns the value of the 'Message' attribute. - * - *

                - * If the meaning of the 'Message' attribute isn't clear, - * there really should be more of a description here... - *

                - * - * @return the value of the 'Message' attribute. - * @see #setMessage(String) - * @see org.eclipse.sirius.validation.ValidationPackage#getSiriusStatus_Message() - * @model - * @generated - */ - String getMessage(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.validation.SiriusStatus#getMessage Message}' attribute. - * - * - * @param value the new value of the 'Message' attribute. - * @see #getMessage() - * @generated - */ - void setMessage(String value); - - /** - * Returns the value of the 'Severity' attribute. - * The literals are from the enumeration {@link org.eclipse.sirius.validation.Severity}. - * - *

                - * If the meaning of the 'Severity' attribute isn't clear, - * there really should be more of a description here... - *

                - * - * @return the value of the 'Severity' attribute. - * @see org.eclipse.sirius.validation.Severity - * @see #setSeverity(Severity) - * @see org.eclipse.sirius.validation.ValidationPackage#getSiriusStatus_Severity() - * @model - * @generated - */ - Severity getSeverity(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.validation.SiriusStatus#getSeverity Severity}' attribute. - * - * - * @param value the new value of the 'Severity' attribute. - * @see org.eclipse.sirius.validation.Severity - * @see #getSeverity() - * @generated - */ - void setSeverity(Severity value); - - /** - * Returns the value of the 'Exception' attribute. - * - *

                - * If the meaning of the 'Exception' attribute isn't clear, - * there really should be more of a description here... - *

                - * - * @return the value of the 'Exception' attribute. - * @see #setException(Object) - * @see org.eclipse.sirius.validation.ValidationPackage#getSiriusStatus_Exception() - * @model dataType="org.eclipse.sirius.validation.SiriusException" - * @generated - */ - Object getException(); - - /** - * Sets the value of the '{@link org.eclipse.sirius.validation.SiriusStatus#getException Exception}' attribute. - * - * - * @param value the new value of the 'Exception' attribute. - * @see #getException() - * @generated - */ - void setException(Object value); - -} // SiriusStatus diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationFactory.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationFactory.java deleted file mode 100644 index f893788e1..000000000 --- a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationFactory.java +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.validation; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.sirius.validation.ValidationPackage - * @generated - */ -public interface ValidationFactory extends EFactory { - /** - * The singleton instance of the factory. - * - * - * @generated - */ - ValidationFactory eINSTANCE = org.eclipse.sirius.validation.impl.ValidationFactoryImpl.init(); - - /** - * Returns a new object of class 'Sirius Status'. - * - * - * @return a new object of class 'Sirius Status'. - * @generated - */ - SiriusStatus createSiriusStatus(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - ValidationPackage getValidationPackage(); - -} //ValidationFactory diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationPackage.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationPackage.java deleted file mode 100644 index fe3b275c8..000000000 --- a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationPackage.java +++ /dev/null @@ -1,285 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.validation; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
                  - *
                • each class,
                • - *
                • each feature of each class,
                • - *
                • each operation of each class,
                • - *
                • each enum,
                • - *
                • and each data type
                • - *
                - * - * @see org.eclipse.sirius.validation.ValidationFactory - * @model kind="package" - * @generated - */ -public interface ValidationPackage extends EPackage { - /** - * The package name. - * - * - * @generated - */ - String eNAME = "validation"; - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "http://www.eclipse.org/sirius/validation"; - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "validation"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - ValidationPackage eINSTANCE = org.eclipse.sirius.validation.impl.ValidationPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.sirius.validation.impl.SiriusStatusImpl Sirius Status}' class. - * - * - * @see org.eclipse.sirius.validation.impl.SiriusStatusImpl - * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSiriusStatus() - * @generated - */ - int SIRIUS_STATUS = 0; - - /** - * The feature id for the 'Message' attribute. - * - * - * @generated - * @ordered - */ - int SIRIUS_STATUS__MESSAGE = 0; - - /** - * The feature id for the 'Severity' attribute. - * - * - * @generated - * @ordered - */ - int SIRIUS_STATUS__SEVERITY = 1; - - /** - * The feature id for the 'Exception' attribute. - * - * - * @generated - * @ordered - */ - int SIRIUS_STATUS__EXCEPTION = 2; - - /** - * The number of structural features of the 'Sirius Status' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_STATUS_FEATURE_COUNT = 3; - - /** - * The number of operations of the 'Sirius Status' class. - * - * - * @generated - * @ordered - */ - int SIRIUS_STATUS_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.sirius.validation.Severity Severity}' enum. - * - * - * @see org.eclipse.sirius.validation.Severity - * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSeverity() - * @generated - */ - int SEVERITY = 1; - - /** - * The meta object id for the 'Sirius Exception' data type. - * - * - * @see java.lang.Object - * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSiriusException() - * @generated - */ - int SIRIUS_EXCEPTION = 2; - - - /** - * Returns the meta object for class '{@link org.eclipse.sirius.validation.SiriusStatus Sirius Status}'. - * - * - * @return the meta object for class 'Sirius Status'. - * @see org.eclipse.sirius.validation.SiriusStatus - * @generated - */ - EClass getSiriusStatus(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.validation.SiriusStatus#getMessage Message}'. - * - * - * @return the meta object for the attribute 'Message'. - * @see org.eclipse.sirius.validation.SiriusStatus#getMessage() - * @see #getSiriusStatus() - * @generated - */ - EAttribute getSiriusStatus_Message(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.validation.SiriusStatus#getSeverity Severity}'. - * - * - * @return the meta object for the attribute 'Severity'. - * @see org.eclipse.sirius.validation.SiriusStatus#getSeverity() - * @see #getSiriusStatus() - * @generated - */ - EAttribute getSiriusStatus_Severity(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.sirius.validation.SiriusStatus#getException Exception}'. - * - * - * @return the meta object for the attribute 'Exception'. - * @see org.eclipse.sirius.validation.SiriusStatus#getException() - * @see #getSiriusStatus() - * @generated - */ - EAttribute getSiriusStatus_Exception(); - - /** - * Returns the meta object for enum '{@link org.eclipse.sirius.validation.Severity Severity}'. - * - * - * @return the meta object for enum 'Severity'. - * @see org.eclipse.sirius.validation.Severity - * @generated - */ - EEnum getSeverity(); - - /** - * Returns the meta object for data type '{@link java.lang.Object Sirius Exception}'. - * - * - * @return the meta object for data type 'Sirius Exception'. - * @see java.lang.Object - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getSiriusException(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - ValidationFactory getValidationFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
                  - *
                • each class,
                • - *
                • each feature of each class,
                • - *
                • each operation of each class,
                • - *
                • each enum,
                • - *
                • and each data type
                • - *
                - * - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.sirius.validation.impl.SiriusStatusImpl Sirius Status}' class. - * - * - * @see org.eclipse.sirius.validation.impl.SiriusStatusImpl - * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSiriusStatus() - * @generated - */ - EClass SIRIUS_STATUS = eINSTANCE.getSiriusStatus(); - - /** - * The meta object literal for the 'Message' attribute feature. - * - * - * @generated - */ - EAttribute SIRIUS_STATUS__MESSAGE = eINSTANCE.getSiriusStatus_Message(); - - /** - * The meta object literal for the 'Severity' attribute feature. - * - * - * @generated - */ - EAttribute SIRIUS_STATUS__SEVERITY = eINSTANCE.getSiriusStatus_Severity(); - - /** - * The meta object literal for the 'Exception' attribute feature. - * - * - * @generated - */ - EAttribute SIRIUS_STATUS__EXCEPTION = eINSTANCE.getSiriusStatus_Exception(); - - /** - * The meta object literal for the '{@link org.eclipse.sirius.validation.Severity Severity}' enum. - * - * - * @see org.eclipse.sirius.validation.Severity - * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSeverity() - * @generated - */ - EEnum SEVERITY = eINSTANCE.getSeverity(); - - /** - * The meta object literal for the 'Sirius Exception' data type. - * - * - * @see java.lang.Object - * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSiriusException() - * @generated - */ - EDataType SIRIUS_EXCEPTION = eINSTANCE.getSiriusException(); - - } - -} //ValidationPackage diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/SiriusStatusImpl.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/SiriusStatusImpl.java deleted file mode 100644 index 8ff32c20b..000000000 --- a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/SiriusStatusImpl.java +++ /dev/null @@ -1,268 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.validation.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.sirius.validation.Severity; -import org.eclipse.sirius.validation.SiriusStatus; -import org.eclipse.sirius.validation.ValidationPackage; - -/** - * - * An implementation of the model object 'Sirius Status'. - * - *

                - * The following features are implemented: - *

                - *
                  - *
                • {@link org.eclipse.sirius.validation.impl.SiriusStatusImpl#getMessage Message}
                • - *
                • {@link org.eclipse.sirius.validation.impl.SiriusStatusImpl#getSeverity Severity}
                • - *
                • {@link org.eclipse.sirius.validation.impl.SiriusStatusImpl#getException Exception}
                • - *
                - * - * @generated - */ -public class SiriusStatusImpl extends MinimalEObjectImpl.Container implements SiriusStatus { - /** - * The default value of the '{@link #getMessage() Message}' attribute. - * - * - * @see #getMessage() - * @generated - * @ordered - */ - protected static final String MESSAGE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMessage() Message}' attribute. - * - * - * @see #getMessage() - * @generated - * @ordered - */ - protected String message = MESSAGE_EDEFAULT; - - /** - * The default value of the '{@link #getSeverity() Severity}' attribute. - * - * - * @see #getSeverity() - * @generated - * @ordered - */ - protected static final Severity SEVERITY_EDEFAULT = Severity.INFO; - - /** - * The cached value of the '{@link #getSeverity() Severity}' attribute. - * - * - * @see #getSeverity() - * @generated - * @ordered - */ - protected Severity severity = SEVERITY_EDEFAULT; - - /** - * The cached value of the '{@link #getException() Exception}' attribute. - * - * - * @see #getException() - * @generated - * @ordered - */ - protected Object exception; - - /** - * - * - * @generated - */ - protected SiriusStatusImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return ValidationPackage.Literals.SIRIUS_STATUS; - } - - /** - * - * - * @generated - */ - public String getMessage() { - return message; - } - - /** - * - * - * @generated - */ - public void setMessage(String newMessage) { - String oldMessage = message; - message = newMessage; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ValidationPackage.SIRIUS_STATUS__MESSAGE, oldMessage, message)); - } - - /** - * - * - * @generated - */ - public Severity getSeverity() { - return severity; - } - - /** - * - * - * @generated - */ - public void setSeverity(Severity newSeverity) { - Severity oldSeverity = severity; - severity = newSeverity == null ? SEVERITY_EDEFAULT : newSeverity; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ValidationPackage.SIRIUS_STATUS__SEVERITY, oldSeverity, severity)); - } - - /** - * - * - * @generated - */ - public Object getException() { - return exception; - } - - /** - * - * - * @generated - */ - public void setException(Object newException) { - Object oldException = exception; - exception = newException; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ValidationPackage.SIRIUS_STATUS__EXCEPTION, oldException, exception)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ValidationPackage.SIRIUS_STATUS__MESSAGE: - return getMessage(); - case ValidationPackage.SIRIUS_STATUS__SEVERITY: - return getSeverity(); - case ValidationPackage.SIRIUS_STATUS__EXCEPTION: - return getException(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ValidationPackage.SIRIUS_STATUS__MESSAGE: - setMessage((String)newValue); - return; - case ValidationPackage.SIRIUS_STATUS__SEVERITY: - setSeverity((Severity)newValue); - return; - case ValidationPackage.SIRIUS_STATUS__EXCEPTION: - setException(newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ValidationPackage.SIRIUS_STATUS__MESSAGE: - setMessage(MESSAGE_EDEFAULT); - return; - case ValidationPackage.SIRIUS_STATUS__SEVERITY: - setSeverity(SEVERITY_EDEFAULT); - return; - case ValidationPackage.SIRIUS_STATUS__EXCEPTION: - setException((Object)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ValidationPackage.SIRIUS_STATUS__MESSAGE: - return MESSAGE_EDEFAULT == null ? message != null : !MESSAGE_EDEFAULT.equals(message); - case ValidationPackage.SIRIUS_STATUS__SEVERITY: - return severity != SEVERITY_EDEFAULT; - case ValidationPackage.SIRIUS_STATUS__EXCEPTION: - return exception != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (message: "); - result.append(message); - result.append(", severity: "); - result.append(severity); - result.append(", exception: "); - result.append(exception); - result.append(')'); - return result.toString(); - } - -} //SiriusStatusImpl diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationFactoryImpl.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationFactoryImpl.java deleted file mode 100644 index 0954398b5..000000000 --- a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationFactoryImpl.java +++ /dev/null @@ -1,174 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.validation.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.sirius.validation.*; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class ValidationFactoryImpl extends EFactoryImpl implements ValidationFactory { - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static ValidationFactory init() { - try { - ValidationFactory theValidationFactory = (ValidationFactory)EPackage.Registry.INSTANCE.getEFactory(ValidationPackage.eNS_URI); - if (theValidationFactory != null) { - return theValidationFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new ValidationFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public ValidationFactoryImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case ValidationPackage.SIRIUS_STATUS: return createSiriusStatus(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case ValidationPackage.SEVERITY: - return createSeverityFromString(eDataType, initialValue); - case ValidationPackage.SIRIUS_EXCEPTION: - return createSiriusExceptionFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case ValidationPackage.SEVERITY: - return convertSeverityToString(eDataType, instanceValue); - case ValidationPackage.SIRIUS_EXCEPTION: - return convertSiriusExceptionToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - public SiriusStatus createSiriusStatus() { - SiriusStatusImpl siriusStatus = new SiriusStatusImpl(); - return siriusStatus; - } - - /** - * - * - * @generated - */ - public Severity createSeverityFromString(EDataType eDataType, String initialValue) { - Severity result = Severity.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertSeverityToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public Object createSiriusExceptionFromString(EDataType eDataType, String initialValue) { - return super.createFromString(eDataType, initialValue); - } - - /** - * - * - * @generated - */ - public String convertSiriusExceptionToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * - * - * @generated - */ - public ValidationPackage getValidationPackage() { - return (ValidationPackage)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static ValidationPackage getPackage() { - return ValidationPackage.eINSTANCE; - } - -} //ValidationFactoryImpl diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationPackageImpl.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationPackageImpl.java deleted file mode 100644 index 57bee22f9..000000000 --- a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationPackageImpl.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.validation.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.sirius.validation.Severity; -import org.eclipse.sirius.validation.SiriusStatus; -import org.eclipse.sirius.validation.ValidationFactory; -import org.eclipse.sirius.validation.ValidationPackage; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class ValidationPackageImpl extends EPackageImpl implements ValidationPackage { - /** - * - * - * @generated - */ - private EClass siriusStatusEClass = null; - - /** - * - * - * @generated - */ - private EEnum severityEEnum = null; - - /** - * - * - * @generated - */ - private EDataType siriusExceptionEDataType = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

                Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.sirius.validation.ValidationPackage#eNS_URI - * @see #init() - * @generated - */ - private ValidationPackageImpl() { - super(eNS_URI, ValidationFactory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

                This method is used to initialize {@link ValidationPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static ValidationPackage init() { - if (isInited) return (ValidationPackage)EPackage.Registry.INSTANCE.getEPackage(ValidationPackage.eNS_URI); - - // Obtain or create and register package - ValidationPackageImpl theValidationPackage = (ValidationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ValidationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ValidationPackageImpl()); - - isInited = true; - - // Create package meta-data objects - theValidationPackage.createPackageContents(); - - // Initialize created meta-data - theValidationPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theValidationPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(ValidationPackage.eNS_URI, theValidationPackage); - return theValidationPackage; - } - - /** - * - * - * @generated - */ - public EClass getSiriusStatus() { - return siriusStatusEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getSiriusStatus_Message() { - return (EAttribute)siriusStatusEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getSiriusStatus_Severity() { - return (EAttribute)siriusStatusEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EAttribute getSiriusStatus_Exception() { - return (EAttribute)siriusStatusEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EEnum getSeverity() { - return severityEEnum; - } - - /** - * - * - * @generated - */ - public EDataType getSiriusException() { - return siriusExceptionEDataType; - } - - /** - * - * - * @generated - */ - public ValidationFactory getValidationFactory() { - return (ValidationFactory)getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - siriusStatusEClass = createEClass(SIRIUS_STATUS); - createEAttribute(siriusStatusEClass, SIRIUS_STATUS__MESSAGE); - createEAttribute(siriusStatusEClass, SIRIUS_STATUS__SEVERITY); - createEAttribute(siriusStatusEClass, SIRIUS_STATUS__EXCEPTION); - - // Create enums - severityEEnum = createEEnum(SEVERITY); - - // Create data types - siriusExceptionEDataType = createEDataType(SIRIUS_EXCEPTION); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes, features, and operations; add parameters - initEClass(siriusStatusEClass, SiriusStatus.class, "SiriusStatus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSiriusStatus_Message(), ecorePackage.getEString(), "message", null, 0, 1, SiriusStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSiriusStatus_Severity(), this.getSeverity(), "severity", null, 0, 1, SiriusStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSiriusStatus_Exception(), this.getSiriusException(), "exception", null, 0, 1, SiriusStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize enums and add enum literals - initEEnum(severityEEnum, Severity.class, "Severity"); - addEEnumLiteral(severityEEnum, Severity.INFO); - addEEnumLiteral(severityEEnum, Severity.WARNING); - addEEnumLiteral(severityEEnum, Severity.ERROR); - addEEnumLiteral(severityEEnum, Severity.CANCEL); - - // Initialize data types - initEDataType(siriusExceptionEDataType, Object.class, "SiriusException", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - - // Create resource - createResource(eNS_URI); - } - -} //ValidationPackageImpl diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationAdapterFactory.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationAdapterFactory.java deleted file mode 100644 index 6d8d9bdc8..000000000 --- a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationAdapterFactory.java +++ /dev/null @@ -1,126 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.validation.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.sirius.validation.*; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see org.eclipse.sirius.validation.ValidationPackage - * @generated - */ -public class ValidationAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * - * - * @generated - */ - protected static ValidationPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public ValidationAdapterFactory() { - if (modelPackage == null) { - modelPackage = ValidationPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected ValidationSwitch modelSwitch = - new ValidationSwitch() { - @Override - public Adapter caseSiriusStatus(SiriusStatus object) { - return createSiriusStatusAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.sirius.validation.SiriusStatus Sirius Status}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.sirius.validation.SiriusStatus - * @generated - */ - public Adapter createSiriusStatusAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //ValidationAdapterFactory diff --git a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationSwitch.java b/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationSwitch.java deleted file mode 100644 index 88a23b342..000000000 --- a/plugins/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationSwitch.java +++ /dev/null @@ -1,116 +0,0 @@ -/** - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.htm - * Contributors: Obeo - initial API and implementation - */ -package org.eclipse.sirius.validation.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.sirius.validation.*; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see org.eclipse.sirius.validation.ValidationPackage - * @generated - */ -public class ValidationSwitch extends Switch { - /** - * The cached model package - * - * - * @generated - */ - protected static ValidationPackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public ValidationSwitch() { - if (modelPackage == null) { - modelPackage = ValidationPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case ValidationPackage.SIRIUS_STATUS: { - SiriusStatus siriusStatus = (SiriusStatus)theEObject; - T result = caseSiriusStatus(siriusStatus); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Sirius Status'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Sirius Status'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSiriusStatus(SiriusStatus object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //ValidationSwitch diff --git a/prototypes/org.eclipse.eef.expression/.classpath b/prototypes/org.eclipse.eef.expression/.classpath new file mode 100644 index 000000000..ad32c83a7 --- /dev/null +++ b/prototypes/org.eclipse.eef.expression/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/prototypes/org.eclipse.eef.expression/.project b/prototypes/org.eclipse.eef.expression/.project new file mode 100644 index 000000000..6e19e124c --- /dev/null +++ b/prototypes/org.eclipse.eef.expression/.project @@ -0,0 +1,34 @@ + + + org.eclipse.eef.expression + + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + org.eclipse.xtext.ui.shared.xtextNature + + diff --git a/prototypes/org.eclipse.eef.expression/.settings/org.eclipse.jdt.core.prefs b/prototypes/org.eclipse.eef.expression/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..0c68a61dc --- /dev/null +++ b/prototypes/org.eclipse.eef.expression/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/prototypes/org.eclipse.eef.expression/META-INF/MANIFEST.MF b/prototypes/org.eclipse.eef.expression/META-INF/MANIFEST.MF new file mode 100644 index 000000000..dec78e50b --- /dev/null +++ b/prototypes/org.eclipse.eef.expression/META-INF/MANIFEST.MF @@ -0,0 +1,16 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.eef.expression +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: eef.expression.Activator +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.eclipse.sirius.contentassist;bundle-version="0.1.0", + org.eclipse.sirius.expression;bundle-version="1.0.0", + org.eclipse.sirius.validation;bundle-version="0.1.0", + org.eclipse.eef;bundle-version="2.0.0" +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Bundle-ActivationPolicy: lazy +Bundle-Vendor: %providerName +Bundle-Localization: plugin diff --git a/prototypes/org.eclipse.eef.expression/about.html b/prototypes/org.eclipse.eef.expression/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/prototypes/org.eclipse.eef.expression/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

                About This Content

                + +

                June 15, 2010

                +

                License

                + +

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

                + +

                If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

                + + + \ No newline at end of file diff --git a/prototypes/org.eclipse.eef.expression/build.properties b/prototypes/org.eclipse.eef.expression/build.properties new file mode 100644 index 000000000..eadf859a3 --- /dev/null +++ b/prototypes/org.eclipse.eef.expression/build.properties @@ -0,0 +1,13 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + about.html,\ + plugin.properties diff --git a/prototypes/org.eclipse.eef.expression/eef.expression b/prototypes/org.eclipse.eef.expression/eef.expression new file mode 100644 index 000000000..a3a534e95 --- /dev/null +++ b/prototypes/org.eclipse.eef.expression/eef.expression @@ -0,0 +1,583 @@ +package eef{ + class eef.EEFViewDescription { + /** + * The variable representing the view input. + */ + var viewSemanticCandidate : ecore.EObject + + exp eef.EEFViewDescription.preconditionExpression(viewSemanticCandidate) : ecore.EBoolean [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription + ] + } + exp eef.EEFViewDescription.labelExpression(viewSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription + ] + } + } + + class eef.EEFPageDescription { + /** + * The variable representing the page input. + */ + var pageSemanticCandidate : ecore.EObject + + exp eef.EEFViewDescription.preconditionExpression(viewSemanticCandidate) : ecore.EBoolean [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription + ] + } + exp eef.EEFPageDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription + ] + } + exp eef.EEFPageDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription + ] + } + } + + class eef.EEFGroupDescription { + /** + * The variable representing the group input. + */ + var groupSemanticCandidate : ecore.EObject + + exp eef.EEFViewDescription.preconditionExpression(viewSemanticCandidate) : ecore.EBoolean [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + exp eef.EEFGroupDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + exp eef.EEFGroupDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + exp eef.EEFGroupDescription.collapsibleExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EBoolean [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + exp eef.EEFGroupDescription.collapsedByDefaultExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EBoolean [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + } + + class eef.EEFContainerDescription { + /** + * The variable representing the container input. + */ + var containerSemanticCandidate : ecore.EObject + + exp eef.EEFContainerDescription.semanticCandidateExpression(viewSemanticCandidate, pageSemanticCandidate, containerSemanticCandidate, groupSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription + ] + } + } + + class eef.EEFWidgetDescription { + exp eef.EEFWidgetDescription.labelExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFWidgetDescription.tooltipExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFWidgetDescription.helpExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + } + + class eef.EEFCheckboxDescription { + /** + * The variable containing the new updated value. + */ + var newValue : ecore.EObject + + exp eef.EEFCheckboxDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription + ] + } + exp eef.EEFCheckboxDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription + ] + } + } + + class eef.EEFSelectDescription { + /** + * The variable containing the new updated value. + */ + var newValue : ecore.EObject + + /** + * Represents one of the possible inputs. + */ + var candidate : ecore.EObject + + exp eef.EEFSelectDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFSelectDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFSelectDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFSelectDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + } + + class eef.EEFLabelDescription { + exp eef.EEFLabelDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription + ] + } + } + + class eef.EEFRadioDescription { + /** + * The variable containing the new updated value. + */ + var newValue : ecore.EObject + + /** + * Represents the one of the possible inputs. + */ + var candidate : ecore.EObject + + exp eef.EEFRadioDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + exp eef.EEFRadioDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + exp eef.EEFRadioDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + exp eef.EEFRadioDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + } + + class eef.EEFLinkDescription { + exp eef.EEFLinkDescription.onClickExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Void [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription + ] + } + } + + class eef.EEFImageDescription { + exp eef.EEFImageDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImageDescription + ] + } + } + + class eef.EEFTreeDescription { + /** + * The variable containing the new updated values. + */ + var newValue : ecore.EObject + + exp eef.EEFTreeDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDescription + ] + } + exp eef.EEFTreeDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDescription + ] + } + } + + class eef.EEFTreeDialogSelectDescription { + /** + * Represents the semantic candidate. + */ + var treeDialogSelectSemanticCandidate : ecore.EObject + + /** + * Represents one of the possible inputs. + */ + var candidate : ecore.EObject + + /** + * The variable containing the new updated values. + */ + var newValue : ecore.EObject + + exp eef.EEFTreeDialogSelectDescription.semanticCandidateExpression(viewSemanticCandidate, treeDialogSelectSemanticCandidate, candidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTreeDialogSelectDescription + ] + } + } + + class eef.EEFImagePickerDescription { + /** + * The variable containing the new updated value. + */ + var newValue : ecore.EObject + + exp eef.EEFImagePickerDescription.candidatesExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..-1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription + ] + } + exp eef.EEFImagePickerDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription + ] + } + exp eef.EEFImagePickerDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Object [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFImagePickerDescription + ] + } + } + + class eef.EEFColumnDescription { + /** + * Represents the column input. + */ + var columnSemanticCandidate : ecore.EObject + + exp eef.EEFColumnDescription.headerExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFColumnDescription + ] + } + } + + class eef.EEFLineDescription { + /** + * Represents the line input. + */ + var lineSemanticCandidate : ecore.EObject + + exp eef.EEFLineDescription.headerExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLineDescription + ] + } + exp eef.EEFLineDescription.semanticCandidatesExpression(viewSemanticCandidate, lineSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLineDescription + ] + } + } + + class eef.EEFTableDescription { + /** + * The variable containing the new updated values. + */ + var newValue : ecore.EObject + + exp eef.EEFTableDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTableDescription + ] + } + exp eef.EEFTableDescription.editExpression(viewSemanticCandidate, newValue, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTableDescription + ] + } + } + + class eef.EEFInterpretedTreeStructureDescription { + /** + * The variable representing the parent element while computing the children expression in the Tree. + */ + var parent : ecore.EObject + + /** + * The variable representing the candidate element while computing the candidate display expression. + */ + var candidate : ecore.EObject + + exp eef.EEFInterpretedTreeStructureDescription.rootsExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription + ] + } + exp eef.EEFInterpretedTreeStructureDescription.candidateDisplayExpression(viewSemanticCandidate, candidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription + ] + } + exp eef.EEFInterpretedTreeStructureDescription.selectablePredicateExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : expression.Predicate [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription + ] + } + exp eef.EEFInterpretedTreeStructureDescription.childrenExpression(viewSemanticCandidate, parent, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..-1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFInterpretedTreeStructureDescription + ] + } + } + + class eef.EEFTextDescription { + /** + * The variable containing the text field value. + */ + var value : ecore.EObject + + /** + * The variable containing the cursor position when the completion is called. + */ + var position : ecore.EObject + + exp eef.EEFTextDescription.valueExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + exp eef.EEFTextDescription.editExpression(viewSemanticCandidate, value, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EObject [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + exp eef.EEFTextDescription.readOnlyExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + exp eef.EEFTextDescription.contentAssistExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate, value, position) : contentassist.CompletionProposal [0..-1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + exp eef.EEFTextDescription.placeholderExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + } + + class eef.EEFStyle { + exp eef.EEFStyle.fontExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + } + + class eef.EEFConditionalStyle { + exp eef.EEFConditionalStyle.conditionalExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EBoolean [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + } + + class eef.EEFGroupStyle { + exp eef.EEFGroupStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription + ] + } + } + + class eef.EEFTextStyle { + exp eef.EEFTextStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + exp eef.EEFTextStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFTextDescription + ] + } + } + + class eef.EEFCheckboxStyle { + exp eef.EEFCheckboxStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription + ] + } + exp eef.EEFCheckboxStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFCheckboxDescription + ] + } + } + + class eef.EEFLabelStyle { + exp eef.EEFLabelStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription + ] + } + exp eef.EEFLabelStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLabelDescription + ] + } + } + + class eef.EEFRadioStyle { + exp eef.EEFRadioStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + exp eef.EEFRadioStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFRadioDescription + ] + } + } + + class eef.EEFLinkStyle { + exp eef.EEFLinkStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription + ] + } + exp eef.EEFLinkStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription + ] + } + exp eef.EEFLinkStyle.backgroundImageExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFLinkDescription + ] + } + } + + class eef.EEFSelectStyle { + exp eef.EEFSelectStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFSelectStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + } + + class eef.EEFLineStyle { + exp eef.EEFLineStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFLineStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFLineStyle.headerBackgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFLineStyle.headerForegroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + } + + class eef.EEFColumnStyle { + exp eef.EEFColumnStyle.backgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFColumnStyle.foregroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + exp eef.EEFColumnStyle.headerBackgroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFColumnStyle.headerForegroundColorExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, containerSemanticCandidate) : ecore.EString [0..1] { + userDefinedVariableContainers = [ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription, eef.EEFSelectDescription + ] + } + } + + class eef.EEFValidation{ + exp eef.EEFValidation.validationExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EBoolean [0..1]{ + userDefinedVariableContainers=[ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + } + + class eef.EEFQuickFix{ + exp eef.EEFQuickFix.canHandleStatusExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EBoolean [0..1]{ + userDefinedVariableContainers=[ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFQuickFix.fixExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : expression.Void [0..1]{ + userDefinedVariableContainers=[ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFQuickFix.messageExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EString [0..1]{ + userDefinedVariableContainers=[ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + exp eef.EEFQuickFix.titleExpression(viewSemanticCandidate, pageSemanticCandidate, groupSemanticCandidate, optional containerSemanticCandidate) : ecore.EString [0..1]{ + userDefinedVariableContainers=[ + eef.EEFViewDescription, eef.EEFPageDescription, eef.EEFGroupDescription, eef.EEFContainerDescription, eef.EEFWidgetDescription + ] + } + } + +} diff --git a/prototypes/org.eclipse.eef.expression/plugin.properties b/prototypes/org.eclipse.eef.expression/plugin.properties new file mode 100644 index 000000000..bff4a561e --- /dev/null +++ b/prototypes/org.eclipse.eef.expression/plugin.properties @@ -0,0 +1,9 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +pluginName = EEF Expression +providerName = Eclipse Modeling Project diff --git a/prototypes/org.eclipse.eef.expression/src/eef/expression/Activator.java b/prototypes/org.eclipse.eef.expression/src/eef/expression/Activator.java new file mode 100644 index 000000000..b720f0c9f --- /dev/null +++ b/prototypes/org.eclipse.eef.expression/src/eef/expression/Activator.java @@ -0,0 +1,60 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package eef.expression; + +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends AbstractUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID = "eef.expression"; //$NON-NLS-1$ + + // The shared instance + private static Activator plugin; + + /** + * The constructor + */ + public Activator() { + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} diff --git a/prototypes/org.eclipse.eef.expression/userDefinedVariable.expression b/prototypes/org.eclipse.eef.expression/userDefinedVariable.expression new file mode 100644 index 000000000..46d8c1d85 --- /dev/null +++ b/prototypes/org.eclipse.eef.expression/userDefinedVariable.expression @@ -0,0 +1,8 @@ +package expression { + class expression.UserDefinedVariable { + var self : ecore.EObject + exp expression.UserDefinedVariable.valueExpression(self) : ecore.EObject [0..1] { + userDefinedVariableContainers = [] + } + } +} \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.contentassist/.classpath b/prototypes/org.eclipse.sirius.contentassist/.classpath new file mode 100644 index 000000000..e4dad7e73 --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/prototypes/org.eclipse.sirius.contentassist/.project b/prototypes/org.eclipse.sirius.contentassist/.project new file mode 100644 index 000000000..8feff3c29 --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/.project @@ -0,0 +1,29 @@ + + + org.eclipse.sirius.contentassist + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.sirius.nature.modelingproject + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/prototypes/org.eclipse.sirius.contentassist/.settings/org.eclipse.jdt.core.prefs b/prototypes/org.eclipse.sirius.contentassist/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..c537b6306 --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/prototypes/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF b/prototypes/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF new file mode 100644 index 000000000..57cf0060a --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/META-INF/MANIFEST.MF @@ -0,0 +1,15 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.sirius.contentassist;singleton:=true +Bundle-Version: 0.1.0.qualifier +Bundle-ClassPath: . +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.sirius.contentassist, + org.eclipse.sirius.contentassist.impl, + org.eclipse.sirius.contentassist.util +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.emf.ecore;visibility:=reexport +Bundle-ActivationPolicy: lazy diff --git a/prototypes/org.eclipse.sirius.contentassist/about.html b/prototypes/org.eclipse.sirius.contentassist/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

                About This Content

                + +

                June 15, 2010

                +

                License

                + +

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

                + +

                If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

                + + + \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.contentassist/build.properties b/prototypes/org.eclipse.sirius.contentassist/build.properties new file mode 100644 index 000000000..697ca9645 --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/build.properties @@ -0,0 +1,10 @@ +# + +bin.includes = .,\ + model/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties +jars.compile.order = . +source.. = src-gen/ +output.. = bin/ diff --git a/prototypes/org.eclipse.sirius.contentassist/model/contentassist.aird b/prototypes/org.eclipse.sirius.contentassist/model/contentassist.aird new file mode 100644 index 000000000..cc374bbe4 --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/model/contentassist.aird @@ -0,0 +1,200 @@ + + + contentassist.ecore + contentassist.genmodel + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.contentassist/model/contentassist.ecore b/prototypes/org.eclipse.sirius.contentassist/model/contentassist.ecore new file mode 100644 index 000000000..4d4719154 --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/model/contentassist.ecore @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.contentassist/model/contentassist.genmodel b/prototypes/org.eclipse.sirius.contentassist/model/contentassist.genmodel new file mode 100644 index 000000000..930ab61ff --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/model/contentassist.genmodel @@ -0,0 +1,23 @@ + + + contentassist.ecore + + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.contentassist/plugin.properties b/prototypes/org.eclipse.sirius.contentassist/plugin.properties new file mode 100644 index 000000000..3558954fe --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/plugin.properties @@ -0,0 +1,4 @@ +# + +pluginName = Contentassist Model +providerName = www.example.org diff --git a/prototypes/org.eclipse.sirius.contentassist/plugin.xml b/prototypes/org.eclipse.sirius.contentassist/plugin.xml new file mode 100644 index 000000000..58994bcbb --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/plugin.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/CompletionProposal.java b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/CompletionProposal.java new file mode 100644 index 000000000..0564d0b52 --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/CompletionProposal.java @@ -0,0 +1,218 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Completion Proposal'. + * + * + *

                + * The following features are supported: + *

                + *
                  + *
                • {@link org.eclipse.sirius.contentassist.CompletionProposal#getDisplay Display}
                • + *
                • {@link org.eclipse.sirius.contentassist.CompletionProposal#getProposal Proposal}
                • + *
                • {@link org.eclipse.sirius.contentassist.CompletionProposal#getDocumentation Documentation}
                • + *
                • {@link org.eclipse.sirius.contentassist.CompletionProposal#getImage Image}
                • + *
                • {@link org.eclipse.sirius.contentassist.CompletionProposal#getCursorPosition Cursor Position}
                • + *
                • {@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementOffset Replacement Offset}
                • + *
                • {@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementLength Replacement Length}
                • + *
                + * + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal() + * @model + * @generated + */ +public interface CompletionProposal extends EObject { + /** + * Returns the value of the 'Display' attribute. + * + *

                + * If the meaning of the 'Display' attribute isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'Display' attribute. + * @see #setDisplay(Object) + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_Display() + * @model dataType="org.eclipse.sirius.contentassist.StyledString" + * @generated + */ + Object getDisplay(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getDisplay Display}' attribute. + * + * + * @param value the new value of the 'Display' attribute. + * @see #getDisplay() + * @generated + */ + void setDisplay(Object value); + + /** + * Returns the value of the 'Proposal' attribute. + * + *

                + * If the meaning of the 'Proposal' attribute isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'Proposal' attribute. + * @see #setProposal(String) + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_Proposal() + * @model + * @generated + */ + String getProposal(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getProposal Proposal}' attribute. + * + * + * @param value the new value of the 'Proposal' attribute. + * @see #getProposal() + * @generated + */ + void setProposal(String value); + + /** + * Returns the value of the 'Documentation' attribute. + * + *

                + * If the meaning of the 'Documentation' attribute isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'Documentation' attribute. + * @see #setDocumentation(Object) + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_Documentation() + * @model dataType="org.eclipse.sirius.contentassist.StyledString" + * @generated + */ + Object getDocumentation(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getDocumentation Documentation}' attribute. + * + * + * @param value the new value of the 'Documentation' attribute. + * @see #getDocumentation() + * @generated + */ + void setDocumentation(Object value); + + /** + * Returns the value of the 'Image' attribute. + * + *

                + * If the meaning of the 'Image' attribute isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'Image' attribute. + * @see #setImage(Object) + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_Image() + * @model dataType="org.eclipse.sirius.contentassist.ContentAssistImage" + * @generated + */ + Object getImage(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getImage Image}' attribute. + * + * + * @param value the new value of the 'Image' attribute. + * @see #getImage() + * @generated + */ + void setImage(Object value); + + /** + * Returns the value of the 'Cursor Position' attribute. + * + *

                + * If the meaning of the 'Cursor Position' attribute isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'Cursor Position' attribute. + * @see #setCursorPosition(int) + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_CursorPosition() + * @model + * @generated + */ + int getCursorPosition(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getCursorPosition Cursor Position}' attribute. + * + * + * @param value the new value of the 'Cursor Position' attribute. + * @see #getCursorPosition() + * @generated + */ + void setCursorPosition(int value); + + /** + * Returns the value of the 'Replacement Offset' attribute. + * + *

                + * If the meaning of the 'Replacement Offset' attribute isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'Replacement Offset' attribute. + * @see #setReplacementOffset(int) + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_ReplacementOffset() + * @model + * @generated + */ + int getReplacementOffset(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementOffset Replacement Offset}' attribute. + * + * + * @param value the new value of the 'Replacement Offset' attribute. + * @see #getReplacementOffset() + * @generated + */ + void setReplacementOffset(int value); + + /** + * Returns the value of the 'Replacement Length' attribute. + * + *

                + * If the meaning of the 'Replacement Length' attribute isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'Replacement Length' attribute. + * @see #setReplacementLength(int) + * @see org.eclipse.sirius.contentassist.ContentassistPackage#getCompletionProposal_ReplacementLength() + * @model + * @generated + */ + int getReplacementLength(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementLength Replacement Length}' attribute. + * + * + * @param value the new value of the 'Replacement Length' attribute. + * @see #getReplacementLength() + * @generated + */ + void setReplacementLength(int value); + +} // CompletionProposal diff --git a/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistFactory.java b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistFactory.java new file mode 100644 index 000000000..df123b90a --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistFactory.java @@ -0,0 +1,48 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.sirius.contentassist.ContentassistPackage + * @generated + */ +public interface ContentassistFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + ContentassistFactory eINSTANCE = org.eclipse.sirius.contentassist.impl.ContentassistFactoryImpl.init(); + + /** + * Returns a new object of class 'Completion Proposal'. + * + * + * @return a new object of class 'Completion Proposal'. + * @generated + */ + CompletionProposal createCompletionProposal(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + ContentassistPackage getContentassistPackage(); + +} //ContentassistFactory diff --git a/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistPackage.java b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistPackage.java new file mode 100644 index 000000000..89cd54007 --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/ContentassistPackage.java @@ -0,0 +1,397 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
                  + *
                • each class,
                • + *
                • each feature of each class,
                • + *
                • each operation of each class,
                • + *
                • each enum,
                • + *
                • and each data type
                • + *
                + * + * @see org.eclipse.sirius.contentassist.ContentassistFactory + * @model kind="package" + * @generated + */ +public interface ContentassistPackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "contentassist"; + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.eclipse.org/sirius/contentassist"; + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "contentassist"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + ContentassistPackage eINSTANCE = org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl Completion Proposal}' class. + * + * + * @see org.eclipse.sirius.contentassist.impl.CompletionProposalImpl + * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getCompletionProposal() + * @generated + */ + int COMPLETION_PROPOSAL = 0; + + /** + * The feature id for the 'Display' attribute. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL__DISPLAY = 0; + + /** + * The feature id for the 'Proposal' attribute. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL__PROPOSAL = 1; + + /** + * The feature id for the 'Documentation' attribute. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL__DOCUMENTATION = 2; + + /** + * The feature id for the 'Image' attribute. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL__IMAGE = 3; + + /** + * The feature id for the 'Cursor Position' attribute. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL__CURSOR_POSITION = 4; + + /** + * The feature id for the 'Replacement Offset' attribute. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL__REPLACEMENT_OFFSET = 5; + + /** + * The feature id for the 'Replacement Length' attribute. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL__REPLACEMENT_LENGTH = 6; + + /** + * The number of structural features of the 'Completion Proposal' class. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL_FEATURE_COUNT = 7; + + /** + * The number of operations of the 'Completion Proposal' class. + * + * + * @generated + * @ordered + */ + int COMPLETION_PROPOSAL_OPERATION_COUNT = 0; + + /** + * The meta object id for the 'Styled String' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getStyledString() + * @generated + */ + int STYLED_STRING = 1; + + /** + * The meta object id for the 'Content Assist Image' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getContentAssistImage() + * @generated + */ + int CONTENT_ASSIST_IMAGE = 2; + + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.contentassist.CompletionProposal Completion Proposal}'. + * + * + * @return the meta object for class 'Completion Proposal'. + * @see org.eclipse.sirius.contentassist.CompletionProposal + * @generated + */ + EClass getCompletionProposal(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getDisplay Display}'. + * + * + * @return the meta object for the attribute 'Display'. + * @see org.eclipse.sirius.contentassist.CompletionProposal#getDisplay() + * @see #getCompletionProposal() + * @generated + */ + EAttribute getCompletionProposal_Display(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getProposal Proposal}'. + * + * + * @return the meta object for the attribute 'Proposal'. + * @see org.eclipse.sirius.contentassist.CompletionProposal#getProposal() + * @see #getCompletionProposal() + * @generated + */ + EAttribute getCompletionProposal_Proposal(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getDocumentation Documentation}'. + * + * + * @return the meta object for the attribute 'Documentation'. + * @see org.eclipse.sirius.contentassist.CompletionProposal#getDocumentation() + * @see #getCompletionProposal() + * @generated + */ + EAttribute getCompletionProposal_Documentation(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getImage Image}'. + * + * + * @return the meta object for the attribute 'Image'. + * @see org.eclipse.sirius.contentassist.CompletionProposal#getImage() + * @see #getCompletionProposal() + * @generated + */ + EAttribute getCompletionProposal_Image(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getCursorPosition Cursor Position}'. + * + * + * @return the meta object for the attribute 'Cursor Position'. + * @see org.eclipse.sirius.contentassist.CompletionProposal#getCursorPosition() + * @see #getCompletionProposal() + * @generated + */ + EAttribute getCompletionProposal_CursorPosition(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementOffset Replacement Offset}'. + * + * + * @return the meta object for the attribute 'Replacement Offset'. + * @see org.eclipse.sirius.contentassist.CompletionProposal#getReplacementOffset() + * @see #getCompletionProposal() + * @generated + */ + EAttribute getCompletionProposal_ReplacementOffset(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.contentassist.CompletionProposal#getReplacementLength Replacement Length}'. + * + * + * @return the meta object for the attribute 'Replacement Length'. + * @see org.eclipse.sirius.contentassist.CompletionProposal#getReplacementLength() + * @see #getCompletionProposal() + * @generated + */ + EAttribute getCompletionProposal_ReplacementLength(); + + /** + * Returns the meta object for data type '{@link java.lang.Object Styled String}'. + * + * + * @return the meta object for data type 'Styled String'. + * @see java.lang.Object + * @model instanceClass="java.lang.Object" + * @generated + */ + EDataType getStyledString(); + + /** + * Returns the meta object for data type '{@link java.lang.Object Content Assist Image}'. + * + * + * @return the meta object for data type 'Content Assist Image'. + * @see java.lang.Object + * @model instanceClass="java.lang.Object" + * @generated + */ + EDataType getContentAssistImage(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + ContentassistFactory getContentassistFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
                  + *
                • each class,
                • + *
                • each feature of each class,
                • + *
                • each operation of each class,
                • + *
                • each enum,
                • + *
                • and each data type
                • + *
                + * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl Completion Proposal}' class. + * + * + * @see org.eclipse.sirius.contentassist.impl.CompletionProposalImpl + * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getCompletionProposal() + * @generated + */ + EClass COMPLETION_PROPOSAL = eINSTANCE.getCompletionProposal(); + + /** + * The meta object literal for the 'Display' attribute feature. + * + * + * @generated + */ + EAttribute COMPLETION_PROPOSAL__DISPLAY = eINSTANCE.getCompletionProposal_Display(); + + /** + * The meta object literal for the 'Proposal' attribute feature. + * + * + * @generated + */ + EAttribute COMPLETION_PROPOSAL__PROPOSAL = eINSTANCE.getCompletionProposal_Proposal(); + + /** + * The meta object literal for the 'Documentation' attribute feature. + * + * + * @generated + */ + EAttribute COMPLETION_PROPOSAL__DOCUMENTATION = eINSTANCE.getCompletionProposal_Documentation(); + + /** + * The meta object literal for the 'Image' attribute feature. + * + * + * @generated + */ + EAttribute COMPLETION_PROPOSAL__IMAGE = eINSTANCE.getCompletionProposal_Image(); + + /** + * The meta object literal for the 'Cursor Position' attribute feature. + * + * + * @generated + */ + EAttribute COMPLETION_PROPOSAL__CURSOR_POSITION = eINSTANCE.getCompletionProposal_CursorPosition(); + + /** + * The meta object literal for the 'Replacement Offset' attribute feature. + * + * + * @generated + */ + EAttribute COMPLETION_PROPOSAL__REPLACEMENT_OFFSET = eINSTANCE.getCompletionProposal_ReplacementOffset(); + + /** + * The meta object literal for the 'Replacement Length' attribute feature. + * + * + * @generated + */ + EAttribute COMPLETION_PROPOSAL__REPLACEMENT_LENGTH = eINSTANCE.getCompletionProposal_ReplacementLength(); + + /** + * The meta object literal for the 'Styled String' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getStyledString() + * @generated + */ + EDataType STYLED_STRING = eINSTANCE.getStyledString(); + + /** + * The meta object literal for the 'Content Assist Image' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.contentassist.impl.ContentassistPackageImpl#getContentAssistImage() + * @generated + */ + EDataType CONTENT_ASSIST_IMAGE = eINSTANCE.getContentAssistImage(); + + } + +} //ContentassistPackage diff --git a/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/CompletionProposalImpl.java b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/CompletionProposalImpl.java new file mode 100644 index 000000000..40f0c81bf --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/CompletionProposalImpl.java @@ -0,0 +1,463 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.contentassist.CompletionProposal; +import org.eclipse.sirius.contentassist.ContentassistPackage; + +/** + * + * An implementation of the model object 'Completion Proposal'. + * + *

                + * The following features are implemented: + *

                + *
                  + *
                • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getDisplay Display}
                • + *
                • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getProposal Proposal}
                • + *
                • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getDocumentation Documentation}
                • + *
                • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getImage Image}
                • + *
                • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getCursorPosition Cursor Position}
                • + *
                • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getReplacementOffset Replacement Offset}
                • + *
                • {@link org.eclipse.sirius.contentassist.impl.CompletionProposalImpl#getReplacementLength Replacement Length}
                • + *
                + * + * @generated + */ +public class CompletionProposalImpl extends MinimalEObjectImpl.Container implements CompletionProposal { + /** + * The cached value of the '{@link #getDisplay() Display}' attribute. + * + * + * @see #getDisplay() + * @generated + * @ordered + */ + protected Object display; + + /** + * The default value of the '{@link #getProposal() Proposal}' attribute. + * + * + * @see #getProposal() + * @generated + * @ordered + */ + protected static final String PROPOSAL_EDEFAULT = null; + + /** + * The cached value of the '{@link #getProposal() Proposal}' attribute. + * + * + * @see #getProposal() + * @generated + * @ordered + */ + protected String proposal = PROPOSAL_EDEFAULT; + + /** + * The cached value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected Object documentation; + + /** + * The cached value of the '{@link #getImage() Image}' attribute. + * + * + * @see #getImage() + * @generated + * @ordered + */ + protected Object image; + + /** + * The default value of the '{@link #getCursorPosition() Cursor Position}' attribute. + * + * + * @see #getCursorPosition() + * @generated + * @ordered + */ + protected static final int CURSOR_POSITION_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getCursorPosition() Cursor Position}' attribute. + * + * + * @see #getCursorPosition() + * @generated + * @ordered + */ + protected int cursorPosition = CURSOR_POSITION_EDEFAULT; + + /** + * The default value of the '{@link #getReplacementOffset() Replacement Offset}' attribute. + * + * + * @see #getReplacementOffset() + * @generated + * @ordered + */ + protected static final int REPLACEMENT_OFFSET_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getReplacementOffset() Replacement Offset}' attribute. + * + * + * @see #getReplacementOffset() + * @generated + * @ordered + */ + protected int replacementOffset = REPLACEMENT_OFFSET_EDEFAULT; + + /** + * The default value of the '{@link #getReplacementLength() Replacement Length}' attribute. + * + * + * @see #getReplacementLength() + * @generated + * @ordered + */ + protected static final int REPLACEMENT_LENGTH_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getReplacementLength() Replacement Length}' attribute. + * + * + * @see #getReplacementLength() + * @generated + * @ordered + */ + protected int replacementLength = REPLACEMENT_LENGTH_EDEFAULT; + + /** + * + * + * @generated + */ + protected CompletionProposalImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ContentassistPackage.Literals.COMPLETION_PROPOSAL; + } + + /** + * + * + * @generated + */ + public Object getDisplay() { + return display; + } + + /** + * + * + * @generated + */ + public void setDisplay(Object newDisplay) { + Object oldDisplay = display; + display = newDisplay; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__DISPLAY, oldDisplay, display)); + } + + /** + * + * + * @generated + */ + public String getProposal() { + return proposal; + } + + /** + * + * + * @generated + */ + public void setProposal(String newProposal) { + String oldProposal = proposal; + proposal = newProposal; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__PROPOSAL, oldProposal, proposal)); + } + + /** + * + * + * @generated + */ + public Object getDocumentation() { + return documentation; + } + + /** + * + * + * @generated + */ + public void setDocumentation(Object newDocumentation) { + Object oldDocumentation = documentation; + documentation = newDocumentation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__DOCUMENTATION, oldDocumentation, documentation)); + } + + /** + * + * + * @generated + */ + public Object getImage() { + return image; + } + + /** + * + * + * @generated + */ + public void setImage(Object newImage) { + Object oldImage = image; + image = newImage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__IMAGE, oldImage, image)); + } + + /** + * + * + * @generated + */ + public int getCursorPosition() { + return cursorPosition; + } + + /** + * + * + * @generated + */ + public void setCursorPosition(int newCursorPosition) { + int oldCursorPosition = cursorPosition; + cursorPosition = newCursorPosition; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__CURSOR_POSITION, oldCursorPosition, cursorPosition)); + } + + /** + * + * + * @generated + */ + public int getReplacementOffset() { + return replacementOffset; + } + + /** + * + * + * @generated + */ + public void setReplacementOffset(int newReplacementOffset) { + int oldReplacementOffset = replacementOffset; + replacementOffset = newReplacementOffset; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_OFFSET, oldReplacementOffset, replacementOffset)); + } + + /** + * + * + * @generated + */ + public int getReplacementLength() { + return replacementLength; + } + + /** + * + * + * @generated + */ + public void setReplacementLength(int newReplacementLength) { + int oldReplacementLength = replacementLength; + replacementLength = newReplacementLength; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_LENGTH, oldReplacementLength, replacementLength)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ContentassistPackage.COMPLETION_PROPOSAL__DISPLAY: + return getDisplay(); + case ContentassistPackage.COMPLETION_PROPOSAL__PROPOSAL: + return getProposal(); + case ContentassistPackage.COMPLETION_PROPOSAL__DOCUMENTATION: + return getDocumentation(); + case ContentassistPackage.COMPLETION_PROPOSAL__IMAGE: + return getImage(); + case ContentassistPackage.COMPLETION_PROPOSAL__CURSOR_POSITION: + return getCursorPosition(); + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_OFFSET: + return getReplacementOffset(); + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_LENGTH: + return getReplacementLength(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ContentassistPackage.COMPLETION_PROPOSAL__DISPLAY: + setDisplay(newValue); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__PROPOSAL: + setProposal((String)newValue); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__DOCUMENTATION: + setDocumentation(newValue); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__IMAGE: + setImage(newValue); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__CURSOR_POSITION: + setCursorPosition((Integer)newValue); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_OFFSET: + setReplacementOffset((Integer)newValue); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_LENGTH: + setReplacementLength((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ContentassistPackage.COMPLETION_PROPOSAL__DISPLAY: + setDisplay((Object)null); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__PROPOSAL: + setProposal(PROPOSAL_EDEFAULT); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__DOCUMENTATION: + setDocumentation((Object)null); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__IMAGE: + setImage((Object)null); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__CURSOR_POSITION: + setCursorPosition(CURSOR_POSITION_EDEFAULT); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_OFFSET: + setReplacementOffset(REPLACEMENT_OFFSET_EDEFAULT); + return; + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_LENGTH: + setReplacementLength(REPLACEMENT_LENGTH_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ContentassistPackage.COMPLETION_PROPOSAL__DISPLAY: + return display != null; + case ContentassistPackage.COMPLETION_PROPOSAL__PROPOSAL: + return PROPOSAL_EDEFAULT == null ? proposal != null : !PROPOSAL_EDEFAULT.equals(proposal); + case ContentassistPackage.COMPLETION_PROPOSAL__DOCUMENTATION: + return documentation != null; + case ContentassistPackage.COMPLETION_PROPOSAL__IMAGE: + return image != null; + case ContentassistPackage.COMPLETION_PROPOSAL__CURSOR_POSITION: + return cursorPosition != CURSOR_POSITION_EDEFAULT; + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_OFFSET: + return replacementOffset != REPLACEMENT_OFFSET_EDEFAULT; + case ContentassistPackage.COMPLETION_PROPOSAL__REPLACEMENT_LENGTH: + return replacementLength != REPLACEMENT_LENGTH_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (display: "); + result.append(display); + result.append(", proposal: "); + result.append(proposal); + result.append(", documentation: "); + result.append(documentation); + result.append(", image: "); + result.append(image); + result.append(", cursorPosition: "); + result.append(cursorPosition); + result.append(", replacementOffset: "); + result.append(replacementOffset); + result.append(", replacementLength: "); + result.append(replacementLength); + result.append(')'); + return result.toString(); + } + +} //CompletionProposalImpl diff --git a/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistFactoryImpl.java b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistFactoryImpl.java new file mode 100644 index 000000000..55456aec8 --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistFactoryImpl.java @@ -0,0 +1,172 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.sirius.contentassist.*; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class ContentassistFactoryImpl extends EFactoryImpl implements ContentassistFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static ContentassistFactory init() { + try { + ContentassistFactory theContentassistFactory = (ContentassistFactory)EPackage.Registry.INSTANCE.getEFactory(ContentassistPackage.eNS_URI); + if (theContentassistFactory != null) { + return theContentassistFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new ContentassistFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public ContentassistFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case ContentassistPackage.COMPLETION_PROPOSAL: return createCompletionProposal(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case ContentassistPackage.STYLED_STRING: + return createStyledStringFromString(eDataType, initialValue); + case ContentassistPackage.CONTENT_ASSIST_IMAGE: + return createContentAssistImageFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case ContentassistPackage.STYLED_STRING: + return convertStyledStringToString(eDataType, instanceValue); + case ContentassistPackage.CONTENT_ASSIST_IMAGE: + return convertContentAssistImageToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public CompletionProposal createCompletionProposal() { + CompletionProposalImpl completionProposal = new CompletionProposalImpl(); + return completionProposal; + } + + /** + * + * + * @generated + */ + public Object createStyledStringFromString(EDataType eDataType, String initialValue) { + return super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertStyledStringToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public Object createContentAssistImageFromString(EDataType eDataType, String initialValue) { + return super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertContentAssistImageToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public ContentassistPackage getContentassistPackage() { + return (ContentassistPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static ContentassistPackage getPackage() { + return ContentassistPackage.eINSTANCE; + } + +} //ContentassistFactoryImpl diff --git a/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistPackageImpl.java b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistPackageImpl.java new file mode 100644 index 000000000..0a502498b --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/impl/ContentassistPackageImpl.java @@ -0,0 +1,290 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.sirius.contentassist.CompletionProposal; +import org.eclipse.sirius.contentassist.ContentassistFactory; +import org.eclipse.sirius.contentassist.ContentassistPackage; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class ContentassistPackageImpl extends EPackageImpl implements ContentassistPackage { + /** + * + * + * @generated + */ + private EClass completionProposalEClass = null; + + /** + * + * + * @generated + */ + private EDataType styledStringEDataType = null; + + /** + * + * + * @generated + */ + private EDataType contentAssistImageEDataType = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

                Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.sirius.contentassist.ContentassistPackage#eNS_URI + * @see #init() + * @generated + */ + private ContentassistPackageImpl() { + super(eNS_URI, ContentassistFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

                This method is used to initialize {@link ContentassistPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ContentassistPackage init() { + if (isInited) return (ContentassistPackage)EPackage.Registry.INSTANCE.getEPackage(ContentassistPackage.eNS_URI); + + // Obtain or create and register package + ContentassistPackageImpl theContentassistPackage = (ContentassistPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ContentassistPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ContentassistPackageImpl()); + + isInited = true; + + // Create package meta-data objects + theContentassistPackage.createPackageContents(); + + // Initialize created meta-data + theContentassistPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theContentassistPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ContentassistPackage.eNS_URI, theContentassistPackage); + return theContentassistPackage; + } + + /** + * + * + * @generated + */ + public EClass getCompletionProposal() { + return completionProposalEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getCompletionProposal_Display() { + return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getCompletionProposal_Proposal() { + return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getCompletionProposal_Documentation() { + return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getCompletionProposal_Image() { + return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getCompletionProposal_CursorPosition() { + return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EAttribute getCompletionProposal_ReplacementOffset() { + return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EAttribute getCompletionProposal_ReplacementLength() { + return (EAttribute)completionProposalEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + public EDataType getStyledString() { + return styledStringEDataType; + } + + /** + * + * + * @generated + */ + public EDataType getContentAssistImage() { + return contentAssistImageEDataType; + } + + /** + * + * + * @generated + */ + public ContentassistFactory getContentassistFactory() { + return (ContentassistFactory)getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + completionProposalEClass = createEClass(COMPLETION_PROPOSAL); + createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__DISPLAY); + createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__PROPOSAL); + createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__DOCUMENTATION); + createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__IMAGE); + createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__CURSOR_POSITION); + createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__REPLACEMENT_OFFSET); + createEAttribute(completionProposalEClass, COMPLETION_PROPOSAL__REPLACEMENT_LENGTH); + + // Create data types + styledStringEDataType = createEDataType(STYLED_STRING); + contentAssistImageEDataType = createEDataType(CONTENT_ASSIST_IMAGE); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes, features, and operations; add parameters + initEClass(completionProposalEClass, CompletionProposal.class, "CompletionProposal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getCompletionProposal_Display(), this.getStyledString(), "display", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCompletionProposal_Proposal(), ecorePackage.getEString(), "proposal", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCompletionProposal_Documentation(), this.getStyledString(), "documentation", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCompletionProposal_Image(), this.getContentAssistImage(), "image", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCompletionProposal_CursorPosition(), ecorePackage.getEInt(), "cursorPosition", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCompletionProposal_ReplacementOffset(), ecorePackage.getEInt(), "replacementOffset", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCompletionProposal_ReplacementLength(), ecorePackage.getEInt(), "replacementLength", null, 0, 1, CompletionProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize data types + initEDataType(styledStringEDataType, Object.class, "StyledString", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); + initEDataType(contentAssistImageEDataType, Object.class, "ContentAssistImage", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); + + // Create resource + createResource(eNS_URI); + } + +} //ContentassistPackageImpl diff --git a/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistAdapterFactory.java b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistAdapterFactory.java new file mode 100644 index 000000000..0416f2357 --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistAdapterFactory.java @@ -0,0 +1,126 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.contentassist.*; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see org.eclipse.sirius.contentassist.ContentassistPackage + * @generated + */ +public class ContentassistAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static ContentassistPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public ContentassistAdapterFactory() { + if (modelPackage == null) { + modelPackage = ContentassistPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected ContentassistSwitch modelSwitch = + new ContentassistSwitch() { + @Override + public Adapter caseCompletionProposal(CompletionProposal object) { + return createCompletionProposalAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.contentassist.CompletionProposal Completion Proposal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.contentassist.CompletionProposal + * @generated + */ + public Adapter createCompletionProposalAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //ContentassistAdapterFactory diff --git a/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistSwitch.java b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistSwitch.java new file mode 100644 index 000000000..d262a95cd --- /dev/null +++ b/prototypes/org.eclipse.sirius.contentassist/src-gen/org/eclipse/sirius/contentassist/util/ContentassistSwitch.java @@ -0,0 +1,116 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.contentassist.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.sirius.contentassist.*; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see org.eclipse.sirius.contentassist.ContentassistPackage + * @generated + */ +public class ContentassistSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static ContentassistPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public ContentassistSwitch() { + if (modelPackage == null) { + modelPackage = ContentassistPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case ContentassistPackage.COMPLETION_PROPOSAL: { + CompletionProposal completionProposal = (CompletionProposal)theEObject; + T result = caseCompletionProposal(completionProposal); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Completion Proposal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Completion Proposal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCompletionProposal(CompletionProposal object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //ContentassistSwitch diff --git a/prototypes/org.eclipse.sirius.expression.design/.classpath b/prototypes/org.eclipse.sirius.expression.design/.classpath new file mode 100644 index 000000000..39810b7d6 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.design/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression.design/.project b/prototypes/org.eclipse.sirius.expression.design/.project new file mode 100644 index 000000000..f77fd4860 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.design/.project @@ -0,0 +1,34 @@ + + + org.eclipse.sirius.expression.design + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.acceleo.ide.ui.acceleoBuilder + + + + + + org.eclipse.acceleo.ide.ui.acceleoNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/prototypes/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF b/prototypes/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF new file mode 100644 index 000000000..b9132d898 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.design/META-INF/MANIFEST.MF @@ -0,0 +1,13 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: org.eclipse.sirius.expression.design +Bundle-SymbolicName: org.eclipse.sirius.expression.design;singleton:=true +Bundle-Version: 1.0.0 +Bundle-Activator: org.eclipse.sirius.expression.design.Activator +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.eclipse.core.resources, + org.eclipse.sirius, + org.eclipse.sirius.common.acceleo.mtl +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 diff --git a/prototypes/org.eclipse.sirius.expression.design/about.html b/prototypes/org.eclipse.sirius.expression.design/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.design/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

                About This Content

                + +

                June 15, 2010

                +

                License

                + +

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

                + +

                If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

                + + + \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.expression.design/build.properties b/prototypes/org.eclipse.sirius.expression.design/build.properties new file mode 100644 index 000000000..bbbc4ce49 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.design/build.properties @@ -0,0 +1,7 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + description/,\ + plugin.xml +customBuildCallbacks = build.acceleo diff --git a/prototypes/org.eclipse.sirius.expression.design/description/expression.odesign b/prototypes/org.eclipse.sirius.expression.design/description/expression.odesign new file mode 100644 index 000000000..68de55fe1 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.design/description/expression.odesign @@ -0,0 +1,192 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression.design/plugin.xml b/prototypes/org.eclipse.sirius.expression.design/plugin.xml new file mode 100644 index 000000000..5ecb2c479 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.design/plugin.xml @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java b/prototypes/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java new file mode 100644 index 000000000..f4b15886c --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.design/src/org/eclipse/sirius/expression/design/Activator.java @@ -0,0 +1,66 @@ +package org.eclipse.sirius.expression.design; + +import java.util.HashSet; +import java.util.Set; + +import org.eclipse.sirius.business.api.componentization.ViewpointRegistry; +import org.eclipse.sirius.viewpoint.description.Viewpoint; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends AbstractUIPlugin { + // The plug-in ID + public static final String PLUGIN_ID = "org.eclipse.sirius.expression.design"; + + // The shared instance + private static Activator plugin; + + private static Set viewpoints; + + /** + * The constructor + */ + public Activator() { + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + viewpoints = new HashSet(); + viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/expression.odesign")); + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + if (viewpoints != null) { + for (final Viewpoint viewpoint: viewpoints) { + ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint); + } + viewpoints.clear(); + viewpoints = null; + } + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } +} diff --git a/prototypes/org.eclipse.sirius.expression.edit/.checkstyle b/prototypes/org.eclipse.sirius.expression.edit/.checkstyle new file mode 100644 index 000000000..f1a81eec7 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/.checkstyle @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression.edit/.classpath b/prototypes/org.eclipse.sirius.expression.edit/.classpath new file mode 100644 index 000000000..6292ea58a --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/.classpath @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression.edit/.project b/prototypes/org.eclipse.sirius.expression.edit/.project new file mode 100644 index 000000000..4a7c2dc15 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/.project @@ -0,0 +1,34 @@ + + + org.eclipse.sirius.expression.edit + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + net.sf.eclipsecs.core.CheckstyleNature + + diff --git a/prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.core.prefs b/prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..fb8257839 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,398 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.builder.invalidClasspath=abort +org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=150 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +org.eclipse.jdt.core.incompleteClasspath=error +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.launching.prefs b/prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.launching.prefs new file mode 100644 index 000000000..3bb235278 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.launching.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.ui.prefs b/prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..e6ceed5c2 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,67 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;java;javax;org; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=false +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=false +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=true +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=false +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=false +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=false +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=false +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=false +sp_cleanup.remove_unused_private_types=false +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false +sp_cleanup.use_type_arguments=false diff --git a/prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.pde.prefs b/prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..3112e810d --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=1 +compilers.p.build.java.compiler=1 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=0 +compilers.p.missing-version-import-package=0 +compilers.p.missing-version-require-bundle=0 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=0 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/prototypes/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF b/prototypes/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF new file mode 100644 index 000000000..f6c76481b --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/META-INF/MANIFEST.MF @@ -0,0 +1,17 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.sirius.expression.edit;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-ClassPath: . +Bundle-Activator: org.eclipse.sirius.expression.provider.ExpressionEditPlugin$Implementation +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.sirius.expression.provider;version="1.0.0" +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", + org.eclipse.sirius.expression;bundle-version="[1.0.0,2.0.0)";visibility:=reexport, + org.eclipse.emf.edit;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, + org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, + org.eclipse.emf.ecore.edit;bundle-version="[2.8.0,3.0.0)";visibility:=reexport +Bundle-ActivationPolicy: lazy diff --git a/prototypes/org.eclipse.sirius.expression.edit/about.html b/prototypes/org.eclipse.sirius.expression.edit/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

                About This Content

                + +

                June 15, 2010

                +

                License

                + +

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

                + +

                If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

                + + + \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.expression.edit/build.properties b/prototypes/org.eclipse.sirius.expression.edit/build.properties new file mode 100644 index 000000000..0b892ee53 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/build.properties @@ -0,0 +1,16 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +bin.includes = .,\ + icons/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties,\ + about.html +jars.compile.order = . +source.. = src-gen/ +output.. = bin/ +javacProjectSettings = true diff --git a/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/ExpressionDescription.gif b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/ExpressionDescription.gif new file mode 100644 index 000000000..a3908bcf7 Binary files /dev/null and b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/ExpressionDescription.gif differ diff --git a/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionClass.gif b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionClass.gif new file mode 100644 index 000000000..98b351f1c Binary files /dev/null and b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionClass.gif differ diff --git a/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionDescription.gif b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionDescription.gif new file mode 100644 index 000000000..134551bff Binary files /dev/null and b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionDescription.gif differ diff --git a/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionPackage.gif b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionPackage.gif new file mode 100644 index 000000000..ea58a657d Binary files /dev/null and b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusExpressionPackage.gif differ diff --git a/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusParameter.gif b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusParameter.gif new file mode 100644 index 000000000..134551bff Binary files /dev/null and b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusParameter.gif differ diff --git a/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusVariable.gif b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusVariable.gif new file mode 100644 index 000000000..591559182 Binary files /dev/null and b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/SiriusVariable.gif differ diff --git a/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/UserDefinedVariable.gif b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/UserDefinedVariable.gif new file mode 100644 index 000000000..8a5c70cbd Binary files /dev/null and b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/UserDefinedVariable.gif differ diff --git a/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/Variable.gif b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/Variable.gif new file mode 100644 index 000000000..83afb9b3c Binary files /dev/null and b/prototypes/org.eclipse.sirius.expression.edit/icons/full/obj16/Variable.gif differ diff --git a/prototypes/org.eclipse.sirius.expression.edit/plugin.properties b/prototypes/org.eclipse.sirius.expression.edit/plugin.properties new file mode 100644 index 000000000..976114c13 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/plugin.properties @@ -0,0 +1,59 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +pluginName = Sirius Expression Edit Support +providerName = Eclipse Modeling Project + +_UI_CreateChild_text = {0} +_UI_CreateChild_text2 = {1} {0} +_UI_CreateChild_text3 = {1} +_UI_CreateChild_tooltip = Create New {0} Under {1} Feature +_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. +_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. + +_UI_PropertyDescriptor_description = The {0} of the {1} + +_UI_SiriusExpressionPackage_type = Sirius Expression Package +_UI_ExpressionDescription_type = Description +_UI_Variable_type = Variable +_UI_SiriusExpressionClass_type = Sirius Expression Class +_UI_Unknown_type = Object + +_UI_Unknown_datatype= Value + +_UI_SiriusExpressionPackage_expressionClasses_feature = Expression Classes +_UI_SiriusExpressionPackage_ePackage_feature = EPackage +_UI_ExpressionDescription_lowerBound_feature = Lower Bound +_UI_ExpressionDescription_upperBound_feature = Upper Bound +_UI_ExpressionDescription_expression_feature = Expression +_UI_ExpressionDescription_variables_feature = Variables +_UI_ExpressionDescription_returnType_feature = Return Type +_UI_ExpressionDescription_label_feature = Label +_UI_ExpressionDescription_contextableElements_feature = Contextable Elements +_UI_Variable_name_feature = Name +_UI_Variable_documentation_feature = Documentation +_UI_SiriusExpressionClass_variables_feature = Variables +_UI_SiriusExpressionClass_expressionDescriptions_feature = Expression Descriptions +_UI_SiriusExpressionClass_label_feature = Label +_UI_Unknown_feature = Unspecified + +_UI_SiriusVariable_type = Sirius Variable +_UI_SiriusVariable_name_feature = Name +_UI_SiriusVariable_documentation_feature = Documentation +_UI_SiriusExpressionDescription_type = Sirius Expression Description +_UI_SiriusParameter_type = Sirius Parameter +_UI_SiriusExpressionDescription_lowerBound_feature = Lower Bound +_UI_SiriusExpressionDescription_upperBound_feature = Upper Bound +_UI_SiriusExpressionDescription_expression_feature = Expression +_UI_SiriusExpressionDescription_parameters_feature = Parameters +_UI_SiriusExpressionDescription_returnType_feature = Return Type +_UI_SiriusExpressionDescription_variableContainers_feature = Variable Containers +_UI_SiriusVariable_eType_feature = EType +_UI_SiriusExpressionClass_eClass_feature = EClass +_UI_SiriusParameter_optional_feature = Optional +_UI_SiriusParameter_variable_feature = Variable +_UI_UserDefinedVariable_type = User Defined Variable +_UI_UserDefinedVariable_valueExpression_feature = Value Expression diff --git a/prototypes/org.eclipse.sirius.expression.edit/plugin.xml b/prototypes/org.eclipse.sirius.expression.edit/plugin.xml new file mode 100644 index 000000000..3098b8618 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/plugin.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java new file mode 100644 index 000000000..2d48f337d --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionEditPlugin.java @@ -0,0 +1,96 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + +import org.eclipse.emf.common.EMFPlugin; + +import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.emf.ecore.provider.EcoreEditPlugin; + +/** + * This is the central singleton for the Expression edit plugin. + * + * + * @generated + */ +public final class ExpressionEditPlugin extends EMFPlugin { + /** + * Keep track of the singleton. + * + * + * @generated + */ + public static final ExpressionEditPlugin INSTANCE = new ExpressionEditPlugin(); + + /** + * Keep track of the singleton. + * + * + * @generated + */ + private static Implementation plugin; + + /** + * Create the instance. + * + * + * @generated + */ + public ExpressionEditPlugin() { + super + (new ResourceLocator [] { + EcoreEditPlugin.INSTANCE, + }); + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + @Override + public ResourceLocator getPluginResourceLocator() { + return plugin; + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + public static Implementation getPlugin() { + return plugin; + } + + /** + * The actual implementation of the Eclipse Plugin. + * + * + * @generated + */ + public static class Implementation extends EclipsePlugin { + /** + * Creates an instance. + * + * + * @generated + */ + public Implementation() { + super(); + + // Remember the static instance. + // + plugin = this; + } + } + +} diff --git a/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java new file mode 100644 index 000000000..40a322653 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/ExpressionItemProviderAdapterFactory.java @@ -0,0 +1,324 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +import org.eclipse.sirius.expression.util.ExpressionAdapterFactory; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. + * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. + * The adapters also support Eclipse property sheets. + * Note that most of the adapters are shared among multiple instances. + * + * + * @generated + */ +public class ExpressionItemProviderAdapterFactory extends ExpressionAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * + * + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * + * + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * + * + * @generated + */ + protected Collection supportedTypes = new ArrayList(); + + /** + * This constructs an instance. + * + * + * @generated + */ + public ExpressionItemProviderAdapterFactory() { + supportedTypes.add(IEditingDomainItemProvider.class); + supportedTypes.add(IStructuredItemContentProvider.class); + supportedTypes.add(ITreeItemContentProvider.class); + supportedTypes.add(IItemLabelProvider.class); + supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.SiriusExpressionPackage} instances. + * + * + * @generated + */ + protected SiriusExpressionPackageItemProvider siriusExpressionPackageItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionPackage}. + * + * + * @generated + */ + @Override + public Adapter createSiriusExpressionPackageAdapter() { + if (siriusExpressionPackageItemProvider == null) { + siriusExpressionPackageItemProvider = new SiriusExpressionPackageItemProvider(this); + } + + return siriusExpressionPackageItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.SiriusExpressionDescription} instances. + * + * + * @generated + */ + protected SiriusExpressionDescriptionItemProvider siriusExpressionDescriptionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionDescription}. + * + * + * @generated + */ + @Override + public Adapter createSiriusExpressionDescriptionAdapter() { + if (siriusExpressionDescriptionItemProvider == null) { + siriusExpressionDescriptionItemProvider = new SiriusExpressionDescriptionItemProvider(this); + } + + return siriusExpressionDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.SiriusVariable} instances. + * + * + * @generated + */ + protected SiriusVariableItemProvider siriusVariableItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.SiriusVariable}. + * + * + * @generated + */ + @Override + public Adapter createSiriusVariableAdapter() { + if (siriusVariableItemProvider == null) { + siriusVariableItemProvider = new SiriusVariableItemProvider(this); + } + + return siriusVariableItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.SiriusExpressionClass} instances. + * + * + * @generated + */ + protected SiriusExpressionClassItemProvider siriusExpressionClassItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionClass}. + * + * + * @generated + */ + @Override + public Adapter createSiriusExpressionClassAdapter() { + if (siriusExpressionClassItemProvider == null) { + siriusExpressionClassItemProvider = new SiriusExpressionClassItemProvider(this); + } + + return siriusExpressionClassItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.SiriusParameter} instances. + * + * + * @generated + */ + protected SiriusParameterItemProvider siriusParameterItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.SiriusParameter}. + * + * + * @generated + */ + @Override + public Adapter createSiriusParameterAdapter() { + if (siriusParameterItemProvider == null) { + siriusParameterItemProvider = new SiriusParameterItemProvider(this); + } + + return siriusParameterItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.sirius.expression.UserDefinedVariable} instances. + * + * + * @generated + */ + protected UserDefinedVariableItemProvider userDefinedVariableItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.sirius.expression.UserDefinedVariable}. + * + * + * @generated + */ + @Override + public Adapter createUserDefinedVariableAdapter() { + if (userDefinedVariableItemProvider == null) { + userDefinedVariableItemProvider = new UserDefinedVariableItemProvider(this); + } + + return userDefinedVariableItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * + * + * @generated + */ + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * + * + * @generated + */ + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * + * + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * + * + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * + * + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class) || (((Class)type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * + * + * @generated + */ + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * + * + * @generated + */ + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * + * + * @generated + */ + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); + + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * + * + * @generated + */ + public void dispose() { + if (siriusExpressionPackageItemProvider != null) siriusExpressionPackageItemProvider.dispose(); + if (siriusExpressionDescriptionItemProvider != null) siriusExpressionDescriptionItemProvider.dispose(); + if (siriusVariableItemProvider != null) siriusVariableItemProvider.dispose(); + if (siriusExpressionClassItemProvider != null) siriusExpressionClassItemProvider.dispose(); + if (siriusParameterItemProvider != null) siriusParameterItemProvider.dispose(); + if (userDefinedVariableItemProvider != null) userDefinedVariableItemProvider.dispose(); + } + +} diff --git a/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java new file mode 100644 index 000000000..bea80dfaa --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionClassItemProvider.java @@ -0,0 +1,219 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.ExpressionFactory; +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionClass; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionClass} object. + * + * + * @generated + */ +public class SiriusExpressionClassItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public SiriusExpressionClassItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addEClassPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the EClass feature. + * + * + * @generated + */ + protected void addEClassPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionClass_eClass_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionClass_eClass_feature", "_UI_SiriusExpressionClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__ECLASS, + true, + false, + true, + null, + 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__VARIABLES); + childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns SiriusExpressionClass.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusExpressionClass")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_SiriusExpressionClass_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(SiriusExpressionClass.class)) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add + (createChildParameter + (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__VARIABLES, + ExpressionFactory.eINSTANCE.createSiriusVariable())); + + newChildDescriptors.add + (createChildParameter + (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__VARIABLES, + ExpressionFactory.eINSTANCE.createUserDefinedVariable())); + + newChildDescriptors.add + (createChildParameter + (ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS, + ExpressionFactory.eINSTANCE.createSiriusExpressionDescription())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionDescriptionItemProvider.java b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionDescriptionItemProvider.java new file mode 100644 index 000000000..67f02360a --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionDescriptionItemProvider.java @@ -0,0 +1,305 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.ExpressionFactory; +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionDescription; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionDescription} object. + * + * + * @generated + */ +public class SiriusExpressionDescriptionItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public SiriusExpressionDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addLowerBoundPropertyDescriptor(object); + addUpperBoundPropertyDescriptor(object); + addExpressionPropertyDescriptor(object); + addReturnTypePropertyDescriptor(object); + addVariableContainersPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Lower Bound feature. + * + * + * @generated + */ + protected void addLowerBoundPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionDescription_lowerBound_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionDescription_lowerBound_feature", "_UI_SiriusExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND, + true, + false, + false, + ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Upper Bound feature. + * + * + * @generated + */ + protected void addUpperBoundPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionDescription_upperBound_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionDescription_upperBound_feature", "_UI_SiriusExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND, + true, + false, + false, + ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Expression feature. + * + * + * @generated + */ + protected void addExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionDescription_expression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionDescription_expression_feature", "_UI_SiriusExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Return Type feature. + * + * + * @generated + */ + protected void addReturnTypePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionDescription_returnType_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionDescription_returnType_feature", "_UI_SiriusExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Variable Containers feature. + * + * + * @generated + */ + protected void addVariableContainersPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionDescription_variableContainers_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionDescription_variableContainers_feature", "_UI_SiriusExpressionDescription_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS, + true, + false, + true, + null, + 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns SiriusExpressionDescription.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusExpressionDescription")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + SiriusExpressionDescription siriusExpressionDescription = (SiriusExpressionDescription)object; + return getString("_UI_SiriusExpressionDescription_type") + " " + siriusExpressionDescription.getLowerBound(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(SiriusExpressionDescription.class)) { + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add + (createChildParameter + (ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS, + ExpressionFactory.eINSTANCE.createSiriusParameter())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionPackageItemProvider.java b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionPackageItemProvider.java new file mode 100644 index 000000000..71ba24b31 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusExpressionPackageItemProvider.java @@ -0,0 +1,207 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.ExpressionFactory; +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionPackage; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.SiriusExpressionPackage} object. + * + * + * @generated + */ +public class SiriusExpressionPackageItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public SiriusExpressionPackageItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addEPackagePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the EPackage feature. + * + * + * @generated + */ + protected void addEPackagePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusExpressionPackage_ePackage_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusExpressionPackage_ePackage_feature", "_UI_SiriusExpressionPackage_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, + true, + false, + true, + null, + 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}. + * + * + * @generated + */ + @Override + public Collection getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); + } + return childrenFeatures; + } + + /** + * + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns SiriusExpressionPackage.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusExpressionPackage")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_SiriusExpressionPackage_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(SiriusExpressionPackage.class)) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add + (createChildParameter + (ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES, + ExpressionFactory.eINSTANCE.createSiriusExpressionClass())); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusParameterItemProvider.java b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusParameterItemProvider.java new file mode 100644 index 000000000..622d2f995 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusParameterItemProvider.java @@ -0,0 +1,194 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusParameter; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.SiriusParameter} object. + * + * + * @generated + */ +public class SiriusParameterItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public SiriusParameterItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addOptionalPropertyDescriptor(object); + addVariablePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Optional feature. + * + * + * @generated + */ + protected void addOptionalPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusParameter_optional_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusParameter_optional_feature", "_UI_SiriusParameter_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_PARAMETER__OPTIONAL, + true, + false, + false, + ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Variable feature. + * + * + * @generated + */ + protected void addVariablePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusParameter_variable_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusParameter_variable_feature", "_UI_SiriusParameter_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_PARAMETER__VARIABLE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns SiriusParameter.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusParameter")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + SiriusParameter siriusParameter = (SiriusParameter)object; + return getString("_UI_SiriusParameter_type") + " " + siriusParameter.isOptional(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(SiriusParameter.class)) { + case ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusVariableItemProvider.java b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusVariableItemProvider.java new file mode 100644 index 000000000..481537529 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/SiriusVariableItemProvider.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusVariable; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.SiriusVariable} object. + * + * + * @generated + */ +public class SiriusVariableItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public SiriusVariableItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addNamePropertyDescriptor(object); + addDocumentationPropertyDescriptor(object); + addETypePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Name feature. + * + * + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusVariable_name_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusVariable_name_feature", "_UI_SiriusVariable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_VARIABLE__NAME, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Documentation feature. + * + * + * @generated + */ + protected void addDocumentationPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusVariable_documentation_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusVariable_documentation_feature", "_UI_SiriusVariable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_VARIABLE__DOCUMENTATION, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the EType feature. + * + * + * @generated + */ + protected void addETypePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_SiriusVariable_eType_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_SiriusVariable_eType_feature", "_UI_SiriusVariable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.SIRIUS_VARIABLE__ETYPE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns SiriusVariable.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/SiriusVariable")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((SiriusVariable)object).getName(); + return label == null || label.length() == 0 ? + getString("_UI_SiriusVariable_type") : //$NON-NLS-1$ + getString("_UI_SiriusVariable_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(SiriusVariable.class)) { + case ExpressionPackage.SIRIUS_VARIABLE__NAME: + case ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return ExpressionEditPlugin.INSTANCE; + } + +} diff --git a/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/UserDefinedVariableItemProvider.java b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/UserDefinedVariableItemProvider.java new file mode 100644 index 000000000..227dd60f5 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.edit/src-gen/org/eclipse/sirius/expression/provider/UserDefinedVariableItemProvider.java @@ -0,0 +1,147 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.UserDefinedVariable; + +/** + * This is the item provider adapter for a {@link org.eclipse.sirius.expression.UserDefinedVariable} object. + * + * + * @generated + */ +public class UserDefinedVariableItemProvider extends SiriusVariableItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * + * + * @generated + */ + public UserDefinedVariableItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * + * + * @generated + */ + @Override + public List getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addValueExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Value Expression feature. + * + * + * @generated + */ + protected void addValueExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_UserDefinedVariable_valueExpression_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_UserDefinedVariable_valueExpression_feature", "_UI_UserDefinedVariable_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ExpressionPackage.Literals.USER_DEFINED_VARIABLE__VALUE_EXPRESSION, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This returns UserDefinedVariable.gif. + * + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/UserDefinedVariable")); //$NON-NLS-1$ + } + + /** + * + * + * @generated + */ + @Override + protected boolean shouldComposeCreationImage() { + return true; + } + + /** + * This returns the label text for the adapted class. + * + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((UserDefinedVariable)object).getName(); + return label == null || label.length() == 0 ? + getString("_UI_UserDefinedVariable_type") : //$NON-NLS-1$ + getString("_UI_UserDefinedVariable_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(UserDefinedVariable.class)) { + case ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +} diff --git a/prototypes/org.eclipse.sirius.expression.text.tests/.classpath b/prototypes/org.eclipse.sirius.expression.text.tests/.classpath new file mode 100644 index 000000000..e4dad7e73 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.tests/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression.text.tests/.project b/prototypes/org.eclipse.sirius.expression.text.tests/.project new file mode 100644 index 000000000..f68429129 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.tests/.project @@ -0,0 +1,34 @@ + + + org.eclipse.sirius.expression.text.tests + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + org.eclipse.xtext.ui.shared.xtextNature + + diff --git a/prototypes/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.core.resources.prefs b/prototypes/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 000000000..99f26c020 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/prototypes/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.jdt.core.prefs b/prototypes/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..0c68a61dc --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.tests/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/prototypes/org.eclipse.sirius.expression.text.tests/META-INF/MANIFEST.MF b/prototypes/org.eclipse.sirius.expression.text.tests/META-INF/MANIFEST.MF new file mode 100644 index 000000000..d628f3c76 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.tests/META-INF/MANIFEST.MF @@ -0,0 +1,25 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-Version: 1.0.0.qualifier +Bundle-SymbolicName: org.eclipse.sirius.expression.text.tests; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: org.eclipse.sirius.expression.text, + org.eclipse.sirius.expression.text.ui, + org.eclipse.core.runtime, + org.eclipse.xtext.junit4, + org.eclipse.xtext.xbase.lib, + org.eclipse.ui.workbench;resolution:=optional, + org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional +Import-Package: org.apache.log4j, + org.junit;version="4.5.0", + org.junit.runner;version="4.5.0", + org.junit.runner.manipulation;version="4.5.0", + org.junit.runner.notification;version="4.5.0", + org.junit.runners;version="4.5.0", + org.junit.runners.model;version="4.5.0", + org.hamcrest.core +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.sirius.expression.text diff --git a/prototypes/org.eclipse.sirius.expression.text.tests/about.html b/prototypes/org.eclipse.sirius.expression.text.tests/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.tests/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

                About This Content

                + +

                June 15, 2010

                +

                License

                + +

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

                + +

                If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

                + + + \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.expression.text.tests/build.properties b/prototypes/org.eclipse.sirius.expression.text.tests/build.properties new file mode 100644 index 000000000..ef9ad3990 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.tests/build.properties @@ -0,0 +1,12 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +source.. = src-gen/ +bin.includes = META-INF/,\ + .,\ + about.html,\ + plugin.properties diff --git a/prototypes/org.eclipse.sirius.expression.text.tests/org.eclipse.sirius.expression.text.tests.launch b/prototypes/org.eclipse.sirius.expression.text.tests/org.eclipse.sirius.expression.text.tests.launch new file mode 100644 index 000000000..75a3747cf --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.tests/org.eclipse.sirius.expression.text.tests.launch @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression.text.tests/plugin.properties b/prototypes/org.eclipse.sirius.expression.text.tests/plugin.properties new file mode 100644 index 000000000..501ec941a --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.tests/plugin.properties @@ -0,0 +1,8 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +pluginName = Sirius Expression Tests +providerName = Eclipse Modeling Project \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextInjectorProvider.java b/prototypes/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextInjectorProvider.java new file mode 100644 index 000000000..768d69fef --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextInjectorProvider.java @@ -0,0 +1,48 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text; + +import org.eclipse.xtext.junit4.GlobalRegistries; +import org.eclipse.xtext.junit4.GlobalRegistries.GlobalStateMemento; +import org.eclipse.xtext.junit4.IInjectorProvider; +import org.eclipse.xtext.junit4.IRegistryConfigurator; + +import com.google.inject.Injector; + +public class ExpressionTextInjectorProvider implements IInjectorProvider, IRegistryConfigurator { + + protected GlobalStateMemento stateBeforeInjectorCreation; + protected GlobalStateMemento stateAfterInjectorCreation; + protected Injector injector; + + static { + GlobalRegistries.initializeDefaults(); + } + + @Override + public Injector getInjector() + { + if (injector == null) { + stateBeforeInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); + this.injector = internalCreateInjector(); + stateAfterInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); + } + return injector; + } + + protected Injector internalCreateInjector() { + return new ExpressionTextStandaloneSetup().createInjectorAndDoEMFRegistration(); + } + + @Override + public void restoreRegistry() { + stateBeforeInjectorCreation.restoreGlobalState(); + } + + @Override + public void setupRegistry() { + getInjector(); + stateAfterInjectorCreation.restoreGlobalState(); + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextUiInjectorProvider.java b/prototypes/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextUiInjectorProvider.java new file mode 100644 index 000000000..86bbd876b --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.tests/src-gen/org/eclipse/sirius/expression/text/ExpressionTextUiInjectorProvider.java @@ -0,0 +1,17 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text; + +import org.eclipse.xtext.junit4.IInjectorProvider; + +import com.google.inject.Injector; + +public class ExpressionTextUiInjectorProvider implements IInjectorProvider { + + @Override + public Injector getInjector() { + return org.eclipse.sirius.expression.text.ui.internal.ExpressionTextActivator.getInstance().getInjector("org.eclipse.sirius.expression.text.ExpressionText"); + } + +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/.classpath b/prototypes/org.eclipse.sirius.expression.text.ui/.classpath new file mode 100644 index 000000000..6ea81b1e6 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/.project b/prototypes/org.eclipse.sirius.expression.text.ui/.project new file mode 100644 index 000000000..8bf9af763 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/.project @@ -0,0 +1,34 @@ + + + org.eclipse.sirius.expression.text.ui + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + org.eclipse.xtext.ui.shared.xtextNature + + diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.core.resources.prefs b/prototypes/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 000000000..99f26c020 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.jdt.core.prefs b/prototypes/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..0c68a61dc --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/META-INF/MANIFEST.MF b/prototypes/org.eclipse.sirius.expression.text.ui/META-INF/MANIFEST.MF new file mode 100644 index 000000000..7ae6af452 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/META-INF/MANIFEST.MF @@ -0,0 +1,27 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-Vendor: %providerName +Bundle-Version: 1.0.0.qualifier +Bundle-Localization: plugin +Bundle-SymbolicName: org.eclipse.sirius.expression.text.ui; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: org.eclipse.sirius.expression.text;visibility:=reexport, + org.eclipse.xtext.ui, + org.eclipse.ui.editors;bundle-version="3.5.0", + org.eclipse.ui.ide;bundle-version="3.5.0", + org.eclipse.xtext.ui.shared, + org.eclipse.ui, + org.eclipse.xtext.builder, + org.eclipse.xtext.xbase.lib, + org.eclipse.xtext.common.types.ui, + org.eclipse.xtext.ui.codetemplates.ui, + org.eclipse.compare +Import-Package: org.apache.log4j +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.sirius.expression.text.ui.quickfix, + org.eclipse.sirius.expression.text.ui.contentassist, + org.eclipse.sirius.expression.text.ui.internal, + org.eclipse.sirius.expression.text.ui.contentassist.antlr, + org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal +Bundle-Activator: org.eclipse.sirius.expression.text.ui.internal.ExpressionTextActivator diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/about.html b/prototypes/org.eclipse.sirius.expression.text.ui/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

                About This Content

                + +

                June 15, 2010

                +

                License

                + +

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

                + +

                If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

                + + + \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/build.properties b/prototypes/org.eclipse.sirius.expression.text.ui/build.properties new file mode 100644 index 000000000..d5120529a --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/build.properties @@ -0,0 +1,14 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +source.. = src/,\ + src-gen/,\ + xtend-gen/ +bin.includes = META-INF/,\ + .,\ + plugin.xml,\ + about.html,\ + plugin.properties diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/plugin.properties b/prototypes/org.eclipse.sirius.expression.text.ui/plugin.properties new file mode 100644 index 000000000..a48a618d0 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/plugin.properties @@ -0,0 +1,8 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +pluginName = Sirius Expression UI +providerName = Eclipse Modeling Project \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/plugin.xml b/prototypes/org.eclipse.sirius.expression.text.ui/plugin.xml new file mode 100644 index 000000000..1fae06abc --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/plugin.xml @@ -0,0 +1,425 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/plugin.xml_gen b/prototypes/org.eclipse.sirius.expression.text.ui/plugin.xml_gen new file mode 100644 index 000000000..1fae06abc --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/plugin.xml_gen @@ -0,0 +1,425 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/AbstractExpressionTextUiModule.java b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/AbstractExpressionTextUiModule.java new file mode 100644 index 000000000..1dc331f4c --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/AbstractExpressionTextUiModule.java @@ -0,0 +1,196 @@ + +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui; + +import org.eclipse.ui.plugin.AbstractUIPlugin; + +/** + * Manual modifications go to {org.eclipse.sirius.expression.text.ui.ExpressionTextUiModule} + */ +@SuppressWarnings("all") +public abstract class AbstractExpressionTextUiModule extends org.eclipse.xtext.common.types.ui.DefaultCommonTypesUiModule { + + public AbstractExpressionTextUiModule(AbstractUIPlugin plugin) { + super(plugin); + } + + + // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment + public com.google.inject.Provider provideIAllContainersState() { + return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState(); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindIProposalConflictHelper() { + return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public void configureHighlightingLexer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextLexer.class); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public void configureHighlightingTokenDefProvider(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class); + } + + // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment + public Class bindIDependentElementsCalculator() { + return org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class); + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class bindIXtextEditorCallback() { + return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class bindIContextualOutputConfigurationProvider() { + return org.eclipse.xtext.builder.EclipseOutputConfigurationProvider.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.builder.builderState.IBuilderState.class); + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class bindDocumentBasedDirtyResource() { + return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class; + } + + // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment + public Class bindIXtextBuilderParticipant() { + return org.eclipse.xtext.builder.BuilderParticipant.class; + } + + // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment + public org.eclipse.core.resources.IWorkspaceRoot bindIWorkspaceRootToInstance() { + return org.eclipse.core.resources.ResourcesPlugin.getWorkspace().getRoot(); + } + + // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment + public void configureBuilderPreferenceStoreInitializer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("builderPreferenceInitializer")).to(org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess.Initializer.class); + } + + // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment + public Class bindILabelProvider() { + return org.eclipse.sirius.expression.text.ui.labeling.ExpressionTextLabelProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment + public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) { + binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.sirius.expression.text.ui.labeling.ExpressionTextDescriptionLabelProvider.class); + } + + // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment + public Class bindIOutlineTreeProvider() { + return org.eclipse.sirius.expression.text.ui.outline.ExpressionTextOutlineTreeProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment + public Class bindIOutlineTreeStructureProvider() { + return org.eclipse.sirius.expression.text.ui.outline.ExpressionTextOutlineTreeProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment + public Class bindIssueResolutionProvider() { + return org.eclipse.sirius.expression.text.ui.quickfix.ExpressionTextQuickfixProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.contentAssist.ContentAssistFragment + public Class bindIContentProposalProvider() { + return org.eclipse.sirius.expression.text.ui.contentassist.ExpressionTextProposalProvider.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public Class bindContentAssistContext$Factory() { + return org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public Class bindIContentAssistParser() { + return org.eclipse.sirius.expression.text.ui.contentassist.antlr.ExpressionTextParser.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public void configureContentAssistLexerProvider(com.google.inject.Binder binder) { + binder.bind(org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextLexer.class).toProvider(org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextLexer.class)); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public void configureContentAssistLexer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST)).to(org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextLexer.class); + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public Class bindIRenameStrategy() { + return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy.class; + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public Class bindIReferenceUpdater() { + return org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater.class; + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public void configureIPreferenceStoreInitializer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("RefactoringPreferences")).to(org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences.Initializer.class); + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public Class bindIRenameRefactoringProvider() { + return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public Class bindIRenameSupport$Factory() { + return org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport.Factory.class; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class bindPrefixMatcher() { + return org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.class; + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public com.google.inject.Provider provideTemplatesLanguageConfiguration() { + return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public com.google.inject.Provider provideLanguageRegistry() { + return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getLanguageRegistry(); + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class bindLanguageRegistrar() { + return org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.class; + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public Class bindXtextTemplatePreferencePage() { + return org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage.class; + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public Class bindIPartialContentAssistParser() { + return org.eclipse.sirius.expression.text.ui.contentassist.antlr.PartialExpressionTextContentAssistParser.class; + } + + // contributed by org.eclipse.xtext.ui.generator.compare.CompareFragment + public Class bindIViewerCreator() { + return org.eclipse.xtext.ui.compare.DefaultViewerCreator.class; + } + + +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/ExpressionTextExecutableExtensionFactory.java b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/ExpressionTextExecutableExtensionFactory.java new file mode 100644 index 000000000..1ea411595 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/ExpressionTextExecutableExtensionFactory.java @@ -0,0 +1,29 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui; + +import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; +import org.osgi.framework.Bundle; + +import com.google.inject.Injector; + +import org.eclipse.sirius.expression.text.ui.internal.ExpressionTextActivator; + +/** + * This class was generated. Customizations should only happen in a newly + * introduced subclass. + */ +public class ExpressionTextExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { + + @Override + protected Bundle getBundle() { + return ExpressionTextActivator.getInstance().getBundle(); + } + + @Override + protected Injector getInjector() { + return ExpressionTextActivator.getInstance().getInjector(ExpressionTextActivator.ORG_ECLIPSE_SIRIUS_EXPRESSION_TEXT_EXPRESSIONTEXT); + } + +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/AbstractExpressionTextProposalProvider.java b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/AbstractExpressionTextProposalProvider.java new file mode 100644 index 000000000..933ebe767 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/AbstractExpressionTextProposalProvider.java @@ -0,0 +1,101 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.contentassist; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.*; +import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; +import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; + +/** + * Represents a generated, default implementation of superclass {@link org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider}. + * Methods are dynamically dispatched on the first parameter, i.e., you can override them + * with a more concrete subtype. + */ +@SuppressWarnings("all") +public class AbstractExpressionTextProposalProvider extends org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider { + + public void completeSiriusExpressionPackage_EPackage(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionPackage_ExpressionClasses(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionClass_EClass(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionClass_Variables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionClass_ExpressionDescriptions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusVariable_Documentation(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusVariable_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusVariable_EType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_Expression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_Parameters(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_ReturnType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_LowerBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_UpperBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusExpressionDescription_VariableContainers(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeSiriusParameter_Optional(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeSiriusParameter_Variable(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + + public void complete_SiriusExpressionPackage(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_SiriusExpressionClass(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_FQN(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_SiriusVariable(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_SiriusExpressionDescription(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_SiriusParameter(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Bound(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ID(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_INT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ML_COMMENT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_WS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/ExpressionTextParser.java b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/ExpressionTextParser.java new file mode 100644 index 000000000..614172056 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/ExpressionTextParser.java @@ -0,0 +1,99 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.contentassist.antlr; + +import java.util.Collection; +import java.util.Map; +import java.util.HashMap; + +import org.antlr.runtime.RecognitionException; +import org.eclipse.xtext.AbstractElement; +import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser; +import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; + +import com.google.inject.Inject; + +import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; + +public class ExpressionTextParser extends AbstractContentAssistParser { + + @Inject + private ExpressionTextGrammarAccess grammarAccess; + + private Map nameMappings; + + @Override + protected org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser createParser() { + org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser result = new org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser(null); + result.setGrammarAccess(grammarAccess); + return result; + } + + @Override + protected String getRuleName(AbstractElement element) { + if (nameMappings == null) { + nameMappings = new HashMap() { + private static final long serialVersionUID = 1L; + { + put(grammarAccess.getSiriusExpressionPackageAccess().getGroup(), "rule__SiriusExpressionPackage__Group__0"); + put(grammarAccess.getSiriusExpressionClassAccess().getGroup(), "rule__SiriusExpressionClass__Group__0"); + put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); + put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); + put(grammarAccess.getSiriusVariableAccess().getGroup(), "rule__SiriusVariable__Group__0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup(), "rule__SiriusExpressionDescription__Group__0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3(), "rule__SiriusExpressionDescription__Group_3__0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1(), "rule__SiriusExpressionDescription__Group_3_1__0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16(), "rule__SiriusExpressionDescription__Group_16__0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1(), "rule__SiriusExpressionDescription__Group_16_1__0"); + put(grammarAccess.getSiriusParameterAccess().getGroup(), "rule__SiriusParameter__Group__0"); + put(grammarAccess.getBoundAccess().getGroup(), "rule__Bound__Group__0"); + put(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1(), "rule__SiriusExpressionPackage__EPackageAssignment_1"); + put(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3(), "rule__SiriusExpressionPackage__ExpressionClassesAssignment_3"); + put(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1(), "rule__SiriusExpressionClass__EClassAssignment_1"); + put(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3(), "rule__SiriusExpressionClass__VariablesAssignment_3"); + put(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4(), "rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4"); + put(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0(), "rule__SiriusVariable__DocumentationAssignment_0"); + put(grammarAccess.getSiriusVariableAccess().getNameAssignment_2(), "rule__SiriusVariable__NameAssignment_2"); + put(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4(), "rule__SiriusVariable__ETypeAssignment_4"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1(), "rule__SiriusExpressionDescription__ExpressionAssignment_1"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0(), "rule__SiriusExpressionDescription__ParametersAssignment_3_0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1(), "rule__SiriusExpressionDescription__ParametersAssignment_3_1_1"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeAssignment_6(), "rule__SiriusExpressionDescription__ReturnTypeAssignment_6"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8(), "rule__SiriusExpressionDescription__LowerBoundAssignment_8"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10(), "rule__SiriusExpressionDescription__UpperBoundAssignment_10"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_0(), "rule__SiriusExpressionDescription__VariableContainersAssignment_16_0"); + put(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_1_1(), "rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1"); + put(grammarAccess.getSiriusParameterAccess().getOptionalAssignment_0(), "rule__SiriusParameter__OptionalAssignment_0"); + put(grammarAccess.getSiriusParameterAccess().getVariableAssignment_1(), "rule__SiriusParameter__VariableAssignment_1"); + } + }; + } + return nameMappings.get(element); + } + + @Override + protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { + try { + org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser typedParser = (org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser) parser; + typedParser.entryRuleSiriusExpressionPackage(); + return typedParser.getFollowElements(); + } catch(RecognitionException ex) { + throw new RuntimeException(ex); + } + } + + @Override + protected String[] getInitialHiddenTokens() { + return new String[] { "RULE_WS" }; + } + + public ExpressionTextGrammarAccess getGrammarAccess() { + return this.grammarAccess; + } + + public void setGrammarAccess(ExpressionTextGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/PartialExpressionTextContentAssistParser.java b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/PartialExpressionTextContentAssistParser.java new file mode 100644 index 000000000..5c07f38e1 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/PartialExpressionTextContentAssistParser.java @@ -0,0 +1,38 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.contentassist.antlr; + +import java.util.Collection; +import java.util.Collections; + +import org.eclipse.xtext.AbstractRule; +import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser; +import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.util.PolymorphicDispatcher; + +/* + * Template CodetemplatesGeneratorFragment.xpt + */ +public class PartialExpressionTextContentAssistParser extends ExpressionTextParser implements IPartialContentAssistParser { + + private AbstractRule rule; + + @Override + public void initializeFor(AbstractRule rule) { + this.rule = rule; + } + + @Override + protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { + if (rule == null || rule.eIsProxy()) + return Collections.emptyList(); + String methodName = "entryRule" + rule.getName(); + PolymorphicDispatcher> dispatcher = + new PolymorphicDispatcher>(methodName, 0, 0, Collections.singletonList(parser)); + dispatcher.invoke(); + return parser.getFollowElements(); + } + +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g new file mode 100644 index 000000000..ab00256bb --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.g @@ -0,0 +1,2197 @@ +/* + * generated by Xtext + */ +grammar InternalExpressionText; + +options { + superClass=AbstractInternalContentAssistParser; + +} + +@lexer::header { +package org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; +} + +@parser::header { +package org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal; + +import java.io.InputStream; +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA; +import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; + +} + +@parser::members { + + private ExpressionTextGrammarAccess grammarAccess; + + public void setGrammarAccess(ExpressionTextGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + @Override + protected Grammar getGrammar() { + return grammarAccess.getGrammar(); + } + + @Override + protected String getValueForTokenName(String tokenName) { + return tokenName; + } + +} + + + + +// Entry rule entryRuleSiriusExpressionPackage +entryRuleSiriusExpressionPackage +: +{ before(grammarAccess.getSiriusExpressionPackageRule()); } + ruleSiriusExpressionPackage +{ after(grammarAccess.getSiriusExpressionPackageRule()); } + EOF +; + +// Rule SiriusExpressionPackage +ruleSiriusExpressionPackage + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); } +(rule__SiriusExpressionPackage__Group__0) +{ after(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleSiriusExpressionClass +entryRuleSiriusExpressionClass +: +{ before(grammarAccess.getSiriusExpressionClassRule()); } + ruleSiriusExpressionClass +{ after(grammarAccess.getSiriusExpressionClassRule()); } + EOF +; + +// Rule SiriusExpressionClass +ruleSiriusExpressionClass + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getGroup()); } +(rule__SiriusExpressionClass__Group__0) +{ after(grammarAccess.getSiriusExpressionClassAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleFQN +entryRuleFQN +: +{ before(grammarAccess.getFQNRule()); } + ruleFQN +{ after(grammarAccess.getFQNRule()); } + EOF +; + +// Rule FQN +ruleFQN + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getFQNAccess().getGroup()); } +(rule__FQN__Group__0) +{ after(grammarAccess.getFQNAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleSiriusVariable +entryRuleSiriusVariable +: +{ before(grammarAccess.getSiriusVariableRule()); } + ruleSiriusVariable +{ after(grammarAccess.getSiriusVariableRule()); } + EOF +; + +// Rule SiriusVariable +ruleSiriusVariable + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getSiriusVariableAccess().getGroup()); } +(rule__SiriusVariable__Group__0) +{ after(grammarAccess.getSiriusVariableAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleSiriusExpressionDescription +entryRuleSiriusExpressionDescription +: +{ before(grammarAccess.getSiriusExpressionDescriptionRule()); } + ruleSiriusExpressionDescription +{ after(grammarAccess.getSiriusExpressionDescriptionRule()); } + EOF +; + +// Rule SiriusExpressionDescription +ruleSiriusExpressionDescription + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); } +(rule__SiriusExpressionDescription__Group__0) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleSiriusParameter +entryRuleSiriusParameter +: +{ before(grammarAccess.getSiriusParameterRule()); } + ruleSiriusParameter +{ after(grammarAccess.getSiriusParameterRule()); } + EOF +; + +// Rule SiriusParameter +ruleSiriusParameter + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getSiriusParameterAccess().getGroup()); } +(rule__SiriusParameter__Group__0) +{ after(grammarAccess.getSiriusParameterAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleBound +entryRuleBound +: +{ before(grammarAccess.getBoundRule()); } + ruleBound +{ after(grammarAccess.getBoundRule()); } + EOF +; + +// Rule Bound +ruleBound + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getBoundAccess().getGroup()); } +(rule__Bound__Group__0) +{ after(grammarAccess.getBoundAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusExpressionPackage__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionPackage__Group__0__Impl + rule__SiriusExpressionPackage__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); } + + 'package' + +{ after(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionPackage__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionPackage__Group__1__Impl + rule__SiriusExpressionPackage__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); } +(rule__SiriusExpressionPackage__EPackageAssignment_1) +{ after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionPackage__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionPackage__Group__2__Impl + rule__SiriusExpressionPackage__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); } + + '{' + +{ after(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionPackage__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionPackage__Group__3__Impl + rule__SiriusExpressionPackage__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); } +(rule__SiriusExpressionPackage__ExpressionClassesAssignment_3)* +{ after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionPackage__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionPackage__Group__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); } + + '}' + +{ after(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + +rule__SiriusExpressionClass__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__0__Impl + rule__SiriusExpressionClass__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); } + + 'class' + +{ after(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionClass__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__1__Impl + rule__SiriusExpressionClass__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); } +(rule__SiriusExpressionClass__EClassAssignment_1) +{ after(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionClass__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__2__Impl + rule__SiriusExpressionClass__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); } + + '{' + +{ after(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionClass__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__3__Impl + rule__SiriusExpressionClass__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); } +(rule__SiriusExpressionClass__VariablesAssignment_3)* +{ after(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionClass__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__4__Impl + rule__SiriusExpressionClass__Group__5 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); } +(rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4)* +{ after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionClass__Group__5 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionClass__Group__5__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__Group__5__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); } + + '}' + +{ after(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + + + +rule__FQN__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__FQN__Group__0__Impl + rule__FQN__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__FQN__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); } + RULE_ID +{ after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__FQN__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__FQN__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__FQN__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getFQNAccess().getGroup_1()); } +(rule__FQN__Group_1__0)* +{ after(grammarAccess.getFQNAccess().getGroup_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__FQN__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__FQN__Group_1__0__Impl + rule__FQN__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__FQN__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); } + + '.' + +{ after(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__FQN__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__FQN__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__FQN__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); } + RULE_ID +{ after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusVariable__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusVariable__Group__0__Impl + rule__SiriusVariable__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); } +(rule__SiriusVariable__DocumentationAssignment_0)? +{ after(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusVariable__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusVariable__Group__1__Impl + rule__SiriusVariable__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); } + + 'var' + +{ after(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusVariable__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusVariable__Group__2__Impl + rule__SiriusVariable__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); } +(rule__SiriusVariable__NameAssignment_2) +{ after(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusVariable__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusVariable__Group__3__Impl + rule__SiriusVariable__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); } + + ':' + +{ after(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusVariable__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusVariable__Group__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); } +(rule__SiriusVariable__ETypeAssignment_4) +{ after(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + +rule__SiriusExpressionDescription__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__0__Impl + rule__SiriusExpressionDescription__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); } + + 'exp' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__1__Impl + rule__SiriusExpressionDescription__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); } +(rule__SiriusExpressionDescription__ExpressionAssignment_1) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__2__Impl + rule__SiriusExpressionDescription__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); } + + '(' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__3__Impl + rule__SiriusExpressionDescription__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); } +(rule__SiriusExpressionDescription__Group_3__0)? +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__4__Impl + rule__SiriusExpressionDescription__Group__5 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); } + + ')' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__5 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__5__Impl + rule__SiriusExpressionDescription__Group__6 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__5__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); } + + ':' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__6 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__6__Impl + rule__SiriusExpressionDescription__Group__7 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__6__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeAssignment_6()); } +(rule__SiriusExpressionDescription__ReturnTypeAssignment_6) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeAssignment_6()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__7 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__7__Impl + rule__SiriusExpressionDescription__Group__8 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__7__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); } + + '[' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__8 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__8__Impl + rule__SiriusExpressionDescription__Group__9 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__8__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); } +(rule__SiriusExpressionDescription__LowerBoundAssignment_8) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__9 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__9__Impl + rule__SiriusExpressionDescription__Group__10 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__9__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); } + + '..' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__10 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__10__Impl + rule__SiriusExpressionDescription__Group__11 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__10__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); } +(rule__SiriusExpressionDescription__UpperBoundAssignment_10) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__11 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__11__Impl + rule__SiriusExpressionDescription__Group__12 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__11__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); } + + ']' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__12 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__12__Impl + rule__SiriusExpressionDescription__Group__13 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__12__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); } + + '{' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__13 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__13__Impl + rule__SiriusExpressionDescription__Group__14 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__13__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); } + + 'userDefinedVariableContainers' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__14 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__14__Impl + rule__SiriusExpressionDescription__Group__15 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__14__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); } + + '=' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__15 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__15__Impl + rule__SiriusExpressionDescription__Group__16 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__15__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); } + + '[' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__16 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__16__Impl + rule__SiriusExpressionDescription__Group__17 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__16__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); } +(rule__SiriusExpressionDescription__Group_16__0)? +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__17 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__17__Impl + rule__SiriusExpressionDescription__Group__18 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__17__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); } + + ']' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group__18 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group__18__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group__18__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); } + + '}' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +rule__SiriusExpressionDescription__Group_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_3__0__Impl + rule__SiriusExpressionDescription__Group_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); } +(rule__SiriusExpressionDescription__ParametersAssignment_3_0) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_3__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_3__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); } +(rule__SiriusExpressionDescription__Group_3_1__0)* +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusExpressionDescription__Group_3_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_3_1__0__Impl + rule__SiriusExpressionDescription__Group_3_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_3_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); } + + ',' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group_3_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_3_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_3_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); } +(rule__SiriusExpressionDescription__ParametersAssignment_3_1_1) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusExpressionDescription__Group_16__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_16__0__Impl + rule__SiriusExpressionDescription__Group_16__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_16__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_0()); } +(rule__SiriusExpressionDescription__VariableContainersAssignment_16_0) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group_16__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_16__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_16__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); } +(rule__SiriusExpressionDescription__Group_16_1__0)* +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusExpressionDescription__Group_16_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_16_1__0__Impl + rule__SiriusExpressionDescription__Group_16_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_16_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); } + + ',' + +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusExpressionDescription__Group_16_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusExpressionDescription__Group_16_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__Group_16_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_1_1()); } +(rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__SiriusParameter__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusParameter__Group__0__Impl + rule__SiriusParameter__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusParameter__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusParameterAccess().getOptionalAssignment_0()); } +(rule__SiriusParameter__OptionalAssignment_0)? +{ after(grammarAccess.getSiriusParameterAccess().getOptionalAssignment_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SiriusParameter__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SiriusParameter__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusParameter__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusParameterAccess().getVariableAssignment_1()); } +(rule__SiriusParameter__VariableAssignment_1) +{ after(grammarAccess.getSiriusParameterAccess().getVariableAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__Bound__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Bound__Group__0__Impl + rule__Bound__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Bound__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); } +( + '-' +)? +{ after(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Bound__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Bound__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Bound__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); } + RULE_INT +{ after(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + +rule__SiriusExpressionPackage__EPackageAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); } +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageIDTerminalRuleCall_1_0_1()); } + RULE_ID{ after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageIDTerminalRuleCall_1_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); } + ruleSiriusExpressionClass{ after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__EClassAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); } +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__VariablesAssignment_3 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); } + ruleSiriusVariable{ after(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); } + ruleSiriusExpressionDescription{ after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__DocumentationAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); } + RULE_ML_COMMENT{ after(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__NameAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); } + RULE_ID{ after(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusVariable__ETypeAssignment_4 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); } +( +{ before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); } +) +{ after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__ExpressionAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); } +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__ParametersAssignment_3_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); } + ruleSiriusParameter{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); } + ruleSiriusParameter{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__ReturnTypeAssignment_6 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); } +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierFQNParserRuleCall_6_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierFQNParserRuleCall_6_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__LowerBoundAssignment_8 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); } + ruleBound{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__UpperBoundAssignment_10 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); } + ruleBound{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); } +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_0_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_0_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); } +( +{ before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_1_1_0_1()); } + ruleFQN{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_1_1_0_1()); } +) +{ after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusParameter__OptionalAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); } +( +{ before(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); } + + 'optional' + +{ after(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); } +) + +{ after(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SiriusParameter__VariableAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); } +( +{ before(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableIDTerminalRuleCall_1_0_1()); } + RULE_ID{ after(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableIDTerminalRuleCall_1_0_1()); } +) +{ after(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; + +RULE_INT : ('0'..'9')+; + +RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; + +RULE_WS : (' '|'\t'|'\r'|'\n')+; + + diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens new file mode 100644 index 000000000..3fe78ba0f --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionText.tokens @@ -0,0 +1,40 @@ +'('=16 +')'=17 +','=23 +'-'=24 +'.'=12 +'..'=19 +':'=14 +'='=22 +'['=18 +']'=20 +'class'=11 +'exp'=15 +'optional'=25 +'package'=8 +'userDefinedVariableContainers'=21 +'var'=13 +'{'=9 +'}'=10 +RULE_ID=4 +RULE_INT=5 +RULE_ML_COMMENT=6 +RULE_WS=7 +T__10=10 +T__11=11 +T__12=12 +T__13=13 +T__14=14 +T__15=15 +T__16=16 +T__17=17 +T__18=18 +T__19=19 +T__20=20 +T__21=21 +T__22=22 +T__23=23 +T__24=24 +T__25=25 +T__8=8 +T__9=9 diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java new file mode 100644 index 000000000..82f76fae9 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/contentassist/antlr/internal/InternalExpressionTextLexer.java @@ -0,0 +1,959 @@ +package org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalExpressionTextLexer extends Lexer { + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int EOF=-1; + public static final int T__10=10; + public static final int T__9=9; + public static final int T__8=8; + public static final int RULE_ID=4; + public static final int RULE_WS=7; + public static final int RULE_INT=5; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=6; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + + // delegates + // delegators + + public InternalExpressionTextLexer() {;} + public InternalExpressionTextLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + public InternalExpressionTextLexer(CharStream input, RecognizerSharedState state) { + super(input,state); + + } + public String getGrammarFileName() { return "InternalExpressionText.g"; } + + // $ANTLR start "T__8" + public final void mT__8() throws RecognitionException { + try { + int _type = T__8; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:11:6: ( 'package' ) + // InternalExpressionText.g:11:8: 'package' + { + match("package"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__8" + + // $ANTLR start "T__9" + public final void mT__9() throws RecognitionException { + try { + int _type = T__9; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:12:6: ( '{' ) + // InternalExpressionText.g:12:8: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__9" + + // $ANTLR start "T__10" + public final void mT__10() throws RecognitionException { + try { + int _type = T__10; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:13:7: ( '}' ) + // InternalExpressionText.g:13:9: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__10" + + // $ANTLR start "T__11" + public final void mT__11() throws RecognitionException { + try { + int _type = T__11; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:14:7: ( 'class' ) + // InternalExpressionText.g:14:9: 'class' + { + match("class"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__11" + + // $ANTLR start "T__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:15:7: ( '.' ) + // InternalExpressionText.g:15:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__12" + + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { + try { + int _type = T__13; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:16:7: ( 'var' ) + // InternalExpressionText.g:16:9: 'var' + { + match("var"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:17:7: ( ':' ) + // InternalExpressionText.g:17:9: ':' + { + match(':'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:18:7: ( 'exp' ) + // InternalExpressionText.g:18:9: 'exp' + { + match("exp"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:19:7: ( '(' ) + // InternalExpressionText.g:19:9: '(' + { + match('('); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:20:7: ( ')' ) + // InternalExpressionText.g:20:9: ')' + { + match(')'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:21:7: ( '[' ) + // InternalExpressionText.g:21:9: '[' + { + match('['); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:22:7: ( '..' ) + // InternalExpressionText.g:22:9: '..' + { + match(".."); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:23:7: ( ']' ) + // InternalExpressionText.g:23:9: ']' + { + match(']'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:24:7: ( 'userDefinedVariableContainers' ) + // InternalExpressionText.g:24:9: 'userDefinedVariableContainers' + { + match("userDefinedVariableContainers"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:25:7: ( '=' ) + // InternalExpressionText.g:25:9: '=' + { + match('='); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:26:7: ( ',' ) + // InternalExpressionText.g:26:9: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:27:7: ( '-' ) + // InternalExpressionText.g:27:9: '-' + { + match('-'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:28:7: ( 'optional' ) + // InternalExpressionText.g:28:9: 'optional' + { + match("optional"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__25" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:2189:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalExpressionText.g:2189:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // InternalExpressionText.g:2189:11: ( '^' )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='^') ) { + alt1=1; + } + switch (alt1) { + case 1 : + // InternalExpressionText.g:2189:11: '^' + { + match('^'); + + } + break; + + } + + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // InternalExpressionText.g:2189:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalExpressionText.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop2; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:2191:10: ( ( '0' .. '9' )+ ) + // InternalExpressionText.g:2191:12: ( '0' .. '9' )+ + { + // InternalExpressionText.g:2191:12: ( '0' .. '9' )+ + int cnt3=0; + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( ((LA3_0>='0' && LA3_0<='9')) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalExpressionText.g:2191:13: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt3 >= 1 ) break loop3; + EarlyExitException eee = + new EarlyExitException(3, input); + throw eee; + } + cnt3++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_INT" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:2193:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalExpressionText.g:2193:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // InternalExpressionText.g:2193:24: ( options {greedy=false; } : . )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0=='*') ) { + int LA4_1 = input.LA(2); + + if ( (LA4_1=='/') ) { + alt4=2; + } + else if ( ((LA4_1>='\u0000' && LA4_1<='.')||(LA4_1>='0' && LA4_1<='\uFFFF')) ) { + alt4=1; + } + + + } + else if ( ((LA4_0>='\u0000' && LA4_0<=')')||(LA4_0>='+' && LA4_0<='\uFFFF')) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalExpressionText.g:2193:52: . + { + matchAny(); + + } + break; + + default : + break loop4; + } + } while (true); + + match("*/"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_WS" + public final void mRULE_WS() throws RecognitionException { + try { + int _type = RULE_WS; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:2195:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalExpressionText.g:2195:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // InternalExpressionText.g:2195:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt5=0; + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( ((LA5_0>='\t' && LA5_0<='\n')||LA5_0=='\r'||LA5_0==' ') ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalExpressionText.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt5 >= 1 ) break loop5; + EarlyExitException eee = + new EarlyExitException(5, input); + throw eee; + } + cnt5++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + public void mTokens() throws RecognitionException { + // InternalExpressionText.g:1:8: ( T__8 | T__9 | T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS ) + int alt6=22; + alt6 = dfa6.predict(input); + switch (alt6) { + case 1 : + // InternalExpressionText.g:1:10: T__8 + { + mT__8(); + + } + break; + case 2 : + // InternalExpressionText.g:1:15: T__9 + { + mT__9(); + + } + break; + case 3 : + // InternalExpressionText.g:1:20: T__10 + { + mT__10(); + + } + break; + case 4 : + // InternalExpressionText.g:1:26: T__11 + { + mT__11(); + + } + break; + case 5 : + // InternalExpressionText.g:1:32: T__12 + { + mT__12(); + + } + break; + case 6 : + // InternalExpressionText.g:1:38: T__13 + { + mT__13(); + + } + break; + case 7 : + // InternalExpressionText.g:1:44: T__14 + { + mT__14(); + + } + break; + case 8 : + // InternalExpressionText.g:1:50: T__15 + { + mT__15(); + + } + break; + case 9 : + // InternalExpressionText.g:1:56: T__16 + { + mT__16(); + + } + break; + case 10 : + // InternalExpressionText.g:1:62: T__17 + { + mT__17(); + + } + break; + case 11 : + // InternalExpressionText.g:1:68: T__18 + { + mT__18(); + + } + break; + case 12 : + // InternalExpressionText.g:1:74: T__19 + { + mT__19(); + + } + break; + case 13 : + // InternalExpressionText.g:1:80: T__20 + { + mT__20(); + + } + break; + case 14 : + // InternalExpressionText.g:1:86: T__21 + { + mT__21(); + + } + break; + case 15 : + // InternalExpressionText.g:1:92: T__22 + { + mT__22(); + + } + break; + case 16 : + // InternalExpressionText.g:1:98: T__23 + { + mT__23(); + + } + break; + case 17 : + // InternalExpressionText.g:1:104: T__24 + { + mT__24(); + + } + break; + case 18 : + // InternalExpressionText.g:1:110: T__25 + { + mT__25(); + + } + break; + case 19 : + // InternalExpressionText.g:1:116: RULE_ID + { + mRULE_ID(); + + } + break; + case 20 : + // InternalExpressionText.g:1:124: RULE_INT + { + mRULE_INT(); + + } + break; + case 21 : + // InternalExpressionText.g:1:133: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 22 : + // InternalExpressionText.g:1:149: RULE_WS + { + mRULE_WS(); + + } + break; + + } + + } + + + protected DFA6 dfa6 = new DFA6(this); + static final String DFA6_eotS = + "\1\uffff\1\22\2\uffff\1\22\1\31\1\22\1\uffff\1\22\4\uffff\1\22\3\uffff\1\22\4\uffff\2\22\2\uffff\6\22\1\46\1\47\4\22\2\uffff\3\22\1\57\3\22\1\uffff\2\22\1\65\2\22\1\uffff\1\22\1\71\1\22\1\uffff\23\22\1\116\1\uffff"; + static final String DFA6_eofS = + "\117\uffff"; + static final String DFA6_minS = + "\1\11\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\4\uffff\1\163\3\uffff\1\160\4\uffff\1\143\1\141\2\uffff\1\162\1\160\1\145\1\164\1\153\1\163\2\60\1\162\1\151\1\141\1\163\2\uffff\1\104\1\157\1\147\1\60\1\145\1\156\1\145\1\uffff\1\146\1\141\1\60\1\151\1\154\1\uffff\1\156\1\60\1\145\1\uffff\1\144\1\126\1\141\1\162\1\151\1\141\1\142\1\154\1\145\1\103\1\157\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\60\1\uffff"; + static final String DFA6_maxS = + "\1\175\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\4\uffff\1\163\3\uffff\1\160\4\uffff\1\143\1\141\2\uffff\1\162\1\160\1\145\1\164\1\153\1\163\2\172\1\162\1\151\1\141\1\163\2\uffff\1\104\1\157\1\147\1\172\1\145\1\156\1\145\1\uffff\1\146\1\141\1\172\1\151\1\154\1\uffff\1\156\1\172\1\145\1\uffff\1\144\1\126\1\141\1\162\1\151\1\141\1\142\1\154\1\145\1\103\1\157\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\172\1\uffff"; + static final String DFA6_acceptS = + "\2\uffff\1\2\1\3\3\uffff\1\7\1\uffff\1\11\1\12\1\13\1\15\1\uffff\1\17\1\20\1\21\1\uffff\1\23\1\24\1\25\1\26\2\uffff\1\14\1\5\14\uffff\1\6\1\10\7\uffff\1\4\5\uffff\1\1\3\uffff\1\22\24\uffff\1\16"; + static final String DFA6_specialS = + "\117\uffff}>"; + static final String[] DFA6_transitionS = { + "\2\25\2\uffff\1\25\22\uffff\1\25\7\uffff\1\11\1\12\2\uffff\1\17\1\20\1\5\1\24\12\23\1\7\2\uffff\1\16\3\uffff\32\22\1\13\1\uffff\1\14\2\22\1\uffff\2\22\1\4\1\22\1\10\11\22\1\21\1\1\4\22\1\15\1\6\4\22\1\2\1\uffff\1\3", + "\1\26", + "", + "", + "\1\27", + "\1\30", + "\1\32", + "", + "\1\33", + "", + "", + "", + "", + "\1\34", + "", + "", + "", + "\1\35", + "", + "", + "", + "", + "\1\36", + "\1\37", + "", + "", + "\1\40", + "\1\41", + "\1\42", + "\1\43", + "\1\44", + "\1\45", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "\1\50", + "\1\51", + "\1\52", + "\1\53", + "", + "", + "\1\54", + "\1\55", + "\1\56", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "\1\60", + "\1\61", + "\1\62", + "", + "\1\63", + "\1\64", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "\1\66", + "\1\67", + "", + "\1\70", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "\1\72", + "", + "\1\73", + "\1\74", + "\1\75", + "\1\76", + "\1\77", + "\1\100", + "\1\101", + "\1\102", + "\1\103", + "\1\104", + "\1\105", + "\1\106", + "\1\107", + "\1\110", + "\1\111", + "\1\112", + "\1\113", + "\1\114", + "\1\115", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "" + }; + + static final short[] DFA6_eot = DFA.unpackEncodedString(DFA6_eotS); + static final short[] DFA6_eof = DFA.unpackEncodedString(DFA6_eofS); + static final char[] DFA6_min = DFA.unpackEncodedStringToUnsignedChars(DFA6_minS); + static final char[] DFA6_max = DFA.unpackEncodedStringToUnsignedChars(DFA6_maxS); + static final short[] DFA6_accept = DFA.unpackEncodedString(DFA6_acceptS); + static final short[] DFA6_special = DFA.unpackEncodedString(DFA6_specialS); + static final short[][] DFA6_transition; + + static { + int numStates = DFA6_transitionS.length; + DFA6_transition = new short[numStates][]; + for (int i=0; i", "", "", "", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "'package'", "'{'", "'}'", "'class'", "'.'", "'var'", "':'", "'exp'", "'('", "')'", "'['", "'..'", "']'", "'userDefinedVariableContainers'", "'='", "','", "'-'", "'optional'" + }; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int EOF=-1; + public static final int T__10=10; + public static final int T__9=9; + public static final int T__8=8; + public static final int RULE_ID=4; + public static final int RULE_WS=7; + public static final int RULE_INT=5; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=6; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + + // delegates + // delegators + + + public InternalExpressionTextParser(TokenStream input) { + this(input, new RecognizerSharedState()); + } + public InternalExpressionTextParser(TokenStream input, RecognizerSharedState state) { + super(input, state); + + } + + + public String[] getTokenNames() { return InternalExpressionTextParser.tokenNames; } + public String getGrammarFileName() { return "InternalExpressionText.g"; } + + + + private ExpressionTextGrammarAccess grammarAccess; + + public void setGrammarAccess(ExpressionTextGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + @Override + protected Grammar getGrammar() { + return grammarAccess.getGrammar(); + } + + @Override + protected String getValueForTokenName(String tokenName) { + return tokenName; + } + + + + + // $ANTLR start "entryRuleSiriusExpressionPackage" + // InternalExpressionText.g:60:1: entryRuleSiriusExpressionPackage : ruleSiriusExpressionPackage EOF ; + public final void entryRuleSiriusExpressionPackage() throws RecognitionException { + try { + // InternalExpressionText.g:61:1: ( ruleSiriusExpressionPackage EOF ) + // InternalExpressionText.g:62:1: ruleSiriusExpressionPackage EOF + { + before(grammarAccess.getSiriusExpressionPackageRule()); + pushFollow(FOLLOW_1); + ruleSiriusExpressionPackage(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionPackageRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleSiriusExpressionPackage" + + + // $ANTLR start "ruleSiriusExpressionPackage" + // InternalExpressionText.g:69:1: ruleSiriusExpressionPackage : ( ( rule__SiriusExpressionPackage__Group__0 ) ) ; + public final void ruleSiriusExpressionPackage() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:73:2: ( ( ( rule__SiriusExpressionPackage__Group__0 ) ) ) + // InternalExpressionText.g:74:1: ( ( rule__SiriusExpressionPackage__Group__0 ) ) + { + // InternalExpressionText.g:74:1: ( ( rule__SiriusExpressionPackage__Group__0 ) ) + // InternalExpressionText.g:75:1: ( rule__SiriusExpressionPackage__Group__0 ) + { + before(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); + // InternalExpressionText.g:76:1: ( rule__SiriusExpressionPackage__Group__0 ) + // InternalExpressionText.g:76:2: rule__SiriusExpressionPackage__Group__0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionPackageAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleSiriusExpressionPackage" + + + // $ANTLR start "entryRuleSiriusExpressionClass" + // InternalExpressionText.g:88:1: entryRuleSiriusExpressionClass : ruleSiriusExpressionClass EOF ; + public final void entryRuleSiriusExpressionClass() throws RecognitionException { + try { + // InternalExpressionText.g:89:1: ( ruleSiriusExpressionClass EOF ) + // InternalExpressionText.g:90:1: ruleSiriusExpressionClass EOF + { + before(grammarAccess.getSiriusExpressionClassRule()); + pushFollow(FOLLOW_1); + ruleSiriusExpressionClass(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionClassRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleSiriusExpressionClass" + + + // $ANTLR start "ruleSiriusExpressionClass" + // InternalExpressionText.g:97:1: ruleSiriusExpressionClass : ( ( rule__SiriusExpressionClass__Group__0 ) ) ; + public final void ruleSiriusExpressionClass() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:101:2: ( ( ( rule__SiriusExpressionClass__Group__0 ) ) ) + // InternalExpressionText.g:102:1: ( ( rule__SiriusExpressionClass__Group__0 ) ) + { + // InternalExpressionText.g:102:1: ( ( rule__SiriusExpressionClass__Group__0 ) ) + // InternalExpressionText.g:103:1: ( rule__SiriusExpressionClass__Group__0 ) + { + before(grammarAccess.getSiriusExpressionClassAccess().getGroup()); + // InternalExpressionText.g:104:1: ( rule__SiriusExpressionClass__Group__0 ) + // InternalExpressionText.g:104:2: rule__SiriusExpressionClass__Group__0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionClassAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleSiriusExpressionClass" + + + // $ANTLR start "entryRuleFQN" + // InternalExpressionText.g:116:1: entryRuleFQN : ruleFQN EOF ; + public final void entryRuleFQN() throws RecognitionException { + try { + // InternalExpressionText.g:117:1: ( ruleFQN EOF ) + // InternalExpressionText.g:118:1: ruleFQN EOF + { + before(grammarAccess.getFQNRule()); + pushFollow(FOLLOW_1); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getFQNRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleFQN" + + + // $ANTLR start "ruleFQN" + // InternalExpressionText.g:125:1: ruleFQN : ( ( rule__FQN__Group__0 ) ) ; + public final void ruleFQN() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:129:2: ( ( ( rule__FQN__Group__0 ) ) ) + // InternalExpressionText.g:130:1: ( ( rule__FQN__Group__0 ) ) + { + // InternalExpressionText.g:130:1: ( ( rule__FQN__Group__0 ) ) + // InternalExpressionText.g:131:1: ( rule__FQN__Group__0 ) + { + before(grammarAccess.getFQNAccess().getGroup()); + // InternalExpressionText.g:132:1: ( rule__FQN__Group__0 ) + // InternalExpressionText.g:132:2: rule__FQN__Group__0 + { + pushFollow(FOLLOW_2); + rule__FQN__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getFQNAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleFQN" + + + // $ANTLR start "entryRuleSiriusVariable" + // InternalExpressionText.g:144:1: entryRuleSiriusVariable : ruleSiriusVariable EOF ; + public final void entryRuleSiriusVariable() throws RecognitionException { + try { + // InternalExpressionText.g:145:1: ( ruleSiriusVariable EOF ) + // InternalExpressionText.g:146:1: ruleSiriusVariable EOF + { + before(grammarAccess.getSiriusVariableRule()); + pushFollow(FOLLOW_1); + ruleSiriusVariable(); + + state._fsp--; + + after(grammarAccess.getSiriusVariableRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleSiriusVariable" + + + // $ANTLR start "ruleSiriusVariable" + // InternalExpressionText.g:153:1: ruleSiriusVariable : ( ( rule__SiriusVariable__Group__0 ) ) ; + public final void ruleSiriusVariable() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:157:2: ( ( ( rule__SiriusVariable__Group__0 ) ) ) + // InternalExpressionText.g:158:1: ( ( rule__SiriusVariable__Group__0 ) ) + { + // InternalExpressionText.g:158:1: ( ( rule__SiriusVariable__Group__0 ) ) + // InternalExpressionText.g:159:1: ( rule__SiriusVariable__Group__0 ) + { + before(grammarAccess.getSiriusVariableAccess().getGroup()); + // InternalExpressionText.g:160:1: ( rule__SiriusVariable__Group__0 ) + // InternalExpressionText.g:160:2: rule__SiriusVariable__Group__0 + { + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusVariableAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleSiriusVariable" + + + // $ANTLR start "entryRuleSiriusExpressionDescription" + // InternalExpressionText.g:172:1: entryRuleSiriusExpressionDescription : ruleSiriusExpressionDescription EOF ; + public final void entryRuleSiriusExpressionDescription() throws RecognitionException { + try { + // InternalExpressionText.g:173:1: ( ruleSiriusExpressionDescription EOF ) + // InternalExpressionText.g:174:1: ruleSiriusExpressionDescription EOF + { + before(grammarAccess.getSiriusExpressionDescriptionRule()); + pushFollow(FOLLOW_1); + ruleSiriusExpressionDescription(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleSiriusExpressionDescription" + + + // $ANTLR start "ruleSiriusExpressionDescription" + // InternalExpressionText.g:181:1: ruleSiriusExpressionDescription : ( ( rule__SiriusExpressionDescription__Group__0 ) ) ; + public final void ruleSiriusExpressionDescription() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:185:2: ( ( ( rule__SiriusExpressionDescription__Group__0 ) ) ) + // InternalExpressionText.g:186:1: ( ( rule__SiriusExpressionDescription__Group__0 ) ) + { + // InternalExpressionText.g:186:1: ( ( rule__SiriusExpressionDescription__Group__0 ) ) + // InternalExpressionText.g:187:1: ( rule__SiriusExpressionDescription__Group__0 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); + // InternalExpressionText.g:188:1: ( rule__SiriusExpressionDescription__Group__0 ) + // InternalExpressionText.g:188:2: rule__SiriusExpressionDescription__Group__0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleSiriusExpressionDescription" + + + // $ANTLR start "entryRuleSiriusParameter" + // InternalExpressionText.g:200:1: entryRuleSiriusParameter : ruleSiriusParameter EOF ; + public final void entryRuleSiriusParameter() throws RecognitionException { + try { + // InternalExpressionText.g:201:1: ( ruleSiriusParameter EOF ) + // InternalExpressionText.g:202:1: ruleSiriusParameter EOF + { + before(grammarAccess.getSiriusParameterRule()); + pushFollow(FOLLOW_1); + ruleSiriusParameter(); + + state._fsp--; + + after(grammarAccess.getSiriusParameterRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleSiriusParameter" + + + // $ANTLR start "ruleSiriusParameter" + // InternalExpressionText.g:209:1: ruleSiriusParameter : ( ( rule__SiriusParameter__Group__0 ) ) ; + public final void ruleSiriusParameter() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:213:2: ( ( ( rule__SiriusParameter__Group__0 ) ) ) + // InternalExpressionText.g:214:1: ( ( rule__SiriusParameter__Group__0 ) ) + { + // InternalExpressionText.g:214:1: ( ( rule__SiriusParameter__Group__0 ) ) + // InternalExpressionText.g:215:1: ( rule__SiriusParameter__Group__0 ) + { + before(grammarAccess.getSiriusParameterAccess().getGroup()); + // InternalExpressionText.g:216:1: ( rule__SiriusParameter__Group__0 ) + // InternalExpressionText.g:216:2: rule__SiriusParameter__Group__0 + { + pushFollow(FOLLOW_2); + rule__SiriusParameter__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusParameterAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleSiriusParameter" + + + // $ANTLR start "entryRuleBound" + // InternalExpressionText.g:228:1: entryRuleBound : ruleBound EOF ; + public final void entryRuleBound() throws RecognitionException { + try { + // InternalExpressionText.g:229:1: ( ruleBound EOF ) + // InternalExpressionText.g:230:1: ruleBound EOF + { + before(grammarAccess.getBoundRule()); + pushFollow(FOLLOW_1); + ruleBound(); + + state._fsp--; + + after(grammarAccess.getBoundRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleBound" + + + // $ANTLR start "ruleBound" + // InternalExpressionText.g:237:1: ruleBound : ( ( rule__Bound__Group__0 ) ) ; + public final void ruleBound() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:241:2: ( ( ( rule__Bound__Group__0 ) ) ) + // InternalExpressionText.g:242:1: ( ( rule__Bound__Group__0 ) ) + { + // InternalExpressionText.g:242:1: ( ( rule__Bound__Group__0 ) ) + // InternalExpressionText.g:243:1: ( rule__Bound__Group__0 ) + { + before(grammarAccess.getBoundAccess().getGroup()); + // InternalExpressionText.g:244:1: ( rule__Bound__Group__0 ) + // InternalExpressionText.g:244:2: rule__Bound__Group__0 + { + pushFollow(FOLLOW_2); + rule__Bound__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getBoundAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleBound" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__0" + // InternalExpressionText.g:258:1: rule__SiriusExpressionPackage__Group__0 : rule__SiriusExpressionPackage__Group__0__Impl rule__SiriusExpressionPackage__Group__1 ; + public final void rule__SiriusExpressionPackage__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:262:1: ( rule__SiriusExpressionPackage__Group__0__Impl rule__SiriusExpressionPackage__Group__1 ) + // InternalExpressionText.g:263:2: rule__SiriusExpressionPackage__Group__0__Impl rule__SiriusExpressionPackage__Group__1 + { + pushFollow(FOLLOW_3); + rule__SiriusExpressionPackage__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__0" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__0__Impl" + // InternalExpressionText.g:270:1: rule__SiriusExpressionPackage__Group__0__Impl : ( 'package' ) ; + public final void rule__SiriusExpressionPackage__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:274:1: ( ( 'package' ) ) + // InternalExpressionText.g:275:1: ( 'package' ) + { + // InternalExpressionText.g:275:1: ( 'package' ) + // InternalExpressionText.g:276:1: 'package' + { + before(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); + match(input,8,FOLLOW_2); + after(grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__1" + // InternalExpressionText.g:289:1: rule__SiriusExpressionPackage__Group__1 : rule__SiriusExpressionPackage__Group__1__Impl rule__SiriusExpressionPackage__Group__2 ; + public final void rule__SiriusExpressionPackage__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:293:1: ( rule__SiriusExpressionPackage__Group__1__Impl rule__SiriusExpressionPackage__Group__2 ) + // InternalExpressionText.g:294:2: rule__SiriusExpressionPackage__Group__1__Impl rule__SiriusExpressionPackage__Group__2 + { + pushFollow(FOLLOW_4); + rule__SiriusExpressionPackage__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__1" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__1__Impl" + // InternalExpressionText.g:301:1: rule__SiriusExpressionPackage__Group__1__Impl : ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) ; + public final void rule__SiriusExpressionPackage__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:305:1: ( ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) ) + // InternalExpressionText.g:306:1: ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) + { + // InternalExpressionText.g:306:1: ( ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) ) + // InternalExpressionText.g:307:1: ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) + { + before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); + // InternalExpressionText.g:308:1: ( rule__SiriusExpressionPackage__EPackageAssignment_1 ) + // InternalExpressionText.g:308:2: rule__SiriusExpressionPackage__EPackageAssignment_1 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__EPackageAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__2" + // InternalExpressionText.g:318:1: rule__SiriusExpressionPackage__Group__2 : rule__SiriusExpressionPackage__Group__2__Impl rule__SiriusExpressionPackage__Group__3 ; + public final void rule__SiriusExpressionPackage__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:322:1: ( rule__SiriusExpressionPackage__Group__2__Impl rule__SiriusExpressionPackage__Group__3 ) + // InternalExpressionText.g:323:2: rule__SiriusExpressionPackage__Group__2__Impl rule__SiriusExpressionPackage__Group__3 + { + pushFollow(FOLLOW_5); + rule__SiriusExpressionPackage__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__2" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__2__Impl" + // InternalExpressionText.g:330:1: rule__SiriusExpressionPackage__Group__2__Impl : ( '{' ) ; + public final void rule__SiriusExpressionPackage__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:334:1: ( ( '{' ) ) + // InternalExpressionText.g:335:1: ( '{' ) + { + // InternalExpressionText.g:335:1: ( '{' ) + // InternalExpressionText.g:336:1: '{' + { + before(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); + match(input,9,FOLLOW_2); + after(grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__2__Impl" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__3" + // InternalExpressionText.g:349:1: rule__SiriusExpressionPackage__Group__3 : rule__SiriusExpressionPackage__Group__3__Impl rule__SiriusExpressionPackage__Group__4 ; + public final void rule__SiriusExpressionPackage__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:353:1: ( rule__SiriusExpressionPackage__Group__3__Impl rule__SiriusExpressionPackage__Group__4 ) + // InternalExpressionText.g:354:2: rule__SiriusExpressionPackage__Group__3__Impl rule__SiriusExpressionPackage__Group__4 + { + pushFollow(FOLLOW_5); + rule__SiriusExpressionPackage__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__3" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__3__Impl" + // InternalExpressionText.g:361:1: rule__SiriusExpressionPackage__Group__3__Impl : ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) ; + public final void rule__SiriusExpressionPackage__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:365:1: ( ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) ) + // InternalExpressionText.g:366:1: ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) + { + // InternalExpressionText.g:366:1: ( ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* ) + // InternalExpressionText.g:367:1: ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* + { + before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); + // InternalExpressionText.g:368:1: ( rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 )* + loop1: + do { + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0==11) ) { + alt1=1; + } + + + switch (alt1) { + case 1 : + // InternalExpressionText.g:368:2: rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 + { + pushFollow(FOLLOW_6); + rule__SiriusExpressionPackage__ExpressionClassesAssignment_3(); + + state._fsp--; + + + } + break; + + default : + break loop1; + } + } while (true); + + after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesAssignment_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__3__Impl" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__4" + // InternalExpressionText.g:378:1: rule__SiriusExpressionPackage__Group__4 : rule__SiriusExpressionPackage__Group__4__Impl ; + public final void rule__SiriusExpressionPackage__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:382:1: ( rule__SiriusExpressionPackage__Group__4__Impl ) + // InternalExpressionText.g:383:2: rule__SiriusExpressionPackage__Group__4__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionPackage__Group__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__4" + + + // $ANTLR start "rule__SiriusExpressionPackage__Group__4__Impl" + // InternalExpressionText.g:389:1: rule__SiriusExpressionPackage__Group__4__Impl : ( '}' ) ; + public final void rule__SiriusExpressionPackage__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:393:1: ( ( '}' ) ) + // InternalExpressionText.g:394:1: ( '}' ) + { + // InternalExpressionText.g:394:1: ( '}' ) + // InternalExpressionText.g:395:1: '}' + { + before(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); + match(input,10,FOLLOW_2); + after(grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__Group__4__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__0" + // InternalExpressionText.g:418:1: rule__SiriusExpressionClass__Group__0 : rule__SiriusExpressionClass__Group__0__Impl rule__SiriusExpressionClass__Group__1 ; + public final void rule__SiriusExpressionClass__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:422:1: ( rule__SiriusExpressionClass__Group__0__Impl rule__SiriusExpressionClass__Group__1 ) + // InternalExpressionText.g:423:2: rule__SiriusExpressionClass__Group__0__Impl rule__SiriusExpressionClass__Group__1 + { + pushFollow(FOLLOW_3); + rule__SiriusExpressionClass__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__0" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__0__Impl" + // InternalExpressionText.g:430:1: rule__SiriusExpressionClass__Group__0__Impl : ( 'class' ) ; + public final void rule__SiriusExpressionClass__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:434:1: ( ( 'class' ) ) + // InternalExpressionText.g:435:1: ( 'class' ) + { + // InternalExpressionText.g:435:1: ( 'class' ) + // InternalExpressionText.g:436:1: 'class' + { + before(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); + match(input,11,FOLLOW_2); + after(grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__1" + // InternalExpressionText.g:449:1: rule__SiriusExpressionClass__Group__1 : rule__SiriusExpressionClass__Group__1__Impl rule__SiriusExpressionClass__Group__2 ; + public final void rule__SiriusExpressionClass__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:453:1: ( rule__SiriusExpressionClass__Group__1__Impl rule__SiriusExpressionClass__Group__2 ) + // InternalExpressionText.g:454:2: rule__SiriusExpressionClass__Group__1__Impl rule__SiriusExpressionClass__Group__2 + { + pushFollow(FOLLOW_4); + rule__SiriusExpressionClass__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__1" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__1__Impl" + // InternalExpressionText.g:461:1: rule__SiriusExpressionClass__Group__1__Impl : ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) ; + public final void rule__SiriusExpressionClass__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:465:1: ( ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) ) + // InternalExpressionText.g:466:1: ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) + { + // InternalExpressionText.g:466:1: ( ( rule__SiriusExpressionClass__EClassAssignment_1 ) ) + // InternalExpressionText.g:467:1: ( rule__SiriusExpressionClass__EClassAssignment_1 ) + { + before(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); + // InternalExpressionText.g:468:1: ( rule__SiriusExpressionClass__EClassAssignment_1 ) + // InternalExpressionText.g:468:2: rule__SiriusExpressionClass__EClassAssignment_1 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__EClassAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionClassAccess().getEClassAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__2" + // InternalExpressionText.g:478:1: rule__SiriusExpressionClass__Group__2 : rule__SiriusExpressionClass__Group__2__Impl rule__SiriusExpressionClass__Group__3 ; + public final void rule__SiriusExpressionClass__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:482:1: ( rule__SiriusExpressionClass__Group__2__Impl rule__SiriusExpressionClass__Group__3 ) + // InternalExpressionText.g:483:2: rule__SiriusExpressionClass__Group__2__Impl rule__SiriusExpressionClass__Group__3 + { + pushFollow(FOLLOW_7); + rule__SiriusExpressionClass__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__2" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__2__Impl" + // InternalExpressionText.g:490:1: rule__SiriusExpressionClass__Group__2__Impl : ( '{' ) ; + public final void rule__SiriusExpressionClass__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:494:1: ( ( '{' ) ) + // InternalExpressionText.g:495:1: ( '{' ) + { + // InternalExpressionText.g:495:1: ( '{' ) + // InternalExpressionText.g:496:1: '{' + { + before(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); + match(input,9,FOLLOW_2); + after(grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__2__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__3" + // InternalExpressionText.g:509:1: rule__SiriusExpressionClass__Group__3 : rule__SiriusExpressionClass__Group__3__Impl rule__SiriusExpressionClass__Group__4 ; + public final void rule__SiriusExpressionClass__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:513:1: ( rule__SiriusExpressionClass__Group__3__Impl rule__SiriusExpressionClass__Group__4 ) + // InternalExpressionText.g:514:2: rule__SiriusExpressionClass__Group__3__Impl rule__SiriusExpressionClass__Group__4 + { + pushFollow(FOLLOW_7); + rule__SiriusExpressionClass__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__3" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__3__Impl" + // InternalExpressionText.g:521:1: rule__SiriusExpressionClass__Group__3__Impl : ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) ; + public final void rule__SiriusExpressionClass__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:525:1: ( ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) ) + // InternalExpressionText.g:526:1: ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) + { + // InternalExpressionText.g:526:1: ( ( rule__SiriusExpressionClass__VariablesAssignment_3 )* ) + // InternalExpressionText.g:527:1: ( rule__SiriusExpressionClass__VariablesAssignment_3 )* + { + before(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); + // InternalExpressionText.g:528:1: ( rule__SiriusExpressionClass__VariablesAssignment_3 )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0==RULE_ML_COMMENT||LA2_0==13) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalExpressionText.g:528:2: rule__SiriusExpressionClass__VariablesAssignment_3 + { + pushFollow(FOLLOW_8); + rule__SiriusExpressionClass__VariablesAssignment_3(); + + state._fsp--; + + + } + break; + + default : + break loop2; + } + } while (true); + + after(grammarAccess.getSiriusExpressionClassAccess().getVariablesAssignment_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__3__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__4" + // InternalExpressionText.g:538:1: rule__SiriusExpressionClass__Group__4 : rule__SiriusExpressionClass__Group__4__Impl rule__SiriusExpressionClass__Group__5 ; + public final void rule__SiriusExpressionClass__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:542:1: ( rule__SiriusExpressionClass__Group__4__Impl rule__SiriusExpressionClass__Group__5 ) + // InternalExpressionText.g:543:2: rule__SiriusExpressionClass__Group__4__Impl rule__SiriusExpressionClass__Group__5 + { + pushFollow(FOLLOW_7); + rule__SiriusExpressionClass__Group__4__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__5(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__4" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__4__Impl" + // InternalExpressionText.g:550:1: rule__SiriusExpressionClass__Group__4__Impl : ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) ; + public final void rule__SiriusExpressionClass__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:554:1: ( ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) ) + // InternalExpressionText.g:555:1: ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) + { + // InternalExpressionText.g:555:1: ( ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* ) + // InternalExpressionText.g:556:1: ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* + { + before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); + // InternalExpressionText.g:557:1: ( rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 )* + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0==15) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalExpressionText.g:557:2: rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 + { + pushFollow(FOLLOW_9); + rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4(); + + state._fsp--; + + + } + break; + + default : + break loop3; + } + } while (true); + + after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsAssignment_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__4__Impl" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__5" + // InternalExpressionText.g:567:1: rule__SiriusExpressionClass__Group__5 : rule__SiriusExpressionClass__Group__5__Impl ; + public final void rule__SiriusExpressionClass__Group__5() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:571:1: ( rule__SiriusExpressionClass__Group__5__Impl ) + // InternalExpressionText.g:572:2: rule__SiriusExpressionClass__Group__5__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionClass__Group__5__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__5" + + + // $ANTLR start "rule__SiriusExpressionClass__Group__5__Impl" + // InternalExpressionText.g:578:1: rule__SiriusExpressionClass__Group__5__Impl : ( '}' ) ; + public final void rule__SiriusExpressionClass__Group__5__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:582:1: ( ( '}' ) ) + // InternalExpressionText.g:583:1: ( '}' ) + { + // InternalExpressionText.g:583:1: ( '}' ) + // InternalExpressionText.g:584:1: '}' + { + before(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); + match(input,10,FOLLOW_2); + after(grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__Group__5__Impl" + + + // $ANTLR start "rule__FQN__Group__0" + // InternalExpressionText.g:609:1: rule__FQN__Group__0 : rule__FQN__Group__0__Impl rule__FQN__Group__1 ; + public final void rule__FQN__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:613:1: ( rule__FQN__Group__0__Impl rule__FQN__Group__1 ) + // InternalExpressionText.g:614:2: rule__FQN__Group__0__Impl rule__FQN__Group__1 + { + pushFollow(FOLLOW_10); + rule__FQN__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FQN__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group__0" + + + // $ANTLR start "rule__FQN__Group__0__Impl" + // InternalExpressionText.g:621:1: rule__FQN__Group__0__Impl : ( RULE_ID ) ; + public final void rule__FQN__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:625:1: ( ( RULE_ID ) ) + // InternalExpressionText.g:626:1: ( RULE_ID ) + { + // InternalExpressionText.g:626:1: ( RULE_ID ) + // InternalExpressionText.g:627:1: RULE_ID + { + before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group__0__Impl" + + + // $ANTLR start "rule__FQN__Group__1" + // InternalExpressionText.g:638:1: rule__FQN__Group__1 : rule__FQN__Group__1__Impl ; + public final void rule__FQN__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:642:1: ( rule__FQN__Group__1__Impl ) + // InternalExpressionText.g:643:2: rule__FQN__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__FQN__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group__1" + + + // $ANTLR start "rule__FQN__Group__1__Impl" + // InternalExpressionText.g:649:1: rule__FQN__Group__1__Impl : ( ( rule__FQN__Group_1__0 )* ) ; + public final void rule__FQN__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:653:1: ( ( ( rule__FQN__Group_1__0 )* ) ) + // InternalExpressionText.g:654:1: ( ( rule__FQN__Group_1__0 )* ) + { + // InternalExpressionText.g:654:1: ( ( rule__FQN__Group_1__0 )* ) + // InternalExpressionText.g:655:1: ( rule__FQN__Group_1__0 )* + { + before(grammarAccess.getFQNAccess().getGroup_1()); + // InternalExpressionText.g:656:1: ( rule__FQN__Group_1__0 )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==12) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalExpressionText.g:656:2: rule__FQN__Group_1__0 + { + pushFollow(FOLLOW_11); + rule__FQN__Group_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop4; + } + } while (true); + + after(grammarAccess.getFQNAccess().getGroup_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group__1__Impl" + + + // $ANTLR start "rule__FQN__Group_1__0" + // InternalExpressionText.g:670:1: rule__FQN__Group_1__0 : rule__FQN__Group_1__0__Impl rule__FQN__Group_1__1 ; + public final void rule__FQN__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:674:1: ( rule__FQN__Group_1__0__Impl rule__FQN__Group_1__1 ) + // InternalExpressionText.g:675:2: rule__FQN__Group_1__0__Impl rule__FQN__Group_1__1 + { + pushFollow(FOLLOW_3); + rule__FQN__Group_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FQN__Group_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group_1__0" + + + // $ANTLR start "rule__FQN__Group_1__0__Impl" + // InternalExpressionText.g:682:1: rule__FQN__Group_1__0__Impl : ( '.' ) ; + public final void rule__FQN__Group_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:686:1: ( ( '.' ) ) + // InternalExpressionText.g:687:1: ( '.' ) + { + // InternalExpressionText.g:687:1: ( '.' ) + // InternalExpressionText.g:688:1: '.' + { + before(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); + match(input,12,FOLLOW_2); + after(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group_1__0__Impl" + + + // $ANTLR start "rule__FQN__Group_1__1" + // InternalExpressionText.g:701:1: rule__FQN__Group_1__1 : rule__FQN__Group_1__1__Impl ; + public final void rule__FQN__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:705:1: ( rule__FQN__Group_1__1__Impl ) + // InternalExpressionText.g:706:2: rule__FQN__Group_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__FQN__Group_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group_1__1" + + + // $ANTLR start "rule__FQN__Group_1__1__Impl" + // InternalExpressionText.g:712:1: rule__FQN__Group_1__1__Impl : ( RULE_ID ) ; + public final void rule__FQN__Group_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:716:1: ( ( RULE_ID ) ) + // InternalExpressionText.g:717:1: ( RULE_ID ) + { + // InternalExpressionText.g:717:1: ( RULE_ID ) + // InternalExpressionText.g:718:1: RULE_ID + { + before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FQN__Group_1__1__Impl" + + + // $ANTLR start "rule__SiriusVariable__Group__0" + // InternalExpressionText.g:733:1: rule__SiriusVariable__Group__0 : rule__SiriusVariable__Group__0__Impl rule__SiriusVariable__Group__1 ; + public final void rule__SiriusVariable__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:737:1: ( rule__SiriusVariable__Group__0__Impl rule__SiriusVariable__Group__1 ) + // InternalExpressionText.g:738:2: rule__SiriusVariable__Group__0__Impl rule__SiriusVariable__Group__1 + { + pushFollow(FOLLOW_12); + rule__SiriusVariable__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__0" + + + // $ANTLR start "rule__SiriusVariable__Group__0__Impl" + // InternalExpressionText.g:745:1: rule__SiriusVariable__Group__0__Impl : ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) ; + public final void rule__SiriusVariable__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:749:1: ( ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) ) + // InternalExpressionText.g:750:1: ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) + { + // InternalExpressionText.g:750:1: ( ( rule__SiriusVariable__DocumentationAssignment_0 )? ) + // InternalExpressionText.g:751:1: ( rule__SiriusVariable__DocumentationAssignment_0 )? + { + before(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); + // InternalExpressionText.g:752:1: ( rule__SiriusVariable__DocumentationAssignment_0 )? + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==RULE_ML_COMMENT) ) { + alt5=1; + } + switch (alt5) { + case 1 : + // InternalExpressionText.g:752:2: rule__SiriusVariable__DocumentationAssignment_0 + { + pushFollow(FOLLOW_2); + rule__SiriusVariable__DocumentationAssignment_0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getSiriusVariableAccess().getDocumentationAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__0__Impl" + + + // $ANTLR start "rule__SiriusVariable__Group__1" + // InternalExpressionText.g:762:1: rule__SiriusVariable__Group__1 : rule__SiriusVariable__Group__1__Impl rule__SiriusVariable__Group__2 ; + public final void rule__SiriusVariable__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:766:1: ( rule__SiriusVariable__Group__1__Impl rule__SiriusVariable__Group__2 ) + // InternalExpressionText.g:767:2: rule__SiriusVariable__Group__1__Impl rule__SiriusVariable__Group__2 + { + pushFollow(FOLLOW_3); + rule__SiriusVariable__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__1" + + + // $ANTLR start "rule__SiriusVariable__Group__1__Impl" + // InternalExpressionText.g:774:1: rule__SiriusVariable__Group__1__Impl : ( 'var' ) ; + public final void rule__SiriusVariable__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:778:1: ( ( 'var' ) ) + // InternalExpressionText.g:779:1: ( 'var' ) + { + // InternalExpressionText.g:779:1: ( 'var' ) + // InternalExpressionText.g:780:1: 'var' + { + before(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); + match(input,13,FOLLOW_2); + after(grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__1__Impl" + + + // $ANTLR start "rule__SiriusVariable__Group__2" + // InternalExpressionText.g:793:1: rule__SiriusVariable__Group__2 : rule__SiriusVariable__Group__2__Impl rule__SiriusVariable__Group__3 ; + public final void rule__SiriusVariable__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:797:1: ( rule__SiriusVariable__Group__2__Impl rule__SiriusVariable__Group__3 ) + // InternalExpressionText.g:798:2: rule__SiriusVariable__Group__2__Impl rule__SiriusVariable__Group__3 + { + pushFollow(FOLLOW_13); + rule__SiriusVariable__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__2" + + + // $ANTLR start "rule__SiriusVariable__Group__2__Impl" + // InternalExpressionText.g:805:1: rule__SiriusVariable__Group__2__Impl : ( ( rule__SiriusVariable__NameAssignment_2 ) ) ; + public final void rule__SiriusVariable__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:809:1: ( ( ( rule__SiriusVariable__NameAssignment_2 ) ) ) + // InternalExpressionText.g:810:1: ( ( rule__SiriusVariable__NameAssignment_2 ) ) + { + // InternalExpressionText.g:810:1: ( ( rule__SiriusVariable__NameAssignment_2 ) ) + // InternalExpressionText.g:811:1: ( rule__SiriusVariable__NameAssignment_2 ) + { + before(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); + // InternalExpressionText.g:812:1: ( rule__SiriusVariable__NameAssignment_2 ) + // InternalExpressionText.g:812:2: rule__SiriusVariable__NameAssignment_2 + { + pushFollow(FOLLOW_2); + rule__SiriusVariable__NameAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusVariableAccess().getNameAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__2__Impl" + + + // $ANTLR start "rule__SiriusVariable__Group__3" + // InternalExpressionText.g:822:1: rule__SiriusVariable__Group__3 : rule__SiriusVariable__Group__3__Impl rule__SiriusVariable__Group__4 ; + public final void rule__SiriusVariable__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:826:1: ( rule__SiriusVariable__Group__3__Impl rule__SiriusVariable__Group__4 ) + // InternalExpressionText.g:827:2: rule__SiriusVariable__Group__3__Impl rule__SiriusVariable__Group__4 + { + pushFollow(FOLLOW_3); + rule__SiriusVariable__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__3" + + + // $ANTLR start "rule__SiriusVariable__Group__3__Impl" + // InternalExpressionText.g:834:1: rule__SiriusVariable__Group__3__Impl : ( ':' ) ; + public final void rule__SiriusVariable__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:838:1: ( ( ':' ) ) + // InternalExpressionText.g:839:1: ( ':' ) + { + // InternalExpressionText.g:839:1: ( ':' ) + // InternalExpressionText.g:840:1: ':' + { + before(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); + match(input,14,FOLLOW_2); + after(grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__3__Impl" + + + // $ANTLR start "rule__SiriusVariable__Group__4" + // InternalExpressionText.g:853:1: rule__SiriusVariable__Group__4 : rule__SiriusVariable__Group__4__Impl ; + public final void rule__SiriusVariable__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:857:1: ( rule__SiriusVariable__Group__4__Impl ) + // InternalExpressionText.g:858:2: rule__SiriusVariable__Group__4__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusVariable__Group__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__4" + + + // $ANTLR start "rule__SiriusVariable__Group__4__Impl" + // InternalExpressionText.g:864:1: rule__SiriusVariable__Group__4__Impl : ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) ; + public final void rule__SiriusVariable__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:868:1: ( ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) ) + // InternalExpressionText.g:869:1: ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) + { + // InternalExpressionText.g:869:1: ( ( rule__SiriusVariable__ETypeAssignment_4 ) ) + // InternalExpressionText.g:870:1: ( rule__SiriusVariable__ETypeAssignment_4 ) + { + before(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); + // InternalExpressionText.g:871:1: ( rule__SiriusVariable__ETypeAssignment_4 ) + // InternalExpressionText.g:871:2: rule__SiriusVariable__ETypeAssignment_4 + { + pushFollow(FOLLOW_2); + rule__SiriusVariable__ETypeAssignment_4(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusVariableAccess().getETypeAssignment_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__Group__4__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__0" + // InternalExpressionText.g:891:1: rule__SiriusExpressionDescription__Group__0 : rule__SiriusExpressionDescription__Group__0__Impl rule__SiriusExpressionDescription__Group__1 ; + public final void rule__SiriusExpressionDescription__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:895:1: ( rule__SiriusExpressionDescription__Group__0__Impl rule__SiriusExpressionDescription__Group__1 ) + // InternalExpressionText.g:896:2: rule__SiriusExpressionDescription__Group__0__Impl rule__SiriusExpressionDescription__Group__1 + { + pushFollow(FOLLOW_3); + rule__SiriusExpressionDescription__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__0" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__0__Impl" + // InternalExpressionText.g:903:1: rule__SiriusExpressionDescription__Group__0__Impl : ( 'exp' ) ; + public final void rule__SiriusExpressionDescription__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:907:1: ( ( 'exp' ) ) + // InternalExpressionText.g:908:1: ( 'exp' ) + { + // InternalExpressionText.g:908:1: ( 'exp' ) + // InternalExpressionText.g:909:1: 'exp' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); + match(input,15,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__1" + // InternalExpressionText.g:922:1: rule__SiriusExpressionDescription__Group__1 : rule__SiriusExpressionDescription__Group__1__Impl rule__SiriusExpressionDescription__Group__2 ; + public final void rule__SiriusExpressionDescription__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:926:1: ( rule__SiriusExpressionDescription__Group__1__Impl rule__SiriusExpressionDescription__Group__2 ) + // InternalExpressionText.g:927:2: rule__SiriusExpressionDescription__Group__1__Impl rule__SiriusExpressionDescription__Group__2 + { + pushFollow(FOLLOW_14); + rule__SiriusExpressionDescription__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__1" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__1__Impl" + // InternalExpressionText.g:934:1: rule__SiriusExpressionDescription__Group__1__Impl : ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) ; + public final void rule__SiriusExpressionDescription__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:938:1: ( ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) ) + // InternalExpressionText.g:939:1: ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) + { + // InternalExpressionText.g:939:1: ( ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) ) + // InternalExpressionText.g:940:1: ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); + // InternalExpressionText.g:941:1: ( rule__SiriusExpressionDescription__ExpressionAssignment_1 ) + // InternalExpressionText.g:941:2: rule__SiriusExpressionDescription__ExpressionAssignment_1 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__ExpressionAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__2" + // InternalExpressionText.g:951:1: rule__SiriusExpressionDescription__Group__2 : rule__SiriusExpressionDescription__Group__2__Impl rule__SiriusExpressionDescription__Group__3 ; + public final void rule__SiriusExpressionDescription__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:955:1: ( rule__SiriusExpressionDescription__Group__2__Impl rule__SiriusExpressionDescription__Group__3 ) + // InternalExpressionText.g:956:2: rule__SiriusExpressionDescription__Group__2__Impl rule__SiriusExpressionDescription__Group__3 + { + pushFollow(FOLLOW_15); + rule__SiriusExpressionDescription__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__2" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__2__Impl" + // InternalExpressionText.g:963:1: rule__SiriusExpressionDescription__Group__2__Impl : ( '(' ) ; + public final void rule__SiriusExpressionDescription__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:967:1: ( ( '(' ) ) + // InternalExpressionText.g:968:1: ( '(' ) + { + // InternalExpressionText.g:968:1: ( '(' ) + // InternalExpressionText.g:969:1: '(' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); + match(input,16,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__2__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__3" + // InternalExpressionText.g:982:1: rule__SiriusExpressionDescription__Group__3 : rule__SiriusExpressionDescription__Group__3__Impl rule__SiriusExpressionDescription__Group__4 ; + public final void rule__SiriusExpressionDescription__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:986:1: ( rule__SiriusExpressionDescription__Group__3__Impl rule__SiriusExpressionDescription__Group__4 ) + // InternalExpressionText.g:987:2: rule__SiriusExpressionDescription__Group__3__Impl rule__SiriusExpressionDescription__Group__4 + { + pushFollow(FOLLOW_15); + rule__SiriusExpressionDescription__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__3" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__3__Impl" + // InternalExpressionText.g:994:1: rule__SiriusExpressionDescription__Group__3__Impl : ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) ; + public final void rule__SiriusExpressionDescription__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:998:1: ( ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) ) + // InternalExpressionText.g:999:1: ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) + { + // InternalExpressionText.g:999:1: ( ( rule__SiriusExpressionDescription__Group_3__0 )? ) + // InternalExpressionText.g:1000:1: ( rule__SiriusExpressionDescription__Group_3__0 )? + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); + // InternalExpressionText.g:1001:1: ( rule__SiriusExpressionDescription__Group_3__0 )? + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==RULE_ID||LA6_0==25) ) { + alt6=1; + } + switch (alt6) { + case 1 : + // InternalExpressionText.g:1001:2: rule__SiriusExpressionDescription__Group_3__0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_3__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__3__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__4" + // InternalExpressionText.g:1011:1: rule__SiriusExpressionDescription__Group__4 : rule__SiriusExpressionDescription__Group__4__Impl rule__SiriusExpressionDescription__Group__5 ; + public final void rule__SiriusExpressionDescription__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1015:1: ( rule__SiriusExpressionDescription__Group__4__Impl rule__SiriusExpressionDescription__Group__5 ) + // InternalExpressionText.g:1016:2: rule__SiriusExpressionDescription__Group__4__Impl rule__SiriusExpressionDescription__Group__5 + { + pushFollow(FOLLOW_13); + rule__SiriusExpressionDescription__Group__4__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__5(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__4" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__4__Impl" + // InternalExpressionText.g:1023:1: rule__SiriusExpressionDescription__Group__4__Impl : ( ')' ) ; + public final void rule__SiriusExpressionDescription__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1027:1: ( ( ')' ) ) + // InternalExpressionText.g:1028:1: ( ')' ) + { + // InternalExpressionText.g:1028:1: ( ')' ) + // InternalExpressionText.g:1029:1: ')' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); + match(input,17,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__4__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__5" + // InternalExpressionText.g:1042:1: rule__SiriusExpressionDescription__Group__5 : rule__SiriusExpressionDescription__Group__5__Impl rule__SiriusExpressionDescription__Group__6 ; + public final void rule__SiriusExpressionDescription__Group__5() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1046:1: ( rule__SiriusExpressionDescription__Group__5__Impl rule__SiriusExpressionDescription__Group__6 ) + // InternalExpressionText.g:1047:2: rule__SiriusExpressionDescription__Group__5__Impl rule__SiriusExpressionDescription__Group__6 + { + pushFollow(FOLLOW_3); + rule__SiriusExpressionDescription__Group__5__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__6(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__5" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__5__Impl" + // InternalExpressionText.g:1054:1: rule__SiriusExpressionDescription__Group__5__Impl : ( ':' ) ; + public final void rule__SiriusExpressionDescription__Group__5__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1058:1: ( ( ':' ) ) + // InternalExpressionText.g:1059:1: ( ':' ) + { + // InternalExpressionText.g:1059:1: ( ':' ) + // InternalExpressionText.g:1060:1: ':' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); + match(input,14,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__5__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__6" + // InternalExpressionText.g:1073:1: rule__SiriusExpressionDescription__Group__6 : rule__SiriusExpressionDescription__Group__6__Impl rule__SiriusExpressionDescription__Group__7 ; + public final void rule__SiriusExpressionDescription__Group__6() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1077:1: ( rule__SiriusExpressionDescription__Group__6__Impl rule__SiriusExpressionDescription__Group__7 ) + // InternalExpressionText.g:1078:2: rule__SiriusExpressionDescription__Group__6__Impl rule__SiriusExpressionDescription__Group__7 + { + pushFollow(FOLLOW_16); + rule__SiriusExpressionDescription__Group__6__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__7(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__6" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__6__Impl" + // InternalExpressionText.g:1085:1: rule__SiriusExpressionDescription__Group__6__Impl : ( ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) ) ; + public final void rule__SiriusExpressionDescription__Group__6__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1089:1: ( ( ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) ) ) + // InternalExpressionText.g:1090:1: ( ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) ) + { + // InternalExpressionText.g:1090:1: ( ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) ) + // InternalExpressionText.g:1091:1: ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeAssignment_6()); + // InternalExpressionText.g:1092:1: ( rule__SiriusExpressionDescription__ReturnTypeAssignment_6 ) + // InternalExpressionText.g:1092:2: rule__SiriusExpressionDescription__ReturnTypeAssignment_6 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__ReturnTypeAssignment_6(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeAssignment_6()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__6__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__7" + // InternalExpressionText.g:1102:1: rule__SiriusExpressionDescription__Group__7 : rule__SiriusExpressionDescription__Group__7__Impl rule__SiriusExpressionDescription__Group__8 ; + public final void rule__SiriusExpressionDescription__Group__7() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1106:1: ( rule__SiriusExpressionDescription__Group__7__Impl rule__SiriusExpressionDescription__Group__8 ) + // InternalExpressionText.g:1107:2: rule__SiriusExpressionDescription__Group__7__Impl rule__SiriusExpressionDescription__Group__8 + { + pushFollow(FOLLOW_17); + rule__SiriusExpressionDescription__Group__7__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__8(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__7" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__7__Impl" + // InternalExpressionText.g:1114:1: rule__SiriusExpressionDescription__Group__7__Impl : ( '[' ) ; + public final void rule__SiriusExpressionDescription__Group__7__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1118:1: ( ( '[' ) ) + // InternalExpressionText.g:1119:1: ( '[' ) + { + // InternalExpressionText.g:1119:1: ( '[' ) + // InternalExpressionText.g:1120:1: '[' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); + match(input,18,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__7__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__8" + // InternalExpressionText.g:1133:1: rule__SiriusExpressionDescription__Group__8 : rule__SiriusExpressionDescription__Group__8__Impl rule__SiriusExpressionDescription__Group__9 ; + public final void rule__SiriusExpressionDescription__Group__8() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1137:1: ( rule__SiriusExpressionDescription__Group__8__Impl rule__SiriusExpressionDescription__Group__9 ) + // InternalExpressionText.g:1138:2: rule__SiriusExpressionDescription__Group__8__Impl rule__SiriusExpressionDescription__Group__9 + { + pushFollow(FOLLOW_18); + rule__SiriusExpressionDescription__Group__8__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__9(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__8" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__8__Impl" + // InternalExpressionText.g:1145:1: rule__SiriusExpressionDescription__Group__8__Impl : ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) ; + public final void rule__SiriusExpressionDescription__Group__8__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1149:1: ( ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) ) + // InternalExpressionText.g:1150:1: ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) + { + // InternalExpressionText.g:1150:1: ( ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) ) + // InternalExpressionText.g:1151:1: ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); + // InternalExpressionText.g:1152:1: ( rule__SiriusExpressionDescription__LowerBoundAssignment_8 ) + // InternalExpressionText.g:1152:2: rule__SiriusExpressionDescription__LowerBoundAssignment_8 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__LowerBoundAssignment_8(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundAssignment_8()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__8__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__9" + // InternalExpressionText.g:1162:1: rule__SiriusExpressionDescription__Group__9 : rule__SiriusExpressionDescription__Group__9__Impl rule__SiriusExpressionDescription__Group__10 ; + public final void rule__SiriusExpressionDescription__Group__9() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1166:1: ( rule__SiriusExpressionDescription__Group__9__Impl rule__SiriusExpressionDescription__Group__10 ) + // InternalExpressionText.g:1167:2: rule__SiriusExpressionDescription__Group__9__Impl rule__SiriusExpressionDescription__Group__10 + { + pushFollow(FOLLOW_17); + rule__SiriusExpressionDescription__Group__9__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__10(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__9" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__9__Impl" + // InternalExpressionText.g:1174:1: rule__SiriusExpressionDescription__Group__9__Impl : ( '..' ) ; + public final void rule__SiriusExpressionDescription__Group__9__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1178:1: ( ( '..' ) ) + // InternalExpressionText.g:1179:1: ( '..' ) + { + // InternalExpressionText.g:1179:1: ( '..' ) + // InternalExpressionText.g:1180:1: '..' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); + match(input,19,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__9__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__10" + // InternalExpressionText.g:1193:1: rule__SiriusExpressionDescription__Group__10 : rule__SiriusExpressionDescription__Group__10__Impl rule__SiriusExpressionDescription__Group__11 ; + public final void rule__SiriusExpressionDescription__Group__10() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1197:1: ( rule__SiriusExpressionDescription__Group__10__Impl rule__SiriusExpressionDescription__Group__11 ) + // InternalExpressionText.g:1198:2: rule__SiriusExpressionDescription__Group__10__Impl rule__SiriusExpressionDescription__Group__11 + { + pushFollow(FOLLOW_19); + rule__SiriusExpressionDescription__Group__10__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__11(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__10" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__10__Impl" + // InternalExpressionText.g:1205:1: rule__SiriusExpressionDescription__Group__10__Impl : ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) ; + public final void rule__SiriusExpressionDescription__Group__10__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1209:1: ( ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) ) + // InternalExpressionText.g:1210:1: ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) + { + // InternalExpressionText.g:1210:1: ( ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) ) + // InternalExpressionText.g:1211:1: ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); + // InternalExpressionText.g:1212:1: ( rule__SiriusExpressionDescription__UpperBoundAssignment_10 ) + // InternalExpressionText.g:1212:2: rule__SiriusExpressionDescription__UpperBoundAssignment_10 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__UpperBoundAssignment_10(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundAssignment_10()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__10__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__11" + // InternalExpressionText.g:1222:1: rule__SiriusExpressionDescription__Group__11 : rule__SiriusExpressionDescription__Group__11__Impl rule__SiriusExpressionDescription__Group__12 ; + public final void rule__SiriusExpressionDescription__Group__11() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1226:1: ( rule__SiriusExpressionDescription__Group__11__Impl rule__SiriusExpressionDescription__Group__12 ) + // InternalExpressionText.g:1227:2: rule__SiriusExpressionDescription__Group__11__Impl rule__SiriusExpressionDescription__Group__12 + { + pushFollow(FOLLOW_4); + rule__SiriusExpressionDescription__Group__11__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__12(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__11" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__11__Impl" + // InternalExpressionText.g:1234:1: rule__SiriusExpressionDescription__Group__11__Impl : ( ']' ) ; + public final void rule__SiriusExpressionDescription__Group__11__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1238:1: ( ( ']' ) ) + // InternalExpressionText.g:1239:1: ( ']' ) + { + // InternalExpressionText.g:1239:1: ( ']' ) + // InternalExpressionText.g:1240:1: ']' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); + match(input,20,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__11__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__12" + // InternalExpressionText.g:1253:1: rule__SiriusExpressionDescription__Group__12 : rule__SiriusExpressionDescription__Group__12__Impl rule__SiriusExpressionDescription__Group__13 ; + public final void rule__SiriusExpressionDescription__Group__12() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1257:1: ( rule__SiriusExpressionDescription__Group__12__Impl rule__SiriusExpressionDescription__Group__13 ) + // InternalExpressionText.g:1258:2: rule__SiriusExpressionDescription__Group__12__Impl rule__SiriusExpressionDescription__Group__13 + { + pushFollow(FOLLOW_20); + rule__SiriusExpressionDescription__Group__12__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__13(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__12" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__12__Impl" + // InternalExpressionText.g:1265:1: rule__SiriusExpressionDescription__Group__12__Impl : ( '{' ) ; + public final void rule__SiriusExpressionDescription__Group__12__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1269:1: ( ( '{' ) ) + // InternalExpressionText.g:1270:1: ( '{' ) + { + // InternalExpressionText.g:1270:1: ( '{' ) + // InternalExpressionText.g:1271:1: '{' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); + match(input,9,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__12__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__13" + // InternalExpressionText.g:1284:1: rule__SiriusExpressionDescription__Group__13 : rule__SiriusExpressionDescription__Group__13__Impl rule__SiriusExpressionDescription__Group__14 ; + public final void rule__SiriusExpressionDescription__Group__13() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1288:1: ( rule__SiriusExpressionDescription__Group__13__Impl rule__SiriusExpressionDescription__Group__14 ) + // InternalExpressionText.g:1289:2: rule__SiriusExpressionDescription__Group__13__Impl rule__SiriusExpressionDescription__Group__14 + { + pushFollow(FOLLOW_21); + rule__SiriusExpressionDescription__Group__13__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__14(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__13" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__13__Impl" + // InternalExpressionText.g:1296:1: rule__SiriusExpressionDescription__Group__13__Impl : ( 'userDefinedVariableContainers' ) ; + public final void rule__SiriusExpressionDescription__Group__13__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1300:1: ( ( 'userDefinedVariableContainers' ) ) + // InternalExpressionText.g:1301:1: ( 'userDefinedVariableContainers' ) + { + // InternalExpressionText.g:1301:1: ( 'userDefinedVariableContainers' ) + // InternalExpressionText.g:1302:1: 'userDefinedVariableContainers' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); + match(input,21,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__13__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__14" + // InternalExpressionText.g:1315:1: rule__SiriusExpressionDescription__Group__14 : rule__SiriusExpressionDescription__Group__14__Impl rule__SiriusExpressionDescription__Group__15 ; + public final void rule__SiriusExpressionDescription__Group__14() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1319:1: ( rule__SiriusExpressionDescription__Group__14__Impl rule__SiriusExpressionDescription__Group__15 ) + // InternalExpressionText.g:1320:2: rule__SiriusExpressionDescription__Group__14__Impl rule__SiriusExpressionDescription__Group__15 + { + pushFollow(FOLLOW_16); + rule__SiriusExpressionDescription__Group__14__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__15(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__14" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__14__Impl" + // InternalExpressionText.g:1327:1: rule__SiriusExpressionDescription__Group__14__Impl : ( '=' ) ; + public final void rule__SiriusExpressionDescription__Group__14__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1331:1: ( ( '=' ) ) + // InternalExpressionText.g:1332:1: ( '=' ) + { + // InternalExpressionText.g:1332:1: ( '=' ) + // InternalExpressionText.g:1333:1: '=' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); + match(input,22,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__14__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__15" + // InternalExpressionText.g:1346:1: rule__SiriusExpressionDescription__Group__15 : rule__SiriusExpressionDescription__Group__15__Impl rule__SiriusExpressionDescription__Group__16 ; + public final void rule__SiriusExpressionDescription__Group__15() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1350:1: ( rule__SiriusExpressionDescription__Group__15__Impl rule__SiriusExpressionDescription__Group__16 ) + // InternalExpressionText.g:1351:2: rule__SiriusExpressionDescription__Group__15__Impl rule__SiriusExpressionDescription__Group__16 + { + pushFollow(FOLLOW_22); + rule__SiriusExpressionDescription__Group__15__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__16(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__15" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__15__Impl" + // InternalExpressionText.g:1358:1: rule__SiriusExpressionDescription__Group__15__Impl : ( '[' ) ; + public final void rule__SiriusExpressionDescription__Group__15__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1362:1: ( ( '[' ) ) + // InternalExpressionText.g:1363:1: ( '[' ) + { + // InternalExpressionText.g:1363:1: ( '[' ) + // InternalExpressionText.g:1364:1: '[' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); + match(input,18,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__15__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__16" + // InternalExpressionText.g:1377:1: rule__SiriusExpressionDescription__Group__16 : rule__SiriusExpressionDescription__Group__16__Impl rule__SiriusExpressionDescription__Group__17 ; + public final void rule__SiriusExpressionDescription__Group__16() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1381:1: ( rule__SiriusExpressionDescription__Group__16__Impl rule__SiriusExpressionDescription__Group__17 ) + // InternalExpressionText.g:1382:2: rule__SiriusExpressionDescription__Group__16__Impl rule__SiriusExpressionDescription__Group__17 + { + pushFollow(FOLLOW_22); + rule__SiriusExpressionDescription__Group__16__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__17(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__16" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__16__Impl" + // InternalExpressionText.g:1389:1: rule__SiriusExpressionDescription__Group__16__Impl : ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) ; + public final void rule__SiriusExpressionDescription__Group__16__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1393:1: ( ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) ) + // InternalExpressionText.g:1394:1: ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) + { + // InternalExpressionText.g:1394:1: ( ( rule__SiriusExpressionDescription__Group_16__0 )? ) + // InternalExpressionText.g:1395:1: ( rule__SiriusExpressionDescription__Group_16__0 )? + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); + // InternalExpressionText.g:1396:1: ( rule__SiriusExpressionDescription__Group_16__0 )? + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0==RULE_ID) ) { + alt7=1; + } + switch (alt7) { + case 1 : + // InternalExpressionText.g:1396:2: rule__SiriusExpressionDescription__Group_16__0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_16__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__16__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__17" + // InternalExpressionText.g:1406:1: rule__SiriusExpressionDescription__Group__17 : rule__SiriusExpressionDescription__Group__17__Impl rule__SiriusExpressionDescription__Group__18 ; + public final void rule__SiriusExpressionDescription__Group__17() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1410:1: ( rule__SiriusExpressionDescription__Group__17__Impl rule__SiriusExpressionDescription__Group__18 ) + // InternalExpressionText.g:1411:2: rule__SiriusExpressionDescription__Group__17__Impl rule__SiriusExpressionDescription__Group__18 + { + pushFollow(FOLLOW_23); + rule__SiriusExpressionDescription__Group__17__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__18(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__17" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__17__Impl" + // InternalExpressionText.g:1418:1: rule__SiriusExpressionDescription__Group__17__Impl : ( ']' ) ; + public final void rule__SiriusExpressionDescription__Group__17__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1422:1: ( ( ']' ) ) + // InternalExpressionText.g:1423:1: ( ']' ) + { + // InternalExpressionText.g:1423:1: ( ']' ) + // InternalExpressionText.g:1424:1: ']' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); + match(input,20,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__17__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__18" + // InternalExpressionText.g:1437:1: rule__SiriusExpressionDescription__Group__18 : rule__SiriusExpressionDescription__Group__18__Impl ; + public final void rule__SiriusExpressionDescription__Group__18() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1441:1: ( rule__SiriusExpressionDescription__Group__18__Impl ) + // InternalExpressionText.g:1442:2: rule__SiriusExpressionDescription__Group__18__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group__18__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__18" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group__18__Impl" + // InternalExpressionText.g:1448:1: rule__SiriusExpressionDescription__Group__18__Impl : ( '}' ) ; + public final void rule__SiriusExpressionDescription__Group__18__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1452:1: ( ( '}' ) ) + // InternalExpressionText.g:1453:1: ( '}' ) + { + // InternalExpressionText.g:1453:1: ( '}' ) + // InternalExpressionText.g:1454:1: '}' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); + match(input,10,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group__18__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3__0" + // InternalExpressionText.g:1505:1: rule__SiriusExpressionDescription__Group_3__0 : rule__SiriusExpressionDescription__Group_3__0__Impl rule__SiriusExpressionDescription__Group_3__1 ; + public final void rule__SiriusExpressionDescription__Group_3__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1509:1: ( rule__SiriusExpressionDescription__Group_3__0__Impl rule__SiriusExpressionDescription__Group_3__1 ) + // InternalExpressionText.g:1510:2: rule__SiriusExpressionDescription__Group_3__0__Impl rule__SiriusExpressionDescription__Group_3__1 + { + pushFollow(FOLLOW_24); + rule__SiriusExpressionDescription__Group_3__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_3__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3__0" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3__0__Impl" + // InternalExpressionText.g:1517:1: rule__SiriusExpressionDescription__Group_3__0__Impl : ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) ; + public final void rule__SiriusExpressionDescription__Group_3__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1521:1: ( ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) ) + // InternalExpressionText.g:1522:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) + { + // InternalExpressionText.g:1522:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) ) + // InternalExpressionText.g:1523:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); + // InternalExpressionText.g:1524:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_0 ) + // InternalExpressionText.g:1524:2: rule__SiriusExpressionDescription__ParametersAssignment_3_0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__ParametersAssignment_3_0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3__1" + // InternalExpressionText.g:1534:1: rule__SiriusExpressionDescription__Group_3__1 : rule__SiriusExpressionDescription__Group_3__1__Impl ; + public final void rule__SiriusExpressionDescription__Group_3__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1538:1: ( rule__SiriusExpressionDescription__Group_3__1__Impl ) + // InternalExpressionText.g:1539:2: rule__SiriusExpressionDescription__Group_3__1__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_3__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3__1" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3__1__Impl" + // InternalExpressionText.g:1545:1: rule__SiriusExpressionDescription__Group_3__1__Impl : ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) ; + public final void rule__SiriusExpressionDescription__Group_3__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1549:1: ( ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) ) + // InternalExpressionText.g:1550:1: ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) + { + // InternalExpressionText.g:1550:1: ( ( rule__SiriusExpressionDescription__Group_3_1__0 )* ) + // InternalExpressionText.g:1551:1: ( rule__SiriusExpressionDescription__Group_3_1__0 )* + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); + // InternalExpressionText.g:1552:1: ( rule__SiriusExpressionDescription__Group_3_1__0 )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); + + if ( (LA8_0==23) ) { + alt8=1; + } + + + switch (alt8) { + case 1 : + // InternalExpressionText.g:1552:2: rule__SiriusExpressionDescription__Group_3_1__0 + { + pushFollow(FOLLOW_25); + rule__SiriusExpressionDescription__Group_3_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop8; + } + } while (true); + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_3_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__0" + // InternalExpressionText.g:1566:1: rule__SiriusExpressionDescription__Group_3_1__0 : rule__SiriusExpressionDescription__Group_3_1__0__Impl rule__SiriusExpressionDescription__Group_3_1__1 ; + public final void rule__SiriusExpressionDescription__Group_3_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1570:1: ( rule__SiriusExpressionDescription__Group_3_1__0__Impl rule__SiriusExpressionDescription__Group_3_1__1 ) + // InternalExpressionText.g:1571:2: rule__SiriusExpressionDescription__Group_3_1__0__Impl rule__SiriusExpressionDescription__Group_3_1__1 + { + pushFollow(FOLLOW_26); + rule__SiriusExpressionDescription__Group_3_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_3_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__0" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__0__Impl" + // InternalExpressionText.g:1578:1: rule__SiriusExpressionDescription__Group_3_1__0__Impl : ( ',' ) ; + public final void rule__SiriusExpressionDescription__Group_3_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1582:1: ( ( ',' ) ) + // InternalExpressionText.g:1583:1: ( ',' ) + { + // InternalExpressionText.g:1583:1: ( ',' ) + // InternalExpressionText.g:1584:1: ',' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); + match(input,23,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__1" + // InternalExpressionText.g:1597:1: rule__SiriusExpressionDescription__Group_3_1__1 : rule__SiriusExpressionDescription__Group_3_1__1__Impl ; + public final void rule__SiriusExpressionDescription__Group_3_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1601:1: ( rule__SiriusExpressionDescription__Group_3_1__1__Impl ) + // InternalExpressionText.g:1602:2: rule__SiriusExpressionDescription__Group_3_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_3_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__1" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_3_1__1__Impl" + // InternalExpressionText.g:1608:1: rule__SiriusExpressionDescription__Group_3_1__1__Impl : ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) ; + public final void rule__SiriusExpressionDescription__Group_3_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1612:1: ( ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) ) + // InternalExpressionText.g:1613:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) + { + // InternalExpressionText.g:1613:1: ( ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) ) + // InternalExpressionText.g:1614:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); + // InternalExpressionText.g:1615:1: ( rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 ) + // InternalExpressionText.g:1615:2: rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__ParametersAssignment_3_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersAssignment_3_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_3_1__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16__0" + // InternalExpressionText.g:1629:1: rule__SiriusExpressionDescription__Group_16__0 : rule__SiriusExpressionDescription__Group_16__0__Impl rule__SiriusExpressionDescription__Group_16__1 ; + public final void rule__SiriusExpressionDescription__Group_16__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1633:1: ( rule__SiriusExpressionDescription__Group_16__0__Impl rule__SiriusExpressionDescription__Group_16__1 ) + // InternalExpressionText.g:1634:2: rule__SiriusExpressionDescription__Group_16__0__Impl rule__SiriusExpressionDescription__Group_16__1 + { + pushFollow(FOLLOW_24); + rule__SiriusExpressionDescription__Group_16__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_16__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16__0" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16__0__Impl" + // InternalExpressionText.g:1641:1: rule__SiriusExpressionDescription__Group_16__0__Impl : ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) ) ; + public final void rule__SiriusExpressionDescription__Group_16__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1645:1: ( ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) ) ) + // InternalExpressionText.g:1646:1: ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) ) + { + // InternalExpressionText.g:1646:1: ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) ) + // InternalExpressionText.g:1647:1: ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_0()); + // InternalExpressionText.g:1648:1: ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 ) + // InternalExpressionText.g:1648:2: rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__VariableContainersAssignment_16_0(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16__1" + // InternalExpressionText.g:1658:1: rule__SiriusExpressionDescription__Group_16__1 : rule__SiriusExpressionDescription__Group_16__1__Impl ; + public final void rule__SiriusExpressionDescription__Group_16__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1662:1: ( rule__SiriusExpressionDescription__Group_16__1__Impl ) + // InternalExpressionText.g:1663:2: rule__SiriusExpressionDescription__Group_16__1__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_16__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16__1" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16__1__Impl" + // InternalExpressionText.g:1669:1: rule__SiriusExpressionDescription__Group_16__1__Impl : ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) ; + public final void rule__SiriusExpressionDescription__Group_16__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1673:1: ( ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) ) + // InternalExpressionText.g:1674:1: ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) + { + // InternalExpressionText.g:1674:1: ( ( rule__SiriusExpressionDescription__Group_16_1__0 )* ) + // InternalExpressionText.g:1675:1: ( rule__SiriusExpressionDescription__Group_16_1__0 )* + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); + // InternalExpressionText.g:1676:1: ( rule__SiriusExpressionDescription__Group_16_1__0 )* + loop9: + do { + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==23) ) { + alt9=1; + } + + + switch (alt9) { + case 1 : + // InternalExpressionText.g:1676:2: rule__SiriusExpressionDescription__Group_16_1__0 + { + pushFollow(FOLLOW_25); + rule__SiriusExpressionDescription__Group_16_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop9; + } + } while (true); + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getGroup_16_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__0" + // InternalExpressionText.g:1690:1: rule__SiriusExpressionDescription__Group_16_1__0 : rule__SiriusExpressionDescription__Group_16_1__0__Impl rule__SiriusExpressionDescription__Group_16_1__1 ; + public final void rule__SiriusExpressionDescription__Group_16_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1694:1: ( rule__SiriusExpressionDescription__Group_16_1__0__Impl rule__SiriusExpressionDescription__Group_16_1__1 ) + // InternalExpressionText.g:1695:2: rule__SiriusExpressionDescription__Group_16_1__0__Impl rule__SiriusExpressionDescription__Group_16_1__1 + { + pushFollow(FOLLOW_3); + rule__SiriusExpressionDescription__Group_16_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_16_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__0" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__0__Impl" + // InternalExpressionText.g:1702:1: rule__SiriusExpressionDescription__Group_16_1__0__Impl : ( ',' ) ; + public final void rule__SiriusExpressionDescription__Group_16_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1706:1: ( ( ',' ) ) + // InternalExpressionText.g:1707:1: ( ',' ) + { + // InternalExpressionText.g:1707:1: ( ',' ) + // InternalExpressionText.g:1708:1: ',' + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); + match(input,23,FOLLOW_2); + after(grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__0__Impl" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__1" + // InternalExpressionText.g:1721:1: rule__SiriusExpressionDescription__Group_16_1__1 : rule__SiriusExpressionDescription__Group_16_1__1__Impl ; + public final void rule__SiriusExpressionDescription__Group_16_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1725:1: ( rule__SiriusExpressionDescription__Group_16_1__1__Impl ) + // InternalExpressionText.g:1726:2: rule__SiriusExpressionDescription__Group_16_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__Group_16_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__1" + + + // $ANTLR start "rule__SiriusExpressionDescription__Group_16_1__1__Impl" + // InternalExpressionText.g:1732:1: rule__SiriusExpressionDescription__Group_16_1__1__Impl : ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) ) ; + public final void rule__SiriusExpressionDescription__Group_16_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1736:1: ( ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) ) ) + // InternalExpressionText.g:1737:1: ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) ) + { + // InternalExpressionText.g:1737:1: ( ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) ) + // InternalExpressionText.g:1738:1: ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_1_1()); + // InternalExpressionText.g:1739:1: ( rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 ) + // InternalExpressionText.g:1739:2: rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 + { + pushFollow(FOLLOW_2); + rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersAssignment_16_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__Group_16_1__1__Impl" + + + // $ANTLR start "rule__SiriusParameter__Group__0" + // InternalExpressionText.g:1753:1: rule__SiriusParameter__Group__0 : rule__SiriusParameter__Group__0__Impl rule__SiriusParameter__Group__1 ; + public final void rule__SiriusParameter__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1757:1: ( rule__SiriusParameter__Group__0__Impl rule__SiriusParameter__Group__1 ) + // InternalExpressionText.g:1758:2: rule__SiriusParameter__Group__0__Impl rule__SiriusParameter__Group__1 + { + pushFollow(FOLLOW_26); + rule__SiriusParameter__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__SiriusParameter__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusParameter__Group__0" + + + // $ANTLR start "rule__SiriusParameter__Group__0__Impl" + // InternalExpressionText.g:1765:1: rule__SiriusParameter__Group__0__Impl : ( ( rule__SiriusParameter__OptionalAssignment_0 )? ) ; + public final void rule__SiriusParameter__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1769:1: ( ( ( rule__SiriusParameter__OptionalAssignment_0 )? ) ) + // InternalExpressionText.g:1770:1: ( ( rule__SiriusParameter__OptionalAssignment_0 )? ) + { + // InternalExpressionText.g:1770:1: ( ( rule__SiriusParameter__OptionalAssignment_0 )? ) + // InternalExpressionText.g:1771:1: ( rule__SiriusParameter__OptionalAssignment_0 )? + { + before(grammarAccess.getSiriusParameterAccess().getOptionalAssignment_0()); + // InternalExpressionText.g:1772:1: ( rule__SiriusParameter__OptionalAssignment_0 )? + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==25) ) { + alt10=1; + } + switch (alt10) { + case 1 : + // InternalExpressionText.g:1772:2: rule__SiriusParameter__OptionalAssignment_0 + { + pushFollow(FOLLOW_2); + rule__SiriusParameter__OptionalAssignment_0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getSiriusParameterAccess().getOptionalAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusParameter__Group__0__Impl" + + + // $ANTLR start "rule__SiriusParameter__Group__1" + // InternalExpressionText.g:1782:1: rule__SiriusParameter__Group__1 : rule__SiriusParameter__Group__1__Impl ; + public final void rule__SiriusParameter__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1786:1: ( rule__SiriusParameter__Group__1__Impl ) + // InternalExpressionText.g:1787:2: rule__SiriusParameter__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__SiriusParameter__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusParameter__Group__1" + + + // $ANTLR start "rule__SiriusParameter__Group__1__Impl" + // InternalExpressionText.g:1793:1: rule__SiriusParameter__Group__1__Impl : ( ( rule__SiriusParameter__VariableAssignment_1 ) ) ; + public final void rule__SiriusParameter__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1797:1: ( ( ( rule__SiriusParameter__VariableAssignment_1 ) ) ) + // InternalExpressionText.g:1798:1: ( ( rule__SiriusParameter__VariableAssignment_1 ) ) + { + // InternalExpressionText.g:1798:1: ( ( rule__SiriusParameter__VariableAssignment_1 ) ) + // InternalExpressionText.g:1799:1: ( rule__SiriusParameter__VariableAssignment_1 ) + { + before(grammarAccess.getSiriusParameterAccess().getVariableAssignment_1()); + // InternalExpressionText.g:1800:1: ( rule__SiriusParameter__VariableAssignment_1 ) + // InternalExpressionText.g:1800:2: rule__SiriusParameter__VariableAssignment_1 + { + pushFollow(FOLLOW_2); + rule__SiriusParameter__VariableAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getSiriusParameterAccess().getVariableAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusParameter__Group__1__Impl" + + + // $ANTLR start "rule__Bound__Group__0" + // InternalExpressionText.g:1814:1: rule__Bound__Group__0 : rule__Bound__Group__0__Impl rule__Bound__Group__1 ; + public final void rule__Bound__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1818:1: ( rule__Bound__Group__0__Impl rule__Bound__Group__1 ) + // InternalExpressionText.g:1819:2: rule__Bound__Group__0__Impl rule__Bound__Group__1 + { + pushFollow(FOLLOW_17); + rule__Bound__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Bound__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Bound__Group__0" + + + // $ANTLR start "rule__Bound__Group__0__Impl" + // InternalExpressionText.g:1826:1: rule__Bound__Group__0__Impl : ( ( '-' )? ) ; + public final void rule__Bound__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1830:1: ( ( ( '-' )? ) ) + // InternalExpressionText.g:1831:1: ( ( '-' )? ) + { + // InternalExpressionText.g:1831:1: ( ( '-' )? ) + // InternalExpressionText.g:1832:1: ( '-' )? + { + before(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); + // InternalExpressionText.g:1833:1: ( '-' )? + int alt11=2; + int LA11_0 = input.LA(1); + + if ( (LA11_0==24) ) { + alt11=1; + } + switch (alt11) { + case 1 : + // InternalExpressionText.g:1834:2: '-' + { + match(input,24,FOLLOW_2); + + } + break; + + } + + after(grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Bound__Group__0__Impl" + + + // $ANTLR start "rule__Bound__Group__1" + // InternalExpressionText.g:1845:1: rule__Bound__Group__1 : rule__Bound__Group__1__Impl ; + public final void rule__Bound__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1849:1: ( rule__Bound__Group__1__Impl ) + // InternalExpressionText.g:1850:2: rule__Bound__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__Bound__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Bound__Group__1" + + + // $ANTLR start "rule__Bound__Group__1__Impl" + // InternalExpressionText.g:1856:1: rule__Bound__Group__1__Impl : ( RULE_INT ) ; + public final void rule__Bound__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1860:1: ( ( RULE_INT ) ) + // InternalExpressionText.g:1861:1: ( RULE_INT ) + { + // InternalExpressionText.g:1861:1: ( RULE_INT ) + // InternalExpressionText.g:1862:1: RULE_INT + { + before(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Bound__Group__1__Impl" + + + // $ANTLR start "rule__SiriusExpressionPackage__EPackageAssignment_1" + // InternalExpressionText.g:1878:1: rule__SiriusExpressionPackage__EPackageAssignment_1 : ( ( RULE_ID ) ) ; + public final void rule__SiriusExpressionPackage__EPackageAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1882:1: ( ( ( RULE_ID ) ) ) + // InternalExpressionText.g:1883:1: ( ( RULE_ID ) ) + { + // InternalExpressionText.g:1883:1: ( ( RULE_ID ) ) + // InternalExpressionText.g:1884:1: ( RULE_ID ) + { + before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); + // InternalExpressionText.g:1885:1: ( RULE_ID ) + // InternalExpressionText.g:1886:1: RULE_ID + { + before(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageIDTerminalRuleCall_1_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageIDTerminalRuleCall_1_0_1()); + + } + + after(grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__EPackageAssignment_1" + + + // $ANTLR start "rule__SiriusExpressionPackage__ExpressionClassesAssignment_3" + // InternalExpressionText.g:1897:1: rule__SiriusExpressionPackage__ExpressionClassesAssignment_3 : ( ruleSiriusExpressionClass ) ; + public final void rule__SiriusExpressionPackage__ExpressionClassesAssignment_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1901:1: ( ( ruleSiriusExpressionClass ) ) + // InternalExpressionText.g:1902:1: ( ruleSiriusExpressionClass ) + { + // InternalExpressionText.g:1902:1: ( ruleSiriusExpressionClass ) + // InternalExpressionText.g:1903:1: ruleSiriusExpressionClass + { + before(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); + pushFollow(FOLLOW_2); + ruleSiriusExpressionClass(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionPackage__ExpressionClassesAssignment_3" + + + // $ANTLR start "rule__SiriusExpressionClass__EClassAssignment_1" + // InternalExpressionText.g:1912:1: rule__SiriusExpressionClass__EClassAssignment_1 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionClass__EClassAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1916:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionText.g:1917:1: ( ( ruleFQN ) ) + { + // InternalExpressionText.g:1917:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:1918:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); + // InternalExpressionText.g:1919:1: ( ruleFQN ) + // InternalExpressionText.g:1920:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassFQNParserRuleCall_1_0_1()); + + } + + after(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__EClassAssignment_1" + + + // $ANTLR start "rule__SiriusExpressionClass__VariablesAssignment_3" + // InternalExpressionText.g:1931:1: rule__SiriusExpressionClass__VariablesAssignment_3 : ( ruleSiriusVariable ) ; + public final void rule__SiriusExpressionClass__VariablesAssignment_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1935:1: ( ( ruleSiriusVariable ) ) + // InternalExpressionText.g:1936:1: ( ruleSiriusVariable ) + { + // InternalExpressionText.g:1936:1: ( ruleSiriusVariable ) + // InternalExpressionText.g:1937:1: ruleSiriusVariable + { + before(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); + pushFollow(FOLLOW_2); + ruleSiriusVariable(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__VariablesAssignment_3" + + + // $ANTLR start "rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4" + // InternalExpressionText.g:1946:1: rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4 : ( ruleSiriusExpressionDescription ) ; + public final void rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1950:1: ( ( ruleSiriusExpressionDescription ) ) + // InternalExpressionText.g:1951:1: ( ruleSiriusExpressionDescription ) + { + // InternalExpressionText.g:1951:1: ( ruleSiriusExpressionDescription ) + // InternalExpressionText.g:1952:1: ruleSiriusExpressionDescription + { + before(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); + pushFollow(FOLLOW_2); + ruleSiriusExpressionDescription(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionClass__ExpressionDescriptionsAssignment_4" + + + // $ANTLR start "rule__SiriusVariable__DocumentationAssignment_0" + // InternalExpressionText.g:1961:1: rule__SiriusVariable__DocumentationAssignment_0 : ( RULE_ML_COMMENT ) ; + public final void rule__SiriusVariable__DocumentationAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1965:1: ( ( RULE_ML_COMMENT ) ) + // InternalExpressionText.g:1966:1: ( RULE_ML_COMMENT ) + { + // InternalExpressionText.g:1966:1: ( RULE_ML_COMMENT ) + // InternalExpressionText.g:1967:1: RULE_ML_COMMENT + { + before(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); + match(input,RULE_ML_COMMENT,FOLLOW_2); + after(grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__DocumentationAssignment_0" + + + // $ANTLR start "rule__SiriusVariable__NameAssignment_2" + // InternalExpressionText.g:1976:1: rule__SiriusVariable__NameAssignment_2 : ( RULE_ID ) ; + public final void rule__SiriusVariable__NameAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1980:1: ( ( RULE_ID ) ) + // InternalExpressionText.g:1981:1: ( RULE_ID ) + { + // InternalExpressionText.g:1981:1: ( RULE_ID ) + // InternalExpressionText.g:1982:1: RULE_ID + { + before(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__NameAssignment_2" + + + // $ANTLR start "rule__SiriusVariable__ETypeAssignment_4" + // InternalExpressionText.g:1991:1: rule__SiriusVariable__ETypeAssignment_4 : ( ( ruleFQN ) ) ; + public final void rule__SiriusVariable__ETypeAssignment_4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:1995:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionText.g:1996:1: ( ( ruleFQN ) ) + { + // InternalExpressionText.g:1996:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:1997:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); + // InternalExpressionText.g:1998:1: ( ruleFQN ) + // InternalExpressionText.g:1999:1: ruleFQN + { + before(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierFQNParserRuleCall_4_0_1()); + + } + + after(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusVariable__ETypeAssignment_4" + + + // $ANTLR start "rule__SiriusExpressionDescription__ExpressionAssignment_1" + // InternalExpressionText.g:2010:1: rule__SiriusExpressionDescription__ExpressionAssignment_1 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionDescription__ExpressionAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2014:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionText.g:2015:1: ( ( ruleFQN ) ) + { + // InternalExpressionText.g:2015:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:2016:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); + // InternalExpressionText.g:2017:1: ( ruleFQN ) + // InternalExpressionText.g:2018:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeFQNParserRuleCall_1_0_1()); + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__ExpressionAssignment_1" + + + // $ANTLR start "rule__SiriusExpressionDescription__ParametersAssignment_3_0" + // InternalExpressionText.g:2029:1: rule__SiriusExpressionDescription__ParametersAssignment_3_0 : ( ruleSiriusParameter ) ; + public final void rule__SiriusExpressionDescription__ParametersAssignment_3_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2033:1: ( ( ruleSiriusParameter ) ) + // InternalExpressionText.g:2034:1: ( ruleSiriusParameter ) + { + // InternalExpressionText.g:2034:1: ( ruleSiriusParameter ) + // InternalExpressionText.g:2035:1: ruleSiriusParameter + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); + pushFollow(FOLLOW_2); + ruleSiriusParameter(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__ParametersAssignment_3_0" + + + // $ANTLR start "rule__SiriusExpressionDescription__ParametersAssignment_3_1_1" + // InternalExpressionText.g:2044:1: rule__SiriusExpressionDescription__ParametersAssignment_3_1_1 : ( ruleSiriusParameter ) ; + public final void rule__SiriusExpressionDescription__ParametersAssignment_3_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2048:1: ( ( ruleSiriusParameter ) ) + // InternalExpressionText.g:2049:1: ( ruleSiriusParameter ) + { + // InternalExpressionText.g:2049:1: ( ruleSiriusParameter ) + // InternalExpressionText.g:2050:1: ruleSiriusParameter + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); + pushFollow(FOLLOW_2); + ruleSiriusParameter(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__ParametersAssignment_3_1_1" + + + // $ANTLR start "rule__SiriusExpressionDescription__ReturnTypeAssignment_6" + // InternalExpressionText.g:2059:1: rule__SiriusExpressionDescription__ReturnTypeAssignment_6 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionDescription__ReturnTypeAssignment_6() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2063:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionText.g:2064:1: ( ( ruleFQN ) ) + { + // InternalExpressionText.g:2064:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:2065:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); + // InternalExpressionText.g:2066:1: ( ruleFQN ) + // InternalExpressionText.g:2067:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierFQNParserRuleCall_6_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierFQNParserRuleCall_6_0_1()); + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__ReturnTypeAssignment_6" + + + // $ANTLR start "rule__SiriusExpressionDescription__LowerBoundAssignment_8" + // InternalExpressionText.g:2078:1: rule__SiriusExpressionDescription__LowerBoundAssignment_8 : ( ruleBound ) ; + public final void rule__SiriusExpressionDescription__LowerBoundAssignment_8() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2082:1: ( ( ruleBound ) ) + // InternalExpressionText.g:2083:1: ( ruleBound ) + { + // InternalExpressionText.g:2083:1: ( ruleBound ) + // InternalExpressionText.g:2084:1: ruleBound + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); + pushFollow(FOLLOW_2); + ruleBound(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__LowerBoundAssignment_8" + + + // $ANTLR start "rule__SiriusExpressionDescription__UpperBoundAssignment_10" + // InternalExpressionText.g:2093:1: rule__SiriusExpressionDescription__UpperBoundAssignment_10 : ( ruleBound ) ; + public final void rule__SiriusExpressionDescription__UpperBoundAssignment_10() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2097:1: ( ( ruleBound ) ) + // InternalExpressionText.g:2098:1: ( ruleBound ) + { + // InternalExpressionText.g:2098:1: ( ruleBound ) + // InternalExpressionText.g:2099:1: ruleBound + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); + pushFollow(FOLLOW_2); + ruleBound(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__UpperBoundAssignment_10" + + + // $ANTLR start "rule__SiriusExpressionDescription__VariableContainersAssignment_16_0" + // InternalExpressionText.g:2108:1: rule__SiriusExpressionDescription__VariableContainersAssignment_16_0 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionDescription__VariableContainersAssignment_16_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2112:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionText.g:2113:1: ( ( ruleFQN ) ) + { + // InternalExpressionText.g:2113:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:2114:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); + // InternalExpressionText.g:2115:1: ( ruleFQN ) + // InternalExpressionText.g:2116:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_0_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_0_0_1()); + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__VariableContainersAssignment_16_0" + + + // $ANTLR start "rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1" + // InternalExpressionText.g:2127:1: rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1 : ( ( ruleFQN ) ) ; + public final void rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2131:1: ( ( ( ruleFQN ) ) ) + // InternalExpressionText.g:2132:1: ( ( ruleFQN ) ) + { + // InternalExpressionText.g:2132:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:2133:1: ( ruleFQN ) + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); + // InternalExpressionText.g:2134:1: ( ruleFQN ) + // InternalExpressionText.g:2135:1: ruleFQN + { + before(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_1_1_0_1()); + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassFQNParserRuleCall_16_1_1_0_1()); + + } + + after(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusExpressionDescription__VariableContainersAssignment_16_1_1" + + + // $ANTLR start "rule__SiriusParameter__OptionalAssignment_0" + // InternalExpressionText.g:2146:1: rule__SiriusParameter__OptionalAssignment_0 : ( ( 'optional' ) ) ; + public final void rule__SiriusParameter__OptionalAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2150:1: ( ( ( 'optional' ) ) ) + // InternalExpressionText.g:2151:1: ( ( 'optional' ) ) + { + // InternalExpressionText.g:2151:1: ( ( 'optional' ) ) + // InternalExpressionText.g:2152:1: ( 'optional' ) + { + before(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); + // InternalExpressionText.g:2153:1: ( 'optional' ) + // InternalExpressionText.g:2154:1: 'optional' + { + before(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); + match(input,25,FOLLOW_2); + after(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); + + } + + after(grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusParameter__OptionalAssignment_0" + + + // $ANTLR start "rule__SiriusParameter__VariableAssignment_1" + // InternalExpressionText.g:2169:1: rule__SiriusParameter__VariableAssignment_1 : ( ( RULE_ID ) ) ; + public final void rule__SiriusParameter__VariableAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalExpressionText.g:2173:1: ( ( ( RULE_ID ) ) ) + // InternalExpressionText.g:2174:1: ( ( RULE_ID ) ) + { + // InternalExpressionText.g:2174:1: ( ( RULE_ID ) ) + // InternalExpressionText.g:2175:1: ( RULE_ID ) + { + before(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); + // InternalExpressionText.g:2176:1: ( RULE_ID ) + // InternalExpressionText.g:2177:1: RULE_ID + { + before(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableIDTerminalRuleCall_1_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableIDTerminalRuleCall_1_0_1()); + + } + + after(grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__SiriusParameter__VariableAssignment_1" + + // Delegated rules + + + + + public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000200L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000C00L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000802L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x000000000000A440L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000002042L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000008002L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000001002L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000002040L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000002020010L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000001000020L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000100000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000400000L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000100010L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000400L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000800002L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000002000010L}); + +} \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/internal/ExpressionTextActivator.java b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/internal/ExpressionTextActivator.java new file mode 100644 index 000000000..3e02a504b --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/src-gen/org/eclipse/sirius/expression/text/ui/internal/ExpressionTextActivator.java @@ -0,0 +1,95 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.internal; + +import java.util.Collections; +import java.util.Map; + +import org.apache.log4j.Logger; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.eclipse.xtext.ui.shared.SharedStateModule; +import org.eclipse.xtext.util.Modules2; +import org.osgi.framework.BundleContext; + +import com.google.common.collect.Maps; +import com.google.inject.Guice; +import com.google.inject.Injector; +import com.google.inject.Module; + +/** + * This class was generated. Customizations should only happen in a newly + * introduced subclass. + */ +public class ExpressionTextActivator extends AbstractUIPlugin { + + public static final String ORG_ECLIPSE_SIRIUS_EXPRESSION_TEXT_EXPRESSIONTEXT = "org.eclipse.sirius.expression.text.ExpressionText"; + + private static final Logger logger = Logger.getLogger(ExpressionTextActivator.class); + + private static ExpressionTextActivator INSTANCE; + + private Map injectors = Collections.synchronizedMap(Maps. newHashMapWithExpectedSize(1)); + + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + INSTANCE = this; + } + + @Override + public void stop(BundleContext context) throws Exception { + injectors.clear(); + INSTANCE = null; + super.stop(context); + } + + public static ExpressionTextActivator getInstance() { + return INSTANCE; + } + + public Injector getInjector(String language) { + synchronized (injectors) { + Injector injector = injectors.get(language); + if (injector == null) { + injectors.put(language, injector = createInjector(language)); + } + return injector; + } + } + + protected Injector createInjector(String language) { + try { + Module runtimeModule = getRuntimeModule(language); + Module sharedStateModule = getSharedStateModule(); + Module uiModule = getUiModule(language); + Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule); + return Guice.createInjector(mergedModule); + } catch (Exception e) { + logger.error("Failed to create injector for " + language); + logger.error(e.getMessage(), e); + throw new RuntimeException("Failed to create injector for " + language, e); + } + } + + protected Module getRuntimeModule(String grammar) { + if (ORG_ECLIPSE_SIRIUS_EXPRESSION_TEXT_EXPRESSIONTEXT.equals(grammar)) { + return new org.eclipse.sirius.expression.text.ExpressionTextRuntimeModule(); + } + + throw new IllegalArgumentException(grammar); + } + + protected Module getUiModule(String grammar) { + if (ORG_ECLIPSE_SIRIUS_EXPRESSION_TEXT_EXPRESSIONTEXT.equals(grammar)) { + return new org.eclipse.sirius.expression.text.ui.ExpressionTextUiModule(this); + } + + throw new IllegalArgumentException(grammar); + } + + protected Module getSharedStateModule() { + return new SharedStateModule(); + } + +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/ExpressionTextUiModule.java b/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/ExpressionTextUiModule.java new file mode 100644 index 000000000..65d60d834 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/ExpressionTextUiModule.java @@ -0,0 +1,15 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui; + +import org.eclipse.ui.plugin.AbstractUIPlugin; + +/** + * Use this class to register components to be used within the IDE. + */ +public class ExpressionTextUiModule extends org.eclipse.sirius.expression.text.ui.AbstractExpressionTextUiModule { + public ExpressionTextUiModule(AbstractUIPlugin plugin) { + super(plugin); + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.xtend b/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.xtend new file mode 100644 index 000000000..bee3f6ce2 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.xtend @@ -0,0 +1,13 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.contentassist + +import org.eclipse.sirius.expression.text.ui.contentassist.AbstractExpressionTextProposalProvider + +/** + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist + * on how to customize the content assistant. + */ +class ExpressionTextProposalProvider extends AbstractExpressionTextProposalProvider { +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.xtend b/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.xtend new file mode 100644 index 000000000..98204d020 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.xtend @@ -0,0 +1,24 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.labeling + +//import org.eclipse.xtext.resource.IEObjectDescription + +/** + * Provides labels for IEObjectDescriptions and IResourceDescriptions. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +class ExpressionTextDescriptionLabelProvider extends org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider { + + // Labels and icons can be computed like this: + +// override text(IEObjectDescription ele) { +// ele.name.toString +// } +// +// override image(IEObjectDescription ele) { +// ele.EClass.name + '.gif' +// } +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.xtend b/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.xtend new file mode 100644 index 000000000..5db261253 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.xtend @@ -0,0 +1,29 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.labeling + +import com.google.inject.Inject + +/** + * Provides labels for EObjects. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +class ExpressionTextLabelProvider extends org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider { + + @Inject + new(org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider delegate) { + super(delegate); + } + + // Labels and icons can be computed like this: + +// def text(Greeting ele) { +// 'A greeting to ' + ele.name +// } +// +// def image(Greeting ele) { +// 'Greeting.gif' +// } +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.xtend b/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.xtend new file mode 100644 index 000000000..e5df0ce22 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.xtend @@ -0,0 +1,13 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.outline + +/** + * Customization of the default outline structure. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#outline + */ +class ExpressionTextOutlineTreeProvider extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider { + +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.xtend b/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.xtend new file mode 100644 index 000000000..f37b106a8 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/src/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.xtend @@ -0,0 +1,26 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.quickfix + +//import org.eclipse.xtext.ui.editor.quickfix.Fix +//import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor +//import org.eclipse.xtext.validation.Issue + +/** + * Custom quickfixes. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#quick-fixes + */ +class ExpressionTextQuickfixProvider extends org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider { + +// @Fix(MyDslValidator::INVALID_NAME) +// def capitalizeName(Issue issue, IssueResolutionAcceptor acceptor) { +// acceptor.accept(issue, 'Capitalize name', 'Capitalize the name.', 'upcase.png') [ +// context | +// val xtextDocument = context.xtextDocument +// val firstLetter = xtextDocument.get(issue.offset, 1) +// xtextDocument.replace(issue.offset, 1, firstLetter.toUpperCase) +// ] +// } +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.java b/prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.java new file mode 100644 index 000000000..d525cf5ce --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/contentassist/ExpressionTextProposalProvider.java @@ -0,0 +1,14 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.contentassist; + +import org.eclipse.sirius.expression.text.ui.contentassist.AbstractExpressionTextProposalProvider; + +/** + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist + * on how to customize the content assistant. + */ +@SuppressWarnings("all") +public class ExpressionTextProposalProvider extends AbstractExpressionTextProposalProvider { +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.java b/prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.java new file mode 100644 index 000000000..476e867c5 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextDescriptionLabelProvider.java @@ -0,0 +1,15 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.labeling; + +import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider; + +/** + * Provides labels for IEObjectDescriptions and IResourceDescriptions. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +@SuppressWarnings("all") +public class ExpressionTextDescriptionLabelProvider extends DefaultDescriptionLabelProvider { +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.java b/prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.java new file mode 100644 index 000000000..0233725ad --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/labeling/ExpressionTextLabelProvider.java @@ -0,0 +1,21 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.labeling; + +import com.google.inject.Inject; +import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider; +import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider; + +/** + * Provides labels for EObjects. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +@SuppressWarnings("all") +public class ExpressionTextLabelProvider extends DefaultEObjectLabelProvider { + @Inject + public ExpressionTextLabelProvider(final AdapterFactoryLabelProvider delegate) { + super(delegate); + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.java b/prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.java new file mode 100644 index 000000000..725469b64 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/outline/ExpressionTextOutlineTreeProvider.java @@ -0,0 +1,15 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.outline; + +import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider; + +/** + * Customization of the default outline structure. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#outline + */ +@SuppressWarnings("all") +public class ExpressionTextOutlineTreeProvider extends DefaultOutlineTreeProvider { +} diff --git a/prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.java b/prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.java new file mode 100644 index 000000000..53f8b27c9 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text.ui/xtend-gen/org/eclipse/sirius/expression/text/ui/quickfix/ExpressionTextQuickfixProvider.java @@ -0,0 +1,15 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.ui.quickfix; + +import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider; + +/** + * Custom quickfixes. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#quick-fixes + */ +@SuppressWarnings("all") +public class ExpressionTextQuickfixProvider extends DefaultQuickfixProvider { +} diff --git a/prototypes/org.eclipse.sirius.expression.text/.antlr-generator-3.2.0-patch.jar b/prototypes/org.eclipse.sirius.expression.text/.antlr-generator-3.2.0-patch.jar new file mode 100644 index 000000000..90516fd7a Binary files /dev/null and b/prototypes/org.eclipse.sirius.expression.text/.antlr-generator-3.2.0-patch.jar differ diff --git a/prototypes/org.eclipse.sirius.expression.text/.classpath b/prototypes/org.eclipse.sirius.expression.text/.classpath new file mode 100644 index 000000000..9081d4f70 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression.text/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.text).launch b/prototypes/org.eclipse.sirius.expression.text/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.text).launch new file mode 100644 index 000000000..48f094e36 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/.launch/Generate Language Infrastructure (org.eclipse.sirius.expression.text).launch @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression.text/.launch/Launch Runtime Eclipse.launch b/prototypes/org.eclipse.sirius.expression.text/.launch/Launch Runtime Eclipse.launch new file mode 100644 index 000000000..3053f7f65 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/.launch/Launch Runtime Eclipse.launch @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression.text/.project b/prototypes/org.eclipse.sirius.expression.text/.project new file mode 100644 index 000000000..7bcfb35a7 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/.project @@ -0,0 +1,34 @@ + + + org.eclipse.sirius.expression.text + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + org.eclipse.xtext.ui.shared.xtextNature + + diff --git a/prototypes/org.eclipse.sirius.expression.text/.settings/org.eclipse.core.resources.prefs b/prototypes/org.eclipse.sirius.expression.text/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 000000000..99f26c020 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/prototypes/org.eclipse.sirius.expression.text/.settings/org.eclipse.jdt.core.prefs b/prototypes/org.eclipse.sirius.expression.text/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..0c68a61dc --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/prototypes/org.eclipse.sirius.expression.text/META-INF/MANIFEST.MF b/prototypes/org.eclipse.sirius.expression.text/META-INF/MANIFEST.MF new file mode 100644 index 000000000..b8bd7ff2f --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/META-INF/MANIFEST.MF @@ -0,0 +1,29 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-Version: 1.0.0.qualifier +Bundle-SymbolicName: org.eclipse.sirius.expression.text; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: org.eclipse.xtext;visibility:=reexport, + org.eclipse.equinox.common;bundle-version="3.5.0", + org.eclipse.sirius.expression;bundle-version="1.0.0", + org.eclipse.xtext.util, + org.eclipse.emf.ecore, + org.eclipse.emf.common, + org.eclipse.xtext.xbase.lib, + org.antlr.runtime, + org.eclipse.xtext.common.types, + org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional +Import-Package: org.apache.log4j +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.sirius.expression.text, + org.eclipse.sirius.expression.text.services, + org.eclipse.sirius.expression.text.serializer, + org.eclipse.sirius.expression.text.parser.antlr, + org.eclipse.sirius.expression.text.parser.antlr.internal, + org.eclipse.sirius.expression.text.validation, + org.eclipse.sirius.expression.text.scoping, + org.eclipse.sirius.expression.text.generator, + org.eclipse.sirius.expression.text.formatting diff --git a/prototypes/org.eclipse.sirius.expression.text/about.html b/prototypes/org.eclipse.sirius.expression.text/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

                About This Content

                + +

                June 15, 2010

                +

                License

                + +

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

                + +

                If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

                + + + \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.expression.text/build.properties b/prototypes/org.eclipse.sirius.expression.text/build.properties new file mode 100644 index 000000000..47858148c --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/build.properties @@ -0,0 +1,21 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +source.. = src/,\ + src-gen/,\ + xtend-gen/ +bin.includes = META-INF/,\ + .,\ + plugin.properties,\ + about.html +additional.bundles = org.eclipse.xtext.xbase,\ + org.eclipse.xtext.generator,\ + org.apache.commons.logging,\ + org.eclipse.emf.codegen.ecore,\ + org.eclipse.emf.mwe.utils,\ + org.eclipse.emf.mwe2.launch,\ + org.eclipse.xtext.common.types,\ + org.objectweb.asm diff --git a/prototypes/org.eclipse.sirius.expression.text/plugin.properties b/prototypes/org.eclipse.sirius.expression.text/plugin.properties new file mode 100644 index 000000000..f2cab8b41 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/plugin.properties @@ -0,0 +1,8 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +pluginName = Sirius Expression Textual Editor +providerName = Eclipse Modeling Project \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/AbstractExpressionTextRuntimeModule.java b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/AbstractExpressionTextRuntimeModule.java new file mode 100644 index 000000000..5d367062d --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/AbstractExpressionTextRuntimeModule.java @@ -0,0 +1,156 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text; + +import java.util.Properties; + +import org.eclipse.xtext.Constants; + +import com.google.inject.Binder; +import com.google.inject.name.Names; + +/** + * Manual modifications go to {org.eclipse.sirius.expression.text.ExpressionTextRuntimeModule} + */ +@SuppressWarnings("all") +public abstract class AbstractExpressionTextRuntimeModule extends org.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule { + + protected Properties properties = null; + + @Override + public void configure(Binder binder) { + properties = tryBindProperties(binder, "org/eclipse/sirius/expression/text/ExpressionText.properties"); + super.configure(binder); + } + + public void configureLanguageName(Binder binder) { + binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.sirius.expression.text.ExpressionText"); + } + + public void configureFileExtensions(Binder binder) { + if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) + binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("expression"); + } + + // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment + public java.lang.ClassLoader bindClassLoaderToInstance() { + return getClass().getClassLoader(); + } + + // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment + public Class bindIGrammarAccess() { + return org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess.class; + } + + // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment + public Class bindISemanticSequencer() { + return org.eclipse.sirius.expression.text.serializer.ExpressionTextSemanticSequencer.class; + } + + // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment + public Class bindISyntacticSequencer() { + return org.eclipse.sirius.expression.text.serializer.ExpressionTextSyntacticSequencer.class; + } + + // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment + public Class bindISerializer() { + return org.eclipse.xtext.serializer.impl.Serializer.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindIParser() { + return org.eclipse.sirius.expression.text.parser.antlr.ExpressionTextParser.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindITokenToStringConverter() { + return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindIAntlrTokenFileProvider() { + return org.eclipse.sirius.expression.text.parser.antlr.ExpressionTextAntlrTokenFileProvider.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindLexer() { + return org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextLexer.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public com.google.inject.Provider provideInternalExpressionTextLexer() { + return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextLexer.class); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public void configureRuntimeLexer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextLexer.class); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class bindITokenDefProvider() { + return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class; + } + + // contributed by org.eclipse.xtext.generator.validation.ValidatorFragment + @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class bindExpressionTextValidator() { + return org.eclipse.sirius.expression.text.validation.ExpressionTextValidator.class; + } + + // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment + public Class bindIScopeProvider() { + return org.eclipse.sirius.expression.text.scoping.ExpressionTextScopeProvider.class; + } + + // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment + public void configureIScopeProviderDelegate(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.class); + } + + // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment + public void configureIgnoreCaseLinking(com.google.inject.Binder binder) { + binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false); + } + + // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment + public Class bindIQualifiedNameProvider() { + return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class bindIContainer$Manager() { + return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class bindIAllContainersState$Provider() { + return org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptions(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); + } + + // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment + public Class bindIGenerator() { + return org.eclipse.sirius.expression.text.generator.ExpressionTextGenerator.class; + } + + // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment + public Class bindIFormatter() { + return org.eclipse.sirius.expression.text.formatting.ExpressionTextFormatter.class; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class bindIGlobalScopeProvider() { + return org.eclipse.xtext.common.types.xtext.TypesAwareDefaultGlobalScopeProvider.class; + } + +} diff --git a/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin new file mode 100644 index 000000000..85d43bcce Binary files /dev/null and b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionText.xtextbin differ diff --git a/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetupGenerated.java b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetupGenerated.java new file mode 100644 index 000000000..e55a31b23 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetupGenerated.java @@ -0,0 +1,53 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text; + +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.xtext.ISetup; + +import com.google.inject.Guice; +import com.google.inject.Injector; + +/** + * Generated from StandaloneSetup.xpt! + */ +@SuppressWarnings("all") +public class ExpressionTextStandaloneSetupGenerated implements ISetup { + + @Override + public Injector createInjectorAndDoEMFRegistration() { + // register default ePackages + if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("ecore")) + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( + "ecore", new org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl()); + if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("xmi")) + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( + "xmi", new org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl()); + if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("xtextbin")) + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( + "xtextbin", new org.eclipse.xtext.resource.impl.BinaryGrammarResourceFactoryImpl()); + if (!EPackage.Registry.INSTANCE.containsKey(org.eclipse.xtext.XtextPackage.eNS_URI)) + EPackage.Registry.INSTANCE.put(org.eclipse.xtext.XtextPackage.eNS_URI, org.eclipse.xtext.XtextPackage.eINSTANCE); + + Injector injector = createInjector(); + register(injector); + return injector; + } + + public Injector createInjector() { + return Guice.createInjector(new org.eclipse.sirius.expression.text.ExpressionTextRuntimeModule()); + } + + public void register(Injector injector) { + + org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); + org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("expression", resourceFactory); + org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("expression", serviceProvider); + + + + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextAntlrTokenFileProvider.java b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextAntlrTokenFileProvider.java new file mode 100644 index 000000000..8f810fa27 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextAntlrTokenFileProvider.java @@ -0,0 +1,16 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.parser.antlr; + +import java.io.InputStream; +import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; + +public class ExpressionTextAntlrTokenFileProvider implements IAntlrTokenFileProvider { + + @Override + public InputStream getAntlrTokenFile() { + ClassLoader classLoader = getClass().getClassLoader(); + return classLoader.getResourceAsStream("org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens"); + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextParser.java b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextParser.java new file mode 100644 index 000000000..3d7d0c38a --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/ExpressionTextParser.java @@ -0,0 +1,39 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.parser.antlr; + +import com.google.inject.Inject; + +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; + +public class ExpressionTextParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { + + @Inject + private ExpressionTextGrammarAccess grammarAccess; + + @Override + protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { + tokenStream.setInitialHiddenTokens("RULE_WS"); + } + + @Override + protected org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextParser createParser(XtextTokenStream stream) { + return new org.eclipse.sirius.expression.text.parser.antlr.internal.InternalExpressionTextParser(stream, getGrammarAccess()); + } + + @Override + protected String getDefaultRuleName() { + return "SiriusExpressionPackage"; + } + + public ExpressionTextGrammarAccess getGrammarAccess() { + return this.grammarAccess; + } + + public void setGrammarAccess(ExpressionTextGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + +} diff --git a/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g new file mode 100644 index 000000000..04d74716e --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.g @@ -0,0 +1,639 @@ +/* + * generated by Xtext + */ +grammar InternalExpressionText; + +options { + superClass=AbstractInternalAntlrParser; + +} + +@lexer::header { +package org.eclipse.sirius.expression.text.parser.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.parser.antlr.Lexer; +} + +@parser::header { +package org.eclipse.sirius.expression.text.parser.antlr.internal; + +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; +import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; + +} + +@parser::members { + + private ExpressionTextGrammarAccess grammarAccess; + + public InternalExpressionTextParser(TokenStream input, ExpressionTextGrammarAccess grammarAccess) { + this(input); + this.grammarAccess = grammarAccess; + registerRules(grammarAccess.getGrammar()); + } + + @Override + protected String getFirstRuleName() { + return "SiriusExpressionPackage"; + } + + @Override + protected ExpressionTextGrammarAccess getGrammarAccess() { + return grammarAccess; + } +} + +@rulecatch { + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } +} + + + + +// Entry rule entryRuleSiriusExpressionPackage +entryRuleSiriusExpressionPackage returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSiriusExpressionPackageRule()); } + iv_ruleSiriusExpressionPackage=ruleSiriusExpressionPackage + { $current=$iv_ruleSiriusExpressionPackage.current; } + EOF +; + +// Rule SiriusExpressionPackage +ruleSiriusExpressionPackage returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='package' + { + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionPackageRule()); + } + } + otherlv_1=RULE_ID + { + newLeafNode(otherlv_1, grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); + } + +) +) otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); + } +( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); + } + lv_expressionClasses_3_0=ruleSiriusExpressionClass { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionPackageRule()); + } + add( + $current, + "expressionClasses", + lv_expressionClasses_3_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionClass"); + afterParserOrEnumRuleCall(); + } + +) +)* otherlv_4='}' + { + newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); + } +) +; + + + + + +// Entry rule entryRuleSiriusExpressionClass +entryRuleSiriusExpressionClass returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSiriusExpressionClassRule()); } + iv_ruleSiriusExpressionClass=ruleSiriusExpressionClass + { $current=$iv_ruleSiriusExpressionClass.current; } + EOF +; + +// Rule SiriusExpressionClass +ruleSiriusExpressionClass returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='class' + { + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionClassRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); + } +( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); + } + lv_variables_3_0=ruleSiriusVariable { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); + } + add( + $current, + "variables", + lv_variables_3_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusVariable"); + afterParserOrEnumRuleCall(); + } + +) +)*( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); + } + lv_expressionDescriptions_4_0=ruleSiriusExpressionDescription { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); + } + add( + $current, + "expressionDescriptions", + lv_expressionDescriptions_4_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionDescription"); + afterParserOrEnumRuleCall(); + } + +) +)* otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); + } +) +; + + + + + +// Entry rule entryRuleFQN +entryRuleFQN returns [String current=null] + : + { newCompositeNode(grammarAccess.getFQNRule()); } + iv_ruleFQN=ruleFQN + { $current=$iv_ruleFQN.current.getText(); } + EOF +; + +// Rule FQN +ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( this_ID_0=RULE_ID { + $current.merge(this_ID_0); + } + + { + newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); + } +( + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); + } + this_ID_2=RULE_ID { + $current.merge(this_ID_2); + } + + { + newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); + } +)*) + ; + + + + + +// Entry rule entryRuleSiriusVariable +entryRuleSiriusVariable returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSiriusVariableRule()); } + iv_ruleSiriusVariable=ruleSiriusVariable + { $current=$iv_ruleSiriusVariable.current; } + EOF +; + +// Rule SiriusVariable +ruleSiriusVariable returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( +( + lv_documentation_0_0=RULE_ML_COMMENT + { + newLeafNode(lv_documentation_0_0, grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + setWithLastConsumed( + $current, + "documentation", + lv_documentation_0_0, + "org.eclipse.sirius.expression.text.ExpressionText.ML_COMMENT"); + } + +) +)? otherlv_1='var' + { + newLeafNode(otherlv_1, grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); + } +( +( + lv_name_2_0=RULE_ID + { + newLeafNode(lv_name_2_0, grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_2_0, + "org.eclipse.sirius.expression.text.ExpressionText.ID"); + } + +) +) otherlv_3=':' + { + newLeafNode(otherlv_3, grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleSiriusExpressionDescription +entryRuleSiriusExpressionDescription returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSiriusExpressionDescriptionRule()); } + iv_ruleSiriusExpressionDescription=ruleSiriusExpressionDescription + { $current=$iv_ruleSiriusExpressionDescription.current; } + EOF +; + +// Rule SiriusExpressionDescription +ruleSiriusExpressionDescription returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='exp' + { + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='(' + { + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); + } +(( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); + } + lv_parameters_3_0=ruleSiriusParameter { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + add( + $current, + "parameters", + lv_parameters_3_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusParameter"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_4=',' + { + newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); + } + lv_parameters_5_0=ruleSiriusParameter { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + add( + $current, + "parameters", + lv_parameters_5_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusParameter"); + afterParserOrEnumRuleCall(); + } + +) +))*)? otherlv_6=')' + { + newLeafNode(otherlv_6, grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); + } + otherlv_7=':' + { + newLeafNode(otherlv_7, grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +) otherlv_9='[' + { + newLeafNode(otherlv_9, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); + } +( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); + } + lv_lowerBound_10_0=ruleBound { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + set( + $current, + "lowerBound", + lv_lowerBound_10_0, + "org.eclipse.sirius.expression.text.ExpressionText.Bound"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_11='..' + { + newLeafNode(otherlv_11, grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); + } +( +( + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); + } + lv_upperBound_12_0=ruleBound { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + set( + $current, + "upperBound", + lv_upperBound_12_0, + "org.eclipse.sirius.expression.text.ExpressionText.Bound"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_13=']' + { + newLeafNode(otherlv_13, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); + } + otherlv_14='{' + { + newLeafNode(otherlv_14, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); + } + otherlv_15='userDefinedVariableContainers' + { + newLeafNode(otherlv_15, grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); + } + otherlv_16='=' + { + newLeafNode(otherlv_16, grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); + } + otherlv_17='[' + { + newLeafNode(otherlv_17, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); + } +(( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_19=',' + { + newLeafNode(otherlv_19, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + } + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); + } + ruleFQN { + afterParserOrEnumRuleCall(); + } + +) +))*)? otherlv_21=']' + { + newLeafNode(otherlv_21, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); + } + otherlv_22='}' + { + newLeafNode(otherlv_22, grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); + } +) +; + + + + + +// Entry rule entryRuleSiriusParameter +entryRuleSiriusParameter returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSiriusParameterRule()); } + iv_ruleSiriusParameter=ruleSiriusParameter + { $current=$iv_ruleSiriusParameter.current; } + EOF +; + +// Rule SiriusParameter +ruleSiriusParameter returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( +( + lv_optional_0_0= 'optional' + { + newLeafNode(lv_optional_0_0, grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusParameterRule()); + } + setWithLastConsumed($current, "optional", true, "optional"); + } + +) +)?( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSiriusParameterRule()); + } + } + otherlv_1=RULE_ID + { + newLeafNode(otherlv_1, grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); + } + +) +)) +; + + + + + +// Entry rule entryRuleBound +entryRuleBound returns [String current=null] + : + { newCompositeNode(grammarAccess.getBoundRule()); } + iv_ruleBound=ruleBound + { $current=$iv_ruleBound.current.getText(); } + EOF +; + +// Rule Bound +ruleBound returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + kw='-' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); + } +)? this_INT_1=RULE_INT { + $current.merge(this_INT_1); + } + + { + newLeafNode(this_INT_1, grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); + } +) + ; + + + + + +RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; + +RULE_INT : ('0'..'9')+; + +RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; + +RULE_WS : (' '|'\t'|'\r'|'\n')+; + + diff --git a/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens new file mode 100644 index 000000000..6d9fa6e4b --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionText.tokens @@ -0,0 +1,40 @@ +'('=16 +')'=18 +','=17 +'-'=25 +'.'=12 +'..'=20 +':'=14 +'='=23 +'['=19 +']'=21 +'class'=11 +'exp'=15 +'optional'=24 +'package'=8 +'userDefinedVariableContainers'=22 +'var'=13 +'{'=9 +'}'=10 +RULE_ID=4 +RULE_INT=6 +RULE_ML_COMMENT=5 +RULE_WS=7 +T__10=10 +T__11=11 +T__12=12 +T__13=13 +T__14=14 +T__15=15 +T__16=16 +T__17=17 +T__18=18 +T__19=19 +T__20=20 +T__21=21 +T__22=22 +T__23=23 +T__24=24 +T__25=25 +T__8=8 +T__9=9 diff --git a/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java new file mode 100644 index 000000000..b9c87c9a9 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/parser/antlr/internal/InternalExpressionTextLexer.java @@ -0,0 +1,959 @@ +package org.eclipse.sirius.expression.text.parser.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.parser.antlr.Lexer; + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalExpressionTextLexer extends Lexer { + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int EOF=-1; + public static final int T__10=10; + public static final int T__9=9; + public static final int T__8=8; + public static final int RULE_ID=4; + public static final int RULE_WS=7; + public static final int RULE_INT=6; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=5; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + + // delegates + // delegators + + public InternalExpressionTextLexer() {;} + public InternalExpressionTextLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + public InternalExpressionTextLexer(CharStream input, RecognizerSharedState state) { + super(input,state); + + } + public String getGrammarFileName() { return "InternalExpressionText.g"; } + + // $ANTLR start "T__8" + public final void mT__8() throws RecognitionException { + try { + int _type = T__8; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:11:6: ( 'package' ) + // InternalExpressionText.g:11:8: 'package' + { + match("package"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__8" + + // $ANTLR start "T__9" + public final void mT__9() throws RecognitionException { + try { + int _type = T__9; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:12:6: ( '{' ) + // InternalExpressionText.g:12:8: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__9" + + // $ANTLR start "T__10" + public final void mT__10() throws RecognitionException { + try { + int _type = T__10; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:13:7: ( '}' ) + // InternalExpressionText.g:13:9: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__10" + + // $ANTLR start "T__11" + public final void mT__11() throws RecognitionException { + try { + int _type = T__11; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:14:7: ( 'class' ) + // InternalExpressionText.g:14:9: 'class' + { + match("class"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__11" + + // $ANTLR start "T__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:15:7: ( '.' ) + // InternalExpressionText.g:15:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__12" + + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { + try { + int _type = T__13; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:16:7: ( 'var' ) + // InternalExpressionText.g:16:9: 'var' + { + match("var"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:17:7: ( ':' ) + // InternalExpressionText.g:17:9: ':' + { + match(':'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:18:7: ( 'exp' ) + // InternalExpressionText.g:18:9: 'exp' + { + match("exp"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:19:7: ( '(' ) + // InternalExpressionText.g:19:9: '(' + { + match('('); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:20:7: ( ',' ) + // InternalExpressionText.g:20:9: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:21:7: ( ')' ) + // InternalExpressionText.g:21:9: ')' + { + match(')'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:22:7: ( '[' ) + // InternalExpressionText.g:22:9: '[' + { + match('['); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:23:7: ( '..' ) + // InternalExpressionText.g:23:9: '..' + { + match(".."); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:24:7: ( ']' ) + // InternalExpressionText.g:24:9: ']' + { + match(']'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:25:7: ( 'userDefinedVariableContainers' ) + // InternalExpressionText.g:25:9: 'userDefinedVariableContainers' + { + match("userDefinedVariableContainers"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:26:7: ( '=' ) + // InternalExpressionText.g:26:9: '=' + { + match('='); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:27:7: ( 'optional' ) + // InternalExpressionText.g:27:9: 'optional' + { + match("optional"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:28:7: ( '-' ) + // InternalExpressionText.g:28:9: '-' + { + match('-'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__25" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:631:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalExpressionText.g:631:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // InternalExpressionText.g:631:11: ( '^' )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='^') ) { + alt1=1; + } + switch (alt1) { + case 1 : + // InternalExpressionText.g:631:11: '^' + { + match('^'); + + } + break; + + } + + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // InternalExpressionText.g:631:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalExpressionText.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop2; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:633:10: ( ( '0' .. '9' )+ ) + // InternalExpressionText.g:633:12: ( '0' .. '9' )+ + { + // InternalExpressionText.g:633:12: ( '0' .. '9' )+ + int cnt3=0; + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( ((LA3_0>='0' && LA3_0<='9')) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalExpressionText.g:633:13: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt3 >= 1 ) break loop3; + EarlyExitException eee = + new EarlyExitException(3, input); + throw eee; + } + cnt3++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_INT" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:635:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalExpressionText.g:635:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // InternalExpressionText.g:635:24: ( options {greedy=false; } : . )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0=='*') ) { + int LA4_1 = input.LA(2); + + if ( (LA4_1=='/') ) { + alt4=2; + } + else if ( ((LA4_1>='\u0000' && LA4_1<='.')||(LA4_1>='0' && LA4_1<='\uFFFF')) ) { + alt4=1; + } + + + } + else if ( ((LA4_0>='\u0000' && LA4_0<=')')||(LA4_0>='+' && LA4_0<='\uFFFF')) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalExpressionText.g:635:52: . + { + matchAny(); + + } + break; + + default : + break loop4; + } + } while (true); + + match("*/"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_WS" + public final void mRULE_WS() throws RecognitionException { + try { + int _type = RULE_WS; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalExpressionText.g:637:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalExpressionText.g:637:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // InternalExpressionText.g:637:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt5=0; + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( ((LA5_0>='\t' && LA5_0<='\n')||LA5_0=='\r'||LA5_0==' ') ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalExpressionText.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt5 >= 1 ) break loop5; + EarlyExitException eee = + new EarlyExitException(5, input); + throw eee; + } + cnt5++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + public void mTokens() throws RecognitionException { + // InternalExpressionText.g:1:8: ( T__8 | T__9 | T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS ) + int alt6=22; + alt6 = dfa6.predict(input); + switch (alt6) { + case 1 : + // InternalExpressionText.g:1:10: T__8 + { + mT__8(); + + } + break; + case 2 : + // InternalExpressionText.g:1:15: T__9 + { + mT__9(); + + } + break; + case 3 : + // InternalExpressionText.g:1:20: T__10 + { + mT__10(); + + } + break; + case 4 : + // InternalExpressionText.g:1:26: T__11 + { + mT__11(); + + } + break; + case 5 : + // InternalExpressionText.g:1:32: T__12 + { + mT__12(); + + } + break; + case 6 : + // InternalExpressionText.g:1:38: T__13 + { + mT__13(); + + } + break; + case 7 : + // InternalExpressionText.g:1:44: T__14 + { + mT__14(); + + } + break; + case 8 : + // InternalExpressionText.g:1:50: T__15 + { + mT__15(); + + } + break; + case 9 : + // InternalExpressionText.g:1:56: T__16 + { + mT__16(); + + } + break; + case 10 : + // InternalExpressionText.g:1:62: T__17 + { + mT__17(); + + } + break; + case 11 : + // InternalExpressionText.g:1:68: T__18 + { + mT__18(); + + } + break; + case 12 : + // InternalExpressionText.g:1:74: T__19 + { + mT__19(); + + } + break; + case 13 : + // InternalExpressionText.g:1:80: T__20 + { + mT__20(); + + } + break; + case 14 : + // InternalExpressionText.g:1:86: T__21 + { + mT__21(); + + } + break; + case 15 : + // InternalExpressionText.g:1:92: T__22 + { + mT__22(); + + } + break; + case 16 : + // InternalExpressionText.g:1:98: T__23 + { + mT__23(); + + } + break; + case 17 : + // InternalExpressionText.g:1:104: T__24 + { + mT__24(); + + } + break; + case 18 : + // InternalExpressionText.g:1:110: T__25 + { + mT__25(); + + } + break; + case 19 : + // InternalExpressionText.g:1:116: RULE_ID + { + mRULE_ID(); + + } + break; + case 20 : + // InternalExpressionText.g:1:124: RULE_INT + { + mRULE_INT(); + + } + break; + case 21 : + // InternalExpressionText.g:1:133: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 22 : + // InternalExpressionText.g:1:149: RULE_WS + { + mRULE_WS(); + + } + break; + + } + + } + + + protected DFA6 dfa6 = new DFA6(this); + static final String DFA6_eotS = + "\1\uffff\1\22\2\uffff\1\22\1\31\1\22\1\uffff\1\22\5\uffff\1\22\1\uffff\1\22\5\uffff\2\22\2\uffff\6\22\1\46\1\47\4\22\2\uffff\3\22\1\57\3\22\1\uffff\2\22\1\65\2\22\1\uffff\1\22\1\71\1\22\1\uffff\23\22\1\116\1\uffff"; + static final String DFA6_eofS = + "\117\uffff"; + static final String DFA6_minS = + "\1\11\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\5\uffff\1\163\1\uffff\1\160\5\uffff\1\143\1\141\2\uffff\1\162\1\160\1\145\1\164\1\153\1\163\2\60\1\162\1\151\1\141\1\163\2\uffff\1\104\1\157\1\147\1\60\1\145\1\156\1\145\1\uffff\1\146\1\141\1\60\1\151\1\154\1\uffff\1\156\1\60\1\145\1\uffff\1\144\1\126\1\141\1\162\1\151\1\141\1\142\1\154\1\145\1\103\1\157\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\60\1\uffff"; + static final String DFA6_maxS = + "\1\175\1\141\2\uffff\1\154\1\56\1\141\1\uffff\1\170\5\uffff\1\163\1\uffff\1\160\5\uffff\1\143\1\141\2\uffff\1\162\1\160\1\145\1\164\1\153\1\163\2\172\1\162\1\151\1\141\1\163\2\uffff\1\104\1\157\1\147\1\172\1\145\1\156\1\145\1\uffff\1\146\1\141\1\172\1\151\1\154\1\uffff\1\156\1\172\1\145\1\uffff\1\144\1\126\1\141\1\162\1\151\1\141\1\142\1\154\1\145\1\103\1\157\1\156\1\164\1\141\1\151\1\156\1\145\1\162\1\163\1\172\1\uffff"; + static final String DFA6_acceptS = + "\2\uffff\1\2\1\3\3\uffff\1\7\1\uffff\1\11\1\12\1\13\1\14\1\16\1\uffff\1\20\1\uffff\1\22\1\23\1\24\1\25\1\26\2\uffff\1\15\1\5\14\uffff\1\6\1\10\7\uffff\1\4\5\uffff\1\1\3\uffff\1\21\24\uffff\1\17"; + static final String DFA6_specialS = + "\117\uffff}>"; + static final String[] DFA6_transitionS = { + "\2\25\2\uffff\1\25\22\uffff\1\25\7\uffff\1\11\1\13\2\uffff\1\12\1\21\1\5\1\24\12\23\1\7\2\uffff\1\17\3\uffff\32\22\1\14\1\uffff\1\15\2\22\1\uffff\2\22\1\4\1\22\1\10\11\22\1\20\1\1\4\22\1\16\1\6\4\22\1\2\1\uffff\1\3", + "\1\26", + "", + "", + "\1\27", + "\1\30", + "\1\32", + "", + "\1\33", + "", + "", + "", + "", + "", + "\1\34", + "", + "\1\35", + "", + "", + "", + "", + "", + "\1\36", + "\1\37", + "", + "", + "\1\40", + "\1\41", + "\1\42", + "\1\43", + "\1\44", + "\1\45", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "\1\50", + "\1\51", + "\1\52", + "\1\53", + "", + "", + "\1\54", + "\1\55", + "\1\56", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "\1\60", + "\1\61", + "\1\62", + "", + "\1\63", + "\1\64", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "\1\66", + "\1\67", + "", + "\1\70", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "\1\72", + "", + "\1\73", + "\1\74", + "\1\75", + "\1\76", + "\1\77", + "\1\100", + "\1\101", + "\1\102", + "\1\103", + "\1\104", + "\1\105", + "\1\106", + "\1\107", + "\1\110", + "\1\111", + "\1\112", + "\1\113", + "\1\114", + "\1\115", + "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22", + "" + }; + + static final short[] DFA6_eot = DFA.unpackEncodedString(DFA6_eotS); + static final short[] DFA6_eof = DFA.unpackEncodedString(DFA6_eofS); + static final char[] DFA6_min = DFA.unpackEncodedStringToUnsignedChars(DFA6_minS); + static final char[] DFA6_max = DFA.unpackEncodedStringToUnsignedChars(DFA6_maxS); + static final short[] DFA6_accept = DFA.unpackEncodedString(DFA6_acceptS); + static final short[] DFA6_special = DFA.unpackEncodedString(DFA6_specialS); + static final short[][] DFA6_transition; + + static { + int numStates = DFA6_transitionS.length; + DFA6_transition = new short[numStates][]; + for (int i=0; i", "", "", "", "RULE_ID", "RULE_ML_COMMENT", "RULE_INT", "RULE_WS", "'package'", "'{'", "'}'", "'class'", "'.'", "'var'", "':'", "'exp'", "'('", "','", "')'", "'['", "'..'", "']'", "'userDefinedVariableContainers'", "'='", "'optional'", "'-'" + }; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int EOF=-1; + public static final int T__10=10; + public static final int T__9=9; + public static final int T__8=8; + public static final int RULE_ID=4; + public static final int RULE_WS=7; + public static final int RULE_INT=6; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=5; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + + // delegates + // delegators + + + public InternalExpressionTextParser(TokenStream input) { + this(input, new RecognizerSharedState()); + } + public InternalExpressionTextParser(TokenStream input, RecognizerSharedState state) { + super(input, state); + + } + + + public String[] getTokenNames() { return InternalExpressionTextParser.tokenNames; } + public String getGrammarFileName() { return "InternalExpressionText.g"; } + + + + private ExpressionTextGrammarAccess grammarAccess; + + public InternalExpressionTextParser(TokenStream input, ExpressionTextGrammarAccess grammarAccess) { + this(input); + this.grammarAccess = grammarAccess; + registerRules(grammarAccess.getGrammar()); + } + + @Override + protected String getFirstRuleName() { + return "SiriusExpressionPackage"; + } + + @Override + protected ExpressionTextGrammarAccess getGrammarAccess() { + return grammarAccess; + } + + + + // $ANTLR start "entryRuleSiriusExpressionPackage" + // InternalExpressionText.g:67:1: entryRuleSiriusExpressionPackage returns [EObject current=null] : iv_ruleSiriusExpressionPackage= ruleSiriusExpressionPackage EOF ; + public final EObject entryRuleSiriusExpressionPackage() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSiriusExpressionPackage = null; + + + try { + // InternalExpressionText.g:68:2: (iv_ruleSiriusExpressionPackage= ruleSiriusExpressionPackage EOF ) + // InternalExpressionText.g:69:2: iv_ruleSiriusExpressionPackage= ruleSiriusExpressionPackage EOF + { + newCompositeNode(grammarAccess.getSiriusExpressionPackageRule()); + pushFollow(FOLLOW_1); + iv_ruleSiriusExpressionPackage=ruleSiriusExpressionPackage(); + + state._fsp--; + + current =iv_ruleSiriusExpressionPackage; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSiriusExpressionPackage" + + + // $ANTLR start "ruleSiriusExpressionPackage" + // InternalExpressionText.g:76:1: ruleSiriusExpressionPackage returns [EObject current=null] : (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) ; + public final EObject ruleSiriusExpressionPackage() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + Token otherlv_2=null; + Token otherlv_4=null; + EObject lv_expressionClasses_3_0 = null; + + + enterRule(); + + try { + // InternalExpressionText.g:79:28: ( (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) ) + // InternalExpressionText.g:80:1: (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) + { + // InternalExpressionText.g:80:1: (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' ) + // InternalExpressionText.g:80:3: otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* otherlv_4= '}' + { + otherlv_0=(Token)match(input,8,FOLLOW_3); + + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionPackageAccess().getPackageKeyword_0()); + + // InternalExpressionText.g:84:1: ( (otherlv_1= RULE_ID ) ) + // InternalExpressionText.g:85:1: (otherlv_1= RULE_ID ) + { + // InternalExpressionText.g:85:1: (otherlv_1= RULE_ID ) + // InternalExpressionText.g:86:3: otherlv_1= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionPackageRule()); + } + + otherlv_1=(Token)match(input,RULE_ID,FOLLOW_4); + + newLeafNode(otherlv_1, grammarAccess.getSiriusExpressionPackageAccess().getEPackageEPackageCrossReference_1_0()); + + + } + + + } + + otherlv_2=(Token)match(input,9,FOLLOW_5); + + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionPackageAccess().getLeftCurlyBracketKeyword_2()); + + // InternalExpressionText.g:101:1: ( (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) )* + loop1: + do { + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0==11) ) { + alt1=1; + } + + + switch (alt1) { + case 1 : + // InternalExpressionText.g:102:1: (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) + { + // InternalExpressionText.g:102:1: (lv_expressionClasses_3_0= ruleSiriusExpressionClass ) + // InternalExpressionText.g:103:3: lv_expressionClasses_3_0= ruleSiriusExpressionClass + { + + newCompositeNode(grammarAccess.getSiriusExpressionPackageAccess().getExpressionClassesSiriusExpressionClassParserRuleCall_3_0()); + + pushFollow(FOLLOW_5); + lv_expressionClasses_3_0=ruleSiriusExpressionClass(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionPackageRule()); + } + add( + current, + "expressionClasses", + lv_expressionClasses_3_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionClass"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + break loop1; + } + } while (true); + + otherlv_4=(Token)match(input,10,FOLLOW_2); + + newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionPackageAccess().getRightCurlyBracketKeyword_4()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSiriusExpressionPackage" + + + // $ANTLR start "entryRuleSiriusExpressionClass" + // InternalExpressionText.g:131:1: entryRuleSiriusExpressionClass returns [EObject current=null] : iv_ruleSiriusExpressionClass= ruleSiriusExpressionClass EOF ; + public final EObject entryRuleSiriusExpressionClass() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSiriusExpressionClass = null; + + + try { + // InternalExpressionText.g:132:2: (iv_ruleSiriusExpressionClass= ruleSiriusExpressionClass EOF ) + // InternalExpressionText.g:133:2: iv_ruleSiriusExpressionClass= ruleSiriusExpressionClass EOF + { + newCompositeNode(grammarAccess.getSiriusExpressionClassRule()); + pushFollow(FOLLOW_1); + iv_ruleSiriusExpressionClass=ruleSiriusExpressionClass(); + + state._fsp--; + + current =iv_ruleSiriusExpressionClass; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSiriusExpressionClass" + + + // $ANTLR start "ruleSiriusExpressionClass" + // InternalExpressionText.g:140:1: ruleSiriusExpressionClass returns [EObject current=null] : (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) ; + public final EObject ruleSiriusExpressionClass() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_5=null; + EObject lv_variables_3_0 = null; + + EObject lv_expressionDescriptions_4_0 = null; + + + enterRule(); + + try { + // InternalExpressionText.g:143:28: ( (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) ) + // InternalExpressionText.g:144:1: (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) + { + // InternalExpressionText.g:144:1: (otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' ) + // InternalExpressionText.g:144:3: otherlv_0= 'class' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_variables_3_0= ruleSiriusVariable ) )* ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* otherlv_5= '}' + { + otherlv_0=(Token)match(input,11,FOLLOW_3); + + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionClassAccess().getClassKeyword_0()); + + // InternalExpressionText.g:148:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:149:1: ( ruleFQN ) + { + // InternalExpressionText.g:149:1: ( ruleFQN ) + // InternalExpressionText.g:150:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionClassRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getEClassEClassCrossReference_1_0()); + + pushFollow(FOLLOW_4); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,9,FOLLOW_6); + + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionClassAccess().getLeftCurlyBracketKeyword_2()); + + // InternalExpressionText.g:167:1: ( (lv_variables_3_0= ruleSiriusVariable ) )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0==RULE_ML_COMMENT||LA2_0==13) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalExpressionText.g:168:1: (lv_variables_3_0= ruleSiriusVariable ) + { + // InternalExpressionText.g:168:1: (lv_variables_3_0= ruleSiriusVariable ) + // InternalExpressionText.g:169:3: lv_variables_3_0= ruleSiriusVariable + { + + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getVariablesSiriusVariableParserRuleCall_3_0()); + + pushFollow(FOLLOW_6); + lv_variables_3_0=ruleSiriusVariable(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); + } + add( + current, + "variables", + lv_variables_3_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusVariable"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + break loop2; + } + } while (true); + + // InternalExpressionText.g:185:3: ( (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) )* + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0==15) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalExpressionText.g:186:1: (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) + { + // InternalExpressionText.g:186:1: (lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription ) + // InternalExpressionText.g:187:3: lv_expressionDescriptions_4_0= ruleSiriusExpressionDescription + { + + newCompositeNode(grammarAccess.getSiriusExpressionClassAccess().getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0()); + + pushFollow(FOLLOW_7); + lv_expressionDescriptions_4_0=ruleSiriusExpressionDescription(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionClassRule()); + } + add( + current, + "expressionDescriptions", + lv_expressionDescriptions_4_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionDescription"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + break loop3; + } + } while (true); + + otherlv_5=(Token)match(input,10,FOLLOW_2); + + newLeafNode(otherlv_5, grammarAccess.getSiriusExpressionClassAccess().getRightCurlyBracketKeyword_5()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSiriusExpressionClass" + + + // $ANTLR start "entryRuleFQN" + // InternalExpressionText.g:215:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; + public final String entryRuleFQN() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleFQN = null; + + + try { + // InternalExpressionText.g:216:2: (iv_ruleFQN= ruleFQN EOF ) + // InternalExpressionText.g:217:2: iv_ruleFQN= ruleFQN EOF + { + newCompositeNode(grammarAccess.getFQNRule()); + pushFollow(FOLLOW_1); + iv_ruleFQN=ruleFQN(); + + state._fsp--; + + current =iv_ruleFQN.getText(); + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleFQN" + + + // $ANTLR start "ruleFQN" + // InternalExpressionText.g:224:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; + public final AntlrDatatypeRuleToken ruleFQN() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_ID_0=null; + Token kw=null; + Token this_ID_2=null; + + enterRule(); + + try { + // InternalExpressionText.g:227:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) + // InternalExpressionText.g:228:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + { + // InternalExpressionText.g:228:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + // InternalExpressionText.g:228:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* + { + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_8); + + current.merge(this_ID_0); + + + newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); + + // InternalExpressionText.g:235:1: (kw= '.' this_ID_2= RULE_ID )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==12) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalExpressionText.g:236:2: kw= '.' this_ID_2= RULE_ID + { + kw=(Token)match(input,12,FOLLOW_3); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); + + this_ID_2=(Token)match(input,RULE_ID,FOLLOW_8); + + current.merge(this_ID_2); + + + newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); + + + } + break; + + default : + break loop4; + } + } while (true); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleFQN" + + + // $ANTLR start "entryRuleSiriusVariable" + // InternalExpressionText.g:256:1: entryRuleSiriusVariable returns [EObject current=null] : iv_ruleSiriusVariable= ruleSiriusVariable EOF ; + public final EObject entryRuleSiriusVariable() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSiriusVariable = null; + + + try { + // InternalExpressionText.g:257:2: (iv_ruleSiriusVariable= ruleSiriusVariable EOF ) + // InternalExpressionText.g:258:2: iv_ruleSiriusVariable= ruleSiriusVariable EOF + { + newCompositeNode(grammarAccess.getSiriusVariableRule()); + pushFollow(FOLLOW_1); + iv_ruleSiriusVariable=ruleSiriusVariable(); + + state._fsp--; + + current =iv_ruleSiriusVariable; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSiriusVariable" + + + // $ANTLR start "ruleSiriusVariable" + // InternalExpressionText.g:265:1: ruleSiriusVariable returns [EObject current=null] : ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) ; + public final EObject ruleSiriusVariable() throws RecognitionException { + EObject current = null; + + Token lv_documentation_0_0=null; + Token otherlv_1=null; + Token lv_name_2_0=null; + Token otherlv_3=null; + + enterRule(); + + try { + // InternalExpressionText.g:268:28: ( ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) ) + // InternalExpressionText.g:269:1: ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) + { + // InternalExpressionText.g:269:1: ( ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) ) + // InternalExpressionText.g:269:2: ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? otherlv_1= 'var' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( ruleFQN ) ) + { + // InternalExpressionText.g:269:2: ( (lv_documentation_0_0= RULE_ML_COMMENT ) )? + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==RULE_ML_COMMENT) ) { + alt5=1; + } + switch (alt5) { + case 1 : + // InternalExpressionText.g:270:1: (lv_documentation_0_0= RULE_ML_COMMENT ) + { + // InternalExpressionText.g:270:1: (lv_documentation_0_0= RULE_ML_COMMENT ) + // InternalExpressionText.g:271:3: lv_documentation_0_0= RULE_ML_COMMENT + { + lv_documentation_0_0=(Token)match(input,RULE_ML_COMMENT,FOLLOW_9); + + newLeafNode(lv_documentation_0_0, grammarAccess.getSiriusVariableAccess().getDocumentationML_COMMENTTerminalRuleCall_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + setWithLastConsumed( + current, + "documentation", + lv_documentation_0_0, + "org.eclipse.sirius.expression.text.ExpressionText.ML_COMMENT"); + + + } + + + } + break; + + } + + otherlv_1=(Token)match(input,13,FOLLOW_3); + + newLeafNode(otherlv_1, grammarAccess.getSiriusVariableAccess().getVarKeyword_1()); + + // InternalExpressionText.g:291:1: ( (lv_name_2_0= RULE_ID ) ) + // InternalExpressionText.g:292:1: (lv_name_2_0= RULE_ID ) + { + // InternalExpressionText.g:292:1: (lv_name_2_0= RULE_ID ) + // InternalExpressionText.g:293:3: lv_name_2_0= RULE_ID + { + lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_10); + + newLeafNode(lv_name_2_0, grammarAccess.getSiriusVariableAccess().getNameIDTerminalRuleCall_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_2_0, + "org.eclipse.sirius.expression.text.ExpressionText.ID"); + + + } + + + } + + otherlv_3=(Token)match(input,14,FOLLOW_3); + + newLeafNode(otherlv_3, grammarAccess.getSiriusVariableAccess().getColonKeyword_3()); + + // InternalExpressionText.g:313:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:314:1: ( ruleFQN ) + { + // InternalExpressionText.g:314:1: ( ruleFQN ) + // InternalExpressionText.g:315:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusVariableRule()); + } + + + newCompositeNode(grammarAccess.getSiriusVariableAccess().getETypeEClassifierCrossReference_4_0()); + + pushFollow(FOLLOW_2); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSiriusVariable" + + + // $ANTLR start "entryRuleSiriusExpressionDescription" + // InternalExpressionText.g:336:1: entryRuleSiriusExpressionDescription returns [EObject current=null] : iv_ruleSiriusExpressionDescription= ruleSiriusExpressionDescription EOF ; + public final EObject entryRuleSiriusExpressionDescription() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSiriusExpressionDescription = null; + + + try { + // InternalExpressionText.g:337:2: (iv_ruleSiriusExpressionDescription= ruleSiriusExpressionDescription EOF ) + // InternalExpressionText.g:338:2: iv_ruleSiriusExpressionDescription= ruleSiriusExpressionDescription EOF + { + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionRule()); + pushFollow(FOLLOW_1); + iv_ruleSiriusExpressionDescription=ruleSiriusExpressionDescription(); + + state._fsp--; + + current =iv_ruleSiriusExpressionDescription; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSiriusExpressionDescription" + + + // $ANTLR start "ruleSiriusExpressionDescription" + // InternalExpressionText.g:345:1: ruleSiriusExpressionDescription returns [EObject current=null] : (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'userDefinedVariableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) ; + public final EObject ruleSiriusExpressionDescription() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_6=null; + Token otherlv_7=null; + Token otherlv_9=null; + Token otherlv_11=null; + Token otherlv_13=null; + Token otherlv_14=null; + Token otherlv_15=null; + Token otherlv_16=null; + Token otherlv_17=null; + Token otherlv_19=null; + Token otherlv_21=null; + Token otherlv_22=null; + EObject lv_parameters_3_0 = null; + + EObject lv_parameters_5_0 = null; + + AntlrDatatypeRuleToken lv_lowerBound_10_0 = null; + + AntlrDatatypeRuleToken lv_upperBound_12_0 = null; + + + enterRule(); + + try { + // InternalExpressionText.g:348:28: ( (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'userDefinedVariableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) ) + // InternalExpressionText.g:349:1: (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'userDefinedVariableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) + { + // InternalExpressionText.g:349:1: (otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'userDefinedVariableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' ) + // InternalExpressionText.g:349:3: otherlv_0= 'exp' ( ( ruleFQN ) ) otherlv_2= '(' ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( ( ruleFQN ) ) otherlv_9= '[' ( (lv_lowerBound_10_0= ruleBound ) ) otherlv_11= '..' ( (lv_upperBound_12_0= ruleBound ) ) otherlv_13= ']' otherlv_14= '{' otherlv_15= 'userDefinedVariableContainers' otherlv_16= '=' otherlv_17= '[' ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? otherlv_21= ']' otherlv_22= '}' + { + otherlv_0=(Token)match(input,15,FOLLOW_3); + + newLeafNode(otherlv_0, grammarAccess.getSiriusExpressionDescriptionAccess().getExpKeyword_0()); + + // InternalExpressionText.g:353:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:354:1: ( ruleFQN ) + { + // InternalExpressionText.g:354:1: ( ruleFQN ) + // InternalExpressionText.g:355:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getExpressionEAttributeCrossReference_1_0()); + + pushFollow(FOLLOW_11); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,16,FOLLOW_12); + + newLeafNode(otherlv_2, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftParenthesisKeyword_2()); + + // InternalExpressionText.g:372:1: ( ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* )? + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0==RULE_ID||LA7_0==24) ) { + alt7=1; + } + switch (alt7) { + case 1 : + // InternalExpressionText.g:372:2: ( (lv_parameters_3_0= ruleSiriusParameter ) ) (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* + { + // InternalExpressionText.g:372:2: ( (lv_parameters_3_0= ruleSiriusParameter ) ) + // InternalExpressionText.g:373:1: (lv_parameters_3_0= ruleSiriusParameter ) + { + // InternalExpressionText.g:373:1: (lv_parameters_3_0= ruleSiriusParameter ) + // InternalExpressionText.g:374:3: lv_parameters_3_0= ruleSiriusParameter + { + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_0_0()); + + pushFollow(FOLLOW_13); + lv_parameters_3_0=ruleSiriusParameter(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + add( + current, + "parameters", + lv_parameters_3_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusParameter"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalExpressionText.g:390:2: (otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) )* + loop6: + do { + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==17) ) { + alt6=1; + } + + + switch (alt6) { + case 1 : + // InternalExpressionText.g:390:4: otherlv_4= ',' ( (lv_parameters_5_0= ruleSiriusParameter ) ) + { + otherlv_4=(Token)match(input,17,FOLLOW_14); + + newLeafNode(otherlv_4, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_3_1_0()); + + // InternalExpressionText.g:394:1: ( (lv_parameters_5_0= ruleSiriusParameter ) ) + // InternalExpressionText.g:395:1: (lv_parameters_5_0= ruleSiriusParameter ) + { + // InternalExpressionText.g:395:1: (lv_parameters_5_0= ruleSiriusParameter ) + // InternalExpressionText.g:396:3: lv_parameters_5_0= ruleSiriusParameter + { + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getParametersSiriusParameterParserRuleCall_3_1_1_0()); + + pushFollow(FOLLOW_13); + lv_parameters_5_0=ruleSiriusParameter(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + add( + current, + "parameters", + lv_parameters_5_0, + "org.eclipse.sirius.expression.text.ExpressionText.SiriusParameter"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop6; + } + } while (true); + + + } + break; + + } + + otherlv_6=(Token)match(input,18,FOLLOW_10); + + newLeafNode(otherlv_6, grammarAccess.getSiriusExpressionDescriptionAccess().getRightParenthesisKeyword_4()); + + otherlv_7=(Token)match(input,14,FOLLOW_3); + + newLeafNode(otherlv_7, grammarAccess.getSiriusExpressionDescriptionAccess().getColonKeyword_5()); + + // InternalExpressionText.g:420:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:421:1: ( ruleFQN ) + { + // InternalExpressionText.g:421:1: ( ruleFQN ) + // InternalExpressionText.g:422:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getReturnTypeEClassifierCrossReference_6_0()); + + pushFollow(FOLLOW_15); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_9=(Token)match(input,19,FOLLOW_16); + + newLeafNode(otherlv_9, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_7()); + + // InternalExpressionText.g:439:1: ( (lv_lowerBound_10_0= ruleBound ) ) + // InternalExpressionText.g:440:1: (lv_lowerBound_10_0= ruleBound ) + { + // InternalExpressionText.g:440:1: (lv_lowerBound_10_0= ruleBound ) + // InternalExpressionText.g:441:3: lv_lowerBound_10_0= ruleBound + { + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getLowerBoundBoundParserRuleCall_8_0()); + + pushFollow(FOLLOW_17); + lv_lowerBound_10_0=ruleBound(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + set( + current, + "lowerBound", + lv_lowerBound_10_0, + "org.eclipse.sirius.expression.text.ExpressionText.Bound"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_11=(Token)match(input,20,FOLLOW_16); + + newLeafNode(otherlv_11, grammarAccess.getSiriusExpressionDescriptionAccess().getFullStopFullStopKeyword_9()); + + // InternalExpressionText.g:461:1: ( (lv_upperBound_12_0= ruleBound ) ) + // InternalExpressionText.g:462:1: (lv_upperBound_12_0= ruleBound ) + { + // InternalExpressionText.g:462:1: (lv_upperBound_12_0= ruleBound ) + // InternalExpressionText.g:463:3: lv_upperBound_12_0= ruleBound + { + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getUpperBoundBoundParserRuleCall_10_0()); + + pushFollow(FOLLOW_18); + lv_upperBound_12_0=ruleBound(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSiriusExpressionDescriptionRule()); + } + set( + current, + "upperBound", + lv_upperBound_12_0, + "org.eclipse.sirius.expression.text.ExpressionText.Bound"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_13=(Token)match(input,21,FOLLOW_4); + + newLeafNode(otherlv_13, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_11()); + + otherlv_14=(Token)match(input,9,FOLLOW_19); + + newLeafNode(otherlv_14, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftCurlyBracketKeyword_12()); + + otherlv_15=(Token)match(input,22,FOLLOW_20); + + newLeafNode(otherlv_15, grammarAccess.getSiriusExpressionDescriptionAccess().getUserDefinedVariableContainersKeyword_13()); + + otherlv_16=(Token)match(input,23,FOLLOW_15); + + newLeafNode(otherlv_16, grammarAccess.getSiriusExpressionDescriptionAccess().getEqualsSignKeyword_14()); + + otherlv_17=(Token)match(input,19,FOLLOW_21); + + newLeafNode(otherlv_17, grammarAccess.getSiriusExpressionDescriptionAccess().getLeftSquareBracketKeyword_15()); + + // InternalExpressionText.g:499:1: ( ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* )? + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==RULE_ID) ) { + alt9=1; + } + switch (alt9) { + case 1 : + // InternalExpressionText.g:499:2: ( ( ruleFQN ) ) (otherlv_19= ',' ( ( ruleFQN ) ) )* + { + // InternalExpressionText.g:499:2: ( ( ruleFQN ) ) + // InternalExpressionText.g:500:1: ( ruleFQN ) + { + // InternalExpressionText.g:500:1: ( ruleFQN ) + // InternalExpressionText.g:501:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_0_0()); + + pushFollow(FOLLOW_22); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalExpressionText.g:514:2: (otherlv_19= ',' ( ( ruleFQN ) ) )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); + + if ( (LA8_0==17) ) { + alt8=1; + } + + + switch (alt8) { + case 1 : + // InternalExpressionText.g:514:4: otherlv_19= ',' ( ( ruleFQN ) ) + { + otherlv_19=(Token)match(input,17,FOLLOW_3); + + newLeafNode(otherlv_19, grammarAccess.getSiriusExpressionDescriptionAccess().getCommaKeyword_16_1_0()); + + // InternalExpressionText.g:518:1: ( ( ruleFQN ) ) + // InternalExpressionText.g:519:1: ( ruleFQN ) + { + // InternalExpressionText.g:519:1: ( ruleFQN ) + // InternalExpressionText.g:520:3: ruleFQN + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusExpressionDescriptionRule()); + } + + + newCompositeNode(grammarAccess.getSiriusExpressionDescriptionAccess().getVariableContainersEClassCrossReference_16_1_1_0()); + + pushFollow(FOLLOW_22); + ruleFQN(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop8; + } + } while (true); + + + } + break; + + } + + otherlv_21=(Token)match(input,21,FOLLOW_23); + + newLeafNode(otherlv_21, grammarAccess.getSiriusExpressionDescriptionAccess().getRightSquareBracketKeyword_17()); + + otherlv_22=(Token)match(input,10,FOLLOW_2); + + newLeafNode(otherlv_22, grammarAccess.getSiriusExpressionDescriptionAccess().getRightCurlyBracketKeyword_18()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSiriusExpressionDescription" + + + // $ANTLR start "entryRuleSiriusParameter" + // InternalExpressionText.g:549:1: entryRuleSiriusParameter returns [EObject current=null] : iv_ruleSiriusParameter= ruleSiriusParameter EOF ; + public final EObject entryRuleSiriusParameter() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSiriusParameter = null; + + + try { + // InternalExpressionText.g:550:2: (iv_ruleSiriusParameter= ruleSiriusParameter EOF ) + // InternalExpressionText.g:551:2: iv_ruleSiriusParameter= ruleSiriusParameter EOF + { + newCompositeNode(grammarAccess.getSiriusParameterRule()); + pushFollow(FOLLOW_1); + iv_ruleSiriusParameter=ruleSiriusParameter(); + + state._fsp--; + + current =iv_ruleSiriusParameter; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSiriusParameter" + + + // $ANTLR start "ruleSiriusParameter" + // InternalExpressionText.g:558:1: ruleSiriusParameter returns [EObject current=null] : ( ( (lv_optional_0_0= 'optional' ) )? ( (otherlv_1= RULE_ID ) ) ) ; + public final EObject ruleSiriusParameter() throws RecognitionException { + EObject current = null; + + Token lv_optional_0_0=null; + Token otherlv_1=null; + + enterRule(); + + try { + // InternalExpressionText.g:561:28: ( ( ( (lv_optional_0_0= 'optional' ) )? ( (otherlv_1= RULE_ID ) ) ) ) + // InternalExpressionText.g:562:1: ( ( (lv_optional_0_0= 'optional' ) )? ( (otherlv_1= RULE_ID ) ) ) + { + // InternalExpressionText.g:562:1: ( ( (lv_optional_0_0= 'optional' ) )? ( (otherlv_1= RULE_ID ) ) ) + // InternalExpressionText.g:562:2: ( (lv_optional_0_0= 'optional' ) )? ( (otherlv_1= RULE_ID ) ) + { + // InternalExpressionText.g:562:2: ( (lv_optional_0_0= 'optional' ) )? + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==24) ) { + alt10=1; + } + switch (alt10) { + case 1 : + // InternalExpressionText.g:563:1: (lv_optional_0_0= 'optional' ) + { + // InternalExpressionText.g:563:1: (lv_optional_0_0= 'optional' ) + // InternalExpressionText.g:564:3: lv_optional_0_0= 'optional' + { + lv_optional_0_0=(Token)match(input,24,FOLLOW_3); + + newLeafNode(lv_optional_0_0, grammarAccess.getSiriusParameterAccess().getOptionalOptionalKeyword_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusParameterRule()); + } + setWithLastConsumed(current, "optional", true, "optional"); + + + } + + + } + break; + + } + + // InternalExpressionText.g:577:3: ( (otherlv_1= RULE_ID ) ) + // InternalExpressionText.g:578:1: (otherlv_1= RULE_ID ) + { + // InternalExpressionText.g:578:1: (otherlv_1= RULE_ID ) + // InternalExpressionText.g:579:3: otherlv_1= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getSiriusParameterRule()); + } + + otherlv_1=(Token)match(input,RULE_ID,FOLLOW_2); + + newLeafNode(otherlv_1, grammarAccess.getSiriusParameterAccess().getVariableSiriusVariableCrossReference_1_0()); + + + } + + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSiriusParameter" + + + // $ANTLR start "entryRuleBound" + // InternalExpressionText.g:598:1: entryRuleBound returns [String current=null] : iv_ruleBound= ruleBound EOF ; + public final String entryRuleBound() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleBound = null; + + + try { + // InternalExpressionText.g:599:2: (iv_ruleBound= ruleBound EOF ) + // InternalExpressionText.g:600:2: iv_ruleBound= ruleBound EOF + { + newCompositeNode(grammarAccess.getBoundRule()); + pushFollow(FOLLOW_1); + iv_ruleBound=ruleBound(); + + state._fsp--; + + current =iv_ruleBound.getText(); + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleBound" + + + // $ANTLR start "ruleBound" + // InternalExpressionText.g:607:1: ruleBound returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; + public final AntlrDatatypeRuleToken ruleBound() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + Token this_INT_1=null; + + enterRule(); + + try { + // InternalExpressionText.g:610:28: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) + // InternalExpressionText.g:611:1: ( (kw= '-' )? this_INT_1= RULE_INT ) + { + // InternalExpressionText.g:611:1: ( (kw= '-' )? this_INT_1= RULE_INT ) + // InternalExpressionText.g:611:2: (kw= '-' )? this_INT_1= RULE_INT + { + // InternalExpressionText.g:611:2: (kw= '-' )? + int alt11=2; + int LA11_0 = input.LA(1); + + if ( (LA11_0==25) ) { + alt11=1; + } + switch (alt11) { + case 1 : + // InternalExpressionText.g:612:2: kw= '-' + { + kw=(Token)match(input,25,FOLLOW_24); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getBoundAccess().getHyphenMinusKeyword_0()); + + + } + break; + + } + + this_INT_1=(Token)match(input,RULE_INT,FOLLOW_2); + + current.merge(this_INT_1); + + + newLeafNode(this_INT_1, grammarAccess.getBoundAccess().getINTTerminalRuleCall_1()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleBound" + + // Delegated rules + + + + + public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000200L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000C00L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x000000000000A420L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000008400L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000001002L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000001040010L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000060000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000001000010L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000002000040L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000100000L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000400000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000200010L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000220000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000400L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000000040L}); + +} \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSemanticSequencer.java b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSemanticSequencer.java new file mode 100644 index 000000000..1d0e9d43f --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSemanticSequencer.java @@ -0,0 +1,102 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.serializer; + +import com.google.inject.Inject; +import com.google.inject.Provider; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionClass; +import org.eclipse.sirius.expression.SiriusExpressionDescription; +import org.eclipse.sirius.expression.SiriusExpressionPackage; +import org.eclipse.sirius.expression.SiriusParameter; +import org.eclipse.sirius.expression.SiriusVariable; +import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; +import org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor; +import org.eclipse.xtext.serializer.diagnostic.ISemanticSequencerDiagnosticProvider; +import org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic.Acceptor; +import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.GenericSequencer; +import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.ITransientValueService; + +@SuppressWarnings("all") +public class ExpressionTextSemanticSequencer extends AbstractDelegatingSemanticSequencer { + + @Inject + private ExpressionTextGrammarAccess grammarAccess; + + @Override + public void createSequence(EObject context, EObject semanticObject) { + if(semanticObject.eClass().getEPackage() == ExpressionPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS: + sequence_SiriusExpressionClass(context, (SiriusExpressionClass) semanticObject); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION: + sequence_SiriusExpressionDescription(context, (SiriusExpressionDescription) semanticObject); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE: + sequence_SiriusExpressionPackage(context, (SiriusExpressionPackage) semanticObject); + return; + case ExpressionPackage.SIRIUS_PARAMETER: + sequence_SiriusParameter(context, (SiriusParameter) semanticObject); + return; + case ExpressionPackage.SIRIUS_VARIABLE: + sequence_SiriusVariable(context, (SiriusVariable) semanticObject); + return; + } + if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); + } + + /** + * Constraint: + * (eClass=[EClass|FQN] variables+=SiriusVariable* expressionDescriptions+=SiriusExpressionDescription*) + */ + protected void sequence_SiriusExpressionClass(EObject context, SiriusExpressionClass semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: + * ( + * expression=[EAttribute|FQN] + * (parameters+=SiriusParameter parameters+=SiriusParameter*)? + * returnType=[EClassifier|FQN] + * lowerBound=Bound + * upperBound=Bound + * (variableContainers+=[EClass|FQN] variableContainers+=[EClass|FQN]*)? + * ) + */ + protected void sequence_SiriusExpressionDescription(EObject context, SiriusExpressionDescription semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: + * (ePackage=[EPackage|ID] expressionClasses+=SiriusExpressionClass*) + */ + protected void sequence_SiriusExpressionPackage(EObject context, SiriusExpressionPackage semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: + * (optional?='optional'? variable=[SiriusVariable|ID]) + */ + protected void sequence_SiriusParameter(EObject context, SiriusParameter semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: + * (documentation=ML_COMMENT? name=ID eType=[EClassifier|FQN]) + */ + protected void sequence_SiriusVariable(EObject context, SiriusVariable semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSyntacticSequencer.java b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSyntacticSequencer.java new file mode 100644 index 000000000..94c2513c1 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/serializer/ExpressionTextSyntacticSequencer.java @@ -0,0 +1,43 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.serializer; + +import com.google.inject.Inject; +import java.util.List; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess; +import org.eclipse.xtext.IGrammarAccess; +import org.eclipse.xtext.RuleCall; +import org.eclipse.xtext.nodemodel.INode; +import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; +import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; +import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; + +@SuppressWarnings("all") +public class ExpressionTextSyntacticSequencer extends AbstractSyntacticSequencer { + + protected ExpressionTextGrammarAccess grammarAccess; + + @Inject + protected void init(IGrammarAccess access) { + grammarAccess = (ExpressionTextGrammarAccess) access; + } + + @Override + protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { + return ""; + } + + + @Override + protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { + if (transition.getAmbiguousSyntaxes().isEmpty()) return; + List transitionNodes = collectNodes(fromNode, toNode); + for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { + List syntaxNodes = getNodesFor(transitionNodes, syntax); + acceptNodes(getLastNavigableState(), syntaxNodes); + } + } + +} diff --git a/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java new file mode 100644 index 000000000..1abe4c1c8 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/services/ExpressionTextGrammarAccess.java @@ -0,0 +1,584 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.services; + +import com.google.inject.Singleton; +import com.google.inject.Inject; + +import java.util.List; + +import org.eclipse.xtext.*; +import org.eclipse.xtext.service.GrammarProvider; +import org.eclipse.xtext.service.AbstractElementFinder.*; + + +@Singleton +public class ExpressionTextGrammarAccess extends AbstractGrammarElementFinder { + + + public class SiriusExpressionPackageElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionPackage"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cEPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cEPackageEPackageCrossReference_1_0 = (CrossReference)cEPackageAssignment_1.eContents().get(0); + private final RuleCall cEPackageEPackageIDTerminalRuleCall_1_0_1 = (RuleCall)cEPackageEPackageCrossReference_1_0.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Assignment cExpressionClassesAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cExpressionClassesSiriusExpressionClassParserRuleCall_3_0 = (RuleCall)cExpressionClassesAssignment_3.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); + + //SiriusExpressionPackage: + // 'package' ePackage=[ecore::EPackage] '{' + // expressionClasses+=SiriusExpressionClass* + // '}'; + @Override public ParserRule getRule() { return rule; } + + //'package' ePackage=[ecore::EPackage] '{' expressionClasses+=SiriusExpressionClass* '}' + public Group getGroup() { return cGroup; } + + //'package' + public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } + + //ePackage=[ecore::EPackage] + public Assignment getEPackageAssignment_1() { return cEPackageAssignment_1; } + + //[ecore::EPackage] + public CrossReference getEPackageEPackageCrossReference_1_0() { return cEPackageEPackageCrossReference_1_0; } + + //ID + public RuleCall getEPackageEPackageIDTerminalRuleCall_1_0_1() { return cEPackageEPackageIDTerminalRuleCall_1_0_1; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //expressionClasses+=SiriusExpressionClass* + public Assignment getExpressionClassesAssignment_3() { return cExpressionClassesAssignment_3; } + + //SiriusExpressionClass + public RuleCall getExpressionClassesSiriusExpressionClassParserRuleCall_3_0() { return cExpressionClassesSiriusExpressionClassParserRuleCall_3_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } + } + + public class SiriusExpressionClassElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionClass"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cClassKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cEClassAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cEClassEClassCrossReference_1_0 = (CrossReference)cEClassAssignment_1.eContents().get(0); + private final RuleCall cEClassEClassFQNParserRuleCall_1_0_1 = (RuleCall)cEClassEClassCrossReference_1_0.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Assignment cVariablesAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cVariablesSiriusVariableParserRuleCall_3_0 = (RuleCall)cVariablesAssignment_3.eContents().get(0); + private final Assignment cExpressionDescriptionsAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0 = (RuleCall)cExpressionDescriptionsAssignment_4.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); + + //SiriusExpressionClass: + // 'class' eClass=[ecore::EClass|FQN] '{' + // variables+=SiriusVariable* + // expressionDescriptions+=SiriusExpressionDescription* + // '}'; + @Override public ParserRule getRule() { return rule; } + + //'class' eClass=[ecore::EClass|FQN] '{' variables+=SiriusVariable* expressionDescriptions+=SiriusExpressionDescription* + //'}' + public Group getGroup() { return cGroup; } + + //'class' + public Keyword getClassKeyword_0() { return cClassKeyword_0; } + + //eClass=[ecore::EClass|FQN] + public Assignment getEClassAssignment_1() { return cEClassAssignment_1; } + + //[ecore::EClass|FQN] + public CrossReference getEClassEClassCrossReference_1_0() { return cEClassEClassCrossReference_1_0; } + + //FQN + public RuleCall getEClassEClassFQNParserRuleCall_1_0_1() { return cEClassEClassFQNParserRuleCall_1_0_1; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //variables+=SiriusVariable* + public Assignment getVariablesAssignment_3() { return cVariablesAssignment_3; } + + //SiriusVariable + public RuleCall getVariablesSiriusVariableParserRuleCall_3_0() { return cVariablesSiriusVariableParserRuleCall_3_0; } + + //expressionDescriptions+=SiriusExpressionDescription* + public Assignment getExpressionDescriptionsAssignment_4() { return cExpressionDescriptionsAssignment_4; } + + //SiriusExpressionDescription + public RuleCall getExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0() { return cExpressionDescriptionsSiriusExpressionDescriptionParserRuleCall_4_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } + } + + public class FQNElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.FQN"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); + private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); + + //FQN: + // ID ("." ID)*; + @Override public ParserRule getRule() { return rule; } + + //ID ("." ID)* + public Group getGroup() { return cGroup; } + + //ID + public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } + + //("." ID)* + public Group getGroup_1() { return cGroup_1; } + + //"." + public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } + + //ID + public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } + } + + public class SiriusVariableElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.SiriusVariable"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cDocumentationAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cDocumentationML_COMMENTTerminalRuleCall_0_0 = (RuleCall)cDocumentationAssignment_0.eContents().get(0); + private final Keyword cVarKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); + private final Keyword cColonKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cETypeAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final CrossReference cETypeEClassifierCrossReference_4_0 = (CrossReference)cETypeAssignment_4.eContents().get(0); + private final RuleCall cETypeEClassifierFQNParserRuleCall_4_0_1 = (RuleCall)cETypeEClassifierCrossReference_4_0.eContents().get(1); + + //SiriusVariable: + // documentation=ML_COMMENT? + // 'var' name=ID ':' eType=[ecore::EClassifier|FQN]; + @Override public ParserRule getRule() { return rule; } + + //documentation=ML_COMMENT? 'var' name=ID ':' eType=[ecore::EClassifier|FQN] + public Group getGroup() { return cGroup; } + + //documentation=ML_COMMENT? + public Assignment getDocumentationAssignment_0() { return cDocumentationAssignment_0; } + + //ML_COMMENT + public RuleCall getDocumentationML_COMMENTTerminalRuleCall_0_0() { return cDocumentationML_COMMENTTerminalRuleCall_0_0; } + + //'var' + public Keyword getVarKeyword_1() { return cVarKeyword_1; } + + //name=ID + public Assignment getNameAssignment_2() { return cNameAssignment_2; } + + //ID + public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } + + //':' + public Keyword getColonKeyword_3() { return cColonKeyword_3; } + + //eType=[ecore::EClassifier|FQN] + public Assignment getETypeAssignment_4() { return cETypeAssignment_4; } + + //[ecore::EClassifier|FQN] + public CrossReference getETypeEClassifierCrossReference_4_0() { return cETypeEClassifierCrossReference_4_0; } + + //FQN + public RuleCall getETypeEClassifierFQNParserRuleCall_4_0_1() { return cETypeEClassifierFQNParserRuleCall_4_0_1; } + } + + public class SiriusExpressionDescriptionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.SiriusExpressionDescription"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cExpKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cExpressionAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cExpressionEAttributeCrossReference_1_0 = (CrossReference)cExpressionAssignment_1.eContents().get(0); + private final RuleCall cExpressionEAttributeFQNParserRuleCall_1_0_1 = (RuleCall)cExpressionEAttributeCrossReference_1_0.eContents().get(1); + private final Keyword cLeftParenthesisKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Group cGroup_3 = (Group)cGroup.eContents().get(3); + private final Assignment cParametersAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0); + private final RuleCall cParametersSiriusParameterParserRuleCall_3_0_0 = (RuleCall)cParametersAssignment_3_0.eContents().get(0); + private final Group cGroup_3_1 = (Group)cGroup_3.eContents().get(1); + private final Keyword cCommaKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); + private final Assignment cParametersAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1); + private final RuleCall cParametersSiriusParameterParserRuleCall_3_1_1_0 = (RuleCall)cParametersAssignment_3_1_1.eContents().get(0); + private final Keyword cRightParenthesisKeyword_4 = (Keyword)cGroup.eContents().get(4); + private final Keyword cColonKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cReturnTypeAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final CrossReference cReturnTypeEClassifierCrossReference_6_0 = (CrossReference)cReturnTypeAssignment_6.eContents().get(0); + private final RuleCall cReturnTypeEClassifierFQNParserRuleCall_6_0_1 = (RuleCall)cReturnTypeEClassifierCrossReference_6_0.eContents().get(1); + private final Keyword cLeftSquareBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); + private final Assignment cLowerBoundAssignment_8 = (Assignment)cGroup.eContents().get(8); + private final RuleCall cLowerBoundBoundParserRuleCall_8_0 = (RuleCall)cLowerBoundAssignment_8.eContents().get(0); + private final Keyword cFullStopFullStopKeyword_9 = (Keyword)cGroup.eContents().get(9); + private final Assignment cUpperBoundAssignment_10 = (Assignment)cGroup.eContents().get(10); + private final RuleCall cUpperBoundBoundParserRuleCall_10_0 = (RuleCall)cUpperBoundAssignment_10.eContents().get(0); + private final Keyword cRightSquareBracketKeyword_11 = (Keyword)cGroup.eContents().get(11); + private final Keyword cLeftCurlyBracketKeyword_12 = (Keyword)cGroup.eContents().get(12); + private final Keyword cUserDefinedVariableContainersKeyword_13 = (Keyword)cGroup.eContents().get(13); + private final Keyword cEqualsSignKeyword_14 = (Keyword)cGroup.eContents().get(14); + private final Keyword cLeftSquareBracketKeyword_15 = (Keyword)cGroup.eContents().get(15); + private final Group cGroup_16 = (Group)cGroup.eContents().get(16); + private final Assignment cVariableContainersAssignment_16_0 = (Assignment)cGroup_16.eContents().get(0); + private final CrossReference cVariableContainersEClassCrossReference_16_0_0 = (CrossReference)cVariableContainersAssignment_16_0.eContents().get(0); + private final RuleCall cVariableContainersEClassFQNParserRuleCall_16_0_0_1 = (RuleCall)cVariableContainersEClassCrossReference_16_0_0.eContents().get(1); + private final Group cGroup_16_1 = (Group)cGroup_16.eContents().get(1); + private final Keyword cCommaKeyword_16_1_0 = (Keyword)cGroup_16_1.eContents().get(0); + private final Assignment cVariableContainersAssignment_16_1_1 = (Assignment)cGroup_16_1.eContents().get(1); + private final CrossReference cVariableContainersEClassCrossReference_16_1_1_0 = (CrossReference)cVariableContainersAssignment_16_1_1.eContents().get(0); + private final RuleCall cVariableContainersEClassFQNParserRuleCall_16_1_1_0_1 = (RuleCall)cVariableContainersEClassCrossReference_16_1_1_0.eContents().get(1); + private final Keyword cRightSquareBracketKeyword_17 = (Keyword)cGroup.eContents().get(17); + private final Keyword cRightCurlyBracketKeyword_18 = (Keyword)cGroup.eContents().get(18); + + //SiriusExpressionDescription: + // 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter (',' parameters+=SiriusParameter)*)? ')' ':' + // returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' + // 'userDefinedVariableContainers' '=' '[' (variableContainers+=[ecore::EClass|FQN] (',' + // variableContainers+=[ecore::EClass|FQN])*)? + // ']' + // '}'; + @Override public ParserRule getRule() { return rule; } + + //'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter (',' parameters+=SiriusParameter)*)? ')' ':' + //returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' 'userDefinedVariableContainers' + //'=' '[' (variableContainers+=[ecore::EClass|FQN] (',' variableContainers+=[ecore::EClass|FQN])*)? ']' '}' + public Group getGroup() { return cGroup; } + + //'exp' + public Keyword getExpKeyword_0() { return cExpKeyword_0; } + + //expression=[ecore::EAttribute|FQN] + public Assignment getExpressionAssignment_1() { return cExpressionAssignment_1; } + + //[ecore::EAttribute|FQN] + public CrossReference getExpressionEAttributeCrossReference_1_0() { return cExpressionEAttributeCrossReference_1_0; } + + //FQN + public RuleCall getExpressionEAttributeFQNParserRuleCall_1_0_1() { return cExpressionEAttributeFQNParserRuleCall_1_0_1; } + + //'(' + public Keyword getLeftParenthesisKeyword_2() { return cLeftParenthesisKeyword_2; } + + //(parameters+=SiriusParameter (',' parameters+=SiriusParameter)*)? + public Group getGroup_3() { return cGroup_3; } + + //parameters+=SiriusParameter + public Assignment getParametersAssignment_3_0() { return cParametersAssignment_3_0; } + + //SiriusParameter + public RuleCall getParametersSiriusParameterParserRuleCall_3_0_0() { return cParametersSiriusParameterParserRuleCall_3_0_0; } + + //(',' parameters+=SiriusParameter)* + public Group getGroup_3_1() { return cGroup_3_1; } + + //',' + public Keyword getCommaKeyword_3_1_0() { return cCommaKeyword_3_1_0; } + + //parameters+=SiriusParameter + public Assignment getParametersAssignment_3_1_1() { return cParametersAssignment_3_1_1; } + + //SiriusParameter + public RuleCall getParametersSiriusParameterParserRuleCall_3_1_1_0() { return cParametersSiriusParameterParserRuleCall_3_1_1_0; } + + //')' + public Keyword getRightParenthesisKeyword_4() { return cRightParenthesisKeyword_4; } + + //':' + public Keyword getColonKeyword_5() { return cColonKeyword_5; } + + //returnType=[ecore::EClassifier|FQN] + public Assignment getReturnTypeAssignment_6() { return cReturnTypeAssignment_6; } + + //[ecore::EClassifier|FQN] + public CrossReference getReturnTypeEClassifierCrossReference_6_0() { return cReturnTypeEClassifierCrossReference_6_0; } + + //FQN + public RuleCall getReturnTypeEClassifierFQNParserRuleCall_6_0_1() { return cReturnTypeEClassifierFQNParserRuleCall_6_0_1; } + + //'[' + public Keyword getLeftSquareBracketKeyword_7() { return cLeftSquareBracketKeyword_7; } + + //lowerBound=Bound + public Assignment getLowerBoundAssignment_8() { return cLowerBoundAssignment_8; } + + //Bound + public RuleCall getLowerBoundBoundParserRuleCall_8_0() { return cLowerBoundBoundParserRuleCall_8_0; } + + //'..' + public Keyword getFullStopFullStopKeyword_9() { return cFullStopFullStopKeyword_9; } + + //upperBound=Bound + public Assignment getUpperBoundAssignment_10() { return cUpperBoundAssignment_10; } + + //Bound + public RuleCall getUpperBoundBoundParserRuleCall_10_0() { return cUpperBoundBoundParserRuleCall_10_0; } + + //']' + public Keyword getRightSquareBracketKeyword_11() { return cRightSquareBracketKeyword_11; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_12() { return cLeftCurlyBracketKeyword_12; } + + //'userDefinedVariableContainers' + public Keyword getUserDefinedVariableContainersKeyword_13() { return cUserDefinedVariableContainersKeyword_13; } + + //'=' + public Keyword getEqualsSignKeyword_14() { return cEqualsSignKeyword_14; } + + //'[' + public Keyword getLeftSquareBracketKeyword_15() { return cLeftSquareBracketKeyword_15; } + + //(variableContainers+=[ecore::EClass|FQN] (',' variableContainers+=[ecore::EClass|FQN])*)? + public Group getGroup_16() { return cGroup_16; } + + //variableContainers+=[ecore::EClass|FQN] + public Assignment getVariableContainersAssignment_16_0() { return cVariableContainersAssignment_16_0; } + + //[ecore::EClass|FQN] + public CrossReference getVariableContainersEClassCrossReference_16_0_0() { return cVariableContainersEClassCrossReference_16_0_0; } + + //FQN + public RuleCall getVariableContainersEClassFQNParserRuleCall_16_0_0_1() { return cVariableContainersEClassFQNParserRuleCall_16_0_0_1; } + + //(',' variableContainers+=[ecore::EClass|FQN])* + public Group getGroup_16_1() { return cGroup_16_1; } + + //',' + public Keyword getCommaKeyword_16_1_0() { return cCommaKeyword_16_1_0; } + + //variableContainers+=[ecore::EClass|FQN] + public Assignment getVariableContainersAssignment_16_1_1() { return cVariableContainersAssignment_16_1_1; } + + //[ecore::EClass|FQN] + public CrossReference getVariableContainersEClassCrossReference_16_1_1_0() { return cVariableContainersEClassCrossReference_16_1_1_0; } + + //FQN + public RuleCall getVariableContainersEClassFQNParserRuleCall_16_1_1_0_1() { return cVariableContainersEClassFQNParserRuleCall_16_1_1_0_1; } + + //']' + public Keyword getRightSquareBracketKeyword_17() { return cRightSquareBracketKeyword_17; } + + //'}' + public Keyword getRightCurlyBracketKeyword_18() { return cRightCurlyBracketKeyword_18; } + } + + public class SiriusParameterElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.SiriusParameter"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cOptionalAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final Keyword cOptionalOptionalKeyword_0_0 = (Keyword)cOptionalAssignment_0.eContents().get(0); + private final Assignment cVariableAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cVariableSiriusVariableCrossReference_1_0 = (CrossReference)cVariableAssignment_1.eContents().get(0); + private final RuleCall cVariableSiriusVariableIDTerminalRuleCall_1_0_1 = (RuleCall)cVariableSiriusVariableCrossReference_1_0.eContents().get(1); + + //SiriusParameter: + // optional?='optional'? variable=[SiriusVariable]; + @Override public ParserRule getRule() { return rule; } + + //optional?='optional'? variable=[SiriusVariable] + public Group getGroup() { return cGroup; } + + //optional?='optional'? + public Assignment getOptionalAssignment_0() { return cOptionalAssignment_0; } + + //'optional' + public Keyword getOptionalOptionalKeyword_0_0() { return cOptionalOptionalKeyword_0_0; } + + //variable=[SiriusVariable] + public Assignment getVariableAssignment_1() { return cVariableAssignment_1; } + + //[SiriusVariable] + public CrossReference getVariableSiriusVariableCrossReference_1_0() { return cVariableSiriusVariableCrossReference_1_0; } + + //ID + public RuleCall getVariableSiriusVariableIDTerminalRuleCall_1_0_1() { return cVariableSiriusVariableIDTerminalRuleCall_1_0_1; } + } + + public class BoundElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.Bound"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); + + //Bound ecore::EInt: + // '-'? INT + @Override public ParserRule getRule() { return rule; } + + //'-'? INT + public Group getGroup() { return cGroup; } + + //'-'? + public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; } + + //INT + public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; } + } + + + private final SiriusExpressionPackageElements pSiriusExpressionPackage; + private final SiriusExpressionClassElements pSiriusExpressionClass; + private final FQNElements pFQN; + private final SiriusVariableElements pSiriusVariable; + private final SiriusExpressionDescriptionElements pSiriusExpressionDescription; + private final SiriusParameterElements pSiriusParameter; + private final BoundElements pBound; + private final TerminalRule tID; + private final TerminalRule tINT; + private final TerminalRule tML_COMMENT; + private final TerminalRule tWS; + + private final Grammar grammar; + + @Inject + public ExpressionTextGrammarAccess(GrammarProvider grammarProvider) { + this.grammar = internalFindGrammar(grammarProvider); + this.pSiriusExpressionPackage = new SiriusExpressionPackageElements(); + this.pSiriusExpressionClass = new SiriusExpressionClassElements(); + this.pFQN = new FQNElements(); + this.pSiriusVariable = new SiriusVariableElements(); + this.pSiriusExpressionDescription = new SiriusExpressionDescriptionElements(); + this.pSiriusParameter = new SiriusParameterElements(); + this.pBound = new BoundElements(); + this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.ID"); + this.tINT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.INT"); + this.tML_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.ML_COMMENT"); + this.tWS = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.sirius.expression.text.ExpressionText.WS"); + } + + protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { + Grammar grammar = grammarProvider.getGrammar(this); + while (grammar != null) { + if ("org.eclipse.sirius.expression.text.ExpressionText".equals(grammar.getName())) { + return grammar; + } + List grammars = grammar.getUsedGrammars(); + if (!grammars.isEmpty()) { + grammar = grammars.iterator().next(); + } else { + return null; + } + } + return grammar; + } + + @Override + public Grammar getGrammar() { + return grammar; + } + + + + //SiriusExpressionPackage: + // 'package' ePackage=[ecore::EPackage] '{' + // expressionClasses+=SiriusExpressionClass* + // '}'; + public SiriusExpressionPackageElements getSiriusExpressionPackageAccess() { + return pSiriusExpressionPackage; + } + + public ParserRule getSiriusExpressionPackageRule() { + return getSiriusExpressionPackageAccess().getRule(); + } + + //SiriusExpressionClass: + // 'class' eClass=[ecore::EClass|FQN] '{' + // variables+=SiriusVariable* + // expressionDescriptions+=SiriusExpressionDescription* + // '}'; + public SiriusExpressionClassElements getSiriusExpressionClassAccess() { + return pSiriusExpressionClass; + } + + public ParserRule getSiriusExpressionClassRule() { + return getSiriusExpressionClassAccess().getRule(); + } + + //FQN: + // ID ("." ID)*; + public FQNElements getFQNAccess() { + return pFQN; + } + + public ParserRule getFQNRule() { + return getFQNAccess().getRule(); + } + + //SiriusVariable: + // documentation=ML_COMMENT? + // 'var' name=ID ':' eType=[ecore::EClassifier|FQN]; + public SiriusVariableElements getSiriusVariableAccess() { + return pSiriusVariable; + } + + public ParserRule getSiriusVariableRule() { + return getSiriusVariableAccess().getRule(); + } + + //SiriusExpressionDescription: + // 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter (',' parameters+=SiriusParameter)*)? ')' ':' + // returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' + // 'userDefinedVariableContainers' '=' '[' (variableContainers+=[ecore::EClass|FQN] (',' + // variableContainers+=[ecore::EClass|FQN])*)? + // ']' + // '}'; + public SiriusExpressionDescriptionElements getSiriusExpressionDescriptionAccess() { + return pSiriusExpressionDescription; + } + + public ParserRule getSiriusExpressionDescriptionRule() { + return getSiriusExpressionDescriptionAccess().getRule(); + } + + //SiriusParameter: + // optional?='optional'? variable=[SiriusVariable]; + public SiriusParameterElements getSiriusParameterAccess() { + return pSiriusParameter; + } + + public ParserRule getSiriusParameterRule() { + return getSiriusParameterAccess().getRule(); + } + + //Bound ecore::EInt: + // '-'? INT + public BoundElements getBoundAccess() { + return pBound; + } + + public ParserRule getBoundRule() { + return getBoundAccess().getRule(); + } + + //terminal ID: + // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; + public TerminalRule getIDRule() { + return tID; + } + + //terminal INT returns ecore::EInt: + // '0'..'9'+; + public TerminalRule getINTRule() { + return tINT; + } + + //terminal ML_COMMENT: + // '/ *'->'* /'; + public TerminalRule getML_COMMENTRule() { + return tML_COMMENT; + } + + //terminal WS: + // ' ' | '\t' | '\r' | '\n'+; + public TerminalRule getWSRule() { + return tWS; + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/validation/AbstractExpressionTextValidator.java b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/validation/AbstractExpressionTextValidator.java new file mode 100644 index 000000000..0ad845d20 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src-gen/org/eclipse/sirius/expression/text/validation/AbstractExpressionTextValidator.java @@ -0,0 +1,18 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.validation; + +import java.util.ArrayList; +import java.util.List; +import org.eclipse.emf.ecore.EPackage; + +public class AbstractExpressionTextValidator extends org.eclipse.xtext.validation.AbstractDeclarativeValidator { + + @Override + protected List getEPackages() { + List result = new ArrayList(); + result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/sirius/expression")); + return result; + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext new file mode 100644 index 000000000..ce60eeba4 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionText.xtext @@ -0,0 +1,45 @@ +grammar org.eclipse.sirius.expression.text.ExpressionText hidden(WS) + +import "http://www.eclipse.org/sirius/expression" +import "http://www.eclipse.org/emf/2002/Ecore" as ecore + +SiriusExpressionPackage: + 'package' ePackage=[ecore::EPackage] '{' + (expressionClasses+=SiriusExpressionClass)* + '}' +; + +SiriusExpressionClass: + 'class' eClass=[ecore::EClass|FQN] '{' + (variables+=SiriusVariable)* + (expressionDescriptions+=SiriusExpressionDescription)* + '}' +; + +FQN: ID ("." ID)*; + +SiriusVariable: + (documentation=ML_COMMENT)? + 'var' name=ID ':' eType=[ecore::EClassifier|FQN] +; + +SiriusExpressionDescription: + 'exp' expression=[ecore::EAttribute|FQN] '(' (parameters+=SiriusParameter(',' parameters+=SiriusParameter)*)? ')' ':' returnType=[ecore::EClassifier|FQN] '[' lowerBound=Bound '..' upperBound=Bound ']' '{' + 'userDefinedVariableContainers' '=' '[' + (variableContainers+=[ecore::EClass|FQN](',' variableContainers+=[ecore::EClass|FQN])*)? + ']' + '}' +; + +SiriusParameter: + (optional?='optional')? variable=[SiriusVariable] +; + +Bound returns ecore::EInt: + ('-')?INT +; + +terminal ID : '^'?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; +terminal INT returns ecore::EInt: ('0'..'9')+; +terminal ML_COMMENT : '/*' -> '*/'; +terminal WS : (' '|'\t'|'\r'|'\n')+; \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextRuntimeModule.java b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextRuntimeModule.java new file mode 100644 index 000000000..8558d947f --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextRuntimeModule.java @@ -0,0 +1,18 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text; + +import org.eclipse.xtext.resource.IContainer.Manager; +import org.eclipse.sirius.expression.text.scoping.ExpressionTextStatedContainerManager;; +/** + * Use this class to register components to be used at runtime / without the + * Equinox extension registry. + */ +public class ExpressionTextRuntimeModule + extends org.eclipse.sirius.expression.text.AbstractExpressionTextRuntimeModule { + @Override + public Class bindIContainer$Manager() { + return ExpressionTextStatedContainerManager.class; + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetup.java b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetup.java new file mode 100644 index 000000000..7d5142f90 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/ExpressionTextStandaloneSetup.java @@ -0,0 +1,16 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text; + +/** + * Initialization support for running Xtext languages + * without equinox extension registry + */ +public class ExpressionTextStandaloneSetup extends ExpressionTextStandaloneSetupGenerated{ + + public static void doSetup() { + new ExpressionTextStandaloneSetup().createInjectorAndDoEMFRegistration(); + } +} + diff --git a/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/GenerateExpressionText.mwe2 b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/GenerateExpressionText.mwe2 new file mode 100644 index 000000000..2b3bbe63d --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/GenerateExpressionText.mwe2 @@ -0,0 +1,137 @@ +module org.eclipse.sirius.expression.text.GenerateExpressionText + +import org.eclipse.emf.mwe.utils.* +import org.eclipse.xtext.generator.* +import org.eclipse.xtext.ui.generator.* + +var grammarURI = "classpath:/org/eclipse/sirius/expression/text/ExpressionText.xtext" +var fileExtensions = "expression" +var projectName = "org.eclipse.sirius.expression.text" +var runtimeProject = "../${projectName}" +var generateXtendStub = true +var encoding = "UTF-8" + +Workflow { + bean = StandaloneSetup { + scanClassPath = true + platformUri = "${runtimeProject}/.." + + registerGeneratedEPackage = "org.eclipse.sirius.expression.ExpressionPackage" + registerGenModelFile = "platform:/resource/org.eclipse.sirius.expression/model/expression.genmodel" + + // The following two lines can be removed, if Xbase is not used. + registerGeneratedEPackage = "org.eclipse.xtext.xbase.XbasePackage" + registerGenModelFile = "platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel" + } + + component = DirectoryCleaner { + directory = "${runtimeProject}/src-gen" + } + + component = DirectoryCleaner { + directory = "${runtimeProject}/model/generated" + } + + component = DirectoryCleaner { + directory = "${runtimeProject}.ui/src-gen" + } + + component = DirectoryCleaner { + directory = "${runtimeProject}.tests/src-gen" + } + + component = Generator { + pathRtProject = runtimeProject + pathUiProject = "${runtimeProject}.ui" + pathTestProject = "${runtimeProject}.tests" + projectNameRt = projectName + projectNameUi = "${projectName}.ui" + encoding = encoding + language = auto-inject { + uri = grammarURI + + // Java API to access grammar elements (required by several other fragments) + fragment = grammarAccess.GrammarAccessFragment auto-inject {} + + // generates Java API for the generated EPackages + fragment = ecore.EMFGeneratorFragment auto-inject {} + + // the old serialization component + // fragment = parseTreeConstructor.ParseTreeConstructorFragment auto-inject {} + + // serializer 2.0 + fragment = serializer.SerializerFragment auto-inject { + generateStub = false + } + + // a custom ResourceFactory for use with EMF + fragment = resourceFactory.ResourceFactoryFragment auto-inject {} + + // The antlr parser generator fragment. + fragment = parser.antlr.XtextAntlrGeneratorFragment auto-inject { + // options = { + // backtrack = true + // } + } + + // Xtend-based API for validation + fragment = validation.ValidatorFragment auto-inject { + // composedCheck = "org.eclipse.xtext.validation.ImportUriValidator" + // composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator" + } + + // old scoping and exporting API + // fragment = scoping.ImportURIScopingFragment auto-inject {} + // fragment = exporting.SimpleNamesFragment auto-inject {} + + // scoping and exporting API + fragment = scoping.ImportNamespacesScopingFragment auto-inject {} + fragment = exporting.QualifiedNamesFragment auto-inject {} + fragment = builder.BuilderIntegrationFragment auto-inject {} + + // generator API + fragment = generator.GeneratorFragment auto-inject {} + + // formatter API + fragment = formatting.FormatterFragment auto-inject {} + + // labeling API + fragment = labeling.LabelProviderFragment auto-inject {} + + // outline API + fragment = outline.OutlineTreeProviderFragment auto-inject {} + fragment = outline.QuickOutlineFragment auto-inject {} + + // quickfix API + fragment = quickfix.QuickfixProviderFragment auto-inject {} + + // content assist API + fragment = contentAssist.ContentAssistFragment auto-inject {} + + // generates a more lightweight Antlr parser and lexer tailored for content assist + fragment = parser.antlr.XtextAntlrUiGeneratorFragment auto-inject {} + + // generates junit test support classes into Generator#pathTestProject + fragment = junit.Junit4Fragment auto-inject {} + + // rename refactoring + fragment = refactoring.RefactorElementNameFragment auto-inject {} + + // provides the necessary bindings for java types integration + fragment = types.TypesGeneratorFragment auto-inject {} + + // generates the required bindings only if the grammar inherits from Xbase + fragment = xbase.XbaseGeneratorFragment auto-inject {} + + // generates the required bindings only if the grammar inherits from Xtype + fragment = xbase.XtypeGeneratorFragment auto-inject {} + + // provides a preference page for template proposals + fragment = templates.CodetemplatesGeneratorFragment auto-inject {} + + // provides a compare view + fragment = compare.CompareFragment auto-inject {} + } + } +} + diff --git a/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.xtend b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.xtend new file mode 100644 index 000000000..25d8ab9b0 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.xtend @@ -0,0 +1,30 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.formatting + +import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter +import org.eclipse.xtext.formatting.impl.FormattingConfig +// import com.google.inject.Inject; +// import org.eclipse.sirius.expression.text.services.ExpressionTextGrammarAccess + +/** + * This class contains custom formatting declarations. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#formatting + * on how and when to use it. + * + * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example + */ +class ExpressionTextFormatter extends AbstractDeclarativeFormatter { + +// @Inject extension ExpressionTextGrammarAccess + + override protected void configureFormatting(FormattingConfig c) { +// It's usually a good idea to activate the following three statements. +// They will add and preserve newlines around comments +// c.setLinewrap(0, 1, 2).before(SL_COMMENTRule) +// c.setLinewrap(0, 1, 2).before(ML_COMMENTRule) +// c.setLinewrap(0, 1, 1).after(ML_COMMENTRule) + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.xtend b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.xtend new file mode 100644 index 000000000..31b99c36f --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.xtend @@ -0,0 +1,24 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.generator + +import org.eclipse.emf.ecore.resource.Resource +import org.eclipse.xtext.generator.IGenerator +import org.eclipse.xtext.generator.IFileSystemAccess + +/** + * Generates code from your model files on save. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation + */ +class ExpressionTextGenerator implements IGenerator { + + override void doGenerate(Resource resource, IFileSystemAccess fsa) { +// fsa.generateFile('greetings.txt', 'People to greet: ' + +// resource.allContents +// .filter(typeof(Greeting)) +// .map[name] +// .join(', ')) + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.xtend b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.xtend new file mode 100644 index 000000000..f429253ea --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.xtend @@ -0,0 +1,32 @@ +package org.eclipse.sirius.expression.text.scoping + +import org.eclipse.xtext.resource.containers.IContainerState +import org.eclipse.emf.common.util.URI +import org.eclipse.xtext.resource.containers.IAllContainersState + +class ExpressionTextContainerState implements IContainerState { + String root + IAllContainersState globalState + + new(String root, org.eclipse.xtext.resource.containers.IAllContainersState state) { + this.root = root + this.globalState = state + } + + override contains(URI uri) { + return getContents().contains(uri) + } + + override getContents() { + return globalState.getContainedURIs(root) + } + + override isEmpty() { + return globalState.isEmpty(root) + } + + override toString() { + return "container '" + root +"' from "+globalState + } + +} \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.xtend b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.xtend new file mode 100644 index 000000000..c7954ae5c --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.xtend @@ -0,0 +1,15 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.scoping + +/** + * This class contains custom scoping description. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping + * on how and when to use it. + * + */ +class ExpressionTextScopeProvider extends org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider { + +} diff --git a/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.xtend b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.xtend new file mode 100644 index 000000000..e56ae1fd6 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.xtend @@ -0,0 +1,19 @@ +package org.eclipse.sirius.expression.text.scoping + +import org.eclipse.xtext.resource.containers.StateBasedContainer +import org.eclipse.xtext.resource.IResourceDescriptions +import org.eclipse.xtext.resource.containers.IContainerState +import org.eclipse.xtext.resource.IEObjectDescription + +class ExpressionTextStateBasedContainer extends StateBasedContainer { + + new(IResourceDescriptions descriptions, IContainerState state) { + super(descriptions, state) + } + + override protected filterByURI(Iterable unfiltered) { + // Do not filter anything + return unfiltered + } + +} \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.xtend b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.xtend new file mode 100644 index 000000000..b031c982d --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.xtend @@ -0,0 +1,19 @@ +package org.eclipse.sirius.expression.text.scoping + +import org.eclipse.xtext.resource.IResourceDescriptions +import org.eclipse.xtext.resource.containers.FlatResourceSetBasedAllContainersState +import org.eclipse.xtext.resource.containers.StateBasedContainerManager + +class ExpressionTextStatedContainerManager extends StateBasedContainerManager { + + override protected createContainer(String handle, IResourceDescriptions resourceDescriptions) { + val state = getState(resourceDescriptions); + val containerState = new org.eclipse.sirius.expression.text.scoping.ExpressionTextContainerState(handle, state); + val result = new org.eclipse.sirius.expression.text.scoping.ExpressionTextStateBasedContainer(resourceDescriptions, containerState); + if (state instanceof FlatResourceSetBasedAllContainersState) + result.setUriToDescriptionCacheEnabled(false); + return result; + } + +} + diff --git a/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.xtend b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.xtend new file mode 100644 index 000000000..bba7549b1 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/src/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.xtend @@ -0,0 +1,25 @@ +/* + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.validation + +//import org.eclipse.xtext.validation.Check + +/** + * This class contains custom validation rules. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation + */ +class ExpressionTextValidator extends AbstractExpressionTextValidator { + +// public static val INVALID_NAME = 'invalidName' +// +// @Check +// def checkGreetingStartsWithCapital(Greeting greeting) { +// if (!Character.isUpperCase(greeting.name.charAt(0))) { +// warning('Name should start with a capital', +// MyDslPackage.Literals.GREETING__NAME, +// INVALID_NAME) +// } +// } +} diff --git a/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.java b/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.java new file mode 100644 index 000000000..993de606e --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/formatting/ExpressionTextFormatter.java @@ -0,0 +1,22 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.formatting; + +import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter; +import org.eclipse.xtext.formatting.impl.FormattingConfig; + +/** + * This class contains custom formatting declarations. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#formatting + * on how and when to use it. + * + * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example + */ +@SuppressWarnings("all") +public class ExpressionTextFormatter extends AbstractDeclarativeFormatter { + @Override + protected void configureFormatting(final FormattingConfig c) { + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.java b/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.java new file mode 100644 index 000000000..c7a70753b --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/generator/ExpressionTextGenerator.java @@ -0,0 +1,20 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.generator; + +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.xtext.generator.IFileSystemAccess; +import org.eclipse.xtext.generator.IGenerator; + +/** + * Generates code from your model files on save. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation + */ +@SuppressWarnings("all") +public class ExpressionTextGenerator implements IGenerator { + @Override + public void doGenerate(final Resource resource, final IFileSystemAccess fsa) { + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.java b/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.java new file mode 100644 index 000000000..4019d52dc --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextContainerState.java @@ -0,0 +1,39 @@ +package org.eclipse.sirius.expression.text.scoping; + +import java.util.Collection; +import org.eclipse.emf.common.util.URI; +import org.eclipse.xtext.resource.containers.IAllContainersState; +import org.eclipse.xtext.resource.containers.IContainerState; + +@SuppressWarnings("all") +public class ExpressionTextContainerState implements IContainerState { + private String root; + + private IAllContainersState globalState; + + public ExpressionTextContainerState(final String root, final IAllContainersState state) { + this.root = root; + this.globalState = state; + } + + @Override + public boolean contains(final URI uri) { + Collection _contents = this.getContents(); + return _contents.contains(uri); + } + + @Override + public Collection getContents() { + return this.globalState.getContainedURIs(this.root); + } + + @Override + public boolean isEmpty() { + return this.globalState.isEmpty(this.root); + } + + @Override + public String toString() { + return ((("container \'" + this.root) + "\' from ") + this.globalState); + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.java b/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.java new file mode 100644 index 000000000..78b0a1197 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextScopeProvider.java @@ -0,0 +1,16 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.scoping; + +import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider; + +/** + * This class contains custom scoping description. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping + * on how and when to use it. + */ +@SuppressWarnings("all") +public class ExpressionTextScopeProvider extends AbstractDeclarativeScopeProvider { +} diff --git a/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.java b/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.java new file mode 100644 index 000000000..83c7dd818 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStateBasedContainer.java @@ -0,0 +1,18 @@ +package org.eclipse.sirius.expression.text.scoping; + +import org.eclipse.xtext.resource.IEObjectDescription; +import org.eclipse.xtext.resource.IResourceDescriptions; +import org.eclipse.xtext.resource.containers.IContainerState; +import org.eclipse.xtext.resource.containers.StateBasedContainer; + +@SuppressWarnings("all") +public class ExpressionTextStateBasedContainer extends StateBasedContainer { + public ExpressionTextStateBasedContainer(final IResourceDescriptions descriptions, final IContainerState state) { + super(descriptions, state); + } + + @Override + protected Iterable filterByURI(final Iterable unfiltered) { + return unfiltered; + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.java b/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.java new file mode 100644 index 000000000..4916e0d1a --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/scoping/ExpressionTextStatedContainerManager.java @@ -0,0 +1,23 @@ +package org.eclipse.sirius.expression.text.scoping; + +import org.eclipse.sirius.expression.text.scoping.ExpressionTextContainerState; +import org.eclipse.sirius.expression.text.scoping.ExpressionTextStateBasedContainer; +import org.eclipse.xtext.resource.IContainer; +import org.eclipse.xtext.resource.IResourceDescriptions; +import org.eclipse.xtext.resource.containers.FlatResourceSetBasedAllContainersState; +import org.eclipse.xtext.resource.containers.IAllContainersState; +import org.eclipse.xtext.resource.containers.StateBasedContainerManager; + +@SuppressWarnings("all") +public class ExpressionTextStatedContainerManager extends StateBasedContainerManager { + @Override + protected IContainer createContainer(final String handle, final IResourceDescriptions resourceDescriptions) { + final IAllContainersState state = this.getState(resourceDescriptions); + final ExpressionTextContainerState containerState = new ExpressionTextContainerState(handle, state); + final ExpressionTextStateBasedContainer result = new ExpressionTextStateBasedContainer(resourceDescriptions, containerState); + if ((state instanceof FlatResourceSetBasedAllContainersState)) { + result.setUriToDescriptionCacheEnabled(false); + } + return result; + } +} diff --git a/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.java b/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.java new file mode 100644 index 000000000..071d10c16 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression.text/xtend-gen/org/eclipse/sirius/expression/text/validation/ExpressionTextValidator.java @@ -0,0 +1,15 @@ +/** + * generated by Xtext + */ +package org.eclipse.sirius.expression.text.validation; + +import org.eclipse.sirius.expression.text.validation.AbstractExpressionTextValidator; + +/** + * This class contains custom validation rules. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation + */ +@SuppressWarnings("all") +public class ExpressionTextValidator extends AbstractExpressionTextValidator { +} diff --git a/prototypes/org.eclipse.sirius.expression/.checkstyle b/prototypes/org.eclipse.sirius.expression/.checkstyle new file mode 100644 index 000000000..f1a81eec7 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/.checkstyle @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression/.classpath b/prototypes/org.eclipse.sirius.expression/.classpath new file mode 100644 index 000000000..6292ea58a --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/.classpath @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression/.project b/prototypes/org.eclipse.sirius.expression/.project new file mode 100644 index 000000000..27caa6d55 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/.project @@ -0,0 +1,41 @@ + + + org.eclipse.sirius.expression + + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + + org.eclipse.sirius.nature.modelingproject + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + net.sf.eclipsecs.core.CheckstyleNature + org.eclipse.xtext.ui.shared.xtextNature + + diff --git a/prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.core.prefs b/prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..fb8257839 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,398 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.builder.invalidClasspath=abort +org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=150 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +org.eclipse.jdt.core.incompleteClasspath=error +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.launching.prefs b/prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.launching.prefs new file mode 100644 index 000000000..3bb235278 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.launching.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.ui.prefs b/prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..e6ceed5c2 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,67 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;java;javax;org; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=false +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=false +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=true +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=false +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=false +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=false +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=false +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=false +sp_cleanup.remove_unused_private_types=false +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false +sp_cleanup.use_type_arguments=false diff --git a/prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.pde.prefs b/prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..3112e810d --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=1 +compilers.p.build.java.compiler=1 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=0 +compilers.p.missing-version-import-package=0 +compilers.p.missing-version-require-bundle=0 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=0 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/prototypes/org.eclipse.sirius.expression/META-INF/MANIFEST.MF b/prototypes/org.eclipse.sirius.expression/META-INF/MANIFEST.MF new file mode 100644 index 000000000..50c35b96e --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/META-INF/MANIFEST.MF @@ -0,0 +1,16 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.sirius.expression;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-ClassPath: . +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.sirius.expression;version="1.0.0", + org.eclipse.sirius.expression.impl;version="1.0.0", + org.eclipse.sirius.expression.util;version="1.0.0" +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", + org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)";visibility:=reexport, + org.eclipse.emf.ecore.xmi;bundle-version="[2.8.0,3.0.0)" +Bundle-ActivationPolicy: lazy diff --git a/prototypes/org.eclipse.sirius.expression/about.html b/prototypes/org.eclipse.sirius.expression/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

                About This Content

                + +

                June 15, 2010

                +

                License

                + +

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

                + +

                If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

                + + + \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.expression/build.properties b/prototypes/org.eclipse.sirius.expression/build.properties new file mode 100644 index 000000000..7dafef1b5 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/build.properties @@ -0,0 +1,16 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +bin.includes = .,\ + model/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties,\ + about.html +jars.compile.order = . +source.. = src-gen/ +output.. = bin/ +javacProjectSettings = true diff --git a/prototypes/org.eclipse.sirius.expression/model/expression.aird b/prototypes/org.eclipse.sirius.expression/model/expression.aird new file mode 100644 index 000000000..0320df907 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/model/expression.aird @@ -0,0 +1,928 @@ + + + http://www.eclipse.org/emf/2002/Ecore + expression.ecore + platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore + interpretedexpression.ecore + expression.genmodel + EEFExpression.xmi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression/model/expression.ecore b/prototypes/org.eclipse.sirius.expression/model/expression.ecore new file mode 100644 index 000000000..b932578e1 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/model/expression.ecore @@ -0,0 +1,120 @@ + + + + +
                + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + + + +
                + + + +
                + + + + +
                + + + + + + +
                + + + +
                + + + + +
                + + + + + + + + + + + + + +
                + + + + +
                + + + + +
                + + + + +
                + + + diff --git a/prototypes/org.eclipse.sirius.expression/model/expression.genmodel b/prototypes/org.eclipse.sirius.expression/model/expression.genmodel new file mode 100644 index 000000000..9cbc40829 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/model/expression.genmodel @@ -0,0 +1,48 @@ + + + expression.ecore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression/plugin.properties b/prototypes/org.eclipse.sirius.expression/plugin.properties new file mode 100644 index 000000000..ea65427ae --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/plugin.properties @@ -0,0 +1,8 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm + +pluginName = Sirius Expression Model +providerName = Eclipse Modeling Project diff --git a/prototypes/org.eclipse.sirius.expression/plugin.xml b/prototypes/org.eclipse.sirius.expression/plugin.xml new file mode 100644 index 000000000..975d0f12f --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/plugin.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java new file mode 100644 index 000000000..0efe9705f --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionFactory.java @@ -0,0 +1,92 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.sirius.expression.ExpressionPackage + * @generated + */ +public interface ExpressionFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + ExpressionFactory eINSTANCE = org.eclipse.sirius.expression.impl.ExpressionFactoryImpl.init(); + + /** + * Returns a new object of class 'Sirius Expression Package'. + * + * + * @return a new object of class 'Sirius Expression Package'. + * @generated + */ + SiriusExpressionPackage createSiriusExpressionPackage(); + + /** + * Returns a new object of class 'Sirius Expression Description'. + * + * + * @return a new object of class 'Sirius Expression Description'. + * @generated + */ + SiriusExpressionDescription createSiriusExpressionDescription(); + + /** + * Returns a new object of class 'Sirius Variable'. + * + * + * @return a new object of class 'Sirius Variable'. + * @generated + */ + SiriusVariable createSiriusVariable(); + + /** + * Returns a new object of class 'Sirius Expression Class'. + * + * + * @return a new object of class 'Sirius Expression Class'. + * @generated + */ + SiriusExpressionClass createSiriusExpressionClass(); + + /** + * Returns a new object of class 'Sirius Parameter'. + * + * + * @return a new object of class 'Sirius Parameter'. + * @generated + */ + SiriusParameter createSiriusParameter(); + + /** + * Returns a new object of class 'User Defined Variable'. + * + * + * @return a new object of class 'User Defined Variable'. + * @generated + */ + UserDefinedVariable createUserDefinedVariable(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + ExpressionPackage getExpressionPackage(); + +} //ExpressionFactory diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java new file mode 100644 index 000000000..59db87021 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/ExpressionPackage.java @@ -0,0 +1,1007 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
                  + *
                • each class,
                • + *
                • each feature of each class,
                • + *
                • each operation of each class,
                • + *
                • each enum,
                • + *
                • and each data type
                • + *
                + * + * @see org.eclipse.sirius.expression.ExpressionFactory + * @model kind="package" + * @generated + */ +public interface ExpressionPackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "expression"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.eclipse.org/sirius/expression"; //$NON-NLS-1$ + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "expression"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * + * + * @generated + */ + ExpressionPackage eINSTANCE = org.eclipse.sirius.expression.impl.ExpressionPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl Sirius Expression Package}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionPackage() + * @generated + */ + int SIRIUS_EXPRESSION_PACKAGE = 0; + + /** + * The feature id for the 'Expression Classes' containment reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES = 0; + + /** + * The feature id for the 'EPackage' reference. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_PACKAGE__EPACKAGE = 1; + + /** + * The number of structural features of the 'Sirius Expression Package' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_PACKAGE_FEATURE_COUNT = 2; + + /** + * The number of operations of the 'Sirius Expression Package' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_PACKAGE_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl Sirius Expression Description}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionDescription() + * @generated + */ + int SIRIUS_EXPRESSION_DESCRIPTION = 1; + + /** + * The feature id for the 'Lower Bound' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND = 0; + + /** + * The feature id for the 'Upper Bound' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND = 1; + + /** + * The feature id for the 'Expression' reference. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION = 2; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS = 3; + + /** + * The feature id for the 'Return Type' reference. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE = 4; + + /** + * The feature id for the 'Variable Containers' reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS = 5; + + /** + * The number of structural features of the 'Sirius Expression Description' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_DESCRIPTION_FEATURE_COUNT = 6; + + /** + * The number of operations of the 'Sirius Expression Description' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_DESCRIPTION_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusVariableImpl Sirius Variable}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusVariableImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusVariable() + * @generated + */ + int SIRIUS_VARIABLE = 2; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_VARIABLE__NAME = 0; + + /** + * The feature id for the 'Documentation' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_VARIABLE__DOCUMENTATION = 1; + + /** + * The feature id for the 'EType' reference. + * + * + * @generated + * @ordered + */ + int SIRIUS_VARIABLE__ETYPE = 2; + + /** + * The number of structural features of the 'Sirius Variable' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_VARIABLE_FEATURE_COUNT = 3; + + /** + * The number of operations of the 'Sirius Variable' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_VARIABLE_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionClass() + * @generated + */ + int SIRIUS_EXPRESSION_CLASS = 3; + + /** + * The feature id for the 'Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS__VARIABLES = 0; + + /** + * The feature id for the 'Expression Descriptions' containment reference list. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = 1; + + /** + * The feature id for the 'EClass' reference. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS__ECLASS = 2; + + /** + * The number of structural features of the 'Sirius Expression Class' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS_FEATURE_COUNT = 3; + + /** + * The number of operations of the 'Sirius Expression Class' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_EXPRESSION_CLASS_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.impl.SiriusParameterImpl Sirius Parameter}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusParameterImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusParameter() + * @generated + */ + int SIRIUS_PARAMETER = 4; + + /** + * The feature id for the 'Optional' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_PARAMETER__OPTIONAL = 0; + + /** + * The feature id for the 'Variable' reference. + * + * + * @generated + * @ordered + */ + int SIRIUS_PARAMETER__VARIABLE = 1; + + /** + * The number of structural features of the 'Sirius Parameter' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_PARAMETER_FEATURE_COUNT = 2; + + /** + * The number of operations of the 'Sirius Parameter' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_PARAMETER_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.sirius.expression.impl.UserDefinedVariableImpl User Defined Variable}' class. + * + * + * @see org.eclipse.sirius.expression.impl.UserDefinedVariableImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getUserDefinedVariable() + * @generated + */ + int USER_DEFINED_VARIABLE = 5; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int USER_DEFINED_VARIABLE__NAME = SIRIUS_VARIABLE__NAME; + + /** + * The feature id for the 'Documentation' attribute. + * + * + * @generated + * @ordered + */ + int USER_DEFINED_VARIABLE__DOCUMENTATION = SIRIUS_VARIABLE__DOCUMENTATION; + + /** + * The feature id for the 'EType' reference. + * + * + * @generated + * @ordered + */ + int USER_DEFINED_VARIABLE__ETYPE = SIRIUS_VARIABLE__ETYPE; + + /** + * The feature id for the 'Value Expression' attribute. + * + * + * @generated + * @ordered + */ + int USER_DEFINED_VARIABLE__VALUE_EXPRESSION = SIRIUS_VARIABLE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'User Defined Variable' class. + * + * + * @generated + * @ordered + */ + int USER_DEFINED_VARIABLE_FEATURE_COUNT = SIRIUS_VARIABLE_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'User Defined Variable' class. + * + * + * @generated + * @ordered + */ + int USER_DEFINED_VARIABLE_OPERATION_COUNT = SIRIUS_VARIABLE_OPERATION_COUNT + 0; + + /** + * The meta object id for the 'Void' data type. + * + * + * @see java.lang.Void + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getVoid() + * @generated + */ + int VOID = 6; + + /** + * The meta object id for the 'Object' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getObject() + * @generated + */ + int OBJECT = 7; + + /** + * The meta object id for the 'Predicate' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getPredicate() + * @generated + */ + int PREDICATE = 8; + + + /** + * The meta object id for the 'Expression' data type. + * + * + * @see java.lang.String + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getExpression() + * @generated + */ + int EXPRESSION = 9; + + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusExpressionPackage Sirius Expression Package}'. + * + * + * @return the meta object for class 'Sirius Expression Package'. + * @see org.eclipse.sirius.expression.SiriusExpressionPackage + * @generated + */ + EClass getSiriusExpressionPackage(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.SiriusExpressionPackage#getExpressionClasses Expression Classes}'. + * + * + * @return the meta object for the containment reference list 'Expression Classes'. + * @see org.eclipse.sirius.expression.SiriusExpressionPackage#getExpressionClasses() + * @see #getSiriusExpressionPackage() + * @generated + */ + EReference getSiriusExpressionPackage_ExpressionClasses(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusExpressionPackage#getEPackage EPackage}'. + * + * + * @return the meta object for the reference 'EPackage'. + * @see org.eclipse.sirius.expression.SiriusExpressionPackage#getEPackage() + * @see #getSiriusExpressionPackage() + * @generated + */ + EReference getSiriusExpressionPackage_EPackage(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusExpressionDescription Sirius Expression Description}'. + * + * + * @return the meta object for class 'Sirius Expression Description'. + * @see org.eclipse.sirius.expression.SiriusExpressionDescription + * @generated + */ + EClass getSiriusExpressionDescription(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getLowerBound Lower Bound}'. + * + * + * @return the meta object for the attribute 'Lower Bound'. + * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getLowerBound() + * @see #getSiriusExpressionDescription() + * @generated + */ + EAttribute getSiriusExpressionDescription_LowerBound(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getUpperBound Upper Bound}'. + * + * + * @return the meta object for the attribute 'Upper Bound'. + * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getUpperBound() + * @see #getSiriusExpressionDescription() + * @generated + */ + EAttribute getSiriusExpressionDescription_UpperBound(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getExpression Expression}'. + * + * + * @return the meta object for the reference 'Expression'. + * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getExpression() + * @see #getSiriusExpressionDescription() + * @generated + */ + EReference getSiriusExpressionDescription_Expression(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getParameters Parameters}'. + * + * + * @return the meta object for the containment reference list 'Parameters'. + * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getParameters() + * @see #getSiriusExpressionDescription() + * @generated + */ + EReference getSiriusExpressionDescription_Parameters(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getReturnType Return Type}'. + * + * + * @return the meta object for the reference 'Return Type'. + * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getReturnType() + * @see #getSiriusExpressionDescription() + * @generated + */ + EReference getSiriusExpressionDescription_ReturnType(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getVariableContainers Variable Containers}'. + * + * + * @return the meta object for the reference list 'Variable Containers'. + * @see org.eclipse.sirius.expression.SiriusExpressionDescription#getVariableContainers() + * @see #getSiriusExpressionDescription() + * @generated + */ + EReference getSiriusExpressionDescription_VariableContainers(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusVariable Sirius Variable}'. + * + * + * @return the meta object for class 'Sirius Variable'. + * @see org.eclipse.sirius.expression.SiriusVariable + * @generated + */ + EClass getSiriusVariable(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusVariable#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.sirius.expression.SiriusVariable#getName() + * @see #getSiriusVariable() + * @generated + */ + EAttribute getSiriusVariable_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusVariable#getDocumentation Documentation}'. + * + * + * @return the meta object for the attribute 'Documentation'. + * @see org.eclipse.sirius.expression.SiriusVariable#getDocumentation() + * @see #getSiriusVariable() + * @generated + */ + EAttribute getSiriusVariable_Documentation(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusVariable#getEType EType}'. + * + * + * @return the meta object for the reference 'EType'. + * @see org.eclipse.sirius.expression.SiriusVariable#getEType() + * @see #getSiriusVariable() + * @generated + */ + EReference getSiriusVariable_EType(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusExpressionClass Sirius Expression Class}'. + * + * + * @return the meta object for class 'Sirius Expression Class'. + * @see org.eclipse.sirius.expression.SiriusExpressionClass + * @generated + */ + EClass getSiriusExpressionClass(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getVariables Variables}'. + * + * + * @return the meta object for the containment reference list 'Variables'. + * @see org.eclipse.sirius.expression.SiriusExpressionClass#getVariables() + * @see #getSiriusExpressionClass() + * @generated + */ + EReference getSiriusExpressionClass_Variables(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getExpressionDescriptions Expression Descriptions}'. + * + * + * @return the meta object for the containment reference list 'Expression Descriptions'. + * @see org.eclipse.sirius.expression.SiriusExpressionClass#getExpressionDescriptions() + * @see #getSiriusExpressionClass() + * @generated + */ + EReference getSiriusExpressionClass_ExpressionDescriptions(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getEClass EClass}'. + * + * + * @return the meta object for the reference 'EClass'. + * @see org.eclipse.sirius.expression.SiriusExpressionClass#getEClass() + * @see #getSiriusExpressionClass() + * @generated + */ + EReference getSiriusExpressionClass_EClass(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.SiriusParameter Sirius Parameter}'. + * + * + * @return the meta object for class 'Sirius Parameter'. + * @see org.eclipse.sirius.expression.SiriusParameter + * @generated + */ + EClass getSiriusParameter(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.SiriusParameter#isOptional Optional}'. + * + * + * @return the meta object for the attribute 'Optional'. + * @see org.eclipse.sirius.expression.SiriusParameter#isOptional() + * @see #getSiriusParameter() + * @generated + */ + EAttribute getSiriusParameter_Optional(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.sirius.expression.SiriusParameter#getVariable Variable}'. + * + * + * @return the meta object for the reference 'Variable'. + * @see org.eclipse.sirius.expression.SiriusParameter#getVariable() + * @see #getSiriusParameter() + * @generated + */ + EReference getSiriusParameter_Variable(); + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.expression.UserDefinedVariable User Defined Variable}'. + * + * + * @return the meta object for class 'User Defined Variable'. + * @see org.eclipse.sirius.expression.UserDefinedVariable + * @generated + */ + EClass getUserDefinedVariable(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.expression.UserDefinedVariable#getValueExpression Value Expression}'. + * + * + * @return the meta object for the attribute 'Value Expression'. + * @see org.eclipse.sirius.expression.UserDefinedVariable#getValueExpression() + * @see #getUserDefinedVariable() + * @generated + */ + EAttribute getUserDefinedVariable_ValueExpression(); + + /** + * Returns the meta object for data type '{@link java.lang.Void Void}'. + * + * + * @return the meta object for data type 'Void'. + * @see java.lang.Void + * @model instanceClass="java.lang.Void" + * @generated + */ + EDataType getVoid(); + + /** + * Returns the meta object for data type '{@link java.lang.Object Object}'. + * + * + * @return the meta object for data type 'Object'. + * @see java.lang.Object + * @model instanceClass="java.lang.Object" + * @generated + */ + EDataType getObject(); + + /** + * Returns the meta object for data type '{@link java.lang.Object Predicate}'. + * + * + * @return the meta object for data type 'Predicate'. + * @see java.lang.Object + * @model instanceClass="java.lang.Object" + * @generated + */ + EDataType getPredicate(); + + /** + * Returns the meta object for data type '{@link java.lang.String Expression}'. + * + * + * @return the meta object for data type 'Expression'. + * @see java.lang.String + * @model instanceClass="java.lang.String" + * @generated + */ + EDataType getExpression(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + ExpressionFactory getExpressionFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
                  + *
                • each class,
                • + *
                • each feature of each class,
                • + *
                • each operation of each class,
                • + *
                • each enum,
                • + *
                • and each data type
                • + *
                + * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl Sirius Expression Package}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionPackage() + * @generated + */ + EClass SIRIUS_EXPRESSION_PACKAGE = eINSTANCE.getSiriusExpressionPackage(); + + /** + * The meta object literal for the 'Expression Classes' containment reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES = eINSTANCE.getSiriusExpressionPackage_ExpressionClasses(); + + /** + * The meta object literal for the 'EPackage' reference feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_PACKAGE__EPACKAGE = eINSTANCE.getSiriusExpressionPackage_EPackage(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl Sirius Expression Description}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionDescription() + * @generated + */ + EClass SIRIUS_EXPRESSION_DESCRIPTION = eINSTANCE.getSiriusExpressionDescription(); + + /** + * The meta object literal for the 'Lower Bound' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND = eINSTANCE.getSiriusExpressionDescription_LowerBound(); + + /** + * The meta object literal for the 'Upper Bound' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND = eINSTANCE.getSiriusExpressionDescription_UpperBound(); + + /** + * The meta object literal for the 'Expression' reference feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION = eINSTANCE.getSiriusExpressionDescription_Expression(); + + /** + * The meta object literal for the 'Parameters' containment reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS = eINSTANCE.getSiriusExpressionDescription_Parameters(); + + /** + * The meta object literal for the 'Return Type' reference feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE = eINSTANCE.getSiriusExpressionDescription_ReturnType(); + + /** + * The meta object literal for the 'Variable Containers' reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS = eINSTANCE.getSiriusExpressionDescription_VariableContainers(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusVariableImpl Sirius Variable}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusVariableImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusVariable() + * @generated + */ + EClass SIRIUS_VARIABLE = eINSTANCE.getSiriusVariable(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_VARIABLE__NAME = eINSTANCE.getSiriusVariable_Name(); + + /** + * The meta object literal for the 'Documentation' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_VARIABLE__DOCUMENTATION = eINSTANCE.getSiriusVariable_Documentation(); + + /** + * The meta object literal for the 'EType' reference feature. + * + * + * @generated + */ + EReference SIRIUS_VARIABLE__ETYPE = eINSTANCE.getSiriusVariable_EType(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl Sirius Expression Class}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusExpressionClass() + * @generated + */ + EClass SIRIUS_EXPRESSION_CLASS = eINSTANCE.getSiriusExpressionClass(); + + /** + * The meta object literal for the 'Variables' containment reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_CLASS__VARIABLES = eINSTANCE.getSiriusExpressionClass_Variables(); + + /** + * The meta object literal for the 'Expression Descriptions' containment reference list feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS = eINSTANCE.getSiriusExpressionClass_ExpressionDescriptions(); + + /** + * The meta object literal for the 'EClass' reference feature. + * + * + * @generated + */ + EReference SIRIUS_EXPRESSION_CLASS__ECLASS = eINSTANCE.getSiriusExpressionClass_EClass(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.SiriusParameterImpl Sirius Parameter}' class. + * + * + * @see org.eclipse.sirius.expression.impl.SiriusParameterImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getSiriusParameter() + * @generated + */ + EClass SIRIUS_PARAMETER = eINSTANCE.getSiriusParameter(); + + /** + * The meta object literal for the 'Optional' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_PARAMETER__OPTIONAL = eINSTANCE.getSiriusParameter_Optional(); + + /** + * The meta object literal for the 'Variable' reference feature. + * + * + * @generated + */ + EReference SIRIUS_PARAMETER__VARIABLE = eINSTANCE.getSiriusParameter_Variable(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.expression.impl.UserDefinedVariableImpl User Defined Variable}' class. + * + * + * @see org.eclipse.sirius.expression.impl.UserDefinedVariableImpl + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getUserDefinedVariable() + * @generated + */ + EClass USER_DEFINED_VARIABLE = eINSTANCE.getUserDefinedVariable(); + + /** + * The meta object literal for the 'Value Expression' attribute feature. + * + * + * @generated + */ + EAttribute USER_DEFINED_VARIABLE__VALUE_EXPRESSION = eINSTANCE.getUserDefinedVariable_ValueExpression(); + + /** + * The meta object literal for the 'Void' data type. + * + * + * @see java.lang.Void + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getVoid() + * @generated + */ + EDataType VOID = eINSTANCE.getVoid(); + + /** + * The meta object literal for the 'Object' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getObject() + * @generated + */ + EDataType OBJECT = eINSTANCE.getObject(); + + /** + * The meta object literal for the 'Predicate' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getPredicate() + * @generated + */ + EDataType PREDICATE = eINSTANCE.getPredicate(); + + /** + * The meta object literal for the 'Expression' data type. + * + * + * @see java.lang.String + * @see org.eclipse.sirius.expression.impl.ExpressionPackageImpl#getExpression() + * @generated + */ + EDataType EXPRESSION = eINSTANCE.getExpression(); + + } + +} //ExpressionPackage diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java new file mode 100644 index 000000000..450ed2fdc --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionClass.java @@ -0,0 +1,94 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Sirius Expression Class'. + * + * + * + * Holds expression descriptions and variables. + * + * + *

                + * The following features are supported: + *

                + *
                  + *
                • {@link org.eclipse.sirius.expression.SiriusExpressionClass#getVariables Variables}
                • + *
                • {@link org.eclipse.sirius.expression.SiriusExpressionClass#getExpressionDescriptions Expression Descriptions}
                • + *
                • {@link org.eclipse.sirius.expression.SiriusExpressionClass#getEClass EClass}
                • + *
                + * + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionClass() + * @model + * @generated + */ +public interface SiriusExpressionClass extends EObject { + /** + * Returns the value of the 'Variables' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.SiriusVariable}. + * + * + * + * References the variables. Variables are global as they can be referenced by any expression description. + * + * @return the value of the 'Variables' containment reference list. + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionClass_Variables() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getVariables(); + + /** + * Returns the value of the 'Expression Descriptions' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.SiriusExpressionDescription}. + * + * + * + * References the expressions. + * + * @return the value of the 'Expression Descriptions' containment reference list. + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionClass_ExpressionDescriptions() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getExpressionDescriptions(); + + /** + * Returns the value of the 'EClass' reference. + * + *

                + * If the meaning of the 'EClass' reference isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'EClass' reference. + * @see #setEClass(EClass) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionClass_EClass() + * @model + * @generated + */ + EClass getEClass(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionClass#getEClass EClass}' reference. + * + * + * @param value the new value of the 'EClass' reference. + * @see #getEClass() + * @generated + */ + void setEClass(EClass value); + +} // SiriusExpressionClass diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionDescription.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionDescription.java new file mode 100644 index 000000000..f13ec2a60 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionDescription.java @@ -0,0 +1,174 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EStructuralFeature; + +/** + * + * A representation of the model object 'Sirius Expression Description'. + * + * + * + * Defines an expression. + * + * + *

                + * The following features are supported: + *

                + *
                  + *
                • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getLowerBound Lower Bound}
                • + *
                • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getUpperBound Upper Bound}
                • + *
                • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getExpression Expression}
                • + *
                • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getParameters Parameters}
                • + *
                • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getReturnType Return Type}
                • + *
                • {@link org.eclipse.sirius.expression.SiriusExpressionDescription#getVariableContainers Variable Containers}
                • + *
                + * + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription() + * @model + * @generated + */ +public interface SiriusExpressionDescription extends EObject { + /** + * Returns the value of the 'Lower Bound' attribute. + * + * + * + * Defines the return type lower bound. + * + * @return the value of the 'Lower Bound' attribute. + * @see #setLowerBound(int) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_LowerBound() + * @model + * @generated + */ + int getLowerBound(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getLowerBound Lower Bound}' attribute. + * + * + * @param value the new value of the 'Lower Bound' attribute. + * @see #getLowerBound() + * @generated + */ + void setLowerBound(int value); + + /** + * Returns the value of the 'Upper Bound' attribute. + * The default value is "1". + * + * + * + * Defines the return type upper bound. + * + * @return the value of the 'Upper Bound' attribute. + * @see #setUpperBound(int) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_UpperBound() + * @model default="1" + * @generated + */ + int getUpperBound(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getUpperBound Upper Bound}' attribute. + * + * + * @param value the new value of the 'Upper Bound' attribute. + * @see #getUpperBound() + * @generated + */ + void setUpperBound(int value); + + /** + * Returns the value of the 'Expression' reference. + * + * + * + * References an expression from another metamodel. + * + * @return the value of the 'Expression' reference. + * @see #setExpression(EStructuralFeature) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_Expression() + * @model + * @generated + */ + EStructuralFeature getExpression(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getExpression Expression}' reference. + * + * + * @param value the new value of the 'Expression' reference. + * @see #getExpression() + * @generated + */ + void setExpression(EStructuralFeature value); + + /** + * Returns the value of the 'Parameters' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.SiriusParameter}. + * + * + * + * Contains the variables associated to an expression description. + * + * @return the value of the 'Parameters' containment reference list. + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_Parameters() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getParameters(); + + /** + * Returns the value of the 'Return Type' reference. + * + * + * + * Defines the return type of an expression. + * + * @return the value of the 'Return Type' reference. + * @see #setReturnType(EClassifier) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_ReturnType() + * @model + * @generated + */ + EClassifier getReturnType(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionDescription#getReturnType Return Type}' reference. + * + * + * @param value the new value of the 'Return Type' reference. + * @see #getReturnType() + * @generated + */ + void setReturnType(EClassifier value); + + /** + * Returns the value of the 'Variable Containers' reference list. + * The list contents are of type {@link org.eclipse.emf.ecore.EClass}. + * + * + * + * References contextable elements to get the associated context variables. + * + * @return the value of the 'Variable Containers' reference list. + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionDescription_VariableContainers() + * @model + * @generated + */ + EList getVariableContainers(); + +} // SiriusExpressionDescription diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionPackage.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionPackage.java new file mode 100644 index 000000000..0198a0d36 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusExpressionPackage.java @@ -0,0 +1,77 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +/** + * + * A representation of the model object 'Sirius Expression Package'. + * + * + * + * An ExpressionPackage is the root concept of the expression metamodel. This metamodel is used to define the link between expressions and the variables that could be used by the expressions.An ExpressionPackage defines groups of ExpressionClasses. + * + * + *

                + * The following features are supported: + *

                + *
                  + *
                • {@link org.eclipse.sirius.expression.SiriusExpressionPackage#getExpressionClasses Expression Classes}
                • + *
                • {@link org.eclipse.sirius.expression.SiriusExpressionPackage#getEPackage EPackage}
                • + *
                + * + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionPackage() + * @model + * @generated + */ +public interface SiriusExpressionPackage extends EObject { + /** + * Returns the value of the 'Expression Classes' containment reference list. + * The list contents are of type {@link org.eclipse.sirius.expression.SiriusExpressionClass}. + * + * + * + * References expression classes. + * + * @return the value of the 'Expression Classes' containment reference list. + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionPackage_ExpressionClasses() + * @model containment="true" resolveProxies="true" + * @generated + */ + EList getExpressionClasses(); + + /** + * Returns the value of the 'EPackage' reference. + * + * + * + * References the ePackage of the EClasses defining expressions. + * + * @return the value of the 'EPackage' reference. + * @see #setEPackage(EPackage) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusExpressionPackage_EPackage() + * @model + * @generated + */ + EPackage getEPackage(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusExpressionPackage#getEPackage EPackage}' reference. + * + * + * @param value the new value of the 'EPackage' reference. + * @see #getEPackage() + * @generated + */ + void setEPackage(EPackage value); + +} // SiriusExpressionPackage diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusParameter.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusParameter.java new file mode 100644 index 000000000..6aab57425 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusParameter.java @@ -0,0 +1,82 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Sirius Parameter'. + * + * + *

                + * The following features are supported: + *

                + *
                  + *
                • {@link org.eclipse.sirius.expression.SiriusParameter#isOptional Optional}
                • + *
                • {@link org.eclipse.sirius.expression.SiriusParameter#getVariable Variable}
                • + *
                + * + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusParameter() + * @model + * @generated + */ +public interface SiriusParameter extends EObject { + /** + * Returns the value of the 'Optional' attribute. + * + *

                + * If the meaning of the 'Optional' attribute isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'Optional' attribute. + * @see #setOptional(boolean) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusParameter_Optional() + * @model + * @generated + */ + boolean isOptional(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusParameter#isOptional Optional}' attribute. + * + * + * @param value the new value of the 'Optional' attribute. + * @see #isOptional() + * @generated + */ + void setOptional(boolean value); + + /** + * Returns the value of the 'Variable' reference. + * + *

                + * If the meaning of the 'Variable' reference isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'Variable' reference. + * @see #setVariable(SiriusVariable) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusParameter_Variable() + * @model + * @generated + */ + SiriusVariable getVariable(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusParameter#getVariable Variable}' reference. + * + * + * @param value the new value of the 'Variable' reference. + * @see #getVariable() + * @generated + */ + void setVariable(SiriusVariable value); + +} // SiriusParameter diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusVariable.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusVariable.java new file mode 100644 index 000000000..6f8d422bd --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/SiriusVariable.java @@ -0,0 +1,112 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Sirius Variable'. + * + * + * + * Represents a variable. + * + * + *

                + * The following features are supported: + *

                + *
                  + *
                • {@link org.eclipse.sirius.expression.SiriusVariable#getName Name}
                • + *
                • {@link org.eclipse.sirius.expression.SiriusVariable#getDocumentation Documentation}
                • + *
                • {@link org.eclipse.sirius.expression.SiriusVariable#getEType EType}
                • + *
                + * + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusVariable() + * @model + * @generated + */ +public interface SiriusVariable extends EObject { + /** + * Returns the value of the 'Name' attribute. + * + * + * + * Defines the name of the varriable. + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusVariable_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusVariable#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Documentation' attribute. + * + * + * + * Defines the documentation of the variables. + * + * @return the value of the 'Documentation' attribute. + * @see #setDocumentation(String) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusVariable_Documentation() + * @model + * @generated + */ + String getDocumentation(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusVariable#getDocumentation Documentation}' attribute. + * + * + * @param value the new value of the 'Documentation' attribute. + * @see #getDocumentation() + * @generated + */ + void setDocumentation(String value); + + /** + * Returns the value of the 'EType' reference. + * + *

                + * If the meaning of the 'EType' reference isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'EType' reference. + * @see #setEType(EClassifier) + * @see org.eclipse.sirius.expression.ExpressionPackage#getSiriusVariable_EType() + * @model + * @generated + */ + EClassifier getEType(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.SiriusVariable#getEType EType}' reference. + * + * + * @param value the new value of the 'EType' reference. + * @see #getEType() + * @generated + */ + void setEType(EClassifier value); + +} // SiriusVariable diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/UserDefinedVariable.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/UserDefinedVariable.java new file mode 100644 index 000000000..ac0423264 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/UserDefinedVariable.java @@ -0,0 +1,54 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + + +/** + * + * A representation of the model object 'User Defined Variable'. + * + * + *

                + * The following features are supported: + *

                + *
                  + *
                • {@link org.eclipse.sirius.expression.UserDefinedVariable#getValueExpression Value Expression}
                • + *
                + * + * @see org.eclipse.sirius.expression.ExpressionPackage#getUserDefinedVariable() + * @model + * @generated + */ +public interface UserDefinedVariable extends SiriusVariable { + /** + * Returns the value of the 'Value Expression' attribute. + * + *

                + * If the meaning of the 'Value Expression' attribute isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'Value Expression' attribute. + * @see #setValueExpression(String) + * @see org.eclipse.sirius.expression.ExpressionPackage#getUserDefinedVariable_ValueExpression() + * @model dataType="org.eclipse.sirius.expression.Expression" + * @generated + */ + String getValueExpression(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.UserDefinedVariable#getValueExpression Value Expression}' attribute. + * + * + * @param value the new value of the 'Value Expression' attribute. + * @see #getValueExpression() + * @generated + */ + void setValueExpression(String value); + +} // UserDefinedVariable diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/Variable.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/Variable.java new file mode 100644 index 000000000..a169b71fd --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/Variable.java @@ -0,0 +1,84 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Variable'. + * + * + * + * Represents a variable. + * + * + *

                + * The following features are supported: + *

                + *
                  + *
                • {@link org.eclipse.sirius.expression.Variable#getName Name}
                • + *
                • {@link org.eclipse.sirius.expression.Variable#getDocumentation Documentation}
                • + *
                + * + * @see org.eclipse.sirius.expression.ExpressionPackage#getVariable() + * @model + * @generated + */ +public interface Variable extends EObject { + /** + * Returns the value of the 'Name' attribute. + * + * + * + * Defines the name of the varriable. + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.sirius.expression.ExpressionPackage#getVariable_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.Variable#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Documentation' attribute. + * + * + * + * Defines the documentation of the variables. + * + * @return the value of the 'Documentation' attribute. + * @see #setDocumentation(String) + * @see org.eclipse.sirius.expression.ExpressionPackage#getVariable_Documentation() + * @model + * @generated + */ + String getDocumentation(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.expression.Variable#getDocumentation Documentation}' attribute. + * + * + * @param value the new value of the 'Documentation' attribute. + * @see #getDocumentation() + * @generated + */ + void setDocumentation(String value); + +} // Variable diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java new file mode 100644 index 000000000..35433f597 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionFactoryImpl.java @@ -0,0 +1,270 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.sirius.expression.*; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class ExpressionFactoryImpl extends EFactoryImpl implements ExpressionFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static ExpressionFactory init() { + try { + ExpressionFactory theExpressionFactory = (ExpressionFactory)EPackage.Registry.INSTANCE.getEFactory(ExpressionPackage.eNS_URI); + if (theExpressionFactory != null) { + return theExpressionFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new ExpressionFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public ExpressionFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE: return createSiriusExpressionPackage(); + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION: return createSiriusExpressionDescription(); + case ExpressionPackage.SIRIUS_VARIABLE: return createSiriusVariable(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS: return createSiriusExpressionClass(); + case ExpressionPackage.SIRIUS_PARAMETER: return createSiriusParameter(); + case ExpressionPackage.USER_DEFINED_VARIABLE: return createUserDefinedVariable(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case ExpressionPackage.VOID: + return createVoidFromString(eDataType, initialValue); + case ExpressionPackage.OBJECT: + return createObjectFromString(eDataType, initialValue); + case ExpressionPackage.PREDICATE: + return createPredicateFromString(eDataType, initialValue); + case ExpressionPackage.EXPRESSION: + return createExpressionFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case ExpressionPackage.VOID: + return convertVoidToString(eDataType, instanceValue); + case ExpressionPackage.OBJECT: + return convertObjectToString(eDataType, instanceValue); + case ExpressionPackage.PREDICATE: + return convertPredicateToString(eDataType, instanceValue); + case ExpressionPackage.EXPRESSION: + return convertExpressionToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * + * + * @generated + */ + public SiriusExpressionPackage createSiriusExpressionPackage() { + SiriusExpressionPackageImpl siriusExpressionPackage = new SiriusExpressionPackageImpl(); + return siriusExpressionPackage; + } + + /** + * + * + * @generated + */ + public SiriusExpressionDescription createSiriusExpressionDescription() { + SiriusExpressionDescriptionImpl siriusExpressionDescription = new SiriusExpressionDescriptionImpl(); + return siriusExpressionDescription; + } + + /** + * + * + * @generated + */ + public SiriusVariable createSiriusVariable() { + SiriusVariableImpl siriusVariable = new SiriusVariableImpl(); + return siriusVariable; + } + + /** + * + * + * @generated + */ + public SiriusExpressionClass createSiriusExpressionClass() { + SiriusExpressionClassImpl siriusExpressionClass = new SiriusExpressionClassImpl(); + return siriusExpressionClass; + } + + /** + * + * + * @generated + */ + public SiriusParameter createSiriusParameter() { + SiriusParameterImpl siriusParameter = new SiriusParameterImpl(); + return siriusParameter; + } + + /** + * + * + * @generated + */ + public UserDefinedVariable createUserDefinedVariable() { + UserDefinedVariableImpl userDefinedVariable = new UserDefinedVariableImpl(); + return userDefinedVariable; + } + + /** + * + * + * @generated + */ + public Void createVoidFromString(EDataType eDataType, String initialValue) { + return (Void)super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertVoidToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public Object createObjectFromString(EDataType eDataType, String initialValue) { + return super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertObjectToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public Object createPredicateFromString(EDataType eDataType, String initialValue) { + return super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertPredicateToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public String createExpressionFromString(EDataType eDataType, String initialValue) { + return (String)super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertExpressionToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public ExpressionPackage getExpressionPackage() { + return (ExpressionPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static ExpressionPackage getPackage() { + return ExpressionPackage.eINSTANCE; + } + +} //ExpressionFactoryImpl diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java new file mode 100644 index 000000000..bf4a9e42f --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/ExpressionPackageImpl.java @@ -0,0 +1,548 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.EcorePackage; +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.sirius.expression.ExpressionFactory; +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionClass; +import org.eclipse.sirius.expression.SiriusExpressionDescription; +import org.eclipse.sirius.expression.SiriusExpressionPackage; +import org.eclipse.sirius.expression.SiriusParameter; +import org.eclipse.sirius.expression.SiriusVariable; +import org.eclipse.sirius.expression.UserDefinedVariable; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPackage { + /** + * + * + * @generated + */ + private EClass siriusExpressionPackageEClass = null; + + /** + * + * + * @generated + */ + private EClass siriusExpressionDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass siriusVariableEClass = null; + + /** + * + * + * @generated + */ + private EClass siriusExpressionClassEClass = null; + + /** + * + * + * @generated + */ + private EClass siriusParameterEClass = null; + + /** + * + * + * @generated + */ + private EClass userDefinedVariableEClass = null; + + /** + * + * + * @generated + */ + private EDataType voidEDataType = null; + + /** + * + * + * @generated + */ + private EDataType objectEDataType = null; + + /** + * + * + * @generated + */ + private EDataType predicateEDataType = null; + + /** + * + * + * @generated + */ + private EDataType expressionEDataType = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

                Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.sirius.expression.ExpressionPackage#eNS_URI + * @see #init() + * @generated + */ + private ExpressionPackageImpl() { + super(eNS_URI, ExpressionFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

                This method is used to initialize {@link ExpressionPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ExpressionPackage init() { + if (isInited) return (ExpressionPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionPackage.eNS_URI); + + // Obtain or create and register package + ExpressionPackageImpl theExpressionPackage = (ExpressionPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ExpressionPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ExpressionPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + EcorePackage.eINSTANCE.eClass(); + + // Create package meta-data objects + theExpressionPackage.createPackageContents(); + + // Initialize created meta-data + theExpressionPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theExpressionPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ExpressionPackage.eNS_URI, theExpressionPackage); + return theExpressionPackage; + } + + /** + * + * + * @generated + */ + public EClass getSiriusExpressionPackage() { + return siriusExpressionPackageEClass; + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionPackage_ExpressionClasses() { + return (EReference)siriusExpressionPackageEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionPackage_EPackage() { + return (EReference)siriusExpressionPackageEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getSiriusExpressionDescription() { + return siriusExpressionDescriptionEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusExpressionDescription_LowerBound() { + return (EAttribute)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusExpressionDescription_UpperBound() { + return (EAttribute)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionDescription_Expression() { + return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionDescription_Parameters() { + return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionDescription_ReturnType() { + return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionDescription_VariableContainers() { + return (EReference)siriusExpressionDescriptionEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EClass getSiriusVariable() { + return siriusVariableEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusVariable_Name() { + return (EAttribute)siriusVariableEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusVariable_Documentation() { + return (EAttribute)siriusVariableEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getSiriusVariable_EType() { + return (EReference)siriusVariableEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getSiriusExpressionClass() { + return siriusExpressionClassEClass; + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionClass_Variables() { + return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionClass_ExpressionDescriptions() { + return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getSiriusExpressionClass_EClass() { + return (EReference)siriusExpressionClassEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getSiriusParameter() { + return siriusParameterEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusParameter_Optional() { + return (EAttribute)siriusParameterEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getSiriusParameter_Variable() { + return (EReference)siriusParameterEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getUserDefinedVariable() { + return userDefinedVariableEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getUserDefinedVariable_ValueExpression() { + return (EAttribute)userDefinedVariableEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EDataType getVoid() { + return voidEDataType; + } + + /** + * + * + * @generated + */ + public EDataType getObject() { + return objectEDataType; + } + + /** + * + * + * @generated + */ + public EDataType getPredicate() { + return predicateEDataType; + } + + /** + * + * + * @generated + */ + public EDataType getExpression() { + return expressionEDataType; + } + + /** + * + * + * @generated + */ + public ExpressionFactory getExpressionFactory() { + return (ExpressionFactory)getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + siriusExpressionPackageEClass = createEClass(SIRIUS_EXPRESSION_PACKAGE); + createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); + createEReference(siriusExpressionPackageEClass, SIRIUS_EXPRESSION_PACKAGE__EPACKAGE); + + siriusExpressionDescriptionEClass = createEClass(SIRIUS_EXPRESSION_DESCRIPTION); + createEAttribute(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND); + createEAttribute(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND); + createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION); + createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS); + createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE); + createEReference(siriusExpressionDescriptionEClass, SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS); + + siriusVariableEClass = createEClass(SIRIUS_VARIABLE); + createEAttribute(siriusVariableEClass, SIRIUS_VARIABLE__NAME); + createEAttribute(siriusVariableEClass, SIRIUS_VARIABLE__DOCUMENTATION); + createEReference(siriusVariableEClass, SIRIUS_VARIABLE__ETYPE); + + siriusExpressionClassEClass = createEClass(SIRIUS_EXPRESSION_CLASS); + createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__VARIABLES); + createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); + createEReference(siriusExpressionClassEClass, SIRIUS_EXPRESSION_CLASS__ECLASS); + + siriusParameterEClass = createEClass(SIRIUS_PARAMETER); + createEAttribute(siriusParameterEClass, SIRIUS_PARAMETER__OPTIONAL); + createEReference(siriusParameterEClass, SIRIUS_PARAMETER__VARIABLE); + + userDefinedVariableEClass = createEClass(USER_DEFINED_VARIABLE); + createEAttribute(userDefinedVariableEClass, USER_DEFINED_VARIABLE__VALUE_EXPRESSION); + + // Create data types + voidEDataType = createEDataType(VOID); + objectEDataType = createEDataType(OBJECT); + predicateEDataType = createEDataType(PREDICATE); + expressionEDataType = createEDataType(EXPRESSION); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + userDefinedVariableEClass.getESuperTypes().add(this.getSiriusVariable()); + + // Initialize classes, features, and operations; add parameters + initEClass(siriusExpressionPackageEClass, SiriusExpressionPackage.class, "SiriusExpressionPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getSiriusExpressionPackage_ExpressionClasses(), this.getSiriusExpressionClass(), null, "expressionClasses", null, 0, -1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionPackage_EPackage(), theEcorePackage.getEPackage(), null, "ePackage", null, 0, 1, SiriusExpressionPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + initEClass(siriusExpressionDescriptionEClass, SiriusExpressionDescription.class, "SiriusExpressionDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getSiriusExpressionDescription_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getSiriusExpressionDescription_UpperBound(), ecorePackage.getEInt(), "upperBound", "1", 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ + initEReference(getSiriusExpressionDescription_Expression(), theEcorePackage.getEStructuralFeature(), null, "expression", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionDescription_Parameters(), this.getSiriusParameter(), null, "parameters", null, 0, -1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionDescription_ReturnType(), theEcorePackage.getEClassifier(), null, "returnType", null, 0, 1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionDescription_VariableContainers(), theEcorePackage.getEClass(), null, "variableContainers", null, 0, -1, SiriusExpressionDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + initEClass(siriusVariableEClass, SiriusVariable.class, "SiriusVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getSiriusVariable_Name(), ecorePackage.getEString(), "name", null, 0, 1, SiriusVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getSiriusVariable_Documentation(), ecorePackage.getEString(), "documentation", null, 0, 1, SiriusVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusVariable_EType(), theEcorePackage.getEClassifier(), null, "eType", null, 0, 1, SiriusVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + initEClass(siriusExpressionClassEClass, SiriusExpressionClass.class, "SiriusExpressionClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getSiriusExpressionClass_Variables(), this.getSiriusVariable(), null, "variables", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionClass_ExpressionDescriptions(), this.getSiriusExpressionDescription(), null, "expressionDescriptions", null, 0, -1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusExpressionClass_EClass(), theEcorePackage.getEClass(), null, "eClass", null, 0, 1, SiriusExpressionClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + initEClass(siriusParameterEClass, SiriusParameter.class, "SiriusParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getSiriusParameter_Optional(), ecorePackage.getEBoolean(), "optional", null, 0, 1, SiriusParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getSiriusParameter_Variable(), this.getSiriusVariable(), null, "variable", null, 0, 1, SiriusParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + initEClass(userDefinedVariableEClass, UserDefinedVariable.class, "UserDefinedVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEAttribute(getUserDefinedVariable_ValueExpression(), this.getExpression(), "valueExpression", null, 0, 1, UserDefinedVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + // Initialize data types + initEDataType(voidEDataType, Void.class, "Void", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEDataType(objectEDataType, Object.class, "Object", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEDataType(predicateEDataType, Object.class, "Predicate", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEDataType(expressionEDataType, String.class, "Expression", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + // Create resource + createResource(eNS_URI); + } + +} //ExpressionPackageImpl diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java new file mode 100644 index 000000000..48537ebd3 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionClassImpl.java @@ -0,0 +1,255 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionClass; +import org.eclipse.sirius.expression.SiriusExpressionDescription; +import org.eclipse.sirius.expression.SiriusVariable; + +/** + * + * An implementation of the model object 'Sirius Expression Class'. + * + *

                + * The following features are implemented: + *

                + *
                  + *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl#getVariables Variables}
                • + *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl#getExpressionDescriptions Expression Descriptions}
                • + *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionClassImpl#getEClass EClass}
                • + *
                + * + * @generated + */ +public class SiriusExpressionClassImpl extends MinimalEObjectImpl.Container implements SiriusExpressionClass { + /** + * The cached value of the '{@link #getVariables() Variables}' containment reference list. + * + * + * @see #getVariables() + * @generated + * @ordered + */ + protected EList variables; + + /** + * The cached value of the '{@link #getExpressionDescriptions() Expression Descriptions}' containment reference list. + * + * + * @see #getExpressionDescriptions() + * @generated + * @ordered + */ + protected EList expressionDescriptions; + + /** + * The cached value of the '{@link #getEClass() EClass}' reference. + * + * + * @see #getEClass() + * @generated + * @ordered + */ + protected EClass eClass; + + /** + * + * + * @generated + */ + protected SiriusExpressionClassImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.SIRIUS_EXPRESSION_CLASS; + } + + /** + * + * + * @generated + */ + public EList getVariables() { + if (variables == null) { + variables = new EObjectContainmentEList.Resolving(SiriusVariable.class, this, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES); + } + return variables; + } + + /** + * + * + * @generated + */ + public EList getExpressionDescriptions() { + if (expressionDescriptions == null) { + expressionDescriptions = new EObjectContainmentEList.Resolving(SiriusExpressionDescription.class, this, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS); + } + return expressionDescriptions; + } + + /** + * + * + * @generated + */ + public EClass getEClass() { + if (eClass != null && eClass.eIsProxy()) { + InternalEObject oldEClass = (InternalEObject)eClass; + eClass = (EClass)eResolveProxy(oldEClass); + if (eClass != oldEClass) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS, oldEClass, eClass)); + } + } + return eClass; + } + + /** + * + * + * @generated + */ + public EClass basicGetEClass() { + return eClass; + } + + /** + * + * + * @generated + */ + public void setEClass(EClass newEClass) { + EClass oldEClass = eClass; + eClass = newEClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS, oldEClass, eClass)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + return ((InternalEList)getVariables()).basicRemove(otherEnd, msgs); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + return ((InternalEList)getExpressionDescriptions()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + return getVariables(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + return getExpressionDescriptions(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: + if (resolve) return getEClass(); + return basicGetEClass(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + getVariables().clear(); + getVariables().addAll((Collection)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + getExpressionDescriptions().clear(); + getExpressionDescriptions().addAll((Collection)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: + setEClass((EClass)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + getVariables().clear(); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + getExpressionDescriptions().clear(); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: + setEClass((EClass)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__VARIABLES: + return variables != null && !variables.isEmpty(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__EXPRESSION_DESCRIPTIONS: + return expressionDescriptions != null && !expressionDescriptions.isEmpty(); + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS__ECLASS: + return eClass != null; + } + return super.eIsSet(featureID); + } + +} //SiriusExpressionClassImpl diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionDescriptionImpl.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionDescriptionImpl.java new file mode 100644 index 000000000..8c0eea732 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionDescriptionImpl.java @@ -0,0 +1,438 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.EObjectResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionDescription; +import org.eclipse.sirius.expression.SiriusParameter; + +/** + * + * An implementation of the model object 'Sirius Expression Description'. + * + *

                + * The following features are implemented: + *

                + *
                  + *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getLowerBound Lower Bound}
                • + *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getUpperBound Upper Bound}
                • + *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getExpression Expression}
                • + *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getParameters Parameters}
                • + *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getReturnType Return Type}
                • + *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionDescriptionImpl#getVariableContainers Variable Containers}
                • + *
                + * + * @generated + */ +public class SiriusExpressionDescriptionImpl extends MinimalEObjectImpl.Container implements SiriusExpressionDescription { + /** + * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected static final int LOWER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected int lowerBound = LOWER_BOUND_EDEFAULT; + + /** + * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected static final int UPPER_BOUND_EDEFAULT = 1; + + /** + * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected int upperBound = UPPER_BOUND_EDEFAULT; + + /** + * The cached value of the '{@link #getExpression() Expression}' reference. + * + * + * @see #getExpression() + * @generated + * @ordered + */ + protected EStructuralFeature expression; + + /** + * The cached value of the '{@link #getParameters() Parameters}' containment reference list. + * + * + * @see #getParameters() + * @generated + * @ordered + */ + protected EList parameters; + + /** + * The cached value of the '{@link #getReturnType() Return Type}' reference. + * + * + * @see #getReturnType() + * @generated + * @ordered + */ + protected EClassifier returnType; + + /** + * The cached value of the '{@link #getVariableContainers() Variable Containers}' reference list. + * + * + * @see #getVariableContainers() + * @generated + * @ordered + */ + protected EList variableContainers; + + /** + * + * + * @generated + */ + protected SiriusExpressionDescriptionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.SIRIUS_EXPRESSION_DESCRIPTION; + } + + /** + * + * + * @generated + */ + public int getLowerBound() { + return lowerBound; + } + + /** + * + * + * @generated + */ + public void setLowerBound(int newLowerBound) { + int oldLowerBound = lowerBound; + lowerBound = newLowerBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND, oldLowerBound, lowerBound)); + } + + /** + * + * + * @generated + */ + public int getUpperBound() { + return upperBound; + } + + /** + * + * + * @generated + */ + public void setUpperBound(int newUpperBound) { + int oldUpperBound = upperBound; + upperBound = newUpperBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND, oldUpperBound, upperBound)); + } + + /** + * + * + * @generated + */ + public EStructuralFeature getExpression() { + if (expression != null && expression.eIsProxy()) { + InternalEObject oldExpression = (InternalEObject)expression; + expression = (EStructuralFeature)eResolveProxy(oldExpression); + if (expression != oldExpression) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); + } + } + return expression; + } + + /** + * + * + * @generated + */ + public EStructuralFeature basicGetExpression() { + return expression; + } + + /** + * + * + * @generated + */ + public void setExpression(EStructuralFeature newExpression) { + EStructuralFeature oldExpression = expression; + expression = newExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION, oldExpression, expression)); + } + + /** + * + * + * @generated + */ + public EList getParameters() { + if (parameters == null) { + parameters = new EObjectContainmentEList.Resolving(SiriusParameter.class, this, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS); + } + return parameters; + } + + /** + * + * + * @generated + */ + public EClassifier getReturnType() { + if (returnType != null && returnType.eIsProxy()) { + InternalEObject oldReturnType = (InternalEObject)returnType; + returnType = (EClassifier)eResolveProxy(oldReturnType); + if (returnType != oldReturnType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE, oldReturnType, returnType)); + } + } + return returnType; + } + + /** + * + * + * @generated + */ + public EClassifier basicGetReturnType() { + return returnType; + } + + /** + * + * + * @generated + */ + public void setReturnType(EClassifier newReturnType) { + EClassifier oldReturnType = returnType; + returnType = newReturnType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE, oldReturnType, returnType)); + } + + /** + * + * + * @generated + */ + public EList getVariableContainers() { + if (variableContainers == null) { + variableContainers = new EObjectResolvingEList(EClass.class, this, ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS); + } + return variableContainers; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + return ((InternalEList)getParameters()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: + return getLowerBound(); + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: + return getUpperBound(); + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: + if (resolve) return getExpression(); + return basicGetExpression(); + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + return getParameters(); + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE: + if (resolve) return getReturnType(); + return basicGetReturnType(); + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS: + return getVariableContainers(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: + setLowerBound((Integer)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: + setUpperBound((Integer)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: + setExpression((EStructuralFeature)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + getParameters().clear(); + getParameters().addAll((Collection)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE: + setReturnType((EClassifier)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS: + getVariableContainers().clear(); + getVariableContainers().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: + setLowerBound(LOWER_BOUND_EDEFAULT); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: + setUpperBound(UPPER_BOUND_EDEFAULT); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: + setExpression((EStructuralFeature)null); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + getParameters().clear(); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE: + setReturnType((EClassifier)null); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS: + getVariableContainers().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__LOWER_BOUND: + return lowerBound != LOWER_BOUND_EDEFAULT; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__UPPER_BOUND: + return upperBound != UPPER_BOUND_EDEFAULT; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__EXPRESSION: + return expression != null; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__PARAMETERS: + return parameters != null && !parameters.isEmpty(); + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__RETURN_TYPE: + return returnType != null; + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION__VARIABLE_CONTAINERS: + return variableContainers != null && !variableContainers.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (lowerBound: "); //$NON-NLS-1$ + result.append(lowerBound); + result.append(", upperBound: "); //$NON-NLS-1$ + result.append(upperBound); + result.append(')'); + return result.toString(); + } + +} //SiriusExpressionDescriptionImpl diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionPackageImpl.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionPackageImpl.java new file mode 100644 index 000000000..79687b3b5 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusExpressionPackageImpl.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusExpressionClass; +import org.eclipse.sirius.expression.SiriusExpressionPackage; + +/** + * + * An implementation of the model object 'Sirius Expression Package'. + * + *

                + * The following features are implemented: + *

                + *
                  + *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl#getExpressionClasses Expression Classes}
                • + *
                • {@link org.eclipse.sirius.expression.impl.SiriusExpressionPackageImpl#getEPackage EPackage}
                • + *
                + * + * @generated + */ +public class SiriusExpressionPackageImpl extends MinimalEObjectImpl.Container implements SiriusExpressionPackage { + /** + * The cached value of the '{@link #getExpressionClasses() Expression Classes}' containment reference list. + * + * + * @see #getExpressionClasses() + * @generated + * @ordered + */ + protected EList expressionClasses; + + /** + * The cached value of the '{@link #getEPackage() EPackage}' reference. + * + * + * @see #getEPackage() + * @generated + * @ordered + */ + protected EPackage ePackage; + + /** + * + * + * @generated + */ + protected SiriusExpressionPackageImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.SIRIUS_EXPRESSION_PACKAGE; + } + + /** + * + * + * @generated + */ + public EList getExpressionClasses() { + if (expressionClasses == null) { + expressionClasses = new EObjectContainmentEList.Resolving(SiriusExpressionClass.class, this, ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES); + } + return expressionClasses; + } + + /** + * + * + * @generated + */ + public EPackage getEPackage() { + if (ePackage != null && ePackage.eIsProxy()) { + InternalEObject oldEPackage = (InternalEObject)ePackage; + ePackage = (EPackage)eResolveProxy(oldEPackage); + if (ePackage != oldEPackage) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, oldEPackage, ePackage)); + } + } + return ePackage; + } + + /** + * + * + * @generated + */ + public EPackage basicGetEPackage() { + return ePackage; + } + + /** + * + * + * @generated + */ + public void setEPackage(EPackage newEPackage) { + EPackage oldEPackage = ePackage; + ePackage = newEPackage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE, oldEPackage, ePackage)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + return ((InternalEList)getExpressionClasses()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + return getExpressionClasses(); + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + if (resolve) return getEPackage(); + return basicGetEPackage(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + getExpressionClasses().clear(); + getExpressionClasses().addAll((Collection)newValue); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + setEPackage((EPackage)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + getExpressionClasses().clear(); + return; + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + setEPackage((EPackage)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EXPRESSION_CLASSES: + return expressionClasses != null && !expressionClasses.isEmpty(); + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE__EPACKAGE: + return ePackage != null; + } + return super.eIsSet(featureID); + } + +} //SiriusExpressionPackageImpl diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusParameterImpl.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusParameterImpl.java new file mode 100644 index 000000000..e14414316 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusParameterImpl.java @@ -0,0 +1,230 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusParameter; +import org.eclipse.sirius.expression.SiriusVariable; + +/** + * + * An implementation of the model object 'Sirius Parameter'. + * + *

                + * The following features are implemented: + *

                + *
                  + *
                • {@link org.eclipse.sirius.expression.impl.SiriusParameterImpl#isOptional Optional}
                • + *
                • {@link org.eclipse.sirius.expression.impl.SiriusParameterImpl#getVariable Variable}
                • + *
                + * + * @generated + */ +public class SiriusParameterImpl extends MinimalEObjectImpl.Container implements SiriusParameter { + /** + * The default value of the '{@link #isOptional() Optional}' attribute. + * + * + * @see #isOptional() + * @generated + * @ordered + */ + protected static final boolean OPTIONAL_EDEFAULT = false; + + /** + * The cached value of the '{@link #isOptional() Optional}' attribute. + * + * + * @see #isOptional() + * @generated + * @ordered + */ + protected boolean optional = OPTIONAL_EDEFAULT; + + /** + * The cached value of the '{@link #getVariable() Variable}' reference. + * + * + * @see #getVariable() + * @generated + * @ordered + */ + protected SiriusVariable variable; + + /** + * + * + * @generated + */ + protected SiriusParameterImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.SIRIUS_PARAMETER; + } + + /** + * + * + * @generated + */ + public boolean isOptional() { + return optional; + } + + /** + * + * + * @generated + */ + public void setOptional(boolean newOptional) { + boolean oldOptional = optional; + optional = newOptional; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL, oldOptional, optional)); + } + + /** + * + * + * @generated + */ + public SiriusVariable getVariable() { + if (variable != null && variable.eIsProxy()) { + InternalEObject oldVariable = (InternalEObject)variable; + variable = (SiriusVariable)eResolveProxy(oldVariable); + if (variable != oldVariable) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_PARAMETER__VARIABLE, oldVariable, variable)); + } + } + return variable; + } + + /** + * + * + * @generated + */ + public SiriusVariable basicGetVariable() { + return variable; + } + + /** + * + * + * @generated + */ + public void setVariable(SiriusVariable newVariable) { + SiriusVariable oldVariable = variable; + variable = newVariable; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_PARAMETER__VARIABLE, oldVariable, variable)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL: + return isOptional(); + case ExpressionPackage.SIRIUS_PARAMETER__VARIABLE: + if (resolve) return getVariable(); + return basicGetVariable(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL: + setOptional((Boolean)newValue); + return; + case ExpressionPackage.SIRIUS_PARAMETER__VARIABLE: + setVariable((SiriusVariable)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL: + setOptional(OPTIONAL_EDEFAULT); + return; + case ExpressionPackage.SIRIUS_PARAMETER__VARIABLE: + setVariable((SiriusVariable)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_PARAMETER__OPTIONAL: + return optional != OPTIONAL_EDEFAULT; + case ExpressionPackage.SIRIUS_PARAMETER__VARIABLE: + return variable != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (optional: "); //$NON-NLS-1$ + result.append(optional); + result.append(')'); + return result.toString(); + } + +} //SiriusParameterImpl diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusVariableImpl.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusVariableImpl.java new file mode 100644 index 000000000..283c24631 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/SiriusVariableImpl.java @@ -0,0 +1,284 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.SiriusVariable; + +/** + * + * An implementation of the model object 'Sirius Variable'. + * + *

                + * The following features are implemented: + *

                + *
                  + *
                • {@link org.eclipse.sirius.expression.impl.SiriusVariableImpl#getName Name}
                • + *
                • {@link org.eclipse.sirius.expression.impl.SiriusVariableImpl#getDocumentation Documentation}
                • + *
                • {@link org.eclipse.sirius.expression.impl.SiriusVariableImpl#getEType EType}
                • + *
                + * + * @generated + */ +public class SiriusVariableImpl extends MinimalEObjectImpl.Container implements SiriusVariable { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected static final String DOCUMENTATION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDocumentation() Documentation}' attribute. + * + * + * @see #getDocumentation() + * @generated + * @ordered + */ + protected String documentation = DOCUMENTATION_EDEFAULT; + + /** + * The cached value of the '{@link #getEType() EType}' reference. + * + * + * @see #getEType() + * @generated + * @ordered + */ + protected EClassifier eType; + + /** + * + * + * @generated + */ + protected SiriusVariableImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.SIRIUS_VARIABLE; + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_VARIABLE__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + public String getDocumentation() { + return documentation; + } + + /** + * + * + * @generated + */ + public void setDocumentation(String newDocumentation) { + String oldDocumentation = documentation; + documentation = newDocumentation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION, oldDocumentation, documentation)); + } + + /** + * + * + * @generated + */ + public EClassifier getEType() { + if (eType != null && eType.eIsProxy()) { + InternalEObject oldEType = (InternalEObject)eType; + eType = (EClassifier)eResolveProxy(oldEType); + if (eType != oldEType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExpressionPackage.SIRIUS_VARIABLE__ETYPE, oldEType, eType)); + } + } + return eType; + } + + /** + * + * + * @generated + */ + public EClassifier basicGetEType() { + return eType; + } + + /** + * + * + * @generated + */ + public void setEType(EClassifier newEType) { + EClassifier oldEType = eType; + eType = newEType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.SIRIUS_VARIABLE__ETYPE, oldEType, eType)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.SIRIUS_VARIABLE__NAME: + return getName(); + case ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION: + return getDocumentation(); + case ExpressionPackage.SIRIUS_VARIABLE__ETYPE: + if (resolve) return getEType(); + return basicGetEType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.SIRIUS_VARIABLE__NAME: + setName((String)newValue); + return; + case ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION: + setDocumentation((String)newValue); + return; + case ExpressionPackage.SIRIUS_VARIABLE__ETYPE: + setEType((EClassifier)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_VARIABLE__NAME: + setName(NAME_EDEFAULT); + return; + case ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION: + setDocumentation(DOCUMENTATION_EDEFAULT); + return; + case ExpressionPackage.SIRIUS_VARIABLE__ETYPE: + setEType((EClassifier)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.SIRIUS_VARIABLE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case ExpressionPackage.SIRIUS_VARIABLE__DOCUMENTATION: + return DOCUMENTATION_EDEFAULT == null ? documentation != null : !DOCUMENTATION_EDEFAULT.equals(documentation); + case ExpressionPackage.SIRIUS_VARIABLE__ETYPE: + return eType != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); //$NON-NLS-1$ + result.append(name); + result.append(", documentation: "); //$NON-NLS-1$ + result.append(documentation); + result.append(')'); + return result.toString(); + } + +} //SiriusVariableImpl diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/UserDefinedVariableImpl.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/UserDefinedVariableImpl.java new file mode 100644 index 000000000..599b57c23 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/impl/UserDefinedVariableImpl.java @@ -0,0 +1,167 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.sirius.expression.ExpressionPackage; +import org.eclipse.sirius.expression.UserDefinedVariable; + +/** + * + * An implementation of the model object 'User Defined Variable'. + * + *

                + * The following features are implemented: + *

                + *
                  + *
                • {@link org.eclipse.sirius.expression.impl.UserDefinedVariableImpl#getValueExpression Value Expression}
                • + *
                + * + * @generated + */ +public class UserDefinedVariableImpl extends SiriusVariableImpl implements UserDefinedVariable { + /** + * The default value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected static final String VALUE_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueExpression() Value Expression}' attribute. + * + * + * @see #getValueExpression() + * @generated + * @ordered + */ + protected String valueExpression = VALUE_EXPRESSION_EDEFAULT; + + /** + * + * + * @generated + */ + protected UserDefinedVariableImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ExpressionPackage.Literals.USER_DEFINED_VARIABLE; + } + + /** + * + * + * @generated + */ + public String getValueExpression() { + return valueExpression; + } + + /** + * + * + * @generated + */ + public void setValueExpression(String newValueExpression) { + String oldValueExpression = valueExpression; + valueExpression = newValueExpression; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION, oldValueExpression, valueExpression)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION: + return getValueExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION: + setValueExpression((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION: + setValueExpression(VALUE_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ExpressionPackage.USER_DEFINED_VARIABLE__VALUE_EXPRESSION: + return VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (valueExpression: "); //$NON-NLS-1$ + result.append(valueExpression); + result.append(')'); + return result.toString(); + } + +} //UserDefinedVariableImpl diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java new file mode 100644 index 000000000..79aac7ba5 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionAdapterFactory.java @@ -0,0 +1,215 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.expression.*; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see org.eclipse.sirius.expression.ExpressionPackage + * @generated + */ +public class ExpressionAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static ExpressionPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public ExpressionAdapterFactory() { + if (modelPackage == null) { + modelPackage = ExpressionPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected ExpressionSwitch modelSwitch = + new ExpressionSwitch() { + @Override + public Adapter caseSiriusExpressionPackage(SiriusExpressionPackage object) { + return createSiriusExpressionPackageAdapter(); + } + @Override + public Adapter caseSiriusExpressionDescription(SiriusExpressionDescription object) { + return createSiriusExpressionDescriptionAdapter(); + } + @Override + public Adapter caseSiriusVariable(SiriusVariable object) { + return createSiriusVariableAdapter(); + } + @Override + public Adapter caseSiriusExpressionClass(SiriusExpressionClass object) { + return createSiriusExpressionClassAdapter(); + } + @Override + public Adapter caseSiriusParameter(SiriusParameter object) { + return createSiriusParameterAdapter(); + } + @Override + public Adapter caseUserDefinedVariable(UserDefinedVariable object) { + return createUserDefinedVariableAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.SiriusExpressionPackage Sirius Expression Package}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.SiriusExpressionPackage + * @generated + */ + public Adapter createSiriusExpressionPackageAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.SiriusExpressionDescription Sirius Expression Description}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.SiriusExpressionDescription + * @generated + */ + public Adapter createSiriusExpressionDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.SiriusVariable Sirius Variable}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.SiriusVariable + * @generated + */ + public Adapter createSiriusVariableAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.SiriusExpressionClass Sirius Expression Class}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.SiriusExpressionClass + * @generated + */ + public Adapter createSiriusExpressionClassAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.SiriusParameter Sirius Parameter}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.SiriusParameter + * @generated + */ + public Adapter createSiriusParameterAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.expression.UserDefinedVariable User Defined Variable}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.expression.UserDefinedVariable + * @generated + */ + public Adapter createUserDefinedVariableAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //ExpressionAdapterFactory diff --git a/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java new file mode 100644 index 000000000..b43178246 --- /dev/null +++ b/prototypes/org.eclipse.sirius.expression/src-gen/org/eclipse/sirius/expression/util/ExpressionSwitch.java @@ -0,0 +1,221 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + */ +package org.eclipse.sirius.expression.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.sirius.expression.*; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see org.eclipse.sirius.expression.ExpressionPackage + * @generated + */ +public class ExpressionSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static ExpressionPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public ExpressionSwitch() { + if (modelPackage == null) { + modelPackage = ExpressionPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case ExpressionPackage.SIRIUS_EXPRESSION_PACKAGE: { + SiriusExpressionPackage siriusExpressionPackage = (SiriusExpressionPackage)theEObject; + T result = caseSiriusExpressionPackage(siriusExpressionPackage); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpressionPackage.SIRIUS_EXPRESSION_DESCRIPTION: { + SiriusExpressionDescription siriusExpressionDescription = (SiriusExpressionDescription)theEObject; + T result = caseSiriusExpressionDescription(siriusExpressionDescription); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpressionPackage.SIRIUS_VARIABLE: { + SiriusVariable siriusVariable = (SiriusVariable)theEObject; + T result = caseSiriusVariable(siriusVariable); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpressionPackage.SIRIUS_EXPRESSION_CLASS: { + SiriusExpressionClass siriusExpressionClass = (SiriusExpressionClass)theEObject; + T result = caseSiriusExpressionClass(siriusExpressionClass); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpressionPackage.SIRIUS_PARAMETER: { + SiriusParameter siriusParameter = (SiriusParameter)theEObject; + T result = caseSiriusParameter(siriusParameter); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ExpressionPackage.USER_DEFINED_VARIABLE: { + UserDefinedVariable userDefinedVariable = (UserDefinedVariable)theEObject; + T result = caseUserDefinedVariable(userDefinedVariable); + if (result == null) result = caseSiriusVariable(userDefinedVariable); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Sirius Expression Package'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Expression Package'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusExpressionPackage(SiriusExpressionPackage object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Sirius Expression Description'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Expression Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusExpressionDescription(SiriusExpressionDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Sirius Variable'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Variable'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusVariable(SiriusVariable object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Sirius Expression Class'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Expression Class'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusExpressionClass(SiriusExpressionClass object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Sirius Parameter'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Parameter'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusParameter(SiriusParameter object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'User Defined Variable'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'User Defined Variable'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUserDefinedVariable(UserDefinedVariable object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //ExpressionSwitch diff --git a/prototypes/org.eclipse.sirius.validation/.classpath b/prototypes/org.eclipse.sirius.validation/.classpath new file mode 100644 index 000000000..e4dad7e73 --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/prototypes/org.eclipse.sirius.validation/.project b/prototypes/org.eclipse.sirius.validation/.project new file mode 100644 index 000000000..c608d966d --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/.project @@ -0,0 +1,29 @@ + + + org.eclipse.sirius.validation + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.sirius.nature.modelingproject + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/prototypes/org.eclipse.sirius.validation/.settings/org.eclipse.jdt.core.prefs b/prototypes/org.eclipse.sirius.validation/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..c537b6306 --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/prototypes/org.eclipse.sirius.validation/META-INF/MANIFEST.MF b/prototypes/org.eclipse.sirius.validation/META-INF/MANIFEST.MF new file mode 100644 index 000000000..b8eda7112 --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/META-INF/MANIFEST.MF @@ -0,0 +1,15 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.sirius.validation;singleton:=true +Bundle-Version: 0.1.0.qualifier +Bundle-ClassPath: . +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.sirius.validation, + org.eclipse.sirius.validation.impl, + org.eclipse.sirius.validation.util +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.emf.ecore;visibility:=reexport +Bundle-ActivationPolicy: lazy diff --git a/prototypes/org.eclipse.sirius.validation/about.html b/prototypes/org.eclipse.sirius.validation/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

                About This Content

                + +

                June 15, 2010

                +

                License

                + +

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

                + +

                If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

                + + + \ No newline at end of file diff --git a/prototypes/org.eclipse.sirius.validation/build.properties b/prototypes/org.eclipse.sirius.validation/build.properties new file mode 100644 index 000000000..7d34bdaed --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/build.properties @@ -0,0 +1,15 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +bin.includes = .,\ + model/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties +jars.compile.order = . +source.. = src-gen/ +output.. = bin/ diff --git a/prototypes/org.eclipse.sirius.validation/model/validation.aird b/prototypes/org.eclipse.sirius.validation/model/validation.aird new file mode 100644 index 000000000..297210e95 --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/model/validation.aird @@ -0,0 +1,223 @@ + + + validation.ecore + validation.genmodel + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.validation/model/validation.ecore b/prototypes/org.eclipse.sirius.validation/model/validation.ecore new file mode 100644 index 000000000..b5b5a53db --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/model/validation.ecore @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.validation/model/validation.genmodel b/prototypes/org.eclipse.sirius.validation/model/validation.genmodel new file mode 100644 index 000000000..1e273a95a --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/model/validation.genmodel @@ -0,0 +1,25 @@ + + + validation.ecore + + + + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.validation/plugin.properties b/prototypes/org.eclipse.sirius.validation/plugin.properties new file mode 100644 index 000000000..b0b3da23c --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/plugin.properties @@ -0,0 +1,9 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +pluginName = Validation Model +providerName = www.example.org diff --git a/prototypes/org.eclipse.sirius.validation/plugin.xml b/prototypes/org.eclipse.sirius.validation/plugin.xml new file mode 100644 index 000000000..3dd09b1f9 --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/plugin.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + diff --git a/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/Severity.java b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/Severity.java new file mode 100644 index 000000000..e71f44a3d --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/Severity.java @@ -0,0 +1,274 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Severity', + * and utility methods for working with them. + * + * @see org.eclipse.sirius.validation.ValidationPackage#getSeverity() + * @model + * @generated + */ +public enum Severity implements Enumerator { + /** + * The 'INFO' literal object. + * + * + * @see #INFO_VALUE + * @generated + * @ordered + */ + INFO(0, "INFO", "INFO"), + + /** + * The 'WARNING' literal object. + * + * + * @see #WARNING_VALUE + * @generated + * @ordered + */ + WARNING(1, "WARNING", "WARNING"), + + /** + * The 'ERROR' literal object. + * + * + * @see #ERROR_VALUE + * @generated + * @ordered + */ + ERROR(2, "ERROR", "ERROR"), + + /** + * The 'CANCEL' literal object. + * + * + * @see #CANCEL_VALUE + * @generated + * @ordered + */ + CANCEL(3, "CANCEL", "CANCEL"); + + /** + * The 'INFO' literal value. + * + *

                + * If the meaning of 'INFO' literal object isn't clear, + * there really should be more of a description here... + *

                + * + * @see #INFO + * @model + * @generated + * @ordered + */ + public static final int INFO_VALUE = 0; + + /** + * The 'WARNING' literal value. + * + *

                + * If the meaning of 'WARNING' literal object isn't clear, + * there really should be more of a description here... + *

                + * + * @see #WARNING + * @model + * @generated + * @ordered + */ + public static final int WARNING_VALUE = 1; + + /** + * The 'ERROR' literal value. + * + *

                + * If the meaning of 'ERROR' literal object isn't clear, + * there really should be more of a description here... + *

                + * + * @see #ERROR + * @model + * @generated + * @ordered + */ + public static final int ERROR_VALUE = 2; + + /** + * The 'CANCEL' literal value. + * + *

                + * If the meaning of 'CANCEL' literal object isn't clear, + * there really should be more of a description here... + *

                + * + * @see #CANCEL + * @model + * @generated + * @ordered + */ + public static final int CANCEL_VALUE = 3; + + /** + * An array of all the 'Severity' enumerators. + * + * + * @generated + */ + private static final Severity[] VALUES_ARRAY = + new Severity[] { + INFO, + WARNING, + ERROR, + CANCEL, + }; + + /** + * A public read-only list of all the 'Severity' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Severity' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static Severity get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + Severity result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Severity' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static Severity getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + Severity result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Severity' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static Severity get(int value) { + switch (value) { + case INFO_VALUE: return INFO; + case WARNING_VALUE: return WARNING; + case ERROR_VALUE: return ERROR; + case CANCEL_VALUE: return CANCEL; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private Severity(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() { + return value; + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //Severity diff --git a/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/SiriusStatus.java b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/SiriusStatus.java new file mode 100644 index 000000000..2efac426b --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/SiriusStatus.java @@ -0,0 +1,113 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Sirius Status'. + * + * + *

                + * The following features are supported: + *

                + *
                  + *
                • {@link org.eclipse.sirius.validation.SiriusStatus#getMessage Message}
                • + *
                • {@link org.eclipse.sirius.validation.SiriusStatus#getSeverity Severity}
                • + *
                • {@link org.eclipse.sirius.validation.SiriusStatus#getException Exception}
                • + *
                + * + * @see org.eclipse.sirius.validation.ValidationPackage#getSiriusStatus() + * @model + * @generated + */ +public interface SiriusStatus extends EObject { + /** + * Returns the value of the 'Message' attribute. + * + *

                + * If the meaning of the 'Message' attribute isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'Message' attribute. + * @see #setMessage(String) + * @see org.eclipse.sirius.validation.ValidationPackage#getSiriusStatus_Message() + * @model + * @generated + */ + String getMessage(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.validation.SiriusStatus#getMessage Message}' attribute. + * + * + * @param value the new value of the 'Message' attribute. + * @see #getMessage() + * @generated + */ + void setMessage(String value); + + /** + * Returns the value of the 'Severity' attribute. + * The literals are from the enumeration {@link org.eclipse.sirius.validation.Severity}. + * + *

                + * If the meaning of the 'Severity' attribute isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'Severity' attribute. + * @see org.eclipse.sirius.validation.Severity + * @see #setSeverity(Severity) + * @see org.eclipse.sirius.validation.ValidationPackage#getSiriusStatus_Severity() + * @model + * @generated + */ + Severity getSeverity(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.validation.SiriusStatus#getSeverity Severity}' attribute. + * + * + * @param value the new value of the 'Severity' attribute. + * @see org.eclipse.sirius.validation.Severity + * @see #getSeverity() + * @generated + */ + void setSeverity(Severity value); + + /** + * Returns the value of the 'Exception' attribute. + * + *

                + * If the meaning of the 'Exception' attribute isn't clear, + * there really should be more of a description here... + *

                + * + * @return the value of the 'Exception' attribute. + * @see #setException(Object) + * @see org.eclipse.sirius.validation.ValidationPackage#getSiriusStatus_Exception() + * @model dataType="org.eclipse.sirius.validation.SiriusException" + * @generated + */ + Object getException(); + + /** + * Sets the value of the '{@link org.eclipse.sirius.validation.SiriusStatus#getException Exception}' attribute. + * + * + * @param value the new value of the 'Exception' attribute. + * @see #getException() + * @generated + */ + void setException(Object value); + +} // SiriusStatus diff --git a/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationFactory.java b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationFactory.java new file mode 100644 index 000000000..f893788e1 --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationFactory.java @@ -0,0 +1,48 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.sirius.validation.ValidationPackage + * @generated + */ +public interface ValidationFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + ValidationFactory eINSTANCE = org.eclipse.sirius.validation.impl.ValidationFactoryImpl.init(); + + /** + * Returns a new object of class 'Sirius Status'. + * + * + * @return a new object of class 'Sirius Status'. + * @generated + */ + SiriusStatus createSiriusStatus(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + ValidationPackage getValidationPackage(); + +} //ValidationFactory diff --git a/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationPackage.java b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationPackage.java new file mode 100644 index 000000000..fe3b275c8 --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/ValidationPackage.java @@ -0,0 +1,285 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
                  + *
                • each class,
                • + *
                • each feature of each class,
                • + *
                • each operation of each class,
                • + *
                • each enum,
                • + *
                • and each data type
                • + *
                + * + * @see org.eclipse.sirius.validation.ValidationFactory + * @model kind="package" + * @generated + */ +public interface ValidationPackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "validation"; + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.eclipse.org/sirius/validation"; + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "validation"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + ValidationPackage eINSTANCE = org.eclipse.sirius.validation.impl.ValidationPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.sirius.validation.impl.SiriusStatusImpl Sirius Status}' class. + * + * + * @see org.eclipse.sirius.validation.impl.SiriusStatusImpl + * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSiriusStatus() + * @generated + */ + int SIRIUS_STATUS = 0; + + /** + * The feature id for the 'Message' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_STATUS__MESSAGE = 0; + + /** + * The feature id for the 'Severity' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_STATUS__SEVERITY = 1; + + /** + * The feature id for the 'Exception' attribute. + * + * + * @generated + * @ordered + */ + int SIRIUS_STATUS__EXCEPTION = 2; + + /** + * The number of structural features of the 'Sirius Status' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_STATUS_FEATURE_COUNT = 3; + + /** + * The number of operations of the 'Sirius Status' class. + * + * + * @generated + * @ordered + */ + int SIRIUS_STATUS_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.sirius.validation.Severity Severity}' enum. + * + * + * @see org.eclipse.sirius.validation.Severity + * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSeverity() + * @generated + */ + int SEVERITY = 1; + + /** + * The meta object id for the 'Sirius Exception' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSiriusException() + * @generated + */ + int SIRIUS_EXCEPTION = 2; + + + /** + * Returns the meta object for class '{@link org.eclipse.sirius.validation.SiriusStatus Sirius Status}'. + * + * + * @return the meta object for class 'Sirius Status'. + * @see org.eclipse.sirius.validation.SiriusStatus + * @generated + */ + EClass getSiriusStatus(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.validation.SiriusStatus#getMessage Message}'. + * + * + * @return the meta object for the attribute 'Message'. + * @see org.eclipse.sirius.validation.SiriusStatus#getMessage() + * @see #getSiriusStatus() + * @generated + */ + EAttribute getSiriusStatus_Message(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.validation.SiriusStatus#getSeverity Severity}'. + * + * + * @return the meta object for the attribute 'Severity'. + * @see org.eclipse.sirius.validation.SiriusStatus#getSeverity() + * @see #getSiriusStatus() + * @generated + */ + EAttribute getSiriusStatus_Severity(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.sirius.validation.SiriusStatus#getException Exception}'. + * + * + * @return the meta object for the attribute 'Exception'. + * @see org.eclipse.sirius.validation.SiriusStatus#getException() + * @see #getSiriusStatus() + * @generated + */ + EAttribute getSiriusStatus_Exception(); + + /** + * Returns the meta object for enum '{@link org.eclipse.sirius.validation.Severity Severity}'. + * + * + * @return the meta object for enum 'Severity'. + * @see org.eclipse.sirius.validation.Severity + * @generated + */ + EEnum getSeverity(); + + /** + * Returns the meta object for data type '{@link java.lang.Object Sirius Exception}'. + * + * + * @return the meta object for data type 'Sirius Exception'. + * @see java.lang.Object + * @model instanceClass="java.lang.Object" + * @generated + */ + EDataType getSiriusException(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + ValidationFactory getValidationFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
                  + *
                • each class,
                • + *
                • each feature of each class,
                • + *
                • each operation of each class,
                • + *
                • each enum,
                • + *
                • and each data type
                • + *
                + * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.sirius.validation.impl.SiriusStatusImpl Sirius Status}' class. + * + * + * @see org.eclipse.sirius.validation.impl.SiriusStatusImpl + * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSiriusStatus() + * @generated + */ + EClass SIRIUS_STATUS = eINSTANCE.getSiriusStatus(); + + /** + * The meta object literal for the 'Message' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_STATUS__MESSAGE = eINSTANCE.getSiriusStatus_Message(); + + /** + * The meta object literal for the 'Severity' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_STATUS__SEVERITY = eINSTANCE.getSiriusStatus_Severity(); + + /** + * The meta object literal for the 'Exception' attribute feature. + * + * + * @generated + */ + EAttribute SIRIUS_STATUS__EXCEPTION = eINSTANCE.getSiriusStatus_Exception(); + + /** + * The meta object literal for the '{@link org.eclipse.sirius.validation.Severity Severity}' enum. + * + * + * @see org.eclipse.sirius.validation.Severity + * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSeverity() + * @generated + */ + EEnum SEVERITY = eINSTANCE.getSeverity(); + + /** + * The meta object literal for the 'Sirius Exception' data type. + * + * + * @see java.lang.Object + * @see org.eclipse.sirius.validation.impl.ValidationPackageImpl#getSiriusException() + * @generated + */ + EDataType SIRIUS_EXCEPTION = eINSTANCE.getSiriusException(); + + } + +} //ValidationPackage diff --git a/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/SiriusStatusImpl.java b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/SiriusStatusImpl.java new file mode 100644 index 000000000..8ff32c20b --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/SiriusStatusImpl.java @@ -0,0 +1,268 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.sirius.validation.Severity; +import org.eclipse.sirius.validation.SiriusStatus; +import org.eclipse.sirius.validation.ValidationPackage; + +/** + * + * An implementation of the model object 'Sirius Status'. + * + *

                + * The following features are implemented: + *

                + *
                  + *
                • {@link org.eclipse.sirius.validation.impl.SiriusStatusImpl#getMessage Message}
                • + *
                • {@link org.eclipse.sirius.validation.impl.SiriusStatusImpl#getSeverity Severity}
                • + *
                • {@link org.eclipse.sirius.validation.impl.SiriusStatusImpl#getException Exception}
                • + *
                + * + * @generated + */ +public class SiriusStatusImpl extends MinimalEObjectImpl.Container implements SiriusStatus { + /** + * The default value of the '{@link #getMessage() Message}' attribute. + * + * + * @see #getMessage() + * @generated + * @ordered + */ + protected static final String MESSAGE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMessage() Message}' attribute. + * + * + * @see #getMessage() + * @generated + * @ordered + */ + protected String message = MESSAGE_EDEFAULT; + + /** + * The default value of the '{@link #getSeverity() Severity}' attribute. + * + * + * @see #getSeverity() + * @generated + * @ordered + */ + protected static final Severity SEVERITY_EDEFAULT = Severity.INFO; + + /** + * The cached value of the '{@link #getSeverity() Severity}' attribute. + * + * + * @see #getSeverity() + * @generated + * @ordered + */ + protected Severity severity = SEVERITY_EDEFAULT; + + /** + * The cached value of the '{@link #getException() Exception}' attribute. + * + * + * @see #getException() + * @generated + * @ordered + */ + protected Object exception; + + /** + * + * + * @generated + */ + protected SiriusStatusImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return ValidationPackage.Literals.SIRIUS_STATUS; + } + + /** + * + * + * @generated + */ + public String getMessage() { + return message; + } + + /** + * + * + * @generated + */ + public void setMessage(String newMessage) { + String oldMessage = message; + message = newMessage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ValidationPackage.SIRIUS_STATUS__MESSAGE, oldMessage, message)); + } + + /** + * + * + * @generated + */ + public Severity getSeverity() { + return severity; + } + + /** + * + * + * @generated + */ + public void setSeverity(Severity newSeverity) { + Severity oldSeverity = severity; + severity = newSeverity == null ? SEVERITY_EDEFAULT : newSeverity; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ValidationPackage.SIRIUS_STATUS__SEVERITY, oldSeverity, severity)); + } + + /** + * + * + * @generated + */ + public Object getException() { + return exception; + } + + /** + * + * + * @generated + */ + public void setException(Object newException) { + Object oldException = exception; + exception = newException; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ValidationPackage.SIRIUS_STATUS__EXCEPTION, oldException, exception)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ValidationPackage.SIRIUS_STATUS__MESSAGE: + return getMessage(); + case ValidationPackage.SIRIUS_STATUS__SEVERITY: + return getSeverity(); + case ValidationPackage.SIRIUS_STATUS__EXCEPTION: + return getException(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ValidationPackage.SIRIUS_STATUS__MESSAGE: + setMessage((String)newValue); + return; + case ValidationPackage.SIRIUS_STATUS__SEVERITY: + setSeverity((Severity)newValue); + return; + case ValidationPackage.SIRIUS_STATUS__EXCEPTION: + setException(newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ValidationPackage.SIRIUS_STATUS__MESSAGE: + setMessage(MESSAGE_EDEFAULT); + return; + case ValidationPackage.SIRIUS_STATUS__SEVERITY: + setSeverity(SEVERITY_EDEFAULT); + return; + case ValidationPackage.SIRIUS_STATUS__EXCEPTION: + setException((Object)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ValidationPackage.SIRIUS_STATUS__MESSAGE: + return MESSAGE_EDEFAULT == null ? message != null : !MESSAGE_EDEFAULT.equals(message); + case ValidationPackage.SIRIUS_STATUS__SEVERITY: + return severity != SEVERITY_EDEFAULT; + case ValidationPackage.SIRIUS_STATUS__EXCEPTION: + return exception != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (message: "); + result.append(message); + result.append(", severity: "); + result.append(severity); + result.append(", exception: "); + result.append(exception); + result.append(')'); + return result.toString(); + } + +} //SiriusStatusImpl diff --git a/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationFactoryImpl.java b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationFactoryImpl.java new file mode 100644 index 000000000..0954398b5 --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationFactoryImpl.java @@ -0,0 +1,174 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.sirius.validation.*; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class ValidationFactoryImpl extends EFactoryImpl implements ValidationFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static ValidationFactory init() { + try { + ValidationFactory theValidationFactory = (ValidationFactory)EPackage.Registry.INSTANCE.getEFactory(ValidationPackage.eNS_URI); + if (theValidationFactory != null) { + return theValidationFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new ValidationFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public ValidationFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case ValidationPackage.SIRIUS_STATUS: return createSiriusStatus(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case ValidationPackage.SEVERITY: + return createSeverityFromString(eDataType, initialValue); + case ValidationPackage.SIRIUS_EXCEPTION: + return createSiriusExceptionFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case ValidationPackage.SEVERITY: + return convertSeverityToString(eDataType, instanceValue); + case ValidationPackage.SIRIUS_EXCEPTION: + return convertSiriusExceptionToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public SiriusStatus createSiriusStatus() { + SiriusStatusImpl siriusStatus = new SiriusStatusImpl(); + return siriusStatus; + } + + /** + * + * + * @generated + */ + public Severity createSeverityFromString(EDataType eDataType, String initialValue) { + Severity result = Severity.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertSeverityToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public Object createSiriusExceptionFromString(EDataType eDataType, String initialValue) { + return super.createFromString(eDataType, initialValue); + } + + /** + * + * + * @generated + */ + public String convertSiriusExceptionToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * + * + * @generated + */ + public ValidationPackage getValidationPackage() { + return (ValidationPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static ValidationPackage getPackage() { + return ValidationPackage.eINSTANCE; + } + +} //ValidationFactoryImpl diff --git a/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationPackageImpl.java b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationPackageImpl.java new file mode 100644 index 000000000..57bee22f9 --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/impl/ValidationPackageImpl.java @@ -0,0 +1,256 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.sirius.validation.Severity; +import org.eclipse.sirius.validation.SiriusStatus; +import org.eclipse.sirius.validation.ValidationFactory; +import org.eclipse.sirius.validation.ValidationPackage; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class ValidationPackageImpl extends EPackageImpl implements ValidationPackage { + /** + * + * + * @generated + */ + private EClass siriusStatusEClass = null; + + /** + * + * + * @generated + */ + private EEnum severityEEnum = null; + + /** + * + * + * @generated + */ + private EDataType siriusExceptionEDataType = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

                Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.sirius.validation.ValidationPackage#eNS_URI + * @see #init() + * @generated + */ + private ValidationPackageImpl() { + super(eNS_URI, ValidationFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

                This method is used to initialize {@link ValidationPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ValidationPackage init() { + if (isInited) return (ValidationPackage)EPackage.Registry.INSTANCE.getEPackage(ValidationPackage.eNS_URI); + + // Obtain or create and register package + ValidationPackageImpl theValidationPackage = (ValidationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ValidationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ValidationPackageImpl()); + + isInited = true; + + // Create package meta-data objects + theValidationPackage.createPackageContents(); + + // Initialize created meta-data + theValidationPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theValidationPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ValidationPackage.eNS_URI, theValidationPackage); + return theValidationPackage; + } + + /** + * + * + * @generated + */ + public EClass getSiriusStatus() { + return siriusStatusEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusStatus_Message() { + return (EAttribute)siriusStatusEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusStatus_Severity() { + return (EAttribute)siriusStatusEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getSiriusStatus_Exception() { + return (EAttribute)siriusStatusEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EEnum getSeverity() { + return severityEEnum; + } + + /** + * + * + * @generated + */ + public EDataType getSiriusException() { + return siriusExceptionEDataType; + } + + /** + * + * + * @generated + */ + public ValidationFactory getValidationFactory() { + return (ValidationFactory)getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + siriusStatusEClass = createEClass(SIRIUS_STATUS); + createEAttribute(siriusStatusEClass, SIRIUS_STATUS__MESSAGE); + createEAttribute(siriusStatusEClass, SIRIUS_STATUS__SEVERITY); + createEAttribute(siriusStatusEClass, SIRIUS_STATUS__EXCEPTION); + + // Create enums + severityEEnum = createEEnum(SEVERITY); + + // Create data types + siriusExceptionEDataType = createEDataType(SIRIUS_EXCEPTION); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes, features, and operations; add parameters + initEClass(siriusStatusEClass, SiriusStatus.class, "SiriusStatus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSiriusStatus_Message(), ecorePackage.getEString(), "message", null, 0, 1, SiriusStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSiriusStatus_Severity(), this.getSeverity(), "severity", null, 0, 1, SiriusStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSiriusStatus_Exception(), this.getSiriusException(), "exception", null, 0, 1, SiriusStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(severityEEnum, Severity.class, "Severity"); + addEEnumLiteral(severityEEnum, Severity.INFO); + addEEnumLiteral(severityEEnum, Severity.WARNING); + addEEnumLiteral(severityEEnum, Severity.ERROR); + addEEnumLiteral(severityEEnum, Severity.CANCEL); + + // Initialize data types + initEDataType(siriusExceptionEDataType, Object.class, "SiriusException", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); + + // Create resource + createResource(eNS_URI); + } + +} //ValidationPackageImpl diff --git a/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationAdapterFactory.java b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationAdapterFactory.java new file mode 100644 index 000000000..6d8d9bdc8 --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationAdapterFactory.java @@ -0,0 +1,126 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.sirius.validation.*; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see org.eclipse.sirius.validation.ValidationPackage + * @generated + */ +public class ValidationAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static ValidationPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public ValidationAdapterFactory() { + if (modelPackage == null) { + modelPackage = ValidationPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected ValidationSwitch modelSwitch = + new ValidationSwitch() { + @Override + public Adapter caseSiriusStatus(SiriusStatus object) { + return createSiriusStatusAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.sirius.validation.SiriusStatus Sirius Status}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.sirius.validation.SiriusStatus + * @generated + */ + public Adapter createSiriusStatusAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //ValidationAdapterFactory diff --git a/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationSwitch.java b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationSwitch.java new file mode 100644 index 000000000..88a23b342 --- /dev/null +++ b/prototypes/org.eclipse.sirius.validation/src-gen/org/eclipse/sirius/validation/util/ValidationSwitch.java @@ -0,0 +1,116 @@ +/** + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.htm + * Contributors: Obeo - initial API and implementation + */ +package org.eclipse.sirius.validation.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.sirius.validation.*; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see org.eclipse.sirius.validation.ValidationPackage + * @generated + */ +public class ValidationSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static ValidationPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public ValidationSwitch() { + if (modelPackage == null) { + modelPackage = ValidationPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case ValidationPackage.SIRIUS_STATUS: { + SiriusStatus siriusStatus = (SiriusStatus)theEObject; + T result = caseSiriusStatus(siriusStatus); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Sirius Status'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Sirius Status'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSiriusStatus(SiriusStatus object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //ValidationSwitch diff --git a/releng/org.eclipse.eef.releng/pom.xml b/releng/org.eclipse.eef.releng/pom.xml new file mode 100644 index 000000000..fc080de39 --- /dev/null +++ b/releng/org.eclipse.eef.releng/pom.xml @@ -0,0 +1,106 @@ + + + + 4.0.0 + + 2.0.0-SNAPSHOT + org.eclipse.eef + org.eclipse.eef.parent + pom + + EEF Parent + + + 0.23.1 + UTF-8 + + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + + + win32 + win32 + x86_64 + + + linux + gtk + x86_64 + + + macosx + cocoa + x86_64 + + + + + + org.eclipse.tycho + tycho-maven-plugin + ${tycho-version} + true + + + + + + + neon + + true + + + + + org.eclipse.tycho + target-platform-configuration + + + + org.eclipse.eef + neon + 1.0.0-SNAPSHOT + + + + + + + + targetplatforms/neon + + ../../plugins/org.eclipse.eef + ../../plugins/org.eclipse.eef.edit + + ../../plugins/org.eclipse.eef.interpreter + ../../plugins/org.eclipse.eef.interpreter.aql + + ../../plugins/org.eclipse.eef.core + ../../plugins/org.eclipse.eef.ide + ../../plugins/org.eclipse.eef.ide.ui + + ../../tests/org.eclipse.eef.tests + + ../../doc/org.eclipse.eef.documentation + + ../../features/org.eclipse.eef.sdk-feature + + + + \ No newline at end of file diff --git a/releng/org.eclipse.eef.releng/targetplatforms/neon/pom.xml b/releng/org.eclipse.eef.releng/targetplatforms/neon/pom.xml new file mode 100644 index 000000000..aca11b90f --- /dev/null +++ b/releng/org.eclipse.eef.releng/targetplatforms/neon/pom.xml @@ -0,0 +1,29 @@ + + + + 4.0.0 + + + org.eclipse.eef + org.eclipse.eef.parent + 2.0.0-SNAPSHOT + ../../ + + + neon + 1.0.0-SNAPSHOT + eclipse-target-definition + + EEF Neon Target Definition + + \ No newline at end of file diff --git a/tests/org.eclipse.eef.tests/.checkstyle b/tests/org.eclipse.eef.tests/.checkstyle new file mode 100644 index 000000000..121faf77d --- /dev/null +++ b/tests/org.eclipse.eef.tests/.checkstyle @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/tests/org.eclipse.eef.tests/.classpath b/tests/org.eclipse.eef.tests/.classpath new file mode 100644 index 000000000..eca7bdba8 --- /dev/null +++ b/tests/org.eclipse.eef.tests/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/tests/org.eclipse.eef.tests/.project b/tests/org.eclipse.eef.tests/.project new file mode 100644 index 000000000..0c681bc5d --- /dev/null +++ b/tests/org.eclipse.eef.tests/.project @@ -0,0 +1,34 @@ + + + org.eclipse.eef.tests + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + net.sf.eclipsecs.core.CheckstyleNature + + diff --git a/tests/org.eclipse.eef.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.eef.tests/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..7fa5a3962 --- /dev/null +++ b/tests/org.eclipse.eef.tests/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,398 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.builder.invalidClasspath=abort +org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=error +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=error +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=120 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=true +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=150 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=true +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +org.eclipse.jdt.core.incompleteClasspath=error +org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/tests/org.eclipse.eef.tests/.settings/org.eclipse.jdt.launching.prefs b/tests/org.eclipse.eef.tests/.settings/org.eclipse.jdt.launching.prefs new file mode 100644 index 000000000..3bb235278 --- /dev/null +++ b/tests/org.eclipse.eef.tests/.settings/org.eclipse.jdt.launching.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/tests/org.eclipse.eef.tests/.settings/org.eclipse.jdt.ui.prefs b/tests/org.eclipse.eef.tests/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 000000000..d7c5d3877 --- /dev/null +++ b/tests/org.eclipse.eef.tests/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,67 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=com;java;javax;org;\#org.junit; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates= +sp_cleanup.add_default_serial_version_id=false +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=true +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=false +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=true +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=false +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=false +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=true +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=false +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=false +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=false +sp_cleanup.remove_unused_private_types=false +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false +sp_cleanup.use_type_arguments=false diff --git a/tests/org.eclipse.eef.tests/.settings/org.eclipse.pde.prefs b/tests/org.eclipse.eef.tests/.settings/org.eclipse.pde.prefs new file mode 100644 index 000000000..3112e810d --- /dev/null +++ b/tests/org.eclipse.eef.tests/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=1 +compilers.p.build.java.compiler=1 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=0 +compilers.p.missing-version-import-package=0 +compilers.p.missing-version-require-bundle=0 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=0 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF new file mode 100644 index 000000000..4d6fb6e73 --- /dev/null +++ b/tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF @@ -0,0 +1,12 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.eef.tests +Bundle-Version: 2.0.0.qualifier +Bundle-Vendor: %providerName +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-Localization: plugin +Export-Package: org.eclipse.eef.tests.internal;version="2.0.0" +Require-Bundle: org.junit;bundle-version="[4.12.0,5.0.0)", + org.eclipse.eef;bundle-version="[2.0.0,3.0.0)", + org.eclipse.eef.core;bundle-version="[2.0.0,3.0.0)" diff --git a/tests/org.eclipse.eef.tests/about.html b/tests/org.eclipse.eef.tests/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/tests/org.eclipse.eef.tests/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

                About This Content

                + +

                June 15, 2010

                +

                License

                + +

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

                + +

                If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

                + + + \ No newline at end of file diff --git a/tests/org.eclipse.eef.tests/build.properties b/tests/org.eclipse.eef.tests/build.properties new file mode 100644 index 000000000..f756027e0 --- /dev/null +++ b/tests/org.eclipse.eef.tests/build.properties @@ -0,0 +1,13 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.properties,\ + about.html +javacProjectSettings = true diff --git a/tests/org.eclipse.eef.tests/plugin.properties b/tests/org.eclipse.eef.tests/plugin.properties new file mode 100644 index 000000000..7f70f9298 --- /dev/null +++ b/tests/org.eclipse.eef.tests/plugin.properties @@ -0,0 +1,9 @@ +# Copyright (c) 2015 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.htm +# Contributors: Obeo - initial API and implementation + +pluginName = EEF Tests +providerName = Eclipse Modeling Project diff --git a/tests/org.eclipse.eef.tests/pom.xml b/tests/org.eclipse.eef.tests/pom.xml new file mode 100644 index 000000000..dc7e084c4 --- /dev/null +++ b/tests/org.eclipse.eef.tests/pom.xml @@ -0,0 +1,45 @@ + + + + 4.0.0 + + + org.eclipse.eef + org.eclipse.eef.parent + 2.0.0-SNAPSHOT + ../../releng/org.eclipse.eef.releng + + + org.eclipse.eef.tests + eclipse-test-plugin + + EEF Tests + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + org.eclipse.eef.tests.internal.AllTests + + + + + \ No newline at end of file diff --git a/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/AllTests.java b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/AllTests.java new file mode 100644 index 000000000..9c36f282a --- /dev/null +++ b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/AllTests.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.tests.internal; + +import org.junit.runner.RunWith; +import org.junit.runners.Suite; +import org.junit.runners.Suite.SuiteClasses; + +/** + * This class will be used to launch all the tests at once. + * + * @author sbegaudeau + */ +@RunWith(Suite.class) +@SuiteClasses({ InitializationTests.class }) +public final class AllTests { + /** + * The constructor. + */ + private AllTests() { + // prevent instantiation + } +} diff --git a/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/InitializationTests.java b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/InitializationTests.java new file mode 100644 index 000000000..ebf11d002 --- /dev/null +++ b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/InitializationTests.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.tests.internal; + +import org.eclipse.eef.EEFViewDescription; +import org.eclipse.eef.EefFactory; +import org.junit.Test; + +import static org.junit.Assert.assertNotNull; + +/** + * This class will be used to test the initialization of the controllers. + * + * @author sbegaudeau + */ +@SuppressWarnings({ "checkstyle:javadocmethod" }) +public class InitializationTests { + @Test + public void testEmptyView() { + EEFViewDescription eefViewDescription = EefFactory.eINSTANCE.createEEFViewDescription(); + // TODO Create a meaningful test :) + assertNotNull(eefViewDescription); + } +} -- cgit v1.2.3 From 320c00538e62b5255f05fb211769f4370ee6e79d Mon Sep 17 00:00:00 2001 From: Pierre-Charles David Date: Tue, 24 Nov 2015 16:59:51 +0100 Subject: Return an empty IEvaluationResult instead of null Change-Id: Ie38a1e9e5fbabdc0ffec253e1353adb8bd950426 Signed-off-by: Pierre-Charles David --- .../eclipse/eef/core/internal/EEFCompoundInterpreter.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java index c25368791..ff74dbbc4 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java @@ -20,6 +20,7 @@ import java.util.Map; import org.eclipse.eef.interpreter.api.IEvaluationResult; import org.eclipse.eef.interpreter.api.IInterpreter; import org.eclipse.eef.interpreter.api.IInterpreterProvider; +import org.eclipse.emf.common.util.Diagnostic; /** * Utility class encapsulating all the available interpreters. @@ -75,7 +76,17 @@ public class EEFCompoundInterpreter implements IInterpreter { if (interpreter != null) { return interpreter.evaluateExpression(variables, expressionBody); } - return null; + return new IEvaluationResult() { + @Override + public Object getValue() { + return null; + } + + @Override + public Diagnostic getDiagnostic() { + return Diagnostic.CANCEL_INSTANCE; + } + }; } } -- cgit v1.2.3 From 73014288469819db156ea2c21364ebca10d2a6c9 Mon Sep 17 00:00:00 2001 From: Pierre-Charles David Date: Tue, 24 Nov 2015 17:02:28 +0100 Subject: Fix 'widget is disposed' exception in EEFSection Change-Id: Ie06ecaa3aa00de8ef5419254a03392b3a0c876b1 Signed-off-by: Pierre-Charles David --- .../src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java index a4237bc91..1fd315fcb 100644 --- a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java @@ -176,7 +176,9 @@ public class EEFSection implements ISection { eefText.addLabelExpressionConsumer(new IConsumer() { @Override public void apply(String value) { - label.setText(value); + if (!label.isDisposed()) { + label.setText(value); + } } }); } else if (widget instanceof Text && ((Text) widget).getData() instanceof EEFText) { -- cgit v1.2.3 From 4c362615ceb77f6564a0c216c1e6605124266883 Mon Sep 17 00:00:00 2001 From: Pierre-Charles David Date: Tue, 24 Nov 2015 17:03:37 +0100 Subject: Remove noisy traces sent to stdout Change-Id: I93130b98440b0823ceac595ce432ecb01ad7a655 Signed-off-by: Pierre-Charles David --- .../src/org/eclipse/eef/core/internal/EEFViewImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java index 0d286fd0e..4c3b82a42 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java @@ -109,7 +109,7 @@ public class EEFViewImpl extends AbstractEEFObject implements EEFView { for (EEFPage eefPage : EEFViewImpl.this.eefPages) { if (eefPage instanceof EEFPageImpl) { EEFPageImpl eefPageImpl = (EEFPageImpl) eefPage; - System.out.println("Resource Set changed: " + event); //$NON-NLS-1$ + //System.out.println("Resource Set changed: " + event); //$NON-NLS-1$ eefPageImpl.setInput(null); } } -- cgit v1.2.3 From 1a5555a94ead10b03b046aa2dee617081e5a85f6 Mon Sep 17 00:00:00 2001 From: Pierre-Charles David Date: Tue, 24 Nov 2015 17:04:51 +0100 Subject: Remove the RecordingCommand from EEFTextImpl.updateValue() RecordingCommand implies we want a read/write transaction, which requires eclusive lock on the ResourceSet and can not be done from a post-commit listener (which is where we are un updateValue()), causing EMF Tx to throw an exception. From an EMF Tx point of view updateValue() only reads the model so nothing special is needed. Change-Id: Ie22c21fa5339793bae5b85350560cf1ff33cb5dd Signed-off-by: Pierre-Charles David --- .../org/eclipse/eef/core/internal/EEFTextImpl.java | 36 ++++++---------------- 1 file changed, 10 insertions(+), 26 deletions(-) diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java index 9982b6e65..66e985321 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java @@ -21,9 +21,6 @@ import org.eclipse.eef.core.api.IConsumer; import org.eclipse.eef.core.api.IVariableManager; import org.eclipse.eef.interpreter.api.IEvaluationResult; import org.eclipse.eef.interpreter.api.IInterpreter; -import org.eclipse.emf.common.command.Command; -import org.eclipse.emf.common.command.CommandStack; -import org.eclipse.emf.transaction.RecordingCommand; import org.eclipse.emf.transaction.TransactionalEditingDomain; /** @@ -120,29 +117,16 @@ public class EEFTextImpl extends AbstractEEFWidgetImpl implements EEFText { @Override public void updateValue(final Object selection, final String newValue) { - Command command = new RecordingCommand(this.editingDomain) { - @Override - protected void doExecute() { - String editExpression = EEFTextImpl.this.eefTextDescription.getEditExpression(); - if (editExpression != null) { - Map variables = new HashMap(); - variables.putAll(EEFTextImpl.this.getVariableManager().getVariables()); - variables.put(EEFExpressionUtils.EEFText.NEW_VALUE, newValue); - - // FIXME REMOVE THIS HARDCODED STUFF!!!! - variables.put("selection", selection); //$NON-NLS-1$ - EEFTextImpl.this.getInterpreter().evaluateExpression(variables, editExpression); - } - } - - @Override - public boolean canExecute() { - return true; - } - }; - - CommandStack commandStack = this.editingDomain.getCommandStack(); - commandStack.execute(command); + String editExpression = EEFTextImpl.this.eefTextDescription.getEditExpression(); + if (editExpression != null) { + Map variables = new HashMap(); + variables.putAll(EEFTextImpl.this.getVariableManager().getVariables()); + variables.put(EEFExpressionUtils.EEFText.NEW_VALUE, newValue); + + // FIXME REMOVE THIS HARDCODED STUFF!!!! + variables.put("selection", selection); //$NON-NLS-1$ + EEFTextImpl.this.getInterpreter().evaluateExpression(variables, editExpression); + } } /** -- cgit v1.2.3 From 7cf112114787cc133aea0e433058922408285e25 Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Thu, 26 Nov 2015 11:44:59 +0100 Subject: Integrate EEF 2 to the EEF 1.x build Change-Id: I584bdabd140946e2008153d93d3e2c4ce4474557 --- releng/org.eclipse.eef.releng/pom.xml | 4 ++-- releng/org.eclipse.emf.eef.releng.parent/pom.xml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/releng/org.eclipse.eef.releng/pom.xml b/releng/org.eclipse.eef.releng/pom.xml index fc080de39..3b17bee6c 100644 --- a/releng/org.eclipse.eef.releng/pom.xml +++ b/releng/org.eclipse.eef.releng/pom.xml @@ -20,7 +20,7 @@ Contributors: EEF Parent - 0.23.1 + 0.20.0 UTF-8 @@ -103,4 +103,4 @@ Contributors: - \ No newline at end of file + diff --git a/releng/org.eclipse.emf.eef.releng.parent/pom.xml b/releng/org.eclipse.emf.eef.releng.parent/pom.xml index d159ca763..5a63351da 100644 --- a/releng/org.eclipse.emf.eef.releng.parent/pom.xml +++ b/releng/org.eclipse.emf.eef.releng.parent/pom.xml @@ -286,6 +286,9 @@ ../../tests/org.eclipse.emf.eef.tests.nonreg.editor ../../tests/org.eclipse.emf.eef.tests.nonreg.junit + + ../../releng/org.eclipse.eef.releng + -- cgit v1.2.3 From cdb727229b490b4d5df386c5c5ab5dd2fb145f18 Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Thu, 26 Nov 2015 14:30:22 +0100 Subject: EEF tests downgrade required execution env to 1.6 Change-Id: I5927faeca1556298c04c15f4070e566c977b6fef --- tests/org.eclipse.eef.tests/.classpath | 2 +- tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/org.eclipse.eef.tests/.classpath b/tests/org.eclipse.eef.tests/.classpath index eca7bdba8..ad32c83a7 100644 --- a/tests/org.eclipse.eef.tests/.classpath +++ b/tests/org.eclipse.eef.tests/.classpath @@ -1,6 +1,6 @@ - + diff --git a/tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF index 4d6fb6e73..8422d578c 100644 --- a/tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF +++ b/tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF @@ -4,7 +4,7 @@ Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.eef.tests Bundle-Version: 2.0.0.qualifier Bundle-Vendor: %providerName -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-Localization: plugin Export-Package: org.eclipse.eef.tests.internal;version="2.0.0" Require-Bundle: org.junit;bundle-version="[4.12.0,5.0.0)", -- cgit v1.2.3 From 90b2f509bdb2e2a792fec65621767ff77ebff303 Mon Sep 17 00:00:00 2001 From: Stéphane Bégaudeau Date: Thu, 26 Nov 2015 11:03:21 +0100 Subject: Improve the lifecycle and dependencies 1) Remove all concepts that should not be released for M4 2) Separate various steps of the lifecycle using different classes 3) Remove the interpreter and AQL interpreter plugins to use the Sirius plugins Change-Id: Ie15e64a25c6a6a111fdbb90b97a93251fda71b6f Signed-off-by: Stéphane Bégaudeau --- features/org.eclipse.eef.sdk-feature/feature.xml | 14 - plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF | 6 +- .../org/eclipse/eef/core/api/EEFChildObject.java | 25 -- .../src/org/eclipse/eef/core/api/EEFContainer.java | 36 -- .../eclipse/eef/core/api/EEFContainerParent.java | 2 +- .../eclipse/eef/core/api/EEFExpressionUtils.java | 58 +-- .../src/org/eclipse/eef/core/api/EEFGroup.java | 29 +- .../src/org/eclipse/eef/core/api/EEFObject.java | 31 -- .../src/org/eclipse/eef/core/api/EEFPage.java | 17 +- .../src/org/eclipse/eef/core/api/EEFText.java | 65 ---- .../src/org/eclipse/eef/core/api/EEFView.java | 17 +- .../org/eclipse/eef/core/api/EEFViewFactory.java | 10 +- .../src/org/eclipse/eef/core/api/EEFWidget.java | 20 -- .../src/org/eclipse/eef/core/api/IConsumer.java | 28 -- .../org/eclipse/eef/core/api/IEPackageManager.java | 29 -- .../org/eclipse/eef/core/api/IVariableManager.java | 7 +- .../api/controllers/EEFControllersFactory.java | 42 +++ .../core/api/controllers/EEFTextController.java | 60 ++++ .../eef/core/api/controllers/IConsumer.java | 28 ++ .../eef/core/internal/AbstractEEFChildObject.java | 36 -- .../eef/core/internal/AbstractEEFObject.java | 65 ---- .../eef/core/internal/AbstractEEFWidgetImpl.java | 35 -- .../eef/core/internal/EEFCompoundInterpreter.java | 6 +- .../eef/core/internal/EEFContainerImpl.java | 139 ------- .../eclipse/eef/core/internal/EEFGroupImpl.java | 64 ++-- .../org/eclipse/eef/core/internal/EEFPageImpl.java | 79 ++-- .../org/eclipse/eef/core/internal/EEFTextImpl.java | 191 ---------- .../eef/core/internal/EEFVariableManager.java | 21 ++ .../org/eclipse/eef/core/internal/EEFViewImpl.java | 141 +++++--- .../controllers/EEFTextControllerImpl.java | 176 +++++++++ .../org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF | 6 +- .../eef/ide/ui/api/TabDescriptorFilter.java | 16 +- .../eef/ide/ui/internal/data/EEFSection.java | 245 ------------- .../ide/ui/internal/data/EEFSectionDescriptor.java | 94 ----- .../eef/ide/ui/internal/data/EEFTabDescriptor.java | 91 ----- .../eef/ide/ui/internal/properties/EEFSection.java | 127 +++++++ .../internal/properties/EEFSectionDescriptor.java | 94 +++++ .../ui/internal/properties/EEFTabDescriptor.java | 91 +++++ .../widgets/EEFContainerLifecycleManager.java | 151 ++++++++ .../internal/widgets/EEFTextLifecycleManager.java | 233 ++++++++++++ .../ide/ui/internal/widgets/ILifecycleManager.java | 52 +++ plugins/org.eclipse.eef.ide/META-INF/MANIFEST.MF | 2 +- .../org/eclipse/eef/ide/internal/EEFIdePlugin.java | 2 +- .../org.eclipse.eef.interpreter.aql/.checkstyle | 10 - plugins/org.eclipse.eef.interpreter.aql/.classpath | 7 - plugins/org.eclipse.eef.interpreter.aql/.project | 34 -- .../.settings/org.eclipse.jdt.core.prefs | 398 --------------------- .../.settings/org.eclipse.jdt.launching.prefs | 2 - .../.settings/org.eclipse.jdt.ui.prefs | 67 ---- .../.settings/org.eclipse.pde.core.prefs | 2 - .../.settings/org.eclipse.pde.prefs | 32 -- .../META-INF/MANIFEST.MF | 17 - plugins/org.eclipse.eef.interpreter.aql/about.html | 28 -- .../build.properties | 15 - .../plugin.properties | 13 - plugins/org.eclipse.eef.interpreter.aql/plugin.xml | 14 - plugins/org.eclipse.eef.interpreter.aql/pom.xml | 37 -- .../aql/internal/AQLEvaluationResult.java | 66 ---- .../interpreter/aql/internal/AQLInterpreter.java | 108 ------ .../aql/internal/AQLInterpreterPlugin.java | 107 ------ .../aql/internal/AQLInterpreterProvider.java | 43 --- .../aql/internal/DefaultEEFServices.java | 50 --- .../eclipse/eef/interpreter/aql/internal/I18N.java | 144 -------- .../interpreter/aql/internal/IAQLConstants.java | 23 -- .../eef/interpreter/aql/internal/Messages.java | 45 --- plugins/org.eclipse.eef.interpreter/.checkstyle | 10 - plugins/org.eclipse.eef.interpreter/.classpath | 7 - plugins/org.eclipse.eef.interpreter/.project | 34 -- .../.settings/org.eclipse.jdt.core.prefs | 398 --------------------- .../.settings/org.eclipse.jdt.launching.prefs | 2 - .../.settings/org.eclipse.jdt.ui.prefs | 67 ---- .../.settings/org.eclipse.pde.core.prefs | 2 - .../.settings/org.eclipse.pde.prefs | 32 -- .../META-INF/MANIFEST.MF | 10 - plugins/org.eclipse.eef.interpreter/about.html | 28 -- .../org.eclipse.eef.interpreter/build.properties | 13 - .../org.eclipse.eef.interpreter/plugin.properties | 9 - plugins/org.eclipse.eef.interpreter/pom.xml | 37 -- .../eef/interpreter/api/IEvaluationResult.java | 34 -- .../eclipse/eef/interpreter/api/IInterpreter.java | 33 -- .../eef/interpreter/api/IInterpreterProvider.java | 35 -- .../eef/interpreter/api/IValidationResult.java | 27 -- releng/org.eclipse.eef.releng/pom.xml | 3 - .../org.eclipse.eef.uml.editor.sample/.checkstyle | 10 - .../org.eclipse.eef.uml.editor.sample/.classpath | 7 - .../org.eclipse.eef.uml.editor.sample/.project | 34 -- .../.settings/org.eclipse.jdt.core.prefs | 398 --------------------- .../.settings/org.eclipse.jdt.launching.prefs | 2 - .../.settings/org.eclipse.jdt.ui.prefs | 68 ---- .../.settings/org.eclipse.pde.core.prefs | 2 - .../.settings/org.eclipse.pde.prefs | 32 -- .../META-INF/MANIFEST.MF | 24 -- .../org.eclipse.eef.uml.editor.sample/about.html | 28 -- .../build.properties | 14 - .../description/EEFViewDescription.xmi | 27 -- .../plugin.properties | 11 - .../org.eclipse.eef.uml.editor.sample/plugin.xml | 33 -- .../editor/sample/internal/UmlSamplePlugin.java | 93 ----- .../description/EEFViewDescriptionProvider.java | 58 --- .../sample/internal/editor/EEFUmlEditor.java | 86 ----- .../properties/UMLTabDescriptorProvider.java | 71 ---- .../internal/properties/UmlPropertySheetPage.java | 33 -- 102 files changed, 1317 insertions(+), 4438 deletions(-) delete mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFChildObject.java delete mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainer.java delete mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFObject.java delete mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java delete mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFWidget.java delete mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IConsumer.java delete mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IEPackageManager.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/controllers/EEFControllersFactory.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/controllers/EEFTextController.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/controllers/IConsumer.java delete mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFChildObject.java delete mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFObject.java delete mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFWidgetImpl.java delete mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFContainerImpl.java delete mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java create mode 100644 plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/controllers/EEFTextControllerImpl.java delete mode 100644 plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java delete mode 100644 plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSectionDescriptor.java delete mode 100644 plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFTabDescriptor.java create mode 100644 plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFSection.java create mode 100644 plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFSectionDescriptor.java create mode 100644 plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFTabDescriptor.java create mode 100644 plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFContainerLifecycleManager.java create mode 100644 plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFTextLifecycleManager.java create mode 100644 plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/ILifecycleManager.java delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/.checkstyle delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/.classpath delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/.project delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.launching.prefs delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.ui.prefs delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.core.prefs delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.prefs delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/about.html delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/build.properties delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/plugin.properties delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/plugin.xml delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/pom.xml delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLEvaluationResult.java delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterPlugin.java delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterProvider.java delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/DefaultEEFServices.java delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/I18N.java delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/IAQLConstants.java delete mode 100644 plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/Messages.java delete mode 100644 plugins/org.eclipse.eef.interpreter/.checkstyle delete mode 100644 plugins/org.eclipse.eef.interpreter/.classpath delete mode 100644 plugins/org.eclipse.eef.interpreter/.project delete mode 100644 plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.launching.prefs delete mode 100644 plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.ui.prefs delete mode 100644 plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.core.prefs delete mode 100644 plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.prefs delete mode 100644 plugins/org.eclipse.eef.interpreter/META-INF/MANIFEST.MF delete mode 100644 plugins/org.eclipse.eef.interpreter/about.html delete mode 100644 plugins/org.eclipse.eef.interpreter/build.properties delete mode 100644 plugins/org.eclipse.eef.interpreter/plugin.properties delete mode 100644 plugins/org.eclipse.eef.interpreter/pom.xml delete mode 100644 plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IEvaluationResult.java delete mode 100644 plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java delete mode 100644 plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreterProvider.java delete mode 100644 plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IValidationResult.java delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.checkstyle delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.classpath delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.project delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.core.prefs delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.launching.prefs delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.ui.prefs delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.core.prefs delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.prefs delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/META-INF/MANIFEST.MF delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/about.html delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/build.properties delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/description/EEFViewDescription.xmi delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.properties delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.xml delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/UmlSamplePlugin.java delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/description/EEFViewDescriptionProvider.java delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/editor/EEFUmlEditor.java delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UMLTabDescriptorProvider.java delete mode 100644 samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UmlPropertySheetPage.java diff --git a/features/org.eclipse.eef.sdk-feature/feature.xml b/features/org.eclipse.eef.sdk-feature/feature.xml index ecd0fa488..77f6aa010 100644 --- a/features/org.eclipse.eef.sdk-feature/feature.xml +++ b/features/org.eclipse.eef.sdk-feature/feature.xml @@ -59,18 +59,4 @@ version="0.0.0" unpack="false"/> - - - - diff --git a/plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF index 02542b7eb..7054287fa 100644 --- a/plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF @@ -10,7 +10,9 @@ Require-Bundle: org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)", Import-Package: com.google.common.base;version="[15.0.0,16.0.0)", com.google.common.collect;version="[15.0.0,16.0.0)", org.eclipse.eef;version="[2.0.0,3.0.0)", - org.eclipse.eef.interpreter.api;version="[2.0.0,3.0.0)" + org.eclipse.sirius.common.interpreter.api;version="[1.0.0,2.0.0)" Export-Package: org.eclipse.eef.core.api;version="2.0.0", - org.eclipse.eef.core.internal;version="2.0.0";x-internal:=true + org.eclipse.eef.core.api.controllers;version="2.0.0", + org.eclipse.eef.core.internal;version="2.0.0";x-internal:=true, + org.eclipse.eef.core.internal.controllers;version="2.0.0" Bundle-Localization: plugin diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFChildObject.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFChildObject.java deleted file mode 100644 index 770a422e6..000000000 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFChildObject.java +++ /dev/null @@ -1,25 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.core.api; - -/** - * This interface is used to represent objects that have a parent. - * - * @author sbegaudeau - */ -public interface EEFChildObject extends EEFObject { - /** - * Returns the parent of the {@link EEFObject}. - * - * @return The parent of the {@link EEFObject} - */ - EEFObject getParent(); -} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainer.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainer.java deleted file mode 100644 index 1a7d28385..000000000 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainer.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.core.api; - -import java.util.List; - -import org.eclipse.eef.EEFContainerDescription; - -/** - * The EContainer is used to hold a group of {@link EEFWidget}. - * - * @author sbegaudeau - */ -public interface EEFContainer extends EEFContainerParent { - /** - * Returns the description of the {@link EEFContainer}. - * - * @return The {@link EEFContainerDescription} - */ - EEFContainerDescription getDescription(); - - /** - * Returns the list of {@link EEFWidget}. - * - * @return The list of {@link EEFWidget} - */ - List getWidgets(); -} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainerParent.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainerParent.java index 7e88a47e9..4f2ee56b4 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainerParent.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFContainerParent.java @@ -15,6 +15,6 @@ package org.eclipse.eef.core.api; * * @author sbegaudeau */ -public interface EEFContainerParent extends EEFChildObject { +public interface EEFContainerParent { // nothing } diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFExpressionUtils.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFExpressionUtils.java index 9b85cc494..466c42595 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFExpressionUtils.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFExpressionUtils.java @@ -15,64 +15,18 @@ package org.eclipse.eef.core.api; * * @author sbegaudeau */ -public class EEFExpressionUtils { +public final class EEFExpressionUtils { /** - * Utility class containing the constants related to the {@link org.eclipse.eef.core.api.EEFView}. - * - * @author sbegaudeau - */ - public final class EEFView { - /** - * The name of the variable viewSemanticCandidate. - */ - public static final String VIEW_SEMANTIC_CANDIDATE = "viewSemanticCandidate"; //$NON-NLS-1$ - - /** - * The constructor. - */ - private EEFView() { - // prevent instantiation - } - } - - /** - * Utility class containing the constants related to the {@link org.eclipse.eef.core.api.EEFPage}. - * - * @author sbegaudeau + * The self variable. */ - public final class EEFPage { - - /** - * The name of the variable pageSemanticCandidate. - */ - public static final String PAGE_SEMANTIC_CANDIDATE = "pageSemanticCandidate"; //$NON-NLS-1$ - - /** - * The constructor. - */ - private EEFPage() { - // prevent instantiation - } - } + public static final String SELF = "self"; //$NON-NLS-1$ /** - * Utility class containing the constants related to the {@link org.eclipse.eef.core.api.EEFGroup}. - * - * @author sbegaudeau + * The constructor. */ - public final class EEFGroup { - /** - * The name of the variable groupSemanticCandidate. - */ - public static final String GROUP_SEMANTIC_CANDIDATE = "groupSemanticCandidate"; //$NON-NLS-1$ - - /** - * The constructor. - */ - private EEFGroup() { - // prevent instantiation - } + private EEFExpressionUtils() { + // prevent instantiation } /** diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFGroup.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFGroup.java index 6c5703a33..803995fc7 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFGroup.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFGroup.java @@ -11,6 +11,8 @@ package org.eclipse.eef.core.api; import org.eclipse.eef.EEFGroupDescription; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.sirius.common.interpreter.api.IInterpreter; /** * The {@link EEFGroup} is used as the main structure within a page. @@ -26,9 +28,30 @@ public interface EEFGroup extends EEFContainerParent { EEFGroupDescription getDescription(); /** - * Returns the {@link EEFContainer} used to layout this {@link EEFGroup}. + * Returns the page containing the group. * - * @return The {@link EEFContainer} + * @return The page containing the group */ - EEFContainer getContainer(); + EEFPage getPage(); + + /** + * Returns the variable manager. + * + * @return The variable manager + */ + IVariableManager getVariableManager(); + + /** + * Returns the interpreter. + * + * @return The interpreter + */ + IInterpreter getInterpreter(); + + /** + * Returns the editing domain. + * + * @return The editing domain + */ + TransactionalEditingDomain getEditingDomain(); } diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFObject.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFObject.java deleted file mode 100644 index 121e8cddd..000000000 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFObject.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.core.api; - -/** - * Superinterface of all the business objects. - * - * @author sbegaudeau - */ -public interface EEFObject { - /** - * Creates the tree of objects representing the user interface. - */ - void createControl(); - - /** - * Set or update the input and reevaluates all the input-related expressions. - * - * @param object - * The new input - */ - void setInput(Object object); -} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFPage.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFPage.java index 45d7c2b56..416629a3d 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFPage.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFPage.java @@ -19,7 +19,7 @@ import org.eclipse.eef.EEFPageDescription; * * @author sbegaudeau */ -public interface EEFPage extends EEFChildObject { +public interface EEFPage { /** * Returns the description of the {@link EEFPage}. * @@ -40,4 +40,19 @@ public interface EEFPage extends EEFChildObject { * @return The {@link EEFGroup} */ List getGroups(); + + /** + * Returns the view containing the page. + * + * @return The view containing the page + */ + EEFView getView(); + + /** + * Returns the variable manager. + * + * @return The variable manager + */ + IVariableManager getVariableManager(); + } diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java deleted file mode 100644 index 7b5f95ec5..000000000 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFText.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.core.api; - -import org.eclipse.eef.EEFTextDescription; - -/** - * The {@link EEFText} is used to manage the state of a Text widget. - * - * @author sbegaudeau - */ -public interface EEFText extends EEFWidget { - /** - * Returns the description of the {@link EEFText}. - * - * @return The {@link EEFTextDescription} - */ - EEFTextDescription getDescription(); - - /** - * Adds a consumer which will be triggered when the value expression is evaluated. - * - * @param consumer - * A functional interface used as a callback - */ - void addValueExpressionConsumer(IConsumer consumer); - - /** - * Removes the value expression consumer. - */ - void removeValueExpressionConsumer(); - - /** - * Updates the value of the text. - * - * @param selection - * The selection - * - * @param newValue - * The new value - */ - void updateValue(Object selection, String newValue); - - /** - * Adds a consumer which will be triggered when the label expression is evaluated. - * - * @param consumer - * A functional interface used as a callback - */ - void addLabelExpressionConsumer(IConsumer consumer); - - /** - * Removes the label expression consumer. - */ - void removeLabelExpressionConsumer(); - -} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFView.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFView.java index ac705b537..df2e51c4b 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFView.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFView.java @@ -13,13 +13,28 @@ package org.eclipse.eef.core.api; import java.util.List; import org.eclipse.eef.EEFViewDescription; +import org.eclipse.emf.ecore.EObject; /** * The view if the root concept of the EEF model. * * @author sbegaudeau */ -public interface EEFView extends EEFObject { +public interface EEFView { + + /** + * Initializes the view by creating the pages and groups used to compute the tab and section descriptors. + */ + void initialize(); + + /** + * Sets the input of the view. + * + * @param eObject + * The input + */ + void setInput(EObject eObject); + /** * Returns the description of the {@link EEFView}. * diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFViewFactory.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFViewFactory.java index ce9614d46..67a771c82 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFViewFactory.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFViewFactory.java @@ -15,8 +15,9 @@ import java.util.List; import org.eclipse.eef.EEFViewDescription; import org.eclipse.eef.core.internal.EEFCompoundInterpreter; import org.eclipse.eef.core.internal.EEFViewImpl; -import org.eclipse.eef.interpreter.api.IInterpreterProvider; +import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.sirius.common.interpreter.api.IInterpreterProvider; /** * The factory used to create the {@link EEFView}. @@ -35,12 +36,15 @@ public class EEFViewFactory { * The {@link IInterpreterProvider} available * @param editingDomain * The editing domain + * @param eObject + * The input * @return The {@link EEFView} fully initialized */ public EEFView createEEFView(EEFViewDescription eefViewDescription, IVariableManager variableManager, - List interpreterProviders, TransactionalEditingDomain editingDomain) { + List interpreterProviders, TransactionalEditingDomain editingDomain, EObject eObject) { EEFView eefView = new EEFViewImpl(eefViewDescription, variableManager, new EEFCompoundInterpreter(interpreterProviders), editingDomain); - eefView.createControl(); + eefView.setInput(eObject); + eefView.initialize(); return eefView; } } diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFWidget.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFWidget.java deleted file mode 100644 index 85af8cee0..000000000 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/EEFWidget.java +++ /dev/null @@ -1,20 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.core.api; - -/** - * Common superclass of all the classes used to manage widgets. - * - * @author sbegaudeau - */ -public interface EEFWidget extends EEFChildObject { - // do nothing -} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IConsumer.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IConsumer.java deleted file mode 100644 index db928f9d8..000000000 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IConsumer.java +++ /dev/null @@ -1,28 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.core.api; - -/** - * The consumer is a functional type used to receive an Object of a specific type. - * - * @author sbegaudeau - * @param - * The type of the Object that can be received - */ -public interface IConsumer { - /** - * This operation is called in order to give to the consumer an Object. - * - * @param value - * The Object - */ - void apply(T value); -} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IEPackageManager.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IEPackageManager.java deleted file mode 100644 index 1c8e29dab..000000000 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IEPackageManager.java +++ /dev/null @@ -1,29 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.core.api; - -import java.util.List; - -import org.eclipse.emf.ecore.EPackage; - -/** - * Utility class used to manage all the {@link EPackage} known by the application. - * - * @author sbegaudeau - */ -public interface IEPackageManager { - /** - * Returns the {@link EPackage}. - * - * @return the {@link EPackage} - */ - List getEPackages(); -} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IVariableManager.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IVariableManager.java index 4911f2aa6..4afe40a45 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IVariableManager.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/IVariableManager.java @@ -38,9 +38,14 @@ public interface IVariableManager { /** * Creates a child {@link IVariableManager}. - * + * * @return A child {@link IVariableManager} */ IVariableManager createChild(); + /** + * Clear the variable manager and its children. + */ + void clear(); + } diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/controllers/EEFControllersFactory.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/controllers/EEFControllersFactory.java new file mode 100644 index 000000000..f0453850d --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/controllers/EEFControllersFactory.java @@ -0,0 +1,42 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api.controllers; + +import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.core.api.IVariableManager; +import org.eclipse.eef.core.internal.controllers.EEFTextControllerImpl; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.sirius.common.interpreter.api.IInterpreter; + +/** + * This factory will be used to create the controllers. + * + * @author sbegaudeau + */ +public class EEFControllersFactory { + /** + * Creates a new text controller. + * + * @param description + * The description + * @param variableManager + * The variable manager + * @param interpreter + * The interpreter + * @param editingDomain + * The editing domain + * @return A text controller + */ + public EEFTextController createTextController(EEFTextDescription description, IVariableManager variableManager, IInterpreter interpreter, + TransactionalEditingDomain editingDomain) { + return new EEFTextControllerImpl(description, variableManager, interpreter, editingDomain); + } +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/controllers/EEFTextController.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/controllers/EEFTextController.java new file mode 100644 index 000000000..ff89909a0 --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/controllers/EEFTextController.java @@ -0,0 +1,60 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api.controllers; + +/** + * The EEFTextController is responsible of supporting all the interactions with the widgets created for an + * EEFTextDescription. + * + * @author sbegaudeau + */ +public interface EEFTextController { + + /** + * Update the value of the text. + * + * @param text + * The new value of the text + */ + void updateValue(String text); + + /** + * Register a consumer which will be called with the new value of the text when it will change. + * + * @param consumer + * The consumer of the new value of the text + */ + void onNewValue(IConsumer consumer); + + /** + * Register a consumer which will be called with the new value of the label when it will change. + * + * @param consumer + * The consumer of the new value of the label + */ + void onNewLabel(IConsumer consumer); + + /** + * Remove the consumer of the new value of the text. + */ + void removeNewValueConsumer(); + + /** + * Remove the consumer of the new value of the label. + */ + void removeNewLabelConsumer(); + + /** + * Refresh the label and the text. + */ + void refresh(); + +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/controllers/IConsumer.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/controllers/IConsumer.java new file mode 100644 index 000000000..bda83b59b --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/api/controllers/IConsumer.java @@ -0,0 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.api.controllers; + +/** + * The consumer is a functional type used to receive an Object of a specific type. + * + * @author sbegaudeau + * @param + * The type of the Object that can be received + */ +public interface IConsumer { + /** + * This operation is called in order to give to the consumer an Object. + * + * @param value + * The Object + */ + void apply(T value); +} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFChildObject.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFChildObject.java deleted file mode 100644 index 58746f081..000000000 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFChildObject.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.core.internal; - -import org.eclipse.eef.core.api.EEFChildObject; -import org.eclipse.eef.core.api.IVariableManager; -import org.eclipse.eef.interpreter.api.IInterpreter; - -/** - * Common superclass of all the child object. - * - * @author sbegaudeau - */ -public abstract class AbstractEEFChildObject extends AbstractEEFObject implements EEFChildObject { - - /** - * The constructor. - * - * @param variableManager - * The variable manager - * @param interpreter - * The interpreter - */ - public AbstractEEFChildObject(IVariableManager variableManager, IInterpreter interpreter) { - super(variableManager, interpreter); - } - -} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFObject.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFObject.java deleted file mode 100644 index 99a6d5f10..000000000 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFObject.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.core.internal; - -import org.eclipse.eef.core.api.EEFObject; -import org.eclipse.eef.core.api.IVariableManager; -import org.eclipse.eef.interpreter.api.IInterpreter; - -/** - * The basic implementation of the {@link EEFObject}. - * - * @author sbegaudeau - */ -public abstract class AbstractEEFObject implements EEFObject { - - /** - * The variable manager. - */ - private IVariableManager variableManager; - - /** - * The interpreter. - */ - private IInterpreter interpreter; - - /** - * The constructor. - * - * @param variableManager - * The variable manager - * @param interpreter - * The interpreter - */ - public AbstractEEFObject(IVariableManager variableManager, IInterpreter interpreter) { - this.variableManager = variableManager; - this.interpreter = interpreter; - } - - /** - * Return the variableManager. - * - * @return the variableManager - */ - protected IVariableManager getVariableManager() { - return this.variableManager; - } - - /** - * Return the interpreter. - * - * @return the interpreter - */ - protected IInterpreter getInterpreter() { - return this.interpreter; - } - -} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFWidgetImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFWidgetImpl.java deleted file mode 100644 index 23c84b6ea..000000000 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/AbstractEEFWidgetImpl.java +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.core.internal; - -import org.eclipse.eef.core.api.EEFWidget; -import org.eclipse.eef.core.api.IVariableManager; -import org.eclipse.eef.interpreter.api.IInterpreter; - -/** - * The implementation of the {@link EEFWidget}. - * - * @author sbegaudeau - */ -public abstract class AbstractEEFWidgetImpl extends AbstractEEFChildObject implements EEFWidget { - - /** - * The constructor. - * - * @param variableManager - * The variable manager - * @param interpreter - * The interpreter - */ - public AbstractEEFWidgetImpl(IVariableManager variableManager, IInterpreter interpreter) { - super(variableManager, interpreter); - } -} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java index ff74dbbc4..d09fa69d9 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFCompoundInterpreter.java @@ -17,10 +17,10 @@ import com.google.common.collect.Iterables; import java.util.List; import java.util.Map; -import org.eclipse.eef.interpreter.api.IEvaluationResult; -import org.eclipse.eef.interpreter.api.IInterpreter; -import org.eclipse.eef.interpreter.api.IInterpreterProvider; import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.sirius.common.interpreter.api.IEvaluationResult; +import org.eclipse.sirius.common.interpreter.api.IInterpreter; +import org.eclipse.sirius.common.interpreter.api.IInterpreterProvider; /** * Utility class encapsulating all the available interpreters. diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFContainerImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFContainerImpl.java deleted file mode 100644 index ce62333d3..000000000 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFContainerImpl.java +++ /dev/null @@ -1,139 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.core.internal; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.eef.EEFContainerDescription; -import org.eclipse.eef.EEFTextDescription; -import org.eclipse.eef.EEFWidgetDescription; -import org.eclipse.eef.core.api.EEFContainer; -import org.eclipse.eef.core.api.EEFContainerParent; -import org.eclipse.eef.core.api.EEFWidget; -import org.eclipse.eef.core.api.IVariableManager; -import org.eclipse.eef.interpreter.api.IInterpreter; -import org.eclipse.emf.transaction.TransactionalEditingDomain; - -/** - * Implementation of the {@link EEFContainer}. - * - * @author sbegaudeau - */ -public class EEFContainerImpl extends AbstractEEFChildObject implements EEFContainer { - - /** - * The parent of the {@link EEFContainer}. - */ - private EEFContainerParent eefContainerParent; - - /** - * The description. - */ - private EEFContainerDescription eefContainerDescription; - - /** - * The widgets. - */ - private List eWidgets = new ArrayList(); - - /** - * The editing domain. - */ - private TransactionalEditingDomain editingDomain; - - /** - * The constructor. - * - * @param eefContainerParent - * The parent of the container - * @param eefContainerDescription - * The description - * @param variableManager - * The variable manager - * @param interpreter - * The interpreter - * @param editingDomain - * The editing domain - */ - public EEFContainerImpl(EEFContainerParent eefContainerParent, EEFContainerDescription eefContainerDescription, IVariableManager variableManager, - IInterpreter interpreter, TransactionalEditingDomain editingDomain) { - super(variableManager, interpreter); - this.eefContainerDescription = eefContainerDescription; - this.eefContainerParent = eefContainerParent; - this.editingDomain = editingDomain; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFObject#createControl() - */ - @Override - public void createControl() { - List eefWidgetDescriptions = this.eefContainerDescription.getWidgets(); - for (EEFWidgetDescription eefWidgetDescription : eefWidgetDescriptions) { - if (eefWidgetDescription instanceof EEFTextDescription) { - EEFTextDescription eefTextDescription = (EEFTextDescription) eefWidgetDescription; - IVariableManager childVariableManager = this.getVariableManager().createChild(); - EEFTextImpl eefTextImpl = new EEFTextImpl(this, eefTextDescription, childVariableManager, this.getInterpreter(), this.editingDomain); - eefTextImpl.createControl(); - this.eWidgets.add(eefTextImpl); - } - } - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFObject#setInput(java.lang.Object) - */ - @Override - public void setInput(Object object) { - for (EEFWidget eefWidget : this.eWidgets) { - if (eefWidget instanceof AbstractEEFWidgetImpl) { - AbstractEEFWidgetImpl eefWidgetImpl = (AbstractEEFWidgetImpl) eefWidget; - eefWidgetImpl.setInput(null); - } - } - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFContainer#getDescription() - */ - @Override - public EEFContainerDescription getDescription() { - return this.eefContainerDescription; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFContainer#getWidgets() - */ - @Override - public List getWidgets() { - return this.eWidgets; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFChildObject#getParent() - */ - @Override - public EEFContainerParent getParent() { - return this.eefContainerParent; - } - -} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java index c34fbc4de..775674413 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFGroupImpl.java @@ -11,20 +11,28 @@ package org.eclipse.eef.core.internal; import org.eclipse.eef.EEFGroupDescription; -import org.eclipse.eef.core.api.EEFContainer; -import org.eclipse.eef.core.api.EEFExpressionUtils; import org.eclipse.eef.core.api.EEFGroup; import org.eclipse.eef.core.api.EEFPage; import org.eclipse.eef.core.api.IVariableManager; -import org.eclipse.eef.interpreter.api.IInterpreter; import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.sirius.common.interpreter.api.IInterpreter; /** * The implementation of the {@link EEFGroup}. * * @author sbegaudeau */ -public class EEFGroupImpl extends AbstractEEFChildObject implements EEFGroup { +public class EEFGroupImpl implements EEFGroup { + /** + * The variable manager. + */ + private IVariableManager variableManager; + + /** + * The interpreter. + */ + private IInterpreter interpreter; + /** * The description. */ @@ -35,11 +43,6 @@ public class EEFGroupImpl extends AbstractEEFChildObject implements EEFGroup { */ private EEFPage eefPage; - /** - * The {@link EEFContainer}. - */ - private EEFContainer eefContainer; - /** * The editing domain. */ @@ -61,7 +64,8 @@ public class EEFGroupImpl extends AbstractEEFChildObject implements EEFGroup { */ public EEFGroupImpl(EEFPage eefPage, EEFGroupDescription eefGroupDescription, IVariableManager variableManager, IInterpreter interpreter, TransactionalEditingDomain editingDomain) { - super(variableManager, interpreter); + this.variableManager = variableManager; + this.interpreter = interpreter; this.eefPage = eefPage; this.eefGroupDescription = eefGroupDescription; this.editingDomain = editingDomain; @@ -70,57 +74,45 @@ public class EEFGroupImpl extends AbstractEEFChildObject implements EEFGroup { /** * {@inheritDoc} * - * @see org.eclipse.eef.core.api.EEFObject#createControl() + * @see org.eclipse.eef.core.api.EEFGroup#getDescription() */ @Override - public void createControl() { - EEFContainerImpl eefContainerImpl = new EEFContainerImpl(this, this.eefGroupDescription.getContainer(), this.getVariableManager(), - this.getInterpreter(), this.editingDomain); - eefContainerImpl.createControl(); - this.eefContainer = eefContainerImpl; + public EEFGroupDescription getDescription() { + return this.eefGroupDescription; } - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFObject#setInput(java.lang.Object) - */ @Override - public void setInput(Object object) { - this.getVariableManager().put(EEFExpressionUtils.EEFGroup.GROUP_SEMANTIC_CANDIDATE, object); - if (this.eefContainer instanceof EEFContainerImpl) { - EEFContainerImpl eefContainerImpl = (EEFContainerImpl) this.eefContainer; - eefContainerImpl.setInput(null); - } + public EEFPage getPage() { + return this.eefPage; } /** * {@inheritDoc} * - * @see org.eclipse.eef.core.api.EEFGroup#getContainer() + * @see org.eclipse.eef.core.api.EEFGroup#getVariableManager() */ @Override - public EEFContainer getContainer() { - return this.eefContainer; + public IVariableManager getVariableManager() { + return this.variableManager; } /** * {@inheritDoc} * - * @see org.eclipse.eef.core.api.EEFGroup#getDescription() + * @see org.eclipse.eef.core.api.EEFGroup#getInterpreter() */ @Override - public EEFGroupDescription getDescription() { - return this.eefGroupDescription; + public IInterpreter getInterpreter() { + return this.interpreter; } /** * {@inheritDoc} * - * @see org.eclipse.eef.core.api.EEFChildObject#getParent() + * @see org.eclipse.eef.core.api.EEFGroup#getEditingDomain() */ @Override - public EEFPage getParent() { - return this.eefPage; + public TransactionalEditingDomain getEditingDomain() { + return this.editingDomain; } } diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java index 980474007..efa8e0a8f 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFPageImpl.java @@ -20,16 +20,25 @@ import org.eclipse.eef.core.api.EEFGroup; import org.eclipse.eef.core.api.EEFPage; import org.eclipse.eef.core.api.EEFView; import org.eclipse.eef.core.api.IVariableManager; -import org.eclipse.eef.interpreter.api.IEvaluationResult; -import org.eclipse.eef.interpreter.api.IInterpreter; import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.sirius.common.interpreter.api.IEvaluationResult; +import org.eclipse.sirius.common.interpreter.api.IInterpreter; /** * The implementation of the {@link EEFPage}. * * @author sbegaudeau */ -public class EEFPageImpl extends AbstractEEFChildObject implements EEFPage { +public class EEFPageImpl implements EEFPage { + /** + * The variable manager. + */ + private IVariableManager variableManager; + + /** + * The interpreter. + */ + private IInterpreter interpreter; /** * The containing {@link EEFView}. @@ -67,80 +76,49 @@ public class EEFPageImpl extends AbstractEEFChildObject implements EEFPage { */ public EEFPageImpl(EEFView eefView, EEFPageDescription eefPageDescription, IVariableManager variableManager, IInterpreter interpreter, TransactionalEditingDomain editingDomain) { - super(variableManager, interpreter); + this.variableManager = variableManager; + this.interpreter = interpreter; this.eefView = eefView; this.eefPageDescription = eefPageDescription; this.editingDomain = editingDomain; } /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFObject#createControl() + * Initialize the variables of the EEFPage. */ - @Override - public void createControl() { + public void initialize() { List eefGroupDescriptions = this.eefPageDescription.getGroups(); for (EEFGroupDescription eefGroupDescription : eefGroupDescriptions) { String semanticCandidatesExpression = eefGroupDescription.getSemanticCandidateExpression(); if (semanticCandidatesExpression != null && semanticCandidatesExpression.trim().length() > 0) { - IEvaluationResult evaluationResult = this.getInterpreter().evaluateExpression(this.getVariableManager().getVariables(), + IEvaluationResult evaluationResult = this.interpreter.evaluateExpression(this.getVariableManager().getVariables(), semanticCandidatesExpression); if (evaluationResult.getValue() instanceof Iterable) { @SuppressWarnings("unchecked") Iterable groupSemanticCandidates = (Iterable) evaluationResult.getValue(); for (Object groupSemanticCandidate : groupSemanticCandidates) { IVariableManager childVariableManager = this.getVariableManager().createChild(); - childVariableManager.put(EEFExpressionUtils.EEFGroup.GROUP_SEMANTIC_CANDIDATE, groupSemanticCandidate); - EEFGroupImpl eefGroupImpl = new EEFGroupImpl(this, eefGroupDescription, childVariableManager, this.getInterpreter(), + childVariableManager.put(EEFExpressionUtils.SELF, groupSemanticCandidate); + EEFGroupImpl eefGroupImpl = new EEFGroupImpl(this, eefGroupDescription, childVariableManager, this.interpreter, this.editingDomain); - eefGroupImpl.createControl(); eefGroups.add(eefGroupImpl); } } else { Object groupSemanticCandidate = evaluationResult.getValue(); IVariableManager childVariableManager = this.getVariableManager().createChild(); - childVariableManager.put(EEFExpressionUtils.EEFGroup.GROUP_SEMANTIC_CANDIDATE, groupSemanticCandidate); - EEFGroupImpl eefGroupImpl = new EEFGroupImpl(this, eefGroupDescription, childVariableManager, this.getInterpreter(), + childVariableManager.put(EEFExpressionUtils.SELF, groupSemanticCandidate); + EEFGroupImpl eefGroupImpl = new EEFGroupImpl(this, eefGroupDescription, childVariableManager, this.interpreter, this.editingDomain); - eefGroupImpl.createControl(); eefGroups.add(eefGroupImpl); } } else { IVariableManager childVariableManager = this.getVariableManager().createChild(); - EEFGroupImpl eefGroupImpl = new EEFGroupImpl(this, eefGroupDescription, childVariableManager, this.getInterpreter(), - this.editingDomain); - eefGroupImpl.createControl(); + EEFGroupImpl eefGroupImpl = new EEFGroupImpl(this, eefGroupDescription, childVariableManager, this.interpreter, this.editingDomain); eefGroups.add(eefGroupImpl); } } } - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFObject#setInput(java.lang.Object) - */ - @Override - public void setInput(Object object) { - for (int i = 0; i < this.eefGroups.size(); i = i + 1) { - EEFGroup eefGroup = this.eefGroups.get(i); - if (eefGroup instanceof EEFGroupImpl) { - EEFGroupImpl eefGroupImpl = (EEFGroupImpl) eefGroup; - - String semanticCandidatesExpression = eefGroupImpl.getDescription().getSemanticCandidateExpression(); - if (semanticCandidatesExpression != null && semanticCandidatesExpression.trim().length() > 0) { - IEvaluationResult evaluationResult = this.getInterpreter().evaluateExpression(this.getVariableManager().getVariables(), - semanticCandidatesExpression); - Object groupSemanticCandidate = evaluationResult.getValue(); - eefGroupImpl.setInput(groupSemanticCandidate); - } else { - eefGroupImpl.setInput(null); - } - } - } - } - /** * {@inheritDoc} * @@ -150,7 +128,7 @@ public class EEFPageImpl extends AbstractEEFChildObject implements EEFPage { public String getLabel() { String labelExpression = this.eefPageDescription.getLabelExpression(); if (labelExpression != null) { - IEvaluationResult evaluationResult = this.getInterpreter().evaluateExpression(this.getVariableManager().getVariables(), labelExpression); + IEvaluationResult evaluationResult = this.interpreter.evaluateExpression(this.getVariableManager().getVariables(), labelExpression); if (evaluationResult.getValue() != null) { return evaluationResult.getValue().toString(); } @@ -178,14 +156,19 @@ public class EEFPageImpl extends AbstractEEFChildObject implements EEFPage { return this.eefPageDescription; } + @Override + public EEFView getView() { + return this.eefView; + } + /** * {@inheritDoc} * - * @see org.eclipse.eef.core.api.EEFChildObject#getParent() + * @see org.eclipse.eef.core.api.EEFPage#getVariableManager() */ @Override - public EEFView getParent() { - return this.eefView; + public IVariableManager getVariableManager() { + return this.variableManager; } } diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java deleted file mode 100644 index 66e985321..000000000 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFTextImpl.java +++ /dev/null @@ -1,191 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.core.internal; - -import java.util.HashMap; -import java.util.Map; - -import org.eclipse.eef.EEFTextDescription; -import org.eclipse.eef.core.api.EEFContainer; -import org.eclipse.eef.core.api.EEFExpressionUtils; -import org.eclipse.eef.core.api.EEFText; -import org.eclipse.eef.core.api.IConsumer; -import org.eclipse.eef.core.api.IVariableManager; -import org.eclipse.eef.interpreter.api.IEvaluationResult; -import org.eclipse.eef.interpreter.api.IInterpreter; -import org.eclipse.emf.transaction.TransactionalEditingDomain; - -/** - * The implementation of the {@link EEFText}. - * - * @author sbegaudeau - */ -public class EEFTextImpl extends AbstractEEFWidgetImpl implements EEFText { - - /** - * The description. - */ - private EEFTextDescription eefTextDescription; - - /** - * The parent. - */ - private EEFContainer eefContainer; - - /** - * The consumer of the value expression. - */ - private IConsumer valueExpressionConsumer; - - /** - * The consumer of the label expression. - */ - private IConsumer labelExpressionConsumer; - - /** - * The editing domain. - */ - private TransactionalEditingDomain editingDomain; - - /** - * The constructor. - * - * @param eefContainer - * The parent of the widget - * @param eefTextDescription - * The description - * @param variableManager - * The variable manager - * @param interpreter - * The interpreter - * @param editingDomain - * The editing domain - */ - public EEFTextImpl(EEFContainer eefContainer, EEFTextDescription eefTextDescription, IVariableManager variableManager, IInterpreter interpreter, - TransactionalEditingDomain editingDomain) { - super(variableManager, interpreter); - this.eefTextDescription = eefTextDescription; - this.eefContainer = eefContainer; - this.editingDomain = editingDomain; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFObject#createControl() - */ - @Override - public void createControl() { - // do nothing - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFObject#setInput(java.lang.Object) - */ - @Override - public void setInput(Object object) { - String valueExpression = EEFTextImpl.this.eefTextDescription.getValueExpression(); - if (valueExpression != null) { - IEvaluationResult evaluationResult = EEFTextImpl.this.getInterpreter() - .evaluateExpression(EEFTextImpl.this.getVariableManager().getVariables(), valueExpression); - Object value = evaluationResult.getValue(); - if (value instanceof String && EEFTextImpl.this.valueExpressionConsumer != null) { - EEFTextImpl.this.valueExpressionConsumer.apply((String) value); - } - } - - String labelExpression = EEFTextImpl.this.eefTextDescription.getLabelExpression(); - if (labelExpression != null) { - IEvaluationResult evaluationResult = EEFTextImpl.this.getInterpreter() - .evaluateExpression(EEFTextImpl.this.getVariableManager().getVariables(), labelExpression); - Object value = evaluationResult.getValue(); - if (value instanceof String && EEFTextImpl.this.labelExpressionConsumer != null) { - EEFTextImpl.this.labelExpressionConsumer.apply((String) value); - } - } - } - - @Override - public void updateValue(final Object selection, final String newValue) { - String editExpression = EEFTextImpl.this.eefTextDescription.getEditExpression(); - if (editExpression != null) { - Map variables = new HashMap(); - variables.putAll(EEFTextImpl.this.getVariableManager().getVariables()); - variables.put(EEFExpressionUtils.EEFText.NEW_VALUE, newValue); - - // FIXME REMOVE THIS HARDCODED STUFF!!!! - variables.put("selection", selection); //$NON-NLS-1$ - EEFTextImpl.this.getInterpreter().evaluateExpression(variables, editExpression); - } - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFText#addValueExpressionConsumer(org.eclipse.eef.core.api.IConsumer) - */ - @Override - public void addValueExpressionConsumer(IConsumer consumer) { - this.valueExpressionConsumer = consumer; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFText#removeValueExpressionConsumer() - */ - @Override - public void removeValueExpressionConsumer() { - this.valueExpressionConsumer = null; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFText#addLabelExpressionConsumer(org.eclipse.eef.core.api.IConsumer) - */ - @Override - public void addLabelExpressionConsumer(IConsumer consumer) { - this.labelExpressionConsumer = consumer; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFText#removeLabelExpressionConsumer() - */ - @Override - public void removeLabelExpressionConsumer() { - this.labelExpressionConsumer = null; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFText#getDescription() - */ - @Override - public EEFTextDescription getDescription() { - return this.eefTextDescription; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.core.api.EEFChildObject#getParent() - */ - @Override - public EEFContainer getParent() { - return this.eefContainer; - } -} diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFVariableManager.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFVariableManager.java index bcd73975c..c9e1f1479 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFVariableManager.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFVariableManager.java @@ -12,7 +12,9 @@ package org.eclipse.eef.core.internal; import com.google.common.collect.Maps; +import java.util.ArrayList; import java.util.HashMap; +import java.util.List; import java.util.Map; import org.eclipse.eef.core.api.IVariableManager; @@ -34,6 +36,11 @@ public class EEFVariableManager implements IVariableManager { */ private Map variables = new HashMap(); + /** + * The child variable manager. + */ + private List children = new ArrayList(); + /** * The constructor. */ @@ -85,7 +92,21 @@ public class EEFVariableManager implements IVariableManager { @Override public IVariableManager createChild() { IVariableManager variableManager = new EEFVariableManager(this); + this.children.add(variableManager); return variableManager; } + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.IVariableManager#clear() + */ + @Override + public void clear() { + this.variables.clear(); + + for (IVariableManager variableManager : children) { + variableManager.clear(); + } + } } diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java index 4c3b82a42..ec91947fb 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/EEFViewImpl.java @@ -16,42 +16,50 @@ import java.util.List; import org.eclipse.eef.EEFPageDescription; import org.eclipse.eef.EEFViewDescription; import org.eclipse.eef.core.api.EEFExpressionUtils; +import org.eclipse.eef.core.api.EEFGroup; import org.eclipse.eef.core.api.EEFPage; import org.eclipse.eef.core.api.EEFView; import org.eclipse.eef.core.api.IVariableManager; -import org.eclipse.eef.interpreter.api.IEvaluationResult; -import org.eclipse.eef.interpreter.api.IInterpreter; import org.eclipse.emf.common.command.Command; import org.eclipse.emf.common.command.CommandStack; import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.transaction.NotificationFilter; +import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.transaction.RecordingCommand; -import org.eclipse.emf.transaction.ResourceSetChangeEvent; -import org.eclipse.emf.transaction.ResourceSetListenerImpl; import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.sirius.common.interpreter.api.IEvaluationResult; +import org.eclipse.sirius.common.interpreter.api.IInterpreter; /** * The implementation of the {@link EEFView}. * * @author sbegaudeau */ -public class EEFViewImpl extends AbstractEEFObject implements EEFView { +public class EEFViewImpl implements EEFView { + /** + * The variable manager. + */ + private IVariableManager variableManager; /** - * The description. + * The interpreter. */ - private EEFViewDescription eefViewDescription; + private IInterpreter interpreter; /** - * The {@link EEFPage} of the view. + * The description. */ - private List eefPages = new ArrayList(); + private EEFViewDescription eefViewDescription; /** * The editing domain. */ private TransactionalEditingDomain editingDomain; + /** + * The {@link EEFPage} of the view. + */ + private List eefPages = new ArrayList(); + /** * The constructor. * @@ -66,7 +74,8 @@ public class EEFViewImpl extends AbstractEEFObject implements EEFView { */ public EEFViewImpl(EEFViewDescription eefViewDescription, IVariableManager variableManager, IInterpreter interpreter, TransactionalEditingDomain editingDomain) { - super(variableManager, interpreter); + this.variableManager = variableManager; + this.interpreter = interpreter; this.eefViewDescription = eefViewDescription; this.editingDomain = editingDomain; } @@ -74,69 +83,91 @@ public class EEFViewImpl extends AbstractEEFObject implements EEFView { /** * {@inheritDoc} * - * @see org.eclipse.eef.core.api.EEFObject#createControl() + * @see org.eclipse.eef.core.api.EEFView#initialize() */ @Override - public void createControl() { + public void initialize() { Command command = new RecordingCommand(this.editingDomain) { @Override protected void doExecute() { - List eefPageDescriptions = EEFViewImpl.this.getDescription().getPages(); - for (EEFPageDescription eefPageDescription : eefPageDescriptions) { - IVariableManager childVariableManager = EEFViewImpl.this.getVariableManager().createChild(); - - final String semanticCandidateExpression = eefPageDescription.getSemanticCandidateExpression(); - if (semanticCandidateExpression != null && semanticCandidateExpression.trim().length() > 0) { - - IEvaluationResult evaluationResult = EEFViewImpl.this.getInterpreter() - .evaluateExpression(EEFViewImpl.this.getVariableManager().getVariables(), semanticCandidateExpression); - if (Diagnostic.OK == evaluationResult.getDiagnostic().getSeverity()) { - childVariableManager.put(EEFExpressionUtils.EEFPage.PAGE_SEMANTIC_CANDIDATE, evaluationResult.getValue()); - } - } - - EEFPageImpl ePage = new EEFPageImpl(EEFViewImpl.this, eefPageDescription, childVariableManager, EEFViewImpl.this.getInterpreter(), - EEFViewImpl.this.editingDomain); - ePage.createControl(); - eefPages.add(ePage); - } + EEFViewImpl.this.doInitialize(); } }; - this.editingDomain.addResourceSetListener(new ResourceSetListenerImpl(NotificationFilter.NOT_TOUCH) { - @Override - public void resourceSetChanged(ResourceSetChangeEvent event) { - for (EEFPage eefPage : EEFViewImpl.this.eefPages) { - if (eefPage instanceof EEFPageImpl) { - EEFPageImpl eefPageImpl = (EEFPageImpl) eefPage; - //System.out.println("Resource Set changed: " + event); //$NON-NLS-1$ - eefPageImpl.setInput(null); - } + CommandStack commandStack = this.editingDomain.getCommandStack(); + commandStack.execute(command); + } + + /** + * Performs the initialization of the view by creating the necessary pages. + */ + private void doInitialize() { + List eefPageDescriptions = EEFViewImpl.this.getDescription().getPages(); + for (EEFPageDescription eefPageDescription : eefPageDescriptions) { + EEFPageImpl ePage = null; + final String semanticCandidateExpression = eefPageDescription.getSemanticCandidateExpression(); + if (semanticCandidateExpression != null && semanticCandidateExpression.trim().length() > 0) { + IEvaluationResult evaluationResult = EEFViewImpl.this.interpreter.evaluateExpression(EEFViewImpl.this.variableManager.getVariables(), + semanticCandidateExpression); + if (Diagnostic.OK == evaluationResult.getDiagnostic().getSeverity() && evaluationResult.getValue() != null) { + IVariableManager childVariableManager = EEFViewImpl.this.variableManager.createChild(); + childVariableManager.put(EEFExpressionUtils.SELF, evaluationResult.getValue()); + ePage = new EEFPageImpl(EEFViewImpl.this, eefPageDescription, childVariableManager, EEFViewImpl.this.interpreter, + EEFViewImpl.this.editingDomain); } + } else { + ePage = new EEFPageImpl(EEFViewImpl.this, eefPageDescription, EEFViewImpl.this.variableManager.createChild(), + EEFViewImpl.this.interpreter, EEFViewImpl.this.editingDomain); } - @Override - public boolean isPostcommitOnly() { - return true; + if (ePage != null) { + ePage.initialize(); + eefPages.add(ePage); } - }); - - CommandStack commandStack = this.editingDomain.getCommandStack(); - commandStack.execute(command); + } } /** * {@inheritDoc} * - * @see org.eclipse.eef.core.api.EEFObject#setInput(java.lang.Object) + * @see org.eclipse.eef.core.api.EEFView#setInput(org.eclipse.emf.ecore.EObject) */ @Override - public void setInput(Object object) { - this.getVariableManager().put(EEFExpressionUtils.EEFView.VIEW_SEMANTIC_CANDIDATE, object); - for (EEFPage eefPage : this.eefPages) { - if (eefPage instanceof EEFPageImpl) { - EEFPageImpl eefPageImpl = (EEFPageImpl) eefPage; - eefPageImpl.setInput(null); + public void setInput(EObject eObject) { + Object selfValue = this.variableManager.getVariables().get(EEFExpressionUtils.SELF); + if (eObject != selfValue) { + // Invalidate and update the content of the variable manager with the new input + this.variableManager.clear(); + + this.variableManager.put(EEFExpressionUtils.SELF, eObject); + + for (EEFPage eefPage : eefPages) { + String pageSemanticCandidateExpression = eefPage.getDescription().getSemanticCandidateExpression(); + if (pageSemanticCandidateExpression != null && pageSemanticCandidateExpression.trim().length() > 0) { + + IEvaluationResult evaluationResult = EEFViewImpl.this.interpreter.evaluateExpression( + EEFViewImpl.this.variableManager.getVariables(), pageSemanticCandidateExpression); + if (Diagnostic.OK == evaluationResult.getDiagnostic().getSeverity() && evaluationResult.getValue() != null) { + eefPage.getVariableManager().put(EEFExpressionUtils.SELF, evaluationResult.getValue()); + } else { + // Something is very wrong here... + } + } + + List groups = eefPage.getGroups(); + for (EEFGroup eefGroup : groups) { + String groupSemanticCandidateExpression = eefGroup.getDescription().getSemanticCandidateExpression(); + if (groupSemanticCandidateExpression != null && groupSemanticCandidateExpression.trim().length() > 0) { + + IEvaluationResult evaluationResult = EEFViewImpl.this.interpreter.evaluateExpression(eefPage.getVariableManager() + .getVariables(), groupSemanticCandidateExpression); + if (Diagnostic.OK == evaluationResult.getDiagnostic().getSeverity() && evaluationResult.getValue() != null) { + eefGroup.getVariableManager().put(EEFExpressionUtils.SELF, evaluationResult.getValue()); + } else { + // Something is very wrong here... + } + } + } } } } diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/controllers/EEFTextControllerImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/controllers/EEFTextControllerImpl.java new file mode 100644 index 000000000..b8d8d5d6f --- /dev/null +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/controllers/EEFTextControllerImpl.java @@ -0,0 +1,176 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.core.internal.controllers; + +import java.util.HashMap; +import java.util.Map; + +import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.core.api.EEFExpressionUtils; +import org.eclipse.eef.core.api.IVariableManager; +import org.eclipse.eef.core.api.controllers.EEFTextController; +import org.eclipse.eef.core.api.controllers.IConsumer; +import org.eclipse.emf.common.command.Command; +import org.eclipse.emf.common.command.CommandStack; +import org.eclipse.emf.transaction.RecordingCommand; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.sirius.common.interpreter.api.IEvaluationResult; +import org.eclipse.sirius.common.interpreter.api.IInterpreter; + +/** + * This class will be used in order to manage the behavior of the text. + * + * @author sbegaudeau + */ +public class EEFTextControllerImpl implements EEFTextController { + /** + * The description. + */ + private EEFTextDescription description; + + /** + * The variable manager. + */ + private IVariableManager variableManager; + + /** + * The interpreter. + */ + private IInterpreter interpreter; + + /** + * The editing domain. + */ + private TransactionalEditingDomain editingDomain; + + /** + * The consumer of a new value of the text. + */ + private IConsumer newValueConsumer; + + /** + * The consumer of a new value of the label. + */ + private IConsumer newLabelConsumer; + + /** + * The constructor. + * + * @param description + * The description + * @param variableManager + * The variable manager + * @param interpreter + * The interpreter + * @param editingDomain + * The editing domain + */ + public EEFTextControllerImpl(EEFTextDescription description, IVariableManager variableManager, IInterpreter interpreter, + TransactionalEditingDomain editingDomain) { + this.description = description; + this.variableManager = variableManager; + this.interpreter = interpreter; + this.editingDomain = editingDomain; + } + + @Override + public void updateValue(final String text) { + Command command = new RecordingCommand(this.editingDomain) { + @Override + protected void doExecute() { + String editExpression = EEFTextControllerImpl.this.description.getEditExpression(); + if (editExpression != null) { + Map variables = new HashMap(); + variables.putAll(EEFTextControllerImpl.this.variableManager.getVariables()); + variables.put(EEFExpressionUtils.EEFText.NEW_VALUE, text); + //variables.put("selection", selection); //$NON-NLS-1$ + + EEFTextControllerImpl.this.interpreter.evaluateExpression(variables, editExpression); + } + } + + @Override + public boolean canExecute() { + return true; + } + }; + + CommandStack commandStack = this.editingDomain.getCommandStack(); + commandStack.execute(command); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.controllers.EEFTextController#refresh() + */ + @Override + public void refresh() { + String valueExpression = this.description.getValueExpression(); + if (valueExpression != null) { + IEvaluationResult evaluationResult = this.interpreter.evaluateExpression(this.variableManager.getVariables(), valueExpression); + Object value = evaluationResult.getValue(); + if (value instanceof String && this.newValueConsumer != null) { + this.newValueConsumer.apply((String) value); + } + } + + String labelExpression = this.description.getLabelExpression(); + if (labelExpression != null) { + IEvaluationResult evaluationResult = this.interpreter.evaluateExpression(this.variableManager.getVariables(), labelExpression); + Object value = evaluationResult.getValue(); + if (value instanceof String && this.newLabelConsumer != null) { + this.newLabelConsumer.apply((String) value); + } + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.controllers.EEFTextController#onNewValue(org.eclipse.eef.core.api.controllers.IConsumer) + */ + @Override + public void onNewValue(IConsumer consumer) { + this.newValueConsumer = consumer; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.controllers.EEFTextController#onNewLabel(org.eclipse.eef.core.api.controllers.IConsumer) + */ + @Override + public void onNewLabel(IConsumer consumer) { + this.newLabelConsumer = consumer; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.controllers.EEFTextController#removeNewValueConsumer() + */ + @Override + public void removeNewValueConsumer() { + this.newValueConsumer = null; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.core.api.controllers.EEFTextController#removeNewLabelConsumer() + */ + @Override + public void removeNewLabelConsumer() { + this.newLabelConsumer = null; + } + +} diff --git a/plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF index 965390fe6..dabf150e6 100644 --- a/plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF @@ -8,9 +8,10 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Import-Package: org.eclipse.eef;version="[2.0.0,3.0.0)", org.eclipse.eef.api;version="[2.0.0,3.0.0)", org.eclipse.eef.core.api;version="[2.0.0,3.0.0)", + org.eclipse.eef.core.api.controllers;version="2.0.0", org.eclipse.eef.ide.internal;version="[2.0.0,3.0.0)", org.eclipse.eef.ide.internal.extensions;version="[2.0.0,3.0.0)", - org.eclipse.eef.interpreter.api;version="[2.0.0,3.0.0)" + org.eclipse.sirius.common.interpreter.api;version="[1.0.0,2.0.0)" Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", org.eclipse.ui.views.properties.tabbed;bundle-version="[3.0.0,4.0.0)", org.eclipse.emf.common;bundle-version="[2.8.0,3.0.0)", @@ -18,7 +19,8 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", org.eclipse.emf.transaction;bundle-version="[1.4.0,2.0.0)" Export-Package: org.eclipse.eef.ide.ui.api;version="2.0.0", org.eclipse.eef.ide.ui.internal;version="2.0.0";x-internal:=true, - org.eclipse.eef.ide.ui.internal.data;version="2.0.0";x-internal:=true + org.eclipse.eef.ide.ui.internal.properties;version="2.0.0";x-internal:=true, + org.eclipse.eef.ide.ui.internal.widgets;version="2.0.0" Bundle-Localization: plugin Bundle-ActivationPolicy: lazy Bundle-Activator: org.eclipse.eef.ide.ui.internal.EEFIdeUiPlugin$Implementation diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/api/TabDescriptorFilter.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/api/TabDescriptorFilter.java index 5cfd652d1..d06f81a9f 100644 --- a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/api/TabDescriptorFilter.java +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/api/TabDescriptorFilter.java @@ -15,7 +15,6 @@ import java.util.List; import org.eclipse.eef.EEFViewDescription; import org.eclipse.eef.api.IEEFViewDescriptionProvider; -import org.eclipse.eef.core.api.EEFExpressionUtils; import org.eclipse.eef.core.api.EEFPage; import org.eclipse.eef.core.api.EEFVariableManagerFactory; import org.eclipse.eef.core.api.EEFView; @@ -24,9 +23,10 @@ import org.eclipse.eef.core.api.IVariableManager; import org.eclipse.eef.ide.internal.EEFIdePlugin; import org.eclipse.eef.ide.internal.extensions.IItemDescriptor; import org.eclipse.eef.ide.internal.extensions.IItemRegistry; -import org.eclipse.eef.ide.ui.internal.data.EEFTabDescriptor; -import org.eclipse.eef.interpreter.api.IInterpreterProvider; +import org.eclipse.eef.ide.ui.internal.properties.EEFTabDescriptor; +import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.sirius.common.interpreter.api.IInterpreterProvider; import org.eclipse.ui.views.properties.tabbed.ITabDescriptor; /** @@ -50,16 +50,12 @@ public class TabDescriptorFilter { List interpreterProviders = this.getInterprerProviders(); List tabDescriptors = new ArrayList(); - if (eefViewDescriptions.size() > 0) { + if (eefViewDescriptions.size() > 0 && objects.length > 0 && objects[0] instanceof EObject) { EEFViewDescription eefViewDescription = eefViewDescriptions.get(0); + EObject eObject = (EObject) objects[0]; IVariableManager variableManager = new EEFVariableManagerFactory().createVariableManager(); - if (objects.length == 1) { - variableManager.put(EEFExpressionUtils.EEFView.VIEW_SEMANTIC_CANDIDATE, objects[0]); - } else { - // TODO Add support for multiple input - } - EEFView eefView = new EEFViewFactory().createEEFView(eefViewDescription, variableManager, interpreterProviders, editingDomain); + EEFView eefView = new EEFViewFactory().createEEFView(eefViewDescription, variableManager, interpreterProviders, editingDomain, eObject); List eefPages = eefView.getPages(); for (EEFPage eefPage : eefPages) { diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java deleted file mode 100644 index 1fd315fcb..000000000 --- a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSection.java +++ /dev/null @@ -1,245 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.ide.ui.internal.data; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.core.runtime.Platform; -import org.eclipse.eef.core.api.EEFChildObject; -import org.eclipse.eef.core.api.EEFContainer; -import org.eclipse.eef.core.api.EEFGroup; -import org.eclipse.eef.core.api.EEFObject; -import org.eclipse.eef.core.api.EEFText; -import org.eclipse.eef.core.api.EEFView; -import org.eclipse.eef.core.api.EEFWidget; -import org.eclipse.eef.core.api.IConsumer; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.jface.viewers.IStructuredSelection; -import org.eclipse.swt.SWT; -import org.eclipse.swt.custom.CLabel; -import org.eclipse.swt.events.ModifyEvent; -import org.eclipse.swt.events.ModifyListener; -import org.eclipse.swt.layout.FormAttachment; -import org.eclipse.swt.layout.FormData; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Label; -import org.eclipse.swt.widgets.Text; -import org.eclipse.swt.widgets.Widget; -import org.eclipse.ui.IWorkbenchPart; -import org.eclipse.ui.views.properties.tabbed.ISection; -import org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants; -import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; -import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory; - -/** - * The implementation of {@link ISection} using the {@link EEFSectionDescriptor}. - * - * @author sbegaudeau - */ -public class EEFSection implements ISection { - - /** - * The section descriptor. - */ - private EEFSectionDescriptor eefSectionDescriptor; - - /** - * The widgets of this section. - */ - private List widgets = new ArrayList(); - - /** - * The current selection. - */ - private Object currentSelection; - - /** - * The constructor. - * - * @param eefSectionDescriptor - * The section descriptor - */ - public EEFSection(EEFSectionDescriptor eefSectionDescriptor) { - this.eefSectionDescriptor = eefSectionDescriptor; - } - - @Override - public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) { - TabbedPropertySheetWidgetFactory widgetFactory = tabbedPropertySheetPage.getWidgetFactory(); - - EEFGroup eefGroup = this.eefSectionDescriptor.getEEFGroup(); - EEFContainer eefContainer = eefGroup.getContainer(); - - if (eefContainer != null) { - Composite sectionComposite = widgetFactory.createFlatFormComposite(parent); - - List eefWidgets = eefContainer.getWidgets(); - for (EEFWidget eefWidget : eefWidgets) { - if (eefWidget instanceof EEFText) { - EEFText eefText = (EEFText) eefWidget; - - Text text = widgetFactory.createText(sectionComposite, ""); //$NON-NLS-1$ - FormData data = new FormData(); - - final int textOffset = 232; - data.left = new FormAttachment(0, textOffset); - data.right = new FormAttachment(100, 0); - data.top = new FormAttachment(0, ITabbedPropertyConstants.VSPACE); - - text.setLayoutData(data); - text.setEnabled(false); - text.setData(eefText); - this.widgets.add(text); - - if (eefText.getDescription().getLabelExpression() != null && eefText.getDescription().getLabelExpression().trim().length() > 0) { - CLabel label = widgetFactory.createCLabel(sectionComposite, ""); //$NON-NLS-1$ - - final int labelOffset = 20; - data = new FormData(); - data.left = new FormAttachment(0, 0); - data.right = new FormAttachment(text, -ITabbedPropertyConstants.HSPACE - labelOffset); - data.top = new FormAttachment(text, 0, SWT.CENTER); - label.setLayoutData(data); - - label.setData(eefText); - this.widgets.add(label); - } - - } - } - } - } - - @Override - public void setInput(IWorkbenchPart part, ISelection selection) { - if (selection instanceof IStructuredSelection) { - IStructuredSelection iStructuredSelection = (IStructuredSelection) selection; - Object object = iStructuredSelection.getFirstElement(); - - this.currentSelection = ((IStructuredSelection) selection).getFirstElement(); - - EObject eObject = Platform.getAdapterManager().getAdapter(object, EObject.class); - - if (eObject != null) { - for (Widget widget : widgets) { - if (widget instanceof Text && ((Text) widget).getData() instanceof EEFText) { - Text text = (Text) widget; - EEFText eefText = (EEFText) text.getData(); - EEFView eefView = this.getEEFView(eefText); - eefView.setInput(eObject); - } - } - } - } - } - - /** - * Finds the root {@link EEFView} from the given {@link EEFChildObject}. - * - * @param eefChildObject - * The {@link EEFChildObject} - * @return The root {@link EEFView} - */ - private EEFView getEEFView(EEFChildObject eefChildObject) { - EEFView eefView = null; - - EEFChildObject child = eefChildObject; - while (eefView == null) { - EEFObject parent = child.getParent(); - if (parent instanceof EEFChildObject) { - child = (EEFChildObject) parent; - } else if (parent instanceof EEFView) { - eefView = (EEFView) parent; - } - } - - return eefView; - } - - @Override - public void aboutToBeShown() { - for (Widget widget : widgets) { - if (widget instanceof CLabel && ((CLabel) widget).getData() instanceof EEFText) { - final CLabel label = (CLabel) widget; - final EEFText eefText = (EEFText) label.getData(); - - eefText.addLabelExpressionConsumer(new IConsumer() { - @Override - public void apply(String value) { - if (!label.isDisposed()) { - label.setText(value); - } - } - }); - } else if (widget instanceof Text && ((Text) widget).getData() instanceof EEFText) { - final Text text = (Text) widget; - final EEFText eefText = (EEFText) text.getData(); - - eefText.addValueExpressionConsumer(new IConsumer() { - @Override - public void apply(String value) { - if (!text.isDisposed()) { - text.setText(value); - if (!text.isEnabled()) { - text.setEnabled(true); - } - } - } - }); - - text.addModifyListener(new ModifyListener() { - @Override - public void modifyText(ModifyEvent e) { - eefText.updateValue(currentSelection, text.getText()); - } - }); - } - } - } - - @Override - public void aboutToBeHidden() { - for (Widget widget : widgets) { - if (!widget.isDisposed() && widget instanceof Label && ((Label) widget).getData() instanceof EEFText) { - final Label label = (Label) widget; - EEFText eefText = (EEFText) label.getData(); - eefText.removeLabelExpressionConsumer(); - } else if (!widget.isDisposed() && widget instanceof Text && ((Text) widget).getData() instanceof EEFText) { - final Text text = (Text) widget; - EEFText eefText = (EEFText) text.getData(); - eefText.removeValueExpressionConsumer(); - } - } - } - - @Override - public void dispose() { - // do something - } - - @Override - public int getMinimumHeight() { - return SWT.DEFAULT; - } - - @Override - public boolean shouldUseExtraSpace() { - return true; - } - - @Override - public void refresh() { - // do something - } - -} diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSectionDescriptor.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSectionDescriptor.java deleted file mode 100644 index 61f59a592..000000000 --- a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFSectionDescriptor.java +++ /dev/null @@ -1,94 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.ide.ui.internal.data; - -import org.eclipse.eef.core.api.EEFGroup; -import org.eclipse.jface.viewers.IFilter; -import org.eclipse.ui.views.properties.tabbed.AbstractSectionDescriptor; -import org.eclipse.ui.views.properties.tabbed.ISection; - -/** - * The implementation of the {@link AbstractSectionDescriptor} using the {@link EEFGroup}. - * - * @author sbegaudeau - */ -public class EEFSectionDescriptor extends AbstractSectionDescriptor { - - /** - * The EEFGroup. - */ - private EEFGroup eefGroup; - - /** - * The constructor. - * - * @param eefGroup - * The EEFGroup - */ - public EEFSectionDescriptor(EEFGroup eefGroup) { - this.eefGroup = eefGroup; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.ui.views.properties.tabbed.ISectionDescriptor#getId() - */ - @Override - public String getId() { - return this.eefGroup.getDescription().getIdentifier(); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.ui.views.properties.tabbed.ISectionDescriptor#getSectionClass() - */ - @Override - public ISection getSectionClass() { - return new EEFSection(this); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.ui.views.properties.tabbed.ISectionDescriptor#getTargetTab() - */ - @Override - public String getTargetTab() { - return null; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.ui.views.properties.tabbed.AbstractSectionDescriptor#getFilter() - */ - @Override - public IFilter getFilter() { - return new IFilter() { - - @Override - public boolean select(Object toTest) { - return true; - } - }; - } - - /** - * Returns the EEFGroup used to managed this section descriptor. - * - * @return The EEFGroup used to managed this section descriptor - */ - public EEFGroup getEEFGroup() { - return eefGroup; - } -} diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFTabDescriptor.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFTabDescriptor.java deleted file mode 100644 index 3eaf5bd86..000000000 --- a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/data/EEFTabDescriptor.java +++ /dev/null @@ -1,91 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.ide.ui.internal.data; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.eef.core.api.EEFGroup; -import org.eclipse.eef.core.api.EEFPage; -import org.eclipse.ui.views.properties.tabbed.AbstractTabDescriptor; -import org.eclipse.ui.views.properties.tabbed.ISectionDescriptor; - -/** - * The implementation of the {@link AbstractTabDescriptor} using the {@link EEFPage}. - * - * @author sbegaudeau - */ -public class EEFTabDescriptor extends AbstractTabDescriptor { - - /** - * The {@link EEFPage}. - */ - private EEFPage eefPage; - - /** - * The constructor. - * - * @param eefPage - * The EEFPage - */ - public EEFTabDescriptor(EEFPage eefPage) { - this.eefPage = eefPage; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.ui.views.properties.tabbed.ITabDescriptor#getId() - */ - @Override - public String getId() { - return this.eefPage.getDescription().getIdentifier(); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.ui.views.properties.tabbed.ITabDescriptor#getLabel() - */ - @Override - public String getLabel() { - return this.eefPage.getLabel(); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.ui.views.properties.tabbed.AbstractTabDescriptor#getSectionDescriptors() - */ - @SuppressWarnings("rawtypes") - @Override - public List getSectionDescriptors() { - List sectionDescriptors = new ArrayList(); - - List eefGroups = this.eefPage.getGroups(); - for (EEFGroup eefGroup : eefGroups) { - sectionDescriptors.add(new EEFSectionDescriptor(eefGroup)); - } - - return sectionDescriptors; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.ui.views.properties.tabbed.ITabDescriptor#getCategory() - */ - @Override - public String getCategory() { - return "EEF"; //$NON-NLS-1$ - } - -} diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFSection.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFSection.java new file mode 100644 index 000000000..8e4882994 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFSection.java @@ -0,0 +1,127 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.ui.internal.properties; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.core.runtime.Platform; +import org.eclipse.eef.EEFContainerDescription; +import org.eclipse.eef.core.api.EEFGroup; +import org.eclipse.eef.core.api.EEFPage; +import org.eclipse.eef.ide.ui.internal.widgets.EEFContainerLifecycleManager; +import org.eclipse.eef.ide.ui.internal.widgets.ILifecycleManager; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.swt.SWT; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.ui.IWorkbenchPart; +import org.eclipse.ui.views.properties.tabbed.ISection; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; + +/** + * The implementation of {@link ISection} using the {@link EEFSectionDescriptor}. + * + * @author sbegaudeau + */ +public class EEFSection implements ISection { + + /** + * The section descriptor. + */ + private EEFSectionDescriptor eefSectionDescriptor; + + /** + * The lifecycle managers of this section. + */ + private List lifecycleManagers = new ArrayList(); + + /** + * The constructor. + * + * @param eefSectionDescriptor + * The section descriptor + */ + public EEFSection(EEFSectionDescriptor eefSectionDescriptor) { + this.eefSectionDescriptor = eefSectionDescriptor; + } + + @Override + public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) { + EEFGroup eefGroup = this.eefSectionDescriptor.getEEFGroup(); + EEFContainerDescription eefContainerDescription = eefGroup.getDescription().getContainer(); + + if (eefContainerDescription != null) { + EEFContainerLifecycleManager containerLifecycleManager = new EEFContainerLifecycleManager(eefContainerDescription, eefGroup + .getVariableManager().createChild(), eefGroup.getInterpreter(), eefGroup.getEditingDomain()); + containerLifecycleManager.createControl(parent, tabbedPropertySheetPage); + + this.lifecycleManagers.add(containerLifecycleManager); + } + } + + @Override + public void aboutToBeShown() { + for (ILifecycleManager lifecycleManager : lifecycleManagers) { + lifecycleManager.aboutToBeShown(); + } + } + + @Override + public void setInput(IWorkbenchPart part, ISelection selection) { + if (selection instanceof IStructuredSelection) { + IStructuredSelection iStructuredSelection = (IStructuredSelection) selection; + Object object = iStructuredSelection.getFirstElement(); + + EObject eObject = Platform.getAdapterManager().getAdapter(object, EObject.class); + + // Update the input of the view only + EEFGroup eefGroup = this.eefSectionDescriptor.getEEFGroup(); + EEFPage eefPage = eefGroup.getPage(); + + // TODO we should create a whole context with the current selection etc for the context + eefPage.getView().setInput(eObject); + } + } + + @Override + public void refresh() { + for (ILifecycleManager lifecycleManager : lifecycleManagers) { + lifecycleManager.refresh(); + } + } + + @Override + public void aboutToBeHidden() { + for (ILifecycleManager lifecycleManager : lifecycleManagers) { + lifecycleManager.aboutToBeHidden(); + } + } + + @Override + public void dispose() { + for (ILifecycleManager lifecycleManager : lifecycleManagers) { + lifecycleManager.dispose(); + } + } + + @Override + public int getMinimumHeight() { + return SWT.DEFAULT; + } + + @Override + public boolean shouldUseExtraSpace() { + return true; + } + +} diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFSectionDescriptor.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFSectionDescriptor.java new file mode 100644 index 000000000..6f54d27d2 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFSectionDescriptor.java @@ -0,0 +1,94 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.ui.internal.properties; + +import org.eclipse.eef.core.api.EEFGroup; +import org.eclipse.jface.viewers.IFilter; +import org.eclipse.ui.views.properties.tabbed.AbstractSectionDescriptor; +import org.eclipse.ui.views.properties.tabbed.ISection; + +/** + * The implementation of the {@link AbstractSectionDescriptor} using the {@link EEFGroup}. + * + * @author sbegaudeau + */ +public class EEFSectionDescriptor extends AbstractSectionDescriptor { + + /** + * The EEFGroup. + */ + private EEFGroup eefGroup; + + /** + * The constructor. + * + * @param eefGroup + * The EEFGroup + */ + public EEFSectionDescriptor(EEFGroup eefGroup) { + this.eefGroup = eefGroup; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.ISectionDescriptor#getId() + */ + @Override + public String getId() { + return this.eefGroup.getDescription().getIdentifier(); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.ISectionDescriptor#getSectionClass() + */ + @Override + public ISection getSectionClass() { + return new EEFSection(this); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.ISectionDescriptor#getTargetTab() + */ + @Override + public String getTargetTab() { + return null; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.AbstractSectionDescriptor#getFilter() + */ + @Override + public IFilter getFilter() { + return new IFilter() { + + @Override + public boolean select(Object toTest) { + return true; + } + }; + } + + /** + * Returns the EEFGroup used to managed this section descriptor. + * + * @return The EEFGroup used to managed this section descriptor + */ + public EEFGroup getEEFGroup() { + return eefGroup; + } +} diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFTabDescriptor.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFTabDescriptor.java new file mode 100644 index 000000000..2d73d8da6 --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFTabDescriptor.java @@ -0,0 +1,91 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.ui.internal.properties; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.eef.core.api.EEFGroup; +import org.eclipse.eef.core.api.EEFPage; +import org.eclipse.ui.views.properties.tabbed.AbstractTabDescriptor; +import org.eclipse.ui.views.properties.tabbed.ISectionDescriptor; + +/** + * The implementation of the {@link AbstractTabDescriptor} using the {@link EEFPage}. + * + * @author sbegaudeau + */ +public class EEFTabDescriptor extends AbstractTabDescriptor { + + /** + * The {@link EEFPage}. + */ + private EEFPage eefPage; + + /** + * The constructor. + * + * @param eefPage + * The EEFPage + */ + public EEFTabDescriptor(EEFPage eefPage) { + this.eefPage = eefPage; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.ITabDescriptor#getId() + */ + @Override + public String getId() { + return this.eefPage.getDescription().getIdentifier(); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.ITabDescriptor#getLabel() + */ + @Override + public String getLabel() { + return this.eefPage.getLabel(); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.AbstractTabDescriptor#getSectionDescriptors() + */ + @SuppressWarnings("rawtypes") + @Override + public List getSectionDescriptors() { + List sectionDescriptors = new ArrayList(); + + List eefGroups = this.eefPage.getGroups(); + for (EEFGroup eefGroup : eefGroups) { + sectionDescriptors.add(new EEFSectionDescriptor(eefGroup)); + } + + return sectionDescriptors; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.ITabDescriptor#getCategory() + */ + @Override + public String getCategory() { + return "EEF"; //$NON-NLS-1$ + } + +} diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFContainerLifecycleManager.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFContainerLifecycleManager.java new file mode 100644 index 000000000..4dfbf8a4c --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFContainerLifecycleManager.java @@ -0,0 +1,151 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.ui.internal.widgets; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.eef.EEFContainerDescription; +import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.EEFWidgetDescription; +import org.eclipse.eef.core.api.IVariableManager; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.sirius.common.interpreter.api.IInterpreter; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory; + +/** + * This class will handle the lifecycle of the {@link EEFContainerDescription}. + * + * @author sbegaudeau + */ +public class EEFContainerLifecycleManager implements ILifecycleManager { + + /** + * The variable manager. + */ + private IVariableManager variableManager; + + /** + * The interpreter. + */ + private IInterpreter interpreter; + + /** + * The editing domain. + */ + private TransactionalEditingDomain editingDomain; + + /** + * The description of the container. + */ + private EEFContainerDescription description; + + /** + * The lifecycle managers of the child of the container. + */ + private List lifecycleManagers = new ArrayList(); + + /** + * The constructor. + * + * @param description + * The description of the container + * @param variableManager + * The variable manager + * @param interpreter + * The interpreter + * @param editingDomain + * The editing domain + */ + public EEFContainerLifecycleManager(EEFContainerDescription description, IVariableManager variableManager, IInterpreter interpreter, + TransactionalEditingDomain editingDomain) { + this.description = description; + this.variableManager = variableManager; + this.interpreter = interpreter; + this.editingDomain = editingDomain; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.ui.internal.widgets.ILifecycleManager#createControl(org.eclipse.swt.widgets.Composite, + * org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage) + */ + @Override + public void createControl(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) { + TabbedPropertySheetWidgetFactory widgetFactory = tabbedPropertySheetPage.getWidgetFactory(); + Composite sectionComposite = widgetFactory.createFlatFormComposite(parent); + + List widgets = this.description.getWidgets(); + for (EEFWidgetDescription eefWidgetDescription : widgets) { + if (eefWidgetDescription instanceof EEFTextDescription) { + EEFTextDescription eefTextDescription = (EEFTextDescription) eefWidgetDescription; + + EEFTextLifecycleManager eefTextLifecycleManager = new EEFTextLifecycleManager(eefTextDescription, variableManager.createChild(), + interpreter, editingDomain); + eefTextLifecycleManager.createControl(sectionComposite, tabbedPropertySheetPage); + + this.lifecycleManagers.add(eefTextLifecycleManager); + } + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.ui.internal.widgets.ILifecycleManager#aboutToBeShown() + */ + @Override + public void aboutToBeShown() { + for (ILifecycleManager lifecycleManager : lifecycleManagers) { + lifecycleManager.aboutToBeShown(); + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.ui.internal.widgets.ILifecycleManager#refresh() + */ + @Override + public void refresh() { + for (ILifecycleManager lifecycleManager : lifecycleManagers) { + lifecycleManager.refresh(); + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.ui.internal.widgets.ILifecycleManager#aboutToBeHidden() + */ + @Override + public void aboutToBeHidden() { + for (ILifecycleManager lifecycleManager : lifecycleManagers) { + lifecycleManager.aboutToBeHidden(); + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.ui.internal.widgets.ILifecycleManager#dispose() + */ + @Override + public void dispose() { + for (ILifecycleManager lifecycleManager : lifecycleManagers) { + lifecycleManager.dispose(); + } + } + +} diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFTextLifecycleManager.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFTextLifecycleManager.java new file mode 100644 index 000000000..d7a4aa6ff --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFTextLifecycleManager.java @@ -0,0 +1,233 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.ui.internal.widgets; + +import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.core.api.IVariableManager; +import org.eclipse.eef.core.api.controllers.EEFControllersFactory; +import org.eclipse.eef.core.api.controllers.EEFTextController; +import org.eclipse.eef.core.api.controllers.IConsumer; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.sirius.common.interpreter.api.IInterpreter; +import org.eclipse.swt.SWT; +import org.eclipse.swt.custom.CLabel; +import org.eclipse.swt.events.ModifyEvent; +import org.eclipse.swt.events.ModifyListener; +import org.eclipse.swt.layout.FormAttachment; +import org.eclipse.swt.layout.FormData; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Text; +import org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory; + +/** + * This class will be used in order to manager the lifecycle of a text. + * + * @author sbegaudeau + */ +public class EEFTextLifecycleManager implements ILifecycleManager { + /** + * The description. + */ + private EEFTextDescription description; + + /** + * The variable manager. + */ + private IVariableManager variableManager; + + /** + * The interpreter. + */ + private IInterpreter interpreter; + + /** + * The editing domain. + */ + private TransactionalEditingDomain editingDomain; + + /** + * The text. + */ + private Text text; + + /** + * The label. + */ + private CLabel label; + + /** + * The controller. + */ + private EEFTextController controller; + + /** + * The listener on the text. + */ + private ModifyListener modifyListener; + + /** + * The constructor. + * + * @param description + * The description + * @param variableManager + * The variable manager + * @param interpreter + * The interpreter + * @param editingDomain + * The editing domain + */ + public EEFTextLifecycleManager(EEFTextDescription description, IVariableManager variableManager, IInterpreter interpreter, + TransactionalEditingDomain editingDomain) { + this.description = description; + this.variableManager = variableManager; + this.interpreter = interpreter; + this.editingDomain = editingDomain; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.ui.internal.widgets.ILifecycleManager#createControl(org.eclipse.swt.widgets.Composite, + * org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage) + */ + @Override + public void createControl(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) { + TabbedPropertySheetWidgetFactory widgetFactory = tabbedPropertySheetPage.getWidgetFactory(); + + this.text = this.createText(parent, widgetFactory); + this.label = this.createLabel(parent, widgetFactory, this.text); + + this.controller = new EEFControllersFactory().createTextController(this.description, this.variableManager, this.interpreter, + this.editingDomain); + } + + /** + * Creates the text widget. + * + * @param parent + * The composite parent + * @param widgetFactory + * The widget factory + * @return The text widget created + */ + private Text createText(Composite parent, TabbedPropertySheetWidgetFactory widgetFactory) { + Text textWidget = widgetFactory.createText(parent, ""); //$NON-NLS-1$ + FormData data = new FormData(); + + final int textOffset = 232; + data.left = new FormAttachment(0, textOffset); + data.right = new FormAttachment(100, 0); + data.top = new FormAttachment(0, ITabbedPropertyConstants.VSPACE); + + textWidget.setLayoutData(data); + textWidget.setEnabled(false); + + return textWidget; + } + + /** + * Creates the label widget. + * + * @param parent + * The composite parent + * @param widgetFactory + * The widget factory + * @param textWidget + * The text widget created + * @return The label widget created + */ + private CLabel createLabel(Composite parent, TabbedPropertySheetWidgetFactory widgetFactory, Text textWidget) { + CLabel labelWidget = widgetFactory.createCLabel(parent, ""); //$NON-NLS-1$ + + final int labelOffset = 20; + FormData data = new FormData(); + data.left = new FormAttachment(0, 0); + data.right = new FormAttachment(textWidget, -ITabbedPropertyConstants.HSPACE - labelOffset); + data.top = new FormAttachment(textWidget, 0, SWT.CENTER); + labelWidget.setLayoutData(data); + + return labelWidget; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.ui.internal.widgets.ILifecycleManager#aboutToBeShown() + */ + @Override + public void aboutToBeShown() { + this.modifyListener = new ModifyListener() { + @Override + public void modifyText(ModifyEvent event) { + controller.updateValue(text.getText()); + } + }; + this.text.addModifyListener(this.modifyListener); + + this.controller.onNewValue(new IConsumer() { + @Override + public void apply(String value) { + if (!text.isDisposed() && !(text.getText() != null && text.getText().equals(value))) { + text.setText(value); + if (!text.isEnabled()) { + text.setEnabled(true); + } + } + } + }); + + this.controller.onNewLabel(new IConsumer() { + @Override + public void apply(String value) { + if (!label.isDisposed() && !(label.getText() != null && label.getText().equals(value))) { + label.setText(value); + } + } + }); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.ui.internal.widgets.ILifecycleManager#refresh() + */ + @Override + public void refresh() { + this.controller.refresh(); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.ui.internal.widgets.ILifecycleManager#aboutToBeHidden() + */ + @Override + public void aboutToBeHidden() { + if (!text.isDisposed()) { + this.text.removeModifyListener(this.modifyListener); + } + this.controller.removeNewValueConsumer(); + this.controller.removeNewLabelConsumer(); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.eef.ide.ui.internal.widgets.ILifecycleManager#dispose() + */ + @Override + public void dispose() { + // do nothing + } +} diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/ILifecycleManager.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/ILifecycleManager.java new file mode 100644 index 000000000..2808c665a --- /dev/null +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/ILifecycleManager.java @@ -0,0 +1,52 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.ide.ui.internal.widgets; + +import org.eclipse.swt.widgets.Composite; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; + +/** + * Implementations of this interface will be used to handle the lifecycle of the widgets and controllers created for a + * description. + * + * @author sbegaudeau + */ +public interface ILifecycleManager { + /** + * Creates the controls for the description. + * + * @param parent + * The composite parent + * @param tabbedPropertySheetPage + * The tabbed property sheet page + */ + void createControl(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage); + + /** + * Prepares for the widgets to be shown. + */ + void aboutToBeShown(); + + /** + * Refresh the widgets. + */ + void refresh(); + + /** + * Prepares for the widgets to be hidden. + */ + void aboutToBeHidden(); + + /** + * Disposes the content created. The widgets created under the composite will be disposed by SWT already. + */ + void dispose(); +} diff --git a/plugins/org.eclipse.eef.ide/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.ide/META-INF/MANIFEST.MF index 921584b8b..b3f86cfa2 100644 --- a/plugins/org.eclipse.eef.ide/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef.ide/META-INF/MANIFEST.MF @@ -12,7 +12,7 @@ Bundle-ActivationPolicy: lazy Bundle-Localization: plugin Import-Package: org.eclipse.eef;version="[2.0.0,3.0.0)", org.eclipse.eef.api;version="[2.0.0,3.0.0)", - org.eclipse.eef.interpreter.api;version="[2.0.0,3.0.0)" + org.eclipse.sirius.common.interpreter.api;version="[1.0.0,2.0.0)" Export-Package: org.eclipse.eef.ide.internal;version="2.0.0";x-friends:="org.eclipse.eef.ide.ui", org.eclipse.eef.ide.internal.extensions;version="2.0.0";x-friends:="org.eclipse.eef.ide.ui", org.eclipse.eef.ide.internal.extensions.impl;version="2.0.0";x-internal:=true diff --git a/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/EEFIdePlugin.java b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/EEFIdePlugin.java index a3e5ea4b9..91a548af5 100644 --- a/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/EEFIdePlugin.java +++ b/plugins/org.eclipse.eef.ide/src/org/eclipse/eef/ide/internal/EEFIdePlugin.java @@ -19,9 +19,9 @@ import org.eclipse.eef.ide.internal.extensions.AbstractRegistryEventListener; import org.eclipse.eef.ide.internal.extensions.IItemRegistry; import org.eclipse.eef.ide.internal.extensions.impl.DescriptorRegistryEventListener; import org.eclipse.eef.ide.internal.extensions.impl.ItemRegistry; -import org.eclipse.eef.interpreter.api.IInterpreterProvider; import org.eclipse.emf.common.EMFPlugin; import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.sirius.common.interpreter.api.IInterpreterProvider; import org.osgi.framework.BundleContext; /** diff --git a/plugins/org.eclipse.eef.interpreter.aql/.checkstyle b/plugins/org.eclipse.eef.interpreter.aql/.checkstyle deleted file mode 100644 index 121faf77d..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/.checkstyle +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.interpreter.aql/.classpath b/plugins/org.eclipse.eef.interpreter.aql/.classpath deleted file mode 100644 index ad32c83a7..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/plugins/org.eclipse.eef.interpreter.aql/.project b/plugins/org.eclipse.eef.interpreter.aql/.project deleted file mode 100644 index 3e05850a5..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.eclipse.eef.interpreter.aql - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - net.sf.eclipsecs.core.CheckstyleBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - net.sf.eclipsecs.core.CheckstyleNature - - diff --git a/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index fb8257839..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,398 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.builder.cleanOutputFolder=clean -org.eclipse.jdt.core.builder.duplicateResourceTask=warning -org.eclipse.jdt.core.builder.invalidClasspath=abort -org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore -org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= -org.eclipse.jdt.core.circularClasspath=error -org.eclipse.jdt.core.classpath.exclusionPatterns=enabled -org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled -org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error -org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled -org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore -org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull -org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault -org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable -org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore -org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning -org.eclipse.jdt.core.compiler.problem.deadCode=warning -org.eclipse.jdt.core.compiler.problem.deprecation=warning -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled -org.eclipse.jdt.core.compiler.problem.discouragedReference=warning -org.eclipse.jdt.core.compiler.problem.emptyStatement=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore -org.eclipse.jdt.core.compiler.problem.fallthroughCase=error -org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled -org.eclipse.jdt.core.compiler.problem.fieldHiding=warning -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning -org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore -org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning -org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled -org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning -org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error -org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning -org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error -org.eclipse.jdt.core.compiler.problem.nullReference=warning -org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error -org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning -org.eclipse.jdt.core.compiler.problem.parameterAssignment=error -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning -org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning -org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning -org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning -org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning -org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore -org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning -org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore -org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning -org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled -org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning -org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning -org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled -org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning -org.eclipse.jdt.core.compiler.problem.unusedImport=warning -org.eclipse.jdt.core.compiler.problem.unusedLabel=warning -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning -org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning -org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.6 -org.eclipse.jdt.core.formatter.align_type_members_on_columns=false -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_assignment=0 -org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 -org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 -org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 -org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 -org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 -org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 -org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 -org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_after_package=1 -org.eclipse.jdt.core.formatter.blank_lines_before_field=0 -org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 -org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 -org.eclipse.jdt.core.formatter.blank_lines_before_method=1 -org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 -org.eclipse.jdt.core.formatter.blank_lines_before_package=0 -org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 -org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 -org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false -org.eclipse.jdt.core.formatter.comment.format_block_comments=true -org.eclipse.jdt.core.formatter.comment.format_header=false -org.eclipse.jdt.core.formatter.comment.format_html=true -org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true -org.eclipse.jdt.core.formatter.comment.format_line_comments=true -org.eclipse.jdt.core.formatter.comment.format_source_code=true -org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true -org.eclipse.jdt.core.formatter.comment.indent_root_tags=true -org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert -org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert -org.eclipse.jdt.core.formatter.comment.line_length=120 -org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true -org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true -org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false -org.eclipse.jdt.core.formatter.compact_else_if=true -org.eclipse.jdt.core.formatter.continuation_indentation=2 -org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 -org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off -org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true -org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_empty_lines=false -org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true -org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false -org.eclipse.jdt.core.formatter.indentation.size=4 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert -org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert -org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert -org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.join_lines_in_comments=true -org.eclipse.jdt.core.formatter.join_wrapped_lines=true -org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false -org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false -org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false -org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false -org.eclipse.jdt.core.formatter.lineSplit=150 -org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false -org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false -org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 -org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true -org.eclipse.jdt.core.formatter.tabulation.char=tab -org.eclipse.jdt.core.formatter.tabulation.size=4 -org.eclipse.jdt.core.formatter.use_on_off_tags=true -org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false -org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true -org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true -org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true -org.eclipse.jdt.core.incompatibleJDKLevel=ignore -org.eclipse.jdt.core.incompleteClasspath=error -org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.launching.prefs deleted file mode 100644 index 3bb235278..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.launching.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index 5f4b3bba4..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,67 +0,0 @@ -eclipse.preferences.version=1 -editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true -formatter_settings_version=12 -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=com;java;javax;org; -org.eclipse.jdt.ui.javadoc=true -org.eclipse.jdt.ui.ondemandthreshold=99 -org.eclipse.jdt.ui.staticondemandthreshold=99 -org.eclipse.jdt.ui.text.custom_code_templates= -sp_cleanup.add_default_serial_version_id=false -sp_cleanup.add_generated_serial_version_id=false -sp_cleanup.add_missing_annotations=true -sp_cleanup.add_missing_deprecated_annotations=true -sp_cleanup.add_missing_methods=false -sp_cleanup.add_missing_nls_tags=false -sp_cleanup.add_missing_override_annotations=true -sp_cleanup.add_missing_override_annotations_interface_methods=true -sp_cleanup.add_serial_version_id=false -sp_cleanup.always_use_blocks=false -sp_cleanup.always_use_parentheses_in_expressions=false -sp_cleanup.always_use_this_for_non_static_field_access=false -sp_cleanup.always_use_this_for_non_static_method_access=false -sp_cleanup.convert_functional_interfaces=false -sp_cleanup.convert_to_enhanced_for_loop=false -sp_cleanup.correct_indentation=true -sp_cleanup.format_source_code=true -sp_cleanup.format_source_code_changes_only=false -sp_cleanup.insert_inferred_type_arguments=false -sp_cleanup.make_local_variable_final=false -sp_cleanup.make_parameters_final=false -sp_cleanup.make_private_fields_final=false -sp_cleanup.make_type_abstract_if_missing_method=false -sp_cleanup.make_variable_declarations_final=false -sp_cleanup.never_use_blocks=false -sp_cleanup.never_use_parentheses_in_expressions=false -sp_cleanup.on_save_use_additional_actions=true -sp_cleanup.organize_imports=true -sp_cleanup.qualify_static_field_accesses_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_with_declaring_class=false -sp_cleanup.qualify_static_method_accesses_with_declaring_class=false -sp_cleanup.remove_private_constructors=false -sp_cleanup.remove_redundant_type_arguments=false -sp_cleanup.remove_trailing_whitespaces=true -sp_cleanup.remove_trailing_whitespaces_all=true -sp_cleanup.remove_trailing_whitespaces_ignore_empty=false -sp_cleanup.remove_unnecessary_casts=true -sp_cleanup.remove_unnecessary_nls_tags=true -sp_cleanup.remove_unused_imports=true -sp_cleanup.remove_unused_local_variables=false -sp_cleanup.remove_unused_private_fields=false -sp_cleanup.remove_unused_private_members=false -sp_cleanup.remove_unused_private_methods=false -sp_cleanup.remove_unused_private_types=false -sp_cleanup.sort_members=false -sp_cleanup.sort_members_all=false -sp_cleanup.use_anonymous_class_creation=false -sp_cleanup.use_blocks=false -sp_cleanup.use_blocks_only_for_return_and_throw=false -sp_cleanup.use_lambda=false -sp_cleanup.use_parentheses_in_expressions=false -sp_cleanup.use_this_for_non_static_field_access=false -sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false -sp_cleanup.use_this_for_non_static_method_access=false -sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false -sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.core.prefs b/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.core.prefs deleted file mode 100644 index 923c37fb8..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.core.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -resolve.requirebundle=false diff --git a/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.prefs deleted file mode 100644 index 3112e810d..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/.settings/org.eclipse.pde.prefs +++ /dev/null @@ -1,32 +0,0 @@ -compilers.f.unresolved-features=1 -compilers.f.unresolved-plugins=1 -compilers.incompatible-environment=1 -compilers.p.build=1 -compilers.p.build.bin.includes=1 -compilers.p.build.encodings=1 -compilers.p.build.java.compiler=1 -compilers.p.build.java.compliance=1 -compilers.p.build.missing.output=2 -compilers.p.build.output.library=1 -compilers.p.build.source.library=1 -compilers.p.build.src.includes=1 -compilers.p.deprecated=1 -compilers.p.discouraged-class=1 -compilers.p.internal=1 -compilers.p.missing-packages=1 -compilers.p.missing-version-export-package=0 -compilers.p.missing-version-import-package=0 -compilers.p.missing-version-require-bundle=0 -compilers.p.no-required-att=0 -compilers.p.not-externalized-att=0 -compilers.p.unknown-attribute=1 -compilers.p.unknown-class=1 -compilers.p.unknown-element=1 -compilers.p.unknown-identifier=1 -compilers.p.unknown-resource=1 -compilers.p.unresolved-ex-points=0 -compilers.p.unresolved-import=0 -compilers.s.create-docs=false -compilers.s.doc-folder=doc -compilers.s.open-tags=1 -eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.eef.interpreter.aql/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.interpreter.aql/META-INF/MANIFEST.MF deleted file mode 100644 index ce3725232..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/META-INF/MANIFEST.MF +++ /dev/null @@ -1,17 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.eef.interpreter.aql;singleton:=true -Bundle-Version: 2.0.0.qualifier -Bundle-Vendor: %providerName -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Bundle-Localization: plugin -Import-Package: com.google.common.cache;version="[15.0.0,16.0.0)", - org.eclipse.acceleo.query.runtime;version="[3.6.0,4.0.0)", - org.eclipse.eef.interpreter.api;version="[2.0.0,3.0.0)" -Export-Package: org.eclipse.eef.interpreter.aql.internal;version="2.0.0";x-internal:=true -Bundle-ActivationPolicy: lazy -Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", - org.eclipse.emf.common;bundle-version="[2.8.0,3.0.0)", - org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)" -Bundle-Activator: org.eclipse.eef.interpreter.aql.internal.AQLInterpreterPlugin$Implementation diff --git a/plugins/org.eclipse.eef.interpreter.aql/about.html b/plugins/org.eclipse.eef.interpreter.aql/about.html deleted file mode 100644 index f3a55ce5f..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

                About This Content

                - -

                June 15, 2010

                -

                License

                - -

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

                - -

                If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

                - - - \ No newline at end of file diff --git a/plugins/org.eclipse.eef.interpreter.aql/build.properties b/plugins/org.eclipse.eef.interpreter.aql/build.properties deleted file mode 100644 index d2b00e513..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/build.properties +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm -# Contributors: Obeo - initial API and implementation - -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - plugin.properties,\ - plugin.xml -javacProjectSettings = true -additional.bundles = org.eclipse.acceleo.query diff --git a/plugins/org.eclipse.eef.interpreter.aql/plugin.properties b/plugins/org.eclipse.eef.interpreter.aql/plugin.properties deleted file mode 100644 index 8ff7fa490..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/plugin.properties +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm -# Contributors: Obeo - initial API and implementation - -pluginName=EEF Interpreter AQL -providerName=Eclipse Modeling Project - -AQLInterpreter_errorCreateAST=An error has occurred while creating the AST of the expression '{0}'. -AQLInterpreter_errorEvaluation=An error has occurred during the evaluation of the expression '{0}'. -AQLInterpreter_errorRegistrationService=An error has occurred while trying to register the service class '{0}'. \ No newline at end of file diff --git a/plugins/org.eclipse.eef.interpreter.aql/plugin.xml b/plugins/org.eclipse.eef.interpreter.aql/plugin.xml deleted file mode 100644 index 5b541e162..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/plugin.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - diff --git a/plugins/org.eclipse.eef.interpreter.aql/pom.xml b/plugins/org.eclipse.eef.interpreter.aql/pom.xml deleted file mode 100644 index 9e518a4b7..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/pom.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - 4.0.0 - - - org.eclipse.eef - org.eclipse.eef.parent - 2.0.0-SNAPSHOT - ../../releng/org.eclipse.eef.releng - - - org.eclipse.eef.interpreter.aql - eclipse-plugin - - EEF Interpreter AQL - - - - - org.eclipse.tycho - tycho-source-plugin - ${tycho-version} - - - - \ No newline at end of file diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLEvaluationResult.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLEvaluationResult.java deleted file mode 100644 index 394f90af8..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLEvaluationResult.java +++ /dev/null @@ -1,66 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.interpreter.aql.internal; - -import org.eclipse.eef.interpreter.api.IEvaluationResult; -import org.eclipse.emf.common.util.Diagnostic; - -/** - * An implementation of the {@link IEvaluationResult}. - * - * @author sbegaudeau - */ -public class AQLEvaluationResult implements IEvaluationResult { - - /** - * The value returned by the evaluation. - */ - private Object value; - - /** - * The diagnostic of the evaluation. - */ - private Diagnostic diagnostic; - - /** - * The constructor. - * - * @param value - * The value returned by the evaluation - * @param diagnostic - * The diagnostic of the evaluation - */ - public AQLEvaluationResult(Object value, Diagnostic diagnostic) { - this.value = value; - this.diagnostic = diagnostic; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.interpreter.api.IEvaluationResult#getValue() - */ - @Override - public Object getValue() { - return this.value; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.interpreter.api.IEvaluationResult#getDiagnostic() - */ - @Override - public Diagnostic getDiagnostic() { - return this.diagnostic; - } - -} diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java deleted file mode 100644 index 5d2c12300..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreter.java +++ /dev/null @@ -1,108 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.interpreter.aql.internal; - -import com.google.common.cache.CacheBuilder; -import com.google.common.cache.CacheLoader; -import com.google.common.cache.LoadingCache; - -import java.text.MessageFormat; -import java.util.Map; -import java.util.concurrent.ExecutionException; - -import org.eclipse.acceleo.query.runtime.EvaluationResult; -import org.eclipse.acceleo.query.runtime.IQueryBuilderEngine; -import org.eclipse.acceleo.query.runtime.IQueryBuilderEngine.AstResult; -import org.eclipse.acceleo.query.runtime.IQueryEnvironment; -import org.eclipse.acceleo.query.runtime.IQueryEvaluationEngine; -import org.eclipse.acceleo.query.runtime.InvalidAcceleoPackageException; -import org.eclipse.acceleo.query.runtime.Query; -import org.eclipse.acceleo.query.runtime.QueryEvaluation; -import org.eclipse.acceleo.query.runtime.QueryParsing; -import org.eclipse.eef.interpreter.api.IEvaluationResult; -import org.eclipse.eef.interpreter.api.IInterpreter; -import org.eclipse.emf.common.util.BasicDiagnostic; -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.EcorePackage; -import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl; - -/** - * The AQL {@link IInterpreter}. - * - * @author sbegaudeau - */ -public class AQLInterpreter implements IInterpreter { - - /** - * The query environment. - */ - private IQueryEnvironment queryEnvironment; - - /** - * The cache of the expressions parsed. - */ - private LoadingCache parsedExpressions; - - /** - * The constructor. - */ - public AQLInterpreter() { - this.queryEnvironment = Query.newEnvironmentWithDefaultServices(null); - this.queryEnvironment.registerEPackage(EcorePackage.eINSTANCE); - this.queryEnvironment.registerCustomClassMapping(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class); - try { - this.queryEnvironment.registerServicePackage(DefaultEEFServices.class); - } catch (InvalidAcceleoPackageException e) { - String message = MessageFormat.format(Messages.AQLInterpreter_errorRegistrationService, DefaultEEFServices.class.getSimpleName()); - AQLInterpreterPlugin.getImplementation().logError(message, e); - } - this.initExpressionsCache(); - } - - /** - * Initialize the expression cache. - */ - private void initExpressionsCache() { - final IQueryBuilderEngine builder = QueryParsing.newBuilder(queryEnvironment); - final int cacheSize = 500; - this.parsedExpressions = CacheBuilder.newBuilder().maximumSize(cacheSize).build(new CacheLoader() { - - @Override - public AstResult load(String key) throws Exception { - return builder.build(key); - } - - }); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.interpreter.api.IInterpreter#evaluateExpression(java.util.Map, java.lang.String) - */ - @Override - public IEvaluationResult evaluateExpression(Map variables, String expressionBody) { - String body = expressionBody.substring(IAQLConstants.AQL_PREFIX.length()); - try { - AstResult astResult = this.parsedExpressions.get(body); - IQueryEvaluationEngine evaluationEngine = QueryEvaluation.newEngine(queryEnvironment); - final EvaluationResult evalResult = evaluationEngine.eval(astResult, variables); - return new AQLEvaluationResult(evalResult.getResult(), evalResult.getDiagnostic()); - } catch (ExecutionException e) { - String message = MessageFormat.format(Messages.AQLInterpreter_errorCreateAST, body); - AQLInterpreterPlugin.getImplementation().logError(message, e); - } - String message = MessageFormat.format(Messages.AQLInterpreter_errorEvaluation, body); - Diagnostic error = new BasicDiagnostic(Diagnostic.ERROR, AQLInterpreterPlugin.PLUGIN_ID, 0, message, new Object[0]); - return new AQLEvaluationResult(null, error); - } - -} diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterPlugin.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterPlugin.java deleted file mode 100644 index e30bfc50e..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterPlugin.java +++ /dev/null @@ -1,107 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.interpreter.aql.internal; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Status; -import org.eclipse.emf.common.EMFPlugin; -import org.eclipse.emf.common.util.ResourceLocator; - -/** - * The plugin class of the bundle. - * - * @author sbegaudeau - */ -public class AQLInterpreterPlugin extends EMFPlugin { - /** - * The identifier of the plugin. - */ - public static final String PLUGIN_ID = "org.eclipse.eef.interpreter.aql"; //$NON-NLS-1$ - - /** - * The sole instance of the plugin. - */ - public static final AQLInterpreterPlugin INSTANCE = new AQLInterpreterPlugin(); - - /** - * The OSGi related implementation of the plugin. - */ - private static Implementation plugin; - - /** - * The constructor. - */ - public AQLInterpreterPlugin() { - super(new ResourceLocator[0]); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.emf.common.EMFPlugin#getPluginResourceLocator() - */ - @Override - public ResourceLocator getPluginResourceLocator() { - return plugin; - } - - /** - * Returns the OSGi related implementation. - * - * @return The OSGi related implementation - */ - public static Implementation getImplementation() { - return plugin; - } - - /** - * This class isused as the bundle activator of the plugin. - * - * @author sbegaudeau - */ - public static class Implementation extends EclipsePlugin { - - /** - * The constructor. - */ - public Implementation() { - super(); - - AQLInterpreterPlugin.plugin = this; - } - - /** - * Logs an error with the exception and the given message. - * - * @param message - * The message - * @param exception - * The exception - */ - public void logError(String message, Exception exception) { - IStatus status = new Status(IStatus.ERROR, PLUGIN_ID, message, exception); - this.getLog().log(status); - } - - /** - * Logs a warning with the exception and the given message. - * - * @param message - * The message - * @param exception - * The exception - */ - public void logWarning(String message, Exception exception) { - IStatus status = new Status(IStatus.WARNING, PLUGIN_ID, message, exception); - this.getLog().log(status); - } - } -} diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterProvider.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterProvider.java deleted file mode 100644 index cfc822bf6..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/AQLInterpreterProvider.java +++ /dev/null @@ -1,43 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.interpreter.aql.internal; - -import org.eclipse.eef.interpreter.api.IInterpreter; -import org.eclipse.eef.interpreter.api.IInterpreterProvider; - -/** - * The AQL {@link IInterpreterProvider}. - * - * @author sbegaudeau - */ -public class AQLInterpreterProvider implements IInterpreterProvider { - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.interpreter.api.IInterpreterProvider#canHandle(java.lang.String) - */ - @Override - public boolean canHandle(String expression) { - return expression != null && expression.startsWith(IAQLConstants.AQL_PREFIX); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.interpreter.api.IInterpreterProvider#createInterpreter() - */ - @Override - public IInterpreter createInterpreter() { - return new AQLInterpreter(); - } - -} diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/DefaultEEFServices.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/DefaultEEFServices.java deleted file mode 100644 index 715d80fa6..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/DefaultEEFServices.java +++ /dev/null @@ -1,50 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.interpreter.aql.internal; - -import java.util.Collection; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EStructuralFeature; - -/** - * This class contains all the default services for EEF. - * - * @author sbegaudeau - */ -public class DefaultEEFServices { - /** - * Sets the value of the given feature of the object to the new value. - * - * @param eObject - * The current EObject - * @param eStructuralFeatureName - * The name of the {@link EStructuralFeature} - * @param value - * The new value - * @return The current EObject - */ - public EObject eSet(EObject eObject, String eStructuralFeatureName, Object value) { - EStructuralFeature eStructuralFeature = eObject.eClass().getEStructuralFeature(eStructuralFeatureName); - if (eStructuralFeature.getUpperBound() == -1 || eStructuralFeature.getUpperBound() > 1) { - Object currentValue = eObject.eGet(eStructuralFeature); - if (currentValue instanceof Collection) { - @SuppressWarnings("unchecked") - Collection collection = (Collection) currentValue; - collection.add(value); - } - } else { - eObject.eSetDeliver(true); - eObject.eSet(eStructuralFeature, value); - } - return eObject; - } -} diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/I18N.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/I18N.java deleted file mode 100644 index 7932f5d9a..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/I18N.java +++ /dev/null @@ -1,144 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.interpreter.aql.internal; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import java.lang.reflect.Field; -import java.lang.reflect.Modifier; -import java.security.AccessController; -import java.security.PrivilegedAction; - -import org.eclipse.emf.common.EMFPlugin; - -/** - * Helper class with bundle-independent code, that can be reused by other I18N classes local to each plug-in. - * - * @author pcdavid - */ -public final class I18N { - /** - * Used to mark a {@code public static String} field of a class as an externalized string, whose actual value will - * depend on the locale used at runtime. The optional value corresponds to the key in the {@code ResourceLocator}; - * if absent, the name of the field itself is used as key. - * - * @author pcdavid - */ - @Retention(RetentionPolicy.RUNTIME) - @Target(ElementType.FIELD) - public @interface TranslatableMessage { - /** - * The (optional) value of the message key. If absent, the key is assumed to be the same as the Java field's - * name. - */ - String[] value() default {}; - } - - /** - * The constructor. - */ - private I18N() { - // Prevent instantiation - } - - /** - * Initializes the value of a class's {@code TranslatableMessage}s using the specified plugin as - * {@code ResourceLocator}. - * - * @param messagesClass - * the class which defines the fields to initialize. - * @param plugin - * the plugin from which to obtain the localized value of the fields. - */ - public static void initializeMessages(final Class messagesClass, final EMFPlugin plugin) { - if (System.getSecurityManager() == null) { - load(plugin, messagesClass); - return; - } - AccessController.doPrivileged(new PrivilegedAction() { - @Override - public Void run() { - load(plugin, messagesClass); - return null; - } - }); - } - - /** - * Loads the message class with the given {@link EMFPlugin}. - * - * @param plugin - * The plugin - * @param messagesClass - * The message class - */ - private static void load(EMFPlugin plugin, Class messagesClass) { - for (Field field : messagesClass.getDeclaredFields()) { - if (isMessageField(field)) { - initialize(field, plugin); - } - } - } - - /** - * Indicates if the given field is a message field. - * - * @param field - * The field - * @return true if the given field is a message field, false otherwise. - */ - private static boolean isMessageField(Field field) { - int mods = field.getModifiers(); - boolean modsOK = Modifier.isPublic(mods) && Modifier.isStatic(mods) && !Modifier.isFinal(mods); - return modsOK && field.isAnnotationPresent(I18N.TranslatableMessage.class) && field.getType() == String.class; - } - - /** - * Initializes the given field used the plugin. - * - * @param field - * The field to initialize - * @param plugin - * The plugin - */ - private static void initialize(Field field, EMFPlugin plugin) { - String key = getKey(field); - String value = plugin.getString(key); - if (!field.isAccessible()) { - field.setAccessible(true); - } - try { - field.set(null, value); - } catch (IllegalArgumentException e) { - plugin.log(e); - } catch (IllegalAccessException e) { - plugin.log(e); - } - } - - /** - * Returns the key for the given field. - * - * @param field - * The field - * @return The key of the field - */ - private static String getKey(Field field) { - I18N.TranslatableMessage annot = field.getAnnotation(I18N.TranslatableMessage.class); - String[] key = annot.value(); - if (key == null || key.length == 0) { - key = new String[] { field.getName() }; - } - return key[0]; - } -} diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/IAQLConstants.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/IAQLConstants.java deleted file mode 100644 index bdbcdf8f6..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/IAQLConstants.java +++ /dev/null @@ -1,23 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.interpreter.aql.internal; - -/** - * Utility interface holding constants. - * - * @author sbegaudeau - */ -public interface IAQLConstants { - /** - * The AQL prefix. - */ - String AQL_PREFIX = "aql:"; //$NON-NLS-1$ -} diff --git a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/Messages.java b/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/Messages.java deleted file mode 100644 index 863ceb51e..000000000 --- a/plugins/org.eclipse.eef.interpreter.aql/src/org/eclipse/eef/interpreter/aql/internal/Messages.java +++ /dev/null @@ -1,45 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.interpreter.aql.internal; - -import org.eclipse.eef.interpreter.aql.internal.I18N.TranslatableMessage; - -/** - * Utility class used to hold the messages of the bundle. - * - * @author sbegaudeau - */ -public final class Messages { - - static { - I18N.initializeMessages(Messages.class, AQLInterpreterPlugin.INSTANCE); - } - - // CHECKSTYLE:OFF - - @TranslatableMessage - public static String AQLInterpreter_errorCreateAST; - - @TranslatableMessage - public static String AQLInterpreter_errorEvaluation; - - @TranslatableMessage - public static String AQLInterpreter_errorRegistrationService; - - // CHECKSTYLE:ON - - /** - * The constructor. - */ - private Messages() { - // Prevents instantiation - } -} diff --git a/plugins/org.eclipse.eef.interpreter/.checkstyle b/plugins/org.eclipse.eef.interpreter/.checkstyle deleted file mode 100644 index 121faf77d..000000000 --- a/plugins/org.eclipse.eef.interpreter/.checkstyle +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/plugins/org.eclipse.eef.interpreter/.classpath b/plugins/org.eclipse.eef.interpreter/.classpath deleted file mode 100644 index ad32c83a7..000000000 --- a/plugins/org.eclipse.eef.interpreter/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/plugins/org.eclipse.eef.interpreter/.project b/plugins/org.eclipse.eef.interpreter/.project deleted file mode 100644 index 7c045513b..000000000 --- a/plugins/org.eclipse.eef.interpreter/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.eclipse.eef.interpreter - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - net.sf.eclipsecs.core.CheckstyleBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - net.sf.eclipsecs.core.CheckstyleNature - - diff --git a/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index fb8257839..000000000 --- a/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,398 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.builder.cleanOutputFolder=clean -org.eclipse.jdt.core.builder.duplicateResourceTask=warning -org.eclipse.jdt.core.builder.invalidClasspath=abort -org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore -org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= -org.eclipse.jdt.core.circularClasspath=error -org.eclipse.jdt.core.classpath.exclusionPatterns=enabled -org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled -org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error -org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled -org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore -org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull -org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault -org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable -org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore -org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning -org.eclipse.jdt.core.compiler.problem.deadCode=warning -org.eclipse.jdt.core.compiler.problem.deprecation=warning -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled -org.eclipse.jdt.core.compiler.problem.discouragedReference=warning -org.eclipse.jdt.core.compiler.problem.emptyStatement=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore -org.eclipse.jdt.core.compiler.problem.fallthroughCase=error -org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled -org.eclipse.jdt.core.compiler.problem.fieldHiding=warning -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning -org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore -org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning -org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled -org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning -org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error -org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning -org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error -org.eclipse.jdt.core.compiler.problem.nullReference=warning -org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error -org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning -org.eclipse.jdt.core.compiler.problem.parameterAssignment=error -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning -org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning -org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning -org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning -org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning -org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore -org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning -org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore -org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning -org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled -org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning -org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning -org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled -org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning -org.eclipse.jdt.core.compiler.problem.unusedImport=warning -org.eclipse.jdt.core.compiler.problem.unusedLabel=warning -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning -org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning -org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.6 -org.eclipse.jdt.core.formatter.align_type_members_on_columns=false -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_assignment=0 -org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 -org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 -org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 -org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 -org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 -org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 -org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 -org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_after_package=1 -org.eclipse.jdt.core.formatter.blank_lines_before_field=0 -org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 -org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 -org.eclipse.jdt.core.formatter.blank_lines_before_method=1 -org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 -org.eclipse.jdt.core.formatter.blank_lines_before_package=0 -org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 -org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 -org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false -org.eclipse.jdt.core.formatter.comment.format_block_comments=true -org.eclipse.jdt.core.formatter.comment.format_header=false -org.eclipse.jdt.core.formatter.comment.format_html=true -org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true -org.eclipse.jdt.core.formatter.comment.format_line_comments=true -org.eclipse.jdt.core.formatter.comment.format_source_code=true -org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true -org.eclipse.jdt.core.formatter.comment.indent_root_tags=true -org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert -org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert -org.eclipse.jdt.core.formatter.comment.line_length=120 -org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true -org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true -org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false -org.eclipse.jdt.core.formatter.compact_else_if=true -org.eclipse.jdt.core.formatter.continuation_indentation=2 -org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 -org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off -org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true -org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_empty_lines=false -org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true -org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false -org.eclipse.jdt.core.formatter.indentation.size=4 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert -org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert -org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert -org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.join_lines_in_comments=true -org.eclipse.jdt.core.formatter.join_wrapped_lines=true -org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false -org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false -org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false -org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false -org.eclipse.jdt.core.formatter.lineSplit=150 -org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false -org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false -org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 -org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true -org.eclipse.jdt.core.formatter.tabulation.char=tab -org.eclipse.jdt.core.formatter.tabulation.size=4 -org.eclipse.jdt.core.formatter.use_on_off_tags=true -org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false -org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true -org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true -org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true -org.eclipse.jdt.core.incompatibleJDKLevel=ignore -org.eclipse.jdt.core.incompleteClasspath=error -org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.launching.prefs b/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.launching.prefs deleted file mode 100644 index 3bb235278..000000000 --- a/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.launching.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index 43ccc83c4..000000000 --- a/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,67 +0,0 @@ -eclipse.preferences.version=1 -editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true -formatter_settings_version=12 -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=com;java;javax;org; -org.eclipse.jdt.ui.javadoc=true -org.eclipse.jdt.ui.ondemandthreshold=99 -org.eclipse.jdt.ui.staticondemandthreshold=99 -org.eclipse.jdt.ui.text.custom_code_templates= -sp_cleanup.add_default_serial_version_id=false -sp_cleanup.add_generated_serial_version_id=false -sp_cleanup.add_missing_annotations=true -sp_cleanup.add_missing_deprecated_annotations=true -sp_cleanup.add_missing_methods=false -sp_cleanup.add_missing_nls_tags=false -sp_cleanup.add_missing_override_annotations=true -sp_cleanup.add_missing_override_annotations_interface_methods=true -sp_cleanup.add_serial_version_id=false -sp_cleanup.always_use_blocks=false -sp_cleanup.always_use_parentheses_in_expressions=false -sp_cleanup.always_use_this_for_non_static_field_access=false -sp_cleanup.always_use_this_for_non_static_method_access=false -sp_cleanup.convert_functional_interfaces=false -sp_cleanup.convert_to_enhanced_for_loop=false -sp_cleanup.correct_indentation=true -sp_cleanup.format_source_code=true -sp_cleanup.format_source_code_changes_only=false -sp_cleanup.insert_inferred_type_arguments=false -sp_cleanup.make_local_variable_final=false -sp_cleanup.make_parameters_final=false -sp_cleanup.make_private_fields_final=false -sp_cleanup.make_type_abstract_if_missing_method=false -sp_cleanup.make_variable_declarations_final=false -sp_cleanup.never_use_blocks=false -sp_cleanup.never_use_parentheses_in_expressions=false -sp_cleanup.on_save_use_additional_actions=true -sp_cleanup.organize_imports=true -sp_cleanup.qualify_static_field_accesses_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_with_declaring_class=false -sp_cleanup.qualify_static_method_accesses_with_declaring_class=false -sp_cleanup.remove_private_constructors=false -sp_cleanup.remove_redundant_type_arguments=false -sp_cleanup.remove_trailing_whitespaces=true -sp_cleanup.remove_trailing_whitespaces_all=true -sp_cleanup.remove_trailing_whitespaces_ignore_empty=false -sp_cleanup.remove_unnecessary_casts=true -sp_cleanup.remove_unnecessary_nls_tags=true -sp_cleanup.remove_unused_imports=true -sp_cleanup.remove_unused_local_variables=false -sp_cleanup.remove_unused_private_fields=false -sp_cleanup.remove_unused_private_members=false -sp_cleanup.remove_unused_private_methods=false -sp_cleanup.remove_unused_private_types=false -sp_cleanup.sort_members=false -sp_cleanup.sort_members_all=false -sp_cleanup.use_anonymous_class_creation=false -sp_cleanup.use_blocks=false -sp_cleanup.use_blocks_only_for_return_and_throw=false -sp_cleanup.use_lambda=false -sp_cleanup.use_parentheses_in_expressions=false -sp_cleanup.use_this_for_non_static_field_access=false -sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false -sp_cleanup.use_this_for_non_static_method_access=false -sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false -sp_cleanup.use_type_arguments=false diff --git a/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.core.prefs b/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.core.prefs deleted file mode 100644 index 923c37fb8..000000000 --- a/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.core.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -resolve.requirebundle=false diff --git a/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.prefs deleted file mode 100644 index 3112e810d..000000000 --- a/plugins/org.eclipse.eef.interpreter/.settings/org.eclipse.pde.prefs +++ /dev/null @@ -1,32 +0,0 @@ -compilers.f.unresolved-features=1 -compilers.f.unresolved-plugins=1 -compilers.incompatible-environment=1 -compilers.p.build=1 -compilers.p.build.bin.includes=1 -compilers.p.build.encodings=1 -compilers.p.build.java.compiler=1 -compilers.p.build.java.compliance=1 -compilers.p.build.missing.output=2 -compilers.p.build.output.library=1 -compilers.p.build.source.library=1 -compilers.p.build.src.includes=1 -compilers.p.deprecated=1 -compilers.p.discouraged-class=1 -compilers.p.internal=1 -compilers.p.missing-packages=1 -compilers.p.missing-version-export-package=0 -compilers.p.missing-version-import-package=0 -compilers.p.missing-version-require-bundle=0 -compilers.p.no-required-att=0 -compilers.p.not-externalized-att=0 -compilers.p.unknown-attribute=1 -compilers.p.unknown-class=1 -compilers.p.unknown-element=1 -compilers.p.unknown-identifier=1 -compilers.p.unknown-resource=1 -compilers.p.unresolved-ex-points=0 -compilers.p.unresolved-import=0 -compilers.s.create-docs=false -compilers.s.doc-folder=doc -compilers.s.open-tags=1 -eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.eef.interpreter/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.interpreter/META-INF/MANIFEST.MF deleted file mode 100644 index 80878e8c4..000000000 --- a/plugins/org.eclipse.eef.interpreter/META-INF/MANIFEST.MF +++ /dev/null @@ -1,10 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.eef.interpreter -Bundle-Version: 2.0.0.qualifier -Bundle-Vendor: %providerName -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Require-Bundle: org.eclipse.emf.common;bundle-version="[2.8.0,3.0.0)" -Export-Package: org.eclipse.eef.interpreter.api;version="2.0.0" -Bundle-Localization: plugin diff --git a/plugins/org.eclipse.eef.interpreter/about.html b/plugins/org.eclipse.eef.interpreter/about.html deleted file mode 100644 index f3a55ce5f..000000000 --- a/plugins/org.eclipse.eef.interpreter/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

                About This Content

                - -

                June 15, 2010

                -

                License

                - -

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

                - -

                If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

                - - - \ No newline at end of file diff --git a/plugins/org.eclipse.eef.interpreter/build.properties b/plugins/org.eclipse.eef.interpreter/build.properties deleted file mode 100644 index eac95d0ab..000000000 --- a/plugins/org.eclipse.eef.interpreter/build.properties +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm -# Contributors: Obeo - initial API and implementation - -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - plugin.properties -javacProjectSettings = true diff --git a/plugins/org.eclipse.eef.interpreter/plugin.properties b/plugins/org.eclipse.eef.interpreter/plugin.properties deleted file mode 100644 index d349c5863..000000000 --- a/plugins/org.eclipse.eef.interpreter/plugin.properties +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm -# Contributors: Obeo - initial API and implementation - -pluginName=EEF Interpreter -providerName=Eclipse Modeling Project diff --git a/plugins/org.eclipse.eef.interpreter/pom.xml b/plugins/org.eclipse.eef.interpreter/pom.xml deleted file mode 100644 index 701fe7af5..000000000 --- a/plugins/org.eclipse.eef.interpreter/pom.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - 4.0.0 - - - org.eclipse.eef - org.eclipse.eef.parent - 2.0.0-SNAPSHOT - ../../releng/org.eclipse.eef.releng - - - org.eclipse.eef.interpreter - eclipse-plugin - - EEF Interpreter - - - - - org.eclipse.tycho - tycho-source-plugin - ${tycho-version} - - - - \ No newline at end of file diff --git a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IEvaluationResult.java b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IEvaluationResult.java deleted file mode 100644 index 95d6db164..000000000 --- a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IEvaluationResult.java +++ /dev/null @@ -1,34 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.interpreter.api; - -import org.eclipse.emf.common.util.Diagnostic; - -/** - * The evaluation result. - * - * @author sbegaudeau - */ -public interface IEvaluationResult { - /** - * The value returned by the expression. - * - * @return The value returned by the expression - */ - Object getValue(); - - /** - * The diagnostic of the evaluation. - * - * @return The diagnostic - */ - Diagnostic getDiagnostic(); -} diff --git a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java deleted file mode 100644 index ee95847dd..000000000 --- a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreter.java +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.interpreter.api; - -import java.util.Map; - -/** - * Common interface of all the interpreters used by the EEF runtime. - * - * @author sbegaudeau - */ -public interface IInterpreter { - /** - * Evaluates the expression with the given body and parameters. - * - * @param variables - * The variables used to evaluate the expression - * @param expressionBody - * The body of the expression - * @return The result of the evaluation - * @throws EvaluationException - * In case of error during the evaluation - */ - IEvaluationResult evaluateExpression(Map variables, String expressionBody); -} diff --git a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreterProvider.java b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreterProvider.java deleted file mode 100644 index 47d18a0c3..000000000 --- a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IInterpreterProvider.java +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.interpreter.api; - -/** - * This class is used to create a new instance of an interpreter and determine if it can handle a given expression. - * - * @author sbegaudeau - */ -public interface IInterpreterProvider { - /** - * Indicates if the {@link IInterpreter} that can be created by this provider can handle the given expression. - * - * @param expression - * The expression - * @return true if the {@link IInterpreter} that can be created can handle the given expression, - * false otherwise - */ - boolean canHandle(String expression); - - /** - * Creates a new instance of the interpreter. - * - * @return A new instance of the interpreter - */ - IInterpreter createInterpreter(); -} diff --git a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IValidationResult.java b/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IValidationResult.java deleted file mode 100644 index f3c5ac811..000000000 --- a/plugins/org.eclipse.eef.interpreter/src/org/eclipse/eef/interpreter/api/IValidationResult.java +++ /dev/null @@ -1,27 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.interpreter.api; - -import org.eclipse.emf.common.util.Diagnostic; - -/** - * The result of the validation. - * - * @author sbegaudeau - */ -public interface IValidationResult { - /** - * Returns the diagnostic. - * - * @return The diagnostic - */ - Diagnostic getDiagonstic(); -} diff --git a/releng/org.eclipse.eef.releng/pom.xml b/releng/org.eclipse.eef.releng/pom.xml index 3b17bee6c..e9c1f003b 100644 --- a/releng/org.eclipse.eef.releng/pom.xml +++ b/releng/org.eclipse.eef.releng/pom.xml @@ -88,9 +88,6 @@ Contributors: ../../plugins/org.eclipse.eef ../../plugins/org.eclipse.eef.edit - ../../plugins/org.eclipse.eef.interpreter - ../../plugins/org.eclipse.eef.interpreter.aql - ../../plugins/org.eclipse.eef.core ../../plugins/org.eclipse.eef.ide ../../plugins/org.eclipse.eef.ide.ui diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.checkstyle b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.checkstyle deleted file mode 100644 index 121faf77d..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.checkstyle +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.classpath b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.classpath deleted file mode 100644 index ad32c83a7..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.project b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.project deleted file mode 100644 index dbfb23aa4..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.eclipse.eef.uml.editor.sample - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - net.sf.eclipsecs.core.CheckstyleBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - net.sf.eclipsecs.core.CheckstyleNature - - diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.core.prefs b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index fb8257839..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,398 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.builder.cleanOutputFolder=clean -org.eclipse.jdt.core.builder.duplicateResourceTask=warning -org.eclipse.jdt.core.builder.invalidClasspath=abort -org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore -org.eclipse.jdt.core.builder.resourceCopyExclusionFilter= -org.eclipse.jdt.core.circularClasspath=error -org.eclipse.jdt.core.classpath.exclusionPatterns=enabled -org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled -org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error -org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled -org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore -org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull -org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault -org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable -org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore -org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning -org.eclipse.jdt.core.compiler.problem.deadCode=warning -org.eclipse.jdt.core.compiler.problem.deprecation=warning -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled -org.eclipse.jdt.core.compiler.problem.discouragedReference=warning -org.eclipse.jdt.core.compiler.problem.emptyStatement=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore -org.eclipse.jdt.core.compiler.problem.fallthroughCase=error -org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled -org.eclipse.jdt.core.compiler.problem.fieldHiding=warning -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning -org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore -org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning -org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled -org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning -org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error -org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning -org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error -org.eclipse.jdt.core.compiler.problem.nullReference=warning -org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error -org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning -org.eclipse.jdt.core.compiler.problem.parameterAssignment=error -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning -org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning -org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning -org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning -org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning -org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore -org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning -org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore -org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning -org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled -org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning -org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning -org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled -org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=warning -org.eclipse.jdt.core.compiler.problem.unusedImport=warning -org.eclipse.jdt.core.compiler.problem.unusedLabel=warning -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning -org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning -org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.6 -org.eclipse.jdt.core.formatter.align_type_members_on_columns=false -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_assignment=0 -org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 -org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 -org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 -org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 -org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 -org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 -org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 -org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_after_package=1 -org.eclipse.jdt.core.formatter.blank_lines_before_field=0 -org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 -org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 -org.eclipse.jdt.core.formatter.blank_lines_before_method=1 -org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 -org.eclipse.jdt.core.formatter.blank_lines_before_package=0 -org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 -org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 -org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false -org.eclipse.jdt.core.formatter.comment.format_block_comments=true -org.eclipse.jdt.core.formatter.comment.format_header=false -org.eclipse.jdt.core.formatter.comment.format_html=true -org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true -org.eclipse.jdt.core.formatter.comment.format_line_comments=true -org.eclipse.jdt.core.formatter.comment.format_source_code=true -org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true -org.eclipse.jdt.core.formatter.comment.indent_root_tags=true -org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert -org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert -org.eclipse.jdt.core.formatter.comment.line_length=120 -org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true -org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true -org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false -org.eclipse.jdt.core.formatter.compact_else_if=true -org.eclipse.jdt.core.formatter.continuation_indentation=2 -org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 -org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off -org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true -org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_empty_lines=false -org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true -org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false -org.eclipse.jdt.core.formatter.indentation.size=4 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert -org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert -org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert -org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.join_lines_in_comments=true -org.eclipse.jdt.core.formatter.join_wrapped_lines=true -org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false -org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false -org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false -org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false -org.eclipse.jdt.core.formatter.lineSplit=150 -org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false -org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false -org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 -org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true -org.eclipse.jdt.core.formatter.tabulation.char=tab -org.eclipse.jdt.core.formatter.tabulation.size=4 -org.eclipse.jdt.core.formatter.use_on_off_tags=true -org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false -org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true -org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true -org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true -org.eclipse.jdt.core.incompatibleJDKLevel=ignore -org.eclipse.jdt.core.incompleteClasspath=error -org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.launching.prefs b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.launching.prefs deleted file mode 100644 index 3bb235278..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.launching.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.ui.prefs b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index a7564c761..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,68 +0,0 @@ -eclipse.preferences.version=1 -editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true -formatter_profile=_EEF -formatter_settings_version=12 -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=com;java;javax;org; -org.eclipse.jdt.ui.javadoc=true -org.eclipse.jdt.ui.ondemandthreshold=99 -org.eclipse.jdt.ui.staticondemandthreshold=99 -org.eclipse.jdt.ui.text.custom_code_templates= -sp_cleanup.add_default_serial_version_id=false -sp_cleanup.add_generated_serial_version_id=false -sp_cleanup.add_missing_annotations=true -sp_cleanup.add_missing_deprecated_annotations=true -sp_cleanup.add_missing_methods=false -sp_cleanup.add_missing_nls_tags=false -sp_cleanup.add_missing_override_annotations=true -sp_cleanup.add_missing_override_annotations_interface_methods=true -sp_cleanup.add_serial_version_id=false -sp_cleanup.always_use_blocks=false -sp_cleanup.always_use_parentheses_in_expressions=false -sp_cleanup.always_use_this_for_non_static_field_access=false -sp_cleanup.always_use_this_for_non_static_method_access=false -sp_cleanup.convert_functional_interfaces=false -sp_cleanup.convert_to_enhanced_for_loop=false -sp_cleanup.correct_indentation=true -sp_cleanup.format_source_code=true -sp_cleanup.format_source_code_changes_only=false -sp_cleanup.insert_inferred_type_arguments=false -sp_cleanup.make_local_variable_final=false -sp_cleanup.make_parameters_final=false -sp_cleanup.make_private_fields_final=false -sp_cleanup.make_type_abstract_if_missing_method=false -sp_cleanup.make_variable_declarations_final=false -sp_cleanup.never_use_blocks=false -sp_cleanup.never_use_parentheses_in_expressions=false -sp_cleanup.on_save_use_additional_actions=true -sp_cleanup.organize_imports=true -sp_cleanup.qualify_static_field_accesses_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_with_declaring_class=false -sp_cleanup.qualify_static_method_accesses_with_declaring_class=false -sp_cleanup.remove_private_constructors=false -sp_cleanup.remove_redundant_type_arguments=false -sp_cleanup.remove_trailing_whitespaces=true -sp_cleanup.remove_trailing_whitespaces_all=true -sp_cleanup.remove_trailing_whitespaces_ignore_empty=false -sp_cleanup.remove_unnecessary_casts=true -sp_cleanup.remove_unnecessary_nls_tags=true -sp_cleanup.remove_unused_imports=true -sp_cleanup.remove_unused_local_variables=false -sp_cleanup.remove_unused_private_fields=false -sp_cleanup.remove_unused_private_members=false -sp_cleanup.remove_unused_private_methods=false -sp_cleanup.remove_unused_private_types=false -sp_cleanup.sort_members=false -sp_cleanup.sort_members_all=false -sp_cleanup.use_anonymous_class_creation=false -sp_cleanup.use_blocks=false -sp_cleanup.use_blocks_only_for_return_and_throw=false -sp_cleanup.use_lambda=false -sp_cleanup.use_parentheses_in_expressions=false -sp_cleanup.use_this_for_non_static_field_access=false -sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false -sp_cleanup.use_this_for_non_static_method_access=false -sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false -sp_cleanup.use_type_arguments=false diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.core.prefs b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.core.prefs deleted file mode 100644 index 923c37fb8..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.core.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -resolve.requirebundle=false diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.prefs b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.prefs deleted file mode 100644 index 3112e810d..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/.settings/org.eclipse.pde.prefs +++ /dev/null @@ -1,32 +0,0 @@ -compilers.f.unresolved-features=1 -compilers.f.unresolved-plugins=1 -compilers.incompatible-environment=1 -compilers.p.build=1 -compilers.p.build.bin.includes=1 -compilers.p.build.encodings=1 -compilers.p.build.java.compiler=1 -compilers.p.build.java.compliance=1 -compilers.p.build.missing.output=2 -compilers.p.build.output.library=1 -compilers.p.build.source.library=1 -compilers.p.build.src.includes=1 -compilers.p.deprecated=1 -compilers.p.discouraged-class=1 -compilers.p.internal=1 -compilers.p.missing-packages=1 -compilers.p.missing-version-export-package=0 -compilers.p.missing-version-import-package=0 -compilers.p.missing-version-require-bundle=0 -compilers.p.no-required-att=0 -compilers.p.not-externalized-att=0 -compilers.p.unknown-attribute=1 -compilers.p.unknown-class=1 -compilers.p.unknown-element=1 -compilers.p.unknown-identifier=1 -compilers.p.unknown-resource=1 -compilers.p.unresolved-ex-points=0 -compilers.p.unresolved-import=0 -compilers.s.create-docs=false -compilers.s.doc-folder=doc -compilers.s.open-tags=1 -eclipse.preferences.version=1 diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/META-INF/MANIFEST.MF b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/META-INF/MANIFEST.MF deleted file mode 100644 index 213455ddd..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/META-INF/MANIFEST.MF +++ /dev/null @@ -1,24 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.eef.uml.editor.sample;singleton:=true -Bundle-Version: 1.0.0.qualifier -Bundle-Vendor: %providerName -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Bundle-ActivationPolicy: lazy -Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", - org.eclipse.emf.common;bundle-version="[2.8.0,3.0.0)", - org.eclipse.eef;bundle-version="[2.0.0,3.0.0)", - org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)", - org.eclipse.emf.ecore.xmi;bundle-version="[2.8.0,3.0.0)", - org.eclipse.uml2.uml.editor;bundle-version="[5.0.0,6.0.0)", - org.eclipse.ui.views.properties.tabbed;bundle-version="[3.0.0,4.0.0)", - org.eclipse.eef.ide;bundle-version="[2.0.0,3.0.0)", - org.eclipse.sirius;bundle-version="[3.0.0,5.0.0)", - org.eclipse.eef.ide.ui;bundle-version="[2.0.0,3.0.0)", - org.eclipse.emf.transaction;bundle-version="[1.5.0,2.0.0)" -Bundle-Localization: plugin -Export-Package: org.eclipse.eef.uml.editor.sample.internal;version="1.0.0";x-internal:=true, - org.eclipse.eef.uml.editor.sample.internal.description;version="1.0.0";x-internal:=true, - org.eclipse.eef.uml.editor.sample.internal.editor;version="1.0.0";x-internal:=true, - org.eclipse.eef.uml.editor.sample.internal.properties;version="1.0.0";x-internal:=true diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/about.html b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/about.html deleted file mode 100644 index f3a55ce5f..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

                About This Content

                - -

                June 15, 2010

                -

                License

                - -

                The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

                - -

                If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

                - - - \ No newline at end of file diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/build.properties b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/build.properties deleted file mode 100644 index 5c27a621f..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/build.properties +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm -# Contributors: Obeo - initial API and implementation - -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - plugin.properties,\ - plugin.xml -javacProjectSettings = true diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/description/EEFViewDescription.xmi b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/description/EEFViewDescription.xmi deleted file mode 100644 index d4d7df88c..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/description/EEFViewDescription.xmi +++ /dev/null @@ -1,27 +0,0 @@ - - - http://www.eclipse.org/uml2/5.0.0/UML - - - - - - - diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.properties b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.properties deleted file mode 100644 index 42109e1aa..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.properties +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright (c) 2015 Obeo. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.htm -# Contributors: Obeo - initial API and implementation - -pluginName=EEF UML Sample -providerName=Eclipse Modeling Project - -UMLEditor_Name=EEF UML Editor \ No newline at end of file diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.xml b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.xml deleted file mode 100644 index c114b8c10..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/plugin.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/UmlSamplePlugin.java b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/UmlSamplePlugin.java deleted file mode 100644 index 4b5be3e38..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/UmlSamplePlugin.java +++ /dev/null @@ -1,93 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.uml.editor.sample.internal; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Status; -import org.eclipse.emf.common.EMFPlugin; -import org.eclipse.emf.common.util.ResourceLocator; - -/** - * The plugin class of the bundle. - * - * @author sbegaudeau - */ -public class UmlSamplePlugin extends EMFPlugin { - /** - * The identifier of the plugin. - */ - public static final String PLUGIN_ID = "org.eclipse.eef.uml.editor.sample"; //$NON-NLS-1$ - - /** - * The sole instance of the plugin. - */ - public static final UmlSamplePlugin INSTANCE = new UmlSamplePlugin(); - - /** - * The OSGi related implementation of the plugin. - */ - private static Implementation plugin; - - /** - * The constructor. - */ - public UmlSamplePlugin() { - super(new ResourceLocator[0]); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.emf.common.EMFPlugin#getPluginResourceLocator() - */ - @Override - public ResourceLocator getPluginResourceLocator() { - return plugin; - } - - /** - * Returns the OSGi related implementation. - * - * @return The OSGi related implementation - */ - public static Implementation getImplementation() { - return plugin; - } - - /** - * This class is used as the bundle activator of the plugin. - * - * @author sbegaudeau - */ - public static class Implementation extends EclipsePlugin { - /** - * The constructor. - */ - public Implementation() { - super(); - - plugin = this; - } - - /** - * Logs an error with the exception and the given message. - * - * @param message - * The message - * @param exception - * The exception - */ - public void logError(String message, Exception exception) { - IStatus status = new Status(IStatus.ERROR, PLUGIN_ID, message, exception); - this.getLog().log(status); - } - } -} diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/description/EEFViewDescriptionProvider.java b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/description/EEFViewDescriptionProvider.java deleted file mode 100644 index eaa3a6152..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/description/EEFViewDescriptionProvider.java +++ /dev/null @@ -1,58 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.uml.editor.sample.internal.description; - -import java.util.List; - -import org.eclipse.eef.EEFViewDescription; -import org.eclipse.eef.api.IEEFViewDescriptionProvider; -import org.eclipse.eef.uml.editor.sample.internal.UmlSamplePlugin; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; - -/** - * This class returns the EEFViewDescription for the custom UML editor. - * - * @author sbegaudeau - */ -public class EEFViewDescriptionProvider implements IEEFViewDescriptionProvider { - - /** - * The path of the EEF description model. - */ - private static final String MODEL_PATH = UmlSamplePlugin.PLUGIN_ID + "/description/EEFViewDescription.xmi"; //$NON-NLS-1$ - - /** - * {@inheritDoc} - * - * @see org.eclipse.eef.api.IEEFViewDescriptionProvider#get() - */ - @Override - public EEFViewDescription get() { - EEFViewDescription eefViewDescription = null; - - ResourceSet resourceSet = new ResourceSetImpl(); - URI uri = URI.createPlatformPluginURI(MODEL_PATH, true); - Resource resource = resourceSet.getResource(uri, true); - if (resource != null) { - List contents = resource.getContents(); - if (contents.size() > 0 && contents.get(0) instanceof EEFViewDescription) { - eefViewDescription = (EEFViewDescription) contents.get(0); - } - } - - return eefViewDescription; - } - -} diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/editor/EEFUmlEditor.java b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/editor/EEFUmlEditor.java deleted file mode 100644 index 3c0d42183..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/editor/EEFUmlEditor.java +++ /dev/null @@ -1,86 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.uml.editor.sample.internal.editor; - -import java.util.Iterator; - -import org.eclipse.eef.uml.editor.sample.internal.properties.UmlPropertySheetPage; -import org.eclipse.emf.edit.domain.EditingDomain; -import org.eclipse.sirius.business.api.session.Session; -import org.eclipse.sirius.business.api.session.SessionManager; -import org.eclipse.ui.views.properties.IPropertySheetPage; -import org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor; -import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; -import org.eclipse.uml2.uml.editor.presentation.UMLEditor; - -/** - * Our custom UML editor. - * - * @author sbegaudeau - */ -public class EEFUmlEditor extends UMLEditor implements ITabbedPropertySheetPageContributor { - - /** - * The property sheet page. - */ - private TabbedPropertySheetPage propertySheetPage; - - /** - * {@inheritDoc} - * - * @see org.eclipse.uml2.uml.editor.presentation.UMLEditor#getAdapter(java.lang.Class) - */ - @Override - public Object getAdapter(@SuppressWarnings("rawtypes") Class key) { - if (key.equals(IPropertySheetPage.class)) { - return getPropertySheetPage(); - } - return super.getAdapter(key); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.uml2.uml.editor.presentation.UMLEditor#getPropertySheetPage() - */ - @Override - public TabbedPropertySheetPage getPropertySheetPage() { - if (propertySheetPage == null || propertySheetPage.getControl() == null) { - propertySheetPage = new UmlPropertySheetPage(this); - } - return propertySheetPage; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor#getContributorId() - */ - @Override - public String getContributorId() { - return "org.eclipse.eef.uml.editor.sample.contributorId"; //$NON-NLS-1$ - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.uml2.uml.editor.presentation.UMLEditor#getEditingDomain() - */ - @Override - public EditingDomain getEditingDomain() { - Iterator iterator = SessionManager.INSTANCE.getSessions().iterator(); - if (iterator.hasNext()) { - Session session = iterator.next(); - return session.getTransactionalEditingDomain(); - } - return super.getEditingDomain(); - } -} diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UMLTabDescriptorProvider.java b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UMLTabDescriptorProvider.java deleted file mode 100644 index b8e324c64..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UMLTabDescriptorProvider.java +++ /dev/null @@ -1,71 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.uml.editor.sample.internal.properties; - -import java.util.List; - -import org.eclipse.eef.ide.ui.api.TabDescriptorFilter; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.edit.domain.EditingDomain; -import org.eclipse.emf.edit.domain.IEditingDomainProvider; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.jface.viewers.IStructuredSelection; -import org.eclipse.ui.IWorkbenchPart; -import org.eclipse.ui.views.properties.tabbed.ITabDescriptor; -import org.eclipse.ui.views.properties.tabbed.ITabDescriptorProvider; - -/** - * The tab descriptor provider for the UML properties view. - * - * @author sbegaudeau - */ -public class UMLTabDescriptorProvider implements ITabDescriptorProvider { - - /** - * {@inheritDoc} - * - * @see org.eclipse.ui.views.properties.tabbed.ITabDescriptorProvider#getTabDescriptors(org.eclipse.ui.IWorkbenchPart, - * org.eclipse.jface.viewers.ISelection) - */ - @Override - public ITabDescriptor[] getTabDescriptors(IWorkbenchPart part, ISelection selection) { - if (part instanceof IEditingDomainProvider && selection instanceof IStructuredSelection) { - IStructuredSelection structuredSelection = (IStructuredSelection) selection; - Object[] objects = structuredSelection.toArray(); - - IEditingDomainProvider editingDomainProvider = (IEditingDomainProvider) part; - EditingDomain editingDomain = editingDomainProvider.getEditingDomain(); - - Object[] eObjects = new Object[objects.length]; - - for (int i = 0; i < objects.length; i = i + 1) { - Object object = objects[i]; - if (object instanceof EObject) { - EObject eObject = (EObject) object; - URI uri = EcoreUtil.getURI(eObject); - EObject domainEObject = editingDomain.getResourceSet().getEObject(uri, true); - eObjects[i] = domainEObject; - } - } - - if (editingDomain instanceof TransactionalEditingDomain) { - TransactionalEditingDomain transactionalEditingDomain = (TransactionalEditingDomain) editingDomain; - List descriptors = new TabDescriptorFilter().getTabDescriptors(eObjects, transactionalEditingDomain); - return descriptors.toArray(new ITabDescriptor[descriptors.size()]); - } - } - return new ITabDescriptor[0]; - } - -} diff --git a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UmlPropertySheetPage.java b/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UmlPropertySheetPage.java deleted file mode 100644 index a142737cb..000000000 --- a/samples/uml-custom-editor/org.eclipse.eef.uml.editor.sample/src/org/eclipse/eef/uml/editor/sample/internal/properties/UmlPropertySheetPage.java +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.uml.editor.sample.internal.properties; - -import org.eclipse.eef.uml.editor.sample.internal.editor.EEFUmlEditor; -import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; - -/** - * The tabbed property sheet page. - * - * @author sbegaudeau - */ -public class UmlPropertySheetPage extends TabbedPropertySheetPage { - - /** - * The constructor. - * - * @param eefUmlEditor - * The editor - */ - public UmlPropertySheetPage(EEFUmlEditor eefUmlEditor) { - super(eefUmlEditor); - } - -} -- cgit v1.2.3 From 18bad80596e86e825aee7b6831710ece8adfce60 Mon Sep 17 00:00:00 2001 From: Stéphane Bégaudeau Date: Thu, 26 Nov 2015 16:06:26 +0100 Subject: Add basic tests for the EEFTextController Change-Id: I3a9e4a7b8fa7d6a496c98e6b9c174654d969d4ce Signed-off-by: Stéphane Bégaudeau --- tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF | 7 +- .../org/eclipse/eef/tests/internal/AllTests.java | 3 +- .../eef/tests/internal/InitializationTests.java | 32 ------- .../controllers/EEFTextControllerTests.java | 97 ++++++++++++++++++++++ .../internal/controllers/EvaluationResult.java | 76 +++++++++++++++++ 5 files changed, 180 insertions(+), 35 deletions(-) delete mode 100644 tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/InitializationTests.java create mode 100644 tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EEFTextControllerTests.java create mode 100644 tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EvaluationResult.java diff --git a/tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF index 8422d578c..c28bd8ed0 100644 --- a/tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF +++ b/tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF @@ -6,7 +6,10 @@ Bundle-Version: 2.0.0.qualifier Bundle-Vendor: %providerName Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-Localization: plugin -Export-Package: org.eclipse.eef.tests.internal;version="2.0.0" +Export-Package: org.eclipse.eef.tests.internal;version="2.0.0";x-internal:=true, + org.eclipse.eef.tests.internal.controllers;version="2.0.0";x-internal:=true Require-Bundle: org.junit;bundle-version="[4.12.0,5.0.0)", org.eclipse.eef;bundle-version="[2.0.0,3.0.0)", - org.eclipse.eef.core;bundle-version="[2.0.0,3.0.0)" + org.eclipse.eef.core;bundle-version="[2.0.0,3.0.0)", + org.eclipse.emf.transaction;bundle-version="[1.9.0,2.0.0)", + org.eclipse.sirius.common.interpreter;bundle-version="[1.0.0,2.0.0)" diff --git a/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/AllTests.java b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/AllTests.java index 9c36f282a..3f42caeff 100644 --- a/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/AllTests.java +++ b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/AllTests.java @@ -10,6 +10,7 @@ *******************************************************************************/ package org.eclipse.eef.tests.internal; +import org.eclipse.eef.tests.internal.controllers.EEFTextControllerTests; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; @@ -20,7 +21,7 @@ import org.junit.runners.Suite.SuiteClasses; * @author sbegaudeau */ @RunWith(Suite.class) -@SuiteClasses({ InitializationTests.class }) +@SuiteClasses({ EEFTextControllerTests.class }) public final class AllTests { /** * The constructor. diff --git a/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/InitializationTests.java b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/InitializationTests.java deleted file mode 100644 index ebf11d002..000000000 --- a/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/InitializationTests.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2015 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.eef.tests.internal; - -import org.eclipse.eef.EEFViewDescription; -import org.eclipse.eef.EefFactory; -import org.junit.Test; - -import static org.junit.Assert.assertNotNull; - -/** - * This class will be used to test the initialization of the controllers. - * - * @author sbegaudeau - */ -@SuppressWarnings({ "checkstyle:javadocmethod" }) -public class InitializationTests { - @Test - public void testEmptyView() { - EEFViewDescription eefViewDescription = EefFactory.eINSTANCE.createEEFViewDescription(); - // TODO Create a meaningful test :) - assertNotNull(eefViewDescription); - } -} diff --git a/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EEFTextControllerTests.java b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EEFTextControllerTests.java new file mode 100644 index 000000000..d47e739b7 --- /dev/null +++ b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EEFTextControllerTests.java @@ -0,0 +1,97 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.tests.internal.controllers; + +import java.util.Map; + +import org.eclipse.eef.EEFTextDescription; +import org.eclipse.eef.EefFactory; +import org.eclipse.eef.core.api.EEFVariableManagerFactory; +import org.eclipse.eef.core.api.IVariableManager; +import org.eclipse.eef.core.api.controllers.EEFTextController; +import org.eclipse.eef.core.internal.controllers.EEFTextControllerImpl; +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl; +import org.eclipse.sirius.common.interpreter.api.IInterpreter; +import org.junit.Before; +import org.junit.Test; + +import static org.hamcrest.MatcherAssert.assertThat; +import static org.hamcrest.core.IsEqual.equalTo; + +/** + * Unit tests for the {@link EEFTextController}. + * + * @author sbegaudeau + */ +@SuppressWarnings({ "checkstyle:javadocmethod" }) +public class EEFTextControllerTests { + /** + * The editing domain. + */ + private TransactionalEditingDomainImpl editingDomain; + + /** + * The description. + */ + private EEFTextDescription description; + + /** + * The variable manager. + */ + private IVariableManager variableManager; + + @Before + public void setUp() { + AdapterFactory adapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE); + this.editingDomain = new TransactionalEditingDomainImpl(adapterFactory); + this.variableManager = new EEFVariableManagerFactory().createVariableManager(); + + this.description = EefFactory.eINSTANCE.createEEFTextDescription(); + + this.description.setLabelExpression("aql:'General'"); //$NON-NLS-1$ + this.description.setValueExpression("aql:self.name"); //$NON-NLS-1$ + this.description.setEditExpression("aql.self.eSet('name', newValue)"); //$NON-NLS-1$ + } + + @Test + public void testUpdateValue() { + final String newValue = "newValue"; //$NON-NLS-1$ + + IInterpreter interpreter = (Map variables, String expressionBody) -> { + return new EvaluationResult(newValue); + }; + + EEFTextController controller = new EEFTextControllerImpl(description, variableManager, interpreter, editingDomain); + controller.onNewValue((text) -> { + assertThat(text, equalTo(newValue)); + }); + + controller.refresh(); + } + + @Test + public void testUpdateLabel() { + final String newLabel = "Label"; //$NON-NLS-1$ + + IInterpreter interpreter = (Map variables, String expressionBody) -> { + return new EvaluationResult(newLabel); + }; + + EEFTextController controller = new EEFTextControllerImpl(description, variableManager, interpreter, editingDomain); + controller.onNewLabel((label) -> { + assertThat(label, equalTo(newLabel)); + }); + + controller.refresh(); + } +} diff --git a/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EvaluationResult.java b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EvaluationResult.java new file mode 100644 index 000000000..167e08d6c --- /dev/null +++ b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EvaluationResult.java @@ -0,0 +1,76 @@ +/******************************************************************************* + * Copyright (c) 2015 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.eef.tests.internal.controllers; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.sirius.common.interpreter.api.IEvaluationResult; + +/** + * The evaluation result. + * + * @author sbegaudeau + */ +public class EvaluationResult implements IEvaluationResult { + + /** + * The value. + */ + private Object value; + + /** + * The diagnostic. + */ + private Diagnostic diagnostic; + + /** + * The constructor. + * + * @param value + * The value + */ + public EvaluationResult(Object value) { + this(value, Diagnostic.OK_INSTANCE); + } + + /** + * The constructor. + * + * @param value + * The value + * @param diagnostic + * The diagnostic + */ + public EvaluationResult(Object value, Diagnostic diagnostic) { + this.value = value; + this.diagnostic = diagnostic; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.sirius.common.interpreter.api.IEvaluationResult#getValue() + */ + @Override + public Object getValue() { + return this.value; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.sirius.common.interpreter.api.IEvaluationResult#getDiagnostic() + */ + @Override + public Diagnostic getDiagnostic() { + return this.diagnostic; + } + +} -- cgit v1.2.3 From 0a19cc90d5975c77ef73055ab4884c4d7144055a Mon Sep 17 00:00:00 2001 From: Stéphane Bégaudeau Date: Fri, 4 Dec 2015 09:57:15 +0100 Subject: Improve the design of the Properties view with Eclipse Form 1) Improve the design of the view by using Eclipse Forms' sections 2) Fix an issue where the text field would trigger the update consumer for all characters typed by the user Change-Id: I70ddc5abf991b60f85148b85b0e9cc798fde0b49 Signed-off-by: Stéphane Bégaudeau --- .../controllers/EEFTextControllerImpl.java | 32 +++++++-- .../eef/ide/ui/internal/properties/EEFSection.java | 37 +++++++++- .../widgets/EEFContainerLifecycleManager.java | 6 +- .../internal/widgets/EEFTextLifecycleManager.java | 83 ++++++++-------------- .../controllers/EEFTextControllerTests.java | 27 ++++++- 5 files changed, 119 insertions(+), 66 deletions(-) diff --git a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/controllers/EEFTextControllerImpl.java b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/controllers/EEFTextControllerImpl.java index b8d8d5d6f..98fcc0ca3 100644 --- a/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/controllers/EEFTextControllerImpl.java +++ b/plugins/org.eclipse.eef.core/src/org/eclipse/eef/core/internal/controllers/EEFTextControllerImpl.java @@ -12,6 +12,10 @@ package org.eclipse.eef.core.internal.controllers; import java.util.HashMap; import java.util.Map; +import java.util.concurrent.Executors; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ScheduledFuture; +import java.util.concurrent.TimeUnit; import org.eclipse.eef.EEFTextDescription; import org.eclipse.eef.core.api.EEFExpressionUtils; @@ -61,6 +65,16 @@ public class EEFTextControllerImpl implements EEFTextController { */ private IConsumer newLabelConsumer; + /** + * Executor service used to run the update of the text field. + */ + private ScheduledExecutorService executor = Executors.newSingleThreadScheduledExecutor(); + + /** + * This future contains the update to be performed. + */ + private ScheduledFuture currentUpdatedValueFuture; + /** * The constructor. * @@ -83,7 +97,11 @@ public class EEFTextControllerImpl implements EEFTextController { @Override public void updateValue(final String text) { - Command command = new RecordingCommand(this.editingDomain) { + if (this.currentUpdatedValueFuture != null && !this.currentUpdatedValueFuture.isDone()) { + this.currentUpdatedValueFuture.cancel(true); + } + + final Command command = new RecordingCommand(this.editingDomain) { @Override protected void doExecute() { String editExpression = EEFTextControllerImpl.this.description.getEditExpression(); @@ -92,7 +110,6 @@ public class EEFTextControllerImpl implements EEFTextController { variables.putAll(EEFTextControllerImpl.this.variableManager.getVariables()); variables.put(EEFExpressionUtils.EEFText.NEW_VALUE, text); //variables.put("selection", selection); //$NON-NLS-1$ - EEFTextControllerImpl.this.interpreter.evaluateExpression(variables, editExpression); } } @@ -103,8 +120,15 @@ public class EEFTextControllerImpl implements EEFTextController { } }; - CommandStack commandStack = this.editingDomain.getCommandStack(); - commandStack.execute(command); + Runnable runnable = new Runnable() { + @Override + public void run() { + CommandStack commandStack = EEFTextControllerImpl.this.editingDomain.getCommandStack(); + commandStack.execute(command); + } + }; + final long scheduleTime = 500L; + this.currentUpdatedValueFuture = this.executor.schedule(runnable, scheduleTime, TimeUnit.MILLISECONDS); } /** diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFSection.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFSection.java index 8e4882994..09f70586d 100644 --- a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFSection.java +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/properties/EEFSection.java @@ -19,14 +19,20 @@ import org.eclipse.eef.core.api.EEFGroup; import org.eclipse.eef.core.api.EEFPage; import org.eclipse.eef.ide.ui.internal.widgets.EEFContainerLifecycleManager; import org.eclipse.eef.ide.ui.internal.widgets.ILifecycleManager; +import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.ecore.EObject; import org.eclipse.jface.viewers.ISelection; import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.sirius.common.interpreter.api.IEvaluationResult; import org.eclipse.swt.SWT; +import org.eclipse.swt.layout.GridData; +import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.IWorkbenchPart; +import org.eclipse.ui.forms.widgets.Section; import org.eclipse.ui.views.properties.tabbed.ISection; import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory; /** * The implementation of {@link ISection} using the {@link EEFSectionDescriptor}. @@ -61,9 +67,38 @@ public class EEFSection implements ISection { EEFContainerDescription eefContainerDescription = eefGroup.getDescription().getContainer(); if (eefContainerDescription != null) { + TabbedPropertySheetWidgetFactory widgetFactory = tabbedPropertySheetPage.getWidgetFactory(); + + Composite container = widgetFactory.createComposite(parent); + container.setLayout(new GridLayout(3, false)); + + Section section = widgetFactory.createSection(container, Section.TITLE_BAR | Section.TWISTIE | Section.EXPANDED); + + String labelExpression = eefGroup.getDescription().getLabelExpression(); + if (labelExpression != null) { + IEvaluationResult result = eefGroup.getInterpreter() + .evaluateExpression(eefGroup.getVariableManager().getVariables(), labelExpression); + if (result.getDiagnostic().getSeverity() == Diagnostic.OK && result.getValue() instanceof String) { + section.setText((String) result.getValue()); + } + } else { + section.setText(""); //$NON-NLS-1$ + } + + GridData sectionLayoutData = new GridData(GridData.FILL_HORIZONTAL); + sectionLayoutData.horizontalSpan = 3; + section.setLayoutData(sectionLayoutData); + Composite group = widgetFactory.createComposite(section); + GridLayout groupLayout = new GridLayout(); + groupLayout.numColumns = 3; + group.setLayout(groupLayout); + section.setClient(group); + EEFContainerLifecycleManager containerLifecycleManager = new EEFContainerLifecycleManager(eefContainerDescription, eefGroup .getVariableManager().createChild(), eefGroup.getInterpreter(), eefGroup.getEditingDomain()); - containerLifecycleManager.createControl(parent, tabbedPropertySheetPage); + containerLifecycleManager.createControl(group, tabbedPropertySheetPage); + + parent.layout(); this.lifecycleManagers.add(containerLifecycleManager); } diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFContainerLifecycleManager.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFContainerLifecycleManager.java index 4dfbf8a4c..cf1f21ee2 100644 --- a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFContainerLifecycleManager.java +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFContainerLifecycleManager.java @@ -21,7 +21,6 @@ import org.eclipse.emf.transaction.TransactionalEditingDomain; import org.eclipse.sirius.common.interpreter.api.IInterpreter; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; -import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory; /** * This class will handle the lifecycle of the {@link EEFContainerDescription}. @@ -83,9 +82,6 @@ public class EEFContainerLifecycleManager implements ILifecycleManager { */ @Override public void createControl(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) { - TabbedPropertySheetWidgetFactory widgetFactory = tabbedPropertySheetPage.getWidgetFactory(); - Composite sectionComposite = widgetFactory.createFlatFormComposite(parent); - List widgets = this.description.getWidgets(); for (EEFWidgetDescription eefWidgetDescription : widgets) { if (eefWidgetDescription instanceof EEFTextDescription) { @@ -93,7 +89,7 @@ public class EEFContainerLifecycleManager implements ILifecycleManager { EEFTextLifecycleManager eefTextLifecycleManager = new EEFTextLifecycleManager(eefTextDescription, variableManager.createChild(), interpreter, editingDomain); - eefTextLifecycleManager.createControl(sectionComposite, tabbedPropertySheetPage); + eefTextLifecycleManager.createControl(parent, tabbedPropertySheetPage); this.lifecycleManagers.add(eefTextLifecycleManager); } diff --git a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFTextLifecycleManager.java b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFTextLifecycleManager.java index d7a4aa6ff..02f0698a0 100644 --- a/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFTextLifecycleManager.java +++ b/plugins/org.eclipse.eef.ide.ui/src/org/eclipse/eef/ide/ui/internal/widgets/EEFTextLifecycleManager.java @@ -16,16 +16,17 @@ import org.eclipse.eef.core.api.controllers.EEFControllersFactory; import org.eclipse.eef.core.api.controllers.EEFTextController; import org.eclipse.eef.core.api.controllers.IConsumer; import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.jface.resource.JFaceResources; import org.eclipse.sirius.common.interpreter.api.IInterpreter; import org.eclipse.swt.SWT; -import org.eclipse.swt.custom.CLabel; import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.events.ModifyListener; -import org.eclipse.swt.layout.FormAttachment; -import org.eclipse.swt.layout.FormData; +import org.eclipse.swt.graphics.Image; +import org.eclipse.swt.layout.GridData; import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Text; -import org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants; +import org.eclipse.ui.forms.widgets.FormToolkit; import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory; @@ -35,6 +36,11 @@ import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory; * @author sbegaudeau */ public class EEFTextLifecycleManager implements ILifecycleManager { + /** + * The key used for the help image. + */ + private static final String DLG_IMG_HELP = "dialog_help_image"; //$NON-NLS-1$ + /** * The description. */ @@ -63,7 +69,12 @@ public class EEFTextLifecycleManager implements ILifecycleManager { /** * The label. */ - private CLabel label; + private Label label; + + /** + * The help label. + */ + private Label help; /** * The controller. @@ -105,59 +116,21 @@ public class EEFTextLifecycleManager implements ILifecycleManager { public void createControl(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) { TabbedPropertySheetWidgetFactory widgetFactory = tabbedPropertySheetPage.getWidgetFactory(); - this.text = this.createText(parent, widgetFactory); - this.label = this.createLabel(parent, widgetFactory, this.text); - - this.controller = new EEFControllersFactory().createTextController(this.description, this.variableManager, this.interpreter, - this.editingDomain); - } - - /** - * Creates the text widget. - * - * @param parent - * The composite parent - * @param widgetFactory - * The widget factory - * @return The text widget created - */ - private Text createText(Composite parent, TabbedPropertySheetWidgetFactory widgetFactory) { - Text textWidget = widgetFactory.createText(parent, ""); //$NON-NLS-1$ - FormData data = new FormData(); - - final int textOffset = 232; - data.left = new FormAttachment(0, textOffset); - data.right = new FormAttachment(100, 0); - data.top = new FormAttachment(0, ITabbedPropertyConstants.VSPACE); + this.label = widgetFactory.createLabel(parent, ""); //$NON-NLS-1$ - textWidget.setLayoutData(data); - textWidget.setEnabled(false); + this.text = widgetFactory.createText(parent, "", SWT.NONE); //$NON-NLS-1$ + this.text.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TEXT_BORDER); + widgetFactory.paintBordersFor(parent); + GridData nameData = new GridData(GridData.FILL_HORIZONTAL); + this.text.setLayoutData(nameData); - return textWidget; - } + this.help = widgetFactory.createLabel(parent, ""); //$NON-NLS-1$ + Image image = JFaceResources.getImage(DLG_IMG_HELP); + help.setImage(image); + help.setToolTipText("There should be some help in this tooltip..."); //$NON-NLS-1$ - /** - * Creates the label widget. - * - * @param parent - * The composite parent - * @param widgetFactory - * The widget factory - * @param textWidget - * The text widget created - * @return The label widget created - */ - private CLabel createLabel(Composite parent, TabbedPropertySheetWidgetFactory widgetFactory, Text textWidget) { - CLabel labelWidget = widgetFactory.createCLabel(parent, ""); //$NON-NLS-1$ - - final int labelOffset = 20; - FormData data = new FormData(); - data.left = new FormAttachment(0, 0); - data.right = new FormAttachment(textWidget, -ITabbedPropertyConstants.HSPACE - labelOffset); - data.top = new FormAttachment(textWidget, 0, SWT.CENTER); - labelWidget.setLayoutData(data); - - return labelWidget; + this.controller = new EEFControllersFactory().createTextController(this.description, this.variableManager, this.interpreter, + this.editingDomain); } /** diff --git a/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EEFTextControllerTests.java b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EEFTextControllerTests.java index d47e739b7..a46cbe89c 100644 --- a/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EEFTextControllerTests.java +++ b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EEFTextControllerTests.java @@ -14,11 +14,17 @@ import java.util.Map; import org.eclipse.eef.EEFTextDescription; import org.eclipse.eef.EefFactory; +import org.eclipse.eef.core.api.EEFExpressionUtils; import org.eclipse.eef.core.api.EEFVariableManagerFactory; import org.eclipse.eef.core.api.IVariableManager; import org.eclipse.eef.core.api.controllers.EEFTextController; import org.eclipse.eef.core.internal.controllers.EEFTextControllerImpl; import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EcoreFactory; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; import org.eclipse.emf.edit.provider.ComposedAdapterFactory; import org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl; import org.eclipse.sirius.common.interpreter.api.IInterpreter; @@ -50,10 +56,16 @@ public class EEFTextControllerTests { */ private IVariableManager variableManager; + /** + * The resource set. + */ + private ResourceSetImpl resourceSet; + @Before public void setUp() { AdapterFactory adapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE); - this.editingDomain = new TransactionalEditingDomainImpl(adapterFactory); + this.resourceSet = new ResourceSetImpl(); + this.editingDomain = new TransactionalEditingDomainImpl(adapterFactory, this.resourceSet); this.variableManager = new EEFVariableManagerFactory().createVariableManager(); this.description = EefFactory.eINSTANCE.createEEFTextDescription(); @@ -79,6 +91,19 @@ public class EEFTextControllerTests { controller.refresh(); } + @Test + public void testUpdateValueWithEObject() { + String name = "TestEClass"; //$NON-NLS-1$ + + EClass eClass = EcoreFactory.eINSTANCE.createEClass(); + eClass.setName(name); + + Resource resource = this.resourceSet.createResource(URI.createURI("test.ecore")); //$NON-NLS-1$ + resource.getContents().add(eClass); + + this.variableManager.getVariables().put(EEFExpressionUtils.SELF, eClass); + } + @Test public void testUpdateLabel() { final String newLabel = "Label"; //$NON-NLS-1$ -- cgit v1.2.3 From c6a5b2e90e53faabed180e18b5711393a2699981 Mon Sep 17 00:00:00 2001 From: Pierre-Charles David Date: Tue, 8 Dec 2015 12:12:47 +0100 Subject: [build] Fix Tycho build Change-Id: Idf224e0c69ac8b3a13bfbf1959d96a77bc2f3b72 Signed-off-by: Pierre-Charles David --- plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF | 2 +- .../org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF | 2 +- plugins/org.eclipse.eef.ide/META-INF/MANIFEST.MF | 2 +- plugins/org.eclipse.eef.properties.ui/.project | 34 ++++++++++++++++++++++ releng/org.eclipse.eef.releng/pom.xml | 2 +- .../targetplatforms/neon/neon.target | 33 +++++++++++++++++---- .../targetplatforms/neon/neon.tpd | 30 +++++++++++++++---- tests/org.eclipse.eef.tests/.classpath | 2 +- tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF | 4 +-- 9 files changed, 94 insertions(+), 17 deletions(-) create mode 100644 plugins/org.eclipse.eef.properties.ui/.project diff --git a/plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF index 7054287fa..72e025ea2 100644 --- a/plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef.core/META-INF/MANIFEST.MF @@ -10,7 +10,7 @@ Require-Bundle: org.eclipse.emf.ecore;bundle-version="[2.8.0,3.0.0)", Import-Package: com.google.common.base;version="[15.0.0,16.0.0)", com.google.common.collect;version="[15.0.0,16.0.0)", org.eclipse.eef;version="[2.0.0,3.0.0)", - org.eclipse.sirius.common.interpreter.api;version="[1.0.0,2.0.0)" + org.eclipse.sirius.common.interpreter.api;version="1.0.0" Export-Package: org.eclipse.eef.core.api;version="2.0.0", org.eclipse.eef.core.api.controllers;version="2.0.0", org.eclipse.eef.core.internal;version="2.0.0";x-internal:=true, diff --git a/plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF index dabf150e6..7206527ba 100644 --- a/plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef.ide.ui/META-INF/MANIFEST.MF @@ -11,7 +11,7 @@ Import-Package: org.eclipse.eef;version="[2.0.0,3.0.0)", org.eclipse.eef.core.api.controllers;version="2.0.0", org.eclipse.eef.ide.internal;version="[2.0.0,3.0.0)", org.eclipse.eef.ide.internal.extensions;version="[2.0.0,3.0.0)", - org.eclipse.sirius.common.interpreter.api;version="[1.0.0,2.0.0)" + org.eclipse.sirius.common.interpreter.api;version="1.0.0" Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", org.eclipse.ui.views.properties.tabbed;bundle-version="[3.0.0,4.0.0)", org.eclipse.emf.common;bundle-version="[2.8.0,3.0.0)", diff --git a/plugins/org.eclipse.eef.ide/META-INF/MANIFEST.MF b/plugins/org.eclipse.eef.ide/META-INF/MANIFEST.MF index b3f86cfa2..3271736a5 100644 --- a/plugins/org.eclipse.eef.ide/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.eef.ide/META-INF/MANIFEST.MF @@ -12,7 +12,7 @@ Bundle-ActivationPolicy: lazy Bundle-Localization: plugin Import-Package: org.eclipse.eef;version="[2.0.0,3.0.0)", org.eclipse.eef.api;version="[2.0.0,3.0.0)", - org.eclipse.sirius.common.interpreter.api;version="[1.0.0,2.0.0)" + org.eclipse.sirius.common.interpreter.api;version="1.0.0" Export-Package: org.eclipse.eef.ide.internal;version="2.0.0";x-friends:="org.eclipse.eef.ide.ui", org.eclipse.eef.ide.internal.extensions;version="2.0.0";x-friends:="org.eclipse.eef.ide.ui", org.eclipse.eef.ide.internal.extensions.impl;version="2.0.0";x-internal:=true diff --git a/plugins/org.eclipse.eef.properties.ui/.project b/plugins/org.eclipse.eef.properties.ui/.project new file mode 100644 index 000000000..5314c9796 --- /dev/null +++ b/plugins/org.eclipse.eef.properties.ui/.project @@ -0,0 +1,34 @@ + + + org.eclipse.eef.properties.ui + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + net.sf.eclipsecs.core.CheckstyleNature + + diff --git a/releng/org.eclipse.eef.releng/pom.xml b/releng/org.eclipse.eef.releng/pom.xml index e9c1f003b..ef5922e7a 100644 --- a/releng/org.eclipse.eef.releng/pom.xml +++ b/releng/org.eclipse.eef.releng/pom.xml @@ -20,7 +20,7 @@ Contributors: EEF Parent - 0.20.0 + 0.24.0 UTF-8 diff --git a/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.target b/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.target index a57b552d2..a83308ef7 100644 --- a/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.target +++ b/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.target @@ -1,20 +1,43 @@ - + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.tpd b/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.tpd index 7310a035f..f7ec76b23 100644 --- a/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.tpd +++ b/releng/org.eclipse.eef.releng/targetplatforms/neon/neon.tpd @@ -1,16 +1,36 @@ target "Eclipse Neon" +include "http://download.eclipse.org/sirius/updates/nightly/targets/modules/aql-3.6.tpd" + with source requirements -location "http://download.eclipse.org/releases/neon" { +location Eclipse-Neon "http://download.eclipse.org/releases/neon" { org.eclipse.platform.feature.group lazy org.eclipse.sdk.feature.group lazy - org.eclipse.acceleo.query.feature.group lazy - org.eclipse.sirius.aql.feature.group lazy - org.eclipse.sirius.specifier.feature.group lazy org.eclipse.uml2.uml.feature.group lazy org.eclipse.uml2.uml.editor lazy org.eclipse.xtext.sdk.feature.group lazy org.eclipse.xtend.sdk.feature.group lazy org.eclipse.emf.mwe2.runtime.sdk.feature.group lazy -} \ No newline at end of file +} + +location Sirius-Core "http://download.eclipse.org/sirius/updates/nightly/latest/neon" { + org.eclipse.sirius.doc.feature.feature.group lazy + org.eclipse.sirius.runtime.acceleo.feature.group lazy + org.eclipse.sirius.runtime.feature.group lazy + org.eclipse.sirius.runtime.ide.eef.feature.group lazy + org.eclipse.sirius.runtime.ide.ui.acceleo.feature.group lazy + org.eclipse.sirius.runtime.ide.ui.feature.group lazy + org.eclipse.sirius.runtime.ide.xtext.feature.group lazy + org.eclipse.sirius.runtime.ocl.feature.group lazy + org.eclipse.sirius.runtime.aql.feature.group lazy + org.eclipse.sirius.samples.feature.group lazy + org.eclipse.sirius.specifier.ide.ui.acceleo.feature.group lazy + org.eclipse.sirius.specifier.ide.ui.aql.feature.group lazy + org.eclipse.sirius.specifier.ide.ui.feature.group lazy + org.eclipse.sirius.tests.support.feature.group lazy +} + +location Sirius-Incubation "http://download.eclipse.org/sirius/updates/nightly/latest/neon/incubation" { + org.eclipse.sirius.incubation.feature.group lazy +} diff --git a/tests/org.eclipse.eef.tests/.classpath b/tests/org.eclipse.eef.tests/.classpath index ad32c83a7..4f83b2397 100644 --- a/tests/org.eclipse.eef.tests/.classpath +++ b/tests/org.eclipse.eef.tests/.classpath @@ -1,7 +1,7 @@ - + diff --git a/tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF index c28bd8ed0..c1650ecca 100644 --- a/tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF +++ b/tests/org.eclipse.eef.tests/META-INF/MANIFEST.MF @@ -4,7 +4,7 @@ Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.eef.tests Bundle-Version: 2.0.0.qualifier Bundle-Vendor: %providerName -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Bundle-Localization: plugin Export-Package: org.eclipse.eef.tests.internal;version="2.0.0";x-internal:=true, org.eclipse.eef.tests.internal.controllers;version="2.0.0";x-internal:=true @@ -12,4 +12,4 @@ Require-Bundle: org.junit;bundle-version="[4.12.0,5.0.0)", org.eclipse.eef;bundle-version="[2.0.0,3.0.0)", org.eclipse.eef.core;bundle-version="[2.0.0,3.0.0)", org.eclipse.emf.transaction;bundle-version="[1.9.0,2.0.0)", - org.eclipse.sirius.common.interpreter;bundle-version="[1.0.0,2.0.0)" + org.eclipse.sirius.common.interpreter;bundle-version="1.0.0" -- cgit v1.2.3 From aea0a1ae7913a2ae8ad7cbda4ca4013149396b12 Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Tue, 8 Dec 2015 14:57:48 +0100 Subject: Remove unexpected oe.eef.properties.ui .project file This file was introduced by error. Change-Id: Ieb3e5d8b1782b95ebee5757eb417f205b470df56 Signed-off-by: Mélanie Bats --- plugins/org.eclipse.eef.properties.ui/.project | 34 -------------------------- 1 file changed, 34 deletions(-) delete mode 100644 plugins/org.eclipse.eef.properties.ui/.project diff --git a/plugins/org.eclipse.eef.properties.ui/.project b/plugins/org.eclipse.eef.properties.ui/.project deleted file mode 100644 index 5314c9796..000000000 --- a/plugins/org.eclipse.eef.properties.ui/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - org.eclipse.eef.properties.ui - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - net.sf.eclipsecs.core.CheckstyleBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - net.sf.eclipsecs.core.CheckstyleNature - - -- cgit v1.2.3 From bc5c8298b25a2720290f49da88dce7127f0af674 Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Tue, 8 Dec 2015 16:03:48 +0100 Subject: Remove EEF 2 module from EEF 1.5 build Change-Id: I303e76946329cae39dde0c8224ea76cedc12d85b --- releng/org.eclipse.emf.eef.releng.parent/pom.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/releng/org.eclipse.emf.eef.releng.parent/pom.xml b/releng/org.eclipse.emf.eef.releng.parent/pom.xml index 5a63351da..d159ca763 100644 --- a/releng/org.eclipse.emf.eef.releng.parent/pom.xml +++ b/releng/org.eclipse.emf.eef.releng.parent/pom.xml @@ -286,9 +286,6 @@ ../../tests/org.eclipse.emf.eef.tests.nonreg.editor ../../tests/org.eclipse.emf.eef.tests.nonreg.junit - - ../../releng/org.eclipse.eef.releng - -- cgit v1.2.3 From adea3c31aef6b502caa8134f41bf13816a93cbfb Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Tue, 8 Dec 2015 16:01:44 +0100 Subject: Update site for EEF 2 Change-Id: If599b357247d5d3640a92e1ce1b181b122c163fa --- releng/org.eclipse.eef.releng/pom.xml | 2 ++ releng/org.eclipse.eef.update/.project | 17 +++++++++ releng/org.eclipse.eef.update/category.xml | 10 ++++++ releng/org.eclipse.eef.update/pom.xml | 58 ++++++++++++++++++++++++++++++ 4 files changed, 87 insertions(+) create mode 100644 releng/org.eclipse.eef.update/.project create mode 100644 releng/org.eclipse.eef.update/category.xml create mode 100644 releng/org.eclipse.eef.update/pom.xml diff --git a/releng/org.eclipse.eef.releng/pom.xml b/releng/org.eclipse.eef.releng/pom.xml index ef5922e7a..641d3068b 100644 --- a/releng/org.eclipse.eef.releng/pom.xml +++ b/releng/org.eclipse.eef.releng/pom.xml @@ -97,6 +97,8 @@ Contributors: ../../doc/org.eclipse.eef.documentation ../../features/org.eclipse.eef.sdk-feature + + ../../releng/org.eclipse.eef.update diff --git a/releng/org.eclipse.eef.update/.project b/releng/org.eclipse.eef.update/.project new file mode 100644 index 000000000..87649ab3c --- /dev/null +++ b/releng/org.eclipse.eef.update/.project @@ -0,0 +1,17 @@ + + + org.eclipse.eef.update + + + + + + org.eclipse.pde.UpdateSiteBuilder + + + + + + org.eclipse.pde.UpdateSiteNature + + diff --git a/releng/org.eclipse.eef.update/category.xml b/releng/org.eclipse.eef.update/category.xml new file mode 100644 index 000000000..26b9f480a --- /dev/null +++ b/releng/org.eclipse.eef.update/category.xml @@ -0,0 +1,10 @@ + + + + To install these features, point Eclipse at this site. + + + + + + diff --git a/releng/org.eclipse.eef.update/pom.xml b/releng/org.eclipse.eef.update/pom.xml new file mode 100644 index 000000000..e899599d8 --- /dev/null +++ b/releng/org.eclipse.eef.update/pom.xml @@ -0,0 +1,58 @@ + + + + 4.0.0 + + + org.eclipse.eef + org.eclipse.eef.parent + 2.0.0-SNAPSHOT + ../../releng/org.eclipse.eef.releng + + + org.eclipse.eef.update + eclipse-repository + + EEF Update site + + + + + maven-resources-plugin + + + copy-resources + validate + + copy-resources + + + ${basedir}/target/repository + + + . + + index.html + web/* + + + + + + + + + + + -- cgit v1.2.3 From 02831c2a7c7415053486e45a34e958c1de8a25b7 Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Tue, 8 Dec 2015 17:15:26 +0100 Subject: Provide the publish nightly script Change-Id: Ie9973b2e2094bf8e8ae86ec0bea49a7d4cc145ec Signed-off-by: Mélanie Bats --- releng/org.eclipse.eef.releng/publish-nightly.sh | 74 ++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100755 releng/org.eclipse.eef.releng/publish-nightly.sh diff --git a/releng/org.eclipse.eef.releng/publish-nightly.sh b/releng/org.eclipse.eef.releng/publish-nightly.sh new file mode 100755 index 000000000..5a0e72586 --- /dev/null +++ b/releng/org.eclipse.eef.releng/publish-nightly.sh @@ -0,0 +1,74 @@ +#!/bin/sh +# ==================================================================== +# Copyright (c) 2013, 2015 Obeo +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Obeo - initial API and implementation +# ==================================================================== + +[ -z "$WORKSPACE" -o -z "$PLATFORM" -o -z "$GIT_BRANCH" ] && { + echo "Execution aborted. + +One or more of the required variables is not set. They are normally +provided by the Hudson build. + +- WORKSPACE : the build workspace root. +- PLATFORM : the name of the target Eclipse release (e.g. kepler). +- GIT_BRANCH : the name fo the Git branch being build/published. +" + exit 1 +} + +###################################################################### +# Setup +###################################################################### + +# Exit on error +set -e + +# The full version (should be taken as an argument) +export VERSION="2.0.0" + +# The type of build being published +export BUILD_TYPE="nightly" +export BUILD_TYPE_PREFIX="N" + +# The root folder for all EEF update sites +export EEF_UPDATES_ROOT="/home/data/httpd/download.eclipse.org/eef/updates" + +# Converts the Hudson BUILD_ID (e.g. 2013-10-15_07-07-07) into the +# syntax we want for our update-sites (e.g. 20131015-070707) +export BUILD_TIMESTAMP=$(echo "$BUILD_ID" | sed -e 's/-//g' -e 's/_/-/') + +# The full version for this build, e.g. 0.9.0-N20131015-070707 +export FULL_VERSION="${VERSION}-${BUILD_TYPE_PREFIX}${BUILD_TIMESTAMP}" + +# The root folder where all the builds of the same type as this one +# are published +export TARGET_ROOT="$EEF_UPDATES_ROOT/$BUILD_TYPE" + +# The folder for this particular build +export TARGET_DIR="$TARGET_ROOT/$FULL_VERSION/$PLATFORM" + +###################################################################### +# Publish the build +###################################################################### +export WKS="." + +# Ensure the target folder exists +mkdir -p "$TARGET_DIR" +# The actual publication of the p2 repo produced by the build +cp -a "$WKS"/packaging/org.eclipse.sirius.update/target/repository/* "$TARGET_DIR" +# Publish the target platform definitions used, so that downstream projects can reference them +mkdir -p "$TARGET_DIR/targets" +cp -a "$WKS"/releng/org.eclipse.eef.releng/targetplatforms/* "$TARGET_DIR/targets" +mkdir -p "$TARGET_ROOT/targets" +cp -a "$WKS"/releng/org.eclipse.eef.releng/targetplatforms/* "$TARGET_ROOT/targets" +# Publish a dump of the build environment, may be useful to debug +env | sort > "$TARGET_DIR/build_env.txt" + + \ No newline at end of file -- cgit v1.2.3 From 6acee9bcc96e266efcfd162d2944ac9f2cbe0389 Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Tue, 8 Dec 2015 17:38:41 +0100 Subject: [build] Fix publish nightly script Change-Id: Ibd1d7560ccbc479251339b1a6845d3864e52311d --- releng/org.eclipse.eef.releng/publish-nightly.sh | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/releng/org.eclipse.eef.releng/publish-nightly.sh b/releng/org.eclipse.eef.releng/publish-nightly.sh index 5a0e72586..a603ce5c1 100755 --- a/releng/org.eclipse.eef.releng/publish-nightly.sh +++ b/releng/org.eclipse.eef.releng/publish-nightly.sh @@ -10,19 +10,6 @@ # Obeo - initial API and implementation # ==================================================================== -[ -z "$WORKSPACE" -o -z "$PLATFORM" -o -z "$GIT_BRANCH" ] && { - echo "Execution aborted. - -One or more of the required variables is not set. They are normally -provided by the Hudson build. - -- WORKSPACE : the build workspace root. -- PLATFORM : the name of the target Eclipse release (e.g. kepler). -- GIT_BRANCH : the name fo the Git branch being build/published. -" - exit 1 -} - ###################################################################### # Setup ###################################################################### @@ -32,6 +19,7 @@ set -e # The full version (should be taken as an argument) export VERSION="2.0.0" +export PLATFORM="neon" # The type of build being published export BUILD_TYPE="nightly" -- cgit v1.2.3 From 69f687ceedffbfbb6be68f286643b3d44ff91ef9 Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Tue, 8 Dec 2015 17:49:50 +0100 Subject: [build] Use modeling/emft/eef to upload the EEF2 update site Change-Id: Idb359465315fade37f498cad16c080cfda14dc27 --- releng/org.eclipse.eef.releng/publish-nightly.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releng/org.eclipse.eef.releng/publish-nightly.sh b/releng/org.eclipse.eef.releng/publish-nightly.sh index a603ce5c1..87862c113 100755 --- a/releng/org.eclipse.eef.releng/publish-nightly.sh +++ b/releng/org.eclipse.eef.releng/publish-nightly.sh @@ -26,7 +26,7 @@ export BUILD_TYPE="nightly" export BUILD_TYPE_PREFIX="N" # The root folder for all EEF update sites -export EEF_UPDATES_ROOT="/home/data/httpd/download.eclipse.org/eef/updates" +export EEF_UPDATES_ROOT="/home/data/httpd/download.eclipse.org/modeling/emft/eef/updates" # Converts the Hudson BUILD_ID (e.g. 2013-10-15_07-07-07) into the # syntax we want for our update-sites (e.g. 20131015-070707) -- cgit v1.2.3 From 36f6389bc38c5e3046ecc1475d74992c40fd0c51 Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Tue, 8 Dec 2015 17:57:57 +0100 Subject: [build] Fix the eef update site repository path Change-Id: I12f7353bf6ff6050235cd17ea5944a1a24b2bd84 --- releng/org.eclipse.eef.releng/publish-nightly.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releng/org.eclipse.eef.releng/publish-nightly.sh b/releng/org.eclipse.eef.releng/publish-nightly.sh index 87862c113..38ad861cb 100755 --- a/releng/org.eclipse.eef.releng/publish-nightly.sh +++ b/releng/org.eclipse.eef.releng/publish-nightly.sh @@ -50,7 +50,7 @@ export WKS="." # Ensure the target folder exists mkdir -p "$TARGET_DIR" # The actual publication of the p2 repo produced by the build -cp -a "$WKS"/packaging/org.eclipse.sirius.update/target/repository/* "$TARGET_DIR" +cp -a "$WKS"/packaging/org.eclipse.eef.update/target/repository/* "$TARGET_DIR" # Publish the target platform definitions used, so that downstream projects can reference them mkdir -p "$TARGET_DIR/targets" cp -a "$WKS"/releng/org.eclipse.eef.releng/targetplatforms/* "$TARGET_DIR/targets" -- cgit v1.2.3 From ff9921b79a47dc83dd13cb1c97b28dd543885727 Mon Sep 17 00:00:00 2001 From: Mélanie Bats Date: Wed, 9 Dec 2015 09:43:19 +0100 Subject: [build] Fix publish nightly script Change-Id: Id90fa14eb265f1fbe5717a9a2004b99b9ff03961 --- releng/org.eclipse.eef.releng/publish-nightly.sh | 70 +++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/releng/org.eclipse.eef.releng/publish-nightly.sh b/releng/org.eclipse.eef.releng/publish-nightly.sh index 38ad861cb..f5e3ae2b3 100755 --- a/releng/org.eclipse.eef.releng/publish-nightly.sh +++ b/releng/org.eclipse.eef.releng/publish-nightly.sh @@ -10,6 +10,18 @@ # Obeo - initial API and implementation # ==================================================================== +[ -z "$WORKSPACE" -o -z "$GIT_BRANCH" ] && { + echo "Execution aborted. + +One or more of the required variables is not set. They are normally +provided by the Hudson build. + +- WORKSPACE : the build workspace root. +- GIT_BRANCH : the name fo the Git branch being build/published. +" + exit 1 +} + ###################################################################### # Setup ###################################################################### @@ -28,10 +40,16 @@ export BUILD_TYPE_PREFIX="N" # The root folder for all EEF update sites export EEF_UPDATES_ROOT="/home/data/httpd/download.eclipse.org/modeling/emft/eef/updates" +# Streams are of the form 1.0.x: only keep major and minor version number parts +export STREAM=$(echo "$VERSION" | sed -r -e 's/^([0-9]+\.[0-9]+\.).*$/\1x/') + # Converts the Hudson BUILD_ID (e.g. 2013-10-15_07-07-07) into the # syntax we want for our update-sites (e.g. 20131015-070707) export BUILD_TIMESTAMP=$(echo "$BUILD_ID" | sed -e 's/-//g' -e 's/_/-/') +# The timestamp in the p2 composite repos used to implement redirects +export P2_TIMESTAMP=$(date +"%s000") + # The full version for this build, e.g. 0.9.0-N20131015-070707 export FULL_VERSION="${VERSION}-${BUILD_TYPE_PREFIX}${BUILD_TIMESTAMP}" @@ -50,7 +68,7 @@ export WKS="." # Ensure the target folder exists mkdir -p "$TARGET_DIR" # The actual publication of the p2 repo produced by the build -cp -a "$WKS"/packaging/org.eclipse.eef.update/target/repository/* "$TARGET_DIR" +cp -a "$WKS"/releng/org.eclipse.eef.update/target/repository/* "$TARGET_DIR" # Publish the target platform definitions used, so that downstream projects can reference them mkdir -p "$TARGET_DIR/targets" cp -a "$WKS"/releng/org.eclipse.eef.releng/targetplatforms/* "$TARGET_DIR/targets" @@ -59,4 +77,54 @@ cp -a "$WKS"/releng/org.eclipse.eef.releng/targetplatforms/* "$TARGET_ROOT/targe # Publish a dump of the build environment, may be useful to debug env | sort > "$TARGET_DIR/build_env.txt" + ###################################################################### +# Setup or update the redirects (implemented as composite repos) +###################################################################### + +# Create a p2 composite repo to setup a redirect +create_redirect() { + FROM="$1" + TO="$2" + + mkdir -p "$FROM" + cat > "$FROM/compositeArtifacts.xml" < + + + + + + + + + +EOF + + cat > "$FROM/compositeContent.xml" < + + + + + + + + + +EOF + +} + +# First, a link for the $VERSION (e.g. "1.2.0/luna" => "1.2.0-NYYYYMMDD-HHMM/luna") +create_redirect "$TARGET_ROOT/$VERSION/$PLATFORM" "$BUILD_TYPE/$FULL_VERSION/$PLATFORM" +create_redirect "$TARGET_ROOT/$VERSION/$PLATFORM/tests" "$BUILD_TYPE/$FULL_VERSION/$PLATFORM/tests" +# Also create a link for the $STREAM (e.g. "1.2.x/luna" => "1.2.0-NYYYYMMDD-HHMM/luna") +# and publish the zipped versions there, at stable URLs +create_redirect "$TARGET_ROOT/$STREAM/$PLATFORM" "$BUILD_TYPE/$FULL_VERSION/$PLATFORM" +cp -a "$WKS"/releng/org.eclipse.eef.update/target/org.eclipse.eef.update-*.zip "$TARGET_ROOT/$STREAM/org.eclipse.eef-$VERSION-$PLATFORM.zip" +# Also update the global "latest" links if we are building master +if [ "master" = "$GIT_BRANCH" ]; then + create_redirect "$TARGET_ROOT/latest/$PLATFORM" "$BUILD_TYPE/$FULL_VERSION/$PLATFORM" + cp -a "$WKS"/releng/org.eclipse.eef.update/target/org.eclipse.eef.update-*.zip "$TARGET_ROOT/$STREAM/org.eclipse.eef-$VERSION-$PLATFORM.zip" +fi \ No newline at end of file -- cgit v1.2.3